/* TripLala / たびるん — 公式サイト（2026-10 作り直し）
   色はアプリ・ストア画像・Product Hunt と同じ深い緑に揃える。
   旧デザインの style.css はプライバシーポリシー等のページがまだ使っているので残してある。 */

:root {
  --forest: #14402A;
  --green: #1C5A38;
  --leaf: #2E7D4F;
  --mint: #9BE8B4;
  --mint-soft: #DFF5E6;
  --cream: #FFF6ED;
  --paper: #FBF7EF;
  --ink: #1E2A22;
  --muted: #5E6B62;
  --line: rgba(30, 42, 34, .12);
  --radius: 22px;
  --shell: 1180px;
  --display: "Bricolage Grotesque", "Zen Kaku Gothic New", "Hiragino Sans", system-ui, sans-serif;
  --body: "Instrument Sans", "Zen Kaku Gothic New", "Hiragino Sans", system-ui, sans-serif;
  color-scheme: light;
}
:lang(ja) {
  --display: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
:lang(ja) body { font-size: 16px; line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
.phone img { width: 100%; }
.shell > * { min-width: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px;
}
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: 24px; }
.eyebrow {
  font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--leaf);
}
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { line-height: 1.3; letter-spacing: 0; }
p { margin: 0; }

/* ── ヘッダー ── */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(20, 64, 42, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--cream);
}
.nav .shell { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: .85; }
.nav-links a:hover { opacity: 1; }
.lang { font-size: 14px; padding: 6px 12px; border: 1px solid rgba(255,246,237,.35); border-radius: 999px; text-decoration: none; }
.lang:hover { background: rgba(255,246,237,.1); }
@media (max-width: 760px) { .nav-links { display: none; } .lang { margin-left: auto; } }

/* ── ヒーロー（写真を全面に） ── */
.hero {
  position: relative; color: var(--cream); overflow: hidden;
  background: var(--forest) url("/assets/img/photo/wing-atoll.jpg") center 58% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(14,46,30,.92) 0%, rgba(14,46,30,.72) 42%, rgba(14,46,30,.15) 75%, rgba(14,46,30,0) 100%);
}
.hero .shell { position: relative; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 40px; align-items: center; padding-block: 88px 0; }
.hero-copy { padding-bottom: 96px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; }
.hero h1 span { color: var(--mint); }
.hero .lede { margin-top: 24px; font-size: clamp(18px, 1.6vw, 21px); max-width: 34em; color: rgba(255,246,237,.86); }
.hero .eyebrow { color: var(--mint); margin-bottom: 18px; }
.hero-phone { align-self: end; justify-self: center; width: min(340px, 80%); }
.phone {
  border-radius: 34px; overflow: hidden; background: #fff;
  border: 6px solid #0E1A13; box-shadow: 0 40px 90px rgba(0,0,0,.45);
}
.hero-phone .phone { border-bottom: 0; border-radius: 34px 34px 0 0; }
.hero-phone .phone img { aspect-ratio: 720 / 1180; object-fit: cover; object-position: top; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: rgba(255,246,237,.75); }
.facts b { color: var(--cream); }
@media (max-width: 900px) {
  .hero .shell { grid-template-columns: minmax(0,1fr); padding-top: 64px; }
  .hero-copy { padding-bottom: 32px; }
  .hero::before { background: linear-gradient(180deg, rgba(14,46,30,.9) 0%, rgba(14,46,30,.78) 55%, rgba(14,46,30,.55) 100%); }
}

/* ── ストアのボタン ── */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px;
  background: var(--cream); color: var(--forest); text-decoration: none; font-weight: 700; font-size: 16px;
  transition: transform .15s ease;
}
.store:hover { transform: translateY(-2px); }
.store small { display: block; font-size: 11px; font-weight: 600; opacity: .7; line-height: 1.1; }
.store span { line-height: 1.15; }
.store svg { width: 22px; height: 22px; flex: none; }
.stores--dark .store { background: var(--forest); color: var(--cream); }

