/* Ωカレンダー 公式サイト
   配色はアプリの src/theme/tokens.ts と同じ値を使う(色を直書きせず、ここの変数を使うこと)。
   accent(#6BA7F6)・paper(#A3BFE8)は装飾専用。文字や白文字の下地には使わない(アプリと同じ決まり)。
   立体感の決まり: 影は「操作できるもの」と「アプリの画面の再現」にだけ付ける。強さは3段階(--sh-1〜3)。
   動きの決まり: 表示は main.js が [data-reveal] に .is-in を付ける。prefers-reduced-motion では動かさない。 */

:root {
  --brand: #E6F3FD;
  --navy: #172A50;
  --navy-deep: #0F1B33;
  --accent: #6BA7F6;
  --paper: #A3BFE8;
  --primary: #2A63C6;
  --primary-dark: #1D4FA6;
  --ai: #C44C3E;
  --ai-tint: #FCEBE7;
  --organizer: #5B45B0;
  --organizer-tint: #EFEBFA;
  --success: #0F7A66;
  --success-tint: #DDF3EC;
  --background: #F5F9FD;
  --surface: #FFFFFF;
  --surface-alt: #EEF5FC;
  --text: var(--navy);
  --text-2: #4A5A78;
  --text-3: #5F6E86;
  --on-navy: #E9F0FA;
  --on-navy-2: #B9C6DB;
  --border: #D6E3F1;
  --separator: #E6EEF7;
  --st-unconfirmed-bg: #EDF1F7; --st-unconfirmed-fg: #4A5A73;
  --st-candidate-bg: #FFF2D4;   --st-candidate-fg: #7D5300;
  --st-confirmed-bg: #DDF3EC;   --st-confirmed-fg: #0B6353;

  --r-sm: 8px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  /* 影は3段階。1: 置いてあるだけ 2: 浮いている 3: 手前に出ている */
  --sh-1: 0 1px 2px rgba(23, 42, 80, .05), 0 4px 14px -6px rgba(23, 42, 80, .10);
  --sh-2: 0 2px 6px rgba(23, 42, 80, .05), 0 18px 36px -14px rgba(23, 42, 80, .22);
  --sh-3: 0 4px 10px rgba(23, 42, 80, .06), 0 36px 64px -24px rgba(23, 42, 80, .38);
  --shadow-screen: var(--sh-3);
  --shadow-float: var(--sh-2);
  --ease: cubic-bezier(.22, .8, .24, 1);

  /* 見出し: アイコンの丸みに合わせた丸ゴシック。本文: 読みやすさを優先したUDゴシック */
  --font-display: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", sans-serif;
  --font-body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;

  --wrap: 1160px;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-feature-settings: "palt";
  line-height: 1.4;
  margin: 0;
  text-wrap: balance;
  word-break: auto-phrase;
}
h1, h2 { font-weight: 900; letter-spacing: .01em; }
h3 { font-weight: 700; letter-spacing: .02em; }
p { margin: 0; line-break: strict; text-wrap: pretty; }
/* 文の途中で改行させたくないまとまり(見出しなど) */
.nw { display: inline-block; }
.nowrap { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}


