/* ============================================================
  外壁塗装ページ専用スタイル（gaiheki.css）
  共通スタイル css/style.css を継承し、このページ固有の
  セクションのみここで定義します。
============================================================ */

/* ============================================================
  パンくずリスト
============================================================ */
.breadcrumb {
  background: var(--off);
  border-bottom: 1px solid var(--line-clr);
  padding: 10px 0;
}
.breadcrumb__list {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-muted);
  font-family: var(--font-body);
}
.breadcrumb__list li { display: flex; align-items: center; gap: 8px; }
.breadcrumb__list li:not(:last-child)::after {
  content: '›'; opacity: .5;
}
.breadcrumb__list a {
  color: var(--text-muted); text-decoration: none;
  transition: color var(--dur-fast);
}
.breadcrumb__list a:hover { color: var(--navy); }

/* ============================================================
  ページヒーロー（サービスページ共通型）
============================================================ */
.page-hero {
  position: relative; isolation: isolate;
  min-height: 560px;
  display: flex; align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -2;
}
.page-hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.page-hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(10,20,50,.60) 0%, rgba(10,20,50,.78) 100%);
}
/* 下部ホワイトフェード */
.page-hero::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 100px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.90));
  z-index: 0;
}
.page-hero__inner {
  position: relative; z-index: 1;
  text-align: center;
}
.page-hero__inner h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 700; line-height: 1.3;
  color: var(--white);
  margin: 20px auto 0; max-width: 860px;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.page-hero__sub {
  margin: 16px auto 0; max-width: 720px;
  color: rgba(255,255,255,.88);
  font-size: clamp(13px, 1.6vw, 16px);
  line-height: 2; font-family: var(--font-body);
}
.page-hero__notes {
  margin-top: 20px; display: flex; justify-content: center;
  gap: 10px; flex-wrap: wrap;
}

/* ============================================================
  こんなお悩みセクション
============================================================ */
.worries-section {
  background: var(--off); padding: 72px 0 56px;
}
.worries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 40px;
}
.worry-card {
  background: var(--white);
  border: 1.5px solid var(--line-clr);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-fast) var(--ease-soft),
              transform var(--dur-fast) var(--ease-soft);
}
.worry-card__icon {
  width: 72px; height: 72px;
  border-radius: 50%; overflow: hidden;
  margin: 0 auto 14px;
  background: var(--off2);
  border: 2px solid var(--line-clr);
}
.worry-card__icon img {
  width: 100%; height: 100%; object-fit: cover;
}
.worry-card p {
  font-size: 13px; line-height: 1.8;
  color: var(--text); font-family: var(--font-body);
  font-weight: 500;
}
@media (hover:hover) {
  .worry-card:hover {
    box-shadow: var(--shadow-md); transform: translateY(-3px);
  }
}
.worries-note {
  margin-top: 32px; text-align: center;
  font-size: 14px; line-height: 1.9;
  color: var(--navy); font-family: var(--font-body);
  font-weight: 700;
  padding: 16px 24px;
  background: rgba(200,168,90,.08);
  border: 1px solid rgba(200,168,90,.25);
  border-radius: var(--r-lg);
  max-width: 680px; margin-left: auto; margin-right: auto;
}

/* ============================================================
  特徴3点セクション
============================================================ */
.features-section { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border: 1.5px solid var(--line-clr);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.feature-card__img {
  aspect-ratio: 3 / 2; overflow: hidden; background: var(--off2);
}
.feature-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-soft);
}
@media (hover:hover) {
  .feature-card:hover .feature-card__img img { transform: scale(1.04); }
}
.feature-card__body { padding: 24px 22px 26px; text-align: center; }
.feature-card__num {
  font-family: var(--font-number); font-size: 14px;
  font-style: italic; color: var(--gold); letter-spacing: .1em;
}
.feature-card h3 {
  margin-top: 8px; font-size: 20px; line-height: 1.5;
  color: var(--navy); font-family: var(--font-heading);
}
.feature-card p {
  margin-top: 10px; font-size: 13px; line-height: 1.9;
  color: var(--text-muted); font-family: var(--font-body);
}

