/* 旅さき — トップ（index.php）。
   手本: anthropic.com（生成りの地・丸い札の上の帯・太い文に明朝を続ける見出し・
   大きな絵の面・発表のカード・黒い足もと）と openai.com（まん中の聞く欄・
   横に流れるカード・大きな余白）。
   動き: 見出しが1句ずつ出る／見本が再生される／読むと字に色が乗る／
   使いかたは左が止まり右が進む／カードは横に流れる／数が増える。 */
:root {
  --bg: #faf9f5;
  --bg-2: #f0eee6;
  --panel: #e8e6dc;
  --ink: #141413;
  --ink-2: #5e5d59;
  --ink-3: #87867f;
  --line: #dedbd0;
  --card: #ffffff;
  --clay: #c96442;
  /* 字に使う赤土色（背景との明るさの差を 4.5 以上に）。 */
  --clay-ink: #a9512f;
  --olive: #788c5d;
  --sky: #6a9bcc;
  --sand: #d4a27f;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141413; --bg-2: #1c1c1a; --panel: #232321; --ink: #f5f4ef; --ink-2: #b9b7ad;
    --ink-3: #8f8d85; --line: #34332f; --card: #1f1e1c; --clay-ink: #e08a69;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
/* 和文の改行。見出しは文節で折り（「だけ／で、」のような切れかたを防ぐ）、
   行の長さもそろえます。本文は最後の行が1字だけにならないようにします。
   対応していないブラウザでは、これまでどおり字の単位で折れます。 */
h1, h2, h3, .kicker, .stage-bar p, .pick-tag, .sub, .stat span, .faq summary, .news-card h3 { word-break: auto-phrase; }
/* 長い文（.scrub）は、狭い画面で文節折りにすると右がでこぼこになるので、広い画面だけにします。 */
@media (min-width: 861px) { .scrub { word-break: auto-phrase; } }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; padding: 8px 14px; background: var(--ink); color: var(--bg); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* 読んだ量の細い帯 */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 40; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--clay); transform-origin: 0 50%; transform: scaleX(0); }

/* --- 上の帯（Anthropic の丸い札） --- */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 16px var(--pad);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
  transition: padding .35s var(--ease), box-shadow .35s;
}
.nav.is-scrolled { padding-block: 10px; box-shadow: 0 1px 0 var(--line); }
.nav-l, .nav-r { display: flex; gap: 8px; }
.nav-r { justify-content: flex-end; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; }
.logo img { transition: transform .6s var(--ease); }
.logo:hover img { transform: rotate(-12deg) scale(1.08); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2);
  font-size: .86rem; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, transform .25s var(--ease), border-color .2s;
}
.pill:hover { background: var(--panel); transform: translateY(-1px); }
.pill-quiet { background: transparent; }
.pill-dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill-dark:hover { background: var(--ink); opacity: .88; }
.pill-light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.pill-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; font-weight: 600; }
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-l { display: none; }
  .nav-r .pill-quiet { display: none; }
}

/* --- 見出し --- */
.hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--pad) clamp(32px, 4vw, 48px); }
.kicker { display: flex; align-items: baseline; gap: 10px; margin: 0 0 22px; font-size: .9rem; color: var(--ink-2); }
.dot { flex: none; align-self: flex-start; margin-top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 0 color-mix(in srgb, var(--clay) 60%, transparent); animation: beat 2.4s infinite; }
@keyframes beat { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.headline { margin: 0; font-size: clamp(2rem, 4.6vw, 3.8rem); line-height: 1.3; letter-spacing: -.005em; font-weight: 400; max-width: 20em; }
.headline b { display: block; font-weight: 700; }
/* 続きの明朝は、1段小さく・少し薄くして、太い一文を先に読ませます。
   同じ大きさだと、携帯では見出しだけで画面が埋まっていました。 */
.headline .serif { display: block; max-width: 24em; margin-top: .5em; font-family: var(--serif); font-weight: 400; font-size: .56em; line-height: 1.6; color: var(--ink-2); }
.w { display: inline; }

/* --- 動く見本 --- */
.stage-wrap { max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 clamp(12px, 2vw, 32px); }
.stage {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0;
  min-height: clamp(520px, 62vw, 680px);
  border-radius: 20px; background: var(--panel);
}
.stage::before {
  content: ""; position: absolute; inset: -40%; z-index: 0; pointer-events: none;
  background: radial-gradient(40% 40% at 30% 30%, color-mix(in srgb, var(--sand) 45%, transparent), transparent 70%),
              radial-gradient(35% 35% at 75% 70%, color-mix(in srgb, var(--sky) 30%, transparent), transparent 70%);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(6%, -4%) rotate(8deg); } }
