:root {
  --navy: #1F3A5F;
  --ink: #2D2D2D;
  --gray: #6B6B6B;
  --panel: #F7F7F7;
  --pale: #EEF2F7;
  --chev: #C9D3E0;
  --line: #DDDDDD;
  --dark: #262626;
  --paper: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong, b, h1, h2, h3, h4, dt { font-weight: 700; }

/* 表紙 */
.hero-visual {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #F2F2F2;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 40%;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.86) 42%, rgba(255,255,255,0) 72%);
}
.hero-text {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 16px;
}
.hero-kicker { font-size: 13px; color: var(--ink); }
.hero h1 { font-size: 30px; line-height: 1.3; letter-spacing: 0.04em; margin: 2px 0 6px; }
.hero-co { font-size: 13px; font-weight: 700; }

/* 表紙の下の帯（月額に含むもの・相談のボタン） */
.hero-band { background: var(--pale); padding: 14px 16px 16px; }
.hero-band-in { max-width: 728px; margin: 0 auto; }
.hero-incl-label { font-size: 12px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.hero-incl { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-incl li {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--chev);
  border-radius: 4px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  padding: 5px 10px;
}
.hero-incl span {
  background: var(--navy);
  color: #FFFFFF;
  font-size: 11px;
  padding: 0 5px;
  border-radius: 2px;
}
.hero-cta { display: none; }

/* スマホで画面の下に出しておく相談のボタン */
.fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: rgba(31, 58, 95, 0.96);
}
.fixed-cta a {
  display: block;
  max-width: 520px;
  margin: 0 auto;
  background: #FFFFFF;
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  padding: 10px 8px;
  border-radius: 10px;
}

/* 共通の段 */
main, .foot { max-width: 760px; margin: 0 auto; }
.sec { padding: 28px 16px 8px; }
.sec-tight { padding-top: 12px; }
.h2 { font-size: 22px; line-height: 1.45; margin-bottom: 14px; }
.h2-lead { color: var(--navy); text-align: center; font-size: 22px; margin-bottom: 18px; }
.h3 { font-size: 15px; margin-bottom: 8px; color: var(--navy); }

/* こんな場面 */
.scenes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.scenes li {
  background: var(--panel);
  padding: 12px 8px 12px 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0;
}

/* 放っておくと */
.risk {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.risk-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
}
.risk-arrow {
  position: relative;
  width: 32px;
  height: 22px;
}
.risk-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -5px;
  border-left: 14px solid var(--line);
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}
.risk-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 12px;
  background: var(--line);
}
.risk-head { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.risk-body p:not(.risk-head) { font-size: 14.5px; color: #444444; }

/* 山形の区切り */
.chevron {
  max-width: 728px;
  height: 22px;
  margin: 18px auto 0;
  background: linear-gradient(180deg, var(--pale), var(--chev));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* 図 */
.flow { max-width: 420px; margin: 0 auto 18px; }
.flow svg { width: 100%; font-family: inherit; }
.flow text { font-family: inherit; font-size: 13px; }
.flow .t-b { font-weight: 700; fill: var(--ink); font-size: 13px; }
.flow .t-title { font-weight: 700; fill: var(--navy); font-size: 14px; }
.flow .t-tag { font-weight: 700; fill: #FFFFFF; text-anchor: middle; font-size: 11px; }
.flow .t-navy { font-weight: 700; fill: var(--navy); }
.flow .t-gray { fill: var(--gray); font-size: 12.5px; }
.flow .t-plus { fill: var(--ink); text-anchor: middle; font-size: 15px; }
.flow .t-note { fill: var(--gray); text-anchor: middle; font-size: 11.5px; }

/* オンラインの枠 */
.box { border: 2px solid var(--navy); }
.box-head {
  background: var(--navy);
  color: #FFFFFF;
  text-align: center;
  font-weight: 700;
  font-size: 13.5px;
  padding: 6px 8px;
}
.box-body { padding: 14px 12px 16px; background: var(--panel); }
.h3 + .menu { margin-top: 4px; }
.menu { display: grid; gap: 12px; }
.item {
  background: #FFFFFF;
  border: 1px solid var(--chev);
  border-radius: 6px;
  overflow: hidden;
  padding: 0 12px 12px;
}
.item + .item { margin-top: 12px; }
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 14.5px;
  padding: 7px 12px;
  border-radius: 0;
  margin: 0 -12px 8px;
}
.pill {
  display: inline-block;
  background: #FFFFFF;
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  padding: 0 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.sub { font-size: 13.5px; font-weight: 700; margin-top: 8px; }
.sq li {
  position: relative;
  padding-left: 14px;
  font-size: 14.5px;
  line-height: 1.65;
}
.sq li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--gray);
}
.sq-inline { display: flex; flex-wrap: wrap; column-gap: 14px; }
.not { margin-top: 8px; }
.not li { font-size: 13.5px; color: var(--gray); }

.opt-head {
  background: var(--pale);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 10px;
  margin-top: 18px;
}
.opt-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--line);
}
.opt-row dt { font-size: 14px; }

/* 先生 */
.pros-head { font-size: 12.5px; color: var(--gray); margin: 16px 0 6px; }
.pros-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  border: 1px solid var(--line);
}
.pros-row + .pros-row { margin-top: 4px; }
.pros-row dt {
  background: var(--gray);
  color: #FFFFFF;
  text-align: center;
  font-size: 14px;
  padding: 6px 4px;
}
.pros-row dd { font-size: 14px; padding: 6px 10px; }

