@charset "utf-8";

/* ============================================================
   家庭の電気工事LP  /denki/

   方針
   - 一般のご家庭が読むサービスLP。角丸カード・写真・アイコン・面の色替えで
     セクションごとに表情を変え、次々と目に入ってくる誌面にする。
   - 白のセクションを連続させない。白／淡い青／クリームを交互に置き、
     境目には波（スカラップ）や帯を入れて区切りを分かりやすくする。
   - 見出しは大きく太く。料金・数字・強調語は色とサイズではっきり立てる。
   - ただし装飾は「賑やか」まで。基調はタイセイの青に置き、
     安売りチラシではなく有資格の電気工事店に見えるところで止める。
   ============================================================ */

:root {
  /* 青（コーポレートサイトと共通） */
  --blue: #007bb8;
  --blue-dark: #005c88;
  --blue-ink: #053a5e;
  --blue-pale: #e9f4fb;
  --blue-soft: #cfe7f6;

  /* 赤・橙（注意喚起と電話CTA） */
  --red: #d70035;
  --red-dark: #a4002a;
  --red-pale: #fdeef1;
  --orange: #ff7a1a;
  --orange-dark: #e35f00;

  /* 黄・クリーム（親しみ・マーカー） */
  --yellow: #ffc832;
  --yellow-soft: #ffe9a6;
  --cream: #fff7ea;

  /* LINEブランド色 */
  --line: #06c755;
  --line-dark: #04a948;

  /* 文字・罫 */
  --ink: #1d2733;
  --ink-soft: #5b6773;
  --rule: #e2e9f0;
  --gray-pale: #f4f7fa;

  --jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Meiryo", sans-serif;
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "M PLUS Rounded 1c", var(--jp);
  --num: "Baloo 2", "Zen Maru Gothic", var(--jp);

  --page: 1120px;
  --r-lg: 26px;
  --r-md: 16px;
  --r-sm: 10px;

  --shadow: 0 12px 30px rgba(5, 58, 94, 0.11);
  --shadow-sm: 0 4px 14px rgba(5, 58, 94, 0.08);
  --shadow-btn: 0 6px 0 rgba(0, 0, 0, 0.14);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--jp);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "palt" 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--blue-dark);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.45;
  font-family: var(--round);
  font-weight: 700;
}

p {
  margin: 0 0 1.1em;
}

strong {
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  z-index: 999;
  background: #fff;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  border: 2px solid var(--blue);
}

/* 共通の幅 */
.wrap {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: 24px;
}

/* 黄色のマーカー。重要な言葉だけに使う */
.marker {
  background: linear-gradient(transparent 56%, var(--yellow-soft) 56%);
  padding-inline: 2px;
}

.em-red {
  color: var(--red);
  font-weight: 700;
}

.em-blue {
  color: var(--blue-dark);
  font-weight: 700;
}


/* アイコンの実体（画面には出さない） */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* スマホでだけ効かせる改行 */
.br-sp {
  display: none;
}

/* アイコン */
.ico {
  width: 1.5em;
  height: 1.5em;
  display: block;
  flex: none;
}

/* 丸いアイコン台 */
.ico-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-pale);
  color: var(--blue);
  flex: none;
}

.ico-badge--red {
  background: var(--red-pale);
  color: var(--red);
}

.ico-badge--yellow {
  background: var(--yellow-soft);
  color: #a56a00;
}

/* ------------------------------------------------------------
   ボタン（角丸ピル・押せる厚み）
------------------------------------------------------------ */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 13px 30px 15px;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  text-align: center;
  box-shadow: var(--shadow-btn);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn:hover {
  transform: translateY(3px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.14);
  filter: brightness(1.04);
}

.btn__sub {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  opacity: 0.95;
}

