@charset "UTF-8";
/* =========================================================
   リフォーム＆リノベーションページ（page-reform.php）専用スタイル
   ※ functions.php が assets/css/ 内のCSSを自動で読み込みます
     （filemtime() によるバージョン番号付きで読み込むため、
       このファイルを差し替えるとキャッシュも自動で切り替わります）
   ※ style.css（共通）のあとに読み込まれます
   ※ ページタイトル帯・パンくずは style.css の
     全ページ共通パーツ（.page-hero / .breadcrumb）を使用しています
   ※ 下部の「シエルセーヌ」シリーズ関連リンクも style.css の
     全ページ共通パーツ（.series-links）を使用しています

   ■ 目次
     1. ページ共通の変数・見出し
     2. メインビジュアル
     3. リフォームとリノベーションの比較
     4. デザイン・リノベーション（背景写真＋3枚のカード）
     5. 定期点検・メンテナンス（2列×2段）
     6. タブレット（768〜1024px）
     7. SP（〜767px）
========================================================= */


/* =========================================================
   1. ページ共通の変数・見出し
========================================================= */
.l-reform {
  --reform-dark: #282828;        /* 「リフォーム」側の黒 */
  --reform-blue: #0082bc;        /* 「リノベーション」側の水色 */
  --reform-panel: #f2f2f2;       /* 比較パネルのグレー */
  --reform-panel-light: #f8f8f8; /* メンテナンス説明文のグレー */
  --reform-accent: #6fafd2;      /* 写真の下のアクセントライン */
  --reform-dot: #c3c3c3;         /* チェックリストの区切り点線 */
  --reform-col-gap: 30px;        /* 2カラムの左右間隔 */
  --reform-card-gap: 21px;       /* 3カラムカードの左右間隔 */
}

/* --- 共通インナー（style.css の --container: 1200px に合わせる） --- */
.reform-compare__inner,
.reform-design__head,
.reform-maint__inner {
  max-width: calc(var(--container) + 40px);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- セクション見出し（黒・明朝・中央） --- */
.reform-sec-title {
  color: var(--color-text);
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .1em;
  text-indent: .1em; /* letter-spacing ぶんのズレを打ち消して中央に揃える */
  text-align: center;
}

/* 2行で見せる見出し（行間を少し広げる） */
.reform-sec-title--2line {
  line-height: 1.7;
}

/* --- セクション見出し直下のリード（中央） --- */
.reform-sec-lead {
  margin-top: 36px;
  font-size: 1.8rem;
  line-height: 2.1;
  letter-spacing: .06em;
  text-align: center;
}


/* =========================================================
   2. メインビジュアル

   キャッチコピーは画像に入っています。
   画像はPHP側の <picture> で出し分けています
   （〜767px：reform_mv_sp.jpg ／ 768px〜：reform_mv_pc.jpg）
========================================================= */
.reform-mv {
  max-width: calc(var(--container) + 40px);
  margin: 60px auto 0;
  padding: 0 20px;
}

.reform-mv__img {
  display: block;
  width: 100%;
  height: auto;
}


/* =========================================================
   3. リフォームとリノベーションの比較

   うすい楕円模様（reform_oval_bg.png）を全幅の背景に敷き、
   その上に2カラムの比較パネルを重ねています。
========================================================= */
.reform-compare {
  margin-top: 90px;
  padding: 26px 0 50px;
  background-color: #fff;
  background-image: url("../images/reform/reform_oval_bg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* --- 2カラム --- */
.reform-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--reform-col-gap);
  margin-top: 56px;
}

/* 左右のパネルの高さを揃える */
.reform-compare__col {
  display: flex;
  flex-direction: column;
}

/* --- 見出しの帯（パネルの上端に重ねる） --- */
.reform-compare__tab {
  position: relative;
  z-index: 1;
  width: 367px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 10px;
  color: #fff;
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 80px; /* 帯の高さ */
  letter-spacing: .25em;
  text-indent: .25em; /* letter-spacing ぶんのズレを打ち消して中央に揃える */
  text-align: center;
}

.reform-compare__col--reform .reform-compare__tab {
  background-color: var(--reform-dark);
}

.reform-compare__col--renovation .reform-compare__tab {
  background-color: var(--reform-blue);
}

/* --- グレーのパネル --- */
.reform-compare__panel {
  flex: 1 1 auto;
  /* 帯（高さ80px）の下半分ぶんだけ上に重ねる */
  margin-top: -43px;
  padding: 88px 34px 64px;
  background-color: var(--reform-panel);
}

/* 帯のすぐ下の一文 */
.reform-compare__catch {
  font-size: 2.2rem;
  line-height: 1.6;
  letter-spacing: .06em;
  text-indent: .06em;
  text-align: center;
}

/* --- チェックリスト（白いカード） --- */
.reform-compare__list {
  margin-top: 36px;
  padding: 35px 42px 30px;
  background-color: #fff;
}

/* チェックマークは背景画像（SVG）で置いています */
.reform-compare__item {
  padding-left: 43px;
  font-size: 2.3rem;
  line-height: 1.7;
  letter-spacing: .04em;
  background-repeat: no-repeat;
  background-position: left 0 top .4em;
  background-size: 28px auto;
}

/* チェックマーク（SVG）。左右で色を変える */
.reform-compare__col--reform .reform-compare__item {
  background-image: url("../images/reform/check_dark.svg");
}

.reform-compare__col--renovation .reform-compare__item {
  background-image: url("../images/reform/check_blue.svg");
}

/* 2項目め以降は点線で区切る
   （上に余白が付くぶん、チェックマークの位置も同じだけ下げます） */
.reform-compare__item + .reform-compare__item {
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px dotted var(--reform-dot);
  background-position: left 0 top calc(15px + .4em);
}

/* --- カード下の説明文 --- */
.reform-compare__desc {
  margin-top: 38px;
  font-size: 1.9rem;
  line-height: 2.1;
  letter-spacing: .04em;
}


/* =========================================================
   4. デザイン・リノベーション（背景写真＋3枚のカード）

   背景写真はPHP側の <picture> で出し分けています
   （〜767px：renovation_bg_sp.jpg ／ 768px〜：renovation_bg_pc.jpg）
   カードは負のマージンで写真の下部に重ねています。
========================================================= */
.reform-design {
  margin-top: 70px;
  /* トップの SERVICES「リノベーション」からのページ内リンク（#design-renovation）で、固定ヘッダーに隠れないようにする */
  scroll-margin-top: calc(var(--header-h) + 30px);
}

/* --- 背景写真（全幅） --- */
.reform-design__visual {
  margin-top: 68px;
}

.reform-design__photo {
  display: block;
  width: 100%;
  height: 583px;
  object-fit: cover;
  object-position: center center;
}

/* --- 写真に重なるカード群 --- */
.reform-design__cards {
  position: relative;
  max-width: calc(var(--container) + 40px);
  margin: -197px auto 0; /* 写真に重ねる量 */
  padding: 0 20px;
}

.reform-strength {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--reform-card-gap);
}

