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

.l-ciel {
  --ciel-panel: #e8e8e8;      /* カードの下地グレー */
  --ciel-dark: #282828;       /* 番号付きカードの黒帯 */
  --ciel-line: #d4d4d4;       /* 区切り線 */
  --ciel-accent: #3492c6;     /* 区切り線の中央アクセント（青） */
  --ciel-green: #027d3a;      /* エコメリットの緑 */
  --ciel-card-gap: 54px;      /* 2カラムカードの左右間隔 */
}

/* --- 共通インナー（style.css の --container: 1200px に合わせる） --- */
.ciel-about__inner,
.ciel-town__inner,
.ciel-location__inner,
.ciel-block__inner,
.ciel-eco__head,
.ciel-eco__inner,
.ciel-ecosys__inner {
  max-width: calc(var(--container) + 40px);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- セクション見出し（黒・明朝・中央） --- */
.ciel-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;
}


/* =========================================================
   1. シエルセーヌとは（ビジュアル1枚）
========================================================= */
.ciel-about {
  margin-top: 50px;
}

/* 見出し文言は画像内に入っているため、テキストは画面に出さず
   読み上げ・検索エンジン向けにのみ残す（.ciel-town__title も同様） */
.ciel-about__title,
.ciel-town__title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.ciel-about__img {
  line-height: 0;
}

.ciel-about__img img {
  width: 100%;
}


/* =========================================================
   2. 豊かで暮らしやすい街づくり（ビジュアル1枚）
========================================================= */
.ciel-town {
  margin-top: 24px;
}

.ciel-town__img {
  line-height: 0;
}

.ciel-town__img img {
  width: 100%;
}


/* =========================================================
   3. 恵まれたロケーション＆安心の生活環境
========================================================= */
.ciel-location {
  margin-top: 128px;
}

.ciel-location__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ciel-card-gap);
  margin-top: 48px;
}

.loc-card {
  width: calc((100% - var(--ciel-card-gap)) / 2);
  padding: 48px 0 40px;
  background-color: var(--ciel-panel);
}

/* 下地のオーバル柄はデザインに合わせて控えめにする */
.loc-card.p-pattern::before {
  opacity: .35;
}

.loc-card__title {
  padding: 0 42px;
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .08em;
  text-indent: .08em;
  text-align: center;
}

.loc-card__img {
  margin-top: 32px;
  line-height: 0;
}

.loc-card__img img {
  width: 100%;
  aspect-ratio: 1144 / 707;
  object-fit: cover;
}

.loc-card__lead {
  margin-top: 30px;
  padding: 0 42px;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: .06em;
  text-indent: .06em;
  text-align: center;
}

/* --- 区切り線（中央だけ青） --- */
.loc-card__line {
  position: relative;
  display: block;
  height: 1px;
  margin: 20px 42px 0;
  background-color: var(--ciel-line);
}

.loc-card__line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 183px;
  max-width: 40%;
  height: 1px;
  transform: translateX(-50%);
  background-color: var(--ciel-accent);
}

.loc-card__body {
  margin-top: 30px;
  padding: 0 42px;
}

.loc-card__text {
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: .06em;
}


/* =========================================================
   4. 番号付きカード（こだわり街区設計／エコ提案 共通）
========================================================= */
.ciel-block {
  margin-top: 128px;
}

.ciel-block__list,
.ciel-eco__list {
  display: flex;
  flex-wrap: wrap;
  gap: 64px var(--ciel-card-gap);
  margin-top: 52px;
}

.ciel-eco__list {
  margin-top: 0;
}

.block-card {
  display: flex;
  flex-direction: column;
  width: calc((100% - var(--ciel-card-gap)) / 2);
}

/* --- 写真（右下にキャプション） --- */
.block-card__img {
  position: relative;
  line-height: 0;
}

.block-card__img img {
  width: 100%;
  aspect-ratio: 1146 / 719;
  object-fit: cover;
}