.btn__main {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-family: var(--round);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.btn__main .ico {
  width: 1.15em;
  height: 1.15em;
}


.btn--tel {
  background: linear-gradient(180deg, #ff8f38 0%, var(--orange) 55%, var(--orange-dark) 100%);
}

.btn--line {
  background: linear-gradient(180deg, #2fd97a 0%, var(--line) 55%, var(--line-dark) 100%);
}

.btn--red {
  background: linear-gradient(180deg, #ec2a55 0%, var(--red) 55%, var(--red-dark) 100%);
}

.btn--white {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 6px 0 rgba(5, 58, 94, 0.22);
}

.btn--lg {
  padding: 16px 40px 18px;
}

.btn--lg .btn__main {
  font-size: 24px;
}

.btn--block {
  display: flex;
  width: 100%;
}

/* 今すぐ連絡してよい窓口であることを、ゆっくりした波紋で伝える */
.btn--now {
  position: relative;
  isolation: isolate;
}

.btn--now::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  animation: btn-now 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

.btn--tel.btn--now::after {
  --now: 255, 122, 26;
}

.btn--line.btn--now::after {
  --now: 6, 199, 85;
}

@keyframes btn-now {

  0%,
  62% {
    box-shadow: 0 0 0 0 rgba(var(--now), 0.42);
  }

  100% {
    box-shadow: 0 0 0 17px rgba(var(--now), 0);
  }
}

/* ------------------------------------------------------------
   ヘッダー
------------------------------------------------------------ */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 4px solid var(--blue);
  box-shadow: 0 2px 12px rgba(5, 58, 94, 0.07);
}

.masthead__inner {
  max-width: var(--page);
  margin-inline: auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.masthead__logo img {
  width: 228px;
}

.masthead__lede {
  margin: 0;
  font-family: var(--round);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--blue-ink);
}

.masthead__lede span {
  display: block;
  margin-top: 3px;
  font-family: var(--jp);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--ink-soft);
}

.masthead__contact {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.masthead__tel {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue-ink);
  text-decoration: none;
}

.masthead__tel .ico {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.masthead__tel strong {
  display: block;
  font-family: var(--num);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.masthead__tel span {
  display: block;
  font-size: 10px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.masthead__line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--line);
  color: #fff;
  font-family: var(--round);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--line-dark);
}

.masthead__line .ico {
  width: 19px;
  height: 19px;
}

/* ------------------------------------------------------------
   ヒーロー
------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 200, 50, 0.16) 0 240px, transparent 241px),
    radial-gradient(circle at 92% 8%, rgba(0, 123, 184, 0.12) 0 300px, transparent 301px),
    linear-gradient(170deg, #f4fbff 0%, var(--blue-pale) 62%, #ddeefa 100%);
}

/* 背景の細かいドット */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 123, 184, 0.13) 1.6px, transparent 1.7px);
  background-size: 17px 17px;
  opacity: 0.7;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--page);
  margin-inline: auto;
  padding: 38px 24px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.hero__kicker {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px 6px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--round);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero__kicker .ico {
  width: 16px;
  height: 16px;
}

.hero__title {
  font-size: clamp(27px, 3.6vw, 43px);
  font-weight: 700;
  line-height: 1.36;
  letter-spacing: 0.005em;
  color: var(--blue-ink);
  word-break: auto-phrase;
}

/* 見出し1行目の工事範囲 */
.hero__title .hero__q {
  display: block;
  margin-bottom: 8px;
  font-size: 0.62em;
  line-height: 1.55;
  color: var(--blue-dark);
}

.hero__title em {
  font-style: normal;
  display: inline-block;
  margin-top: 6px;
  color: var(--red);
}

.hero__lead {
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 1.95;
  color: #33414f;
}

.hero__points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px 7px 11px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--blue-soft);
  font-family: var(--round);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-ink);
  box-shadow: var(--shadow-sm);
}

.hero__points .ico {
  width: 17px;
  height: 17px;
  color: var(--line);
}

/* 2つのCTAは同じ幅で並べる。折り返すと弱く見えるため */
.hero__actions {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero__actions .btn__main {
  font-size: 22px;
}

.hero__actions .btn__sub {
  white-space: nowrap;
}


.hero__urgent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 20px 0 0;
  padding: 11px 15px;
  border: 1px solid #f6c6d2;
  border-radius: var(--r-md);
  background: var(--red-pale);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink);
}

.hero__urgent .ico {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  color: var(--red);
}

.hero__urgent strong {
  color: var(--red-dark);
}

.hero__note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
}

/* 写真まわり */
.hero__visual {
  position: relative;
  padding: 8px 8px 26px;
}

.hero__photo {
  margin: 0;
  border: 7px solid #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(1.4deg);
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #e8eef2;
}

/* 創業50年の丸シール */
.hero__seal {
  position: absolute;
  left: -10px;
  top: -8px;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: var(--yellow);
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(-9deg);
  font-family: var(--round);
  color: #6a4200;
  line-height: 1.25;
}

.hero__seal b {
  display: block;
  font-family: var(--num);
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.hero__seal span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
}

/* 写真下のひとこと（吹き出し） */
.hero__bubble {
  position: absolute;
  right: 6px;
  bottom: -4px;
  margin: 0;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--blue-ink);
  color: #fff;
  font-family: var(--round);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
}


.hero__bubble::after {
  content: "";
  position: absolute;
  left: 32px;
  top: -9px;
  border: 6px solid transparent;
  border-bottom-color: var(--blue-ink);
}

/* 4つの実績カード */
.facts {
  position: relative;
  max-width: var(--page);
  margin: 6px auto 0;
  padding: 0 24px 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}


.facts>div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}


.facts dt {
  position: absolute;
  left: -9999px;
}

.facts dd {
  margin: 0;
  font-family: var(--round);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--blue-ink);
}

