/* =========================================================
   目標達成プログラム ｜ 髙木 晴
   ========================================================= */
:root {
  --black: #0d0d0d;
  --ink: #1a1a1a;
  --gray: #8a8a8a;
  --line: #dcdcdc;
  --paper: #f4f2ee;
  --love: #f08a5d;       /* 恋愛領域のアクセント（夕日の色） */
  --love-deep: #2a1712;
  --white: #fff;
  --en: "Jost", "Futura", "Helvetica Neue", sans-serif;
  --ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --header-h: 88px;
}

*,
*::before,
*::after { box-sizing: border-box; }

/* なめらかスクロールは、ページを開いて一番上に固定したあとにJSでオンにする */
html.is-smooth { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ja);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .08em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.is-loading, body.is-menu-open { overflow: hidden; }

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

.wrap { width: min(1200px, 100% - 96px); margin-inline: auto; }
.sp-only { display: none; }

/* ---------- Mask (line reveal) ---------- */
.mask { display: block; overflow: hidden; }
.mask > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.2s var(--ease);
}
.is-in .mask > span,
.mask.is-in > span { transform: none; }
.mask:nth-child(2) > span { transition-delay: .08s; }
.mask:nth-child(3) > span { transition-delay: .16s; }

/* ---------- Generic reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Letters (EN heading) ---------- */
.js-letters .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(.4em);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--i) * 40ms);
}
.js-letters.is-in .ch { opacity: 1; transform: none; }

/* ---------- Image reveal ---------- */
.img-reveal { overflow: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 1.6s var(--ease); }
.img-reveal img { transform: scale(1.25); transition: transform 2.2s var(--ease); }
.img-reveal.is-in { clip-path: inset(0 0 0 0); }
.img-reveal.is-in img { transform: scale(1); }

/* ---------- Heading ---------- */
.heading { margin-bottom: 64px; }
.heading__en {
  font-family: var(--en);
  font-weight: 300;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1;
  letter-spacing: .04em;
}
.heading__ja { margin-top: 18px; font-size: 14px; font-weight: 500; letter-spacing: .2em; }
.heading--light { color: var(--white); }

/* =========================================================
   Opening
   ========================================================= */
.opening {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-content: center; gap: 28px;
  background: var(--black); color: var(--white);
  transition: transform 1.2s var(--ease) .1s;
}
.opening__text {
  font-family: var(--en); font-weight: 300; text-align: center;
  font-size: clamp(22px, 3vw, 34px); line-height: 1.3; letter-spacing: .24em;
}
.opening__bar { display: block; height: 1px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.opening__bar::after {
  content: ""; position: absolute; inset: 0; background: var(--white);
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .3s;
}
.opening.is-in .opening__bar::after { transform: scaleX(1); }
.opening.is-done { transform: translateY(-100%); }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 48px;
  color: var(--white);
  transition: transform .6s var(--ease), background .4s, color .4s, height .4s;
}
.header.is-solid { background: rgba(255,255,255,.96); color: var(--ink); --header-h: 72px; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.header.is-hidden { transform: translateY(-100%); }
.header__logo { display: flex; flex-direction: column; line-height: 1.2; }
.header__logo-en { font-family: var(--en); font-weight: 500; font-size: 18px; letter-spacing: .18em; }
.header__logo-sub { font-family: var(--en); font-weight: 300; font-size: 11px; letter-spacing: .2em; opacity: .7; }

.nav__list { display: flex; gap: 44px; }
.nav__list a { display: flex; flex-direction: column; align-items: center; line-height: 1.4; }
.nav__en { font-family: var(--en); font-size: 13px; letter-spacing: .16em; position: relative; }
.nav__en::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__list a:hover .nav__en::after { transform: scaleX(1); transform-origin: left; }
.nav__ja { font-size: 10px; letter-spacing: .12em; opacity: .6; }

.menu-btn { display: none; }
.header__line {
  padding: 9px 22px; border: 1px solid currentColor; border-radius: 999px;
  font-size: 12px; letter-spacing: .14em; line-height: 1;
  transition: background .3s, color .3s, border-color .3s;
}
.header__line:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.header.is-solid .header__line { background: var(--black); color: var(--white); border-color: var(--black); }
.header.is-solid .header__line:hover { opacity: .8; }
.nav__sp-line { display: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}
.hero__bg { position: absolute; inset: 0; }
/* 人物が中央の写真なので、PCでは右側に寄せて左端を黒に溶け込ませ、見出しと重ならないようにする */
.hero__bg img, .hero__bg canvas {
  position: absolute; top: 0; right: 0;
  width: 64%; height: 100%; object-fit: cover; object-position: 50% 42%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
  transform-origin: 50% 45%;
  transform: scale(1.15);
  transition: transform 3.5s var(--ease);
}
.hero.is-in .hero__bg img, .hero.is-in .hero__bg canvas { transform: scale(1); animation: slowZoom 24s linear 3.5s infinite alternate; }
@keyframes slowZoom { to { transform: scale(1.08); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 55%, rgba(0,0,0,0) 100%);
}
.hero__content {
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  width: min(1200px, 100% - 96px); margin-inline: auto;
}
.hero__title {
  font-family: var(--en); font-weight: 300;
  font-size: clamp(48px, 9vw, 132px);
  line-height: 1; letter-spacing: .02em;
}
.hero__title .mask { padding-bottom: .06em; }
.hero__copy { margin-top: 40px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; line-height: 1.7; letter-spacing: .16em; }
.hero__copy .mask:nth-child(1) > span { transition-delay: .5s; }
.hero__copy .mask:nth-child(2) > span { transition-delay: .6s; }
.hero__name {
  margin-top: 32px; font-size: 14px; letter-spacing: .2em;
  opacity: 0; transition: opacity 1.4s ease .9s;
}
.hero__name span { margin-right: 1.2em; opacity: .7; font-size: 12px; }
.hero.is-in .hero__name { opacity: 1; }
.hero__scroll {
  position: absolute; right: 48px; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--en); font-size: 11px; letter-spacing: .24em;
}
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll::after {
  content: ""; width: 1px; height: 80px;
  background: linear-gradient(var(--white) 50%, rgba(255,255,255,.25) 50%);
  background-size: 1px 200%;
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* =========================================================
   Concept
   ========================================================= */
.concept { padding: 180px 0 160px; overflow: hidden; }
.concept__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; }
.concept__statement {
  font-size: clamp(21px, 2.4vw, 34px); font-weight: 500; line-height: 1.75; letter-spacing: .08em;
  margin-bottom: 56px;
}
.concept__body p + p { margin-top: 1.6em; }
/* 写真は画面の右端まで裁ち落としにする（余白に囲まれた「置いただけ」の見え方を避ける） */
.concept__photo { aspect-ratio: 4 / 5; margin-right: calc(-1 * max(48px, (100vw - 1200px) / 2)); }
.concept__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }

