/* ---------- Tokens ---------- */
:root {
  --green-900: #0a2622;
  --green-800: #0e2e29;
  --green-700: #133933;
  --green-600: #194841;
  --gold-500: #c9a55c;
  --gold-400: #d4b675;
  --gold-300: #e2c98c;
  --gold-100: #f1dfb1;
  --cream-100: #f6efde;
  --cream-200: #ede2c8;
  --cream-300: #e0d2b1;
  --ink-900: #1c1a14;
  --ink-700: #3a352a;
  --ink-500: #6b6354;
  --white: #ffffff;

  --ff-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  --ff-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ff-en-serif: "Cormorant Garamond", "Noto Serif JP", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--ff-sans);
  color: var(--ink-900);
  background: #060d0c;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }

.page {
  max-width: 440px;
  margin: 0 auto;
  background: var(--green-800);
  overflow: hidden;
  position: relative;
}

/* ---------- Section title ---------- */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  margin: 0 0 26px;
  padding: 0 8px;
}
.section-title__text { white-space: nowrap; }
.section-title__dash {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400) 30%, var(--gold-400) 70%, transparent);
  max-width: 60px;
  position: relative;
}
.section-title__dash::before,
.section-title__dash::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold-400);
  border-radius: 50%;
  transform: translateY(-50%);
}
.section-title__dash::before { left: -2px; }
.section-title__dash::after { right: -2px; }

.section-title--gold { color: var(--gold-300); }
.section-title--dark { color: var(--ink-900); }
.section-title__dash--dark {
  background: linear-gradient(90deg, transparent, var(--gold-500) 30%, var(--gold-500) 70%, transparent);
}
.section-title__dash--dark::before,
.section-title__dash--dark::after { background: var(--gold-500); }

/* Diamond title (small diamonds on each side, no flex-grow) */
.section-title--diamond { gap: 10px; }
.section-title--diamond .section-title__diamond {
  width: 5px;
  height: 5px;
  background: var(--gold-400);
  transform: rotate(45deg);
  flex-shrink: 0;
  flex-grow: 0;
}