.facts dd span {
  display: block;
  font-family: var(--jp);
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* 症状ショートカット */
.symptom-nav {
  position: relative;
  background: var(--blue-ink);
  padding: 22px 0 26px;
}

.symptom-nav__head {
  max-width: var(--page);
  margin: 0 auto 14px;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--round);
  font-size: 17px;
  font-weight: 700;
}

.symptom-nav__head .ico {
  width: 22px;
  height: 22px;
  color: var(--yellow);
}


.symptom-nav ol {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.symptom-nav a {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 10px 14px 10px 10px;
  background: #fff;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s ease;
}

.symptom-nav a:hover {
  transform: translateY(-3px);
}

.symptom-nav img {
  width: 76px;
  height: 62px;
  object-fit: cover;
  border-radius: var(--r-sm);
}

.symptom-nav strong {
  display: block;
  font-family: var(--round);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-ink);
  line-height: 1.4;
}

.symptom-nav a>span {
  display: block;
  min-width: 0;
}

.symptom-nav strong+span {
  display: block;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.symptom-nav em {
  font-style: normal;
  display: inline-block;
  margin-right: 5px;
  font-family: var(--num);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
}

/* ------------------------------------------------------------
   セクション共通
------------------------------------------------------------ */
.sec {
  position: relative;
  padding: 54px 0 58px;
}


.sec--pale {
  background: var(--blue-pale);
}

.sec--cream {
  background: var(--cream);
}

.sec--gray {
  background: var(--gray-pale);
}

.sec--warn {
  background: linear-gradient(180deg, #fff1f3 0%, var(--cream) 100%);
}

/* 上辺の波（スカラップ）。セクションの切り替わりを分かりやすくする */
.scallop::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -19px;
  height: 20px;
  background:
    radial-gradient(ellipse 40px 20px at 50% 100%, var(--scallop, #fff) 99%, transparent 100%) 0 0 / 80px 20px repeat-x;
  pointer-events: none;
}


/* 見出しのかたまり */
.sec__head {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.sec__head--left {
  max-width: none;
  text-align: left;
}

.sec__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 5px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--round);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sec__label .ico {
  width: 16px;
  height: 16px;
}

.sec--warn .sec__label {
  background: var(--red);
}

.sec__title {
  font-size: clamp(23px, 2.9vw, 34px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.01em;
  color: var(--blue-ink);
}

.sec--warn .sec__title {
  color: #7c0a24;
}

/* 見出し下の三点飾り */
.sec__head::after {
  content: "";
  display: block;
  width: 74px;
  height: 8px;
  margin: 16px auto 0;
  background:
    radial-gradient(circle, var(--blue) 48%, transparent 50%) 0 0 / 26px 8px repeat-x;
  opacity: 0.85;
}


.sec__head--left::after {
  margin-inline: 0;
}

.sec--warn .sec__head::after {
  background-image: radial-gradient(circle, var(--red) 48%, transparent 50%);
}

.sec__lead {
  margin: 16px auto 0;
  max-width: 44em;
  font-size: 14.5px;
  line-height: 1.95;
  color: #3a4653;
}

.sec__head--left .sec__lead {
  margin-inline: 0;
}

.sec__note {
  margin: 20px 0 0;
  padding: 14px 18px;
  background: #fff;
  border: 2px dashed var(--blue-soft);
  border-radius: var(--r-md);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* 白いカード */
.card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px 26px 20px;
}


.card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.card__head h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-ink);
  line-height: 1.4;
}

.card p:last-child {
  margin-bottom: 0;
}

/* 危険を伝えるカードだけ赤みを持たせる */
.card--danger {
  background: var(--red-pale);
  border: 2px solid rgba(215, 0, 53, 0.25);
}

.card--danger .card__head h3 {
  color: var(--red-dark);
}

/* ------------------------------------------------------------
   こんな症状は危険（warn）
------------------------------------------------------------ */
.warn-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.warn-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-radius: var(--r-md);
  border-left: 6px solid var(--red);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  line-height: 1.7;
}

.warn-list li .ico {
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: var(--red);
}

.warn-list strong {
  color: var(--red-dark);
}

.notice {
  margin-top: 22px;
  padding: 20px 24px 14px;
  background: #fff;
  border: 3px solid var(--red);
  border-radius: var(--r-lg);
}

.notice__head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  font-family: var(--round);
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
}

.notice__head .ico {
  width: 24px;
  height: 24px;
}

.notice p:last-child {
  margin-bottom: 0;
  font-size: 14px;
}

