@charset "UTF-8";
/* =========================================================
   本格自由設計ページ（page-custom-design.php）専用スタイル
   ※ functions.php が assets/css/ 内のCSSを自動で読み込みます
   ※ style.css（共通）のあとに読み込まれます
   ※ ページタイトル帯・パンくずは style.css の
     全ページ共通パーツ（.page-hero / .breadcrumb）を使用しています
   ※ 下部の「シエルセーヌ」シリーズ関連リンクも style.css の
     全ページ共通パーツ（.series-links）を使用しています
========================================================= */

.l-fcd {
  --fcd-dark: #282828;    /* ボタンの黒 */
  --fcd-panel: #efefef;   /* カード下部のグレー */
  --fcd-line: #9dc3dd;    /* カードタイトル下の水色ライン */
  --fcd-card-gap: 21px;   /* 3カラムカードの左右間隔 */
}

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

/* --- セクション見出し（黒・明朝・中央） --- */
.fcd-sec-title {
  color: var(--color-text);
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .1em;
  text-indent: .1em;
  text-align: center;
}

/* --- セクション見出し直下のリード --- */
.fcd-sec-lead {
  margin-top: 30px;
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: .06em;
  text-align: center;
}


/* =========================================================
   1. メインビジュアル
========================================================= */
.fcd-mv {
  margin-top: 60px;
}

/* 画像はPHP側の <picture> で3段階に出し分けています
   〜767px：fcd_mv_sp.jpg ／ 768〜1599px：fcd_mv_pc.jpg ／ 1600px〜：fcd_mv_fullsize.jpg */
.fcd-mv__img {
  display: block;
  width: 100%;
  max-width: 1920px; /* 大画面用画像の実寸まで。これ以上は引き伸ばさない */
  height: auto;
  margin: 0 auto;
}


/* =========================================================
   2. リード
========================================================= */
.fcd-lead {
  margin-top: 60px;
}

.fcd-lead__title {
  color: var(--color-text);
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .1em;
  text-indent: .1em;
  text-align: center;
}

.fcd-lead__text {
  margin-top: 28px;
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: .06em;
  text-align: center;
}

.fcd-lead__text:first-of-type {
  margin-top: 50px;
}


/* =========================================================
   3. 2カラム（画像＋テキスト＋ボタン）
========================================================= */
.fcd-feature {
  margin-top: 90px;
}

.fcd-feature__row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* テキストを左・画像を右に入れ替える行 */
.fcd-feature__row--reverse {
  flex-direction: row-reverse;
}

.fcd-feature__row + .fcd-feature__row {
  margin-top: 80px;
}

.fcd-feature__media {
  flex: 0 0 600px;
  max-width: 600px;
}

.fcd-feature__img {
  display: block;
  width: 100%;
  height: auto;
}

.fcd-feature__body {
  flex: 1 1 auto;
  min-width: 0;
}

.fcd-feature__title {
  color: var(--color-text);
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .08em;
}

.fcd-feature__text {
  margin-top: 34px;
  font-size: 1.5rem;
  line-height: 2;
  letter-spacing: .04em;
}

/* --- 黒ボタン（2段組み） --- */
.fcd-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 386px;
  min-height: 72px;
  margin-top: 36px;
  padding: 10px 16px;
  color: #fff;
  text-align: center;
  background-color: var(--fcd-dark);
}

/* ボタンのオーバル柄はごく薄く重ねる */
.fcd-btn.p-pattern::before {
  opacity: .06;
}

.fcd-btn:hover {
  color: #fff;
}

.fcd-btn__sub {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .1em;
}

.fcd-btn__label {
  position: relative;
  padding-left: 20px;
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .08em;
}

/* ラベル左の三角マーク */
.fcd-btn__label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #fff;
}

/* 1段組みの小さいボタン */
.fcd-btn--sm {
  max-width: 292px;
  min-height: 52px;
  margin-top: 20px;
  margin-inline: auto;
}

.fcd-btn--sm .fcd-btn__label {
  font-size: 1.6rem;
}


/* =========================================================
   4. ディテールへのこだわり
========================================================= */
.fcd-detail {
  margin-top: 110px;
}

.fcd-detail__catch {
  margin-top: 66px;
  color: var(--color-text);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .12em;
  text-indent: .12em;
  text-align: center;
}

.fcd-detail__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--fcd-card-gap);
  margin-top: 56px;
}

.detail-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.detail-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 386 / 525;
  object-fit: cover;
}

.detail-card__body {
  flex: 1 1 auto;
  padding: 34px 20px 36px;
  background-color: var(--fcd-panel);
  text-align: center;
}

.detail-card__title {
  color: var(--color-text);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .1em;
  text-indent: .1em;
}

