:root {
  --bg: #F6F3EE; --surface: #FFFFFF; --pale: #FAF8F4; --line: #E9E3D9;
  --ink: #2A2620; --muted: #665E52; --main: #5E3A1A; --accent: #C44812; --accent-soft: #FBE9DF;
  --cta: #A65A17; --cta-press: #8C4B12; --ok: #2F9E6E;
  --radius: 16px; --shadow: 0 1px 2px rgba(94, 58, 26, .05), 0 10px 28px rgba(94, 58, 26, .08);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.8; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--cta); }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.top { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.top a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.logo { font-weight: 800; color: var(--main); }
.back { font-size: 13px; color: var(--muted); }

/* 1 社員の紹介（絵を大きく） */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding: 24px 0 56px; }
.hero-chara { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); display: flex; justify-content: center; align-items: flex-end; padding: 32px 24px 0; min-height: 420px; }
.hero-chara img { max-height: 400px; width: auto; }
.badge { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.3; margin-top: 12px; color: var(--main); }
.hero .one { font-size: clamp(17px, 1.9vw, 20px); font-weight: 700; margin-top: 16px; }
.flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 20px; }
.flow span { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; font-size: 14px; font-weight: 700; }
.flow i { font-style: normal; color: var(--accent); font-weight: 800; }
.price-line { display: flex; align-items: baseline; gap: 12px; margin-top: 24px; }
.price-line b { font-size: clamp(30px, 4vw, 40px); color: var(--main); }
.price-line small { color: var(--muted); }
.cta { display: inline-flex; justify-content: center; align-items: center; min-height: 60px; padding: 12px 28px; margin-top: 16px; border-radius: var(--radius); background: var(--cta); color: #FFFFFF; font-weight: 800; text-decoration: none; }
.cta:hover { background: var(--cta-press); }

/* 見出し */
.sec { padding: 56px 0; }
.sec.alt { background: var(--surface); }
.sec h2 { font-size: clamp(24px, 3vw, 32px); color: var(--main); text-align: center; }
.sec .lead { text-align: center; color: var(--muted); margin-top: 8px; }

/* 2 できること（事例） */
.cases { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.sec.alt .case { background: var(--pale); }
.case a, .case .pic { display: block; background: var(--pale); border-bottom: 1px solid var(--line); }
.case img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; }
.case .cap { padding: 16px 18px 18px; }
.case .cap b { display: block; font-size: 17px; }
.case .cap span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.cases.rows { grid-template-columns: 1fr; max-width: 860px; margin-left: auto; margin-right: auto; }
.cases.rows .case img { aspect-ratio: auto; max-height: 520px; object-fit: cover; object-position: top center; }
.zukai { display: block; margin: 28px auto 24px; max-width: 980px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.cases.install .case img { aspect-ratio: auto; max-height: none; object-fit: contain; }
.cases.install .case .pic { border-bottom: 0; border-top: 1px solid var(--line); }
.cases.install .cap { padding: 20px 22px 18px; }
.cases.install .cap b { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.cases.install .cap b i { font-style: normal; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #c2410c; color: #fff; font-size: 17px; }
.cases.install .cap span { font-size: 15px; margin-top: 8px; }
.cases-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 16px; }

/* 3 使い方（番号つきの図） */
.steps { display: grid; gap: 40px; margin-top: 32px; }
.step { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; align-items: center; }
.step .num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #FFFFFF; font-weight: 800; justify-content: center; align-items: center; }
.step h3 { font-size: 22px; margin-top: 12px; }
.step p { color: var(--muted); margin-top: 8px; }
.step .shot { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.copybox { margin-top: 16px; background: var(--accent-soft); border: 2px solid var(--accent); border-radius: 14px; padding: 14px 16px; }
.copybox small { display: block; color: var(--accent); font-weight: 700; font-size: 12px; }
.copybox div { font-weight: 700; margin-top: 4px; }
.copybox button { margin-top: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--accent); background: var(--surface); color: var(--accent); font-weight: 700; cursor: pointer; font-family: inherit; }

/* 4 要るもの */
.needs { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.need { background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.need b { display: block; font-size: 17px; }
.need span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }

/* 5 申し込み */
.buy { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); max-width: 820px; margin: 32px auto 0; overflow: hidden; text-align: center; border: 2px solid #F3C9AE; }
.buy-top { display: flex; align-items: center; justify-content: center; gap: 28px; padding: 32px 36px 28px; background: radial-gradient(circle at 18% 30%, #FFE7C2 0, transparent 46%), radial-gradient(circle at 88% 80%, #FFD6BD 0, transparent 44%), linear-gradient(135deg, #FFF4E6, #FDE3D3); border-bottom: 2px dashed #F3C9AE; }
.buy-desk { flex: none; width: 240px; }
.buy-desk img { width: 100%; height: auto; filter: drop-shadow(0 10px 14px rgba(150, 70, 20, .18)); }
.buy-head { text-align: left; }
.buy-kicker { display: inline-block; background: var(--accent); color: #FFFFFF; font-weight: 700; font-size: 13px; padding: 4px 14px; border-radius: 999px; }
.buy-name { font-size: 22px; font-weight: 800; color: var(--main); margin-top: 10px; }
.buy .price { font-size: clamp(40px, 5.4vw, 54px); font-weight: 800; color: var(--accent); line-height: 1.2; }
.buy .price small { font-size: 16px; color: var(--main); margin-left: 6px; }
.buy-note { color: var(--main); font-weight: 700; margin-top: 6px; }
.buy-body { padding: 28px 40px 32px; }
#payment-form { margin: 0 auto; min-height: 140px; border: 1px solid var(--line); border-radius: 14px; background: var(--pale); display: flex; justify-content: center; align-items: center; color: var(--muted); }
.receive-h { margin-top: 30px; font-weight: 800; color: var(--main); }
.receive { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; text-align: left; }
.receive div { position: relative; background: #FFF8F1; border: 1px solid #F3D7C4; border-radius: 14px; padding: 30px 14px 14px; font-size: 14px; }
.receive b { position: absolute; top: -14px; left: 14px; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #FFFFFF; font-size: 15px; box-shadow: 0 3px 0 #8f2f08; }
.receive em { display: block; font-style: normal; font-size: 26px; line-height: 1; margin-bottom: 8px; }
.contact { margin-top: 20px; font-size: 13px; color: var(--muted); }

/* 6 よくある質問 */
.faq { max-width: 760px; margin: 28px auto 0; display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.sec.alt details { background: var(--pale); }
summary { min-height: 52px; display: flex; align-items: center; font-weight: 700; cursor: pointer; }
details p { padding-bottom: 16px; color: var(--muted); }

.foot { text-align: center; padding: 32px 0 40px; font-size: 12px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; margin-bottom: 8px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }

@media (max-width: 860px) {
  .hero, .step { grid-template-columns: 1fr; gap: 24px; }
  .hero-chara { min-height: 320px; }
  .hero-chara img { max-height: 300px; }
  .cases, .needs { grid-template-columns: 1fr; }
  .receive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buy-top { flex-direction: column; gap: 12px; padding: 24px 18px; }
  .buy-desk { width: 200px; }
  .buy-head { text-align: center; }
  .buy-body { padding: 24px 18px 26px; }
  .receive { row-gap: 22px; }
  .cta { width: 100%; }
}