/* ------------------------------------------------------------
   CTA帯（本文の途中に挟むもの）
------------------------------------------------------------ */
.cta-band {
  position: relative;
  margin: 34px auto 0;
  max-width: 940px;
  padding: 26px 28px 24px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 200, 50, 0.22) 0 170px, transparent 171px),
    linear-gradient(160deg, var(--blue-ink) 0%, #0a4c79 100%);
  color: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.cta-band__head {
  margin: 0 0 4px;
  font-family: var(--round);
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 700;
  line-height: 1.5;
}

/* 濃紺の上では黄色の帯が濁るので、文字色そのものを黄色にする。
   inline-block にしておくと、強調した一続きの言葉が途中で折り返さない */
.cta-band__head .marker {
  display: inline-block;
  background: none;
  color: var(--yellow);
}

.cta-band__lead {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: #d7e8f4;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.cta-band__note {
  margin: 14px 0 0;
  font-size: 12px;
  color: #bcd6e7;
}

/* ------------------------------------------------------------
   症状別セクション
------------------------------------------------------------ */
.symptom__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.symptom__badge {
  flex: none;
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 6px 0 rgba(0, 92, 136, 0.55);
  transform: rotate(-3deg);
}

.symptom__badge b {
  display: block;
  font-family: var(--num);
  font-size: 34px;
  font-weight: 700;
}

.symptom__badge span {
  display: block;
  font-family: var(--round);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}


.symptom__head h2 {
  font-size: clamp(21px, 2.7vw, 32px);
  color: var(--blue-ink);
  line-height: 1.38;
}

.symptom__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
}

.symptom__cards {
  display: grid;
  gap: 16px;
}

.symptom__cards p {
  font-size: 14px;
}

.symptom__cards p:last-child {
  margin-bottom: 0;
}

.symptom__fig {
  margin: 0;
  position: sticky;
  top: 112px;
}

.symptom__fig img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}

.symptom__fig figcaption {
  margin-top: 10px;
  padding: 9px 14px;
  background: #fff;
  border-radius: var(--r-md);
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

.sec--pale .symptom__fig figcaption,
.sec--cream .symptom__fig figcaption {
  background: #fff;
}

/* 手順 */
.card--step {
  background: var(--cream);
  border: 2px solid var(--yellow);
}

.sec--cream .card--step {
  background: #fffdf7;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 9px;
}

.steps li {
  position: relative;
  padding: 9px 14px 9px 46px;
  background: #fff;
  border-radius: var(--r-sm);
  counter-increment: step;
  font-size: 14px;
  line-height: 1.7;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 10px;
  top: 11px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--num);
  font-size: 15px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}

/* チェック一覧 */
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.check-list li {
  position: relative;
  padding: 7px 12px 7px 36px;
  background: var(--blue-pale);
  border-radius: var(--r-sm);
  font-size: 14px;
  line-height: 1.7;
}

.sec--pale .check-list li {
  background: #fff;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 13px;
  width: 14px;
  height: 9px;
  border-left: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  transform: rotate(-45deg);
}

/* 用語の定義（ブレーカーの種類） */
.def-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.def-list dt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  font-family: var(--round);
  font-size: 14.5px;
  font-weight: 700;
}

.def-list dd {
  margin: -10px 0 0;
  padding: 12px 15px;
  background: var(--blue-pale);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: 13.5px;
  line-height: 1.8;
  color: #3a4653;
}

.sec--pale .def-list dd {
  background: #f6fbfe;
}

/* ------------------------------------------------------------
   対応できる工事（カード）
------------------------------------------------------------ */
.works {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.works li {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.works li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.works figure {
  margin: 0;
  position: relative;
}

.works figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--gray-pale);
}

.works__body {
  padding: 14px 17px 18px;
}

.works h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 16px;
  color: var(--blue-ink);
}

.works h3 .ico {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.works p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

/* 一覧の最後に置く「ほかの工事もどうぞ」カード */
.works--more {
  background: var(--blue-pale);
  border: 2px dashed var(--blue-soft);
}

.works--more a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  min-height: 190px;
  padding: 22px 18px;
  text-align: center;
  text-decoration: none;
  color: var(--blue-ink);
}

.works--more .ico-badge {
  background: var(--blue);
  color: #fff;
}

.works--more strong {
  font-family: var(--round);
  font-size: 15.5px;
  line-height: 1.55;
}

.works--more a>span:last-child {
  font-size: 12px;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   料金
------------------------------------------------------------ */
.price-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


.price-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.price-table caption {
  caption-side: bottom;
  text-align: left;
  padding: 12px 22px 16px;
  font-size: 12px;
  color: var(--ink-soft);
}

.price-table thead th {
  background: var(--blue-ink);
  color: #fff;
  font-family: var(--round);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  padding: 12px 20px;
  text-align: left;
  white-space: nowrap;
}

.price-table tbody th,
.price-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: middle;
  line-height: 1.6;
}

.price-table tbody th {
  font-family: var(--round);
  font-weight: 700;
  font-size: 15px;
  color: var(--blue-ink);
  width: 34%;
}