/* タイトル下の水色ライン */
.detail-card__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin: 20px auto 0;
  background-color: var(--fcd-line);
}

.detail-card__text {
  margin-top: 28px;
  font-size: 1.4rem;
  line-height: 1.9;
  letter-spacing: .04em;
}


/* =========================================================
   5. 見えない部分のこだわり
========================================================= */
.fcd-quality {
  margin-top: 100px;
}

.fcd-quality__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--fcd-card-gap);
  margin-top: 66px;
}

.quality-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 386 / 390;
  overflow: hidden;
}

/* 背景写真 */
.quality-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 用意された背景写真は、すでに白く淡く加工済みです。
   CSSで重ねて白をかけると3枚とも真っ白になり見分けがつかなくなるため、
   ここでは覆いをかけません（文字の可読性は画像側で確保されています）。 */

.quality-card__body {
  position: relative;
  z-index: 1;
  padding: 0 16px 22px;
  text-align: center;
}

.quality-card__title {
  color: var(--color-text);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .08em;
  text-indent: .08em;
}

.quality-card__lead {
  margin-top: 6px;
  font-size: 1.6rem;
  line-height: 1.6;
  letter-spacing: .06em;
}


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

  .l-fcd {
    --fcd-card-gap: 16px;
  }

  /* カード内の改行は幅が狭いと不自然に折り返すため解除する */
  .detail-card__text br {
    display: none;
  }

  .fcd-sec-title,
  .fcd-lead__title {
    font-size: 2.8rem;
  }

  .fcd-detail__catch {
    font-size: 2.2rem;
  }

  /* --- 2カラム --- */
  .fcd-feature__row {
    gap: 30px;
  }

  .fcd-feature__media {
    flex: 0 0 48%;
    max-width: 48%;
  }

  .fcd-feature__title {
    font-size: 2.4rem;
  }

  .fcd-btn {
    max-width: 100%;
  }

  .fcd-btn__label {
    font-size: 1.7rem;
  }

  /* --- カード --- */
  .detail-card__title {
    font-size: 1.9rem;
  }

  .quality-card__title {
    font-size: 2.1rem;
  }

  .quality-card__lead {
    font-size: 1.4rem;
  }
}


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

  .l-fcd {
    --fcd-card-gap: 16px;
  }

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

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

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

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

  /* --- リード --- */
  .fcd-lead {
    margin-top: 40px;
  }

  /* 「〜オンリーワンハウス。」が1行に収まるサイズにする */
  .fcd-lead__title {
    font-size: 1.8rem;
    line-height: 1.7;
    letter-spacing: .02em;
    text-indent: .02em;
  }

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

  .fcd-lead__text:first-of-type {
    margin-top: 26px;
  }

  /* --- 2カラム --- */
  .fcd-feature {
    margin-top: 50px;
  }

  .fcd-feature__row,
  .fcd-feature__row--reverse {
    flex-direction: column;
    gap: 22px;
  }

  .fcd-feature__row + .fcd-feature__row {
    margin-top: 44px;
  }

  .fcd-feature__media {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .fcd-feature__title {
    font-size: 2rem;
    line-height: 1.6;
    letter-spacing: .04em;
  }

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

  /* --- ボタン --- */
  .fcd-btn {
    max-width: 100%;
    min-height: 64px;
    margin-top: 24px;
    padding: 8px 12px;
  }

  .fcd-btn__sub {
    font-size: 1.2rem;
  }

  .fcd-btn__label {
    padding-left: 16px;
    font-size: 1.6rem;
  }

  .fcd-btn--sm {
    max-width: 240px;
    min-height: 48px;
    margin-top: 16px;
  }

  .fcd-btn--sm .fcd-btn__label {
    font-size: 1.4rem;
  }

  /* --- ディテール --- */
  .fcd-detail {
    margin-top: 60px;
  }

  .fcd-detail__catch {
    margin-top: 36px;
    font-size: 1.8rem;
    letter-spacing: .06em;
    text-indent: .06em;
  }

  .fcd-detail__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 28px;
  }

  .detail-card__body {
    padding: 24px 18px 26px;
  }

  .detail-card__title {
    font-size: 1.9rem;
  }

  .detail-card__title::after {
    margin-top: 14px;
  }

  .detail-card__text {
    margin-top: 18px;
    font-size: 1.4rem;
  }

  /* --- 見えない部分のこだわり --- */
  .fcd-quality {
    margin-top: 60px;
  }

  .fcd-quality__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 28px;
  }

  .quality-card {
    aspect-ratio: 16 / 11;
  }

  .quality-card__body {
    padding: 0 16px 20px;
  }

  .quality-card__title {
    font-size: 2rem;
  }

  .quality-card__lead {
    font-size: 1.4rem;
  }

}