/* =========================================================
   Life Balance（バランスホイール）
   ========================================================= */
.life { background: var(--black); color: var(--white); padding: 160px 0 170px; overflow: hidden; }
.life__inner { display: grid; grid-template-columns: 4fr 6fr; grid-template-areas: "text wheel" "controls wheel"; gap: 0 80px; align-items: center; }
.life__text { grid-area: text; align-self: end; }
.life__wheel { grid-area: wheel; }
.life__controls { grid-area: controls; align-self: start; }
.life .heading__en { white-space: nowrap; font-size: clamp(40px, 5.2vw, 76px); }
.life__lead { font-size: clamp(24px, 2.8vw, 38px); font-weight: 500; line-height: 1.6; letter-spacing: .12em; margin-bottom: 32px; }
.life__text > p + p { margin-top: 1.4em; }
.life__howto { color: rgba(255,255,255,.7); font-size: 14px; }

.life__sliders { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; margin-top: 40px; }
.wheel-slider { display: grid; grid-template-columns: 1fr 88px 20px; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .06em; }
.wheel-slider__name { white-space: nowrap; color: rgba(255,255,255,.8); }
.wheel-slider.is-love .wheel-slider__name { color: var(--love); }
.wheel-slider__value { font-family: var(--en); text-align: right; }
.wheel-slider input { width: 100%; accent-color: var(--white); height: 20px; margin: 0; cursor: pointer; }
.wheel-slider.is-love input { accent-color: var(--love); }