.price-table tbody tr:nth-child(even) th,
.price-table tbody tr:nth-child(even) td {
  background: #f7fbfe;
}

.price-table tbody tr:hover th,
.price-table tbody tr:hover td {
  background: var(--cream);
}

.price-table .price {
  white-space: nowrap;
  font-family: var(--num);
  font-size: 23px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.01em;
}

.price-table .price small {
  font-family: var(--jp);
  font-size: 12px;
  color: var(--ink-soft);
}

.price-table td:last-child {
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* 公開前の目印 */
.price-table .price[data-todo] {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--jp);
  font-size: 12.5px;
  padding: 2px 10px;
  border-radius: 999px;
}

/* 料金の補足3枚 */
.price-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.price-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  font-family: var(--round);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--blue-ink);
  line-height: 1.45;
}

.price-points li>span:not(.ico-badge) {
  display: block;
  min-width: 0;
}

.price-points li span span {
  display: block;
  font-family: var(--jp);
  font-size: 11.5px;
  font-weight: 400;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   ご依頼の流れ
------------------------------------------------------------ */
.flow {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
  display: grid;
  gap: 26px;
}

.flow li {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  counter-increment: flow;
}

/* カードとカードの間の矢印 */
.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 62px;
  bottom: -20px;
  width: 18px;
  height: 18px;
  border-right: 5px solid var(--blue-soft);
  border-bottom: 5px solid var(--blue-soft);
  transform: rotate(45deg);
}

.flow li::before {
  content: "STEP " counter(flow);
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-content: center;
  width: 84px;
  height: 58px;
  border-radius: var(--r-md);
  background: var(--blue);
  color: #fff;
  font-family: var(--num);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.flow li:last-child::before {
  background: var(--line);
}

.flow h3 {
  grid-column: 2;
  margin: 0 0 5px;
  font-size: 18px;
  color: var(--blue-ink);
}

.flow p {
  grid-column: 2;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   施工実例
------------------------------------------------------------ */
.photo-strip {
  margin: 34px auto 0;
  max-width: var(--page);
  padding-inline: 24px;
}

.photo-strip ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.photo-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f4f0e8;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.photo-strip li:nth-child(odd) img {
  border-radius: var(--r-md) var(--r-md) var(--r-lg) var(--r-md);
}

.photo-strip figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-soft);
}

/* Instagram枠（現在は非表示。再開時に使う） */
.ig__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ig__item {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ig__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.ig__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--blue-pale);
}

.ig__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ig__body {
  display: block;
  padding: 13px 16px 16px;
}

.ig__caption {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.7;
}

.ig__date {
  display: block;
  margin-top: 6px;
  font-family: var(--num);
  font-size: 11.5px;
  color: var(--ink-soft);
}

.ig__fallback {
  padding: 24px 26px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.ig__fallback p {
  margin: 0 0 4px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.ig__fallback-head {
  font-family: var(--round);
  font-size: 16px !important;
  font-weight: 700;
  color: var(--blue-ink) !important;
}

.ig__fallback .btn {
  margin-top: 16px;
}

/* ------------------------------------------------------------
   お客様の声
------------------------------------------------------------ */
.voices {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}


.voices li {
  position: relative;
  padding: 26px 26px 20px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.voices li::before {
  content: "\201C";
  position: absolute;
  left: 20px;
  top: 2px;
  font-family: var(--num);
  font-size: 58px;
  line-height: 1;
  color: var(--yellow);
}


.voice__quote {
  position: relative;
  margin: 0 0 12px;
  padding-left: 26px;
  font-family: var(--round);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--blue-ink);
}

.voice__body {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.voice__who {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 11.5px;
  color: var(--ink-soft);
}


.voice__who span {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue-dark);
}

.voices [data-todo] {
  background: var(--red);
  color: #fff;
  padding: 1px 8px;
  border-radius: 999px;
}

/* ------------------------------------------------------------
   選ばれる理由
------------------------------------------------------------ */
.reasons {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: reason;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.reasons li {
  position: relative;
  padding: 30px 26px 22px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  counter-increment: reason;
}

.reasons li::before {
  content: "理由" counter(reason);
  position: absolute;
  left: 22px;
  top: -14px;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: var(--round);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 0 rgba(227, 95, 0, 0.45);
}

.reasons h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--blue-ink);
  line-height: 1.4;
}

.reasons p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}


/* ------------------------------------------------------------
   よくあるご質問
------------------------------------------------------------ */
.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin-inline: auto;
}

.faq details {
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 16px 52px 16px 60px;
  font-family: var(--round);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-ink);
  line-height: 1.55;
}


.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "Q";
  position: absolute;
  left: 18px;
  top: 15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--num);
  font-size: 16px;
  line-height: 30px;
  text-align: center;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-right: 3px solid var(--blue-soft);
  border-bottom: 3px solid var(--blue-soft);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 28px;
}

