/* 案件固有のスタイル。型(styles.css)は編集禁止 — 上書きはすべてここに書く。
   読み込み順は styles.css → custom.css なので、同じセレクタ/変数はこちらが勝つ。 */

:root {
  --mold-version: 9;
  /* font-preset: serene */
  --lh-body: 1.95;
  --lh-display: 1.35;
  --ls-en: .10em;
  --ls-body: .02em;
  --ls-display: .04em;
  --fw-strong: 700;
  --fw-body: 400;
  --fw-display: 500;
  --font-en: "Cormorant Garamond", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-display: "Zen Old Mincho", serif;
  --font-script: "Caveat", "Zen Old Mincho", cursive;
  /* FVのメインキャッチコピー用。ここを変えると見出しのフォントだけ差し替わる */
  --font-hero: "Noto Sans JP", sans-serif;

  /* 配色(design-dna-lock: 生成り×深緑、クラフトと水彩の差し色) */
  --paper: #f7f1e7;
  --soft: #f1e8d9;
  --card: #fffdf8;
  --ink: #23302a;
  --muted: #5f6a63;
  --line: rgba(15, 58, 43, 0.12);
  --gold: #a4713f;
  --green: #14553c;
  --green-deep: #0e3b2a;
  --sage: #a9c2ae;
  --kraft: #d8b88c;
  --coral: #d98169;
  --shadow: 0 18px 44px rgba(45, 50, 35, 0.13);
  --radius: 16px;
}
body { background: var(--paper); color: var(--ink); }

/* ===== 共通: ボタン・見出し(角を丸く) ===== */
.btn { border-radius: 999px; }
.btn--primary { background: var(--green); border-color: var(--green); color: #fffdf8; }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--green-deep); border-color: var(--green-deep); }
.btn--ghost { color: var(--green); border-color: var(--green); background: rgba(255, 253, 248, .6); }
.ghost { display: none; }

.sec { position: relative; overflow: hidden; background: var(--paper); }
.sec__head { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.sec-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; color: var(--green); font-family: var(--font-en); font-size: 1.05rem; letter-spacing: .22em; }
.sec-ic { width: 26px; height: 26px; color: var(--green); }
.sec h2 { margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 700; color: var(--green); letter-spacing: .06em; }
.sec__sub { margin: 10px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.9; letter-spacing: .04em; }
.sec__more { position: relative; z-index: 2; margin: 26px 0 0; text-align: right; }
.sec__more a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--green); font-size: .95rem; letter-spacing: .06em; border-bottom: 1px solid var(--green); }
.sec__more a:hover, .sec__more a:focus-visible { color: var(--gold); border-color: var(--gold); }
.ic-arrow { width: 22px; height: 22px; }

/* ===== ANIMAL: テープ留めのポラロイド(1枚ずつ角度が違う) ===== */
.polaroids { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 34px) clamp(14px, 1.8vw, 26px); margin-top: clamp(34px, 4vw, 54px); }
.pola { position: relative; display: grid; justify-items: center; gap: 2px; padding: 12px 12px 18px; background: var(--card); border-radius: 6px; box-shadow: 0 12px 26px rgba(45, 50, 35, .13); transform: rotate(var(--r, -1.5deg)); transition: transform .5s var(--ease-out-expo), box-shadow .5s var(--ease-out-expo); }
.pola__tape { position: absolute; top: -12px; left: 50%; width: 82px; height: 26px; margin-left: -41px; background: rgba(216, 184, 140, .62); border-radius: 3px; transform: rotate(-4deg); box-shadow: 0 2px 6px rgba(45, 50, 35, .12); }
.pola:nth-child(even) .pola__tape { transform: rotate(5deg); background: rgba(169, 194, 174, .6); }
.pola__photo { display: block; width: 100%; aspect-ratio: 4 / 3.4; overflow: hidden; border-radius: 4px; background: var(--soft); }
.pola__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out-expo); }
.pola:hover, .pola:focus-visible { transform: rotate(0deg) translateY(-8px); box-shadow: 0 24px 44px rgba(45, 50, 35, .2); }
.pola:hover .pola__photo img { transform: scale(1.06); }
.pola__name { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--green); letter-spacing: .06em; }
.pola__place { font-size: .76rem; color: var(--gold); letter-spacing: .1em; }

