/* ==========================================================
   でんき開通サポート LP
   ========================================================== */
:root {
  --navy: #0b3a6e;
  --navy-dark: #072748;
  --blue: #1f6fc5;
  --blue-light: #e9f3fd;
  --yellow: #ffc400;
  --yellow-light: #fff8dc;
  --orange: #f26b1d;
  --orange-dark: #d4530a;
  --green: #12a150;
  --green-dark: #0b7d3c;
  --red: #e0322b;
  --text: #222;
  --muted: #666;
  --line: #dde3ea;
  --bg: #fff;
  --bg-soft: #f5f8fb;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(11, 58, 110, .12);
  --header-h: 60px;
  --fixed-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  padding-bottom: var(--fixed-h);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
.sp { display: inline; }
@media (min-width: 768px) { .sp { display: none; } body { font-size: 16px; padding-bottom: 0; } }

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 720px; }
.is-hidden { display: none !important; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 3px solid var(--yellow);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header__inner {
  max-width: 1040px; margin: 0 auto; padding: 0 12px;
  height: var(--header-h); display: flex; align-items: center; gap: 10px;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); margin-right: auto; min-width: 0; }
.logo__img { display: block; height: 30px; width: auto; max-width: 100%; }
.header__form { white-space: nowrap; }
.header__cta { text-align: right; flex-shrink: 0; }
.header__label { font-size: 10px; color: var(--muted); line-height: 1.2; }
.header__tel { display: inline-flex; align-items: center; gap: 4px; font-size: 20px; font-weight: 900; color: var(--green); text-decoration: none; letter-spacing: .02em; line-height: 1.2; }
.header__tel-label { display: none; }
@media (min-width: 768px) and (max-width: 1023px) { .header__label { display: none; } }
.header__form { display: none; }
@media (max-width: 767px) {
  .header__inner { gap: 8px; }
  .logo__img { height: clamp(20px, 6.6vw, 28px); }
  .header__label { display: none; }
  /* スマホは「電話受付」「Web受付」を同じ形・同じ大きさのボタンで並べる */
  .header .header__tel, .header .header__form {
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: clamp(72px, 23vw, 92px); height: 36px; min-height: 0; padding: 0; border-radius: 999px;
    font-size: clamp(12px, 3.6vw, 14px); font-weight: 900; line-height: 1; letter-spacing: 0; white-space: nowrap;
    color: #fff; text-decoration: none;
  }
  .header .header__tel { background: var(--green); box-shadow: 0 3px 0 var(--green-dark); }
  .header .header__form { background: var(--orange); box-shadow: 0 3px 0 var(--orange-dark); }
  .header__tel svg { display: none; }
  .header__tel-label { display: inline; }
  /* 番号の文字は font-size:0 ではなく確実に非表示にする（端末の最小文字サイズ対策） */
  .header__tel [data-tel-display] {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
}
@media (min-width: 768px) {
  .header__form { display: inline-flex; }
  .logo__img { height: 38px; }
  /* PCも電話番号をボタンにする（クリックで発信。発信できない環境では番号を案内） */
  .header__cta { display: flex; align-items: center; gap: 12px; }
  .header .header__tel {
    height: 44px; padding: 0 22px; gap: 10px; border-radius: 999px; background: var(--green); color: #fff;
    font-size: 17px; box-shadow: 0 3px 0 var(--green-dark); transition: transform .15s, filter .15s;
  }
  .header .header__tel:hover { filter: brightness(1.06); transform: translateY(-1px); }
  .header .header__tel:active { transform: translateY(2px); box-shadow: none; }
  .header .header__tel svg { width: 18px; height: 18px; }
  .header__tel-label { display: inline-flex; align-items: center; gap: 10px; }
  .header__tel-label::after { content: ""; width: 1px; height: 16px; background: rgba(255, 255, 255, .55); }
  .header__tel [data-tel-display] { font-variant-numeric: tabular-nums; }
  .header .header__form { height: 44px; padding: 0 22px; font-size: 15px; align-items: center; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; min-height: 76px; padding: 12px 56px; border: 0; border-radius: 999px; cursor: pointer;
  text-decoration: none; color: #fff; font-family: inherit; font-weight: 900; line-height: 1.3; text-align: center;
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-2px); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(0, 0, 0, .25) !important; }
.btn__sub { display: inline-block; font-size: 11px; font-weight: 700; background: #fff; border-radius: 999px; padding: 1px 10px; margin-bottom: 4px; }
.btn__main { font-size: 20px; display: inline-flex; align-items: center; gap: 8px; }
.btn__num { font-size: 15px; font-weight: 700; opacity: .95; letter-spacing: .04em; }
.btn__icon { width: 22px; height: 22px; flex-shrink: 0; }
/* 右端の矢印：押せることがひと目でわかるように */
.btn:not(.btn--sm)::before {
  content: ""; position: absolute; right: 14px; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  border-radius: 50%; background: #fff;
}
.btn:not(.btn--sm)::after {
  content: ""; position: absolute; right: 27px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border: solid currentColor; border-width: 3px 3px 0 0; transform: rotate(45deg); transition: right .15s;
}
.btn:not(.btn--sm):hover::after { right: 24px; }
.btn--tel { background: var(--green); box-shadow: 0 6px 0 var(--green-dark), 0 10px 18px rgba(18, 161, 80, .28); }
.btn--tel .btn__sub, .btn--tel::after { color: var(--green); }
.btn--tel .btn__main, .btn--tel .btn__num { color: #fff; }
.btn--form { background: var(--orange); box-shadow: 0 6px 0 var(--orange-dark), 0 10px 18px rgba(242, 107, 29, .28); }
.btn--form .btn__sub, .btn--form::after { color: var(--orange); }
.btn--form .btn__main, .btn--form .btn__num { color: #fff; }
.btn--sm { width: auto; min-height: 0; padding: 8px 18px; font-size: 14px; box-shadow: 0 3px 0 var(--orange-dark); }
.btn--submit { background: var(--orange); box-shadow: 0 6px 0 var(--orange-dark), 0 10px 18px rgba(242, 107, 29, .28); margin-top: 8px; }
.btn--submit::after { color: var(--orange); }
.btn--submit .btn__main { color: #fff; }
.btn--submit[disabled] { opacity: .6; cursor: wait; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Site note（運営者の明示） ---------- */
.site-note {
  margin: 0; padding: 7px 12px; background: var(--bg-soft); border-bottom: 1px solid var(--line);
  font-size: 12px; line-height: 1.6; color: #555; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.site-note__full { display: none; }
/* 最小サイズでも1行に入らないとき（会社名が長い場合など）は、文言を切らずに2行で表示 */
.site-note.is-wrap { white-space: normal; text-overflow: clip; }
.site-note .nw { display: inline-block; }
.site-note.is-wrap .site-note__sep { display: none; }
@media (min-width: 768px) { .site-note__full { display: inline; } .site-note__short { display: none; } }

/* ---------- Main Visual ---------- */
.mv { position: relative; overflow: hidden; color: var(--navy); background: #fff; }
.mv__inner { position: relative; max-width: 1040px; margin: 0 auto; padding: 28px 16px 32px; }
.mv__lead {
  display: inline-block; background: var(--navy); color: #fff; font-weight: 900; font-size: 14px;
  padding: 4px 14px; border-radius: 999px; position: relative; z-index: 1;
}
.mv__title { margin-top: 14px; position: relative; z-index: 1; line-height: 1.25; }
.mv__title-sub { display: block; font-size: 18px; font-weight: 900; }
.mv__title-main { display: block; font-size: clamp(28px, 9.6vw, 38px); font-weight: 900; letter-spacing: .01em; }
.mv__title-main em { color: var(--orange); font-size: 1.2em; }
.mv__badges { display: flex; gap: 8px; margin-top: 18px; position: relative; z-index: 1; }
.mv__badges li {
  --size: clamp(64px, calc((100vw - 56px) / 4), 82px);
  width: var(--size); height: var(--size); flex-shrink: 0; border-radius: 50%; background: var(--yellow); color: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px; line-height: 1.15; box-shadow: 0 4px 0 rgba(0,0,0,.18);
}
.mv__badges li b { font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.mv__badges li.is-accent { background: var(--orange); color: #fff; font-size: 17px; line-height: 1.1; }
.mv__badge-note { margin-top: 10px; font-size: 11px; line-height: 1.6; color: var(--muted); position: relative; z-index: 1; }
/* 1列表示（スマホ・タブレット）はファーストビューを中央揃え */
@media (max-width: 1023px) {
  .mv__inner { text-align: center; }
  .mv__badges { justify-content: center; }
  .mv__visual { margin-left: auto; margin-right: auto; }
  .mv__notice { margin-left: auto; margin-right: auto; text-align: left; }
}
.mv__note { margin-top: 16px; font-size: 13px; font-weight: 700; color: #333; position: relative; z-index: 1; }
.mv__title-main { font-feature-settings: "palt"; }
.mv__area { margin-top: 12px; font-size: clamp(10px, 3.35vw, 14px); font-weight: 700; position: relative; z-index: 1; white-space: nowrap; overflow: hidden; }
.mv__notice {
  margin-top: 16px; font-size: 12px; line-height: 1.7; position: relative; z-index: 1; max-width: 40em;
  background: var(--bg-soft); border: 1px solid var(--line); color: #444; border-radius: 6px; padding: 8px 12px;
}
.mv__visual { position: relative; z-index: 1; margin-top: 16px; }
.mv__visual img { width: 100%; height: auto; filter: drop-shadow(0 8px 16px rgba(11, 58, 110, .12)); }
.mv__title-main .nw, .mv__area .nw { display: inline-block; }
@media (min-width: 768px) and (max-width: 1023px) { .mv__visual { max-width: 560px; } }
@media (min-width: 1024px) {
  .mv__inner { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 40px; align-items: start; }
  .mv__inner > * { grid-column: 1; }
  .mv__inner > .mv__lead { justify-self: start; }
  .mv__inner > .mv__visual { grid-column: 2; grid-row: 1 / span 7; align-self: center; margin-top: 0; }
}
.mv__title, .mv__badges, .mv__note { text-wrap: balance; }
@media (min-width: 768px) {
  .mv__inner { padding: 56px 24px 64px; }
  .mv__lead { font-size: 18px; }
  .mv__title-sub { font-size: 34px; }
  .mv__title-main { font-size: 44px; }
  .mv__badges li { --size: 110px; font-size: 24px; }
  .mv__badges li.is-accent { font-size: 22px; }
  .mv__badge-note { font-size: 12px; }
  .mv__badges li b { font-size: 14px; }
  .mv__note { font-size: 17px; }
  .mv__area { font-size: 17px; }
  .mv__notice { font-size: 13px; }
}

/* ---------- CTA ---------- */
.cta { background: var(--yellow-light); padding: 22px 16px 26px; }
.cta--alt { background: var(--blue-light); }
.cta__inner { max-width: 720px; margin: 0 auto; }
.cta__catch { text-align: center; font-weight: 900; color: var(--navy); font-size: 16px; margin-bottom: 12px; }
.cta__buttons { display: flex; flex-direction: column; gap: 16px; }
.cta__hours { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }
.cta__status {
  display: flex; justify-content: center; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: -2px auto 16px;
  padding: 8px 20px; border-radius: 999px; background: #fff; border: 2px solid var(--green); color: var(--green-dark);
  font-size: 16px; font-weight: 900; line-height: 1.4; box-shadow: 0 3px 10px rgba(18, 161, 80, .15);
  white-space: nowrap; overflow: hidden;
}
@media (max-width: 359px) { .cta__status { padding: 8px 12px; gap: 8px; } }
.cta__status.is-closed { border-color: #c2cad3; color: #4a5562; box-shadow: none; }
@media (min-width: 768px) { .cta__status { font-size: 18px; padding: 9px 24px; } }
.cta__status[hidden] { display: none; }
.cta__status .dot { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.cta__status .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: live 1.8s ease-out infinite; }
.cta__status.is-closed .dot { background: #9aa4ae; }
.cta__status.is-closed .dot::after { display: none; }
@keyframes live { from { transform: scale(1); opacity: .6; } to { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cta__status .dot::after { animation: none; } }
@media (min-width: 768px) {
  .cta { padding: 32px 24px 36px; }
  .cta__buttons { flex-direction: row; }
  .cta__catch { font-size: 20px; }
}

/* ---------- Section common ---------- */
.section { padding: 48px 0; }
.section:nth-of-type(even) { background: var(--bg-soft); }
.section__title {
  text-align: center; font-size: 22px; font-weight: 900; color: var(--navy); line-height: 1.45; margin-bottom: 28px; text-wrap: balance;
}
.section__title em { color: var(--orange); font-size: 1.3em; }
.section__title-en {
  display: block; font-size: 12px; letter-spacing: .2em; color: var(--blue); font-weight: 700; margin-bottom: 4px;
}
.section__title::after {
  content: ""; display: block; width: 48px; height: 4px; border-radius: 2px; background: var(--yellow); margin: 12px auto 0;
}
@media (min-width: 768px) { .section { padding: 80px 0; } .section__title { font-size: 30px; margin-bottom: 44px; } }

/* ---------- Worries ---------- */
.worries__list { max-width: 640px; margin: 0 auto; display: grid; gap: 10px; }
.worries__list li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px 12px 44px; position: relative; font-weight: 500;
}
.worries__list li::before {
  content: "✓"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 4px; background: var(--red); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 900;
}
.worries__list strong { color: var(--red); }
.worries__answer { text-align: center; margin-top: 28px; position: relative; }
.worries__answer::before {
  content: ""; display: block; width: 0; height: 0; margin: 0 auto 16px;
  border-left: 40px solid transparent; border-right: 40px solid transparent; border-top: 22px solid var(--yellow);
}
.worries__answer p { font-weight: 900; color: var(--navy); font-size: 18px; }
.worries__answer strong { display: block; font-size: 26px; color: var(--orange); }
@media (min-width: 768px) { .worries__answer strong { font-size: 36px; } }

/* ---------- Reasons ---------- */
.reasons__list { display: grid; gap: 24px; max-width: 960px; margin: 0 auto; }
.reason {
  display: grid; gap: 18px; background: #fff; border-radius: 24px; padding: 14px 14px 22px;
  box-shadow: 0 12px 32px rgba(11, 58, 110, .08);
}
.reason__visual { position: relative; border-radius: 18px; aspect-ratio: 3 / 2; max-width: 100%; display: grid; place-items: center; overflow: hidden; }
.reason__visual svg { width: 82%; height: auto; }
.reason__visual--yellow { background: #fff4cc; }
.reason__visual--blue { background: #e4f0fc; }
.reason__visual--green { background: #e3f5ea; }
.reason__num {
  font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px var(--blue);
}
.reason__body { padding: 0 8px; }
.reason__label { display: flex; align-items: flex-end; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--blue); }
.reason__title { font-size: 21px; font-weight: 900; color: var(--navy); line-height: 1.5; margin: 2px 0 8px; }
.reason__title .hl { background: linear-gradient(transparent 62%, #ffe27a 62%); padding: 0 2px; }
.reason__text { font-size: 14px; color: #444; }
.reasons__note { font-size: 12px; color: var(--muted); max-width: 960px; margin: 20px auto 0; }
@media (min-width: 768px) {
  .reasons__list { gap: 32px; }
  .reason { grid-template-columns: 5fr 6fr; align-items: center; gap: 40px; padding: 20px 40px 20px 20px; }
  .reason:nth-child(even) { grid-template-columns: 6fr 5fr; padding: 20px 20px 20px 40px; }
  .reason:nth-child(even) .reason__visual { order: 2; }
  .reason__num { font-size: 56px; }
  .reason__title { font-size: 26px; }
  .reason__text { font-size: 15px; }
}

/* ---------- Trouble banner（あれ？電気止まっちゃった？） ---------- */
.trouble { padding: 48px 0 0; }
.trouble__box {
  display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 880px; margin: 0 auto;
  background: var(--yellow-light); border: 2px solid var(--yellow); border-radius: 24px; padding: 28px 18px 24px;
}
.trouble__visual { position: relative; width: 96px; height: 96px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.trouble__ill { width: 64px; height: 64px; filter: grayscale(1); opacity: .55; }
.trouble__q {
  position: absolute; right: -4px; top: -4px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 900; font-size: 20px; display: grid; place-items: center;
}
.trouble__bubble {
  position: relative; display: inline-block; background: #fff; border: 2px solid var(--navy); border-radius: 999px;
  padding: 6px 18px; font-weight: 900; font-size: 16px; color: var(--navy); margin-bottom: 12px;
}
.trouble__bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px; margin-left: -7px; background: #fff;
  border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.trouble__title { font-size: 21px; font-weight: 900; color: var(--navy); line-height: 1.5; }
.trouble__title em { color: var(--orange); }
.trouble__text { font-size: 14px; color: #444; margin: 8px auto 16px; max-width: 34em; text-align: left; }
.trouble__btn { max-width: 420px; margin: 0 auto; }
@media (min-width: 768px) {
  .trouble { padding: 72px 0 0; }
  .trouble__box { grid-template-columns: 150px 1fr; justify-items: start; text-align: left; gap: 32px; padding: 32px 40px; align-items: center; }
  .trouble__visual { width: 150px; height: 150px; }
  .trouble__ill { width: 96px; height: 96px; }
  .trouble__q { width: 44px; height: 44px; font-size: 26px; }
  .trouble__bubble::after { left: 36px; }
  .trouble__title { font-size: 26px; }
  .trouble__text { margin: 8px 0 18px; }
  .trouble__btn { margin: 0; }
}

/* ---------- Flow ---------- */
.flow__list { display: grid; gap: 28px; max-width: 720px; margin: 0 auto; counter-reset: step; }
.flow__item {
  display: flex; gap: 14px; align-items: center; background: #fff; border-radius: var(--radius); padding: 18px 16px;
  box-shadow: var(--shadow); position: relative;
}
.flow__item:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 14px solid var(--blue);
}
.flow__step {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; line-height: 1.1;
}
.flow__step b { font-size: 24px; color: var(--yellow); }
.flow__item h3 { font-size: 17px; color: var(--navy); font-weight: 900; }
.flow__item p { font-size: 14px; color: #444; }

/* ---------- Lifeline ---------- */
.lifeline__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 720px; margin: 0 auto; }
.lifeline__grid li {
  background: #fff; border: 2px solid var(--blue-light); border-radius: var(--radius); padding: 18px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.lifeline__ill { width: 64px; height: 64px; margin-bottom: 4px; }
.lifeline__grid b { font-size: 18px; color: var(--navy); }
.lifeline__grid small { font-size: 12px; color: var(--muted); }
.lifeline__note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 14px; }
@media (min-width: 768px) { .lifeline__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Compare ---------- */
.compare__table-wrap { max-width: 720px; margin: 0 auto; }
.compare__table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 13px; table-layout: fixed; }
.compare__table th, .compare__table td { padding: 12px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.compare__table thead th { background: #8a96a3; color: #fff; font-weight: 700; }
.compare__table thead th:first-child { background: #fff; }
.compare__table thead th.is-us { background: var(--navy); font-size: 15px; }
.compare__table tbody th { background: var(--bg-soft); color: var(--navy); font-weight: 700; width: 26%; }
.compare__table td.is-us { background: var(--yellow-light); font-weight: 700; }
.compare__table td.is-us b { color: var(--orange); font-size: 1.2em; }
.compare__table tr:last-child th, .compare__table tr:last-child td { border-bottom: 0; }
@media (min-width: 768px) { .compare__table { font-size: 15px; } }

/* ---------- Area ---------- */
.area__lead { text-align: center; font-weight: 700; margin-bottom: 16px; }
.area__list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 820px; margin: 0 auto; }
.area__list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 13px; }
.area__list--pref { gap: 10px; max-width: 640px; }
.area__list--pref li { font-size: 16px; font-weight: 700; color: var(--navy); padding: 8px 20px; border: 2px solid var(--blue-light); }
.area__note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ---------- Use cases ---------- */
.usecase__grid { display: grid; gap: 16px; }
.usecase__item { background: #fff; border-radius: var(--radius); padding: 20px 18px; border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.usecase__tag { justify-self: start; font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-light); border-radius: 999px; padding: 2px 12px; }
.usecase__item h3 { font-size: 17px; font-weight: 900; color: var(--navy); line-height: 1.45; }
.usecase__item p:not(.usecase__tag) { font-size: 14px; color: #444; }
@media (min-width: 768px) { .usecase__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

/* ---------- FAQ ---------- */
.faq__list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq__item { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 14px 44px 14px 48px; position: relative; font-weight: 700; color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "Q"; position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 13px;
}
.faq__item summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--blue); transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 16px 16px 48px; position: relative; font-size: 14px; }
.faq__item p::before {
  content: "A"; position: absolute; left: 14px; top: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700;
}

/* ---------- Form ---------- */
.form-section { background: #fff !important; }
.form-section__lead { text-align: center; color: #444; font-size: 14px; margin: -12px 0 20px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px 26px; box-shadow: var(--shadow); }
.form__row { margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.form__row > label, .form__row > legend { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 6px; font-size: 14px; padding: 0; }
.req, .opt { font-size: 11px; padding: 1px 6px; border-radius: 3px; color: #fff; font-weight: 700; }
.req { background: var(--red); }
.opt { background: #9aa4ae; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="date"], .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px; border: 1px solid #c7d0da; border-radius: 8px; background: #fafcfe;
}
.form input:focus, .form textarea:focus { outline: 3px solid rgba(31,111,197,.25); border-color: var(--blue); background: #fff; }
.form .is-invalid { border-color: var(--red) !important; background: #fff5f5 !important; }
.form__checks label:has(input.is-invalid) { border-color: var(--red); background: #fff5f5; }
.form__error { color: var(--red); font-size: 12px; margin-top: 4px; min-height: 0; }
.form__zip { display: flex; gap: 8px; }
.form__zip input { flex: 1; }
.btn-zip { flex-shrink: 0; border: 0; border-radius: 8px; background: var(--blue); color: #fff; font: inherit; font-size: 13px; font-weight: 700; padding: 0 12px; cursor: pointer; }
.form__checks { display: flex; flex-wrap: wrap; gap: 8px; }
.form__checks label {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #c7d0da; border-radius: 8px; font-size: 14px; cursor: pointer; background: #fafcfe;
}
.form__checks label:has(input:checked) { border-color: var(--blue); background: var(--blue-light); font-weight: 700; }
.form__checks input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.form__agree { text-align: center; margin: 22px 0 8px; font-size: 14px; }
.form__agree label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.form__agree input { width: 20px; height: 20px; accent-color: var(--orange); }
.form__status { text-align: center; margin-top: 12px; font-weight: 700; font-size: 14px; }
.form__status.is-error { color: var(--red); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 768px) { .form { padding: 36px 40px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: #cfd9e5; padding: 36px 0 24px; font-size: 13px; }
.footer__company { display: grid; gap: 6px; max-width: 560px; margin: 0 auto 18px; }
.footer__company div { display: grid; grid-template-columns: 7em 1fr; gap: 8px; }
.footer__company dt { color: #fff; font-weight: 700; }
.footer__company dd { margin: 0; }
.footer__company a { color: #fff; }
.footer__disclaimer { text-align: center; font-size: 12px; margin-bottom: 14px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 14px; }
.footer__nav a { color: #fff; }
.footer__copy { text-align: center; font-size: 11px; opacity: .7; }

/* ---------- Fixed CTA (SP) ---------- */
.fixed-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255,255,255,.96);
  box-shadow: 0 -4px 12px rgba(0,0,0,.12); padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .25s;
}
.fixed-cta.is-show { transform: none; }
.fixed-cta__inner { display: flex; gap: 8px; }
.fixed-cta__btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none;
  color: #fff; font-weight: 900; font-size: 15px; line-height: 1.2; border-radius: 10px; padding: 8px 4px; min-height: 52px;
}
.fixed-cta__btn { position: relative; padding-right: 18px; }
.fixed-cta__btn::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border: solid #fff; border-width: 2.5px 2.5px 0 0; transform: rotate(45deg); }
.fixed-cta__btn:active { transform: translateY(3px); box-shadow: none !important; }
.fixed-cta__btn small { font-size: 10px; font-weight: 700; opacity: .95; }
.fixed-cta__btn--tel { background: var(--green); box-shadow: 0 3px 0 var(--green-dark); }
.fixed-cta__btn--form { background: var(--orange); box-shadow: 0 3px 0 var(--orange-dark); }
@media (min-width: 768px) { .fixed-cta { display: none; } }

/* ---------- Entry popup（ページを開いた直後） ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7, 39, 72, .62); }
.ep {
  position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: #fff;
  border-radius: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); color: var(--navy); animation: pop .25s ease-out; outline: none;
}
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
.ep__close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; font-size: 22px; line-height: 36px; cursor: pointer; z-index: 1; }
.ep__head { background: var(--navy); color: #fff; padding: 20px 48px 16px; text-align: center; }
.ep__head p { font-size: 13px; font-weight: 700; opacity: .85; }
.ep__head h2 { font-size: 24px; font-weight: 900; line-height: 1.35; margin-top: 2px; }
.ep__head h2 em { font-style: normal; color: var(--yellow); }
.ep__head .nw, .ep__res .nw { display: inline-block; }
.ep__body { padding: 18px 20px 20px; }
.ep__ask { text-align: center; font-weight: 900; font-size: 16px; margin-bottom: 12px; }
.ep__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ep__tile {
  position: relative; border: 2px solid #dbe3ec; border-radius: 16px; padding: 12px 4px 10px; background: #fff; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--navy); transition: border-color .15s, background .15s, transform .1s;
}
.ep__tile:hover { border-color: #f5b48c; }
.ep__tile:active { transform: scale(.97); }
.ep__tile svg { width: 52px; height: 52px; display: block; margin: 0 auto 6px; }
.ep__tile[aria-pressed="true"] { border-color: var(--orange); background: #fff5ee; }
.ep__tile[aria-pressed="true"]::after {
  content: ""; position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.ep__res { text-align: center; margin: 14px 0 10px; font-weight: 900; font-size: 16px; line-height: 1.5; min-height: 1.5em; }
.ep__res em { font-style: normal; color: var(--orange); }
.ep__status { margin: 0 auto 12px; font-size: 13px; padding: 4px 14px; }
.ep__tel {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 62px;
  border-radius: 999px; background: var(--green); color: #fff; text-decoration: none; font-weight: 900; box-shadow: 0 5px 0 var(--green-dark);
}
.ep__tel:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--green-dark); }
.ep__tel b { font-size: 18px; display: inline-flex; align-items: center; gap: 8px; }
.ep__tel b svg { width: 20px; height: 20px; }
.ep__tel small { font-size: 13px; font-weight: 700; }
.ep__tel::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border: solid #fff; border-width: 3px 3px 0 0; transform: rotate(45deg); }
.ep__web { display: block; text-align: center; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--blue); }
@media (max-width: 767px) { .ep__head h2 { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { .ep { animation: none; } }

/* ---------- PCで電話ボタンを押したときの番号案内 ---------- */
.tel-toast {
  position: fixed; z-index: 300; top: 72px; right: 24px; width: 320px; background: #fff; border-radius: 16px;
  box-shadow: 0 16px 40px rgba(11, 58, 110, .25); border: 2px solid var(--green); padding: 16px 18px 14px; text-align: center;
  font-family: inherit; color: var(--navy); animation: toast-in .2s ease-out;
}
.tel-toast[hidden] { display: none; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.tel-toast p { font-size: 13px; font-weight: 700; }
.tel-toast strong { display: block; font-size: 30px; font-weight: 900; color: var(--green); letter-spacing: .03em; margin: 2px 0; font-variant-numeric: tabular-nums; }
.tel-toast small { display: block; font-size: 12px; color: var(--muted); }
.tel-toast button { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 20px; color: var(--muted); cursor: pointer; }

/* ===== プライバシーポリシー（ページ・フォーム内ダイアログ共通） ===== */
.policy h2 { font-size: 17px; color: var(--navy); margin: 28px 0 8px; border-left: 4px solid var(--yellow); padding-left: 10px; }
.policy p, .policy li { font-size: 14px; }
.policy ul { list-style: disc; padding-left: 1.4em; }
.form__agree a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pd { width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); color: var(--text); }
.pd::backdrop { background: rgba(7, 39, 72, .62); }
.pd__head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--navy); color: #fff; padding: 14px 16px 14px 20px; }
.pd__head h2 { font-size: 17px; font-weight: 900; }
.pd__close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .18); color: #fff; font-size: 22px; line-height: 36px; cursor: pointer; }
.pd__body { padding: 4px 20px 20px; }
.pd__body > h2:first-child { margin-top: 16px; }
.pd__foot { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 12px 20px; text-align: center; }
.pd__foot button { font: inherit; font-weight: 700; font-size: 15px; color: #fff; background: var(--navy); border: 0; border-radius: 999px; padding: 10px 36px; cursor: pointer; }