/* Stacked title (lines above + below) */
.section-title--stacked {
  flex-direction: column;
  gap: 12px;
  padding: 0;
}
.section-title__line {
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400) 20%, var(--gold-400) 80%, transparent);
  flex: none;
  position: relative;
}
.section-title__line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--gold-400);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- 1. HERO ---------- */
.hero {
  position: relative;
  padding: 0;
  background-color: var(--green-900);
  color: var(--white);
  overflow: hidden;
}
.hero__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1176 / 1180;
  background-image: url('bg/1.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
}
.hero__bg {
  display: none;
}
.hero__visual .hero__inner-overlay {
  position: absolute;
  inset: 0;
  padding: 22px 12px 20px 18px;
  display: flex;
  flex-direction: column;
  width: 58%;
  justify-content: flex-start;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 2px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e8c886 0%, #c9a55c 35%, #f1dfb1 50%, #c9a55c 65%, #a4823f 100%);
  margin: 0;
  align-self: flex-start;
  box-shadow:
    0 4px 14px rgba(0,0,0,0.35),
    0 0 18px rgba(201,165,92,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.1);
  position: relative;
  top: 30px;
}
.badge::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 8px;
  border: 1px solid rgba(201,165,92,0.35);
  pointer-events: none;
}
.badge__inner {
  display: block;
  padding: 8px 16px;
  background: radial-gradient(ellipse at 50% 0%, #143832 0%, #0a2622 80%);
  border-radius: 5px;
  background-clip: padding-box;
}
.badge__top {
  margin: 0 0 5px;
  padding-bottom: 5px;
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 11px;
  color: var(--gold-300);
  letter-spacing: 0.18em;
  text-align: center;
  border-bottom: 1px solid rgba(201, 165, 92, 0.4);
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.badge__bottom {
  margin: 0;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 11.5px;
  color: var(--white);
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero__body {
  margin: 56px 0 0;
}

.hero__copy {
  font-family: var(--ff-serif);
  font-weight: 700;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero__line {
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin: 0;
  white-space: nowrap;
}
.hero__line--big {
  font-size: 27px;
  line-height: 1.28;
  margin-top: 4px;
  letter-spacing: 0;
  white-space: nowrap;
}
.hero__accent {
  font-size: 44px;
  color: transparent;
  background: linear-gradient(180deg,
    #a8823f 0%,
    #d8b069 18%,
    #f5dc94 38%,
    #fff3c8 50%,
    #f5dc94 62%,
    #d8b069 82%,
    #8a6c33 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 1px;
  letter-spacing: -0.02em;
  filter:
    drop-shadow(0 0 10px rgba(255, 220, 130, 0.45))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
  display: inline-block;
}
.hero__accent--sm {
  font-size: inherit;
}

.hero__sub-wrap {
  margin-top: 32px;
  position: relative;
}
.hero__sub-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.hero__sub-rule::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold-400);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.hero__sub-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}
.hero__sub {
  margin: 0;
  padding: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* 実績セクション上部のCTA */
.ach-cta {
  text-align: center;
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}
.ach-cta__badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: -11px;
  position: relative;
  z-index: 2;
}
.ach-cta__badge {
  background: var(--green-900);
  color: var(--gold-300);
  border: 1px solid var(--gold-400);
  padding: 4px 16px;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}
.ach-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 28px 16px;
  background: linear-gradient(180deg, #f3d896 0%, #c9a55c 60%, #b8923f 100%);
  color: var(--green-900);
  border-radius: 8px;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 8px 18px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.25);
  min-width: 240px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ach-cta__btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 -3px 0 rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 12px 22px rgba(0, 0, 0, 0.3);
}
.ach-cta__btn:active {
  transform: translateY(0);
}
.ach-cta__arrow {
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}

/* Floating CTA (FLOAT 05 通知カード風) */
.float-cta {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 100;
  background: rgba(10, 38, 34, 0.95);
  border: 1px solid var(--gold-400);
  border-radius: 8px;
  padding: 12px 18px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 290px;
  max-width: calc(100vw - 32px);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.float-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.float-cta__close {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-900);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(201,165,92,0.5);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.float-cta__close:hover { color: var(--gold-300); }
.float-cta__badge {
  display: inline-block;
  background: #c43838;
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 2px;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.float-cta__title {
  color: var(--white);
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 11.5px;
  line-height: 1.45;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.float-cta__btn {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #f3d896, #c9a55c);
  color: var(--green-900);
  padding: 9px 10px;
  border-radius: 4px;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 12.5px;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.04em;
}

/* When viewport is wider than .page (centered), align float-cta with page */
@media (min-width: 480px) {
  .float-cta {
    right: max(16px, calc((100vw - 440px) / 2 + 16px));
  }
}

/* ---------- 2. Achievements ---------- */
.achievements {
  background-color: var(--green-800);
  background-image: url('bg/2.png');
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  padding: 30px 18px 28px;
  color: var(--white);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.achievements > .section-title,
.achievements > .ach-grid,
.achievements > .ach-note {
  position: relative;
  z-index: 1;
}

.ach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.ach-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  border: 1px solid rgba(201,165,92,0.35);
  border-radius: 6px;
  padding: 14px 6px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  position: relative;
}
.ach-card__icon {
  width: 22px; height: 22px;
  color: var(--gold-300);
}
.ach-card__icon svg { width: 100%; height: 100%; }
.ach-card__label {
  font-size: 10.5px;
  line-height: 1.35;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}
.ach-card__value {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.1;
  color: var(--gold-300);
  background: linear-gradient(180deg, #f3d896 0%, #c9a55c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.01em;
  margin-top: auto;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0;
}
.ach-card__value .num {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
  display: inline-block;
}
.ach-card__value .arrow {
  font-size: 14px;
  font-weight: 500;
  margin: 0 4px;
  display: inline-block;
  transform: translateY(-3px);
  color: var(--gold-300);
  -webkit-text-fill-color: var(--gold-300);
  background: none;
}

.ach-note {
  margin-top: 10px;
  text-align: right;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

/* ---------- 3. Worries ---------- */
.worries {
  background-color: var(--cream-100);
  background-image: url('bg/9.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  aspect-ratio: 1315 / 1000;
  padding: 0;
  position: relative;
  color: var(--ink-900);
}
.worries__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  padding: 12px 18px 16px;
  display: flex;
  flex-direction: column;
}
.worries__title {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: var(--green-900);
  letter-spacing: 0.04em;
  text-align: center;
  margin: 6px 0px 0px 14px;
}
.worry-list {
  display: grid;
  gap: 8px;
  flex: 1;
  align-content: center;
}
.worry-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(201, 165, 92, 0.5);
  border-radius: 6px;
  padding: 7px 8px 7px 6px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--ink-900);
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.worry-item__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--green-800);
  border: 1.5px solid var(--gold-400);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
}
.worry-item__check svg {
  width: 14px;
  height: 14px;
}
.worry-item__text {
  border-left: 1px solid rgba(201, 165, 92, 0.45);
  padding-left: 8px;
  font-weight: 500;
}

/* ---------- 4. Support ---------- */
.support {
  background-color: var(--green-800);
  background-image: url('bg/4.png');
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  padding: 26px 18px 26px;
  color: var(--white);
}

.support-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  padding-left: 8px;
}
.support-list::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201,165,92,0.5) 15%, rgba(201,165,92,0.5) 85%, transparent);
}
.support-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: center;
  position: relative;
}
.support-step__num {
  width: 36px;
  height: 36px;
  background: var(--green-900);
  border: 1.5px solid var(--gold-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-en-serif);
  color: var(--gold-300);
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  z-index: 1;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
}
.support-step__body {
  border-left: 1px solid rgba(201,165,92,0.35);
  padding-left: 14px;
}
.support-step__title {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
  color: var(--white);
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}
.support-step__desc {
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.03em;
  margin: 0;
}

