/* リフォーム事業ページ固有スタイル（Wix: /reform を踏襲） */

/* ---------- 冒頭（Wix: 1440×409 全幅写真・右側に見出し） ---------- */
.reform-hero {
  position: relative;
  margin-top: var(--header-h);
  overflow: hidden;
  background: var(--cream);
}
.reform-hero-img { width: 100%; height: auto; aspect-ratio: 1440 / 409; object-fit: cover; object-position: 50% 50%; }
.reform-hero-copy {
  position: absolute;
  left: 62%;
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 38vw);
  padding: 28px 48px;
  color: var(--ink);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.86) 14%, rgba(255, 255, 255, 0.86) 86%, rgba(255, 255, 255, 0) 100%);
}
.reform-hero-copy h1 {
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
  white-space: nowrap;
}
.reform-hero-copy .sub { margin-top: 14px; font-size: clamp(14px, 1.15vw, 16px); letter-spacing: 0.2em; line-height: 1.6; }
.reform-breadcrumb { justify-content: flex-start; width: min(var(--w-wide), calc(100% - var(--gutter) * 2)); margin: 18px auto 0; }
.reform-breadcrumb .sep { color: var(--gray); }

/* ---------- 4つのメニュー（Wix: 720×512 の写真と文章が左右交互） ---------- */
.reform-menu { margin-top: clamp(40px, 5vw, 64px); }
.menu-item { display: grid; grid-template-columns: 1fr 1fr; }
.menu-photo { position: relative; aspect-ratio: 720 / 512; overflow: hidden; background: var(--cream-deep); }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }
.menu-label {
  position: absolute; left: 18px; top: 18px;
  box-shadow: 0 4px 16px rgba(34, 33, 34, 0.12);
  padding: 0 22px;
  background: #fff; color: var(--ink);
  font-size: clamp(16px, 1.45vw, 20px); font-weight: 400; letter-spacing: 0.2em; line-height: 2.1;
  white-space: nowrap;
}
.menu-item.is-rev .menu-photo { order: 2; }
.menu-item.is-rev .menu-body { order: 1; }
.menu-body { display: flex; align-items: center; padding: clamp(40px, 5vw, 72px) clamp(28px, 5.6vw, 80px) clamp(40px, 5vw, 72px) clamp(40px, 8.4vw, 121px); }
.menu-item.is-rev .menu-body { padding-left: clamp(28px, 5.6vw, 80px); padding-right: clamp(40px, 8.4vw, 121px); justify-content: flex-end; }
.menu-inner { max-width: 478px; }
.menu-title { font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; letter-spacing: 0.2em; line-height: 1.6; }
.menu-inner .text { margin-top: 22px; }
.menu-inner .btn-row { margin-top: 30px; gap: 12px 24px; }
.menu-inner .btn { min-width: 0; width: 211px; height: 48px; padding: 0 20px; font-size: 14px; letter-spacing: 0.15em; color: var(--purple); }
.menu-inner .btn:hover { color: #fff; }

/* ---------- 補助金の案内（Wix: 薄紫 rgb(244,228,254) の帯・150px） ---------- */
.subsidy-band { background: #f4e4fe; padding: clamp(44px, 4.4vw, 60px) 0; text-align: center; }
.subsidy-text { font-size: clamp(16px, 1.6vw, 22px); letter-spacing: 0.24em; line-height: 1.8; color: #000; text-indent: 0.24em; }
.subsidy-text .text-link { text-underline-offset: 0.35em; }
.subsidy-text .text-link:hover { color: var(--purple); }

/* ---------- Reason（Wix: 紫地 rgb(124,76,153)・白文字・枠線カード3枚） ---------- */
.reason { background: var(--purple); color: #fff; }
.reason .sec-label { color: rgba(255, 255, 255, 0.85); }
.reason .sec-title { color: #fff; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: var(--head-gap); }
.reason-card { border: 1px solid rgba(255, 255, 255, 0.55); padding: clamp(22px, 2.4vw, 32px) clamp(20px, 2.2vw, 28px); }
.reason-card + .reason-card { border-left: 0; }
.reason-card h3 { font-size: clamp(16px, 1.35vw, 18px); font-weight: 700; letter-spacing: 0.16em; line-height: 1.6; min-height: 2.9em; }
.reason-card p { margin-top: 16px; font-size: 14px; line-height: 1.9; letter-spacing: 0.06em; }

/* ---------- Area（Wix: 左に文章・右に山梨県の地図 609×563） ---------- */
.area-grid { display: grid; grid-template-columns: minmax(0, 478px) minmax(0, 560px); justify-content: space-between; align-items: center; gap: clamp(32px, 4vw, 64px); }
.area-body .sec-title { line-height: 1.8; }
.area-body .text { margin-top: var(--head-gap); }
.area-list {
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--cream);
  text-align: center;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.9;
  letter-spacing: 0.04em;
}
.area-map img { width: 100%; height: auto; }

/* ---------- Flow / FAQ ---------- */
.flow-sec, .faq-sec { background: #fff; }
.faq-sec .acc-q > span:first-of-type { flex: 1; }  /* 質問文を左寄せ（共通CSSでは中央に寄る） */

/* ---------- レスポンシブ ---------- */
@media (max-width: 1100px) {
  .reform-hero-copy { left: 56%; width: min(440px, 44vw); padding: 20px 36px; }
}
@media (max-width: 900px) {
  .menu-item { grid-template-columns: 1fr; }
  .menu-item.is-rev .menu-photo { order: 1; }
  .menu-item.is-rev .menu-body { order: 2; }
  .menu-body, .menu-item.is-rev .menu-body { padding: 36px var(--gutter) 56px; justify-content: flex-start; }
  .menu-inner { max-width: 620px; }
  .reason-grid { grid-template-columns: 1fr; }
  .reason-card + .reason-card { border-left: 1px solid rgba(255, 255, 255, 0.55); border-top: 0; }
  .reason-card h3 { min-height: 0; }
  .area-grid { grid-template-columns: 1fr; justify-content: stretch; }
  .area-map { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .reform-hero-img { aspect-ratio: 4 / 3; }
  .reform-hero-copy {
    left: 0; right: 0;
    top: auto; bottom: 20px; transform: none;
    width: auto;
    padding: 16px var(--gutter);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.86) 14%, rgba(255, 255, 255, 0.86) 86%, rgba(255, 255, 255, 0) 100%);
  }
  .reform-hero-copy h1 { font-size: 19px; white-space: normal; }
  .reform-hero-copy .sub { margin-top: 8px; font-size: 13px; }
  .reform-menu { margin-top: 32px; }
  .menu-label { font-size: 15px; padding: 0 16px; left: 12px; top: 12px; }
  .menu-inner .btn-row { gap: 10px; justify-content: center; }
  .menu-inner .btn { width: 100%; height: 50px; }
  .menu-inner .menu-sub { text-align: center; }
  .subsidy-text { letter-spacing: 0.12em; text-indent: 0; }
  .area-list { font-size: 14px; text-align: left; }
}

.menu-inner .menu-sub { margin-top: 12px; font-size: 14px; }

.reason-actions { margin-top: 36px; }
.reason .btn { background: #fff; color: var(--ink); border-color: #fff; }
.reason .btn:hover { background: var(--purple-deep); color: #fff; border-color: #fff; }
.reason .btn.is-light { background: transparent; color: #fff; }
.reason .btn.is-light:hover { background: #fff; color: var(--purple); }
.subsidy-actions { margin-top: 20px; }

.reason-more { margin-top: 18px; text-align: center; font-size: 13px; letter-spacing: 0.08em; }
.reason-more a { color: rgba(255, 255, 255, 0.9); text-decoration: underline; text-underline-offset: 0.4em; text-decoration-thickness: 1px; }
.reason-more a:hover { color: #fff; }