.life__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.life__actions.is-show { opacity: 1; transform: none; pointer-events: auto; }
.life__send { display: inline-flex; align-items: center; gap: 16px; padding: 14px 26px; border-radius: 999px; background: var(--white); color: var(--black); font-size: 14px; font-weight: 500; letter-spacing: .08em; transition: background .3s, color .3s; }
.life__send:hover { background: #06c755; color: var(--white); }
.life__reset { background: none; border: 0; padding: 0; color: rgba(255,255,255,.6); font: inherit; font-size: 12px; letter-spacing: .12em; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.life__wheel { position: relative; }
.wheel { position: relative; width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 1; container-type: inline-size; }
.wheel .wheel__svg { position: relative; z-index: 1; }
.wheel__bgtotal {
  position: absolute; inset: 0; z-index: 0; display: grid; place-items: center;
  font-family: var(--en); font-weight: 300; font-size: 56cqw; line-height: 1; letter-spacing: -.04em;  /* ホイールの幅に対する比率 */
  color: rgba(255,255,255,.11); pointer-events: none; user-select: none;
}
.wheel__summary { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 24px; margin-top: 16px; text-align: center; }
.wheel__summary-total { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--en); }
.wheel__summary-total small { font-size: 12px; letter-spacing: .2em; opacity: .6; }
.wheel__summary-total b { font-weight: 300; font-size: 40px; line-height: 1; }
.wheel__summary-low { font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.7); }
.wheel__svg { display: block; width: 100%; height: 100%; overflow: visible; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.wheel__grid circle { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1; }
.wheel__grid circle.is-outer { stroke: rgba(255,255,255,.4); }
.wheel__grid line { stroke: rgba(255,255,255,.18); stroke-width: 1; }
.wheel__fill { fill: rgba(255,255,255,.86); stroke: var(--black); stroke-width: 3; transition: fill .3s; }
.wheel__fill:hover { fill: #fff; }
.wheel__fill.is-love { fill: var(--love); }
.wheel__label text { text-anchor: middle; fill: var(--white); }
.wheel__en { font-family: var(--en); font-size: 11px; letter-spacing: .18em; opacity: .55; }
.wheel__ja { font-size: 14px; letter-spacing: .08em; }
.wheel__score { font-family: var(--en); font-size: 15px; font-weight: 500; }
.wheel__label.is-love text { fill: var(--love); }
.wheel__label.is-love .wheel__en { opacity: 1; }
.wheel__hint { margin-top: 20px; text-align: center; font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.55); transition: opacity .4s; }
.wheel__hint.is-hidden { opacity: 0; }

/* =========================================================
   Love teaser（恋愛コーチングへの入口）
   ========================================================= */
.love-teaser {
  position: relative; overflow: hidden; color: var(--white); padding: 150px 0;
  background:
    radial-gradient(120% 90% at 85% 110%, rgba(240,138,93,.55) 0%, rgba(240,138,93,0) 60%),
    linear-gradient(160deg, #141a2e 0%, #2a2238 45%, var(--love-deep) 100%);
}
.love-teaser__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.love-teaser__label { font-family: var(--en); font-size: 12px; letter-spacing: .3em; color: var(--love); margin-bottom: 20px; }
.love-teaser__title { font-family: var(--en); font-weight: 300; font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; letter-spacing: .02em; }
.love-teaser__ja { font-size: clamp(19px, 1.9vw, 24px); font-weight: 500; line-height: 1.8; letter-spacing: .1em; margin-bottom: 24px; }
.love-teaser__body p { color: rgba(255,255,255,.8); }
.love-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 40px;
  margin-top: 40px; padding: 22px 36px; min-width: min(360px, 100%);
  border: 1px solid rgba(255,255,255,.7); border-radius: 999px;
  font-size: 15px; letter-spacing: .12em;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s, opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.love-btn:hover { background: var(--love); border-color: var(--love); color: var(--white); }
.love-btn__arrow { font-family: var(--en); transition: transform .4s var(--ease); }
.love-btn:hover .love-btn__arrow { transform: translateX(6px); }

/* =========================================================
   Program
   ========================================================= */
.program { background: var(--black); color: var(--white); padding: 160px 0 170px; overflow: hidden; }

.roadmap { position: relative; aspect-ratio: 1000 / 420; margin: 0 auto 120px; max-width: 1080px; }
.roadmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.roadmap__path { fill: none; stroke: url(#roadGrad); stroke-width: 26; stroke-linecap: round; }
.roadmap__circle {
  position: absolute; width: 132px; height: 132px; transform: translate(-50%, -50%);
  display: grid; place-items: center; text-align: center;
  border: 1px solid rgba(255,255,255,.6); border-radius: 50%;
  font-size: 15px; line-height: 1.7; letter-spacing: .14em;
  opacity: 0; transition: opacity 1s ease, transform 1s var(--ease);
}
.roadmap__circle--start { left: 11%; top: 85.7%; transform: translate(-50%, -50%) scale(.8); }
.roadmap__circle--goal { left: 89%; top: 16.7%; transform: translate(-50%, -50%) scale(.8); }
.roadmap__circle.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.roadmap__circle--goal.is-on { background: var(--white); color: var(--black); }
.roadmap__node { position: absolute; left: var(--x); top: var(--y); }
.roadmap__dot {
  position: absolute; width: 22px; height: 22px; left: -11px; top: -11px;
  background: var(--white); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,255,255,.5);
  transform: scale(0); transition: transform .6s var(--ease);
}
.roadmap__node.is-on .roadmap__dot { transform: scale(1); animation: pulse 2.4s ease-out .6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 100% { box-shadow: 0 0 0 18px rgba(255,255,255,0); } }
.roadmap__label {
  position: absolute; left: 50%; bottom: 26px; transform: translate(-50%, 10px);
  white-space: nowrap; text-align: center; line-height: 1.4;
  font-size: 17px; font-weight: 500; letter-spacing: .14em;
  opacity: 0; transition: opacity .8s ease .15s, transform .8s var(--ease) .15s;
}
.roadmap__label small { display: block; font-family: var(--en); font-weight: 300; font-size: 13px; letter-spacing: .2em; opacity: .6; }
.roadmap__node.is-on .roadmap__label { opacity: 1; transform: translate(-50%, 0); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.steps__item { padding: 40px 32px 0 0; }
.steps__item + .steps__item { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.2); }
.steps__item:nth-child(2) { transition-delay: .1s; }
.steps__item:nth-child(3) { transition-delay: .2s; }
.steps__item:nth-child(4) { transition-delay: .3s; }
.steps__num { font-family: var(--en); font-weight: 300; font-size: 32px; line-height: 1; letter-spacing: .06em; }
.steps__num span { font-size: 11px; letter-spacing: .24em; opacity: .5; vertical-align: middle; margin-left: 8px; }
.steps__item h3 { margin: 20px 0 14px; font-size: 18px; font-weight: 500; letter-spacing: .14em; }
.steps__item p:last-child { font-size: 14px; line-height: 2; color: rgba(255,255,255,.72); }

/* =========================================================
   Band
   ========================================================= */
.band { position: relative; overflow: hidden; color: var(--white); padding: 200px 0; background: var(--black); }
.band__bg { position: absolute; inset: -20% 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .5; filter: grayscale(.3); }
.band__inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap; }
.band__num { font-family: var(--en); font-weight: 300; font-size: clamp(96px, 14vw, 200px); line-height: .9; letter-spacing: -.01em; }
.band__plus { font-size: .5em; vertical-align: top; margin-left: .05em; }
.band__label { margin-top: 20px; font-size: 14px; letter-spacing: .2em; }
.band__tags { display: flex; flex-wrap: wrap; gap: 10px; max-width: 600px; justify-content: flex-end; transition-delay: .2s; }
.band__tags li { padding: 6px 20px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; font-size: 13px; }

/* =========================================================
   Profile
   ========================================================= */
.profile { padding: 180px 0; }
.profile__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 104px; align-items: start; }
.profile__side { position: sticky; top: 120px; }
.profile__photo { aspect-ratio: 2 / 3; background: #000; max-width: 420px; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__main { padding-top: 12px; }
.profile__name { font-size: clamp(34px, 3.6vw, 48px); font-weight: 500; letter-spacing: .2em; line-height: 1.3; }
.profile__name span { display: block; margin-top: 10px; font-family: var(--en); font-weight: 300; font-size: 15px; letter-spacing: .3em; color: var(--gray); }
.profile__role { margin-top: 28px; font-size: 14px; color: #555; }
.profile__role li { line-height: 2; }

.profile__story { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--ink); }
.profile__story p { line-height: 2.2; }
.profile__story p + p { margin-top: 2em; }

/* =========================================================
   Gallery (marquee)
   ========================================================= */
.gallery { overflow: hidden; padding: 0 0 180px; }
.gallery__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.gallery:hover .gallery__track { animation-play-state: paused; }
.gallery__set { display: flex; gap: 24px; padding-right: 24px; }
.gallery__set img { height: 380px; width: auto; aspect-ratio: auto; object-fit: cover; filter: grayscale(1); transition: filter .8s ease; }
.gallery__set img:hover { filter: none; }
.gallery__more { display: flex; justify-content: flex-end; margin-top: 40px; }

/* Instagramへのリンク（LINEより控えめな細字のテキストリンク） */
.ig-link {
  position: relative; display: inline-flex; align-items: baseline; gap: 14px;
  padding-bottom: 8px;
  font-family: var(--en); font-size: 14px; letter-spacing: .2em;
}
.ig-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease);
}
.ig-link:hover::after { transform: scaleX(0); }
.ig-link span:not(.ig-link__arrow) { font-family: var(--ja); font-size: 13px; letter-spacing: .08em; color: var(--gray); }
.ig-link__arrow { transition: transform .4s var(--ease); }
.ig-link:hover .ig-link__arrow { transform: translateX(4px); }
.profile__ig { margin-top: 24px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Message
   ========================================================= */
.message { position: relative; overflow: hidden; color: var(--white); padding: 200px 0; background: var(--black); }
.message__bg { position: absolute; inset: -15% 0; }
.message__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.message__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.25) 100%); }
.message__inner { position: relative; }
.message__body { max-width: 620px; }
.message__lead { font-size: clamp(26px, 3.2vw, 44px); font-weight: 500; line-height: 1.6; letter-spacing: .12em; margin-bottom: 64px; }
.message__body p { font-size: 17px; line-height: 2.3; }
.message__question { font-size: 20px; font-weight: 500; }
.message__body p + p { margin-top: 2em; }
.message__sign { margin-top: 56px; font-size: 20px; letter-spacing: .3em; }

