/* ============================================================
   ホームページプラス — style.css
   共通スタイルシート
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --navy:        #1b2f4e;
  --navy-mid:    #254070;
  --blue:        #3560b8;
  --blue-light:  #e8eef9;
  --green:       #28976a;
  --green-light: #e6f5ee;
  --line-green:  #06C755;
  --white:       #ffffff;
  --off-white:   #f8f9fb;
  --gray-100:    #f2f4f8;
  --gray-200:    #e4e8f0;
  --gray-400:    #9aa5bc;
  --gray-600:    #5a6880;
  --text:        #212d40;
  --text-sub:    #52637a;
  --border:      #dce3ef;
  --shadow:      0 4px 28px rgba(27,47,78,.10);
  --shadow-sm:   0 2px 12px rgba(27,47,78,.07);
  --r:           12px;
  --r-lg:        20px;
  --r-pill:      999px;
  --max-w:       820px;
  --font-body:   'Noto Sans JP', sans-serif;
  --font-serif:  'Noto Serif JP', serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
}
img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
ul, ol{ list-style: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ---------- Utility ---------- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 72px 0; }
.section--alt { background: var(--off-white); }
.section--navy { background: var(--navy); }

.sec-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  background: var(--green-light);
  color: var(--green);
  margin-bottom: 14px;
}
.sec-label--navy {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
}
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
  margin-bottom: 10px;
}
.sec-title--light { color: #fff; }
.sec-sub {
  font-size: .9rem;
  color: var(--text-sub);
  margin-bottom: 44px;
  line-height: 1.8;
}
.sec-sub--light { color: rgba(255,255,255,.75); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: .95rem;
  border-radius: var(--r-pill);
  padding: 14px 26px;
  border: 2px solid transparent;
  transition: all .2s ease;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}
.btn--line {
  background: var(--line-green);
  color: #fff;
  border-color: var(--line-green);
  box-shadow: 0 4px 18px rgba(6,199,85,.28);
}
.btn--line:hover { background: #05b34b; border-color: #05b34b; transform: translateY(-1px); }
.btn--navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn--navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn--outline-light:hover { background: rgba(255,255,255,.15); }
.btn--lg { font-size: 1.05rem; padding: 17px 32px; }
.btn--full { width: 100%; display: flex; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.site-logo span { color: var(--green); }
.site-header .btn { font-size: .82rem; padding: 10px 18px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(150deg, #f0f4fb 0%, #eaf0f8 55%, #edf6f1 100%);
  padding: 60px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(40,151,106,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 5%  90%, rgba(53,96,184,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: .76rem;
  font-weight: 700;
  color: var(--navy);
  padding: 5px 13px;
  box-shadow: var(--shadow-sm);
}
.hero__badge--green { background: var(--green-light); color: var(--green); border-color: rgba(40,151,106,.25); }
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 18px;
}
.hero__title em { font-style: normal; color: var(--blue); }
.hero__sub {
  font-size: .95rem;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 30px;
}
.hero__price {
  display: flex;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 30px;
}
.hero__price-item {
  flex: 1;
  padding: 16px 18px;
  text-align: center;
}
.hero__price-item + .hero__price-item {
  border-left: 1px solid var(--border);
}
.hero__price-label { font-size: .71rem; color: var(--text-sub); font-weight: 500; margin-bottom: 4px; }
.hero__price-val { font-size: 1.55rem; font-weight: 700; color: var(--navy); font-feature-settings: 'tnum'; }
.hero__price-val small { font-size: .82rem; font-weight: 400; color: var(--text-sub); }
.hero__btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
.hero__note {
  font-size: .8rem;
  color: var(--text-sub);
  line-height: 1.75;
  padding: 14px 16px;
  background: rgba(255,255,255,.7);
  border-radius: var(--r);
  border: 1px solid var(--border);
}

/* ---------- Summary ---------- */
.summary__body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  font-size: .92rem;
  color: var(--text-sub);
  line-height: 1.95;
}
.summary__body p { margin-bottom: 16px; }
.summary__body p:last-child { margin-bottom: 0; }
.summary__body strong { color: var(--navy); }