/* ── バラバラだった ── */
.scatter { padding-block: 96px; background: var(--cream); }
.scatter h2 { font-size: clamp(30px, 4vw, 50px); max-width: 18em; }
.scatter h2 span { display: block; margin-top: .25em; color: var(--leaf); }
.scatter p { margin-top: 18px; max-width: 38em; color: var(--muted); font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1px dashed rgba(30,42,34,.3);
  color: var(--muted); font-size: 15px; text-decoration: line-through; text-decoration-color: rgba(30,42,34,.35);
}
.chips .arrow { font-size: 22px; color: var(--leaf); margin-inline: 6px; }
.chip--one { text-decoration: none; border: 0; background: var(--green); color: var(--cream); font-weight: 700; padding: 12px 22px; }

/* ── 機能（1つずつ大きく） ── */
.feature { padding-block: 104px; border-top: 1px solid var(--line); }
.feature .shell { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 72px; align-items: center; }
.feature.flip .shot { order: 2; }
.feature h2 { font-size: clamp(32px, 4vw, 50px); margin-top: 12px; }
.feature h2 span { color: var(--leaf); }
.feature .body { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 30em; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.points li { position: relative; padding-left: 30px; font-size: 16px; }
.points li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 6px;
  background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.shot { display: flex; justify-content: center; gap: 22px; }
.shot .phone { width: min(300px, 46%); }
.shot .phone:only-child { width: min(320px, 70%); }
.shot .phone + .phone { margin-top: 64px; }
.badge-new {
  display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--green); color: var(--cream);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; vertical-align: middle;
}
@media (max-width: 900px) {
  .feature { padding-block: 72px; }
  .feature .shell { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .feature.flip .shot { order: 0; }
  .shot .phone { width: min(260px, 47%); }
  .shot .phone:only-child { width: min(300px, 78%); }
}

/* ── ふたりの話 ── */
.story { background: var(--forest); color: var(--cream); padding-block: 112px; }
.story .shell { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 72px; align-items: center; }
.story figure { margin: 0; }
.story figure img { border-radius: var(--radius); box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.story figcaption { margin-top: 14px; font-size: 14px; color: rgba(255,246,237,.6); }
.story .eyebrow { color: var(--mint); }
.story h2 { font-size: clamp(32px, 4vw, 50px); margin-top: 12px; }
.story blockquote { margin: 28px 0 0; font-size: 19px; line-height: 1.75; color: rgba(255,246,237,.9); }
:lang(ja) .story blockquote { font-size: 17px; line-height: 1.95; }
.story blockquote p + p { margin-top: 1em; }
.story cite { display: block; margin-top: 20px; font-style: normal; font-size: 15px; color: var(--mint); }
@media (max-width: 900px) { .story .shell { grid-template-columns: minmax(0,1fr); gap: 40px; } .story figure { max-width: 420px; } }

/* ── そのほか ── */
.more { padding-block: 104px; }
.more h2 { font-size: clamp(30px, 3.6vw, 44px); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; margin-top: 44px; }
.grid3 h3 { font-size: 20px; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.grid3 p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }

/* ── FAQ ── */
.faq { padding-block: 96px; background: var(--cream); }
.faq h2 { font-size: clamp(30px, 3.6vw, 44px); }
.faq-list { margin-top: 36px; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 24px; color: var(--leaf); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 44em; }

/* ── ダウンロード ── */
.cta { padding-block: 112px; text-align: center; background: var(--paper); }
.cta h2 { font-size: clamp(34px, 4.6vw, 58px); }
.cta p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.cta .stores { justify-content: center; }

/* ── フッター ── */
.foot { background: var(--forest); color: rgba(255,246,237,.75); padding-block: 48px; font-size: 14px; }
.foot .shell { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--cream); }
.foot .copy { margin-left: auto; }
@media (max-width: 760px) { .foot .copy { margin-left: 0; width: 100%; } }

/* 日本語以外の人が日本語ページを開いたときの案内（JS で表示） */
.lang-hint { display: none; background: var(--mint-soft); color: var(--forest); text-align: center; font-size: 14px; padding: 10px 16px; }
.lang-hint.is-on { display: block; }
.lang-hint a { font-weight: 700; }
/* 「ひとつのアプリに。」が「に。」だけ次の行に落ちないように */
@media (max-width: 480px) { .hero h1:lang(ja) { font-size: 36px; } }