.faq details p {
  position: relative;
  margin: 0 18px 18px 18px;
  padding: 16px 18px 16px 52px;
  background: var(--cream);
  border-radius: var(--r-md);
  font-size: 13.5px;
  line-height: 1.9;
  color: #3a4653;
}


.faq details p::before {
  content: "A";
  position: absolute;
  left: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--num);
  font-size: 15px;
  line-height: 28px;
  text-align: center;
}

/* ------------------------------------------------------------
   対応エリア
------------------------------------------------------------ */
.area-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 26px;
  background: #fff;
  border: 3px solid var(--blue);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.area-main h3 {
  margin: 0 0 4px;
  font-size: 21px;
  color: var(--blue-ink);
}

.area-main p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.area-main .badge {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--round);
  font-size: 12px;
  font-weight: 700;
  vertical-align: 2px;
}

.area {
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.area>div {
  padding: 14px 18px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.area dt {
  font-family: var(--round);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--blue-dark);
}

.area dd {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   最終CTA
------------------------------------------------------------ */
.closing {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 200, 50, 0.2) 0 260px, transparent 261px),
    radial-gradient(circle at 96% 100%, rgba(6, 199, 85, 0.18) 0 260px, transparent 261px),
    linear-gradient(160deg, #064a76 0%, var(--blue-ink) 100%);
  color: #fff;
  padding: 48px 0 52px;
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1.6px, transparent 1.7px);
  background-size: 18px 18px;
  pointer-events: none;
}

.closing__inner {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  padding-inline: 24px;
  text-align: center;
}

.closing__label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 20px;
  border-radius: 999px;
  background: var(--yellow);
  color: #6a4200;
  font-family: var(--round);
  font-size: 13px;
  font-weight: 700;
}

.closing h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.4;
}

.closing h2 .marker {
  display: inline-block;
  background: none;
  color: var(--yellow);
}

.closing__body p {
  margin: 18px auto 0;
  max-width: 40em;
  font-size: 14px;
  line-height: 1.95;
  color: #d9e9f4;
}

.closing__actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.closing__hours {
  margin: 20px auto 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
}

.closing__hours span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
}

.closing__hours .ico {
  width: 16px;
  height: 16px;
  color: var(--yellow);
}

/* ------------------------------------------------------------
   お知らせ（CMS埋め込み）

   .wp-posts__* は embed.js が書き出すクラス。
   埋め込み側のCSSは @layer wp-embed-base / wp-embed-custom に入るので、
   レイヤーに属さないここの指定が常に勝つ。詳細ページ（news.html）でも
   同じクラスを使うため、共通部分はまとめて書いている。

   カテゴリの色はCMS側から --wp-category-color / --wp-category-text として
   渡ってくるので、こちらでは形（角丸・余白）だけを変える。
------------------------------------------------------------ */
.news {
  max-width: 860px;
  margin-inline: auto;
  padding: 10px 26px 18px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* 読み込み中に高さが跳ねないよう、最低限の高さを確保する */
.news__embed {
  min-height: 180px;
}

/* CMS側のテンプレート（card / row / list）に関係なく、
   LPでは1行ずつの一覧として見せる */
.news .wp-posts,
.news-article .wp-posts {
  display: block;
  gap: 0;
  color: var(--ink);
  line-height: 1.9;
}

/* 一覧の1件 */
.news .wp-posts__item {
  display: block;
  padding: 15px 8px;
  border: 0;
  border-bottom: 1px dashed var(--rule);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.news .wp-posts__item:last-child {
  border-bottom: 0;
}

.news .wp-posts__meta,
.news-article .wp-posts__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0 0 5px;
}

.news .wp-posts__meta time,
.news-article .wp-posts__meta time {
  order: 0;
  min-width: 0;
  padding: 0;
  font-family: var(--num);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--blue-dark);
}

