:root {
  --bg: #f4f7f3; --panel: #ffffff; --ink: #1f2a26; --muted: #5f6f68; --line: #dde5df;
  --accent: #2f7d5c; --accent-ink: #ffffff; --gold: #e3b341; --gold-deep: #b8841a;
  --navy: #142247; --teal: #61c8ab; --mint: #e6f6f7; --navy-ink: #1b242d;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #121715; --panel: #1b2420; --ink: #e8efe9; --muted: #9db1a7; --line: #2c3934; --accent: #4fa97e; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #121715; --panel: #1b2420; --ink: #e8efe9; --muted: #9db1a7; --line: #2c3934; --accent: #4fa97e; color-scheme: dark; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Noto Sans JP", sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header.top { background: var(--navy); color: #fff; padding: calc(8px + env(safe-area-inset-top)) 16px 8px; }
header.top .in { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
header.top a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
header.top img { width: 22px; height: 32px; }
header.top b { font-size: 16px; letter-spacing: .04em; }
header.top .pill { margin-left: auto; border: 1.5px solid var(--teal); border-radius: 999px; padding: 7px 14px; font-size: 15px; font-weight: 600; min-height: 40px; }
.hero { text-align: center; padding: 28px 0 24px; }
.hero .row { display: flex; align-items: flex-end; justify-content: center; gap: 6px; margin: 0 auto; max-width: 420px; }
.hero .row .gb { opacity: var(--o, 1); filter: drop-shadow(0 6px 10px rgba(60,40,0,.18)); }
.hero .row .gb:nth-child(1), .hero .row .gb:nth-child(5) { --w: 44px; --o: .7; }
.hero .row .gb:nth-child(2), .hero .row .gb:nth-child(4) { --w: 74px; --o: .88; }
.hero .row .gb:nth-child(3) { --w: 120px; }
@media (min-width: 560px) { .hero .row { gap: 10px; max-width: 560px; } .hero .row .gb:nth-child(1), .hero .row .gb:nth-child(5) { --w: 60px; } .hero .row .gb:nth-child(2), .hero .row .gb:nth-child(4) { --w: 92px; } .hero .row .gb:nth-child(3) { --w: 140px; } }
.hero h1 { font-size: 30px; line-height: 1.3; margin: 14px 0 8px; letter-spacing: .04em; }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 32em; margin: 0 auto 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 26px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font-size: 17px; font-weight: 700; text-decoration: none; border: none; }
.btn img { width: 18px; height: 26px; }
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.hero .note { font-size: 14px; color: var(--muted); margin-top: 12px; }
section { padding: 26px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 22px; margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 560px) { .cards { grid-template-columns: 1fr 1fr; } .cards.three { grid-template-columns: 1fr 1fr 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.card h3 { font-size: 17px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.card h3 img { width: 18px; height: 26px; }
.card p { font-size: 15px; color: var(--muted); }
.steps { counter-reset: s; display: grid; gap: 12px; }
.step { display: flex; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.step::before { counter-increment: s; content: counter(s); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #3a2a05; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.step b { display: block; font-size: 16px; }
.step span { font-size: 15px; color: var(--muted); }
.shot { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.shot .f { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: 15px; }
.shot .f .gb { --w: 22px; }
ul.plain { list-style: none; display: grid; gap: 8px; }
ul.plain li { padding-left: 22px; position: relative; font-size: 15px; }
ul.plain li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold); }
.warn { background: var(--panel); border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; padding: 12px 14px; font-size: 15px; }
.cta-bottom { text-align: center; padding: 10px 0 30px; }
.gb { position: relative; display: inline-block; width: var(--w, 26px); aspect-ratio: 1038 / 1515; flex: none; vertical-align: middle; }
.gb .gb-in { position: absolute; left: 14.07%; top: 19.14%; width: 71.48%; height: 65.35%; clip-path: polygon(50% 0, 100% 51.5%, 50% 100%, 0 51.5%); background: #8fc7a9; overflow: hidden; }
.gb .gb-in img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gb .gb-fr { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gb.jp .gb-in { background: #fff; } .gb.jp .gb-in::after { content: ""; position: absolute; left: 50%; top: 51.5%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: #bc002d; transform: translate(-50%, -50%); }

/* about */

.about h2 { font-size: 22px; margin: 26px 0 10px; }
.about p { font-size: 16px; margin-bottom: 14px; }
.about ul.plain li { margin-bottom: 2px; }
.lead2 { font-size: 20px; font-weight: 700; margin: 6px 0 18px; }
.rec { display: grid; gap: 10px; }
.rec div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.rec b { display: block; font-size: 17px; }
.maker { display: flex; align-items: center; gap: 18px; margin: 4px 0 22px; }
.mk-label { font-size: 14px; color: var(--muted); }
.mk-name { font-size: 26px; font-weight: 800; letter-spacing: .04em; line-height: 1.2; }
.muted { color: var(--muted); }
.form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.form label { font-size: 14px; color: var(--muted); }
.form input, .form textarea { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px; font-size: 16px; min-height: 44px; width: 100%; color: var(--ink); font: inherit; }
.form textarea { min-height: 140px; }
.form .msg { font-size: 15px; margin-top: 10px; }
.gb { position: relative; display: inline-block; width: var(--w, 26px); aspect-ratio: 1038 / 1515; flex: none; vertical-align: middle; }
.gb .gb-in { position: absolute; left: 14.07%; top: 19.14%; width: 71.48%; height: 65.35%; clip-path: polygon(50% 0, 100% 51.5%, 50% 100%, 0 51.5%); background: #8fc7a9; overflow: hidden; }
.gb .gb-in img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gb .gb-fr { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gb.jp .gb-in { background: #fff; } .gb.jp .gb-in::after { content: ""; position: absolute; left: 50%; top: 51.5%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: #bc002d; transform: translate(-50%, -50%); }

/* CMS: セクション内の任意画像 */
.sec-img { display: block; max-width: 100%; height: auto; border-radius: 14px; margin: 0 0 14px; }
.sec-img.small { max-width: 320px; }
.md p { margin: 0 0 12px; }
.md p:last-child { margin-bottom: 0; }
.md ul { padding-left: 1.3em; margin: 0 0 12px; }
.md h3 { font-size: 17px; margin: 14px 0 6px; }
.md a { color: var(--accent); }
.thanks-box { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 0 0 22px; }
.thanks-box h2 { font-size: 20px; margin: 0 0 8px; }
.thanks-box .btn { margin-top: 10px; }
.editbar { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 9; }
.editbar a { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; padding: 10px 14px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
