@charset "UTF-8";
/* =========================================================
   株式会社アオト
   index.css - トップページ（LP）専用スタイル

   セクション順 / 背景のリズム
     hero(暗) → quickbar(濃紺) → trouble(生成) → about(白) →
     reason(濃紺) → service(生成) → renovation(濃紺) → works(生成) → cost(白) →
     flow(生成) → diagnosis(濃紺) → area(白) → faq(生成) → company(濃紺)
   ========================================================= */

/* ---------------------------------------------------------
   1. Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: max(660px, 100svh);
  padding: calc(var(--header-h) + 40px) 0 120px;
  overflow: hidden;
  color: #fff;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,31,67,.62) 0%, rgba(10,31,67,.34) 46%, rgba(10,31,67,.14) 78%, rgba(10,31,67,.4) 100%),
    linear-gradient(to bottom, rgba(10,31,67,.34) 0%, rgba(10,31,67,0) 30%, rgba(10,31,67,.28) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--gutter) * 2), var(--w-container));
  margin-inline: auto;
}

.hero__label,
.hero__catch,
.hero__sub,
.hero__lead,
.hero__cta,
.hero__note { opacity: 0; }

body.is-loaded .hero__label { animation: heroUp 1.1s var(--ease) .15s forwards; }
body.is-loaded .hero__catch { animation: heroUp 1.1s var(--ease) .35s forwards; }
body.is-loaded .hero__sub   { animation: heroUp 1.1s var(--ease) .6s  forwards; }
body.is-loaded .hero__lead  { animation: heroUp 1.1s var(--ease) .78s forwards; }
body.is-loaded .hero__cta   { animation: heroUp 1.1s var(--ease) .96s forwards; }
body.is-loaded .hero__note  { animation: heroUp 1.1s var(--ease) 1.1s forwards; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--c-gold-light);
}
.hero__label::before {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--c-gold);
}

.hero__catch {
  display: inline-block;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.3);
  font-family: var(--ff-mincho);
  font-weight: 500;
  font-size: clamp(27px, 4.6vw, 60px);
  line-height: 1.5;
  letter-spacing: .1em;
  text-shadow: 0 4px 26px rgba(0,0,0,.42);
}
.hero__catch-line {
  display: block;
  padding: .3em 0;
  border-bottom: 1px solid rgba(255,255,255,.3);
}

.hero__sub {
  margin-top: 22px;
  font-family: var(--ff-en);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 300;
  letter-spacing: .26em;
  color: rgba(255,255,255,.82);
}

.hero__lead {
  margin-top: 26px;
  max-width: 34em;
  font-size: clamp(13.5px, 1.4vw, 15.5px);
  line-height: 2.15;
  color: rgba(255,255,255,.84);
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 12.5px;
  letter-spacing: .06em;
  line-height: 1.8;
  color: rgba(255,255,255,.72);
}
.hero__note::before {
  content: "";
  flex: none;
  width: 8px;
  height: 14px;
  border-right: 2px solid var(--c-gold-light);
  border-bottom: 2px solid var(--c-gold-light);
  transform: rotate(42deg);
  margin-top: -4px;
}

.hero__scroll {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100vw - var(--w-container)) / 2));
  bottom: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
}
.hero__scroll span {
  writing-mode: vertical-rl;
  font-family: var(--ff-en);
  font-size: 12px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.7);
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 92px;
  background: rgba(255,255,255,.3);
  overflow: hidden;
  animation: scrollLine 2.4s var(--ease) infinite;
  background-image: linear-gradient(to bottom, var(--c-gold-light), var(--c-gold-light));
  background-repeat: no-repeat;
  background-size: 1px 40%;
}
@keyframes scrollLine {
  0%   { background-position: 0 -40%; }
  100% { background-position: 0 140%; }
}

/* ---------------------------------------------------------
   2. Quick bar（トラストバー）
   --------------------------------------------------------- */
