/* グレープラン 公式サイト（yorunopoint.com）
   色はアプリのプライバシーポリシーのページとそろえている */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f2ff;
  --card: #ffffff;
  --text: #21173a;
  --muted: #6b6385;
  --accent: #6a25c4;
  --head: #7a2fd8;
  --head-deep: #4b1597;
  --line: #e9e2f5;
  --on-head: #ffffff;
  --shadow: 0 10px 30px rgba(74, 21, 151, 0.12);
  --round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15101f;
    --bg-soft: #1d1530;
    --card: #221a36;
    --text: #efe9fa;
    --muted: #b5abca;
    --accent: #c4a2f5;
    --head: #5a1fae;
    --head-deep: #35106b;
    --line: #2f2645;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.8;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
/* 日本語の行がことばの途中で切れないように（対応していないブラウザはふつうに折り返す） */
h1, h2, .lead, .sub, .points li, .card p, footer p { text-wrap: pretty; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) .lead, :lang(ja) .sub, :lang(ja) .points li { word-break: auto-phrase; }
a { color: var(--accent); overflow-wrap: anywhere; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* 上のバー */
.bar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.lang { font-size: 14px; display: flex; gap: 10px; }
.lang a { color: var(--muted); text-decoration: none; }
.lang a[aria-current="page"] { color: var(--text); font-weight: 700; }

/* いちばん上 */
.hero {
  background: radial-gradient(120% 120% at 80% 0%, #9b5cf0 0%, var(--head) 45%, var(--head-deep) 100%);
  color: var(--on-head);
  overflow: hidden;
}
.hero .wrap { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 0; align-items: end; }
.hero-text { padding-bottom: 8px; }
.hero-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
.hero h1 { font-family: var(--round); font-weight: 800; font-size: 40px; line-height: 1.2; margin: 18px 0 6px; letter-spacing: 0.02em; }
.lead { font-family: var(--round); font-weight: 800; font-size: 24px; line-height: 1.5; margin: 0 0 10px; }
.hero p.sub { margin: 0 0 22px; opacity: 0.92; }
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ffffff; color: #4b1597;
  font-family: var(--round); font-weight: 800; font-size: 17px;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.cta:hover { transform: translateY(-1px); }
.cta.on-light { background: var(--head); color: #ffffff; }
.note { font-size: 13px; opacity: 0.85; margin-top: 10px; }
.hero-shot { justify-self: center; width: min(300px, 78vw); margin-bottom: -6px; }
.hero-shot img { border-radius: 28px 28px 0 0; box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.25); }

/* 機能 */
section { padding: 56px 0; }
section.soft { background: var(--bg-soft); }
.feature { display: grid; gap: 28px; align-items: center; }
.feature + .feature { margin-top: 64px; }
.shot { justify-self: center; width: min(270px, 72vw); }
.shot img { border-radius: 24px; box-shadow: var(--shadow); }
.shot.wide { width: min(380px, 88vw); }
.kicker { font-family: var(--round); font-weight: 800; color: var(--accent); font-size: 14px; letter-spacing: 0.08em; margin: 0 0 4px; }
h2 { font-family: var(--round); font-weight: 800; font-size: 28px; line-height: 1.4; margin: 0 0 12px; }
ul.points { margin: 0; padding-left: 1.2em; }
ul.points li { margin: 6px 0; }
.big-num { font-family: var(--round); font-weight: 800; color: var(--accent); }

.intro { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.intro .points { text-align: left; display: inline-block; max-width: 100%; }
.steps { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.steps li {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 6px; display: flex; flex-direction: column; align-items: center; font-weight: 700; font-size: 15px;
}
.steps .big-num { font-size: 26px; line-height: 1.2; }
:lang(en) .steps .big-num { font-size: clamp(17px, 4.8vw, 26px); white-space: nowrap; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 22px 20px; box-shadow: var(--shadow);
}
.road-foods { font-size: 34px; letter-spacing: 6px; margin: 0 0 8px; }

.center { text-align: center; }
.nw { white-space: nowrap; }
.last-cta { padding: 64px 0; }
.last-cta h2 { margin-bottom: 18px; }

/* 下 */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; }
footer a { color: var(--muted); }

@media (min-width: 820px) {
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; padding-top: 64px; }
  .hero h1 { font-size: 52px; }
  .lead { font-size: 30px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 48px; }
  .feature.flip .shot { order: 2; }
  h2 { font-size: 32px; }
}

/* AIO:css:start */
/* 「グレープランとは」・基本情報・よくある質問（2026-11-27・make_site_aio.py） */
.summary { max-width: 760px; margin: 0 auto; }
.summary h2 { text-align: center; }
.summary p { margin: 0; }
.facts { max-width: 760px; margin: 28px auto 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-weight: 700; font-size: 14px; padding-top: 2px; }
.facts dd { margin: 0; }
.faq { max-width: 760px; margin: 0 auto; }
.faq > h2 { text-align: center; margin-bottom: 18px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin: 10px 0; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 28px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--round); font-weight: 800; color: var(--accent); font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { display: inline; font-size: 16px; line-height: 1.6; margin: 0; }
.faq details p { margin: 0 0 16px; }
footer .updated { font-size: 13px; }
.summary p, .faq p, .faq h3, .facts dd { text-wrap: pretty; }
:lang(ja) .summary p, :lang(ja) .faq p, :lang(ja) .faq h3, :lang(ja) .facts dd { word-break: auto-phrase; }
@media (max-width: 520px) {
  .facts div { grid-template-columns: 1fr; gap: 0; }
}
/* AIO:css:end */