.stage > * { position: relative; z-index: 1; }
.stage-chat { padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; }
.s-user { display: flex; justify-content: flex-end; }
.s-bubble { margin: 0; max-width: 85%; padding: 12px 18px; border-radius: 20px; background: var(--card); box-shadow: 0 1px 2px rgba(0,0,0,.05); font-size: 1.02rem; min-height: 1.8em; }
.s-bubble.typing::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--ink); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.s-ai { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.s-mark { width: 26px; height: 26px; color: var(--clay); }
.s-ai.thinking .s-mark { animation: spin 2.4s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes spin { 50% { transform: rotate(180deg) scale(.72); opacity: .55; } 100% { transform: rotate(360deg); } }
.s-think { margin: 0; color: var(--ink-3); display: none; }
.s-ai.thinking .s-think { display: block; background: linear-gradient(90deg, var(--ink-3), var(--ink), var(--ink-3)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 1.8s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.s-lead { margin: 0 0 12px; font-weight: 600; }
.s-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.s-list li { display: grid; grid-template-columns: 3.4em 1fr auto; gap: 10px; align-items: baseline; padding: 7px 12px; border-radius: 10px; font-size: .95rem; }
.s-list li b { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-2); }
.s-list li small { color: var(--ink-3); }
.s-list li.k-spot { background: color-mix(in srgb, var(--card) 70%, transparent); }
.s-list li.k-move { color: var(--ink-3); font-size: .85rem; padding-block: 2px; }
.s-list li.k-meal span::before { content: "● "; color: var(--sand); }
.s-list li.is-now { outline: 1.5px solid var(--clay); }
.js .s-list li { opacity: 0; transform: translateY(8px); }
.js .s-list li.in { opacity: 1; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .s-lead { opacity: 0; }
.js .s-lead.in { opacity: 1; transition: opacity .4s; }
.stage-map { padding: clamp(16px, 3vw, 40px); display: flex; flex-direction: column; color: var(--ink); }
.stage-map svg { flex: 1; min-height: 280px; border-radius: 14px; background: color-mix(in srgb, var(--card) 55%, transparent); }
.contour { stroke: var(--ink-3); stroke-width: 1; opacity: .35; }
.route { stroke: var(--clay); stroke-width: 3; stroke-dasharray: 6 0; }
.stop circle { fill: var(--card); stroke: var(--ink); stroke-width: 2; }
.stop.on circle { fill: var(--clay); stroke: var(--clay); }
.stop .pulse { fill: none; stroke: var(--clay); stroke-width: 2; opacity: 0; }
.stop.on .pulse { animation: ping 1.6s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes ping { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.4); } }
.stop text { fill: var(--ink); stroke: none; font-size: 12px; font-family: var(--sans); paint-order: stroke; }
.map-note { margin: 10px 0 0; font-size: .78rem; color: var(--ink-2); text-align: right; }
.stage-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 4px 0; color: var(--ink-2); font-size: .9rem; }
.stage-bar p { margin: 0; }
.stage-ctl { display: flex; align-items: center; gap: 12px; }
.stage-dots { display: flex; gap: 6px; }
.stage-dots i { width: 22px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.stage-dots i.on::after { content: ""; display: block; height: 100%; background: var(--ink); animation: fill var(--dur, 12s) linear forwards; transform-origin: 0 50%; }
.stage-dots.paused i.on::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn:active { transform: scale(.94); }
.icon-btn .i-play { display: none; }
.icon-btn[aria-pressed="true"] .i-play { display: block; }
.icon-btn[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 860px) {
  .stage { grid-template-columns: 1fr; }
  .stage-map { padding-top: 0; }
  .stage-map svg { min-height: 220px; max-height: 300px; }
}

/* --- 聞く欄 --- */
.ask { max-width: 860px; margin: 0 auto; padding: clamp(96px, 14vw, 180px) var(--pad) clamp(40px, 6vw, 80px); text-align: center; }
.ask-title { margin: 0 0 32px; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.25; }
.ask-box {
  display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 26px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 50px rgba(20,20,19,.08);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.ask-box:focus-within { transform: translateY(-2px); box-shadow: 0 24px 64px rgba(20,20,19,.14); }
.ask-box input { flex: 1; min-width: 0; min-height: 48px; border: 0; outline: none; background: transparent; color: var(--ink); font: inherit; font-size: 1.1rem; }
.ask-box input::placeholder { color: var(--ink-3); opacity: 1; }
.send { flex: none; width: 48px; height: 48px; padding: 12px; border: 0; border-radius: 50%; background: var(--ink); color: var(--bg); cursor: pointer; transition: transform .25s var(--ease); }
.send:hover { transform: scale(1.06); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; color: var(--ink-2); transition: background-color .2s, color .2s, transform .25s var(--ease); }
.chip:hover { background: var(--bg-2); color: var(--ink); transform: translateY(-2px); }

/* --- 色が乗る文 --- */
.statement { max-width: var(--wrap); margin: 0 auto; padding: clamp(80px, 12vw, 160px) var(--pad); }
.scrub { margin: 0; max-width: 24em; font-family: var(--serif); font-size: clamp(1.45rem, 2.9vw, 2.4rem); line-height: 1.6; }
.js .scrub .c { color: var(--ink); opacity: .16; transition: opacity .25s linear; }
.js .scrub .c.lit { opacity: 1; }

/* --- 使いかた --- */
.how { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) clamp(80px, 10vw, 140px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.how-sticky { position: sticky; top: 96px; align-self: start; }
.eyebrow { margin: 0 0 14px; font-size: .82rem; letter-spacing: .12em; color: var(--ink-2); }
.title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.35; }
.sub { margin: 14px 0 0; max-width: 36em; color: var(--ink-2); }
.how-nav { list-style: none; display: flex; gap: 18px; margin: 28px 0; padding: 0; color: var(--ink-2); font-weight: 600; }
.how-nav li { position: relative; padding-bottom: 6px; transition: color .3s; }
.how-nav li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--clay); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.how-nav li.on { color: var(--ink); }
.how-nav li.on::after { transform: scaleX(1); }
.how-art { position: relative; height: 240px; border-radius: 18px; background: var(--panel); overflow: hidden; }
.art { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 32px; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.art.on { opacity: 1; transform: none; }
.a-line { display: block; height: 14px; width: 80%; border-radius: 8px; background: var(--card); animation: grow 2.6s var(--ease) infinite; transform-origin: 0 50%; }
.a-line.short { width: 50%; animation-delay: .3s; }
@keyframes grow { 0% { transform: scaleX(.1); } 60%, 100% { transform: scaleX(1); } }
.a-caret { width: 2px; height: 22px; background: var(--ink); animation: caret 1s steps(1) infinite; }
.art-2 { flex-direction: row; align-items: center; justify-content: center; gap: 0; }
.art-2 span { width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 2px solid var(--ink); position: relative; animation: hop 2.4s var(--ease) infinite; }
.art-2 span + span { margin-left: 46px; }
.art-2 span + span::before { content: ""; position: absolute; right: 100%; top: 50%; width: 48px; height: 2px; background: var(--clay); transform-origin: 0 50%; animation: grow 2.4s var(--ease) infinite; }
.art-2 span:nth-child(2) { animation-delay: .2s; } .art-2 span:nth-child(3) { animation-delay: .4s; } .art-2 span:nth-child(4) { animation-delay: .6s; } .art-2 span:nth-child(5) { animation-delay: .8s; }
@keyframes hop { 0%, 100% { transform: none; } 30% { transform: translateY(-8px); background: var(--clay); } }
.art-3 { align-items: flex-start; }
.a-chip { padding: 8px 16px; border-radius: 999px; background: var(--card); font-weight: 600; animation: float 3.2s ease-in-out infinite; }
.a-chip:nth-child(2) { margin-left: 18%; animation-delay: .5s; } .a-chip:nth-child(3) { margin-left: 8%; animation-delay: 1s; }
@keyframes float { 50% { transform: translateY(-6px); } }
.how-steps { display: flex; flex-direction: column; gap: 0; }
.step { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); opacity: .3; transition: opacity .5s var(--ease); }
.step.on { opacity: 1; }
.step .num { font-family: var(--serif); color: var(--clay-ink); font-size: 1.1rem; }
.step h3 { margin: 8px 0 12px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.step p { margin: 0; color: var(--ink-2); font-size: 1.05rem; max-width: 30em; }
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
  .how-sticky { position: static; }
  .how-art { height: 180px; }
  .step { min-height: auto; padding: 32px 0; opacity: 1; }
}

/* --- 今日のおすすめ（横に流れる） --- */
.today, .news, .principles, .faq { max-width: var(--wrap); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--pad); }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.row-ctl { display: flex; gap: 8px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 30%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
.rail::-webkit-scrollbar { display: none; }
@media (max-width: 760px) { .rail { grid-auto-columns: 82%; } }
.pick { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 18px; background: var(--bg-2); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.pick:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(20,20,19,.12); }
.pick-img { position: relative; aspect-ratio: 1200 / 630; background: var(--panel); overflow: hidden; }
.pick-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease);
  /* エリアの絵は青い地図なので、生成りの地に合わせて少しだけ色を寄せます。 */
  filter: sepia(.3) saturate(.75); }
@media (prefers-color-scheme: dark) { .pick-img img { filter: sepia(.3) saturate(.7) brightness(.72); } }
.pick:hover .pick-img img { transform: scale(1.06); }
.wx { position: absolute; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 90%, transparent); font-size: .85rem; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); }
.wx.in { opacity: 1; transform: none; }
.pick-body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.pick-pref { margin: 0; font-size: .8rem; color: var(--ink-2); }
.pick h3 { margin: 2px 0 4px; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; }
.pick-tag { margin: 0 0 16px; color: var(--ink-2); font-size: .95rem; flex: 1; }
.pick-rows a, .news-rows a { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: .95rem; }
.pick-rows a span:last-child, .news-rows a span:last-child { transition: transform .25s var(--ease); }
.pick-rows a:hover span:last-child, .news-rows a:hover span:last-child { transform: translateX(4px); }