.quickbar {
  background: var(--c-navy-950);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.quickbar__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 32px;
}
.quickbar__item {
  display: grid;
  gap: 4px;
  padding: 24px 0 24px 24px;
  position: relative;
}
/* 金色のティック。4項目とも「セル左端＝ティック、24px空けて文字」で揃える */
.quickbar__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 26px;
  background: var(--c-gold);
}
/* 区切り線はセルの境界ではなく列間ギャップの中央に置く */
.quickbar__item + .quickbar__item::after {
  content: "";
  position: absolute;
  left: -16px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.1);
}
.quickbar__item dt {
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--c-gold-light);
  line-height: 1.6;
}
.quickbar__item dd {
  font-family: var(--ff-mincho);
  font-size: clamp(13px, 1.35vw, 16px);
  letter-spacing: .06em;
  line-height: 1.6;
}
.quickbar__item dd b {
  font-family: var(--ff-en);
  font-weight: 400;
  font-size: 1.6em;
  letter-spacing: .02em;
  color: var(--c-gold-light);
  padding-right: .04em;
}

/* ---------------------------------------------------------
   3. Trouble（こんな症状はありませんか）
   --------------------------------------------------------- */
.trouble { background: var(--c-ivory); }

.trouble__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}
.trouble__item {
  position: relative;
  padding: 21px 26px 21px 64px;
  background: var(--c-white);
  border-left: 3px solid var(--c-blue-300);
  box-shadow: 0 10px 26px rgba(10, 31, 67, .06);
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(14.5px, 1.5vw, 16px);
  line-height: 1.8;
  letter-spacing: .04em;
  color: var(--c-navy-800);
}
.trouble__item::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 22px;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--c-blue-300);
  border-radius: 3px;
}
.trouble__item::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 24px;
  width: 9px;
  height: 15px;
  border-right: 2px solid var(--c-gold);
  border-bottom: 2px solid var(--c-gold);
  transform: rotate(42deg);
}

.trouble__alert {
  margin-top: clamp(40px, 4.6vw, 60px);
  padding: clamp(32px, 3.8vw, 52px);
  background: var(--c-navy-800);
  background-image: url("../images/pattern-shingle.svg");
  background-size: 160px 80px;
  color: var(--c-text-onDark);
  text-align: center;
  border-top: 3px solid var(--c-gold);
}
.trouble__alert-ttl {
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(19px, 2.4vw, 27px);
  letter-spacing: .1em;
  line-height: 1.7;
  color: #fff;
}
.trouble__alert-text {
  max-width: 44em;
  margin: 18px auto 0;
  font-size: 14.5px;
  line-height: 2.1;
  text-align: left;
}
.trouble__alert-text strong { color: var(--c-gold-light); font-weight: 700; }
.trouble__alert .btn { margin-top: 30px; }

.trouble__risk-ttl {
  margin-top: clamp(56px, 6vw, 88px);
  margin-bottom: clamp(28px, 3.4vw, 44px);
  text-align: center;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 25px);
  letter-spacing: .1em;
  line-height: 1.7;
  color: var(--c-navy-800);
}

.trouble__risk {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 46px;
}
.trouble__risk-item {
  position: relative;
  padding: 30px 28px 32px;
  background: var(--c-white);
  border-top: 3px solid var(--c-blue-300);
  box-shadow: 0 12px 32px rgba(10, 31, 67, .07);
}
.trouble__risk-item:nth-child(2) { border-top-color: var(--c-blue-400); }
.trouble__risk-item:nth-child(3) { border-top-color: #b04a32; }

/* ステージ間の矢印 */
.trouble__risk-item + .trouble__risk-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 50%;
  width: 13px;
  height: 13px;
  border-top: 1.5px solid var(--c-blue-300);
  border-right: 1.5px solid var(--c-blue-300);
  transform: translateY(-50%) rotate(45deg);
}

.trouble__risk-no {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--ff-en);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--c-navy);
}
.trouble__risk-no span {
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--c-gold);
}
.trouble__risk-item:nth-child(3) .trouble__risk-no { color: #b04a32; }

.trouble__risk-name {
  margin-top: 14px;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--c-navy-800);
}
.trouble__risk-text {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 2.05;
  color: var(--c-text-sub);
}

/* ---------------------------------------------------------
   4. About
   --------------------------------------------------------- */
.about { background: var(--c-white); }

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
}

.about__visual {
  position: relative;
  margin-left: calc(50% - 50vw);
  width: calc(100% + (50vw - 50%));
}
.about__visual img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
}

.about__body {
  position: relative;
  z-index: 1;
  margin-left: clamp(-90px, -6vw, -40px);
  padding: clamp(36px, 4.4vw, 62px);
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
}

.about__title {
  margin-top: 6px;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(19px, 2.3vw, 27px);
  line-height: 1.85;
  letter-spacing: .06em;
  color: var(--c-navy-800);
}

