@charset "UTF-8";

/* =====================================================
   font（Google Fonts）
   ※ @import はファイル先頭に置く必要があるためここに集約
   Zen Old Mincho     … Gnavi / FV
   Shippori Mincho B1 … h2・h3
   Noto Sans JP       … 本文
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Shippori+Mincho+B1:wght@500;600;700;800&family=Zen+Old+Mincho:wght@500;700&display=swap');

/* blesse/CSS/font-family の元の読み込み（今回のデザインでは未使用のためコメントアウト）
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Shippori+Mincho&display=swap');
*/


/* =====================================================
   root（blesse/CSS/root）
===================================================== */
:root {
  --orig-body-color: #2B2B2B;
  --orig-body-bg: #FFFFFF;
  --orig-primary: #2B2B2B;
  --orig-secondary: #E9E6E0;
  --orig-primary-bg: #E9E6E0;
  --orig-accent: #2B2B2B;
  --orig-marker: #E9E6E0;
  --orig-cta: #A73434;
  --orig-primary-light: #5A5753;
}

body {
  color: var(--orig-body-color) !important;
  background-color: var(--orig-body-bg) !important;
}


/* =====================================================
   color（var で追加した色のユーティリティ）
   charcoal … #2B2B2B（--orig-primary / --orig-accent）
   beige    … #E9E6E0（--orig-secondary）
   red      … #A73434（--orig-cta）
===================================================== */
.text-charcoal {
  color: var(--orig-primary) !important;
}

.bg-charcoal {
  background-color: var(--orig-primary) !important;
}

.border-charcoal {
  border-color: var(--orig-primary) !important;
}

.text-beige {
  color: var(--orig-secondary) !important;
}

.bg-beige {
  background-color: var(--orig-secondary) !important;
}

.border-beige {
  border-color: var(--orig-secondary) !important;
}

.text-red {
  color: var(--orig-cta) !important;
}

.bg-red {
  background-color: var(--orig-cta) !important;
}

.border-red {
  border-color: var(--orig-cta) !important;
}

/* charcoal-light … #5A5753（--orig-primary-light：charcoal を beige 寄りに薄くした色） */
.text-charcoal-light {
  color: var(--orig-primary-light) !important;
}

.bg-charcoal-light {
  background-color: var(--orig-primary-light) !important;
}

.border-charcoal-light {
  border-color: var(--orig-primary-light) !important;
}


/* =====================================================
   font-family（blesse/CSS/font-family）
===================================================== */
.font-serif { font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "MS PMincho", serif; }

.font-sans { font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "YuGothic", "Meiryo", sans-serif; }

.font-shippori { font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "MS PMincho", serif; }

/* 追加 */
.font-shippori-b1 { font-family: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "MS PMincho", serif; }

.font-zen { font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "MS PMincho", serif; }

/* Bahnschrift は Windows 標準フォント。非搭載環境は近い字形にフォールバック */
.font-bahnschrift { font-family: "Bahnschrift", "DIN Alternate", "DIN Condensed", "Arial Narrow", sans-serif; font-weight: 400; }


/* =====================================================
   font-size（blesse/CSS/font size）
===================================================== */
.fs-110per {
  font-size: 110%;
}

.fs-120per {
  font-size: 120%;
}

.fs-66 {
  font-size: clamp(20.00px, calc(4.55vw + 5.45px), 60.00px);
}

.fs-60 {
  font-size: clamp(20.00px, calc(4.55vw + 5.45px), 60.00px);
}

.fs-50 {
  font-size: clamp(20.00px, calc(3.41vw + 9.09px), 50.00px);
}

.fs-40 {
  font-size: clamp(20.00px, calc(2.27vw + 12.73px), 40.00px);
}

.fs-36 {
   font-size: clamp(20.00px, calc(1.82vw + 14.18px), 36.00px);
}

.fs-30 {
  font-size: clamp(20.00px, calc(1.14vw + 16.36px), 30.00px);
}

.fs-26 {
  font-size: clamp(16.00px, calc(1.14vw + 12.36px), 26.00px);
}

.fs-24 {
  /* font-size: clamp(16.00px, calc(0.91vw + 13.09px), 24.00px); */
  font-size: clamp(16.00px, calc(0.91vw + 13.09px), 24.00px);
}

.fs-20 {
  font-size: clamp(16.00px, calc(0.45vw + 14.55px), 20.00px);
}