.news .wp-posts__category,
.news-article .wp-posts__category {
  order: 0;
  min-width: 0;
  padding: 2px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.news .wp-posts__title {
  margin: 0;
  font-family: var(--round);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}

/* 本文はCMS側の設定が「全文」でも、一覧では2行までの抜粋に留める。
   写真や動画は一覧に出さず、詳細ページ（news.html）で見せる */
.news .wp-posts__body {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.news .wp-posts__body p {
  display: inline;
  margin: 0;
}

.news .wp-posts__body img,
.news .wp-posts__body video,
.news .wp-posts__body iframe,
.news .wp-posts__body figure {
  display: none;
}

.news .wp-posts__link {
  color: inherit;
}

.news .wp-posts__link:hover {
  color: var(--blue-dark);
}

/* 件名が詳細ページへのリンクであることを示す小さな矢印 */
.news .wp-posts__link::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
  vertical-align: 2px;
}

/* 読み込み中・0件・失敗時の1行 */
.news .wp-posts__empty {
  margin: 0;
  padding: 28px 8px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------
   お知らせ詳細（news.html）
------------------------------------------------------------ */
.news-article {
  max-width: 820px;
  margin-inline: auto;
  padding: 30px 34px 34px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

.news-article .wp-posts__title {
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 2px dashed var(--rule);
  font-family: var(--round);
  font-size: clamp(20px, 2.5vw, 27px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--blue-ink);
}

.news-article .wp-posts__body {
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
}

.news-article .wp-posts__body img,
.news-article .wp-posts__body video,
.news-article .wp-posts__body iframe {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-md);
}

.news-article .wp-posts__body h2,
.news-article .wp-posts__body h3 {
  margin: 28px 0 10px;
  font-size: 18px;
  color: var(--blue-ink);
}

.news-article .wp-posts__body a {
  color: var(--blue-dark);
}

.news-article .wp-posts__empty {
  margin: 0;
  padding: 20px 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* 「一覧へ戻る」 */
.news-article .wp-posts__back {
  display: inline-flex;
  align-items: center;
  margin-top: 32px;
  padding: 11px 26px;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue-dark);
  font-family: var(--round);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

.news-article .wp-posts__back:hover {
  background: var(--blue-soft);
}

/* ------------------------------------------------------------
   会社概要
------------------------------------------------------------ */
.company {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 34px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 12px 30px 16px;
}

.company>div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  padding: 11px 0;
  border-bottom: 1px dashed var(--rule);
}

.company dt {
  font-family: var(--round);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark);
}

.company dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

/* ------------------------------------------------------------
   フッター
------------------------------------------------------------ */
.colophon {
  background: var(--blue-ink);
  color: #c8dced;
  padding: 34px 0 30px;
}


.colophon__inner {
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, auto);
  align-items: start;
  gap: 14px 40px;
}

.colophon__name {
  margin: 0 0 6px;
  font-family: var(--round);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.colophon__addr {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.8;
}

.colophon__nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.colophon__nav a {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #dfeaf3;
  font-size: 12px;
  text-decoration: none;
}

.colophon__nav a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.colophon__copy {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--num);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #8fb0c8;
}

/* ------------------------------------------------------------
   スマホ固定CTA
------------------------------------------------------------ */
.fixed-cta {
  display: none;
}

/* ------------------------------------------------------------
   表示アニメーション
   html.js-anim は lp.js が読めたときだけ付く。
------------------------------------------------------------ */
.js-anim [data-reveal],
.js-anim [data-reveal-group]>* {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) var(--reveal-delay, 0s),
    transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) var(--reveal-delay, 0s);
}

.js-anim [data-reveal="rail"] {
  transform: translate(-10px, 8px);
}