/* ---------- ヘッダー(半透明。スクロールすると影が付く) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--separator);
  transition: box-shadow .35s var(--ease), background-color .35s;
}
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(23, 42, 80, .35); background: rgba(255, 255, 255, .92); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo img { width: 36px; height: 36px; border-radius: 9px; box-shadow: var(--sh-1); }
.logo span { font-family: var(--font-display); font-weight: 900; font-size: 19px; font-feature-settings: "palt"; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 700;
  padding: 8px 14px; border-radius: var(--r-pill); transition: background-color .25s, color .25s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary-dark); background: var(--brand); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; color: var(--navy); cursor: pointer; border-radius: 12px; align-items: center; justify-content: center; }
.menu-btn:hover { background: var(--brand); }
.menu-btn path { transition: transform .35s var(--ease), opacity .2s; transform-origin: 12px 12px; }
.site-header.open .menu-btn .l1 { transform: translateY(5px) rotate(45deg); }
.site-header.open .menu-btn .l2 { opacity: 0; }
.site-header.open .menu-btn .l3 { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 860px) {
  .site-header .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--sh-2);
    padding: 4px max(20px, env(safe-area-inset-left, 0px)) 14px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
  }
  .site-header.open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease); }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--separator); font-size: 15px; }
  .nav a:hover { background: transparent; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1.4;
  padding: 12px 26px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s, transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px -8px rgba(42, 99, 198, .7); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(29, 79, 166, .7); }
.btn-ghost { background: var(--surface); color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--sh-1); }
.btn-sm { min-height: 44px; padding: 8px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ストアのバッジ(公開のときに Apple・Google 公式のバッジ画像へ差し替える) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  min-height: 54px; padding: 9px 20px 9px 16px; border-radius: 12px; min-width: 172px; line-height: 1.2;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.store:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .7); }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 10px; opacity: .85; }
.store b { display: block; font-size: 18px; font-weight: 700; }
.store.soon { background: transparent; color: var(--text-3); border: 1.5px dashed var(--paper); cursor: default; }
.store.soon:hover { transform: none; box-shadow: none; color: var(--text-3); }
.store.soon b { font-size: 15px; }

/* ---------- セクション共通 ---------- */
.section { padding-block: 112px; }
.section + .section { border-top: 1px solid var(--separator); }
.section.tint { background: var(--brand); border-top: 0; }
.section.white { background: var(--surface); border-top: 0; }
.section.tint + .section, .section.white + .section { border-top: 0; }
.section-head { max-width: 680px; margin-bottom: 56px; display: grid; gap: 16px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--text-2); }
.section-head.split { max-width: none; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 56px; align-items: end; }
.label { font-size: 14px; font-weight: 700; color: var(--primary); letter-spacing: .04em; }

.chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700;
  padding: 2px 10px; border-radius: var(--r-pill); line-height: 1.7; white-space: nowrap;
}
.chip.unconfirmed { background: var(--st-unconfirmed-bg); color: var(--st-unconfirmed-fg); }
.chip.candidate { background: var(--st-candidate-bg); color: var(--st-candidate-fg); }
.chip.confirmed { background: var(--st-confirmed-bg); color: var(--st-confirmed-fg); }

.tag { display: inline-flex; font-size: 12px; font-weight: 700; border-radius: var(--r-pill); padding: 2px 12px; line-height: 1.8; }
.tag.ai { background: var(--ai-tint); color: var(--ai); }
.tag.org { background: var(--organizer-tint); color: var(--organizer); }
.tag.pri { background: var(--brand); color: var(--primary-dark); }
.tag.ok { background: var(--success-tint); color: var(--success); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; overflow: hidden; background: var(--brand); padding-block: 72px 112px; isolation: isolate; }
/* ぼかした光は2つだけ。アイコンの水色と白 */
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -120px; top: -160px; background: rgba(107, 167, 246, .35); }
.hero::after { width: 460px; height: 460px; left: -160px; bottom: -220px; background: rgba(255, 255, 255, .9); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--primary-dark); background: rgba(255, 255, 255, .7); border: 1px solid rgba(214, 227, 241, .9); padding: 4px 14px 4px 6px; border-radius: var(--r-pill); }
.eyebrow img { width: 22px; height: 22px; border-radius: 6px; }
.hero h1 { font-size: clamp(42px, 5.8vw, 76px); line-height: 1.22; }
.hero h1 .hl { color: var(--primary); }
.hero h1 .ul { position: relative; z-index: 0; }
.hero h1 .ul::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: .1em; height: .22em;
  background: rgba(107, 167, 246, .38); border-radius: 3px; transform: scaleX(0); transform-origin: left;
  animation: sweep .9s .7s var(--ease) forwards;
}
.hero .lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--text-2); max-width: 30em; line-height: 2; }
.hero-note { font-size: 13px; color: var(--text-3); }
.hero-note b { color: var(--navy); }