/* ---------- 5. Profile ---------- */
.profile {
  background-color: var(--green-800);
  padding: 0;
  color: var(--white);
  position: relative;
}

.profile__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1406 / 1119;
  background-image: url('bg/5.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.profile__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 62%;
  padding: 14px 12px 8px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}
.profile__title {
  font-size: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: 0.04em !important;
  gap: 6px !important;
}
.profile__title .section-title__dash {
  max-width: 24px;
}

.profile__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.stat {
  border: 1px solid rgba(201,165,92,0.4);
  border-radius: 4px;
  padding: 12px 4px;
  max-height: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 38, 34, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.stat__num {
  font-family: var(--ff-serif);
  font-weight: 900;
  font-size: 21px;
  line-height: 1;
  color: var(--gold-300);
  background: linear-gradient(180deg, #f3d896 0%, #c9a55c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.stat__pct {
  font-size: 11px;
  margin-left: 1px;
}
.stat__unit {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin-top: 2px;
}
.stat__label {
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  margin-top: 1px;
  letter-spacing: 0.04em;
}

.profile__bio-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38%;
  padding: 8px 22px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile__bio-frame {
  border: 1px solid rgba(201, 165, 92, 0.5);
  padding: 4px;
}
.profile__bio {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(201, 165, 92, 0.28);
  font-size: 10.5px;
  line-height: 1.8;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.05em;
  text-align: left;
}

/* ---------- 6. Voice ---------- */
.voice {
  background-color: var(--cream-100);
  background-image: url('bg/6.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px 22px 26px;
}
.voice__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
}
.voice__title-bar {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--gold-500), transparent);
  flex-shrink: 0;
}
.voice__title-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.voice__title-en {
  font-family: var(--ff-en-serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--gold-500);
  font-weight: 500;
}
.voice__title-ja {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-900);
  letter-spacing: 0.08em;
}

.voice-carousel {
  position: relative;
  margin: 0 -22px;
}
.voice-carousel__track {
  display: flex;
  gap: 0;
  padding: 0px 0 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  /* center first/last slide: padding = (container_width - slide_width) / 2 */
  scroll-padding-inline: calc(50% - 90px);
}
.voice-carousel__track > * {
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.voice-carousel__track::-webkit-scrollbar { display: none; }
/* spacer slides to center first/last */
.voice-carousel__track::before,
.voice-carousel__track::after {
  content: "";
  flex: 0 0 calc(50% - 90px);
}
.voice-carousel__slide {
  flex: 0 0 180px;
  height: 300px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(201,165,92,0.35);
  border-radius: 6px;
  overflow: hidden;
  background: var(--green-900);
  cursor: pointer;
  position: relative;
  opacity: 0.45;
  filter: blur(0.5px);
  transform: scale(0.88);
  transform-origin: center;
  transition: opacity 0.18s ease, filter 0.18s ease, transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.voice-carousel__slide:not(:focus-visible) { outline: none; }
.voice-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.voice-carousel__slide.is-active {
  opacity: 1;
  filter: none;
  transform: scale(1);
  border: 2px solid var(--gold-400);
  box-shadow: none;
}

.voice-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  background: rgba(10, 38, 34, 0.8);
  border: 1px solid rgba(201, 165, 92, 0.55);
  border-radius: 50%;
  color: var(--gold-300);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}
.voice-carousel__arrow svg {
  width: 18px;
  height: 18px;
}
.voice-carousel__arrow:hover {
  background: rgba(10, 38, 34, 0.95);
}
.voice-carousel__arrow:active {
  transform: translateY(-50%) scale(0.92);
}
.voice-carousel__arrow:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}
.voice-carousel__arrow--prev { left: 8px; }
.voice-carousel__arrow--next { right: 8px; }