/* ============================================================
  料金目安セクション
============================================================ */
.price-section {
  background: var(--navy); padding: 88px 0 72px;
}
.price-section .section-eyebrow {
  background: rgba(200,168,90,.15); border-color: rgba(200,168,90,.3);
}
.price-section .section-title { color: var(--white); }
.price-section .section-copy  { color: rgba(255,255,255,.75); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 48px;
}
.price-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl); padding: 32px 24px 28px;
  text-align: center;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur-fast) var(--ease-soft);
}
.price-card--recommended {
  background: rgba(200,168,90,.12);
  border-color: rgba(200,168,90,.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.25);
}
.price-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy);
  font: 700 12px var(--font-body); letter-spacing: .1em;
  padding: 4px 20px; border-radius: var(--r-pill);
}
.price-card__grade {
  font-family: var(--font-heading); font-size: 20px;
  color: var(--white); font-weight: 600;
}
.price-card__range {
  margin-top: 16px; display: flex; align-items: baseline;
  justify-content: center; gap: 2px;
}
.price-num {
  font-family: var(--font-heading);
  font-size: 56px; font-weight: 700; line-height: 1;
  color: var(--gold);
}
.price-unit {
  font-family: var(--font-body); font-size: 18px;
  color: rgba(255,255,255,.85); font-weight: 500;
}
.price-card__list {
  margin-top: 20px; text-align: left;
  display: grid; gap: 8px;
}
.price-card__list li {
  font-size: 13px; color: rgba(255,255,255,.78);
  font-family: var(--font-body); line-height: 1.7;
  padding-left: 16px; position: relative;
}
.price-card__list li::before {
  content: '–';
  position: absolute; left: 0;
  color: var(--gold); font-weight: 700;
}
.price-note {
  margin-top: 36px; max-width: 820px; margin-left: auto; margin-right: auto;
  text-align: center;
}
.price-note p {
  font-size: 13px; line-height: 2;
  color: rgba(255,255,255,.65); font-family: var(--font-body);
}

/* ============================================================
  施工の流れセクション
============================================================ */
.flow-section { background: var(--off); }
.flow-list {
  display: grid; gap: 0; margin-top: 48px;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.flow-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-clr);
  align-items: start;
}
.flow-item:last-child { border-bottom: none; }
.flow-item__num {
  font-family: var(--font-number); font-size: 15px;
  font-style: italic; font-weight: 600;
  color: var(--gold); letter-spacing: .08em;
  padding-top: 4px; text-align: center;
}
.flow-item__body h3 {
  font-family: var(--font-heading); font-size: 19px;
  line-height: 1.5; color: var(--navy);
}
.flow-item__body p {
  margin-top: 8px; font-size: 13px; line-height: 1.95;
  color: var(--text-muted); font-family: var(--font-body);
}

/* ============================================================
  関連サービスセクション
============================================================ */
.related-section {
  background: var(--off); padding: 72px 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 40px;
}
.related-card {
  text-decoration: none; color: inherit;
  background: var(--white);
  border: 1.5px solid var(--line-clr);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-fast) var(--ease-soft),
              transform var(--dur-fast) var(--ease-soft);
}
.related-card img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform .6s var(--ease-soft);
}
.related-card__body {
  padding: 20px 18px 18px; text-align: center;
}
.related-card h3 {
  font-family: var(--font-heading); font-size: 19px;
  line-height: 1.5; color: var(--navy);
}
.related-card p {
  margin-top: 6px; font-size: 13px; line-height: 1.8;
  color: var(--text-muted); font-family: var(--font-body);
}
@media (hover:hover) {
  .related-card:hover {
    box-shadow: var(--shadow-md); transform: translateY(-4px);
  }
  .related-card:hover img { transform: scale(1.04); }
}

/* ============================================================
  レスポンシブ
============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid    { grid-template-columns: repeat(2, 1fr); }
  .related-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .page-hero { min-height: auto; padding: 60px 0 40px; }
  .page-hero__inner h1 { font-size: clamp(24px, 8vw, 36px); }
  .worries-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card--recommended { transform: none; }
  .flow-item { grid-template-columns: 80px 1fr; gap: 0 16px; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .worries-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .worry-card { padding: 18px 14px; }
  .flow-item { grid-template-columns: 1fr; gap: 6px 0; padding: 22px 0; }
  .flow-item__num { text-align: left; font-size: 13px; }
}

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