
/* =================================================================
   Privacy policy / Legal notice pages
   ================================================================= */

.policy-page-body {
  min-height: 100vh;
  background: #0c0b0b;
  color: #f7f7f7;
}

/* 下層ページでは共通ヘッダーを常時表示する */
.policy-page-body .header-compact {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.policy-page-body .header-compact .yoko-item {
  opacity: 1;
  transform: translateX(0);
}

.policy-page-body .hamburger-btn {
  display: none;
}

.policy-page-body [aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #90c421;
  text-underline-offset: 4px;
}

.policy-main {
  position: relative;
  min-height: 100vh;
  padding: clamp(132px, 12vw, 180px) 20px clamp(72px, 9vw, 120px);
  overflow: hidden;
  background-color: #0c0b0b;
  background-image:
    linear-gradient(rgba(144, 196, 33, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144, 196, 33, 0.11) 1px, transparent 1px),
    radial-gradient(circle at 50% -10%, rgba(229, 0, 127, 0.13), transparent 42%);
  background-size: 84px 84px, 84px 84px, 100% 100%;
}

.policy-hero {
  position: relative;
  width: min(100%, 1040px);
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.policy-hero__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  transform: translate(-50%, -52%);
  color: rgba(255, 255, 255, 0.045);
  font-family: var(--heading);
  font-size: clamp(76px, 15vw, 190px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.8;
  white-space: nowrap;
  pointer-events: none;
}

.policy-hero__eyebrow,
.policy-hero__title,
.policy-hero__lead {
  position: relative;
  z-index: 1;
}

.policy-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #90c421;
  font-family: var(--heading);
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.policy-hero__eyebrow::before,
.policy-hero__eyebrow::after {
  width: clamp(26px, 4vw, 54px);
  height: 1px;
  background: currentColor;
  content: "";
}

.policy-hero__title {
  color: #fff;
  font-family: var(--gothic);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.policy-hero__lead {
  max-width: 760px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2;
}

.policy-card {
  position: relative;
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 64px);
  overflow: hidden;
  border-top: 5px solid #90c421;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  color: #242424;
}

.policy-card::before {
  position: absolute;
  top: -90px;
  right: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(144, 196, 33, 0.08);
  content: "";
  pointer-events: none;
}

.policy-card--table {
  padding: clamp(22px, 4vw, 50px);
}

.policy-section {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(24px, 4vw, 38px) 0;
  border-bottom: 1px solid #e8e8e8;
}

.policy-section:first-child {
  padding-top: 0;
}

.policy-section:last-of-type {
  border-bottom: 0;
}

.policy-section__number {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: #90c421;
  font-family: var(--heading);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.policy-section__body h2 {
  margin: 0 0 12px;
  color: #1f1f1f;
  font-family: var(--gothic);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.policy-section__body p,
.policy-list,
.policy-address {
  color: #4b4b4b;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 2;
}

.policy-list {
  display: grid;
  gap: 8px;
}

.policy-list li {
  position: relative;
  padding-left: 1.35em;
}

.policy-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #90c421;
  font-weight: 700;
  content: "・";
}

.policy-address {
  font-style: normal;
}

.policy-section a,
.policy-table a {
  color: #b70066;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.policy-section a:hover,
.policy-table a:hover {
  color: #e5007f;
}

.policy-updated {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
  color: #777;
  font-size: 13px;
  text-align: right;
}

.policy-table-wrap {
  position: relative;
  z-index: 1;
  overflow-x: auto;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #333;
  font-size: clamp(14px, 1.45vw, 16px);
  line-height: 1.85;
}

.policy-table th,
.policy-table td {
  padding: clamp(17px, 2.4vw, 25px) clamp(15px, 2.5vw, 26px);
  border-bottom: 1px solid #e5e5e5;
  vertical-align: top;
  text-align: left;
}

.policy-table th {
  width: 28%;
  border-left: 4px solid transparent;
  background: #f5f7f1;
  color: #242424;
  font-weight: 700;
}

.policy-table tr:nth-child(even) th {
  border-left-color: #90c421;
}

.policy-table td {
  background: rgba(255, 255, 255, 0.94);
}

.policy-table__note {
  color: #777;
  font-size: 0.9em;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: min(100%, 1040px);
  margin: clamp(30px, 5vw, 50px) auto 0;
}

.policy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 230px);
  min-height: 54px;
  padding: 13px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.policy-button:hover {
  transform: translateY(-2px);
}

.policy-button--primary {
  background: #e5007f;
  color: #fff;
}

.policy-button--primary:hover {
  background: #b70066;
}

.policy-button--secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.policy-button--secondary:hover {
  border-color: #90c421;
  background: rgba(144, 196, 33, 0.12);
}

@media (max-width: 767px) {
  .policy-main {
    padding: 102px 14px 70px;
    background-size: 54px 54px, 54px 54px, 100% 100%;
  }

  .policy-hero {
    margin-bottom: 28px;
  }

  .policy-hero__watermark {
    font-size: clamp(64px, 25vw, 110px);
  }

  .policy-hero__lead {
    text-align: left;
    line-height: 1.85;
  }

  .policy-card {
    padding: 28px 20px;
  }

  .policy-section {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 25px 0;
  }

  .policy-section__number {
    justify-content: flex-start;
    font-size: 16px;
  }

  .policy-updated {
    text-align: left;
  }

  .policy-card--table {
    padding: 18px 14px;
  }

  .policy-table,
  .policy-table tbody,
  .policy-table tr,
  .policy-table th,
  .policy-table td {
    display: block;
    width: 100%;
  }

  .policy-table tr {
    margin-bottom: 12px;
    border: 1px solid #e3e3e3;
    border-radius: 3px;
    overflow: hidden;
  }

  .policy-table th,
  .policy-table td {
    padding: 14px 15px;
    border-bottom: 0;
  }

  .policy-table th {
    border-top: 0;
    border-left: 4px solid #90c421;
  }

  .policy-table td {
    line-height: 1.8;
  }

  .policy-actions {
    flex-direction: column;
  }

  .policy-button {
    width: 100%;
  }
}
