/* ご家族のMIKATA LP。色はチラシ(marketing/make_flyer_a5.py)と揃えている。 */
:root {
  --orange: #F76B1C;
  --orange-dark: #D95500;
  --yellow: #FDD84A;
  --navy: #1F4080;
  --green: #248C46;
  --cream: #FFF8EC;
  --ink: #191919;
  --gray: #5A5A5A;
  --line: #E8E2D6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #FFFFFF;
  line-height: 1.8;
  font-size: 17px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---- クラファン告知帯 ---- */
.cf-bar {
  display: block;
  background: var(--orange);
  color: #FFFFFF;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
  font-size: 15px;
}
.cf-bar span { white-space: nowrap; }
.cf-bar u { text-underline-offset: 3px; }

/* ---- ヒーロー ---- */
.hero { background: var(--cream); padding: 48px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; }
.brand { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.brand img { width: 108px; }
.brand-sub { margin: 0; color: var(--gray); font-weight: 500; font-size: 20px; }
.brand h1 { margin: 0; font-size: clamp(32px, 4.2vw, 44px); font-weight: 900; line-height: 1.2; letter-spacing: .02em; }
.catch { margin: 0 0 14px; font-size: clamp(24px, 3.6vw, 36px); font-weight: 900; line-height: 1.55; }
.catch mark { background: linear-gradient(transparent 12%, var(--yellow) 12%, var(--yellow) 92%, transparent 92%); color: inherit; padding: 0 4px; }
.lead { margin: 0 0 24px; color: var(--gray); font-weight: 700; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips li { background: #FFFFFF; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 700; }
.hero-phone { justify-self: center; width: 260px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .18)); }

/* ---- ボタン ---- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  text-align: center;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--orange); color: #FFFFFF; box-shadow: 0 4px 0 var(--orange-dark); }
.btn-sub { background: #FFFFFF; color: var(--orange-dark); border: 2px solid var(--orange); }

/* ---- セクション共通 ---- */
section { padding: 64px 0; }
.sec-title { text-align: center; font-size: clamp(24px, 3.4vw, 32px); font-weight: 900; margin: 0 0 12px; line-height: 1.5; }
.sec-lead { text-align: center; color: var(--gray); margin: 0 auto 40px; max-width: 680px; }

/* ---- お悩み ---- */
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 32px; padding: 0; list-style: none; }
.worries li { background: #F6F7F9; border-radius: 16px; padding: 22px 20px; font-weight: 700; text-align: center; }
.worries li::before { content: "“"; display: block; font-size: 48px; line-height: 1; color: var(--orange); font-weight: 900; height: 28px; }
.nw { display: inline-block; }
.answer { text-align: center; font-size: clamp(19px, 2.6vw, 24px); font-weight: 900; margin: 0; }
.answer strong { color: var(--orange-dark); }

/* ---- 3つの特長 ---- */
.points { background: var(--cream); }
.point-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: pt; }
.point-list li { background: #FFFFFF; border-radius: 20px; padding: 28px 24px; box-shadow: 0 4px 14px rgba(0, 0, 0, .05); }
.point-list h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.5; }
.point-list h3::before {
  counter-increment: pt;
  content: counter(pt);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin-bottom: 10px; border-radius: 50%;
  background: var(--orange); color: #FFFFFF; font-size: 20px;
}
.point-list p { margin: 0; color: var(--gray); font-size: 16px; }

/* ---- モード紹介 ---- */
.mode { border-radius: 24px; border: 4px solid var(--c); overflow: hidden; margin-bottom: 40px; }
.mode-senior { --c: var(--navy); }
.mode-kids { --c: var(--green); }
.mode-head { background: var(--c); color: #FFFFFF; padding: 16px 24px; }
.mode-head h3 { margin: 0; font-size: 26px; font-weight: 900; }
.mode-head p { margin: 0; font-weight: 700; opacity: .92; }
.mode-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px 28px; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 0 0 14px 38px; font-weight: 700; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 26px; height: 26px; line-height: 26px; text-align: center;
  border-radius: 50%; background: var(--c, var(--orange)); color: #FFFFFF; font-size: 15px;
}
.checks small { display: block; font-weight: 500; color: var(--gray); font-size: 15px; }
.shots { display: flex; gap: 12px; justify-content: center; margin: 0; }
.shots figure { margin: 0; flex: 1 1 0; max-width: 200px; }
.shots img { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .16)); }
.shots figcaption { text-align: center; font-size: 13px; color: var(--gray); font-weight: 700; margin-top: 8px; }