.reform-strength__item {
  padding: 38px 36px 42px;
  background-color: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
}

.reform-strength__sub {
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: .08em;
  text-indent: .08em;
  text-align: center;
}

.reform-strength__title {
  margin-top: 10px;
  color: var(--color-text);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .1em;
  text-indent: .1em;
  text-align: center;
}

/* 見出しの下の装飾ライン（中央だけ水色／style.css の h2 と同じ考え方） */
.reform-strength__title::after {
  content: "";
  display: block;
  width: 94px;
  height: 2px;
  margin: 22px auto 0;
  text-indent: 0;
  background-image: linear-gradient(
    to right,
    var(--lowpage-line) 0,
    var(--lowpage-line) 34px,
    var(--reform-accent) 34px,
    var(--reform-accent) 60px,
    var(--lowpage-line) 60px,
    var(--lowpage-line) 100%
  );
}

.reform-strength__text {
  margin-top: 26px;
  font-size: 1.7rem;
  line-height: 1.8;
  letter-spacing: .04em;
}


/* =========================================================
   5. 定期点検・メンテナンス（2列×2段）
========================================================= */
.reform-maint {
  margin-top: 112px;
}

.reform-maint__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--reform-col-gap);
  row-gap: 76px;
  margin-top: 78px;
}

.reform-maint__title {
  color: var(--color-text);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .1em;
  text-indent: .1em;
  text-align: center;
}

.reform-maint__sub {
  margin-top: 16px;
  font-size: 1.7rem;
  line-height: 1.6;
  letter-spacing: .06em;
  text-indent: .06em;
  text-align: center;
}

.reform-maint__figure {
  margin-top: 22px;
}

.reform-maint__img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- 写真の下の説明文（グレー地＋上部のアクセントライン） --- */
.reform-maint__body {
  position: relative;
  padding: 30px 50px 34px;
  background-color: var(--reform-panel-light);
}

.reform-maint__body::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 232px;
  height: 2px;
  background-color: var(--reform-accent);
  transform: translateX(-50%);
}

.reform-maint__text {
  font-size: 1.7rem;
  line-height: 1.7;
  letter-spacing: .04em;
}