/* --- 数 --- */
.stats { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-top: 1px solid var(--ink); padding-top: 18px; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* --- お知らせ --- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr; } .news-card { min-height: 0; } }
.news-card { display: flex; flex-direction: column; min-height: 280px; padding: 28px; border-radius: 18px; background: var(--bg-2); transition: transform .4s var(--ease), background-color .3s; }
.news-card:hover { transform: translateY(-4px); background: var(--panel); }
.meta { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: .85rem; color: var(--ink-2); }
.tag { padding: 2px 10px; border-radius: 999px; background: var(--panel); font-size: .78rem; color: var(--ink); }
.news-card h3 { margin: 0 0 20px; font-size: 1.2rem; line-height: 1.55; flex: 1; }
.news-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { display: grid; grid-template-columns: 6em auto 1fr; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.news-list time { color: var(--ink-2); }
@media (max-width: 640px) { .news-list li { grid-template-columns: auto 1fr; } .news-list li > span:last-child { grid-column: 1 / -1; } }
/* 札は字の幅だけ（携帯で1fr の列に入っても、横いっぱいに伸ばさない）。 */
.news-list .tag { justify-self: start; }

/* --- 考えかた（コードで描いた色面） --- */
.p-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 960px) { .p-grid { grid-template-columns: 1fr 1fr; } }
/* 携帯の1列では、正方形だと絵が画面いっぱいになるので横長にします。 */
@media (max-width: 560px) { .p-grid { grid-template-columns: 1fr; } .p-art { aspect-ratio: 16 / 10; } }
.p-card h3 { margin: 16px 0 6px; font-size: 1.12rem; }
.p-card p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.p-art { position: relative; aspect-ratio: 1 / 1; border-radius: 4px; overflow: hidden; }
.p-art i { position: absolute; display: block; }
.art-a { background: #e3dacc; }
.art-a i:nth-child(1) { inset: 12% 12% auto auto; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #141413; animation: turn 18s linear infinite; }
.art-a i:nth-child(1)::after { content: ""; position: absolute; left: 50%; top: 8%; width: 2px; height: 42%; background: #141413; transform-origin: 50% 100%; }
.art-a i:nth-child(2) { left: 0; bottom: 0; width: 55%; height: 45%; background: #c96442; animation: breathe 7s ease-in-out infinite; }
.art-a i:nth-child(3) { left: 8%; top: 10%; width: 30%; height: 2px; background: #141413; box-shadow: 0 14px 0 #141413, 0 28px 0 #141413; }
.art-b { background: #141413; }
.art-b i:nth-child(1) { left: 0; top: 0; width: 22%; height: 100%; background: #788c5d; }
.art-b i:nth-child(2) { right: 14%; top: 18%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #faf9f5 0 8%, transparent 9%), repeating-radial-gradient(circle, #faf9f5 0 2px, transparent 2px 12px); animation: turn 30s linear infinite reverse; opacity: .9; }
.art-b i:nth-child(3) { right: 0; bottom: 0; width: 40%; height: 20%; background: #d4a27f; animation: breathe 8s ease-in-out infinite; }
.art-c { background: #6a9bcc; }
.art-c i:nth-child(1) { inset: 0 auto auto 0; width: 50%; height: 50%; background: #bccad8; }
.art-c i:nth-child(2) { right: 0; bottom: 0; width: 50%; height: 50%; background: #e8e6dc; animation: slide 9s ease-in-out infinite; }
.art-c i:nth-child(3) { left: 38%; top: 38%; width: 24%; aspect-ratio: 1; border-radius: 50% 50% 50% 0; background: #c96442; transform: rotate(-45deg); animation: bob 3s ease-in-out infinite; }
.art-d { background: #faf9f5; border: 1px solid var(--line); }
.art-d i:nth-child(1) { left: 10%; top: 14%; width: 80%; height: 2px; background: #141413; box-shadow: 0 22px 0 #141413, 0 44px 0 #141413, 0 66px 0 #87867f; }
.art-d i:nth-child(2) { left: 10%; bottom: 14%; width: 40%; height: 30%; background: #f0eee6; border: 2px solid #141413; }
.art-d i:nth-child(3) { right: 12%; bottom: 18%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #c96442; animation: breathe 5s ease-in-out infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.06); } }
@keyframes slide { 50% { transform: translateX(-12%); } }
@keyframes bob { 50% { transform: rotate(-45deg) translate(4px, -4px); } }

/* --- 旅さきについて（説明と、都道府県のページへの一覧） --- */
.about-site { max-width: var(--wrap); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--pad); }
.about-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); }
.about-text p { margin: 0 0 18px; color: var(--ink-2); font-size: 1.02rem; line-height: 1.95; }
.about-text a { color: var(--ink); text-underline-offset: 3px; }
.pref-list { border-top: 1px solid var(--ink); }
.pref-row { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pref-row h3 { margin: 0; font-size: .95rem; }
.pref-row p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.pref-row a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--bg-2); text-decoration: none; font-size: .9rem; transition: background-color .2s, transform .25s var(--ease); }
.pref-row a:hover { background: var(--panel); transform: translateY(-2px); }
@media (max-width: 860px) {
  .about-cols { grid-template-columns: 1fr; }
  .pref-row { grid-template-columns: 1fr; gap: 8px; }
}

/* --- よくある質問 --- */
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; transition: transform .35s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0 0 24px; color: var(--ink-2); max-width: 44em; }

/* --- 終わりの誘い --- */
.cta { text-align: center; padding: clamp(96px, 14vw, 200px) var(--pad); background: var(--panel); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: -30%; background: conic-gradient(from 0deg at 50% 50%, transparent, color-mix(in srgb, var(--clay) 18%, transparent), transparent 40%); animation: turn 26s linear infinite; }
.cta > * { position: relative; }
.cta-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: 1.2; }
.cta p { margin: 40px 0 0; }
.cta .pill-light { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* --- 黒い足もと（Anthropic と同じ、開け閉めする列） --- */
.foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; padding: 72px var(--pad) 80px; background: #141413; color: #f5f4ef; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-brand span { font-size: 1.4rem; font-weight: 700; letter-spacing: .08em; }
.foot-brand img { filter: invert(1) grayscale(1) brightness(2); }
.foot-brand p { margin: auto 0 0; color: #a3a198; font-size: .85rem; }
.foot-acc details { border-top: 1px solid #3a3936; }
.foot-acc details:last-child { border-bottom: 1px solid #3a3936; }
.foot-acc summary { display: flex; justify-content: space-between; align-items: center; min-height: 54px; cursor: pointer; list-style: none; color: #c9c7bd; }
.foot-acc summary::-webkit-details-marker { display: none; }
.foot-acc summary::after { content: ""; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.foot-acc details[open] summary::after { transform: rotate(-135deg); }
.foot-acc ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; color: #a3a198; font-size: .92rem; }
.foot-acc a { text-decoration: none; }
.foot-acc a:hover { color: #f5f4ef; }
/* 広い画面では3列を開いたまま並べます（開け閉めは携帯だけ。landing.js が open を付けます）。 */
@media (min-width: 761px) {
  .foot-acc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .foot-acc details, .foot-acc details:last-child { border: 0; }
  .foot-acc summary { min-height: 0; margin-bottom: 16px; pointer-events: none; color: #f5f4ef; font-weight: 600; font-size: .92rem; }
  .foot-acc summary::after { display: none; }
}
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* --- 出る動き（JS が .reveal に .in を付けます） --- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .p-grid .reveal:nth-child(2), .js .news-grid .reveal:nth-child(2), .js .stats .reveal:nth-child(2) { transition-delay: .1s; }
.js .p-grid .reveal:nth-child(3), .js .news-grid .reveal:nth-child(3), .js .stats .reveal:nth-child(3) { transition-delay: .2s; }
.js .p-grid .reveal:nth-child(4), .js .stats .reveal:nth-child(4) { transition-delay: .3s; }
.js .headline .w { opacity: 0; filter: blur(6px); transform: translateY(.3em); display: inline-block; }
.js .headline .w.in { opacity: 1; filter: none; transform: none; transition: opacity .8s var(--ease), filter .8s var(--ease), transform .8s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .headline .w, .js .s-list li, .js .s-lead { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .scrub .c { opacity: 1 !important; }
  .step { opacity: 1 !important; }
}