.about__text {
  margin-top: 26px;
  display: grid;
  gap: 1.2em;
  font-size: 14.5px;
  line-height: 2.15;
  color: var(--c-text-sub);
}

.about__sign {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--c-ivory-deep);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--c-text-sub);
}
.about__sign strong {
  font-family: var(--ff-mincho);
  font-size: 19px;
  letter-spacing: .16em;
  color: var(--c-navy-800);
}

/* ---------------------------------------------------------
   5. Reason / Point
   --------------------------------------------------------- */
/* 以前は POINT 01-04 の各ブロックに roofscape-day.svg を敷いていたが、
   同じ屋根イラストが縦に4回続いて壁紙のように見えていた。
   ブロック単位の背景をやめ、セクション全体を1枚の大きな光のグラデーションにしている
   （ブロックごとに背景を持たせると、何を敷いても4回の繰り返しになるため）。 */
.reason {
  padding-bottom: clamp(40px, 5vw, 70px);
  background-image:
    radial-gradient(125% 48% at 76% 10%, rgba(24, 78, 152, .34) 0%, rgba(10, 31, 67, 0) 70%),
    radial-gradient(115% 42% at 16% 66%, rgba(18, 63, 125, .30) 0%, rgba(10, 31, 67, 0) 72%),
    linear-gradient(to bottom,
      rgba(2, 7, 26, .34) 0%,
      rgba(2, 7, 26, 0) 16%,
      rgba(2, 7, 26, 0) 84%,
      rgba(2, 7, 26, .40) 100%),
    linear-gradient(rgba(10, 31, 67, .55), rgba(10, 31, 67, .55)),
    url("../images/pattern-shingle.svg");
  background-size: auto, auto, auto, auto, 160px 80px;
}

.point {
  position: relative;
  padding-block: clamp(64px, 7vw, 112px);
  overflow: hidden;
}

/* ブロックの境目に細い罫線を1本入れて、4項目の区切りを保つ */
.point + .point::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 48px, var(--w-container));
  height: 1px;
  background: linear-gradient(to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.16) 18%,
    rgba(255,255,255,.16) 82%,
    rgba(255,255,255,0) 100%);
}

.point__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 68px);
  align-items: start;
}

.point__no {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  font-family: var(--ff-en);
  font-size: 14px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--c-gold-light);
}
.point__rule { display: block; width: 58px; height: 1px; background: rgba(227,188,126,.6); }

.point__title {
  font-family: var(--ff-mincho);
  font-weight: 500;
  font-size: clamp(21px, 2.9vw, 35px);
  line-height: 1.72;
  letter-spacing: .08em;
  color: #fff;
}
.point__num {
  font-family: var(--ff-en);
  font-size: 1.55em;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--c-gold-light);
  padding-inline: .06em;
}

.point__text {
  display: grid;
  gap: 1.1em;
  padding-top: clamp(0px, 1.4vw, 20px);
  font-size: 14.5px;
  line-height: 2.15;
  color: var(--c-text-onDarkSub);
}

.point__link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(227,188,126,.5);
  font-size: 13.5px;
  letter-spacing: .1em;
  color: var(--c-gold-light);
}
.point__link a span { transition: transform .3s var(--ease); }
.point__link a:hover { border-color: var(--c-gold-light); }
.point__link a:hover span { transform: translateX(5px); }

/* ---------------------------------------------------------
   6. Service
   --------------------------------------------------------- */
.service { background: var(--c-ivory); }

.service__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service__item {
  padding: 42px 32px 38px;
  background: var(--c-white);
  border-top: 3px solid var(--c-navy);
  box-shadow: 0 12px 34px rgba(10, 31, 67, .07);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.service__item:hover {
  transform: translateY(-6px);
  border-top-color: var(--c-gold);
  box-shadow: 0 22px 48px rgba(10, 31, 67, .14);
}

.service__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--c-ivory), #dfe8f5);
}
.service__icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--c-blue-500);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service__item:hover .service__icon svg { stroke: var(--c-navy); }

.service__title {
  margin-top: 24px;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--c-navy-800);
}
.service__text {
  margin-top: 14px;
  font-size: 14px;
  line-height: 2.05;
  color: var(--c-text-sub);
}

/* ---------------------------------------------------------
   7. Renovation
   --------------------------------------------------------- */
.reno__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);   /* 断面図の min-width で全体が広がらないように */
  gap: clamp(36px, 4.6vw, 70px);
}

