@charset "UTF-8";

@import "../../n_common/css/_variable.css";
/* =========================================================
  ZEH-M Oriented　特設ページ
  掲載先: /equipment/css_zeh/local.css
  スコープ: .area_zeh 配下のみに適用(既存スタイルと衝突しないよう
  すべて .area_zeh を起点に記述)

  元データ: Asm久米_設備仕様_ZEH_edit.ai (2026-09-17解析)
  デザイン幅1920px・コンテンツ幅1170pxを基準に採寸
========================================================== */

.area_zeh {
  /* ---- design tokens (元AIデータのピクセル計測より) ---- */
  --zeh_green: #3ca143; /* 強調文字・表キャプション・BELS枠 */
  --zeh_bar: #43aa7e; /* 「光熱費を抑えながら〜」帯 */
  --zeh_lime: #77b833; /* 「優遇金利措置〜」帯 */
  --zeh_mint: #84c5b1; /* 吹き出し見出し塗り(=--main_c) */
  --zeh_stroke: #364756; /* 吹き出し見出しの線 */
  --zeh_cell: #a6deac; /* 金利表セル */
  --zeh_ink: #231f20; /* 金利表の文字・罫線 */

  font-family: var(--font_gothic);
  font-feature-settings: "palt";
  color: var(--font_c);
  text-align: left;
  overflow-wrap: break-word;
  padding-bottom: 90px;
  @media (width < 896px) {
    padding-bottom: 48px;
  }

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

  img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
  }

  h2,
  h3,
  h4,
  p,
  figure {
    margin: 0;
  }

  .zeh-wrap {
    width: calc(100% - 80px);
    max-width: 1170px;
    margin-inline: auto;
    @media (width < 896px) {
      width: calc(100% - 40px);
    }
  }

  /* グラデーション区切り線(images_zeh/line01.svg と同配色。
     SVGは縦横比固定で幅に応じて線が細るためCSSで再現) */
  .zeh-line {
    height: 4px;
    margin-block: 60px;
    background: linear-gradient(90deg, #84c5b1 0%, #a9d5c6 39%, #c5e1d7 52%, #d9df92 60%, #e7dd58 69%, #f2db2b 100%);
    @media (width < 896px) {
      height: 3px;
      margin-block: 36px;
    }
  }

  /* ---------------------------------------------------------
    導入
  --------------------------------------------------------- */
  .zeh-intro {
    padding-top: 40px;
    text-align: center;
    @media (width < 896px) {
      padding-top: 16px;
    }
  }
  .zeh-intro__lead {
    font-size: clamp(1.0625rem, 0.7022rem + 1.4815vw, 1.875rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.5;
    word-break: keep-all;
  }
  .zeh-intro__catch {
    margin-top: 56px;
    font-size: clamp(1.25rem, 0.6481rem + 2.4691vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.75;
    word-break: keep-all;
    @media (width < 896px) {
      margin-top: 32px;
    }
  }
  .zeh-intro__catch--green {
    color: var(--zeh_green);
  }
  .zeh-intro__mark {
    margin-top: 16px;
    img {
      width: 344px;
      @media (width < 896px) {
        width: 200px;
      }
    }
  }
  .zeh-intro__sub {
    margin-top: 48px;
    font-size: clamp(0.9375rem, 0.6852rem + 1.0288vw, 1.5rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.6;
    word-break: keep-all;
    @media (width < 896px) {
      margin-top: 20px;
      letter-spacing: 0.05em;
    }
  }

  /* ---------------------------------------------------------
    2030年までにはZEHがスタンダードに／基準が変わります
    (0928修正でBELSの下＝ページ下部へ移動)
  --------------------------------------------------------- */
  .zeh-standard {
    margin-top: 88px;
    @media (width < 896px) {
      margin-top: 48px;
    }
  }
  .zeh-standard__img img {
    width: 100%;
  }
  .zeh-kawaru {
    margin-top: 86px;
    display: grid;
    grid-template-columns: minmax(0, 330fr) minmax(0, 800fr);
    gap: 40px;
    align-items: center;
    @media (width < 896px) {
      margin-top: 36px;
      grid-template-columns: minmax(0, 1fr);
      gap: 20px;
    }
  }
  .zeh-kawaru__ttl {
    font-size: clamp(1.1875rem, 0.8889rem + 1.0288vw, 1.6875rem);
    font-weight: 700;
    line-height: 1.4;
    /* デザイン上、見出しのみ本文カラム幅(330px)をはみ出して1行 */
    @media (width >= 1200px) {
      white-space: nowrap;
    }
  }
  .zeh-kawaru__txt {
    margin-top: 20px;
    font-size: clamp(0.9375rem, 0.6481rem + 0.7407vw, 1.3125rem);
    line-height: 1.5;
    text-align: justify;
    @media (width < 896px) {
      margin-top: 10px;
    }
  }
  .zeh-kawaru__img img {
    width: 100%;
  }

  /* ---------------------------------------------------------
    3つの暮らし(環境／経済／快適)
  --------------------------------------------------------- */
  .zeh-merit {
    margin-top: 150px;
    @media (width < 896px) {
      margin-top: 56px;
    }
  }
  /* 「ZEHのマンションで暮らすメリット」両脇にグラデーション線 */
  .zeh-merit__head {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 28px;
    color: var(--zeh_green);
    text-align: center;
    font-size: clamp(1.25rem, 0.5741rem + 2.4691vw, 2.75rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    word-break: keep-all;
    &::before,
    &::after {
      content: "";
      flex: 1 1 0;
      min-width: 24px;
      max-width: 190px;
      height: 14px;
    }
    &::before {
      background: linear-gradient(90deg, #85c5b1 0%, #aad2a6 40%, #e7edae 75%, rgb(255 255 255 / 0) 100%);
    }
    &::after {
      background: linear-gradient(90deg, rgb(255 255 255 / 0) 0%, #dee090 30%, #f0db38 65%, #f2db2b 100%);
    }
    @media (width < 896px) {
      gap: 12px;
      margin-bottom: 16px;
      letter-spacing: 0.04em;
      &::before,
      &::after {
        height: 6px;
      }
    }
  }
  .zeh-merit__bar {
    padding: 0.45em 1em;
    background: var(--zeh_bar);
    border-radius: 14px;
    color: #fff;
    text-align: center;
    font-size: clamp(1.0625rem, 0.4861rem + 1.9753vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    word-break: keep-all;
    @media (width < 896px) {
      border-radius: 10px;
      letter-spacing: 0.04em;
    }
  }

  .zeh-merit__item {
    display: grid;
    grid-template-columns: minmax(0, 580fr) minmax(0, 560fr);
    grid-template-areas: "img body";
    gap: 30px;
    align-items: start;
    &.--reverse {
      grid-template-columns: minmax(0, 560fr) minmax(0, 580fr);
      grid-template-areas: "body img";
    }
    @media (width < 896px) {
      grid-template-columns: minmax(0, 1fr);
      grid-template-areas: "img" "body";
      gap: 20px;
      &.--reverse {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "img" "body";
      }
    }
  }
  .zeh-merit__bar + .zeh-merit__item {
    margin-top: 82px;
    @media (width < 896px) {
      margin-top: 32px;
    }
  }
  .zeh-merit__img {
    grid-area: img;
    img {
      width: 100%;
    }
  }
  .zeh-merit__body {
    grid-area: body;
  }
  .zeh-merit__ttl img {
    width: 563px;
  }
  .zeh-merit__txt {
    margin-top: 24px;
    font-size: clamp(0.9375rem, 0.6481rem + 0.7407vw, 1.3125rem);
    line-height: 1.5;
    text-align: justify;
    @media (width < 896px) {
      margin-top: 12px;
    }
  }
  .zeh-merit__fig {
    margin-top: 24px;
    position: relative;
    img {
      width: 565px;
    }
    figcaption {
      position: absolute;
      right: 0;
      bottom: 30px;
      font-size: 0.75rem;
      @media (width < 896px) {
        position: static;
        margin-top: 4px;
        text-align: right;
      }
    }
  }

  /* 経済的な暮らし(0928修正: 左=見出し・本文・優遇金利、右=画像・金利表) */
  .zeh-merit__item.--eco {
    grid-template-columns: minmax(0, 555fr) minmax(0, 578fr);
    grid-template-rows: auto 1fr;
    grid-template-areas: "body img" "body table";
    column-gap: 37px;
    row-gap: 21px;
    @media (width < 896px) {
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: auto;
      grid-template-areas: "img" "body" "table";
      row-gap: 20px;
    }
  }

  /* 優遇金利 */
  .zeh-loan {
    margin-top: 56px;
    @media (width < 896px) {
      margin-top: 32px;
    }
  }
  .zeh-loan__caution {
    margin-top: 4px;
    font-size: clamp(0.75rem, 0.6574rem + 0.2346vw, 0.875rem);
    line-height: 1.5;
  }
  .zeh-loan__ttl {
    padding: 0.3em 1em;
    background: var(--zeh_lime);
    border-radius: 999px;
    color: #fff;
    text-align: center;
    font-size: clamp(1.0625rem, 0.7847rem + 0.9877vw, 1.625rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
  }
  .zeh-loan__txt {
    margin-top: 16px;
    font-size: clamp(0.9375rem, 0.6481rem + 0.7407vw, 1.3125rem);
    line-height: 1.5;
    @media (width < 896px) {
      margin-top: 10px;
    }
  }
  .zeh-loan__table {
    grid-area: table;
    align-self: start;
    width: 100%;
    border-collapse: collapse;
    color: var(--zeh_ink);
    text-align: center;
    caption {
      padding: 0.35em 0.5em;
      background: var(--zeh_green);
      color: #fff;
      font-size: clamp(0.8125rem, 0.6667rem + 0.3704vw, 1rem);
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1.4;
    }
    th,
    td {
      border: 1px solid var(--zeh_ink);
      padding: 0.3em 0.4em;
      line-height: 1.3;
    }
    th {
      background: #fff;
      font-size: clamp(0.75rem, 0.5463rem + 0.5185vw, 1.125rem);
      font-weight: 700;
      letter-spacing: 0.08em;
      word-break: keep-all;
      @media (width < 896px) {
        padding-inline: 0.2em;
        letter-spacing: 0;
      }
    }
    td {
      height: 52px;
      background: var(--zeh_cell);
      font-size: clamp(0.875rem, 0.5046rem + 0.9383vw, 1.375rem);
      font-weight: 700;
      @media (width < 896px) {
        height: 44px;
      }
    }
  }
  .zeh-loan__note {
    margin-top: 20px;
    text-align: right;
    font-size: clamp(0.75rem, 0.6574rem + 0.2346vw, 0.875rem);
    line-height: 1.5;
    @media (width < 896px) {
      text-align: left;
    }
    small {
      font-size: 0.85em;
    }
  }

  /* ヒートショック */
  .zeh-risk {
    margin-top: 40px;
    @media (width < 896px) {
      margin-top: 36px;
    }
  }
  /* 見出し帯(images_zeh/bg_ttl.svg の形状をCSSで再現。
     SVG背景だとSPで折り返して高さが変わった際に角丸・線が歪むため) */
  .zeh-risk__ttl {
    position: relative;
    isolation: isolate;
    margin-right: 5px;
    padding: 0.55em 1em;
    border-radius: 14px;
    color: #fff;
    text-align: center;
    font-size: clamp(1.0625rem, 0.7847rem + 0.9877vw, 1.625rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    word-break: keep-all;
    &::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: var(--zeh_mint);
      border-radius: inherit;
      translate: 5px 5px;
    }
    /* 線は塗り(::before)より手前に重ねる */
    &::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      border: 1.5px solid var(--zeh_stroke);
      border-radius: inherit;
    }
    @media (width < 896px) {
      border-radius: 10px;
      letter-spacing: 0.04em;
    }
  }
  .zeh-risk__txt {
    margin-top: 36px;
    font-size: clamp(0.9375rem, 0.6481rem + 0.7407vw, 1.3125rem);
    line-height: 1.5;
    text-align: justify;
    @media (width < 896px) {
      margin-top: 20px;
    }
  }

  /* ---------------------------------------------------------
    ZEH-M Orientedとは／BELS
  --------------------------------------------------------- */
  .zeh-about {
    margin-top: 130px;
    text-align: center;
    @media (width < 896px) {
      margin-top: 56px;
    }
  }
  .zeh-about__ttl img {
    width: 100%;
  }
  .zeh-about__lead,
  .zeh-bels__txt {
    font-size: clamp(1rem, 0.6481rem + 1.2346vw, 1.75rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.85;
    word-break: keep-all;
    @media (width < 896px) {
      line-height: 1.6;
      word-break: normal;
    }
  }
  .zeh-bels__txt br {
    @media (width < 896px) {
      display: none;
    }
  }
  .zeh-about__lead {
    margin-top: 36px;
    @media (width < 896px) {
      margin-top: 20px;
    }
  }
  .zeh-about__img {
    margin-top: 56px;
    img {
      width: 100%;
      max-width: 800px;
    }
    @media (width < 896px) {
      margin-top: 24px;
    }
  }
  .zeh-bels {
    margin-top: 90px;
    padding: 60px 40px 72px;
    border: 3px solid var(--zeh_green);
    border-radius: 30px;
    @media (width < 896px) {
      margin-top: 40px;
      padding: 24px 16px 28px;
      border-width: 2px;
      border-radius: 16px;
    }
  }
  .zeh-bels__img {
    margin-top: 64px;
    img {
      width: 100%;
      max-width: 500px;
    }
    @media (width < 896px) {
      margin-top: 20px;
    }
  }

  /* ---------------------------------------------------------
    まとめ＋CTA(0928追加)
  --------------------------------------------------------- */
  .zeh-cta {
    text-align: center;
    .zeh-line {
      margin-block: 76px 56px;
      @media (width < 896px) {
        margin-block: 40px 28px;
      }
    }
  }
  .zeh-cta__txt {
    font-size: clamp(1rem, 0.6481rem + 1.2346vw, 1.75rem);
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.85;
    word-break: keep-all;
    @media (width < 896px) {
      line-height: 1.6;
    }
  }
  .zeh-cta__btn {
    margin-top: 44px;
    @media (width < 896px) {
      margin-top: 24px;
    }
    a {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      max-width: 582px;
      min-height: 70px;
      padding: 0.4em 2.2em;
      background: #e094a0;
      border-radius: 999px;
      box-shadow: 5px 5px 0 #c9c9c9;
      color: #fff;
      font-size: clamp(1.125rem, 0.6019rem + 1.6461vw, 2.125rem);
      font-weight: 700;
      letter-spacing: 0.15em;
      line-height: 1.4;
      text-decoration: none;
      transition: opacity 0.2s;
      /* 右端の「＞」 */
      &::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 1.6em;
        width: 0.5em;
        height: 0.5em;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        translate: 0 -50%;
        rotate: 45deg;
      }
      &:hover {
        opacity: 0.85;
        text-decoration: none;
      }
      @media (width < 896px) {
        min-height: 56px;
        box-shadow: 3px 3px 0 #c9c9c9;
        &::after {
          right: 1.2em;
        }
      }
    }
  }
}

.newline {
  display: inline-block;
}

.txt_number {
  font-size: 1.5em;
  color: var(--point02);
  color: var(--main_c);
}
.txt_small {
  display: inline-block;
  font-size: 0.7em;
}

.pconly {
  @media (width <= 896px) {
    display: none;
  }
}