.fs-18 {
  font-size: clamp(14.00px, calc(0.45vw + 12.55px), 18.00px);
}

.fs-16 {
  font-size: clamp(14.00px, calc(0.23vw + 13.27px), 16.00px);
}

.fs-100 {
  font-size: clamp(1.8750rem, 0.8131rem + 4.5307vw, 6.2500rem);
}

/* 追加：13px〜14px（320〜1400px） */
.fs-14 {
  font-size: clamp(0.8125rem, 0.794rem + 0.0926vw, 0.875rem);
}


/* =====================================================
   line-height（blesse/CSS/line-height）
===================================================== */
.lh-120 {
  line-height: 120% !important;
}

.lh-140 {
  line-height: 140% !important;
}

.lh-160 {
  line-height: 160% !important;
}

/* 追加：本文用 */
.lh-220 {
  line-height: 220% !important;
}


/* =====================================================
   letter-spacing
===================================================== */
/* ・用のletter-spacing（blesse/CSS/・用のletter-spacing） */
.ls-5 {
  letter-spacing: -2px;
  margin-left: -2px;
}

.ls-10 {
  letter-spacing: -5px;
  margin-left: -5px;
}

@media screen and (min-width: 591px) {
  .ls-5 {
    letter-spacing: -5px;
    margin-left: -5px;
  }

  .ls-10 {
    letter-spacing: -10px;
    margin-left: -10px;
  }
}

/* 追加：見出し・本文用 */
.ls-em05 {
  letter-spacing: 0.05em;
}

.ls-em10 {
  letter-spacing: 0.1em;
}

.ls-em15 {
  letter-spacing: 0.15em;
}


/* =====================================================
   padding / margin（blesse/CSS/padding）
===================================================== */
.pt-6 {
  padding-top: clamp(1.50rem, calc(4.50vw + 0.60rem), 6.00rem) !important;
}

.py-6 {
	padding-top:clamp(1.50rem, calc(4.50vw + 0.60rem), 6.00rem);
	padding-bottom:clamp(1.50rem, calc(4.50vw + 0.60rem), 6.00rem);
}

.py-7 {
  padding-top: clamp(1.50rem, calc(5.50vw + 0.40rem), 7.00rem) !important;
  padding-bottom: clamp(1.50rem, calc(5.50vw + 0.40rem), 7.00rem) !important;
}

/* 追加：320px〜1400px で可変（rem換算） */
/* 40px → 80px（h2 下余白） */
.mb-80 {
  margin-bottom: clamp(1.20rem, calc(5.63vw + 0.07rem), 5.00rem) !important;
}

.mt-80 {
  margin-top: clamp(1.20rem, calc(5.63vw + 0.07rem), 5.00rem) !important;
}

.py-80 {
  padding-top: clamp(1.20rem, calc(5.63vw + 0.07rem), 5.00rem) !important;
  padding-bottom: clamp(1.20rem, calc(5.63vw + 0.07rem), 5.00rem) !important;
}

/* 24px → 40px（h3 下余白） */
.mb-40 {
  margin-bottom: clamp(1.00rem, calc(2.22vw + 0.56rem), 2.50rem) !important;
}

.mt-40 {
  margin-top: clamp(1.00rem, calc(2.22vw + 0.56rem), 2.50rem) !important;
}

/* 48px → 100px（ブロック間） */
.mb-100 {
  margin-bottom: clamp(3rem, 2.037rem + 4.8148vw, 6.25rem) !important;
}


/* =====================================================
   max-width（ボタン・本文幅）
===================================================== */
.mw-370 {
  max-width: 370px;
}

.mw-530 {
  max-width: 530px;
}

.mw-700 {
  max-width: 700px;
}

.mw-764 {
  max-width: 764px;
}

.mw-880 {
  max-width: 880px;
}


/* =====================================================
   btn（blesse/CSS/btn）
===================================================== */
.btn-common {
  transition: all 0.3s ease-in-out;
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 1rem 0.4rem;
  border-radius: 100px;
  font-weight: bold;
  position: relative;
  color: #fff;
  font-size: clamp(14.00px, calc(0.23vw + 13.27px), 16.00px);
}

.btn-common:hover {
  opacity: 0.8;
  transition: all 0.3s ease-in-out;
}

.btn-common:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.75rem;
  display: block;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(-45deg);
}