.reno__figure {
  margin: 0;
  min-width: 0;
  padding: clamp(24px, 3.4vw, 46px);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}
.reno__scroller { min-width: 0; }
.reno__diagram { width: 100%; height: auto; display: block; }

.reno__label-no {
  font-family: var(--ff-en);
  font-size: 16px;
  letter-spacing: .16em;
  fill: var(--c-gold);
}
.reno__label-ttl {
  font-family: var(--ff-mincho);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .06em;
  fill: var(--c-navy-800);
}
.reno__label-sub {
  font-family: var(--ff-jp);
  font-size: 13px;
  letter-spacing: .02em;
  fill: #5a6675;
}

.reno__scroll-note {
  display: none;
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--c-text-sub);
  text-align: right;
}

.reno__figure figcaption {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--c-ivory-deep);
  font-size: 13px;
  line-height: 1.9;
  color: var(--c-text-sub);
}

.reno__compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.reno__card {
  padding: clamp(28px, 3vw, 42px);
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.16);
}
.reno__card-en {
  font-family: var(--ff-en);
  font-size: 15px;
  letter-spacing: .22em;
  color: var(--c-gold-light);
}
.reno__card-title {
  margin-top: 8px;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(21px, 2.4vw, 28px);
  letter-spacing: .1em;
  color: #fff;
}
.reno__card-lead {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 2;
  color: rgba(255,255,255,.82);
}
.reno__card-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
.reno__card-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-text-onDarkSub);
}
.reno__card-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .62em;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--c-gold-light);
  border-right: 1px solid var(--c-gold-light);
  transform: rotate(45deg);
}
.reno__card-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--c-gold-light);
}

.reno__foot {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--ff-mincho);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 2.1;
  letter-spacing: .08em;
  color: rgba(255,255,255,.88);
}

/* 屋根材の比較（白いカード） ------------------------------ */
.material {
  margin-top: clamp(48px, 5.4vw, 82px);
  padding: clamp(28px, 3.6vw, 52px);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  color: var(--c-text);
}
.material__ttl {
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(18px, 2.1vw, 24px);
  letter-spacing: .08em;
  line-height: 1.7;
  color: var(--c-navy-800);
}
.material__lead {
  margin-top: 12px;
  font-size: 14px;
  line-height: 2;
  color: var(--c-text-sub);
}
.material__note {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.95;
  color: var(--c-text-sub);
}

.tbl__caption {
  margin-top: 28px;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: .06em;
  color: var(--c-text-sub);
}

.tbl-scroller { margin-top: 12px; min-width: 0; }

.tbl {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.tbl th,
.tbl td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--c-ivory-deep);
  vertical-align: top;
  font-size: 13.5px;
  line-height: 1.95;
}
.tbl thead th {
  background: var(--c-navy-800);
  color: #fff;
  border-bottom: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
}
.tbl tbody th {
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--c-navy-800);
  background: var(--c-ivory);
  width: 17em;
}
.tbl tbody td:nth-child(2) {
  font-family: var(--ff-en);
  font-size: 19px;
  letter-spacing: .04em;
  color: var(--c-blue-500);
  white-space: nowrap;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
.tbl tbody td:last-child { color: var(--c-text-sub); min-width: 20em; }

.tbl__mark {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.7;
  white-space: nowrap;
}
.tbl__mark--heavy { background: #f3e2dc; color: #96412c; }
.tbl__mark--mid   { background: var(--c-ivory-deep); color: var(--c-text-sub); }
.tbl__mark--light { background: #d9ecdc; color: #1d6b3a; }

/* ---------------------------------------------------------
   8. Works（施工事例）— 1:1 の写真だけを並べるギャラリー
   --------------------------------------------------------- */
.works { background: var(--c-ivory); }

.works__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* 写真は 1:1。1:1 以外の画像でも中央を正方形に切り抜いて表示する */
.works__item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(150deg, #e8edf5, #d5e0f0);
  box-shadow: 0 12px 34px rgba(10, 31, 67, .08);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.works__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(10, 31, 67, .16);
}
.works__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ease);
}
.works__item:hover img { transform: scale(1.05); }

/* 写真差し替え用プレースホルダー */
.works__ph {
  position: absolute;
  inset: 14px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  border: 1.5px dashed rgba(28, 79, 156, .45);
  border-radius: 3px;
  color: var(--c-blue-500);
}
.works__ph-label {
  font-family: var(--ff-en);
  font-size: 22px;
  letter-spacing: .28em;
  text-indent: .28em;
  line-height: 1;
  opacity: .85;
}
.works__ph-ratio {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1;
  opacity: .6;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}

/* ---------------------------------------------------------
   9. Cost
   --------------------------------------------------------- */
.cost { background: var(--c-white); }
.cost .section__lead strong {
  font-weight: 700;
  color: var(--c-navy);
  border-bottom: 2px solid var(--c-gold-light);
  padding-bottom: 2px;
}

.cost__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 48px);
}

