/* てくてくスマホ・AI教室(架空)— 制作見本
   ブランドガイド: ../02_ブランドガイド.md */
:root {
  --main: #1F6F6B;
  --main-dark: #17524F;
  --sub: #E6F2EC;
  --accent: #C85A1E;
  --accent-dark: #A84A16;
  --bg: #FFFAF2;
  --text: #2A2A2A;
  --muted: #555;
  --line: #D6E4DC;
  --radius: 18px;
  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.5; margin: 0; }
p { margin: 0 0 1em; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--sub { background: var(--sub); }
.section-title {
  font-size: 1.6rem;
  color: var(--main);
  text-align: center;
  margin-bottom: 36px;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px; height: 5px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: var(--main);
  opacity: .35;
}

/* ヘッダー */
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--main); text-decoration: none; }
.header-tel { display: none; color: var(--main); font-weight: 700; text-decoration: none; }

/* ボタン */
.btn {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--accent-dark);
  transition: transform .1s, box-shadow .1s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--accent-dark); }
.btn:focus-visible { outline: 4px solid #F2C26B; outline-offset: 3px; }
.btn small { display: block; font-size: .85rem; font-weight: 500; opacity: .95; }
.cta-note { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 14px; }

/* ファーストビュー */
.hero { background: linear-gradient(180deg, var(--sub) 0%, var(--bg) 100%); padding: 40px 0 56px; }
.hero .wrap { display: grid; gap: 28px; }
.hero-label { display: inline-block; background: #fff; color: var(--main); border: 2px solid var(--main); border-radius: 999px; padding: 2px 16px; font-weight: 700; font-size: .95rem; }
.hero h1 { font-size: 2rem; color: var(--main-dark); margin: 14px 0 12px; }
.hero h1 span { display: inline-block; }
.hero-lead { font-size: 1.1rem; }
.hero-art { width: 100%; max-width: 300px; margin: 0 auto; }
.hero-art svg { width: 100%; height: auto; }

/* 悩み */
.worries { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.worries li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; }
.worries .bubble { flex: none; width: 40px; height: 40px; }
.worries-after { text-align: center; margin-top: 28px; font-family: var(--font-head); font-size: 1.25rem; color: var(--main); font-weight: 700; }

/* 解決策 */
.solution { display: grid; gap: 28px; align-items: center; }
.photo-slot {
  display: grid; place-items: center;
  aspect-ratio: 4 / 3;
  border: 3px dashed #9DBFB2;
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, #F3F8F5, #F3F8F5 12px, #EAF3EE 12px, #EAF3EE 24px);
  color: var(--muted);
  font-size: .95rem;
  text-align: center;
  padding: 16px;
}
.points { padding: 0; margin: 0; list-style: none; }
.points li { padding-left: 34px; position: relative; margin-bottom: 10px; }
.points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 22px; height: 22px; border-radius: 50%; background: var(--main); }
.points li::after { content: ""; position: absolute; left: 7px; top: calc(.45em + 5px); width: 6px; height: 10px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* 特徴 */
.features { display: grid; gap: 20px; margin-bottom: 40px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px 22px; border: 2px solid var(--line); text-align: center; }
.feature-num { font-family: var(--font-head); color: var(--main); font-weight: 700; font-size: .95rem; letter-spacing: .1em; }
.feature-icon { width: 84px; height: 84px; margin: 8px auto 12px; }
.feature h3 { font-size: 1.25rem; color: var(--main-dark); margin-bottom: 10px; }
.feature p { text-align: left; margin: 0; }

/* 学べること */
.steps { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.steps li { background: #fff; border-radius: var(--radius); padding: 20px 20px 20px 84px; position: relative; border: 2px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step) "回目"; position: absolute; left: 16px; top: 20px; width: 54px; height: 54px; border-radius: 50%; background: var(--main); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.steps h3 { font-size: 1.1rem; color: var(--main-dark); }
.steps p { margin: 4px 0 0; color: var(--muted); }
.steps-note { margin-top: 18px; font-size: .95rem; color: var(--muted); text-align: center; }

/* お客様の声 */
.voices { display: grid; gap: 18px; }
.voice-slot { border: 3px dashed #9DBFB2; border-radius: var(--radius); background: #fff; padding: 26px 20px; text-align: center; color: var(--muted); }
.voice-slot .avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; background: var(--sub); border: 2px dashed #9DBFB2; }
.voices-note { margin-top: 18px; font-size: .95rem; color: var(--muted); text-align: center; }

/* 料金 */
.prices { display: grid; gap: 20px; max-width: 760px; margin: 0 auto 28px; }
.price-card { background: #fff; border: 3px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.price-card--trial { border-color: var(--main); }
.price-tag { display: inline-block; background: var(--main); color: #fff; border-radius: 999px; padding: 0 14px; font-size: .9rem; font-weight: 700; }
.price-card h3 { margin: 10px 0 4px; font-size: 1.2rem; }
.price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--main-dark); line-height: 1.3; }
.price small { font-size: 1rem; }
.price-card p { margin: 6px 0 0; color: var(--muted); }
.price-detail { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 20px 22px; border: 2px solid var(--line); }
.price-detail dl { margin: 0; display: grid; grid-template-columns: 5.5em 1fr; gap: 8px 10px; }
.price-detail dt { font-weight: 700; color: var(--main); }
.price-detail dd { margin: 0; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 56px; position: relative; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 18px; top: 16px; font-family: var(--font-head); color: var(--main); font-size: 1.3rem; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.6rem; color: var(--main); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 22px 18px 56px; position: relative; }
.faq .answer::before { content: "A"; position: absolute; left: 18px; top: -2px; font-family: var(--font-head); color: var(--accent); font-size: 1.3rem; font-weight: 700; }
.faq .answer p { margin: 0; }

/* 申込 */
.apply { background: var(--main); color: #fff; text-align: center; }
.apply .section-title { color: #fff; }
.apply .section-title::after { background: #fff; }
.apply-box { background: #fff; color: var(--text); border-radius: var(--radius); padding: 30px 22px; max-width: 640px; margin: 0 auto; }
.apply-box p { margin-bottom: 18px; text-align: left; }
.tel { margin-top: 24px; padding-top: 20px; border-top: 2px dashed var(--line); }
.tel a { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--main-dark); text-decoration: none; }
.tel span { display: block; font-size: .95rem; color: var(--muted); }

/* フッター */
.footer { background: #fff; padding: 32px 0 110px; text-align: center; font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); }
.sample-notice { display: inline-block; border: 2px solid var(--accent); color: var(--accent-dark); border-radius: 10px; padding: 8px 16px; font-weight: 700; margin-bottom: 14px; background: #FFF4EC; }
.footer p { margin: 4px 0; }

/* スマホ追従ボタン */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,250,242,.96); border-top: 1px solid var(--line); z-index: 10; }
.sticky-cta .btn { padding: 13px 16px; font-size: 1.05rem; }

/* PC幅 */
@media (min-width: 768px) {
  body { font-size: 19px; }
  .section { padding: 88px 0; }
  .section-title { font-size: 2rem; }
  .header-tel { display: block; }
  .hero { padding: 64px 0 80px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; }
  .hero h1 { font-size: 2.6rem; }
  .hero .btn { margin: 0; }
  .hero .cta-note { text-align: left; }
  .hero-art { max-width: 380px; }
  .worries { grid-template-columns: 1fr 1fr; }
  .solution { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .voices { grid-template-columns: repeat(3, 1fr); }
  .prices { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 36px; }
}
@media (min-width: 768px) {
  .apply-box p { text-align: center; }
}