.block-card__caption {
  position: absolute;
  right: 16px;
  bottom: 6px;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(0, 0, 0, .25);
}

.block-card__caption--en {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 400;
  letter-spacing: .04em;
}

.block-card__caption--ja {
  bottom: 10px;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: .08em;
}

/* --- 黒帯（番号＋タイトル） --- */
.block-card__head {
  display: flex;
  align-items: center;
  min-height: 116px;
  padding: 14px 24px 14px 45px;
  color: #fff;
  background-color: var(--ciel-dark);
}

/* 黒帯のオーバル柄はごく薄く重ねる */
.block-card__head.p-pattern::before {
  opacity: .06;
}

.block-card__no {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .04em;
}

.block-card__title {
  position: relative;
  margin-left: 21px;
  padding-left: 31px;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .06em;
}

/* 番号との間の縦線 */
.block-card__title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 64px;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, .55);
}

/* 文字数の多いタイトル用（2行に収める） */
.block-card__title--sm {
  font-size: 1.9rem;
  letter-spacing: .01em;
}

/* 「（袋小路）」など、タイトル内の小さめ表記 */
.block-card__note {
  font-size: 1.4rem;
  letter-spacing: .02em;
}

/* --- 本文 --- */
.block-card__body {
  flex: 1 1 auto;
  padding: 41px 42px 42px;
  background-color: var(--ciel-panel);
}

.block-card__text {
  font-size: 1.6rem;
  line-height: 1.75;
  letter-spacing: .06em;
}


/* =========================================================
   5. 住む人に優しい環境、エコ提案
========================================================= */
.ciel-eco {
  margin-top: 170px;
}

/* 森の写真を全幅の背景として敷き、その上にカードを重ねる */
.ciel-eco__body {
  margin-top: 57px;
  padding-top: 14.9%; /* 背景画像（1600×438）の比率に合わせて可変 */
  background-image: url("../images/cielsceneseries/eco_bg.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
}


/* =========================================================
   6. エコ設備の組み合わせでもっとおトクに、もっと省エネ
========================================================= */
.ciel-ecosys {
  margin-top: 106px;
}

.ciel-ecosys__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.ciel-ecosys__figure {
  width: 68.8%;
  line-height: 0;
}

.ciel-ecosys__panel {
  width: 31.2%;
  line-height: 0;
}

.ciel-ecosys__figure img,
.ciel-ecosys__panel img {
  width: 100%;
}

/* --- エコ設備導入のメリット（緑のボックス） --- */
.ciel-merit {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 28px;
}

.ciel-merit__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 131px;
  padding: 12px 10px;
  color: #fff;
  text-align: center;
  background-color: var(--ciel-green);
  border: 6px solid var(--ciel-green);
  border-radius: 10px;
}

/* 内側の白いライン */
.ciel-merit__item::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 5px;
  pointer-events: none;
}

/* 文章（2行）。キーワードだけ .ciel-merit__big で大きくする */
.ciel-merit__text {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .05em;
}