.cost__block {
  padding: clamp(30px, 3.4vw, 46px);
  background: var(--c-ivory);
  border-top: 3px solid var(--c-navy);
}
.cost__block-en {
  font-family: var(--ff-en);
  font-size: 14px;
  letter-spacing: .22em;
  color: var(--c-gold);
}
.cost__block-ttl {
  margin-top: 6px;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(19px, 2.2vw, 25px);
  letter-spacing: .08em;
  line-height: 1.65;
  color: var(--c-navy-800);
}
.cost__block-lead {
  margin-top: 16px;
  font-size: 14px;
  line-height: 2.05;
  color: var(--c-text-sub);
}

.cost__factors {
  margin-top: 26px;
  display: grid;
  gap: 20px;
}
.cost__factors li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-ivory-deep);
}
.cost__factors li:last-child { padding-bottom: 0; border-bottom: 0; }
.cost__factor-no {
  font-family: var(--ff-en);
  font-size: 26px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: .04em;
  color: var(--c-gold);
}
.cost__factor-body {
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  line-height: 2;
  color: var(--c-text-sub);
}
.cost__factor-body b {
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .06em;
  line-height: 1.6;
  color: var(--c-navy-800);
}

.cost__items {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cost__items li {
  position: relative;
  padding: 8px 16px 8px 32px;
  background: var(--c-white);
  border: 1px solid var(--c-ivory-deep);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--c-navy-800);
}
.cost__items li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--c-gold);
  border-bottom: 2px solid var(--c-gold);
  transform: translateY(-65%) rotate(42deg);
}

.cost__check {
  margin-top: 30px;
  padding: 26px 28px 28px;
  background: var(--c-white);
  border-left: 3px solid var(--c-gold);
}
.cost__check-ttl {
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .06em;
  line-height: 1.7;
  color: var(--c-navy-800);
}
.cost__check-list {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  counter-reset: costcheck;
}
.cost__check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--c-text-sub);
}
.cost__check-list li::before {
  counter-increment: costcheck;
  content: counter(costcheck);
  position: absolute;
  left: 0;
  top: .28em;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--c-navy);
  color: #fff;
  font-family: var(--ff-jp);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
}
.cost__check-list li b { color: var(--c-navy-800); font-weight: 700; }

.cost__note {
  margin-top: clamp(28px, 3.4vw, 44px);
  padding: clamp(26px, 3vw, 38px);
  background: var(--c-navy-800);
  background-image: url("../images/pattern-shingle.svg");
  background-size: 160px 80px;
  color: var(--c-text-onDark);
  border-left: 3px solid var(--c-gold);
}
.cost__note-ttl {
  margin-bottom: 12px;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 19px);
  letter-spacing: .1em;
  color: #fff;
}
.cost__note p { font-size: 14px; line-height: 2.1; }
.cost__note strong { color: var(--c-gold-light); font-weight: 700; }

/* ---------------------------------------------------------
   10. Flow
   --------------------------------------------------------- */
.flow { background: var(--c-ivory); }

.flow__list {
  max-width: 900px;
  margin-inline: auto;
}

.flow__item {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 0 36px;
  padding-bottom: clamp(34px, 4vw, 54px);
}
.flow__item::before {
  content: "";
  position: absolute;
  left: 65px;
  top: 62px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, #d6deeb, rgba(214,222,235,.2));
}
.flow__item:last-child { padding-bottom: 0; }
.flow__item:last-child::before { display: none; }

.flow__no {
  grid-row: span 2;
  display: grid;
  justify-items: center;
  gap: 2px;
  font-family: var(--ff-en);
  font-size: clamp(38px, 4.6vw, 54px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--c-navy);
}
.flow__no span {
  font-size: 12px;
  letter-spacing: .3em;
  text-indent: .3em;
  color: var(--c-gold);
}