.voice-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding: 0 22px;
}
.voice-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.voice-carousel__dot.is-active {
  background: var(--gold-500);
  width: 18px;
  border-radius: 3px;
}

.voice-note {
  margin-top: 12px;
  text-align: right;
  font-size: 10px;
  color: var(--ink-500);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.94);
  display: flex;
  flex-direction: column;
  animation: lightbox-in 0.2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(4px);
}
.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}
.lightbox__track {
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
}
.lightbox__slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox__counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-family: var(--ff-en-serif);
  font-size: 13px;
  letter-spacing: 0.25em;
  background: rgba(0,0,0,0.5);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 2;
}
.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}
.lightbox__arrow svg { width: 22px; height: 22px; }
.lightbox__arrow:hover { background: rgba(255,255,255,0.2); }
.lightbox__arrow:active { transform: translateY(-50%) scale(0.92); }
.lightbox__arrow:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}
.lightbox__arrow--prev { left: 14px; }
.lightbox__arrow--next { right: 14px; }

/* ---------- 7. Flow ---------- */
.flow {
  background-color: var(--green-800);
  background-image: url('bg/7.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 34px 14px 36px;
  color: var(--white);
}

.flow-list {
  display: flex;
  flex-direction: column;
}
.flow-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 16px 8px;
  border-bottom: 1px solid rgba(201,165,92,0.18);
  align-items: center;
}
.flow-step:last-child { border-bottom: none; }
.flow-step:first-child { padding-top: 6px; }

.flow-step__num-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.flow-step__label {
  font-family: var(--ff-en-serif);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(212, 182, 117, 0.7);
  font-weight: 500;
}
.flow-step__num {
  font-family: var(--ff-en-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--gold-300);
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(180deg, #f3d896 0%, #c9a55c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.flow-step__body { min-width: 0; }
.flow-step__title {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--white);
  margin: 0 0 3px;
  letter-spacing: 0.02em;
}
.flow-step__desc {
  font-size: 10.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
  margin: 0;
}

/* ---------- 8. CTA ---------- */
.cta {
  background-color: var(--green-900);
  background-image: url('bg/8.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 28px 22px 40px;
  color: var(--white);
  text-align: center;
  position: relative;
}
.cta::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,165,92,0.5), transparent);
}

.cta__badge {
  display: inline-block;
  padding: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500));
  margin-bottom: 24px;
}
.cta__badge-inner {
  display: block;
  padding: 5px 16px;
  background: var(--green-800);
  border-radius: 999px;
  color: var(--gold-300);
  font-family: var(--ff-serif);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.cta__lead {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 22px;
}

.cta__btn-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 8px;
}
.cta__leaf {
  flex-shrink: 0;
  width: 36px;
  height: 110px;
  color: var(--gold-400);
  opacity: 0.95;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.3));
}
.cta__leaf svg { width: 100%; height: 100%; }

.cta__btn {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 14px;
  background: linear-gradient(180deg, #e2c98c 0%, #c9a55c 60%, #a8843f 100%);
  color: var(--green-900);
  border-radius: 999px;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -2px 0 rgba(0,0,0,0.15),
    0 8px 20px rgba(201,165,92,0.25),
    0 2px 4px rgba(0,0,0,0.3);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(255,255,255,0.25);
}
.cta__btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    inset 0 -2px 0 rgba(0,0,0,0.15),
    0 12px 26px rgba(201,165,92,0.35),
    0 2px 4px rgba(0,0,0,0.3);
}
.cta__btn:active {
  transform: translateY(0);
}
.cta__btn-arrow {
  font-size: 20px;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 400;
}