/* ===== DESTINATION: 丸い矢印つきのカード ===== */
.dest-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(34px, 4vw, 54px); }
.dest { position: relative; display: grid; grid-template-rows: auto auto; padding: 10px 10px 4px; background: var(--card); border-radius: var(--radius); box-shadow: 0 14px 30px rgba(45, 50, 35, .12); transform: rotate(-.8deg); transition: transform .5s var(--ease-out-expo), box-shadow .5s var(--ease-out-expo); }
.dest:nth-child(even) { transform: rotate(.9deg); }
.dest__tape { position: absolute; top: -10px; left: 22px; width: 64px; height: 22px; background: rgba(169, 194, 174, .6); border-radius: 3px; transform: rotate(-8deg); }
.dest:nth-child(even) .dest__tape { left: auto; right: 22px; transform: rotate(7deg); background: rgba(216, 184, 140, .6); }
.dest:hover, .dest:focus-visible { transform: rotate(0) translateY(-6px); box-shadow: 0 26px 46px rgba(45, 50, 35, .2); }
.dest__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--soft); }
.dest__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out-expo); }
.dest:hover .dest__photo img { transform: scale(1.06); }
.dest__body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 8px 14px; }
.dest__text { display: grid; gap: 2px; }
.dest__jp { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--green); letter-spacing: .05em; }
.dest__en { font-family: var(--font-en); font-size: .82rem; letter-spacing: .16em; color: var(--muted); }
.dest__go { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--green); border-radius: 50%; color: var(--green); flex: none; transition: background .4s var(--ease-out-expo), color .4s var(--ease-out-expo); }
.dest:hover .dest__go { background: var(--green); color: #fffdf8; }

/* ===== JOURNAL: 写真つきカード + 丸いタグ ===== */
.journal-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 34px); margin-top: clamp(34px, 4vw, 54px); }
.jcard { display: grid; align-content: start; gap: 8px; padding: 10px 10px 18px; background: var(--card); border-radius: var(--radius); box-shadow: 0 14px 30px rgba(45, 50, 35, .1); transition: transform .5s var(--ease-out-expo), box-shadow .5s var(--ease-out-expo); }
.jcard:hover, .jcard:focus-visible { transform: translateY(-6px); box-shadow: 0 26px 46px rgba(45, 50, 35, .18); }
.jcard__photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--soft); }
.jcard__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out-expo); }
.jcard:hover .jcard__photo img { transform: scale(1.06); }
.jcard__date { padding: 0 6px; font-family: var(--font-en); font-size: .95rem; letter-spacing: .1em; color: var(--gold); }
.jcard__title { padding: 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.7; color: var(--green); }
.jcard:hover .jcard__title { text-decoration: underline; text-underline-offset: 4px; }
.jcard__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 6px 0; }
.chip { padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); font-size: .76rem; letter-spacing: .06em; color: var(--muted); }