.flow__title {
  align-self: center;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(18px, 2.1vw, 23px);
  letter-spacing: .08em;
  line-height: 1.6;
  color: var(--c-navy-800);
}
.flow__text {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--c-text-sub);
}

.flow__foot {
  max-width: 900px;
  margin: clamp(44px, 5vw, 64px) auto 0;
  padding-top: clamp(30px, 3.4vw, 42px);
  border-top: 1px solid #d6deeb;
  text-align: center;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(15px, 1.8vw, 19px);
  letter-spacing: .1em;
  line-height: 2;
  color: var(--c-navy-800);
}

/* ---------------------------------------------------------
   11. Diagnosis (LINE)
   --------------------------------------------------------- */
.diag {
  position: relative;
  padding: clamp(96px, 10vw, 152px) 0 clamp(80px, 9vw, 130px);
  color: #fff;
  background: linear-gradient(168deg, #071a3c 0%, #0a2470 30%, #0b2f6e 62%, #0a2145 100%);
  clip-path: polygon(0 46px, 50% 0, 100% 46px, 100% 100%, 0 100%);
}
.diag::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/pattern-shingle.svg") 0 0 / 160px 80px;
  opacity: .8;
  pointer-events: none;
}
.diag::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -120px;
  width: 620px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(6,199,85,.16) 0%, rgba(6,199,85,0) 62%);
  pointer-events: none;
}
.diag > .container { position: relative; z-index: 1; }

.diag__head { text-align: center; }
.diag__en {
  font-family: var(--ff-en);
  font-weight: 300;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: .1em;
  line-height: 1.1;
  color: var(--c-gold-light);
}
.diag__ja {
  margin-top: 16px;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(22px, 3.2vw, 38px);
  letter-spacing: .12em;
  line-height: 1.6;
}
.diag__lead {
  margin-top: 26px;
  font-size: clamp(13.5px, 1.5vw, 15.5px);
  line-height: 2.2;
  color: rgba(255,255,255,.82);
}

.diag__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(48px, 5.5vw, 78px);
}
.diag__step {
  position: relative;
  padding: 38px 30px 34px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  text-align: center;
}
.diag__step-no {
  font-family: var(--ff-en);
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--c-gold-light);
}
.diag__step-title {
  margin-top: 14px;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .1em;
}
.diag__step-text {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 2;
  text-align: left;
  color: var(--c-text-onDarkSub);
}

.diag__merit {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  margin-top: clamp(40px, 4.5vw, 60px);
}
.diag__merit li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.9);
}
.diag__merit li::before {
  content: "";
  width: 9px;
  height: 16px;
  border-right: 2px solid #58e08e;
  border-bottom: 2px solid #58e08e;
  transform: rotate(42deg);
  margin-top: -5px;
  flex: none;
}

.diag__cta {
  margin-top: clamp(40px, 5vw, 62px);
  display: grid;
  justify-items: center;
  gap: 22px;
}
.diag__tel {
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
}
.diag__tel span {
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--c-text-onDarkSub);
}
.diag__tel a {
  font-family: var(--ff-en);
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: .06em;
  color: #fff;
}
.diag__tel a:hover { color: var(--c-gold-light); }

/* ---------------------------------------------------------
   12. Area
   --------------------------------------------------------- */
.area { background: var(--c-white); }

.area__block + .area__block { margin-top: clamp(34px, 4vw, 52px); }

.area__ttl {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-ivory-deep);
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: .1em;
  color: var(--c-navy-800);
}
.area__ttl span {
  font-family: var(--ff-en);
  font-size: 14px;
  letter-spacing: .16em;
  color: var(--c-gold);
}

.area__list {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.area__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: var(--c-ivory);
  border-bottom: 2px solid var(--c-blue-300);
  text-align: center;
  font-size: 14px;
  letter-spacing: .06em;
  line-height: 1.7;
  color: var(--c-navy-800);
}
/* 拠点のある区 */
.area__list li.is-base {
  position: relative;
  background: var(--c-navy-800);
  border-bottom-color: var(--c-gold);
  color: #fff;
  font-weight: 700;
}
.area__list li.is-base span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .18em;
  line-height: 1.4;
  color: var(--c-gold-light);
}