.btn-common:hover:after {
  right: 1.5rem;
  transition: all 0.3s ease-in-out;
}

.btn-primary {
  background-color: var(--orig-cta);
}

.btn-primary::after {
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--orig-cta);
  color: var(--orig-cta);
}

.btn-secondary::after {
  border-right: 2px solid var(--orig-cta);
  border-bottom: 2px solid var(--orig-cta);
}


/* =====================================================
   arrow-right（blesse/CSS/arrow-right）
===================================================== */
.arrow-right {
  position: relative;
}

.arrow-right::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: translateY(-50%) rotate(45deg);
}


/* =====================================================
   bg-white-alpha80（blesse/CSS/bg-white-alpha80）
===================================================== */
.bg-white-alpha80 {
  background-color: rgba(255, 255, 255, 0.8) !important;
}


/* =====================================================
   fukidashi_under（blesse/CSS/fukidashi_under）
===================================================== */
.fukidashi_under {
  position: relative;
}

.fukidashi_under::after {
  content: "";
  position: absolute;
  display: block;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  height: 10px;
  width: 10px;
  background-color: var(--orig-accent);
}


/* =====================================================
   height-40（blesse/CSS/height-40）
===================================================== */
.height-40 {
	height: 40px;
}

.height-620-auto {
	height: auto;
}

@media screen and (min-width: 992px) {
  .height-620-auto {
    height: 620px;
  }
}


/* =====================================================
   hover（blesse/CSS/hover-80）
===================================================== */
.hover-80:hover {
  filter: brightness(1.5);
   filter: saturate(150%);
  transition: all 0.3s ease-in-out;
}

/* 追加：テキストリンク用 */
.hover-opacity {
  transition: opacity 0.3s ease-in-out;
}

.hover-opacity:hover {
  opacity: 0.7;
}


/* =====================================================
   marker（blesse/CSS/marker）
   ※ --orig-yellow は未定義のため --orig-marker に変更
===================================================== */
.marker-yellow {
      background: linear-gradient(transparent 80%, var(--orig-marker) 20%);
      word-break: break-all;
      overflow-wrap: break-word;
}


/* =====================================================
   overflow-x-1100-scroll（blesse/CSS/overflow-x-1100-scroll）
===================================================== */
@media screen and (max-width: 1100px) {
  .overflow-x-1100-scroll {
    overflow-x: auto;
  }
  .width-min-1100 {
   width: 1100px !important;
  }
  .width-800-1100 {
    width: 1100px;
  }
}

@media screen and (min-width: 591px) and (max-width: 768px) {
  .width-600-768-1100  {
    width: 768px !important;
  }
}

@media screen and (max-width: 590px) {
  .width-600-768-1100 {
    width: 600px !important;
  }
  .width-800-1100 {
    width: 800px !important;
  }
}


/* =====================================================
   t-fv-index（blesse/CSS/t-fv-index）
   ※ 区切り線の色をデザインに合わせて charcoal に変更
===================================================== */
@media screen and (min-width: 992px) {

  .t-fv-index {
    position: relative;
  }

  /* 6項目で文字量に差があるため、内容幅に応じて配分 */
  .t-fv-index li {
    flex: 1 1 auto;
  }

  .t-fv-index::before,
  .t-fv-index::after,
  .t-fv-index-border::after {
    content: "";
    display: block;
    width: 1px;
    height: 46px;
    background-color: var(--orig-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
     }
  .t-fv-index::before {
    left: 0;
  }
  .t-fv-index::after {
    right: 0;
  }

  .border-lg-0 {
    border: none !important;
  }

  .t-fv-index-border::after {
    right: 0;
  }

}


/* =====================================================
   header（blesse/CSS/header,footer）
===================================================== */
@media screen and (min-width: 992px) {

  #navbarNavDropdown {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .header-nav {
     background: var(--orig-primary)  !important;
    font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "MS PMincho", serif;

  }
  .header-nav .nav-link {
    color: #fff !important;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5) !important;
    font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem) !important;
        padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
  }

  .header-nav.change-color {
    background: var(--orig-accent)  !important;
  }


  /* .navbar-nav .nav-item:last-child  {
    background: var(--orig-cta) !important;
    color: #fff !important;
  } */

}


.navbar-collapse.show {
  background: none !important;
}


.btn-hamburger {
  background: var(--orig-cta) !important;
}

