/* リセットと共通部品 */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-body-outside);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
picture > source { display: none; }
a { color: var(--c-link); text-decoration: none; }
a:hover { color: var(--c-orange-dark); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
strong { font-weight: 700; }

/* ページ外枠（SP: 480px 中央寄せ） */
.page {
  max-width: var(--max-sp);
  margin: 0 auto;
  background: var(--c-cream);
  position: relative;
  padding-bottom: var(--sticky-cta-h);
  box-shadow: 0 0 60px rgba(0, 0, 0, .18);
  overflow: hidden;
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column;
}
.page > main { flex: 1; }
.inner { padding-left: var(--gutter); padding-right: var(--gutter); }
.inner-wide { padding-left: var(--gutter-wide); padding-right: var(--gutter-wide); }

/* 見出し系 */
.ff-head { font-family: var(--ff-head); font-weight: 900; }
.ff-display { font-family: var(--ff-display); font-weight: 400; }
.h2 {
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  color: var(--c-text);
  text-align: center;
}
.h2 .ac { color: var(--c-orange); font-size: var(--fs-h2-accent); }
.h2 .ac-navy { color: var(--c-navy); font-size: var(--fs-h2-accent); }
.lead { font-size: var(--fs-body); line-height: var(--lh-body); }
.note { font-size: var(--fs-note); line-height: 1.7; color: var(--c-gray); }
.marker { background: linear-gradient(transparent 58%, var(--c-marker) 58%); }
.marker-60 { background: linear-gradient(transparent 60%, var(--c-marker) 60%); }

/* ボタン */
.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--c-orange); color: var(--c-white);
  border-radius: var(--radius-btn); padding: 18px 14px;
  font-family: var(--ff-head); font-weight: 900; font-size: var(--fs-cta);
  letter-spacing: .02em; line-height: 1.3; text-align: center;
  box-shadow: var(--sh-btn);
  transition: background .15s, transform .15s;
}
.btn-primary:hover { background: var(--c-orange-dark); color: var(--c-white); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--c-orange-dark); }
.btn-tel {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  margin-top: 12px;
  background: var(--c-white); border: var(--bw) solid var(--c-navy);
  border-radius: var(--radius-btn); padding: 12px 14px;
  color: var(--c-navy); line-height: 1.2; text-align: center;
}
.btn-tel:hover { color: var(--c-navy); }
.btn-tel .t1 { font-family: var(--ff-head); font-weight: 800; font-size: 16px; }
.btn-tel .t2 { font-family: var(--ff-display); font-size: var(--fs-tel); letter-spacing: .02em; }
.btn-tel .t3 { font-size: 14px; color: var(--c-text-sub); }
.cta-badge {
  margin: 0 0 10px; text-align: center;
  font-family: var(--ff-head); font-weight: 800; font-size: 15px; line-height: 1.4; color: var(--c-navy);
  letter-spacing: 0; white-space: nowrap;
}
.cta-block { padding-top: 30px; }

/* カード・ラベル */
.card-outline { background: var(--c-white); border: var(--bw) solid var(--c-navy); box-shadow: var(--sh-offset); }
.band-rot {
  display: inline-block; background: var(--c-white); border: var(--bw) solid var(--c-navy);
  box-shadow: var(--sh-band); transform: rotate(var(--rotate-label));
}
.label-navy {
  display: inline-block; background: var(--c-navy); color: var(--c-white);
  font-family: var(--ff-head); font-weight: 900; font-size: 17px; letter-spacing: .08em;
  padding: 6px 14px;
}
.cloud { background: var(--c-white); border-radius: var(--radius-cloud); position: relative; }
.cloud-sm { background: var(--c-white); border-radius: var(--radius-cloud-sm); position: relative; }
.cloud .dot1, .cloud-sm .dot1 { position: absolute; left: 34px; bottom: -22px; width: 24px; height: 24px; border-radius: 50%; background: var(--c-white); }
.cloud .dot2, .cloud-sm .dot2 { position: absolute; left: 20px; bottom: -40px; width: 12px; height: 12px; border-radius: 50%; background: var(--c-white); }

/* セクション境界の波形。svg の background = 前のセクション色、path の fill = 次のセクション色（HTML 側で直接指定） */
.wave { display: block; width: 100%; height: var(--wave-h); }

/* 星型バッジ */
.star-badge {
  width: 116px; height: 116px; background: var(--c-orange);
  clip-path: polygon(50% 0,61% 18%,82% 8%,80% 30%,100% 38%,86% 54%,98% 74%,76% 76%,72% 98%,54% 86%,36% 100%,30% 78%,8% 80%,14% 60%,0 44%,18% 32%,14% 10%,36% 18%);
  display: grid; place-items: center; text-align: center;
  font-family: var(--ff-head); font-weight: 900; font-size: 15px; line-height: 1.1; letter-spacing: 0; color: var(--c-white);
}
.star-badge .big { display: block; margin-top: 2px; font-family: var(--ff-display); font-weight: 400; font-size: 26px; line-height: 1; letter-spacing: 0; }

/* ヘッダー */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px var(--gutter); background: var(--c-white);
  position: sticky; top: 0; z-index: 20;
  box-shadow: 0 2px 8px rgba(20, 54, 92, .08);
}
.logo { display: block; line-height: 1.1; color: inherit; }
.logo .l1 { display: block; font-family: var(--ff-head); font-weight: 900; font-size: 23px; color: var(--c-navy); letter-spacing: .02em; }
.logo .l2 { display: block; font-family: var(--ff-head); font-weight: 800; font-size: 14px; color: var(--c-orange); letter-spacing: .12em; margin-top: 2px; }
.logo img { height: 40px; width: auto; }
.header-cta {
  display: flex; align-items: center; gap: 8px; flex: none;
  background: var(--c-orange); color: var(--c-white);
  font-family: var(--ff-head); font-weight: 900; font-size: 19px;
  padding: 12px 18px; border-radius: var(--radius-btn-sm); box-shadow: var(--sh-btn-sm);
}
.header-cta:hover { background: var(--c-orange-dark); color: var(--c-white); }

/* フッター */
.site-footer {
  background: var(--c-navy-dark); color: var(--c-footer-text);
  padding: 24px var(--gutter-wide) 28px; font-size: 15px; line-height: 1.7; text-align: center;
}
.site-footer .name { display: block; font-family: var(--ff-head); font-weight: 900; font-size: 20px; color: var(--c-white); }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.site-footer nav a { color: var(--c-footer-text); }
.site-footer .copy { margin-top: 12px; font-size: var(--fs-min); }

/* 固定フッター CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--max-sp); z-index: 30;
  display: grid; grid-template-columns: 2fr 3fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250, 243, 230, .97); border-top: var(--bw) solid var(--c-navy);
  transition: transform .3s ease, opacity .3s ease;
}
.sticky-cta.is-hidden { transform: translate(-50%, 110%); opacity: 0; pointer-events: none; }
.sticky-cta a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: var(--c-white); font-family: var(--ff-head); font-weight: 900;
  padding: 14px 6px; border-radius: var(--radius-btn-sm); line-height: 1.2;
}
.sticky-cta .tel { background: var(--c-navy); font-size: 18px; box-shadow: var(--sh-btn-navy); }
.sticky-cta .form { background: var(--c-orange); font-size: 19px; box-shadow: var(--sh-btn-sm); }
.sticky-cta a:hover { color: var(--c-white); }

/* アイコン */
.ico { width: 1em; height: 1em; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