/* ---------- Problems ---------- */
.problems__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  box-shadow: var(--shadow-sm);
}
.problem-card__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.problem-card__text { font-size: .82rem; line-height: 1.65; font-weight: 500; }
.problems__closing {
  background: var(--blue-light);
  border-radius: var(--r);
  padding: 20px 22px;
  font-size: .88rem;
  color: var(--navy);
  line-height: 1.8;
  border: 1px solid var(--gray-200);
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
}
.service-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  color: #fff;
}
.service-card__icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: .88rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.service-card p  { font-size: .78rem; color: var(--text-sub); line-height: 1.65; }
.services__note {
  background: #fffbeb;
  border: 1px solid #e8d880;
  border-radius: var(--r);
  padding: 16px 18px;
  font-size: .81rem;
  color: #6b5000;
  line-height: 1.75;
}
.services__note strong { color: #4a3800; }

/* ---------- Explain ---------- */
.explain__cards { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.explain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}
.explain-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.explain-card__emoji {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.explain-card__head h3 { font-size: .97rem; font-weight: 700; color: var(--navy); }
.explain-card__bubble {
  background: var(--off-white);
  border-radius: 0 12px 12px 12px;
  padding: 14px 16px;
  font-size: .84rem;
  line-height: 1.85;
  color: var(--text-sub);
  margin-left: 10px;
  position: relative;
}
.explain-card__bubble::before {
  content: '';
  position: absolute;
  left: -10px; top: 12px;
  border: 5px solid transparent;
  border-right-color: var(--off-white);
}
.explain-card__tag {
  display: inline-block;
  margin-top: 10px;
  background: #fff3e0;
  color: #b45600;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}
.explain__closing {
  font-size: .88rem;
  color: var(--text-sub);
  line-height: 1.8;
  padding: 18px 20px;
  background: var(--green-light);
  border-radius: var(--r);
  border: 1px solid rgba(40,151,106,.2);
}

/* ---------- Pricing ---------- */
.pricing-card {
  border: 2px solid var(--blue);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pricing-card__head {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 30px 24px;
  text-align: center;
}
.pricing-card__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.pricing-card__prices { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.pricing-card__price-item { text-align: center; }
.pricing-card__price-label { font-size: .7rem; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.pricing-card__price-val { font-size: 2rem; font-weight: 700; color: #fff; }
.pricing-card__price-val small { font-size: .82rem; font-weight: 400; }
.pricing-card__body { padding: 24px; background: #fff; }
.pricing-card__includes h4 {
  font-size: .8rem; font-weight: 700;
  color: var(--text-sub);
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.pricing-card__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: .87rem;
}
.pricing-card__item:last-child { border-bottom: none; }
.pricing-card__check { color: var(--green); font-size: .95rem; flex-shrink: 0; }
.pricing-card__notes {
  margin-top: 18px;
  background: var(--off-white);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: .78rem;
  color: var(--text-sub);
  line-height: 1.8;
}
.pricing-card__extra-notes {
  margin-top: 10px;
  font-size: .78rem;
  color: var(--text-sub);
  line-height: 1.85;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.pricing-card__cta { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Flow ---------- */
.flow__steps { display: flex; flex-direction: column; }
.flow-step { display: flex; align-items: flex-start; gap: 16px; }
.flow-step__left { display: flex; flex-direction: column; align-items: center; }
.flow-step__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; z-index: 1;
}
.flow-step__line {
  width: 2px; flex: 1; min-height: 36px;
  background: var(--gray-200);
  margin: 4px 0;
}
.flow-step:last-child .flow-step__line { display: none; }
.flow-step__content { padding-bottom: 30px; padding-top: 9px; }
.flow-step__content h3 { font-size: .97rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.flow-step__content p  { font-size: .83rem; color: var(--text-sub); line-height: 1.75; }

/* ---------- Reasons ---------- */
.reasons__grid { display: flex; flex-direction: column; gap: 16px; }
.reason-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
.reason-card__num {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.reason-card h3 { font-size: .97rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.reason-card p  { font-size: .84rem; color: var(--text-sub); line-height: 1.75; }

/* ---------- FAQ ---------- */
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-item__q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.faq-item__q-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: .82rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.faq-item__arrow {
  margin-left: auto;
  color: var(--gray-400);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item.is-open .faq-item__arrow { transform: rotate(180deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s;
}
.faq-item.is-open .faq-item__a { max-height: 400px; }
.faq-item__a-inner {
  padding: 0 16px 18px 56px;
  font-size: .84rem;
  color: var(--text-sub);
  line-height: 1.85;
}

/* ---------- Contact Form ---------- */
.contact-intro {
  font-size: .88rem;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 28px;
}
.contact-intro strong { color: var(--navy); }
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
}
.form-notice {
  background: var(--green-light);
  border-radius: var(--r);
  padding: 14px 16px;
  font-size: .82rem;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.75;
  border: 1px solid rgba(40,151,106,.18);
}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-label .req { color: #c0392b; margin-left: 4px; font-size: .73rem; }
.form-label .opt { color: var(--gray-400); font-size: .73rem; font-weight: 400; }
.form-ctrl {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: .9rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color .2s, background .2s;
  outline: none;
  -webkit-appearance: none;
}
.form-ctrl:focus { border-color: var(--blue); background: #fff; }
textarea.form-ctrl { min-height: 110px; resize: vertical; }
select.form-ctrl { cursor: pointer; }
.form-consent {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 14px;
  margin-bottom: 18px;
}
.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-sub);
  line-height: 1.75;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--blue);
}
.form-consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.form-consent__note {
  font-size: .76rem;
  color: var(--gray-400);
  margin-top: 10px;
  padding-left: 28px;
  line-height: 1.65;
}
.form-submit-note {
  font-size: .78rem;
  color: var(--text-sub);
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.7;
}
.form-line-note {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.form-line-note p { font-size: .8rem; color: var(--text-sub); margin-bottom: 12px; }
.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.form-success__icon { font-size: 2.4rem; margin-bottom: 12px; }
.form-success h3 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; }
.form-success p { font-size: .84rem; color: var(--text-sub); line-height: 1.75; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--green-light);
  border-radius: var(--r-lg);
  padding: 30px 22px;
  text-align: center;
  border: 1px solid rgba(40,151,106,.18);
  margin: 0 20px;
}
.cta-banner p { font-size: .87rem; color: var(--text-sub); margin-bottom: 16px; line-height: 1.8; }
.cta-banner__btns { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; padding: 72px 0; }
.final-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.5;
}
.final-cta p { color: rgba(255,255,255,.8); font-size: .88rem; line-height: 1.9; margin-bottom: 28px; }
.final-cta__quotes {
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.final-cta__quote {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-pill);
  padding: 6px 18px;
  font-size: .82rem;
  color: rgba(255,255,255,.85);
}
.final-cta__btns { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.final-cta__line-note { font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.65; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); padding: 40px 0 24px; }
.site-footer__brand {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.site-footer__brand span { color: var(--green); }
.site-footer__company { font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.site-footer__desc { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.75; margin-bottom: 22px; }
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.site-footer__links a {
  font-size: .76rem;
  color: rgba(255,255,255,.6);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.site-footer__links a:hover { color: #fff; }
.site-footer__copy {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 400;
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  display: flex;
  gap: 10px;
}
.sticky-cta .btn { flex: 1; font-size: .83rem; padding: 12px 8px; }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }

/* ---------- Legal Page ---------- */
.legal-header { padding: 14px 0; border-bottom: 1px solid var(--border); background: var(--white); }
.legal-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.legal-logo { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--navy); }
.legal-logo span { color: var(--green); }
.legal-back {
  font-size: .8rem; color: var(--text-sub);
  display: flex; align-items: center; gap: 4px;
}
.legal-back:hover { color: var(--blue); }
.legal-main { max-width: 820px; margin: 0 auto; padding: 40px 20px 80px; }
.legal-hero {
  background: linear-gradient(135deg, #f0f4fb, #e8f0f9);
  border-radius: var(--r);
  padding: 30px 24px;
  margin-bottom: 40px;
  border: 1px solid var(--border);
}
.legal-hero h1 {
  font-family: var(--font-serif);
  font-size: 1.45rem; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.legal-hero p { font-size: .86rem; color: var(--text-sub); line-height: 1.8; }
.legal-section {
  margin-bottom: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}
.legal-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.legal-section h2 {
  font-size: .97rem; font-weight: 700;
  color: var(--navy);
  padding: 9px 14px;
  background: var(--off-white);
  border-left: 3px solid var(--blue);
  border-radius: 0 6px 6px 0;
  margin-bottom: 14px;
}
.legal-section p { font-size: .86rem; color: var(--text-sub); line-height: 1.85; margin-bottom: 10px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { display: flex; flex-direction: column; gap: 7px; margin-bottom: 10px; }
.legal-section ul li {
  font-size: .86rem; color: var(--text-sub);
  padding-left: 16px; position: relative; line-height: 1.75;
}
.legal-section ul li::before { content: '・'; position: absolute; left: 0; color: var(--blue); }
.legal-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.legal-table th, .legal-table td {
  padding: 12px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--border); line-height: 1.75;
}
.legal-table th {
  width: 36%; font-weight: 700; color: var(--navy);
  background: var(--off-white); white-space: nowrap;
}
.legal-table td { color: var(--text-sub); }
.legal-table tr:last-child th,
.legal-table tr:last-child td { border-bottom: none; }
.legal-meta {
  margin-top: 36px; padding: 18px 20px;
  background: var(--off-white); border-radius: var(--r);
  border: 1px solid var(--border);
  font-size: .82rem; color: var(--text-sub); line-height: 1.8;
}
.legal-footer { background: var(--navy); padding: 30px 0; }
.legal-footer__inner { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.legal-footer__brand { font-family: var(--font-serif); font-size: .97rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.legal-footer__brand span { color: var(--green); }
.legal-footer__links { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.legal-footer__links a { font-size: .75rem; color: rgba(255,255,255,.6); text-decoration: underline; text-underline-offset: 2px; }
.legal-footer__copy { font-size: .7rem; color: rgba(255,255,255,.3); border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; }

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .hero__btns { flex-direction: row; }
  .cta-banner__btns { flex-direction: row; justify-content: center; }
  .final-cta__btns { flex-direction: row; justify-content: center; }
  .pricing-card__cta { flex-direction: row; }
}
@media (min-width: 680px) {
  .problems__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid  { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   スマホ最適化 追加スタイル
   ============================================================ */

/* ---------- ベース：スマホファースト強化 ---------- */
@media (max-width: 559px) {

  /* セクション余白をコンパクトに */
  .section { padding: 52px 0; }
  .wrap { padding: 0 16px; }

  /* ヘッダー */
  .site-header__inner { padding-top: 10px; padding-bottom: 10px; }
  .site-logo { font-size: .95rem; }
  .site-header .btn { font-size: .78rem; padding: 9px 14px; }

  /* ヒーロー */
  .hero { padding: 44px 0 52px; }
  .hero__title { font-size: 1.45rem; line-height: 1.5; }
  .hero__sub { font-size: .88rem; }
  .hero__badges { gap: 6px; }
  .hero__badge { font-size: .72rem; padding: 4px 10px; }
  .hero__price { flex-direction: row; }
  .hero__price-val { font-size: 1.35rem; }
  .hero__btns { flex-direction: column; gap: 10px; }
  .btn--lg { font-size: .97rem; padding: 15px 24px; }
  .hero__note { font-size: .78rem; }

  /* セクションタイトル */
  .sec-title { font-size: 1.25rem; }
  .sec-sub { font-size: .84rem; margin-bottom: 32px; }

  /* 悩みカード：スマホは1列 */
  .problems__grid { grid-template-columns: 1fr; gap: 10px; }
  .problem-card { padding: 14px 13px; }
  .problem-card__text { font-size: .85rem; }

  /* サービスカード：スマホは1列 */
  .services__grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 18px 14px; }
  .service-card h3 { font-size: .9rem; }
  .service-card p { font-size: .8rem; }

  /* 料金カード */
  .pricing-card__price-val { font-size: 1.75rem; }
  .pricing-card__head { padding: 24px 18px; }
  .pricing-card__body { padding: 20px 16px; }
  .pricing-card__item { font-size: .84rem; padding: 8px 0; }
  .pricing-card__cta { flex-direction: column; gap: 10px; }

  /* フロー */
  .flow-step__content h3 { font-size: .92rem; }
  .flow-step__content p { font-size: .8rem; }

  /* 理由カード */
  .reason-card { padding: 18px 14px; }
  .reason-card h3 { font-size: .92rem; }
  .reason-card p { font-size: .82rem; }

  /* FAQ */
  .faq-item__q { font-size: .84rem; padding: 16px 12px; }
  .faq-item__a-inner { padding: 0 12px 16px 48px; font-size: .82rem; }

  /* 初心者説明 */
  .explain-card { padding: 20px 16px; }
  .explain-card__head h3 { font-size: .92rem; }
  .explain-card__bubble { font-size: .82rem; }

  /* サービス概要 */
  .summary__body { padding: 22px 16px; font-size: .88rem; }

  /* CTA バナー */
  .cta-banner { padding: 24px 16px; margin: 0 16px; }
  .cta-banner__btns { flex-direction: column; gap: 10px; }
  .cta-banner p { font-size: .84rem; }

  /* ファイナルCTA */
  .final-cta { padding: 52px 0; }
  .final-cta h2 { font-size: 1.2rem; }
  .final-cta p { font-size: .84rem; }
  .final-cta__btns { flex-direction: column; gap: 10px; }
  .final-cta__quote { font-size: .78rem; padding: 5px 14px; }

  /* お問い合わせフォーム */
  .form-wrap { padding: 20px 16px; }
  .form-ctrl { font-size: .88rem; padding: 11px 12px; }
  .form-label { font-size: .8rem; }
  .contact-intro { font-size: .84rem; }

  /* 法律ページテーブル：スマホで縦並びに */
  .legal-table,
  .legal-table thead,
  .legal-table tbody,
  .legal-table th,
  .legal-table td,
  .legal-table tr { display: block; width: 100%; }
  .legal-table th {
    width: 100%;
    white-space: normal;
    border-bottom: none;
    padding: 10px 14px 4px;
    font-size: .82rem;
  }
  .legal-table td {
    padding: 4px 14px 14px;
    font-size: .82rem;
    border-bottom: 1px solid var(--border);
  }

  /* スティッキーCTA */
  .sticky-cta { padding: 8px 12px; gap: 8px; }
  .sticky-cta .btn { font-size: .8rem; padding: 11px 6px; }
  body { padding-bottom: 72px; }

  /* フッター */
  .site-footer { padding: 32px 0 20px; }
  .site-footer__links { gap: 12px; }
}

/* ---------- 中間サイズ（560〜767px）調整 ---------- */
@media (min-width: 560px) and (max-width: 767px) {
  .problems__grid { grid-template-columns: 1fr 1fr; }
  .services__grid  { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 1.6rem; }
  .sec-title { font-size: 1.4rem; }
  .pricing-card__cta { flex-direction: row; }
}

/* ---------- タッチ操作改善 ---------- */
@media (hover: none) and (pointer: coarse) {
  /* タップ領域を広く */
  .btn { min-height: 48px; }
  .faq-item__q { min-height: 52px; }
  .site-header .btn { min-height: 40px; }

  /* タップハイライト除去 */
  .btn,
  .faq-item__q,
  a { -webkit-tap-highlight-color: transparent; }

  /* ホバー効果を無効化（スマホでの意図しない表示防止） */
  .btn--line:hover,
  .btn--navy:hover,
  .btn--outline:hover { transform: none; }
}

/* ---------- 横向きスマホ対応 ---------- */
@media (max-width: 767px) and (orientation: landscape) {
  .hero { padding: 32px 0 40px; }
  .section { padding: 40px 0; }
  .sticky-cta { padding: 6px 12px; }
}

/* ---------- 文字サイズの読みやすさ確保 ---------- */
@media (max-width: 374px) {
  /* iPhone SE などの極小画面 */
  html { font-size: 15px; }
  .hero__title { font-size: 1.3rem; }
  .wrap { padding: 0 14px; }
  .sticky-cta .btn { font-size: .75rem; }
}