/* ハンバーガーメニューを開いたときの背景をサイトの黒（charcoal）に
   ※ base.css の .header-nav.bg-white-on（白背景）を上書き */
@media screen and (max-width: 991px) {
  /* スクロール時（.change-color）のグレー背景を透明に
     ※ メニューを開いたとき（.bg-white-on）は下の !important 指定で黒になる */
  .header-nav.change-color {
    background-color: transparent;
  }

  .header-nav.bg-white-on {
    background-color: var(--orig-primary) !important;
  }

  .header-nav.bg-white-on .nav-link {
    color: #fff !important;
    text-shadow: none !important;
  }
}


/* =====================================================
   footer（blesse/CSS/header,footer）
   ※ --orig-lightgray は未定義のため --orig-primary-bg に変更
===================================================== */
#faq {
  background: var(--orig-primary-bg);
}

#faq h2 {
  font-family: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "MS PMincho", serif;
}


#articles {
  background: var(--orig-primary-bg);
}

#articles h2 {
  text-align: center;
  font-size: clamp(30.00px, calc(1.14vw + 26.36px), 50.00px) !important;
  color: var(--orig-body-color) !important;
  font-family: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "MS PMincho", serif;
}

#articles a.btn{
  box-shadow: none !important;
  border: var(--orig-cta) 1px solid !important;
  color: var(--orig-cta) !important;
}

#site-contents h2 span.green {
  /* color: var(--orig-body-color) !important; */
  color: var(--orig-body-color) !important;
  line-height: 1.3;
  font-size: clamp(30.00px, calc(1.14vw + 26.36px), 50.00px) !important;
  font-family: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "MS PMincho", serif;
}

#site-contents h3.border-green {
  border-bottom: 1px solid var(--orig-body-color) !important;
  text-align: center;
  font-family: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "YuMincho", "MS PMincho", serif;
}


/* =====================================================
   ここから今回のコーディングで追加
===================================================== */

/* -----------------------------------------------------
   FV
   md以下：キャッチ（横書き・中央）→ 写真（100%）→ リード（中央）
   lg以上：左に縦書きキャッチ（デザイン幅1280px中223px＝17.4%）＋右に写真
----------------------------------------------------- */
.t-fv-catch {
  padding: 1.25rem 1rem;
  text-align: center;
}

.t-fv-catch-text {
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.25rem);
  line-height: 1.4;
  letter-spacing: 0.1em;
}

/* 写真右下のクレジット */
.t-fv-credit {
  font-size: 11px;
  padding: 0.25rem 0.5rem;
}

.t-fv-lead {
  text-align: center;
  font-size: 1.125rem !important;
  padding-inline: 1rem;
}

@media screen and (max-width: 575px) {
  .t-fv-lead {
    font-size: 1rem !important;
  }
}

@media screen and (min-width: 992px) {
  .t-fv-catch {
    flex: 0 0 17.4%;
    max-width: 17.4%;
    display: flex;
    /* 上部のGnaviと重ならないよう下寄せ */
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }

  .t-fv-catch-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: clamp(1rem, 3.6vw, 4.5rem);
    line-height: 1;
    letter-spacing: 0;
  }

  .t-fv-img {
    flex: 1 1 auto;
    min-width: 0;
  }

  .t-fv-credit {
    font-size: 13px;
    padding: 0.35rem 0.75rem;
  }

  .t-fv-lead {
    /* 写真の幅に合わせて中央寄せ */
    margin-left: 17.4% !important;
    text-align: center;
    font-size: clamp(20.00px, calc(1.14vw + 16.36px), 30.00px) !important;
    padding-inline: 0 1rem;
  }
}

/* -----------------------------------------------------
   section01・02：イラストを lg 以上でセクション最下部に配置
   （親の section に position-relative を付与）
   左右位置は .container（max-width:1100px）の内側に合わせる
----------------------------------------------------- */
@media screen and (min-width: 992px) {
  .illust-bottom {
    position: absolute;
    bottom: 0;
    margin: 0 !important;
    line-height: 0;
  }

  .illust-bottom-end {
    right: calc(max(0px, (100% - 1100px) / 2) + 12px);
  }

  .illust-bottom-start {
    left: calc(max(0px, (100% - 1100px) / 2) + 12px);
  }

  /* イラストと本文が重ならないよう、本文カラムの下に余白を確保 */
  .illust-space {
    padding-bottom: 260px;
  }
}

