/* 阿蘇ドローン手形（個人向け） */
:root {
  /* 案A「やわらかい草原」（2026-10-29 Yuki決定） */
  --ink: #3f4d46;
  --ink-dark: #33403a;
  --muted: #667469;
  --line: #e8e2d3;
  --bg: #fbf7ee;
  --tint: #eef2e3;
  --accent: #5f9663;
  --accent-dark: #3f7447;
  --accent-band: #4f8a56;
  --sky: #dcedf1;
  --sky-ink: #2f6477;
  --sun: #f2b074;
  --warn: #b4532a;
  --radius: 24px;
  --shadow: 0 6px 22px rgba(80,100,80,.12);
  --max: 1040px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 18px;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3 { line-height: 1.5; margin: 0; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 28px; border-radius: 999px;
  font-family: "Open Sans", "Noto Sans JP", sans-serif; font-weight: 600;
  text-decoration: none; letter-spacing: .04em;
  transition: background .15s, transform .15s;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: #fff; color: var(--ink); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn-primary:hover { background: #f1f4f6; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-dark); }
.btn-sm { padding: 8px 20px; font-size: 13px; background: var(--ink); color: #fff; }
.btn-sm:hover { background: var(--ink-dark); }
.btn-lg { padding: 20px 40px; font-size: 17px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { width: min(var(--max), 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-weight: 900; font-size: 17px; color: var(--ink); text-decoration: none; white-space: nowrap; letter-spacing: .08em; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-size: 13px; letter-spacing: .08em; text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(86vh, 720px); display: grid; align-items: end; color: #fff; overflow: hidden;
  background: linear-gradient(160deg, #5f8f6a 0%, #3e6b52 45%, #273544 100%);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,28,38,.1) 0%, rgba(20,28,38,.3) 45%, rgba(20,28,38,.78) 100%); }
.hero-inner { position: relative; z-index: 1; width: min(var(--max), 100% - 32px); margin-inline: auto; padding: 0 0 64px; }
.hero-tag { margin: 0 0 14px; font-size: 15px; font-weight: 700; letter-spacing: .12em; }
.hero h1 { font-size: clamp(28px, 4.6vw, 50px); font-weight: 900; letter-spacing: .06em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero-lead { max-width: 620px; margin: 10px 0 26px; opacity: .95; }
.hero-note { margin: 14px 0 0; font-size: 15px; opacity: .9; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.sec-label { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; }
.sec-jp { font-weight: 700; font-size: 15px; letter-spacing: .12em; color: var(--accent-dark); }
.sec-en { font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.section h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 900; letter-spacing: .08em; margin-bottom: 20px; }
.lead { max-width: 720px; color: #4a5663; }

/* 写真（未差し替えの枠） */
.ph {
  display: grid; place-items: center; text-align: center; padding: 16px;
  min-height: 200px; border: 2px dashed #b9c4be; border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #eef3f0, #eef3f0 12px, #e6ede9 12px, #e6ede9 24px);
  color: #6c7a73; font-size: 13px;
}
.photo { border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-tint .card { border-color: transparent; box-shadow: 0 2px 12px rgba(39,53,68,.06); }
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card .num { font-family: "Oswald", sans-serif; font-size: 13px; letter-spacing: .2em; color: var(--accent-dark); display: block; margin-bottom: 6px; }
.card p:last-child { margin-bottom: 0; }
.area .ph { margin-bottom: 18px; min-height: 220px; }
.area .photo { margin-bottom: 18px; aspect-ratio: 3 / 2; }
.area .badge { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .1em; background: var(--ink); color: #fff; padding: 2px 12px; border-radius: 999px; margin-bottom: 10px; }
.area dl { margin: 14px 0 0; display: grid; grid-template-columns: 6.5em 1fr; gap: 6px 12px; font-size: 16px; }
.area dt { color: var(--muted); }
.area dd { margin: 0; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; }
table.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; font-size: 17px; }
table.spec th, table.spec td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.spec thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }
table.spec tbody th { width: 9em; background: #f7f9f8; font-weight: 700; white-space: nowrap; }
.note { font-size: 16px; color: var(--muted); }
.list-plain { margin: 14px 0 0; padding-left: 1.2em; }
.list-plain li { margin-bottom: 6px; }

/* ---------- flow ---------- */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px 20px 76px; counter-increment: step; }
.section-tint .steps li { border-color: transparent; box-shadow: 0 2px 12px rgba(39,53,68,.06); }
.steps li::before { content: counter(step); position: absolute; left: 22px; top: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: "Oswald", sans-serif; font-size: 18px; }
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: #4a5663; font-size: 17px; }
.callout { margin-top: 24px; padding: 18px 22px; border-left: 4px solid var(--accent); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
.callout.warn { border-left-color: var(--warn); }
.callout p:last-child { margin-bottom: 0; }

/* ---------- price ---------- */
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 8px; }
.price strong { font-family: "Oswald", "Noto Sans JP", sans-serif; font-size: clamp(40px, 6vw, 56px); font-weight: 500; letter-spacing: .02em; }
.price span { color: #4a5663; }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 34px; position: relative; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; top: 15px; font-family: "Oswald", sans-serif; font-size: 20px; color: var(--accent-dark); }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 12px; font-size: 24px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px 34px; color: #4a5663; }

/* ---------- final cta ---------- */
.final-cta { position: relative; color: #fff; text-align: center; padding: 96px 0; background: linear-gradient(160deg, #3e6b52 0%, #273544 100%); overflow: hidden; }
.final-cta .sec-jp { color: #cfe3d4; }
.final-cta .sec-en { color: #b8c6bd; }
.final-cta .sec-label { justify-content: center; }
.final-cta h2 { margin-bottom: 14px; }
.final-cta p { max-width: 640px; margin-inline: auto; }
.final-cta .btn { margin-top: 12px; }
.final-cta-sub { margin-top: 22px; font-size: 16px; }
.final-cta-sub a { color: #fff; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-dark); color: #c9d2da; padding: 56px 0 40px; font-size: 16px; }
.site-footer a { color: #fff; }
.footer-logo { font-weight: 900; font-size: 19px; color: #fff; letter-spacing: .08em; }
.series { margin: 24px 0; padding: 18px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); }
.series-title { margin: 0 0 8px; font-weight: 700; color: #fff; }
.series-title .dfp { display: block; font-family: "Oswald", sans-serif; font-size: 11px; letter-spacing: .2em; opacity: .7; }
.series ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.series li span { margin-left: 8px; font-size: 14px; opacity: .75; }
.series .current { color: #fff; font-weight: 700; margin-left: 0; font-size: inherit; opacity: 1; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin: 0 0 18px; }
.tm, .copy { font-size: 14px; opacity: .75; margin-bottom: 6px; }

/* ---------- 規約・特商法などの本文ページ ---------- */
.plain { padding: 56px 0 96px; }
.plain h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin-bottom: 8px; letter-spacing: .06em; }
.plain h2 { font-size: 21px; margin: 36px 0 8px; padding-left: 12px; border-left: 4px solid var(--accent); }
.plain ol, .plain ul { padding-left: 1.4em; }
.plain li { margin-bottom: 4px; }
.plain .meta { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.back { display: inline-block; margin-bottom: 20px; font-size: 16px; }
.plain table.spec tbody th { width: 11em; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .section { padding: 64px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .area dl { grid-template-columns: 5.5em 1fr; }
  table.spec tbody th { white-space: normal; width: 7.5em; }
  .steps li { padding: 18px 18px 18px 68px; }
  .btn-lg { padding: 18px 28px; font-size: 16px; }
}

/* 特商法などの表：文字を大きくしたぶん右の列が狭くなるので、スマホでは縦に並べる */
@media (max-width: 640px) {
  .plain table.spec, .plain table.spec tbody, .plain table.spec tr, .plain table.spec tbody th, .plain table.spec td { display: block; width: 100%; }
  .plain table.spec tr { border-bottom: 8px solid var(--tint); }
  .plain table.spec tbody th { border-bottom: 0; padding: 12px 16px 2px; background: #f7f9f8; }
  .plain table.spec td { border-bottom: 0; padding: 6px 16px 14px; }
}

/* 現地条件の表：スマホでは縦に並べる */
@media (max-width: 640px) {
  table.spec.stack, table.spec.stack tbody, table.spec.stack tr, table.spec.stack th, table.spec.stack td { display: block; width: 100%; }
  table.spec.stack thead { display: none; }
  table.spec.stack tr { border-bottom: 8px solid var(--tint); }
  table.spec.stack tbody th { width: 100%; border-bottom: 0; padding: 12px 16px 4px; background: #f7f9f8; }
  table.spec.stack td { border-bottom: 0; padding: 6px 16px 12px; }
  table.spec.stack td::before { content: attr(data-label); display: block; font-size: 14px; font-weight: 700; color: var(--accent-dark); letter-spacing: .08em; }
  table.spec.stack td[data-label]:not(:last-child) { padding-bottom: 6px; }
}

/* ---------- エリアの下の小見出し・写真 ---------- */
.sub-title { font-size: 22px; font-weight: 900; letter-spacing: .06em; margin: 64px 0 14px; padding-left: 12px; border-left: 4px solid var(--accent); }
.area-summary { margin-top: 32px; }
.area-summary.grid-2 { grid-template-columns: 1fr 1fr; gap: 14px; }
.area-summary a.card { display: block; padding: 22px 24px; text-decoration: none; color: inherit; transition: transform .2s; }
.area-summary a.card:hover { transform: translateY(-3px); }
.area-summary .cap { margin: 0 0 6px; font-size: 18px; font-weight: 700; line-height: 1.6; }
.area-summary .more { display: inline-block; font-weight: 700; color: var(--accent-dark); }
@media (max-width: 640px) {
  .area-summary a.card { padding: 16px 14px; }
  .area-summary .cap { font-size: 16px; }
}
.area-block { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: "head head" "photos body"; column-gap: 36px; row-gap: 28px; margin-top: 72px; scroll-margin-top: 80px; }
.area-block.rev { grid-template-columns: 1fr 1.15fr; grid-template-areas: "head head" "body photos"; }
/* エリアの見出し：横いっぱいの帯にして、AとBの区切りにする */
.area-head { grid-area: head; display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px 32px; }
.area-head .badge { margin: 0; background: var(--accent); color: #fff; font-size: 20px; padding: 6px 22px; letter-spacing: .12em; }
.area-head h3 { margin: 0; color: #fff; text-wrap: balance; font-size: clamp(22px, 3vw, 32px); font-weight: 900; letter-spacing: .05em; }
.area-body { grid-area: body; align-self: center; }
.area-block .area-photos { grid-area: photos; margin-bottom: 0; align-self: center; }
.area-block dl { margin-top: 18px; padding: 16px 20px; background: #fff; border-radius: 12px; grid-template-columns: 8.5em 1fr; }
.area-block dt { font-weight: 700; color: var(--accent-dark); }
.area-block dd { margin: 0; }
@media (max-width: 860px) {
  .area-block, .area-block.rev { grid-template-columns: 1fr; grid-template-areas: "head" "photos" "body"; row-gap: 18px; margin-top: 48px; }
  .area-head { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px; }
  .area-head .badge { font-size: 16px; padding: 4px 16px; }
  .area-block .area-photos { align-self: stretch; }
  .area-block dl { grid-template-columns: 1fr; gap: 0; }
  .area-block dd { margin-bottom: 12px; }
  .area-block dd:last-child { margin-bottom: 0; }
}

/* ---------- アクセスの地図 ---------- */
.access { margin-top: 56px; }
.access .sub-title { margin-top: 0; }
.map-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #dfe7e2; margin-top: 18px; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map-embed { aspect-ratio: 4 / 3; } }

/* ---------- 写真・動画 ---------- */
.movie { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin-top: 20px; }
.movie iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.area-photos { display: grid; gap: 8px; margin-bottom: 18px; }
.area-photos a { display: block; overflow: hidden; border-radius: 10px; background: #dfe7e2; }
.area-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.area-photos a:hover img, .gallery-grid a:hover img { transform: scale(1.04); }
.area-photos .main { aspect-ratio: 3 / 2; }
.area-photos .sub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.area-photos .sub a { aspect-ratio: 3 / 2; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.gallery-grid a { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; background: #dfe7e2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* 写真の拡大表示 */
#lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; color: #fff; }
#lightbox::backdrop { background: rgba(10, 16, 22, .9); }
#lightbox[open] { display: grid; place-items: center; }
#lightbox img { max-width: min(94vw, 1400px); max-height: 82vh; width: auto; height: auto; border-radius: 6px; }
#lightbox button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; cursor: pointer; font-size: 28px; line-height: 1; width: 48px; height: 48px; border-radius: 50%; }
#lightbox button:hover { background: rgba(255,255,255,.28); }
#lightbox .lb-close { top: 16px; right: 16px; }
#lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
#lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
#lightbox .lb-cap { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; text-align: center; font-size: 15px; opacity: .85; padding: 0 64px; }

/* ======================================================================
   やさしいテイスト（案A「やわらかい草原」）の上書き
   ====================================================================== */
body { font-family: "Zen Maru Gothic", "Noto Sans JP", system-ui, sans-serif; }
.btn, .price strong, .steps li::before, .faq summary::before, .card .num, .sec-en { font-family: "Zen Maru Gothic", sans-serif; }
.sec-en { letter-spacing: .12em; font-weight: 700; }

/* ボタン */
.btn-primary { background: var(--sun); color: var(--ink); font-weight: 900; box-shadow: 0 8px 22px rgba(120,80,30,.28); }
.btn-primary:hover { background: #f5bf8c; }
.btn-dark, .btn-sm { background: var(--accent-band); color: #fff; font-weight: 700; }
.btn-dark:hover, .btn-sm:hover { background: var(--accent-dark); }
.btn-sm { font-size: 14px; }

/* ヘッダー・ヒーロー */
.site-header { background: rgba(251,247,238,.95); }
.hero { border-radius: 0 0 40px 40px; }
.hero::after { background: linear-gradient(180deg, rgba(40,60,50,.05) 0%, rgba(40,60,50,.25) 45%, rgba(40,60,50,.7) 100%); }

/* 見出しのラベルを、やわらかい「ちいさな札」に */
.sec-jp { background: var(--sky); color: var(--sky-ink); padding: 2px 16px; border-radius: 999px; font-size: 15px; letter-spacing: .08em; }
.section h2 { font-weight: 900; letter-spacing: .05em; }
.sub-title { border-left: 0; padding-left: 0; display: flex; align-items: center; gap: 12px; }
.sub-title::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); flex: none; }

/* カード・手順・注意枠 */
.card, .steps li { border: 0; box-shadow: var(--shadow); }
.section-tint .card, .section-tint .steps li { box-shadow: var(--shadow); }
.callout { border-left: 0; border-radius: 20px; box-shadow: var(--shadow); padding: 20px 24px; position: relative; }
.callout::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 6px; border-radius: 0 6px 6px 0; background: var(--accent); }
.callout.warn::before { background: var(--warn); }
.steps li::before { background: var(--accent-band); }
.faq details { border-bottom-color: #ddd5c0; }
.faq details:first-child { border-top-color: #ddd5c0; }

/* 表・写真・地図 */
table.spec { box-shadow: var(--shadow); }
table.spec tbody th { background: #f6f1e3; }
table.spec thead th { background: var(--accent-band); }
.gallery-grid a, .area-photos a, .area-photos .main { border-radius: 18px; }
.map-embed, .movie { border-radius: 24px; box-shadow: var(--shadow); }
.area .badge { background: var(--accent-band); }

/* エリアの帯 */
.area-head { background: var(--accent-band); border-radius: 28px; box-shadow: var(--shadow); }
.area-head .badge { background: #fff; color: var(--accent-dark); }
.area-block dl { box-shadow: var(--shadow); border-radius: 20px; }

/* 波の区切り（セクションの境目） */
.section, .final-cta { position: relative; }
.section-tint::before, .section-tint + .section::before, .section-tint + .final-cta::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 28px; background-repeat: repeat-x; background-size: 400px 28px; pointer-events: none;
}
.section-tint::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 28'%3E%3Cpath d='M0 0H400V14C366 24 333 24 300 14C266 4 233 4 200 14C166 24 133 24 100 14C66 4 33 4 0 14Z' fill='%23fbf7ee'/%3E%3C/svg%3E");
}
.section-tint + .section::before, .section-tint + .final-cta::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 28'%3E%3Cpath d='M0 0H400V14C366 24 333 24 300 14C266 4 233 4 200 14C166 24 133 24 100 14C66 4 33 4 0 14Z' fill='%23eef2e3'/%3E%3C/svg%3E");
}
.hero + .section-tint::before { display: none; }

/* 最後の申込み・フッター */
.final-cta { background: linear-gradient(160deg, #5f9663 0%, #3f7447 100%); }
.final-cta .sec-jp { background: rgba(255,255,255,.22); color: #fff; }
.final-cta .sec-en { color: #e4efe0; }
.site-footer { background: var(--ink-dark); }

/* ---------- 阿蘇の草原のセクション ---------- */
.grass-hero { margin: 28px 0 8px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.grass-hero img, .grass-figure img, .cycle img { height: auto; }
.grass-hero img { width: 100%; }
.grass-figure img { width: 100%; }
.grass-note { margin-top: 28px; }
.grass-points { display: grid; gap: 20px; margin-top: 36px; grid-template-columns: repeat(2, 1fr); }
.grass-points .card h3 { display: flex; align-items: center; gap: 10px; }
.grass-points .card h3 .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-band); color: #fff; display: grid; place-items: center; font-size: 17px; }
.cycle { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cycle li { background: #fff; border-radius: 22px; padding: 14px 10px 16px; text-align: center; box-shadow: var(--shadow); }
.cycle img { width: 72%; margin: 0 auto 6px; }
.cycle b { display: block; }
.cycle span { display: block; font-size: 15px; line-height: 1.6; color: var(--muted); }
.grass-figure { margin: 28px 0 0; background: #fff; border-radius: 28px; padding: 18px; box-shadow: var(--shadow); }
.grass-figure figcaption { text-align: center; color: var(--muted); font-size: 16px; margin-top: 8px; }
.support-steps { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: center; font-weight: 700; font-size: 16px; line-height: 1.6; }
@media (max-width: 860px) {
  .grass-points { grid-template-columns: 1fr; }
  .section-tint::before, .section-tint + .section::before, .section-tint + .final-cta::before { height: 22px; background-size: 300px 22px; }
}
@media (max-width: 640px) {
  .cycle { grid-template-columns: 1fr; gap: 12px; }
  .cycle { gap: 8px; }
  .cycle li { display: grid; grid-template-columns: 76px 1fr; gap: 0 14px; align-items: center; text-align: left; padding: 8px 16px 8px 10px; }
  .cycle img { width: 76px; margin: 0; grid-row: 1 / 3; }
  .cycle span { font-size: 16px; }
  .support-steps { font-size: 14px; gap: 6px; }
}

/* ---------- Codexのイラストの組み込み ---------- */
.step-icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 76px; height: 76px; }
.steps li { padding-right: 112px; min-height: 104px; }
.rules { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.rules li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; background: #fff; border-radius: 22px; padding: 16px 20px 16px 14px; box-shadow: var(--shadow); margin: 0; }
.rules img { width: 84px; height: 84px; }
.rules b { display: block; margin-bottom: 2px; }
.rules span { display: block; font-size: 16px; line-height: 1.7; color: #4f5d55; }
.rules span b { display: inline; }
.cta-ushi { width: 170px; margin: 0 auto 6px; height: auto; }
.grass-figure .support-steps { grid-template-columns: repeat(4, 1fr); }
/* ルールのカードが奇数のとき、最後を横いっぱいに */
.rules li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 860px) {
  .rules { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .step-icon { width: 56px; height: 56px; right: 12px; top: 14px; transform: none; }
  .steps li { padding-right: 18px; min-height: 0; }
  .steps b { padding-right: 62px; min-height: 40px; }
  .rules li { grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 14px 14px 10px; }
  .rules img { width: 64px; height: 64px; }
  .grass-figure .support-steps { font-size: 14px; gap: 2px; }
  .grass-figure { padding: 14px 10px; }
}