.area__list--sub {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.area__list--sub li {
  border-bottom-color: var(--c-ivory-deep);
  color: var(--c-text-sub);
}

.area__note {
  margin-top: clamp(26px, 3vw, 38px);
  padding: 20px 24px;
  background: var(--c-ivory);
  border-left: 3px solid var(--c-gold);
  font-size: 13.5px;
  line-height: 2;
  color: var(--c-text-sub);
}

/* ---------------------------------------------------------
   13. FAQ
   --------------------------------------------------------- */
.faq { background: var(--c-ivory); }

.faq__list {
  max-width: 900px;
  margin-inline: auto;
  border-top: 1px solid var(--c-ivory-deep);
}

.faq__item {
  border-bottom: 1px solid var(--c-ivory-deep);
  background: var(--c-white);
}

.faq__q {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 60px 26px 26px;
  list-style: none;
  cursor: pointer;
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.75;
  letter-spacing: .06em;
  color: var(--c-navy-800);
  transition: color .3s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::before {
  content: "Q";
  font-family: var(--ff-en);
  font-size: 22px;
  line-height: 1.2;
  color: var(--c-gold);
  flex: none;
}
.faq__q:hover { color: var(--c-navy); }

.faq__q::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 15px;
  height: 1.5px;
  background: var(--c-navy);
  transform: translateY(-50%);
  transition: transform .35s var(--ease);
}

/* ＋ の縦線（open で消えて − になる） */
.faq__item .faq__q {
  background-image: linear-gradient(var(--c-navy), var(--c-navy));
  background-repeat: no-repeat;
  background-size: 1.5px 15px;
  background-position: right 32.7px center;
  transition: background-size .35s var(--ease), color .3s var(--ease);
}
.faq__item[open] .faq__q { background-size: 1.5px 0; }

.faq__a {
  overflow: hidden;          /* JS による高さアニメーション用 */
  padding: 0 26px 30px 62px;
  font-size: 14.5px;
  line-height: 2.15;
  color: var(--c-text-sub);
}
.faq__a p { position: relative; }
.faq__a p::before {
  content: "A";
  position: absolute;
  left: -36px;
  top: -2px;
  font-family: var(--ff-en);
  font-size: 21px;
  color: var(--c-blue-400);
}

/* ---------------------------------------------------------
   14. Company
   --------------------------------------------------------- */
.company__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}

.company__table { border-top: 1px solid rgba(255,255,255,.16); }
.company__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 8px 20px;
  padding: 20px 4px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.company__row dt {
  font-size: 12.5px;
  letter-spacing: .18em;
  line-height: 2.1;
  color: var(--c-gold-light);
}
.company__row dd {
  font-size: 14.5px;
  line-height: 2.1;
  color: rgba(255,255,255,.9);
}
.company__row dd a { border-bottom: 1px solid rgba(255,255,255,.35); }
.company__row dd a:hover { color: var(--c-gold-light); border-color: var(--c-gold-light); }

.company__card {
  padding: clamp(30px, 3.2vw, 42px);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  display: grid;
  gap: 14px;
}
.company__card-en {
  font-family: var(--ff-en);
  font-size: 15px;
  letter-spacing: .22em;
  color: var(--c-gold-light);
}
.company__card-ttl {
  font-family: var(--ff-mincho);
  font-weight: 600;
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.85;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: 8px;
}
.company__card-note {
  margin-top: 2px;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--c-gold-light);
}

/* ---------------------------------------------------------
   15. Responsive
   --------------------------------------------------------- */