/* -----------------------------------------------------
   sm〜md（576〜991px）で幅70%・中央寄せ
----------------------------------------------------- */
@media screen and (min-width: 576px) and (max-width: 991px) {
  .w-sm-md-70 {
    width: 70% !important;
    margin-inline: auto;
  }
}

/* md以下（991px以下）すべてで幅70%・中央寄せ */
@media screen and (max-width: 991px) {
  .w-md-down-70 {
    width: 70% !important;
    margin-inline: auto;
  }
}

/* md以下（991px以下）で幅40%（イラスト用） */
@media screen and (max-width: 991px) {
  .w-md-down-40 {
    width: 40%;
  }
}

/* 背景色（beige）と同色のドロップシャドウ（右下・ぼかし0） */
.shadow-beige {
  box-shadow: 2px 2px 0 var(--orig-secondary);
}

/* -----------------------------------------------------
   見出し上下の装飾ライン
   .title-lines         … 上：左寄せ / 下：右寄せ
   .title-lines-reverse … 上：右寄せ / 下：左寄せ
----------------------------------------------------- */
.title-lines {
  position: relative;
}

.title-lines::before,
.title-lines::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 2px;
  background-color: var(--orig-primary);
}

.title-lines::before {
  top: 0;
  left: 0;
}

.title-lines::after {
  bottom: 0;
  right: 0;
}

.title-lines-reverse::before {
  left: auto;
  right: 0;
}

.title-lines-reverse::after {
  right: auto;
  left: 0;
}

/* sm以下：ラインを全幅にし、ラインと見出しの余白を詰める */
@media screen and (max-width: 767px) {
  .title-lines::before,
  .title-lines::after {
    width: 100%;
  }

  .title-lines.py-80 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  /* ※ 余白類は HTML 側で Bootstrap のレスポンシブクラス（py-3 py-md-4 など）で調整 */

  /* h2内のサブテキスト（fs-30）を小さく */
  h2 .fs-30 {
    font-size: 1rem;
  }

  /* 会社一覧（#list）の h2 */
  #list h2 {
    font-size: 15px;
  }

  /* h2上のラベル（黒い四角）：文字を小さく */
  .title-label {
    font-size: 13px;
  }

  /* 本文の行間を詰める */
  .lh-220 {
    line-height: 180% !important;
  }

  /* 事例タイトル帯の黒いラベル（新築／フルリノベーション）を小さく */
  .case-title .bg-charcoal {
    font-size: 13px;
  }

  /* section04：縦書きラベル（家づくりを／もっと身近な…）を小さく */
  .overlap-labels .text-tate02 {
    font-size: 14px;
  }

  /* 画像を上げた分（pt-4）、ラベルのはみ出し量も合わせる */
  /* 基本指定がこのブロックより後ろにあるため、詳細度を上げて上書き */
  .overlap-img .overlap-labels {
    top: -1.5rem;
  }

  /* section01・02：黒背景の英字ラベル（Message／T's ALL WORKS）を小さく */
  .en-label {
    font-size: 1.25rem;
  }

  /* section06：「Point 01」を小さく、黒背景に白字のラベルに */
  .point-label {
    /* 親が flex column のため、幅を文字分に */
    align-self: flex-start;
    font-size: 1rem !important;
    color: #fff;
    background-color: var(--orig-primary);
    padding: 0.125rem 0.75rem;
  }

  /* section06：Point の見出しを太く */
  .point-title {
    font-weight: 800 !important;
    letter-spacing: 0;
  }
}

/* -----------------------------------------------------
   section04：画像とテキストボックスの重なりレイアウト
----------------------------------------------------- */
.overlap-labels {
  position: absolute;
  top: -3rem;
  left: 0;
  z-index: 2;
}

@media screen and (min-width: 992px) {
  .overlap-img {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .overlap-text {
    flex: 0 0 56.4%;
    max-width: 56.4%;
    margin-top: 2.5rem;
    margin-left: -6.4%;
    position: relative;
    z-index: 1;
  }

  .overlap-reverse .overlap-text {
    margin-left: 0;
    margin-right: -6.4%;
  }
}

/* -----------------------------------------------------
   会社一覧：会社名が長い場合も見出し帯が広がるように
----------------------------------------------------- */
.min-height-70 {
  min-height: 70px;
}

/* -----------------------------------------------------
   section07：会社情報
----------------------------------------------------- */
.map-wrap {
  min-height: 300px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
}