/* ---------- Reveal animation (per-element) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal][data-reveal-from="left"] { transform: translateX(-28px); }
[data-reveal][data-reveal-from="right"] { transform: translateX(28px); }
[data-reveal][data-reveal-from="up"] { transform: translateY(-14px); }
[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ach-cta: ゆっくりふわっと登場＋スケールパルス */
.ach-cta[data-reveal] {
  transform: translateY(20px) scale(0.92);
  transition: opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1), transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ach-cta[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: ach-cta-pulse 1.6s 1.3s cubic-bezier(0.34, 1.56, 0.64, 1) 1;
}
@keyframes ach-cta-pulse {
  0%   { transform: translateY(0) scale(1); }
  35%  { transform: translateY(0) scale(1.07); }
  60%  { transform: translateY(0) scale(0.985); }
  100% { transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0s !important;
  }
}

/* ---------- Site Footer ---------- */
.site-footer {
  background: var(--green-900);
  padding: 24px 18px 28px;
  text-align: center;
  border-top: 1px solid rgba(201, 165, 92, 0.2);
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 0;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.site-footer__nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 4px 10px;
  transition: color 0.2s ease;
}
.site-footer__nav a:hover {
  color: var(--gold-300);
}
.site-footer__sep {
  color: rgba(201, 165, 92, 0.35);
  font-size: 9px;
}
.site-footer__copy {
  font-family: var(--ff-en-serif);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* ---------- Legal Pages ---------- */
.legal {
  background: var(--cream-100);
  color: var(--ink-900);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.legal__header {
  padding: 22px 22px 18px;
  background: linear-gradient(180deg, #0a2622 0%, #143832 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(201, 165, 92, 0.35);
}
.legal__back {
  margin: 0 0 14px;
}
.legal__back a {
  color: var(--gold-300);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.legal__back a:hover { text-decoration: underline; }
.legal__title {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--gold-300);
  letter-spacing: 0.08em;
  margin: 0;
  text-align: center;
}
.legal__main {
  flex: 1;
  padding: 24px 22px 36px;
}
.legal__lead {
  font-size: 12px;
  line-height: 1.85;
  color: var(--ink-900);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.legal__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}
.legal__list dt {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--green-900);
  border-left: 3px solid var(--gold-500);
  padding: 4px 0 4px 10px;
  margin-top: 16px;
  letter-spacing: 0.04em;
}
.legal__list dt:first-child { margin-top: 0; }
.legal__list dd {
  margin: 6px 0 0 13px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-900);
  letter-spacing: 0.02em;
}
.legal__note {
  display: block;
  font-size: 10.5px;
  color: var(--ink-500);
  margin-top: 4px;
}
.legal__section {
  margin-bottom: 24px;
}
.legal__h2 {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--green-900);
  border-left: 3px solid var(--gold-500);
  padding-left: 10px;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}
.legal__section p {
  font-size: 12px;
  line-height: 1.85;
  color: var(--ink-900);
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}
.legal__ul,
.legal__ol {
  margin: 8px 0 0;
  padding-left: 20px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--ink-900);
  letter-spacing: 0.02em;
}
.legal__ul { list-style: disc; }
.legal__ol { list-style: decimal; }
.legal__ul li, .legal__ol li { margin-bottom: 4px; }
.legal__contact {
  background: rgba(201, 165, 92, 0.08);
  border: 1px solid rgba(201, 165, 92, 0.3);
  border-radius: 6px;
  padding: 12px 14px;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.legal__contact dt {
  font-weight: 700;
  color: var(--green-900);
}
.legal__contact dd {
  margin: 0;
  color: var(--ink-900);
}
.legal__updated {
  margin-top: 24px;
  font-size: 11px;
  color: var(--ink-500);
  text-align: right;
  letter-spacing: 0.04em;
}

/* ---------- Wide viewport ---------- */
@media (min-width: 441px) {
  body {
    background:
      radial-gradient(ellipse at 50% 0%, #0e2e29 0%, #06100e 80%);
    min-height: 100vh;
  }
  .page {
    box-shadow:
      0 0 0 1px rgba(201,165,92,0.15),
      0 30px 60px rgba(0,0,0,0.5);
    margin-top: 20px;
    margin-bottom: 20px;
  }
}