.ciel-merit__big {
  font-size: 1.7em;
  font-weight: 600;
  line-height: 1; /* 大きくした分、行間が広がりすぎないように */
}


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

  .l-ciel {
    --ciel-card-gap: 30px;
  }

  .ciel-sec-title {
    font-size: 2.8rem;
  }

  .loc-card {
    padding: 34px 0 30px;
  }

  .loc-card__title {
    padding: 0 24px;
    font-size: 2.2rem;
  }

  .loc-card__lead,
  .loc-card__body {
    padding: 0 24px;
  }

  .loc-card__line {
    margin-right: 24px;
    margin-left: 24px;
  }

  .loc-card__lead {
    font-size: 1.8rem;
  }

  .block-card__head {
    min-height: 96px;
    padding-left: 26px;
  }

  .block-card__no {
    font-size: 3.4rem;
  }

  .block-card__title {
    margin-left: 14px;
    padding-left: 18px;
    font-size: 1.8rem;
  }

  .block-card__title::before {
    height: 52px;
  }

  .block-card__title--sm {
    font-size: 1.6rem;
  }

  .block-card__caption--en {
    font-size: 2.6rem;
  }

  .block-card__body {
    padding: 28px 24px 30px;
  }

  .ciel-merit__text {
    font-size: 1.6rem;
    letter-spacing: .02em;
  }
}


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

  .l-ciel {
    --ciel-card-gap: 24px;
  }

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

  /* --- ビジュアル --- */
  .ciel-about {
    margin-top: 26px;
  }

  .ciel-town {
    margin-top: 16px;
  }

  /* --- 恵まれたロケーション --- */
  .ciel-location {
    margin-top: 56px;
  }

  .ciel-location__list {
    gap: 28px;
    margin-top: 26px;
  }

  .loc-card {
    width: 100%;
    padding: 28px 0 26px;
  }

  .loc-card__title {
    padding: 0 20px;
    font-size: 1.8rem;
    line-height: 1.5;
  }

  .loc-card__img {
    margin-top: 18px;
  }

  .loc-card__lead {
    margin-top: 18px;
    padding: 0 20px;
    font-size: 1.5rem;
    line-height: 1.8;
  }

  .loc-card__line {
    margin: 14px 20px 0;
  }

  .loc-card__line::after {
    width: 120px;
    max-width: 50%;
  }

  .loc-card__body {
    margin-top: 18px;
    padding: 0 20px;
  }

  .loc-card__text {
    font-size: 1.3rem;
    line-height: 1.8;
    letter-spacing: .02em;
  }

  /* --- 番号付きカード --- */
  .ciel-block {
    margin-top: 56px;
  }

  .ciel-block__list,
  .ciel-eco__list {
    gap: 28px;
    margin-top: 26px;
  }

  .ciel-eco__list {
    margin-top: 0;
  }

  .block-card {
    width: 100%;
  }

  .block-card__caption--en {
    right: 12px;
    font-size: 2.2rem;
  }

  .block-card__caption--ja {
    right: 12px;
    font-size: 1.3rem;
  }

  .block-card__head {
    min-height: 72px;
    padding: 12px 16px 12px 18px;
  }

  .block-card__no {
    font-size: 2.8rem;
  }

  .block-card__title {
    margin-left: 12px;
    padding-left: 14px;
    font-size: 1.5rem;
    line-height: 1.45;
    letter-spacing: .02em;
  }

  .block-card__title::before {
    height: 40px;
  }

  .block-card__title--sm {
    font-size: 1.35rem;
  }

  .block-card__note {
    font-size: 1.2rem;
  }

  .block-card__body {
    padding: 20px 20px 22px;
  }

  .block-card__text {
    font-size: 1.3rem;
    line-height: 1.8;
    letter-spacing: .02em;
  }

  /* --- エコ提案 --- */
  .ciel-eco {
    margin-top: 60px;
  }

  /* 背景の森は画面幅が狭いと細くなりすぎるため、拡大して見せる */
  .ciel-eco__body {
    margin-top: 24px;
    padding-top: 26.6%;
    background-size: 180% auto;
  }

  /* --- エコ設備の組み合わせ --- */
  .ciel-ecosys {
    margin-top: 56px;
  }

  .ciel-ecosys__body {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin-top: 20px;
  }

  .ciel-ecosys__figure {
    width: 100%;
  }

  .ciel-ecosys__panel {
    width: 100%;
    max-width: 280px;
  }

  .ciel-merit {
    flex-direction: column;
    gap: 12px;
    margin-top: 22px;
  }

  .ciel-merit__item {
    flex: 0 0 auto;
    min-height: 92px;
    border-width: 4px;
    border-radius: 8px;
  }

  .ciel-merit__text {
    font-size: 1.7rem;
  }

}