/* ===== THEMES: ひもつきの荷物タグ ===== */
.tags { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); margin-top: clamp(52px, 6vw, 80px); }
.tag { position: relative; display: grid; justify-items: center; gap: 4px; padding: 46px 20px 28px; border-radius: 18px 18px 26px 26px; text-align: center; box-shadow: 0 14px 30px rgba(45, 50, 35, .12); transform: rotate(-1deg); transition: transform .55s var(--ease-out-expo), box-shadow .5s var(--ease-out-expo); }
.tag:nth-child(even) { transform: rotate(1.2deg); }
.tag--animal { background: #d9ead9; }
.tag--plan { background: #cfe3ee; }
.tag--stay { background: #f3d8d3; }
.tag--perk { background: #f6e6c2; }
.tag__hole { position: absolute; top: 18px; left: 50%; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2.5px rgba(20, 85, 60, .35); }
.tag::before { content: ""; position: absolute; top: -28px; left: 50%; width: 44px; height: 46px; margin-left: -6px; border: 2px solid rgba(20, 85, 60, .35); border-radius: 50% 50% 0 0 / 70% 70% 0 0; border-bottom: 0; }
.tag:hover, .tag:focus-visible { transform: rotate(0deg) translateY(-6px); box-shadow: 0 24px 44px rgba(45, 50, 35, .2); }
.tag-ic { width: 46px; height: 46px; margin-bottom: 6px; color: var(--green); }
.tag__en { font-family: var(--font-en); font-size: .9rem; letter-spacing: .2em; color: var(--muted); }
.tag__jp { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--green); letter-spacing: .05em; }
.tag__desc { margin-top: 4px; font-size: .88rem; line-height: 1.8; color: var(--muted); }

/* ===== ABOUT ===== */
.about-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: clamp(30px, 3.6vw, 50px); }
.about__photo { position: relative; margin: 0; padding: 12px; background: var(--card); border-radius: 10px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.about__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.about__tape { position: absolute; top: -12px; left: 28px; width: 76px; height: 24px; background: rgba(216, 184, 140, .62); border-radius: 3px; transform: rotate(-7deg); }
.about__body p { color: var(--muted); line-height: 2; }
.about__num { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.9rem); color: var(--green); letter-spacing: .06em; }
.about__body .btn { display: inline-flex; margin-top: 22px; padding: 0 34px; gap: 10px; }
.about__body .btn .ic-arrow { position: static; width: 20px; }
.stamp-round, .stamp-square { display: grid; place-items: center; font-family: var(--font-en); color: var(--green); text-align: center; letter-spacing: .16em; }
.stamp-round { width: clamp(92px, 9vw, 122px); aspect-ratio: 1; border: 1.5px dashed rgba(20, 85, 60, .5); border-radius: 50%; font-size: .72rem; line-height: 1.5; transform: rotate(-8deg); flex: none; }
.stamp-square { position: absolute; right: 0; top: -18px; width: clamp(110px, 11vw, 150px); aspect-ratio: 1.25; border: 1.5px dashed rgba(20, 85, 60, .45); border-radius: 10px; font-size: .74rem; line-height: 1.6; transform: rotate(7deg); background: rgba(255, 253, 248, .5); }
.stamp-square small { font-size: .62rem; letter-spacing: .1em; color: var(--muted); }

/* ===== JOURNEY MAP ===== */
.journey-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 54px); align-items: start; margin-top: clamp(30px, 3.6vw, 48px); }
.yt-atlas { position: relative; aspect-ratio: 1.7 / 1; background: transparent; }
.yt-atlas__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.atlas-legend { position: absolute; left: 4px; bottom: 4px; list-style: none; display: grid; gap: 6px; margin: 0; padding: 12px 16px; background: rgba(255, 253, 248, .86); border-radius: 12px; font-size: .78rem; color: var(--muted); }
.atlas-legend li { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--story { background: var(--coral); }
.dot--soon { background: var(--sage); }
.yt-pin { position: absolute; z-index: 2; width: 22px; height: 22px; margin: -22px 0 0 -11px; opacity: 0; transform: translateY(-18px); transition: opacity .4s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--i) * 70ms); }
.yt-pin::before { content: ""; position: absolute; inset: 0; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--sage); box-shadow: 0 3px 8px rgba(45, 50, 35, .25); }
.yt-pin::after { content: ""; position: absolute; left: 7px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--card); }
.yt-pin--story::before { background: var(--coral); }
.is-ready.is-dropped .yt-pin { opacity: 1; transform: none; }
.yt-pin__label { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); display: none; white-space: nowrap; padding: 5px 10px; border-radius: 6px; background: var(--green); color: #fffdf8; font-size: .74rem; line-height: 1.3; pointer-events: none; }
.yt-pin:hover .yt-pin__label, .yt-pin:focus-visible .yt-pin__label, .yt-pin.is-hot .yt-pin__label { display: block; }
.yt-atlas.is-fallback { display: none; }
.journey-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.jlist h3 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--green); letter-spacing: .06em; }
.jlist ul { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.jlist a, .jlist span { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; color: var(--ink); }
.jlist a { color: var(--green); border-bottom: 1px solid transparent; }
.jlist a:hover, .jlist a:focus-visible { border-color: var(--green); color: var(--gold); }
.jlist span { color: var(--muted); }

/* ===== 装飾(水彩の葉・花・手書き英字・飛行機の点線・波) ===== */
.yt-decor { position: absolute; z-index: 0; display: block; background-repeat: no-repeat; background-size: contain; pointer-events: none; }
.sec--animal .yt-decor--leaves-a { left: -46px; top: 8%; width: clamp(130px, 14vw, 215px); aspect-ratio: 640 / 586; background-image: url('../img/decor-leaves-a.webp'); transform: rotate(-8deg); }
.sec--animal .yt-decor--leaves-b { right: -40px; bottom: -34px; width: clamp(130px, 13vw, 205px); aspect-ratio: 620 / 764; background-image: url('../img/decor-leaves-b.webp'); transform: rotate(10deg) scaleX(-1); opacity: .9; }
.yt-decor--hibiscus-left { left: -14px; bottom: 8%; width: clamp(86px, 8.5vw, 132px); aspect-ratio: 1; background-image: url('../img/decor-hibiscus.webp'); transform: rotate(-12deg); }
.yt-decor--hibiscus-right { right: -10px; top: 16%; width: clamp(86px, 8.5vw, 140px); aspect-ratio: 1; background-image: url('../img/decor-hibiscus.webp'); transform: rotate(14deg) scaleX(-1); }
.yt-script { position: absolute; z-index: 1; margin: 0; font-family: var(--font-script); font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.3; color: var(--gold); pointer-events: none; }
.yt-script--animals { right: clamp(16px, 7vw, 120px); top: clamp(58px, 6vw, 96px); transform: rotate(-4deg); }
.yt-script--countries { left: clamp(16px, 26vw, 400px); top: clamp(40px, 4.4vw, 70px); transform: rotate(-3deg); }
.yt-script--latest { right: clamp(16px, 7vw, 120px); bottom: clamp(40px, 5vw, 80px); transform: rotate(-3deg); text-align: center; }
.yt-script--themes { left: clamp(16px, 34vw, 520px); top: clamp(52px, 5.4vw, 88px); transform: rotate(-3deg); }
.yt-script--about { left: clamp(16px, 5vw, 78px); bottom: clamp(30px, 4vw, 60px); transform: rotate(-5deg); color: var(--sage); }
.deco-ic--cam { position: absolute; right: clamp(16px, 7.5vw, 130px); bottom: clamp(120px, 12vw, 190px); width: clamp(34px, 3.4vw, 52px); height: auto; color: var(--green); opacity: .5; }
.yt-path { position: absolute; z-index: 0; width: clamp(180px, 22vw, 340px); height: auto; color: rgba(20, 85, 60, .3); pointer-events: none; }
.yt-path--countries { left: clamp(16px, 20vw, 300px); top: clamp(26px, 3vw, 46px); }
.yt-wave { position: relative; z-index: 1; height: clamp(120px, 15vw, 230px); margin-bottom: -2px; background: url('../img/decor-wave.webp') center bottom / cover no-repeat; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%); mask-image: linear-gradient(to bottom, transparent 0%, #000 42%); }

/* ===== ヘッダー: デスクトップはヒーロー通過後に出す ===== */
.site-header { background: rgba(247, 241, 231, .94); border-bottom-color: var(--line); }
.brand__logo { display: block; width: 196px; height: auto; }
.nav { font-family: var(--font-body); font-size: .92rem; letter-spacing: .06em; align-items: center; }
.nav a:hover, .nav a:focus-visible, .footer a:hover, .footer a:focus-visible { color: var(--green); }

/* 固定ヘッダー・ヒーロー共通の検索フォーム。丸い枠の中に入力欄と、右側に緑の虫眼鏡。
   ヒーロー側は .hero__nav .site-search でサイズだけ上書きする（下の方に定義）。 */
.site-search { position: relative; display: inline-flex; align-items: center; }
.site-search input[type="search"] {
  width: 160px;
  height: 38px;
  padding: 0 40px 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, .6);
  color: var(--ink, #222);
  font: inherit;
  font-size: .85rem;
  -webkit-appearance: none;
  appearance: none;
}
.site-search input[type="search"]::placeholder { color: #9a9f98; }
.site-search input[type="search"]:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(20, 85, 60, .25);
}
.site-search button {
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--green);
  cursor: pointer;
}
.site-search button svg { width: 18px; height: 18px; }
@media (min-width: 1041px) {
  .is-loaded .site-header, .site-header { transform: translateY(-110%); transition: transform .5s var(--ease-out-expo); }
  .is-loaded.is-past-hero .site-header { transform: none; }
}

/* ===== ルートAヒーロー(make_hero_bg.py の出力座標。承認済みFVの再現) ===== */
.hero--route-a { padding-top: 0; background: var(--paper); }
.hero--route-a .hero__stage { aspect-ratio: 1536 / 848; background: url('../img/fv-bg.jpg?v=2') center / 100% 100% no-repeat; container-type: inline-size; }
.hero--route-a .hero__art { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__animal { position: absolute; display: block; height: auto; will-change: transform; animation: 7s ease-in-out infinite; }
.hero__animal--turtle { left: calc(755 / 1536 * 100%); top: calc(255 / 848 * 100%); width: calc(205 / 1536 * 100%); animation-name: ytSwim; transform-origin: 50% 55%; }
.hero__animal--sloth { left: calc(670 / 1536 * 100%); top: calc(405 / 848 * 100%); width: calc(120 / 1536 * 100%); animation-name: ytSway; animation-duration: 6s; transform-origin: 47.5% 9.7%; animation-delay: -1.5s; }
.hero__animal--quetzal { left: calc(875 / 1536 * 100%); top: calc(418 / 848 * 100%); width: calc(75 / 1536 * 100%); animation-name: ytPerch; animation-duration: 4.8s; transform-origin: 64% 37%; }
.hero__animal--elephant { left: calc(1120 / 1536 * 100%); top: calc(285 / 848 * 100%); width: calc(145 / 1536 * 100%); animation-name: ytStroll; animation-duration: 8s; transform-origin: 48% 97%; animation-delay: -3s; }
@keyframes ytSwim { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(3%, 6%) rotate(3deg); } }
@keyframes ytSway { 0%, 100% { transform: rotate(3.5deg); } 50% { transform: rotate(-3.5deg); } }
@keyframes ytPerch { 0%, 100% { transform: rotate(0deg); } 30% { transform: rotate(-3.5deg); } 60% { transform: rotate(2.5deg); } }
@keyframes ytStroll { 0%, 100% { transform: translateX(0) rotate(0deg); } 50% { transform: translateX(-1.5%) rotate(-2deg); } }
.hero__logo { position: absolute; z-index: 3; left: 2.2%; top: 2.8%; width: 27.4%; height: 8.8%; display: flex; align-items: center; }
.hero__logo img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.hero__nav { position: absolute; z-index: 3; left: 45%; top: 4.0%; width: 47%; height: 4.2%; display: flex; align-items: center; justify-content: space-between; gap: 2.2cqw; font-family: var(--font-body); font-weight: 500; font-size: 1.24cqw; letter-spacing: .04em; color: #1b2a24; }
.hero__nav a { display: inline-flex; align-items: center; gap: .35em; min-height: 44px; }
.hero__nav a:hover, .hero__nav a:focus-visible { color: var(--green); }
.hero__nav svg { width: 1.25em; height: 1.25em; }
/* ヒーロー内の検索フォームは、他のナビ項目と同じcqw基準で小さく収める */
.hero__nav .site-search { flex: none; }
.hero__nav .site-search input[type="search"] {
  width: 10cqw;
  height: 2.8cqw;
  min-height: 32px;
  padding: 0 2.6cqw 0 1cqw;
  font-size: .92em;
  border-radius: 999px;
}
.hero__nav .site-search button { width: 1.8em; height: 1.8em; right: 2px; }
.hero__nav .site-search button svg { width: 1.1em; height: 1.1em; }
.hero--route-a .hero__copy { left: 4.0%; top: 28.8%; width: 29.9%; height: 20.5%; padding: 0; display: block; }
.hero--route-a h1 { font-family: var(--font-hero); margin: 0; font-size: 4.1cqw; font-weight: 700; line-height: 1.5; letter-spacing: 0; color: #0d3f2e; }
.hero--route-a .hero__lead { position: absolute; z-index: 2; left: 4.2%; top: 51.4%; width: 25.7%; height: 8.3%; margin: 0; font-size: 1.38cqw; line-height: 1.62; letter-spacing: .06em; color: #283630; }
.hero--route-a .hero__actions { position: absolute; z-index: 2; left: 4.4%; top: 62.0%; width: 24.3%; height: 17.6%; display: grid; grid-template-rows: 1fr 1fr; gap: .95cqw; }
.hero--route-a .btn { min-height: 0; height: 100%; padding: 0 3.2cqw; font-family: var(--font-body); font-weight: 500; font-size: 1.3cqw; letter-spacing: .12em; border-radius: 999px; border-width: .1cqw; }
.hero--route-a .btn svg.btn__icon { position: absolute; left: 2.1cqw; right: auto; width: 1.7cqw; height: 1.7cqw; }
.hero--route-a .btn svg.btn__arrow { right: 1.5cqw; width: 1.9cqw; }
.hero--route-a .hero__mobile-visual { display: none; }
.hero--route-a .scroll-cue { background: var(--paper); color: var(--green); font-size: 1rem; letter-spacing: .12em; }
.hero--route-a .scroll-cue__line { background: rgba(20, 85, 60, .35); }

/* ===== フッター(波でつながる深緑) ===== */
.footer { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px clamp(20px, 3vw, 48px); justify-items: start; text-align: left; background: var(--green-deep); padding-top: clamp(40px, 5vw, 70px); }
.footer__logo { width: 210px; height: auto; }
.footer__nav { justify-self: center; font-family: var(--font-body); font-size: .92rem; letter-spacing: .06em; }
.footer__sub { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-self: end; font-size: .84rem; color: rgba(255, 255, 255, .62); }
.footer__script { grid-column: 3; justify-self: end; margin: 0; font-family: var(--font-script); font-size: 1.3rem; line-height: 1.35; color: rgba(255, 253, 248, .7); text-align: right; }
.footer small { grid-column: 1 / -1; justify-self: center; color: rgba(255, 255, 255, .45); letter-spacing: .08em; }
.to-top { position: absolute; right: clamp(18px, 3vw, 46px); bottom: clamp(18px, 3vw, 40px); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--card); color: var(--green); box-shadow: 0 10px 22px rgba(0, 0, 0, .25); }
.to-top svg { width: 20px; height: 20px; }
.to-top:hover, .to-top:focus-visible { background: var(--sage); }
.sticky-cta { background: var(--green); border-radius: 999px; }

/* ===== レスポンシブ ===== */
@media (max-width: 1040px) {
  .hero--route-a { padding-top: 72px; }
  .hero--route-a .hero__stage { aspect-ratio: auto; background: none; display: flex; flex-direction: column; padding: 36px clamp(20px, 6vw, 56px) 8px; }
  .hero__logo, .hero__nav, .hero--route-a .hero__art { display: none; }
  .hero--route-a .hero__copy, .hero--route-a .hero__lead, .hero--route-a .hero__actions { position: static; width: auto; height: auto; }
  .hero--route-a h1 { font-size: clamp(2.2rem, 8.6vw, 3.6rem); line-height: 1.42; }
  .hero--route-a .hero__lead { margin-top: 18px; font-size: clamp(.98rem, 3.6vw, 1.15rem); line-height: 1.9; }
  .hero--route-a .hero__mobile-visual { display: block; order: 3; width: 100%; margin: 26px 0 8px; }
  .hero--route-a .hero__mobile-visual img { width: 100%; height: auto; aspect-ratio: 866 / 598; border-radius: 12px; }
  .hero--route-a .hero__actions { order: 4; grid-template-rows: none; gap: 12px; margin-top: 18px; max-width: 460px; }
  .hero--route-a .btn { height: auto; min-height: 56px; font-size: 1rem; border-width: 1px; padding: 0 56px; }
  .hero--route-a .btn svg.btn__icon { left: 18px; width: 22px; height: 22px; }
  .hero--route-a .btn svg.btn__arrow { right: 16px; width: 26px; }
  .polaroids, .dest-grid, .journal-grid, .tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .journey-grid { grid-template-columns: 1fr; }
  .stamp-square { position: static; justify-self: end; margin-top: 10px; }
  .yt-decor--hibiscus-left, .sec--animal .yt-decor--leaves-b { display: none; }
  .yt-path--countries, .deco-ic--cam { display: none; }
  .yt-script { font-size: clamp(1.1rem, 4vw, 1.5rem); }
  .footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__nav, .footer__sub, .footer__script { justify-self: center; }
  .footer__script { grid-column: 1; text-align: center; }
  .to-top { position: static; margin-top: 6px; }
}
@media (max-width: 620px) {
  .polaroids, .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .dest-grid, .tags { grid-template-columns: 1fr; }
  .journey-lists { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec__head { flex-direction: column; }
  .stamp-round { align-self: flex-end; }
  .yt-decor { opacity: .75; }
  .sec--animal .yt-decor--leaves-a { width: 112px; left: -30px; top: 2%; }
  .yt-decor--hibiscus-right { width: 74px; right: -12px; top: 10%; }
  .yt-script--animals, .yt-script--countries, .yt-script--themes { position: static; display: block; margin: 0 0 8px; transform: none; }
  .yt-script--latest, .yt-script--about { display: none; }
  .pola__place { font-size: .72rem; }
  .brand__logo { width: 164px; }
  .yt-atlas { aspect-ratio: 1.3 / 1; }
}

/* ===== Reduced-motion(reveal機構の扱いは型の責務。案件固有の動きだけ止める) ===== */
@media (prefers-reduced-motion: reduce) {
  .hero__ambient { display: none; }
  .hero__animal { animation: none; }
  .yt-pin { transition: opacity .6s ease; transform: none; }
}