/* =========================================================
   6. タブレット（768〜1024px）
========================================================= */
@media screen and (min-width: 768px) and (max-width: 1024px) {

  .reform-sec-title {
    font-size: 2.6rem;
  }

  .reform-sec-lead {
    font-size: 1.5rem;
  }

  /* --- 比較 --- */
  .reform-compare__tab {
    width: 100%;
    font-size: 2.2rem;
    letter-spacing: .14em;
    text-indent: .14em;
  }

  .reform-compare__panel {
    padding: 72px 24px 48px;
  }

  .reform-compare__catch {
    font-size: 1.8rem;
  }

  .reform-compare__list {
    padding: 28px 26px 30px;
  }

  .reform-compare__item {
    padding-left: 34px;
    font-size: 1.8rem;
    background-size: 23px auto;
  }

  .reform-compare__desc {
    font-size: 1.6rem;
  }

  /* --- デザイン・リノベーション --- */
  .reform-design__photo {
    height: 440px;
  }

  .reform-design__cards {
    margin-top: -150px;
  }

  .reform-strength__item {
    padding: 28px 22px 30px;
  }

  .reform-strength__sub {
    font-size: 1.3rem;
  }

  .reform-strength__title {
    font-size: 2.1rem;
  }

  .reform-strength__text {
    margin-top: 20px;
    font-size: 1.5rem;
  }

  /* --- メンテナンス --- */
  .reform-maint__title {
    font-size: 2.4rem;
  }

  .reform-maint__sub {
    font-size: 1.5rem;
  }

  .reform-maint__body {
    padding: 32px 28px 34px;
  }

  .reform-maint__text {
    font-size: 1.5rem;
  }
}


/* =========================================================
   7. SP（〜767px）
========================================================= */
@media screen and (max-width: 767px) {

  .l-reform {
    --reform-col-gap: 0px;
    --reform-card-gap: 16px;
  }

  /* 本文中の改行はSPでは解除して読みやすくする */
  .reform-sec-lead br,
  .reform-strength__text br {
    display: none;
  }

  .reform-sec-title {
    font-size: 2rem;
    line-height: 1.6;
    letter-spacing: .04em;
    text-indent: .04em;
  }

  .reform-sec-title--2line {
    line-height: 1.7;
  }

  .reform-sec-lead {
    margin-top: 20px;
    font-size: 1.4rem;
    line-height: 1.9;
    text-align: left;
  }

  /* --- メインビジュアル --- */
  .reform-mv {
    margin-top: 30px;
  }

  /* --- 比較 --- */
  .reform-compare {
    margin-top: 44px;
    padding: 36px 0 40px;
  }

  .reform-compare__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 30px;
  }

  .reform-compare__tab {
    width: 260px;
    font-size: 1.8rem;
    line-height: 54px;
    letter-spacing: .12em;
    text-indent: .12em;
  }

  .reform-compare__panel {
    margin-top: -29px;
    padding: 46px 18px 30px;
  }

  .reform-compare__catch {
    font-size: 1.6rem;
  }

  .reform-compare__list {
    margin-top: 20px;
    padding: 20px 18px 22px;
  }

  .reform-compare__item {
    padding-left: 28px;
    font-size: 1.5rem;
    line-height: 1.7;
    background-size: 19px auto;
  }

  .reform-compare__item + .reform-compare__item {
    margin-top: 16px;
    padding-top: 16px;
    background-position: left 0 top calc(16px + .4em);
  }

  .reform-compare__desc {
    margin-top: 24px;
    font-size: 1.4rem;
    line-height: 2;
  }

  /* --- デザイン・リノベーション --- */
  .reform-design {
    margin-top: 44px;
  }

  .reform-design__visual {
    margin-top: 28px;
  }

  .reform-design__photo {
    height: 320px;
  }

  /* SPではカードを縦積みにし、写真への重なりを浅くする */
  .reform-design__cards {
    margin-top: -60px;
    padding: 0 16px;
  }

  .reform-strength {
    grid-template-columns: 1fr;
  }

  .reform-strength__item {
    padding: 24px 20px 26px;
  }

  .reform-strength__sub {
    font-size: 1.2rem;
  }

  .reform-strength__title {
    margin-top: 6px;
    font-size: 1.9rem;
  }

  .reform-strength__title::after {
    width: 70px;
    margin-top: 14px;
    background-image: linear-gradient(
      to right,
      var(--lowpage-line) 0,
      var(--lowpage-line) 25px,
      var(--reform-accent) 25px,
      var(--reform-accent) 45px,
      var(--lowpage-line) 45px,
      var(--lowpage-line) 100%
    );
  }

  .reform-strength__text {
    margin-top: 18px;
    font-size: 1.4rem;
    line-height: 1.9;
  }

  /* --- メンテナンス --- */
  .reform-maint {
    margin-top: 50px;
  }

  .reform-maint__list {
    grid-template-columns: 1fr;
    row-gap: 36px;
    margin-top: 30px;
  }

  .reform-maint__title {
    font-size: 2rem;
  }

  .reform-maint__sub {
    margin-top: 8px;
    font-size: 1.3rem;
    line-height: 1.7;
  }

  .reform-maint__figure {
    margin-top: 14px;
  }

  .reform-maint__body {
    padding: 22px 18px 24px;
  }

  .reform-maint__body::before {
    top: 5px;
    width: 140px;
  }

  .reform-maint__text {
    font-size: 1.4rem;
    line-height: 1.9;
  }

  /* --- 「シエルセーヌ」シリーズ（共通パーツ）の上下余白を詰める --- */
  .l-reform .series-links {
    margin-top: 50px;
  }
}