.hero-stage { position: relative; height: 600px; }
.hero-mark { position: absolute; z-index: 0; width: 460px; max-width: none; right: -40px; top: -40px; pointer-events: none; opacity: .9; }
.phone {
  position: absolute; z-index: 1; width: 250px; padding: 8px; border-radius: 40px;
  background: var(--navy-deep); box-shadow: var(--sh-3);
}
.phone img { width: 100%; border-radius: 32px; }
.phone.front { left: 40%; top: 10px; z-index: 2; }
.phone.back { left: 4%; top: 90px; transform: rotate(-5deg); }
.hero-status { position: absolute; z-index: 3; left: -4%; bottom: 10px; width: 260px; }
.hero-status .card {
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(214, 227, 241, .9); border-radius: 18px; padding: 14px 16px; box-shadow: var(--sh-2);
  animation: bob 6s 1.6s ease-in-out infinite alternate;
}
.hero-status .top { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 700; color: var(--text-3); }
.hero-status .top b { font-family: var(--font-display); font-size: 16px; color: var(--navy); }
.meter { height: 6px; border-radius: 6px; background: var(--st-unconfirmed-bg); margin: 8px 0 12px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 66.6%; background: var(--success); border-radius: 6px; transform-origin: left; animation: grow 1.1s 1.2s var(--ease) both; }
.hero-status .chips { display: flex; flex-wrap: wrap; gap: 5px; }
.hero-status .chip { font-size: 11px; padding: 1px 8px; }

/* 読み込んだときの登場(順番に) */
.hero-copy > * { animation: heroIn .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-mark { animation: fadeIn 1.4s .1s ease-out both; }
.phone.front { animation: heroIn 1s .25s var(--ease) both; }
.phone.back { animation: heroInTilt 1s .4s var(--ease) both; }
.hero-status { animation: heroIn 1s .7s var(--ease) both; }

/* ヒーローの下に重ねる、3つの要点 */
.points { position: relative; z-index: 3; margin-top: -56px; }
.points ul {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-2);
}
.points li { padding: 22px 28px; display: grid; gap: 2px; }
.points li + li { border-left: 1px solid var(--separator); }
.points small { font-size: 12px; font-weight: 700; color: var(--text-3); }
.points b { font-family: var(--font-display); font-size: 17px; line-height: 1.6; }