/* 料金 */
.price {
  display: grid;
  grid-template-columns: 1fr;
  border: 2px solid var(--navy);
  margin-top: 16px;
}
.price-label {
  background: var(--navy);
  color: #FFFFFF;
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.1em;
  padding: 6px;
}
.price-body { padding: 12px 12px 14px; }
.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-bottom: 8px;
}
.price-base { color: var(--gray); font-size: 16px; }
.price-arrow { color: var(--ink); font-size: 13px; }
.pill-lg { background: var(--navy); color: #FFFFFF; font-size: 13px; padding: 2px 10px; border-radius: 4px; }
.price-main { color: var(--navy); font-size: 26px; line-height: 1.3; width: 100%; }
.price-note { font-size: 14px; }

/* 無料相談 */
.cta {
  background: var(--navy);
  color: #FFFFFF;
  text-align: center;
  padding: 22px 16px 18px;
  margin-top: 24px;
}
.cta-btn {
  display: block;
  max-width: 600px;
  margin: 0 auto;
  background: #FFFFFF;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.4;
  padding: 12px 16px;
  border-radius: 14px;
}
.cta-btn:hover, .cta-btn:focus-visible { background: var(--pale); }
.cta-sub { display: block; font-size: 16px; }
.cta-contact { font-size: 13px; margin-top: 12px; }
.cta-contact a, .foot-contact a {
  display: inline-block;
  margin-left: 0.8em;
  color: #FFFFFF;
  text-underline-offset: 3px;
}
.cta-contact a {
  display: block;
  margin: 4px 0 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cta-end { margin-top: 32px; }

/* 代表あいさつ・質問 */
.sec-paper { padding-top: 40px; }
.rule {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--ink);
  margin-bottom: 12px;
}
.h2-msg { font-size: 20px; }
.msg { font-size: 15px; color: var(--ink); line-height: 1.95; }
.msg + .msg { margin-top: 10px; }

.profile {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 22px;
}
.profile-photo { width: 104px; }
.profile-logo { width: 80px; margin-top: 10px; }
.profile-title { font-size: 12px; color: var(--gray); }
.profile-name { font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 8px; }
.profile-name span { display: block; font-size: 12px; font-weight: 400; color: var(--gray); }
.profile-org { font-size: 13.5px; font-weight: 700; margin-top: 6px; line-height: 1.55; }
.dot li {
  position: relative;
  padding-left: 0.9em;
  font-size: 13.5px;
  line-height: 1.6;
}
.dot li::before { content: "・"; position: absolute; left: -0.15em; }

.h2-faq { font-size: 19px; }
.faq-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.faq-row dt { font-size: 14.5px; line-height: 1.7; }
.faq-row dd { font-size: 14.5px; position: relative; padding-left: 0.9em; }
.faq-row dd::before { content: "・"; position: absolute; left: -0.15em; }

/* 下の帯 */
.foot {
  max-width: none;
  background: var(--dark);
  color: #FFFFFF;
  padding: 22px 16px 78px;
  margin-top: 0;
}
.foot > * { max-width: 728px; margin-left: auto; margin-right: auto; }
.foot-contact { font-size: 13.5px; }
.foot-co { display: grid; gap: 2px 24px; font-size: 12px; color: #BFBFBF; }
.foot-co div { display: flex; }
.foot-co dt { font-weight: 400; }
.foot-copy { font-size: 11.5px; color: #BFBFBF; text-align: right; margin-top: 10px; letter-spacing: 0.05em; }

/* 画面が広いとき（タブレット・パソコン） */
@media (min-width: 640px) {
  body { font-size: 16px; }
  .hero-visual { height: 300px; }
  .hero-band { padding: 18px 24px; }
  .hero-band-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
  .hero-incl li { font-size: 15px; }
  .hero-cta {
    display: block;
    flex: none;
    background: var(--navy);
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    padding: 10px 22px;
    border-radius: 10px;
  }
  .hero-cta span { display: block; font-size: 13px; }
  .hero-cta:hover, .hero-cta:focus-visible { background: #2A4C7A; }
  .fixed-cta { display: none; }
  .foot { padding-bottom: 18px; }
  .hero-text { max-width: 760px; margin: 0 auto; padding: 0 24px; }
  .hero h1 { font-size: 40px; }
  .hero-kicker, .hero-co { font-size: 15px; }
  .sec { padding-left: 16px; padding-right: 16px; }
  .h2 { font-size: 26px; }
  .h2-lead { font-size: 28px; }
  .scenes { grid-template-columns: repeat(4, 1fr); }
  .risk { flex-direction: row; align-items: flex-start; gap: 16px; }
  .risk-label { font-size: 26px; flex: none; margin-top: 2px; }
  .menu { grid-template-columns: 1fr 1fr; gap: 18px; }
  .opt-row { grid-template-columns: 140px 1fr; gap: 10px; }
  .pros-row { grid-template-columns: 120px 1fr; }
  .price { grid-template-columns: 120px 1fr; }
  .price-label { display: flex; align-items: center; justify-content: center; font-size: 26px; }
  .price-main { width: auto; font-size: 30px; }
  .cta-btn { font-size: 26px; }
  .cta-sub { display: inline; font-size: 26px; }
  .profile { grid-template-columns: 120px 1fr; gap: 24px; }
  .profile-photo { width: 120px; }
  .faq-row { grid-template-columns: 40% 1fr; gap: 16px; }
  .foot-co { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1440px) {
  .hero-visual { height: 360px; }
}