@media (max-width: 1080px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__visual {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
  }
  .about__visual img { aspect-ratio: 16 / 9; }
  .about__body {
    margin: -56px 0 0;
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .service__list { grid-template-columns: repeat(2, 1fr); }
  .point__inner { grid-template-columns: 1fr; gap: 22px; }
  .point__text { padding-top: 0; }

  .quickbar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quickbar__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .quickbar__item:nth-child(odd)::after { content: none; }

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

@media (max-width: 900px) {
  .trouble__risk { grid-template-columns: 1fr; gap: 40px; }
  .trouble__risk-item + .trouble__risk-item::before {
    left: 50%;
    top: -27px;
    transform: translateX(-50%) rotate(135deg);
  }
}

@media (max-width: 860px) {
  .reno__compare { grid-template-columns: 1fr; }
  .diag__steps { grid-template-columns: 1fr; }
  .diag__step { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; padding: 26px 24px; }
  .diag__step-no { grid-row: span 2; align-self: center; }
  .diag__step-title { margin-top: 0; align-self: end; }
  .diag__step-text { margin-top: 4px; }

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

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

  .area__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .area__list--sub { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .hero {
    min-height: 0;
    padding: calc(var(--header-h) + 46px) 0 96px;
    align-items: flex-start;
  }
  .hero__veil {
    background:
      linear-gradient(to bottom, rgba(10,31,67,.54) 0%, rgba(10,31,67,.36) 40%, rgba(10,31,67,.6) 100%);
  }
  .hero__label { font-size: 10.5px; letter-spacing: .2em; gap: 12px; margin-bottom: 20px; }
  .hero__label::before { width: 30px; }
  .hero__catch {
    font-size: clamp(19px, 5.8vw, 34px);
    letter-spacing: .02em;
    line-height: 1.66;
  }
  .hero__sub { margin-top: 18px; letter-spacing: .2em; }
  .hero__lead { margin-top: 20px; }
  .hero__cta { margin-top: 32px; gap: 12px; }
  .hero__note { margin-top: 18px; font-size: 11.5px; align-items: flex-start; }
  .hero__note::before { margin-top: 2px; }
  .hero__scroll { display: none; }

  .quickbar__inner { grid-template-columns: 1fr; }
  .quickbar__item { padding: 14px 8px 14px 22px; grid-template-columns: 108px 1fr; align-items: baseline; }
  .quickbar__item + .quickbar__item { border-top: 1px solid rgba(255,255,255,.1); }
  .quickbar__item:nth-child(-n+2) { border-bottom: 0; }
  .quickbar__item::before { height: 20px; }
  .quickbar__item::after { content: none; }
  .quickbar__item dd b { font-size: 1.4em; }

  .trouble__list { grid-template-columns: 1fr; gap: 12px; }
  .trouble__item { padding: 17px 20px 17px 56px; }
  .trouble__item::before { left: 20px; top: 18px; }
  .trouble__item::after { left: 26px; top: 20px; }
  .trouble__alert { padding: 28px 22px 30px; }
  .trouble__alert-text { font-size: 13.5px; }
  .trouble__risk-item { padding: 26px 22px 28px; }

  .about__body { padding: 32px 24px 36px; }

  .service__list { grid-template-columns: 1fr; gap: 18px; }
  .service__item { padding: 32px 24px 30px; }
  .service__icon { width: 62px; height: 62px; }
  .service__icon svg { width: 34px; height: 34px; }

  .reno__figure { padding: 20px 16px; }
  /* 断面図は縮小しすぎると文字が読めないため、横スクロールで見せる */
  .reno__scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .reno__diagram { min-width: 640px; }
  .reno__scroll-note { display: block; }

  .material { padding: 26px 18px 28px; }
  /* 比較表も縮小しすぎると読めないため、横スクロールで見せる */
  .tbl-scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tbl { min-width: 660px; }
  .tbl th, .tbl td { padding: 13px 14px; font-size: 13px; }
  .tbl tbody td:last-child { min-width: 17em; }

  .works__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .works__ph { inset: 10px; }
  .works__ph-label { font-size: 16px; }

  .cost__block { padding: 26px 20px 28px; }
  .cost__check { padding: 22px 20px 24px; }
  .cost__note { padding: 24px 20px 26px; }

  .flow__item { grid-template-columns: 74px minmax(0, 1fr); gap: 0 20px; }
  .flow__item::before { left: 37px; top: 54px; }
  .flow__no { font-size: 34px; }
  .flow__no span { font-size: 10px; }

  .diag { clip-path: polygon(0 26px, 50% 0, 100% 26px, 100% 100%, 0 100%); }
  .diag__merit { flex-direction: column; align-items: flex-start; gap: 12px; }

  .area__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .area__list--sub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area__list li { font-size: 13px; padding: 10px 6px; }

  .faq__q { padding: 20px 48px 20px 18px; gap: 12px; }
  .faq__q::before { font-size: 19px; }
  .faq__q::after { right: 18px; width: 13px; }
  .faq__item .faq__q { background-position: right 23.7px center; background-size: 1.5px 13px; }
  .faq__a { padding: 0 18px 24px 46px; }
  .faq__a p::before { left: -28px; font-size: 18px; }

  .company__row { grid-template-columns: 1fr; gap: 2px; padding: 16px 2px; }
  .company__row dt { font-size: 11.5px; letter-spacing: .14em; }
}