/* =========================================================
   Contact（公式LINE）
   ========================================================= */
.contact { padding: 180px 0; background: var(--white); }
.contact__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 104px; align-items: end; }
.contact__inner .heading { margin-bottom: 0; }
.contact__lead { font-size: clamp(24px, 2.8vw, 38px); font-weight: 500; letter-spacing: .12em; line-height: 1.6; margin-bottom: 28px; }
.contact__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; margin-top: 48px; }
.line-qr { display: flex; align-items: center; gap: 20px; margin: 0; }
.line-qr img { width: 132px; height: 132px; padding: 14px; background: var(--white); box-sizing: content-box; }
.line-qr figcaption { font-size: 13px; line-height: 1.9; letter-spacing: .1em; color: #555; white-space: nowrap; }
.line-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; padding: 26px 40px; min-width: min(440px, 100%);
  background: var(--black); color: var(--white); border-radius: 999px;
  font-size: 16px; font-weight: 500; letter-spacing: .12em;
  transition: background .4s var(--ease), opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.line-btn:hover { background: #06c755; }
.line-btn__arrow { font-family: var(--en); transition: transform .4s var(--ease); }
.line-btn:hover .line-btn__arrow { transform: translateX(6px); }
.line-float { display: none; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--black); color: var(--white); padding: 120px 0 40px; border-top: 1px solid rgba(255,255,255,.12); }
.footer__big { font-family: var(--en); font-weight: 300; font-size: clamp(40px, 7.4vw, 108px); line-height: 1.05; letter-spacing: .02em; }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: 96px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.2); }
.footer__nav { display: flex; gap: 36px; flex-wrap: wrap; font-size: 13px; }
.footer__nav a { opacity: .75; transition: opacity .3s; }
.footer__nav a:hover { opacity: 1; }
.footer__rights { font-family: var(--en); font-size: 11px; letter-spacing: .2em; opacity: .5; }

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mask > span, [data-reveal], .js-letters .ch, .img-reveal img { opacity: 1; transform: none; }
  .img-reveal { clip-path: none; }
  .roadmap__circle, .roadmap__label, .roadmap__dot { opacity: 1; }
  .opening { display: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .wrap, .hero__content { width: calc(100% - 64px); }
  .header { padding: 0 32px; }
  .nav__list { gap: 28px; }
  .concept__inner, .profile__inner { gap: 64px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps__item { padding-bottom: 40px; }
  .steps__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); }
  .roadmap__circle { width: 104px; height: 104px; font-size: 13px; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .header, .header.is-solid { --header-h: 64px; padding: 0 20px; }
  .menu-btn {
    display: block; position: relative; z-index: 120;
    width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: inherit; cursor: pointer;
  }
  .menu-btn span { position: absolute; left: 10px; width: 24px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
  .menu-btn span:first-child { top: 18px; }
  .menu-btn span:last-child { top: 26px; }
  .menu-btn[aria-expanded="true"] { color: var(--white); }
  .menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(30deg); }
  .menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-30deg); }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    display: grid; place-items: center;
    background: var(--black); color: var(--white);
    clip-path: circle(0 at calc(100% - 32px) 32px);
    transition: clip-path .8s var(--ease);
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 32px) 32px); }
  .nav__list { flex-direction: column; gap: 36px; }
  .nav__en { font-size: 26px; font-weight: 300; }
  .nav__ja { font-size: 11px; margin-top: 4px; }
  .nav__sp-line { display: list-item; }
  .header__line { display: none; }

  .contact { padding: 110px 0 130px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .line-btn { width: 100%; padding: 22px 28px; font-size: 15px; gap: 16px; }
  .contact__actions { display: block; margin-top: 40px; }
  .line-qr { display: none; } /* スマホはボタンからそのままLINEアプリが開く */
  .line-float {
    position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 90;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 26px; border-radius: 999px;
    background: #06c755; color: var(--white);
    font-size: 15px; font-weight: 700; letter-spacing: .1em;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    transform: translateY(160%); transition: transform .6s var(--ease);
  }
  .line-float.is-show { transform: none; }
  body.is-menu-open .line-float { transform: translateY(160%); }

  .sp-only { display: inline; }
  .pc-only { display: none; }

  .wrap, .hero__content { width: calc(100% - 40px); }
  .heading { margin-bottom: 44px; }

  /* 空を上に逃がして顔を画面上側に出し、文字と重ならないようにする */
  .hero__bg { inset: -24% 0 0 0; }
  .hero__bg img, .hero__bg canvas { width: 100%; object-position: 50% center; transform-origin: 50% 45%; -webkit-mask-image: none; mask-image: none; }
  .hero__bg::after { background: linear-gradient(0deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 42%, rgba(0,0,0,0) 68%); }
  .hero__content { justify-content: flex-end; padding-bottom: 88px; }
  .hero__title { font-size: 10.6vw; }
  .hero__copy { margin-top: 28px; }
  .hero__scroll { right: 20px; }

  .concept { padding: 110px 0 0; }
  .concept__photo { margin: 0 -20px; aspect-ratio: 4 / 5; }
  .concept__inner, .profile__inner { grid-template-columns: 1fr; gap: 56px; }
  .concept__statement { margin-bottom: 40px; }

  .program { padding: 110px 0; }
  .roadmap { display: none; }
  .steps { grid-template-columns: 1fr; border-top: 0; position: relative; padding-left: 36px; }
  .steps::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.8)); }
  .steps__item, .steps__item + .steps__item, .steps__item:nth-child(3) { position: relative; padding: 0 0 48px; border: 0; }
  .steps__item:nth-child(n+3) { border-top: 0; }
  .steps__item::before { content: ""; position: absolute; left: -36px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: var(--white); }
  .steps__item:last-child { padding-bottom: 0; }

  .band { padding: 120px 0; }
  .band__tags { justify-content: flex-start; }

  .profile { padding: 110px 0; }
  .profile__side { position: static; }
  .profile__photo { max-width: 320px; }
  .profile__story { margin-top: 40px; padding-top: 36px; }

  .gallery { padding-bottom: 110px; }
  .gallery__more { justify-content: flex-start; margin-top: 28px; }
  .gallery__set { gap: 12px; padding-right: 12px; }
  .gallery__set img { height: 240px; }

  .message { padding: 120px 0; }
  .message__bg img { object-position: 60% 40%; }
  .message__bg::after { background: rgba(0,0,0,.66); }
  .message__body p { font-size: 13.5px; line-height: 2.2; letter-spacing: .03em; word-break: auto-phrase; text-wrap: pretty; }
  .concept__body p, .steps__item p:last-child, .profile__story p { word-break: auto-phrase; text-wrap: pretty; }
  .message__lead { margin-bottom: 48px; }
  .message__question { font-size: 16px; }

  .footer { padding: 88px 0 32px; }
  .footer__bottom { margin-top: 64px; flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Life / Love teaser — responsive
   ========================================================= */
@media (max-width: 1024px) {
  .life__inner { grid-template-columns: 1fr; grid-template-areas: "text" "wheel" "controls"; gap: 48px; }
  .love-teaser__inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 820px) {
  .life { padding: 110px 0; }
  .life__sliders { grid-template-columns: 1fr; gap: 4px; }
  .wheel-slider { grid-template-columns: 11.5em 1fr 20px; font-size: 12.5px; }
  .wheel { max-width: 400px; }
  .wheel__ja { font-size: 16px; }
  .wheel__en { font-size: 12px; }
  .wheel__score { font-size: 17px; }
  .love-teaser { padding: 110px 0; }
  .love-btn { width: 100%; padding: 20px 28px; }
  .life__send { width: 100%; justify-content: space-between; }
}

/* =========================================================
   恋愛・パートナーシップコーチング（love/）
   ========================================================= */
.hero--love .hero__bg::after {
  background:
    linear-gradient(90deg, rgba(20,12,10,.75) 0%, rgba(20,12,10,.3) 55%, rgba(20,12,10,0) 100%),
    linear-gradient(0deg, rgba(240,138,93,.18), rgba(240,138,93,0) 60%);
}
.love-hero__label { font-family: var(--en); font-size: 12px; letter-spacing: .3em; color: var(--love); margin-bottom: 24px; opacity: 0; transition: opacity 1.2s ease .2s; }
.hero.is-in .love-hero__label { opacity: 1; }

.love-why { padding: 180px 0 160px; }
.love-why__inner { display: grid; grid-template-columns: 5fr 7fr; gap: 104px; }
.love-why__body p { line-height: 2.2; }
.love-why__body p + p { margin-top: 1.8em; }

/* 原稿待ちの目印（公開前に必ず差し替える） */
.todo { border: 1px dashed var(--love); padding: 32px 36px; background: rgba(240,138,93,.06); }
.todo__label, .todo-inline {
  display: inline-block; padding: 2px 10px; margin-bottom: 12px;
  background: var(--love); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .12em;
}
.todo-inline { margin: 0 10px 0 0; }

.love-themes {
  color: var(--white); padding: 160px 0;
  background: linear-gradient(160deg, #141a2e 0%, #2a2238 50%, var(--love-deep) 100%);
}
.love-themes__list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.2); }
.love-themes__list li { display: flex; align-items: baseline; gap: 28px; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.love-themes__list li:nth-child(odd) { padding-right: 40px; }
.love-themes__list li:nth-child(even) { padding-left: 40px; border-left: 1px solid rgba(255,255,255,.2); }
.love-themes__num { font-family: var(--en); font-weight: 300; font-size: 36px; color: var(--love); line-height: 1; }
.love-themes__list p { font-size: clamp(17px, 1.7vw, 22px); font-weight: 500; letter-spacing: .1em; }

.love-method { padding: 170px 0; }
.love-method__lead { max-width: 640px; margin-bottom: 64px; }
.love-steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.love-steps li { padding: 36px 28px 0 0; }
.love-steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.love-steps li:nth-child(2) { transition-delay: .1s; }
.love-steps li:nth-child(3) { transition-delay: .2s; }
.love-steps li:nth-child(4) { transition-delay: .3s; }
.love-steps__num { font-family: var(--en); font-weight: 300; font-size: 32px; line-height: 1; color: var(--love); }
.love-steps h3 { margin: 18px 0 12px; font-size: 17px; font-weight: 500; letter-spacing: .12em; }
.love-steps li p:last-child { font-size: 14px; color: #555; }


.love-back { background: var(--black); color: var(--white); }
.love-back__link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 32px; padding: 72px 0; }
.love-back__label { font-family: var(--en); font-weight: 300; font-size: clamp(20px, 2.6vw, 36px); letter-spacing: .06em; line-height: 1.35; }
.love-back__ja { grid-row: 2; font-size: 13px; letter-spacing: .1em; opacity: .7; }
.love-back__arrow { grid-row: 1 / 3; grid-column: 2; font-family: var(--en); font-size: 28px; transition: transform .4s var(--ease); }
.love-back__link:hover .love-back__arrow { transform: translateX(8px); }
.page-love .footer { border-top-color: rgba(255,255,255,.2); }

@media (max-width: 1024px) {
  .love-steps { grid-template-columns: repeat(2, 1fr); }
  .love-steps li { padding-bottom: 36px; }
  .love-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 820px) {
  .love-why { padding: 110px 0; }
  .love-why__inner { grid-template-columns: 1fr; gap: 40px; }
  .todo { padding: 24px 22px; }
  .love-themes { padding: 110px 0; }
  .love-themes__list { grid-template-columns: 1fr; }
  .love-themes__list li, .love-themes__list li:nth-child(odd), .love-themes__list li:nth-child(even) { padding: 28px 0; border-left: 0; }
  .love-method { padding: 110px 0; }
  .love-method__lead { margin-bottom: 44px; }
  .love-steps { grid-template-columns: 1fr; }
  .love-steps li, .love-steps li + li, .love-steps li:nth-child(3) { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .love-back__link { padding: 56px 0; }
}
.hero--love .hero__title { font-size: clamp(40px, 6.6vw, 100px); }

/* ---------- 恋愛ページ：理由の要約と「理由を読む」リンク ---------- */
.love-why__lead { font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; line-height: 1.7; letter-spacing: .1em; margin-bottom: 32px; }
.story-link {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 24px;
  margin-top: 48px; padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), color .3s;
}
.story-link__label { font-family: var(--en); font-size: 12px; letter-spacing: .3em; color: var(--love); }
.story-link__ja { grid-row: 2; font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; letter-spacing: .12em; }
.story-link__arrow { grid-row: 1 / 3; grid-column: 2; font-family: var(--en); font-size: 28px; transition: transform .4s var(--ease); }
.story-link:hover { color: var(--love); }
.story-link:hover .story-link__arrow { transform: translateX(8px); }

/* =========================================================
   恋愛コーチをやる理由（love/story/）
   ========================================================= */
.hero--story { height: 88vh; height: 88svh; min-height: 560px; }
.story-title { font-size: clamp(34px, 5vw, 72px); font-weight: 500; line-height: 1.4; letter-spacing: .1em; }
.story-title .mask:nth-child(2) > span { transition-delay: .1s; }
.story-title .mask:nth-child(3) > span { transition-delay: .2s; }

.story { padding: 160px 0 140px; }
.story__body { width: min(720px, 100% - 48px); margin-inline: auto; }
.story__body > * + * { margin-top: 1.6em; }
.story__body p { font-size: 17px; line-height: 2.3; }
/* 色付きの枠やアイコンは使わず、文字の大きさと余白だけで強弱をつける */
.story__quote {
  margin: 2.4em 0 2em; padding: 0;
  font-size: clamp(20px, 2.1vw, 27px); font-weight: 500; line-height: 1.9; letter-spacing: .08em; color: var(--ink);
}
.story__voice, .story__voices li { font-size: clamp(18px, 1.8vw, 22px) !important; font-weight: 500; letter-spacing: .1em; color: var(--ink); }
.story__voices { margin: 1.8em 0 !important; }
.story__voices li + li { margin-top: .5em; }
.story__voice { margin: 1.4em 0 !important; }
.story__list { margin: 2em 0 !important; border-top: 1px solid var(--line); }
.story__list li {
  padding: 14px 14px; margin: 0 -14px; border-bottom: 1px solid var(--line); line-height: 1.9;
  transition: background-color .35s ease, color .35s ease;
}
/* マウスを乗せた行（スマホは画面の真ん中に来た行）を、グレーの帯で「選択中」のように見せる */
@media (hover: hover) { .story__list li:hover, .story__steps li:hover { background: rgba(255,255,255,.09); color: var(--white); } }
.story__list li.is-active, .story__steps li.is-active { background: rgba(255,255,255,.09); color: var(--white); }
.story__steps { border-top: 1px solid var(--ink); }
.story__steps li { padding: 20px 14px; margin: 0 -14px; border-bottom: 1px solid var(--line); line-height: 2; font-weight: 500; transition: background-color .35s ease, color .35s ease; }
.story__statement {
  width: min(1000px, 100% - 48px); margin: 120px auto;
  font-size: clamp(26px, 3.6vw, 52px); font-weight: 500; line-height: 1.6; letter-spacing: .1em; text-align: center;
}
.story__sign { margin-top: 56px !important; font-size: 20px !important; letter-spacing: .3em; text-align: right; }

.story-next { background: var(--black); color: var(--white); }
.story-next__link { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 32px; padding: 72px 0; }
.story-next__label { font-family: var(--en); font-weight: 300; font-size: clamp(20px, 2.6vw, 36px); letter-spacing: .06em; line-height: 1.35; }
.story-next__ja { grid-row: 2; font-size: 13px; letter-spacing: .1em; opacity: .7; }
.story-next__arrow { grid-row: 1 / 3; grid-column: 2; font-family: var(--en); font-size: 28px; transition: transform .4s var(--ease); }
.story-next__link:hover .story-next__arrow { transform: translateX(8px); }

@media (max-width: 820px) {
  .story { padding: 100px 0 90px; }
  .story__body p { font-size: 15px; line-height: 2.2; word-break: auto-phrase; text-wrap: pretty; }
  .story__statement { margin: 80px auto; font-size: 21px; letter-spacing: .06em; }
  .story-next__link { padding: 56px 0; }
}

/* =========================================================
   恋愛コーチング（love/ と love/story/）の配色：ネイビー × オレンジ
   トップページと同じ部品を使いつつ、色の変数を差し替えて夜〜夕焼けのトーンにする
   ========================================================= */
body.page-love {
  --navy: #0a0c1f;
  --navy-2: #12152e;
  --black: #06071a;              /* 黒だった面（フッター・メニュー等）は深いネイビーに */
  --ink: #f1f1f5;                /* 文字・罫線の濃い色は白に */
  --line: rgba(255,255,255,.14);
  --paper: var(--navy-2);
  --gray: rgba(255,255,255,.55);
  background: var(--navy);
  color: rgba(255,255,255,.86);
}
.page-love .heading { color: var(--white); }

/* 夕焼けのグラデーション（トップの恋愛バナーと同じ色味） */
.page-love .love-why,
.page-love .contact {
  background:
    radial-gradient(90% 70% at 100% 100%, rgba(240,138,93,.28) 0%, rgba(240,138,93,0) 60%),
    linear-gradient(180deg, var(--navy) 0%, #0f1126 100%);
}
.page-love .love-themes,
.page-love .story__statement-wrap {
  background:
    radial-gradient(120% 90% at 85% 110%, rgba(240,138,93,.5) 0%, rgba(240,138,93,0) 60%),
    linear-gradient(160deg, #0d1026 0%, #1c1a33 50%, #2a1712 100%);
}
.page-love .love-method { background: var(--navy); }
.page-love .contact {
  background:
    radial-gradient(110% 90% at 90% 120%, rgba(240,138,93,.55) 0%, rgba(240,138,93,0) 62%),
    linear-gradient(165deg, #0c0f24 0%, #1d1a33 55%, #2a1712 100%);
}
.page-love .love-back, .page-love .story-next { background: #070919; }
.page-love .footer { background: #05061a; }

/* ヒーロー：ネイビーの影＋足元にオレンジ */
.page-love .hero--love .hero__bg::after {
  background:
    linear-gradient(90deg, rgba(8,10,30,.82) 0%, rgba(8,10,30,.35) 55%, rgba(8,10,30,.05) 100%),
    linear-gradient(0deg, rgba(240,138,93,.22), rgba(240,138,93,0) 55%);
}

/* 明るい背景前提だった色の差し替え */
.page-love .love-steps li p:last-child,
.page-love .line-qr figcaption { color: rgba(255,255,255,.7); }
.page-love .love-steps li + li { border-left-color: var(--line); }
.page-love .header.is-solid { background: rgba(10,12,31,.92); color: var(--white); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.page-love .header.is-solid .header__line { background: var(--white); color: var(--navy); border-color: var(--white); }
.page-love .line-btn { background: var(--white); color: var(--navy); }
.page-love .line-btn:hover { background: #06c755; color: var(--white); }
.page-love .story-link:hover { color: var(--love); }
.page-love .todo { background: rgba(240,138,93,.08); }

@media (max-width: 820px) {
  .page-love .header.is-solid { background: rgba(10,12,31,.92); }
}
.story__statement-wrap { margin: 120px 0; padding: 140px 0; }
.story__statement-wrap .story__statement { margin: 0 auto; color: var(--white); }
@media (max-width: 820px) { .story__statement-wrap { margin: 80px 0; padding: 90px 0; } .story__statement-wrap .story__statement { margin: 0 auto; } }

/* 黒い欄が続くところは、細い線で区切る */
.life + .program { border-top: 1px solid rgba(255,255,255,.12); }

/* 海の動き（js/sea.js）：最初の1コマが描けるまでは写真を見せ、描けたら差し替える */
.hero__bg canvas { opacity: 0; transition: opacity .6s ease, transform 3.5s var(--ease); }
.hero__bg.is-sea-ready canvas { opacity: 1; }

/* =========================================================
   理由ページの締めの一文：スクロールに合わせて夜明けのように浮かび上がる
   --p（0〜1）は js/main.js がスクロール量から計算して入れる
   ========================================================= */
.page-love .story__statement-wrap { position: relative; overflow: hidden; background: var(--navy); --p: 0; }
.page-love .story__statement-wrap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 85% 110%, rgba(240,138,93,.55) 0%, rgba(240,138,93,0) 60%),
    linear-gradient(160deg, #0d1026 0%, #1c1a33 50%, #2a1712 100%);
  opacity: var(--p);
  transform: translateY(calc((1 - var(--p)) * 18%)) scale(calc(1.12 - var(--p) * .12));
  transform-origin: 80% 100%;
}
.story__statement-wrap .story__statement { position: relative; }
/* 文字は左から右へ、白いグラデーションが流れ込むように表示（1行目→2行目の順） */
.story__statement-wrap .mask > span {
  transform: none !important; transition: none !important;
  color: transparent;
  background: linear-gradient(90deg, #fff 0%, #fff 42%, rgba(255,255,255,.06) 58%, rgba(255,255,255,.06) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
}
.story__statement-wrap .mask:nth-child(1) > span { background-position: calc((1 - clamp(0, var(--p) * 1.7, 1)) * 100%) 0; }
.story__statement-wrap .mask:nth-child(2) > span { background-position: calc((1 - clamp(0, var(--p) * 1.7 - .55, 1)) * 100%) 0; }
@media (prefers-reduced-motion: reduce) { .page-love .story__statement-wrap { --p: 1 !important; } }

/* =========================================================
   ファーストビューの高さ：実際に見えている画面の高さ（JSで測った --app-h）に合わせる
   LINE・Instagramなどのアプリ内ブラウザでは 100vh/100svh が画面より長くなり、
   下の文字が画面外に押し出されることがあるため
   ========================================================= */
.has-app-h .hero { height: var(--app-h); }
.has-app-h .hero--story { height: calc(var(--app-h) * .88); }
@media (max-width: 820px) {
  .hero { min-height: 500px; }
  .hero--story, .has-app-h .hero--story { height: 100vh; height: 100svh; min-height: 500px; }
  .has-app-h .hero--story { height: var(--app-h); }
  .story-title { font-size: 28px; letter-spacing: .06em; }
  .hero--love .hero__title { font-size: 36px; }
  .love-hero__label { margin-bottom: 14px; }
}
/* 画面の高さが低いスマホ（アプリ内ブラウザ等）では、見出しを小さく・余白を詰めて顔にかからないようにする */
@media (max-width: 820px) and (max-height: 620px) {
  .hero__content { padding-bottom: 60px; }
  .hero__title { font-size: 9vw; }
  .hero--love .hero__title { font-size: 30px; }
  .hero__copy { margin-top: 16px; font-size: 18px; }
  .hero__name { margin-top: 16px; }
  .love-hero__label { margin-bottom: 8px; }
  .story-title { font-size: 24px; }
}