.js-anim [data-reveal].is-in,
.js-anim [data-reveal-group].is-in>* {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------
   可変
------------------------------------------------------------ */
@media (max-width: 1040px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 24px;
  }

  .btn--lg {
    padding: 14px 22px 16px;
  }

  .btn--lg .btn__main {
    font-size: 21px;
  }

  .works {
    grid-template-columns: repeat(2, 1fr);
  }


  .facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .area {
    grid-template-columns: repeat(2, 1fr);
  }

  .symptom__grid {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .photo-strip img {
    height: auto;
  }

  .masthead__lede {
    display: none;
  }
}

@media (max-width: 860px) {
  .warn-list,
  .voices,
  .reasons,
  .company,
  .price-points,
  .symptom-nav ol {
    grid-template-columns: 1fr;
  }

  .ig__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-strip ul {
    grid-template-columns: repeat(3, 1fr);
  }


  .symptom__grid {
    grid-template-columns: 1fr;
  }

  .symptom__fig {
    position: static;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 68px;
  }

  .br-sp {
    display: inline;
  }

  body {
    font-size: 14.5px;
    padding-bottom: 76px;
  }

  .wrap {
    padding-inline: 16px;
  }

  .masthead__inner {
    padding: 8px 14px;
    gap: 10px;
  }

  .masthead__logo img {
    width: 164px;
  }

  .masthead__contact {
    margin-left: auto;
  }

  .masthead__tel {
    display: none;
  }

  .masthead__line {
    padding: 9px 15px;
    font-size: 13px;
  }

  /* ヒーロー */
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 22px 16px 20px;
    gap: 22px;
  }

  .hero__title {
    font-size: 26px;
    line-height: 1.4;
  }


  .hero__actions {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero__visual {
    padding: 6px 4px 22px;
  }

  .hero__seal {
    width: 84px;
    height: 84px;
    left: -4px;
    top: -12px;
  }


  .hero__seal b {
    font-size: 25px;
  }

  .hero__seal span {
    font-size: 10px;
  }

  .hero__bubble {
    right: 0;
    font-size: 12px;
    padding: 7px 14px;
  }

  .facts {
    padding: 0 16px 26px;
    gap: 10px;
  }


  .facts>div {
    padding: 11px 12px;
    gap: 9px;
  }

  .facts .ico-badge {
    width: 38px;
    height: 38px;
  }

  .facts dd {
    font-size: 13px;
  }

  .symptom-nav ol,
  .symptom-nav__head {
    padding-inline: 16px;
  }


  /* セクション */
  .sec {
    padding: 38px 0 40px;
  }

  .sec__head {
    margin-bottom: 26px;
  }

  .sec__title {
    font-size: 21px;
  }

  .card {
    padding: 20px 18px 16px;
    border-radius: var(--r-md);
  }

  .card__head h3 {
    font-size: 17px;
  }

  .symptom__head {
    gap: 12px;
    margin-bottom: 20px;
  }

  .symptom__badge {
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }

  .symptom__badge b {
    font-size: 26px;
  }

  .symptom__head h2 {
    font-size: 20px;
  }

  .cta-band {
    padding: 22px 18px 20px;
    border-radius: var(--r-md);
  }

  .cta-band__actions .btn {
    width: 100%;
  }


  .price-table thead th,
  .price-table tbody th,
  .price-table tbody td {
    padding: 11px 14px;
  }


  .price-table .price {
    font-size: 20px;
  }

  .flow li {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 18px 16px;
  }

  .flow li::before {
    grid-row: auto;
    justify-self: start;
  }

  .flow h3,
  .flow p {
    grid-column: 1;
  }


  .flow li::before {
    width: 78px;
    height: 34px;
    font-size: 13.5px;
  }

  .flow li:not(:last-child)::after {
    left: 34px;
  }


  .photo-strip {
    padding-inline: 16px;
  }

  .photo-strip ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .photo-strip img {
    height: auto;
  }

  .ig__grid {
    grid-template-columns: 1fr;
  }

  .voices li,
  .reasons li {
    padding: 24px 18px 18px;
    border-radius: var(--r-md);
  }

  .voice__quote {
    font-size: 15.5px;
    padding-left: 20px;
  }

  .faq summary {
    padding: 14px 42px 14px 52px;
    font-size: 15px;
  }

  .faq summary::before {
    left: 14px;
    width: 26px;
    height: 26px;
    line-height: 26px;
    font-size: 14px;
  }

  .faq details p {
    margin: 0 14px 14px;
    padding: 14px 14px 14px 46px;
  }

  .area-main {
    flex-direction: column;
    gap: 10px;
    padding: 18px;
  }

  .area {
    grid-template-columns: 1fr 1fr;
  }

  .closing {
    padding: 36px 0 40px;
  }


  .closing__actions .btn {
    width: 100%;
  }

  .news {
    padding: 6px 16px 14px;
    border-radius: var(--r-md);
  }

  .news .wp-posts__item {
    padding: 13px 4px;
  }

  .news .wp-posts__title {
    font-size: 14.5px;
  }

  .news-article {
    padding: 22px 18px 26px;
    border-radius: var(--r-md);
  }

  .company {
    padding: 8px 18px 12px;
    border-radius: var(--r-md);
  }

  .company>div {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .colophon__inner {
    grid-template-columns: 1fr;
  }

  .colophon__nav {
    justify-content: flex-start;
  }

  /* 固定CTA */
  .fixed-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    box-shadow: 0 -4px 16px rgba(5, 58, 94, 0.14);
  }

  .fixed-cta__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 8px 4px 9px;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    line-height: 1.3;
  }

  .fixed-cta__btn--tel {
    background: linear-gradient(180deg, #ff8f38 0%, var(--orange) 60%, var(--orange-dark) 100%);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
  }

  .fixed-cta__btn--line {
    background: linear-gradient(180deg, #2fd97a 0%, var(--line) 60%, var(--line-dark) 100%);
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
  }

  .fixed-cta__main {
    font-family: var(--round);
    font-size: 15.5px;
    font-weight: 700;
  }

  .fixed-cta__sub {
    font-size: 9.5px;
  }
}

@media (max-width: 400px) {
  .area {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .works li:hover,
  .symptom-nav a:hover {
    transform: none;
  }

  .btn--now::after {
    animation: none;
  }

  .js-anim [data-reveal],
  .js-anim [data-reveal="rail"],
  .js-anim [data-reveal-group]>* {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media print {
  .fixed-cta,
  .masthead__contact {
    display: none !important;
  }

  .js-anim [data-reveal],
  .js-anim [data-reveal="rail"],
  .js-anim [data-reveal-group]>* {
    opacity: 1 !important;
    transform: none !important;
  }
}