/* ---- もしもの時(SOS) ---- */
.sos { background: #FFF1F0; }
.sos-body { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.sos-steps { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.sos-steps li { position: relative; background: #FFFFFF; border-radius: 16px; padding: 18px 20px 18px 68px; margin-bottom: 14px; }
.sos-steps li::before {
  counter-increment: st; content: counter(st);
  position: absolute; left: 18px; top: 18px;
  width: 36px; height: 36px; line-height: 36px; text-align: center;
  border-radius: 50%; background: #D32F2F; color: #FFFFFF; font-weight: 900;
}
.sos-steps b { display: block; font-size: 18px; }
.sos-steps small { display: block; color: var(--gray); font-size: 15px; }
.sos-shots { display: flex; align-items: center; justify-content: center; gap: 10px; }
.sos-shots figure { margin: 0; flex: 1 1 0; max-width: 220px; }
.sos-shots img { filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .16)); }
.sos-shots figcaption { text-align: center; font-size: 13px; color: var(--gray); font-weight: 700; margin-top: 8px; }
.sos-arrow { color: #D32F2F; font-size: 22px; flex: 0 0 auto; }

/* ---- 開発のきっかけ ---- */
.story { background: #F6F7F9; }
.story-box { max-width: 760px; margin: 0 auto; background: #FFFFFF; border-radius: 20px; padding: 36px 32px; border-left: 8px solid var(--orange); }
.story-box p { margin: 0 0 1em; }
.story-box p:last-child { margin: 0; }
.story-sign { text-align: right; font-weight: 700; color: var(--gray); }

/* ---- ご利用について ---- */
.info-table { max-width: 760px; margin: 0 auto; border-collapse: collapse; width: 100%; }
.info-table th, .info-table td { border-bottom: 1px solid var(--line); padding: 14px 10px; text-align: left; vertical-align: top; }
.info-table th { width: 32%; color: var(--gray); font-weight: 700; white-space: nowrap; }

/* ---- 最後のCTA ---- */
.cta { background: var(--orange); color: #FFFFFF; text-align: center; }
.cta .sec-title { color: #FFFFFF; }
.cta p { margin: 0 auto 28px; max-width: 640px; font-weight: 700; }
.cta-inner { display: flex; gap: 32px; justify-content: center; align-items: center; flex-wrap: wrap; }
.cta .btn-main { background: #FFFFFF; color: var(--orange-dark); box-shadow: 0 4px 0 rgba(0, 0, 0, .2); font-size: 20px; padding: 18px 36px; }
.cta-qr { background: #FFFFFF; border-radius: 16px; padding: 12px; color: var(--ink); font-size: 13px; font-weight: 700; }
.cta-qr img { width: 140px; }

/* ---- フッター ---- */
footer { background: var(--green); color: #FFFFFF; padding: 36px 0 28px; font-size: 15px; }
footer a { color: #FFFFFF; }
footer .company { font-weight: 900; font-size: 18px; margin: 0 0 6px; }
footer p { margin: 0 0 4px; }
.foot-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.copy { margin-top: 20px; opacity: .8; font-size: 13px; }

/* ---- スマホ ---- */
@media (max-width: 800px) {
  body { font-size: 16px; }
  section { padding: 48px 0; }
  .hero { padding: 32px 0 40px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-phone { width: 220px; }
  .brand { gap: 14px; }
  .brand img { width: 72px; }
  .brand-sub { font-size: 15px; }
  .brand h1 { font-size: 28px; }
  .catch { font-size: 20px; }
  .lead { font-size: 15px; }
  .sec-title { font-size: 22px; }
  .btn { width: 100%; font-size: 16px; padding: 15px 16px; }
  .cta .btn-main { font-size: 17px; padding: 16px; }
  .worries, .point-list { grid-template-columns: 1fr; }
  .mode-body { grid-template-columns: 1fr; padding: 24px 18px; }
  .sos-body { grid-template-columns: 1fr; gap: 24px; }
  .sos-steps li { padding: 16px 16px 16px 62px; }
  .sos-steps b { font-size: 17px; }
  .mode-head h3 { font-size: 22px; }
  .story-box { padding: 26px 20px; }
  .info-table th { width: auto; padding-right: 14px; }
  .cta-qr { display: none; }
}