@media (max-width: 900px) {
  .hero { padding-block: 44px 104px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-stage { height: 500px; width: 100%; max-width: 460px; margin: 0 auto; }
  .hero-mark { width: 360px; right: -40px; top: -20px; }
  .phone { width: 210px; border-radius: 34px; padding: 7px; }
  .phone img { border-radius: 27px; }
  .phone.front { left: 42%; }
  .phone.back { left: 2%; top: 70px; }
  .hero-status { left: 0; bottom: 0; }
  .points ul { grid-template-columns: minmax(0, 1fr); }
  .points li + li { border-left: 0; border-top: 1px solid var(--separator); }
  .points li { padding: 16px 22px; }
}
@media (max-width: 480px) {
  .hero-stage { height: 410px; }
  .hero-mark { width: 290px; right: -60px; }
  .phone { width: 168px; border-radius: 28px; padding: 6px; }
  .phone img { border-radius: 22px; }
  .phone.front { left: 40%; top: 0; }
  .phone.back { left: 0; top: 56px; }
  .hero-status { width: 220px; }
}

/* ---------- 決まらないチャット と 決定状況 ---------- */
/* 左(いつものチャット)は平らに、右(Ωカレンダー)は手前に浮かせて、違いを奥行きで見せる */
.vs { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1.08fr); align-items: start; }
.vs-arrow { display: flex; justify-content: center; align-self: center; color: var(--accent); }
.vs-arrow svg { width: 34px; height: 34px; }
.panel { display: grid; gap: 14px; min-width: 0; }
.panel-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.panel-title small { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--text-3); }
.chat-mock {
  background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px; display: grid; gap: 10px; font-size: 14px; line-height: 1.6;
}
.msg { display: grid; gap: 2px; justify-items: start; max-width: 82%; }
.msg b { font-size: 11px; color: var(--text-3); font-weight: 700; padding-left: 4px; }
.msg span { background: var(--surface); border: 1px solid var(--border); border-radius: 4px 16px 16px 16px; padding: 8px 12px; }
.msg.me { justify-self: end; justify-items: end; }
.msg.me span { background: var(--primary); color: #fff; border-color: var(--primary); border-radius: 16px 4px 16px 16px; }
.msg.stuck span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chat-day { justify-self: center; font-size: 11px; color: var(--text-3); background: var(--surface); border-radius: var(--r-pill); padding: 2px 12px; }

.status-mock { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); }
.status-head { padding: 16px 20px 14px; border-bottom: 1px solid var(--separator); display: grid; gap: 10px; }
.status-head p { font-size: 13px; font-weight: 700; color: var(--text-2); }
.six { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
/* 項目名の下にステータスを置き、6つとも同じ位置にそろえる */
.six div { background: var(--background); border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 700; display: grid; gap: 6px; justify-items: start; align-content: start; }
.six .chip { font-size: 11px; padding: 0 8px; }
.ai-answer { padding: 16px 20px 22px; display: grid; gap: 10px; font-size: 14px; line-height: 1.7; }
.ai-name { color: var(--ai); font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ai-name svg { width: 14px; height: 14px; }
.ai-card { background: var(--ai-tint); border-radius: var(--r-md); padding: 16px 18px; display: grid; gap: 12px; }
.ai-card dl { margin: 0; display: grid; gap: 10px; }
.ai-card dt { font-size: 12px; font-weight: 700; color: var(--ai); }
.ai-card dd { margin: 0; }
.ai-card .btn { justify-self: start; min-height: 40px; padding: 7px 16px; font-size: 13px; background: var(--surface); color: var(--ai); border-color: var(--ai); box-shadow: none; }
.compare-note { margin-top: 32px; font-size: 13px; color: var(--text-3); }

@media (max-width: 900px) {
  .vs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .vs-arrow svg { transform: rotate(90deg); }
}

/* ---------- 画面のギャラリー(宣伝画像) ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.gallery figure { margin: 0; display: grid; gap: 14px; align-content: start; }
.gallery .shot { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--sh-1); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.gallery figure:hover .shot { transform: translateY(-6px); box-shadow: var(--sh-3); }
.gallery img { width: 100%; }
.gallery figcaption { font-size: 14px; font-weight: 700; line-height: 1.6; }
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(300px, 74%);
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 20px; margin-inline: -4px;
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  }
  .gallery figure { scroll-snap-align: start; }
}

/* ---------- できること(大きさを変えたカードの組み合わせ) ---------- */
.bento {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "ai ai trip" "status cal cal" "status done money";
}
.cell {
  position: relative; overflow: hidden; min-width: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; display: grid; gap: 10px; align-content: start;
  box-shadow: var(--sh-1); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.cell:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #C3D5EA; }
.cell .tag { justify-self: start; }
.cell-ai .tag, .cell-status .tag { background: var(--surface); }
.cell h3 { font-size: 21px; line-height: 1.5; }
.cell p { color: var(--text-2); font-size: 15px; }
.cell-ai { grid-area: ai; background: var(--ai-tint); border-color: #F2D6D0; grid-template-columns: minmax(0, 1fr) 210px; gap: 10px 28px; padding-bottom: 0; }
.cell-ai .txt { display: grid; gap: 10px; align-content: start; padding-bottom: 28px; }
.cell-ai .peek { align-self: end; padding: 7px 7px 0; background: var(--navy-deep); border-radius: 30px 30px 0 0; box-shadow: var(--sh-2); }
.cell-ai .peek img { border-radius: 24px 24px 0 0; aspect-ratio: 640 / 760; object-fit: cover; object-position: top; }
.cell-trip { grid-area: trip; }
.cell-status { grid-area: status; background: var(--organizer-tint); border-color: #DDD5F3; }
.cell-cal { grid-area: cal; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 28px; align-items: center; }
.cell-cal .txt { display: grid; gap: 10px; }
.cell-done { grid-area: done; }
.cell-money { grid-area: money; }
.status-list { list-style: none; margin: 10px 0 0; padding: 14px; display: grid; gap: 8px; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--sh-1); }
.status-list li { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; }
/* 1週間の空き時間の例。斜線=誰かに予定がある、緑=全員が空いている */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; font-size: 12px; font-weight: 700; color: var(--text-3); }
.week i { display: block; height: 64px; border-radius: 10px; margin-top: 6px; background: repeating-linear-gradient(135deg, var(--st-unconfirmed-bg) 0 6px, #E2E8F1 6px 12px); }
.week i.free { background: var(--success-tint); outline: 2px solid var(--success); outline-offset: -2px; }
.week-note { grid-column: 1 / -1; margin-top: 8px; font-size: 12px; font-weight: 400; color: var(--text-3); text-align: left; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "ai ai" "trip status" "cal cal" "done money"; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ai" "trip" "status" "cal" "done" "money"; }
  .cell { padding: 24px 22px; }
  .cell-ai { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .cell-ai .txt { padding-bottom: 0; }
  .cell-ai .peek { width: 200px; justify-self: center; }
  .cell-cal { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 使い方(順番に意味があるので番号を付ける) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: grid; gap: 12px; align-content: start; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-weight: 900; font-size: 17px;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; box-shadow: 0 0 0 6px var(--brand), var(--sh-2);
  position: relative; z-index: 1;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 64px; right: -28px; height: 2px; background: repeating-linear-gradient(90deg, var(--paper) 0 8px, transparent 8px 14px); }
.steps h3 { font-size: 21px; }
.steps p { color: var(--text-2); font-size: 15px; }
.steps .chip { justify-self: start; }
@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .steps li { padding-left: 64px; }
  .steps li::before { position: absolute; left: 0; top: 0; }
  .steps li:not(:last-child)::after { left: 21px; top: 52px; bottom: -32px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--paper) 0 8px, transparent 8px 14px); }
}

/* ---------- データの扱い(紺の面) ---------- */
.trust { background: var(--navy); color: var(--on-navy); border-radius: var(--r-xl); padding: 72px 64px; box-shadow: var(--sh-3); position: relative; overflow: hidden; }
.trust h2 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); }
.trust .sub { color: var(--on-navy-2); margin-top: 12px; max-width: 36em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 44px 0 0; }
.facts div { padding-block: 22px; border-top: 1px solid rgba(233, 240, 250, .2); display: grid; gap: 6px; }
.facts dt { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; }
.facts dd { margin: 0; color: var(--on-navy-2); font-size: 15px; }
.facts-link { margin-top: 28px; font-size: 14px; color: var(--on-navy-2); }
.facts-link a { color: #fff; }
.facts-link a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .trust { padding: 48px 24px; border-radius: var(--r-lg); }
  .facts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 料金の概要(トップ) ---------- */
.mini-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mini-plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px 22px;
  display: grid; gap: 8px; align-content: start; box-shadow: var(--sh-1);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.mini-plan:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #C3D5EA; }
.mini-plan dt { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.mini-plan dd { margin: 0; color: var(--text-2); font-size: 14px; }
.mini-plan .yen { font-family: var(--font-display); font-weight: 900; font-size: 34px; line-height: 1.2; color: var(--navy); font-variant-numeric: tabular-nums; order: -1; }
.mini-plan .yen small { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--text-3); margin-left: 3px; }
.mini-plans-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 28px; }
.mini-plans-foot .plans-note { margin: 0; max-width: 46em; }
@media (max-width: 960px) { .mini-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .mini-plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 料金ページ ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 22px;
  display: flex; flex-direction: column; position: relative; box-shadow: var(--sh-1);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.plan.featured { border: 2px solid var(--primary); box-shadow: var(--sh-2); }
.plan .badge { position: absolute; top: -12px; left: 20px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: var(--r-pill); }
.plan h3 { font-size: 20px; }
.plan .desc { color: var(--text-3); font-size: 13px; margin-top: 2px; line-height: 1.6; min-height: 3.2em; }
.price { margin: 16px 0 2px; font-family: var(--font-display); font-weight: 900; color: var(--navy); font-variant-numeric: tabular-nums; }
.price b { font-size: 34px; font-weight: 900; }
.price span { font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--text-2); margin-left: 3px; }
.price-app { font-size: 12px; color: var(--text-3); line-height: 1.7; }
.save { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--success); }
.plan ul { list-style: none; margin: 18px 0 22px; padding: 16px 0 0; border-top: 1px solid var(--separator); display: grid; gap: 6px; font-size: 14px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 8px; }
.plan li::before { content: "・"; color: var(--primary); font-weight: 700; }
.plan li.muted { color: var(--text-3); }
.plans-note { margin-top: 24px; font-size: 13px; color: var(--text-3); line-height: 1.9; }
@media (max-width: 960px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
@media (max-width: 560px) { .plans { grid-template-columns: minmax(0, 1fr); } }

.compare { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 14px; font-variant-numeric: tabular-nums; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--separator); }
.compare thead th { font-family: var(--font-display); font-size: 15px; border-bottom: 2px solid var(--navy); background: var(--surface); }
.compare tbody th { text-align: left; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.compare tbody tr { transition: background-color .2s; }
.compare tbody tr:hover { background: var(--background); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); box-shadow: var(--sh-1); }
.table-scroll .compare { min-width: 640px; }

.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.path { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 2px solid var(--navy); }
.path h3 { font-size: 20px; }
.path ol { margin: 0; padding-left: 1.3em; color: var(--text-2); font-size: 15px; }
.path p { color: var(--text-2); font-size: 15px; }
.path .tag { justify-self: start; }
.stripe-mark { display: flex; align-items: flex-start; gap: 6px; font-size: 13px !important; color: var(--text-3) !important; }
.stripe-mark svg { width: 16px; height: 16px; flex: none; margin-top: 4px; }
@media (max-width: 760px) { .paths { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* ---------- よくある質問 ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.faq-layout .section-head { margin: 0; }
.faq { max-width: 820px; display: grid; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 52px 22px 4px; font-weight: 700; position: relative;
  border-radius: var(--r-sm); transition: color .25s;
}
.faq summary:hover { color: var(--primary-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 14px; height: 2px; border-radius: 2px;
  background: var(--primary); transition: transform .45s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .answer { padding: 0 52px 24px 4px; color: var(--text-2); font-size: 15px; }
/* 開くときに高さをなめらかに変える(対応しているブラウザだけ) */
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq-cat { font-size: 20px; margin: 56px 0 16px; }
.faq-cat:first-of-type { margin-top: 0; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 最後の行動ボタン ---------- */
.cta-band { background: var(--navy); color: #fff; padding-block: 96px; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: rgba(107, 167, 246, .22); filter: blur(70px); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta-band .cta-copy { display: flex; align-items: center; gap: 24px; }
.cta-band .cta-copy img { width: 80px; height: 80px; border-radius: 20px; box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .6); flex: none; }
.cta-band h2 { font-size: clamp(24px, 3.2vw, 36px); }
.cta-band p { color: #C9D6EB; margin-top: 8px; }
.cta-band .store { background: #fff; color: #000; }
.cta-band .store:hover { color: #000; }
.cta-band .store.soon { background: transparent; color: #C9D6EB; border-color: rgba(255, 255, 255, .35); }
@media (max-width: 560px) {
  .cta-band .cta-copy { flex-direction: column; align-items: flex-start; }
  .cta-band .cta-copy img { width: 64px; height: 64px; border-radius: 16px; }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--separator); padding-block: 56px 28px; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 32px; }
.site-footer .tagline { color: var(--text-3); margin-top: 12px; font-size: 13px; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 24px; }
.footer-links h4 { font-size: 13px; color: var(--text-3); margin: 0 0 6px; font-weight: 700; }
.footer-links a { display: block; color: var(--text-2); text-decoration: none; padding: 4px 0; transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.copyright { grid-column: 1 / -1; border-top: 1px solid var(--separator); padding-top: 20px; color: var(--text-3); font-size: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 下層ページ ---------- */
.page-hero { background: var(--brand); padding-block: 56px 44px; }
.page-hero .wrap { display: grid; gap: 10px; }
.page-hero h1 { font-size: clamp(28px, 4.4vw, 44px); }
.page-hero p { color: var(--text-2); }
.breadcrumb { font-size: 13px; color: var(--text-3); }
.breadcrumb a { color: var(--text-3); }

.doc { padding-block: 56px 96px; }
.doc .wrap { max-width: 820px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--text-3); margin-bottom: 28px; }
.toc { border-top: 2px solid var(--navy); border-bottom: 1px solid var(--border); padding-block: 18px; margin-bottom: 40px; }
.toc b { font-size: 14px; }
.toc ol { margin: 8px 0 0; padding-left: 1.6em; columns: 2; column-gap: 32px; font-size: 14px; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--primary); text-decoration: underline; }
.doc h2 { font-size: 21px; font-weight: 700; margin: 48px 0 14px; scroll-margin-top: 84px; }
.doc h3 { font-size: 17px; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 15px; line-height: 1.95; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 1.4em; }
.doc .lead { color: var(--text-2); }
.legal-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); font-size: 14px; }
.legal-table th, .legal-table td { padding: 14px 18px; border-bottom: 1px solid var(--separator); text-align: left; vertical-align: top; line-height: 1.85; }
.legal-table th { width: 30%; background: var(--surface-alt); font-weight: 700; }
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: 0; }
.legal-table.grid th { width: auto; }
.legal-table.grid td:first-child { font-weight: 700; white-space: nowrap; }
.contact-box { margin-top: 48px; padding-top: 20px; border-top: 2px solid var(--navy); display: grid; gap: 4px; }
.notice { background: var(--st-candidate-bg); color: var(--st-candidate-fg); border-radius: var(--r-sm); padding: 12px 16px; font-size: 13px; margin-bottom: 28px; line-height: 1.8; }

.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 64px; }
.support-card {
  border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-lg); padding: 22px 24px;
  text-decoration: none; color: var(--navy); display: grid; gap: 6px; box-shadow: var(--sh-1);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.support-card:hover { border-color: var(--primary); color: var(--navy); transform: translateY(-4px); box-shadow: var(--sh-2); }
.support-card h3 { font-size: 17px; }
.support-card p { font-size: 14px; color: var(--text-2); }
.support-card .tag { justify-self: start; }

@media (max-width: 760px) {
  .section { padding-block: 80px; }
  .section-head { margin-bottom: 40px; }
  .section-head.split { grid-template-columns: minmax(0, 1fr); }
  .support-grid { grid-template-columns: minmax(0, 1fr); }
  .toc ol { columns: 1; }
  .legal-table:not(.grid) th, .legal-table:not(.grid) td { display: block; width: 100%; }
  .legal-table:not(.grid) th { border-bottom: 0; padding-bottom: 6px; }
  .legal-table:not(.grid) td { padding-top: 6px; }
  .cta-band { padding-block: 72px; }
}

/* ---------- ダイアログ(近日公開・準備中のお知らせ) ---------- */
.dialog { border: 0; border-radius: var(--r-lg); padding: 28px; max-width: 440px; width: calc(100% - 32px); box-shadow: var(--sh-3); color: var(--navy); }
.dialog[open] { animation: dialogIn .35s var(--ease); }
.dialog::backdrop { background: rgba(23, 42, 80, .35); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.dialog h3 { font-size: 19px; margin-bottom: 10px; }
.dialog p, .dialog ol { color: var(--text-2); font-size: 14px; }
.dialog ol { padding-left: 1.3em; }
.dialog .actions { display: flex; justify-content: flex-end; margin-top: 20px; }

/* ---------- 動き ---------- */
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes heroInTilt { from { opacity: 0; transform: translateY(28px) rotate(-5deg); } to { opacity: 1; transform: rotate(-5deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: .9; } }
@keyframes sweep { to { transform: scaleX(1); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* スクロールで現れる(main.js が html に .js、要素に .is-in を付ける) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* 現れ終わると main.js が data-reveal を外し、各部品のホバーの動きに戻る */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .ul::after, .meter i { transform: none; }
}
