.image-center{
  display:flex;
  justify-content:center;
  margin:40px 0;
}

.center-image{
  max-width:100%;
  height:auto;
}



/* 画像を横並べ */
.image-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 常に4列 */
  gap: 1px;                             /* 画像間の隙間 */
  max-width: 1200px;
  margin: 0 auto;
}

.image-grid img{
  width: 100%;
  height: auto;
  object-fit: cover;  /* 縦横比を維持 */
  border-radius: 0;   /* 角なし */
}



/*家づくりの追究*/
/* ボタングリッド */
.button-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  max-width: 800px;
  margin: 40px auto;
}


/* ボタン基本スタイル */
.button-grid button{
  background-color: #996666;
  color: #fff;
  border: none;
  padding: 20px 0;
  font-weight: 600;
  border-radius: 1px;
  cursor: pointer;
  width: 100%;
  display: flex;
  flex-direction: column;    /* 英語と日本語を縦に並べる */
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}


/* 英語と日本語 */
.button-grid .eng{
  font-size: 14px;                   /* 少し大きめで目立たせる */
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 50 !important; 
  letter-spacing: 1.5px;              /* 文字間隔を広げる */
  margin-bottom: 5px;
  color: #fff;
}

/* 日本語 */
.button-grid .jp{
  font-size: 14px;
  font-family: "Yu Gothic", "ヒラギノ角ゴ Pro W3", Arial, sans-serif;
  color: #fff;
}

/* ホバーでフェード＋少し浮き上がる */
.button-grid button:hover{
  background-color: #003366;  /* 濃いインディゴ */
  transform: translateY(-2px);
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.button-grid button:hover,
.button-grid button:focus{
  outline: none;
  border: none;
}
.button-grid a{
  text-decoration:none;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .button-grid {
    grid-template-columns: 1fr !important; /* 1列に強制 */
    gap: 15px;
  }

  .button-grid .eng{
    font-size: 16px !important;
    letter-spacing: 1px !important;
  }

  .button-grid .jp{
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {
  .button-grid {
    grid-template-columns: 1fr !important; /* 1列に固定 */
  }

  .button-grid .eng{
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
  }

  .button-grid .jp{
    font-size: 12px !important;
  }
}
.button-grid button:disabled{
  background-color: #ccc;
  color: #888;
  cursor: default;      /* ← 普通の矢印にする */
  opacity: 0.6;

  transform: none;      /* 動きを止める */
  transition: none;     /* アニメーション停止 */
}

/* hover無効化 */
.button-grid button:disabled:hover{
  background-color: #ccc;
  transform: none;
}



/* 題名表示部分 大 */
/* ページヘッダー */
.page-header3{
  display: flex;
  align-items: flex-start;    /* 上揃え */
  justify-content: flex-end;  /* 右揃え */
  
  position: relative;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  color: #fff !important;
  overflow: hidden;
  padding: 0;
}

.page-header3::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2); /* 半透明オーバーレイ */
  z-index: 0;
}

.page-header3::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: none;
  z-index: 0;
}

/* ページごとの背景画像 */
.shintiku-header3{
  background-image : url(../img/057e.jpg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 縦書き文字（右上配置・スリム） */
.vertical{
  writing-mode: vertical-rl;       
  display: flex;
  flex-direction: column;
  justify-content: flex-start;    
  align-items: flex-start;

  /* 右上に固定 */
  position: absolute;      /* ←絶対配置にする */
  top: 110px;               /* 上余白 */
  right: 250px;             /* 右余白 */

  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 50 !important;     
  font-stretch: condensed; 
  color: #fff;
  font-size: 19px !important;   /* ←これで強制上書き */
  line-height: 1.7 !important;

  z-index: 2;
  background: transparent;
}

.vertical .line{
  display: block;
  margin-bottom: 0.9em;
}


@media (max-width: 768px) {
  .vertical{
    top: 15px !important;
    right: 15px !important;
    font-size: 16px !important;   /* ←これで強制上書き */
    line-height: 1.7 !important;
  }
  .vertical .line{
    margin-bottom: 0.6em !important;
  }
}


h2.fade-item{
  margin-bottom: 20px;
  font-size: 21px;
  color: #336699;
}


/*コンセプト */
.section-label{
  font-size: 24px;
  letter-spacing: 0.2em;
  font-weight: bold;
  color: #888;
  margin-bottom: 10px;
}


flow{
  padding: 40px 20px;
  text-align: center;
}

.flow h2{
  margin-bottom: 30px;
  font-size: 24px;
}

/* 横並び */
.flow-horizontal{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
}

/* 各工程（縦書き＋枠） */
.flow-horizontal li{
  writing-mode: vertical-rl;
  text-orientation: upright;
  position: relative;
  padding: 24px 18px;
  border: 1px solid #8b6f4e;
  background-color: #fff;
  font-size: 16px;
  line-height: 1.8;
}

/* 右向き矢印 */
.flow-horizontal li:not(:last-child)::after{
  content: "▶";
  position: absolute;
  top: 50%;
  right: -26px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #8b6f4e;
}

/* ボタン */
.flow-btn{
  display: inline-block;
  padding: 14px 36px;
  background-color: #8b6f4e;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 15px;
  transition: opacity 0.3s;
}

.flow-btn:hover {
  opacity: 0.8;
}


/* ===== スマホ表示 ===== */
@media screen and (max-width: 768px) {

  /* 工程を縦に並べる */
  .flow-horizontal {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  /* 縦書きはそのまま */
  .flow-horizontal li {
    writing-mode: vertical-rl;
    text-orientation: upright;
  }

  /* 矢印を下向きに変更 */
  .flow-horizontal li:not(:last-child)::after{
    content: "▼";
    top: auto;
    bottom: -26px;
    right: 50%;
    transform: translateX(50%);
    font-size: 18px;
  }
}

/* ===== スマホ表示：縦並び＋横書き ===== */
@media screen and (max-width: 768px) {

  /* 工程を縦に並べる */
  .flow-horizontal {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  /* 文字を横書きに変更 */
  .flow-horizontal li{
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    text-align: center;
    padding: 16px 20px;
    font-size: 15px;
  }

  /* 矢印を下向きに */
  .flow-horizontal li:not(:last-child)::after{
    content: "▼";
    top: auto;
    bottom: -22px;
    right: 50%;
    transform: translateX(50%);
    font-size: 16px;
  }
}
/* カードサイズを統一（PC） */
.flow-horizontal li{
  width: 70px;     /* 横幅 */
  height: 220px;   /* 高さ */
  box-sizing: border-box;
}


@media screen and (max-width: 768px) {
  .flow-horizontal li{
    width: 100%;
    width: 300px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}



/* 初期状態 */
.fade-item{
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  filter: blur(8px);
  transition:
    opacity 1.2s ease,
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.2s ease;
}

/* 表示状態 */
.fade-item.is-show{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* 画像と文章に時間差をつける */
.fade-item:nth-child(1) {
  transition-delay: 0.1s;
}

.fade-item:nth-child(2) {
  transition-delay: 0.4s;
}
.fade-item {
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.reno-container {
  overflow-y: hidden;
}

body {
  overflow-x: hidden;
}
.reno-container,
.container {
  overflow-y: hidden; /* 内部縦スクロールを抑制 */
}



/* 画面中央に配置するクラス */
.center-box{
  display: flex;
  flex-direction: column;
  justify-content: center;   /* 縦中央 */
  align-items: center;       /* 横中央 */
  min-height: 15vh;
  padding: 0 20px;
  box-sizing: border-box;
}

.center-box img{
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.center-box p{
  max-width: 800px;  /* 横幅を制限すると読みやすい */
  text-align: left;
  line-height: 1.8;
}




  /* パンくず */

.breadcrumb{
  font-family: 'Shippori Mincho', serif; /* 明朝体 */
  font-size: 1rem;
  margin: 10px 0;
}

.breadcrumb ol{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb li{
  margin-right: 0.5em;
  position: relative;
}

.breadcrumb li + li::before{
  content: "/"; /* 区切り記号 */
  margin-right: 0.5em;
  color: #666;
}

.breadcrumb a{
  text-decoration: none;
  color: #999;
  transition: color 0.3s;
}

.breadcrumb a:hover{
  color: #000;
}
.breadcrumb{
  font-family: 'Shippori Mincho', serif;
  font-size: 0.875rem;
  margin: 10px 0;
  border-top: 1px solid #ccc; /* 文字の上に線 */
  padding-top: 5px; /* 線と文字の間隔 */

}



/* ===== スライドショー ===== */

/* コンテナ */
.video-section{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* 動画 */
.video-section video{
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index:0;
}

/* 中央テキスト */
.caption{
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  color: white;
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.5vw;
  text-align:center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index:5;
  pointer-events:none;
}

/* 屋根型オーバーレイ */
.roof-shape{
  position: absolute;
  bottom:-1px;
  left:0;
  width:100%;
  height:120px;
  background:white;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  z-index:10;
}

@media(max-width:768px){
  .caption { font-size:4vw; }
  .roof-shape{
	height:80px;
}
}





/* ============================== バナーコンテナ ================================= */


.banner-container{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 0 auto;
  box-sizing: border-box;
}

.banner-card{
  flex: 1 1 calc(25% - 20px); /* PC4列 */
  max-width: 350px;
  border: 1px solid #ddd;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}


.banner-card img{
  width: 100%;
  height: auto;
  object-fit: cover;
}

.banner-text{
  padding: 10px;
  text-align: left; /* 左揃えに変更 */
}

.banner-text h3{
  margin: 5px 0;
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
  text-align: left; /* 念のためh3も左揃え */
}

.banner-text p{
  font-size: 0.9em;
  color: #666;
  text-align: left; /* ← ここも左揃え */
  line-height: 1.6; /* 読みやすさ向上 */
}


.category-container{
  display: flex;
  flex-wrap: wrap;
  justify-content:  left;
  padding: 10px;
  gap: 5px;
}

.category{
  padding: 4px 8px;
  border: 1px solid #333;
  font-size: 0.8em;
}

/* スマホ: 1列表示 */
@media (max-width: 768px) {
  .banner-card{
    flex: 1 1 calc(100% - 15px);
    max-width: none;
  }
}





/* ２からむ */
.banner-container-wide{
  max-width: 1200px;   /* 最大幅 */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
  box-sizing: border-box;
}

.banner-card-wide{
  display: flex;
  flex-direction: row; /* 左画像・右テキスト */
  border: 1px solid #ddd;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}


.banner-image {
  flex: 1;
}

.banner-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-text{
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

  /* より具体なセレクタで優先させる */
  .banner-card .banner-text h3{
    margin: 0 0 10px 0;
    font-size: 1.3em;
    color: #333;
  }
.banner-text p{
  font-size: 0.9em;
  color: #666;
  margin: 0 0 10px 0;
　letter-spacing: 0.1em !important; 
  line-height: 1.4 !important;     /* 行と行の間隔を強制 */
}


.category-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.category{
  padding: 4px 8px;
  border: 1px solid #333;
  font-size: 0.8em;
}

/* スマホ対応: 幅95%で1列 */
@media (max-width: 768px) {
  .banner-card-wide{
    flex-direction: column; /* 縦並びに */
    width: 95%;
    margin: 0 auto;
  }

  .banner-image, .banner-text {
    flex: unset;
  }
}



/* ３つのカテゴリー */

/* 🔹 コンテナ */
.card-container{
  max-width: 1200px;
  margin: 50px auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* 🔹 カード */
.card{
  background: #fff;
  width: 48%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 15px;
  transition: transform 0.3s ease;
  overflow: hidden;
}


/* 🔹 左上画像（文字回り込み） */
.card img{
  width: 45%;
  height: auto;
  float: left;              /* ← 回り込みポイント */
  margin: 0 15px 10px 0;    /* 右と下に余白 */
}

/* 🔹 内容 */
.card-content h3{
  font-size: 1.2em;
  font-weight: bold; 
  margin: 5px 0 10px;
  color: #333;
}

.card-content p{
  font-size: 0.8em;
  color: #555;
　letter-spacing: 0.1em !important; 
  line-height: 1.4 !important;     /* 行と行の間隔を強制 */
  text-align: justify;
}

/* 🔹 スマホ対応 */
@media (max-width: 768px) {
  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .card{
    width: 95%;
  }

.card-content p{
  font-size: 0.8em;
  color: #555;
  line-height: 1.5;
  text-align: justify;
}

  .card img{
    width: 40%;
    margin-right: 10px;
  }
}




/* セットプラン */

.feature-scroll{
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth; /* ←スッと動く効果 */
  -webkit-overflow-scrolling: touch; /* ←iPhone対応 */
  cursor: grab;
}

.feature-scroll::-webkit-scrollbar {
  display: none;
}

/* === カード（feature-box） === */
.feature-box{
  flex: 0 0 auto;
  width: 280px;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.feature-box:hover {
  transform: scale(1.03);
  opacity: 0.9; /* ←クリック時に少し薄く見せる */
}

.feature-box img{
  width: 100%;
  height: auto;
  display: block;
}

.feature-content{
  padding: 15px;
  text-align: center;
}

.feature-content h3{
  margin: 5px 0;
  font-size: 1.1em;
  color: #333;
  font-weight: bold;
  text-align: left;
}

.feature-content p{
  margin: 0;
  font-size: 0.9em;
  color: #666;
  text-align: left;
}

/* === モーダル === */
.feature-modal{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.feature-modal-content{
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;

  text-align: center;
  position: relative;
  animation: featureZoom 0.3s ease;
}

.feature-modal-content img{
  max-height: 800px;
  object-fit: contain; /* 画像を切らずに全体表示 */
  width: 100%;
}s

@keyframes featureZoom {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.feature-modal-close{
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}
.feature-modal-close:hover{
	color: #000;
}

/* === スマホ調整 === */
@media (max-width: 768px) {
  .feature-scroll{
    padding-left: 20px; /* ←左マージン */
    gap: 15px;
  }

  .feature-box{
    width: 70%; /* ←はみ出して見える感じ */
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  }

  .feature-content h3, .feature-content p{
    text-align: left;
  }
}


/* ===== フロー ===== */
.flow-section{
  padding: 80px 20px;
  max-width: 900px;
  margin: auto;
}

.flow-section h2{
  text-align: center;
  font-size: 2em;
  margin-bottom: 60px;
  letter-spacing: 0.1em;
}
.flow-section h3{
  text-align: center;
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.5em;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

/* ===== フロー全体 ===== */
.flow{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 線 */
.flow::before{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 0;
  background: #ddd;
  transform: translateX(-50%);
  z-index: 0;
  transition: height 2s ease-out;
}

/* 線が伸びる */
.flow.show-line::before{
  height: 100%;
}

/* ===== 各ステップ ===== */
.step{
  position: relative;
  width: 100%;
  max-width: 700px;
  display: flex;
  align-items: center;
  margin: 60px 0;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

/* 表示アニメーション */
.step.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* 丸番号 */
.circle{
  width: 60px;
  height: 60px;
  background: #242f42;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  flex-shrink: 0;
  z-index: 1;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s ease-out 0.5s, opacity 0.5s ease-out 0.5s;
}

.fade-in .circle {
  transform: scale(1);
  opacity: 1;
}

/* ステップ内容 */
.step-content{
  background: #f9f9f9;
  padding: 20px;
  margin-left: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

/* 画像のズームイン */
.step-content img{
  width: 100%;
  margin-bottom: 10px;
  transform: scale(1.1);
  opacity: 0;
  transition: transform 1.5s ease, opacity 1.5s ease;
}

.fade-in img {
  transform: scale(1);
  opacity: 1;
}


.step-content p{
  font-size: 0.95em;
  line-height: 1.6;
  text-align: left; 
}

/* スマホ対応 */
@media (max-width: 768px) {
  .step{
    flex-direction: column;
    text-align: center;
  }
  .step-content{
    margin-left: 0;
    margin-top: 15px;
  }
  .flow::before{
    left: 50%;
  }
}




:root{
  --accent: #999933;
  --accent-2: #999933;
  --dark: #ccc;
}


/* ====== 家づくりバナー全体 ====== */
.flow-banner{
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 400px;
  margin: 40px auto;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11,25,40,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* ✅ 背景画像（木の家や現場など） */
.flow-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:url(../img/62_g_bana.jpg) center center / cover no-repeat;
  z-index:0;
  filter: brightness(50%);
}


/* ✅ グラデーションの代わりに暗め画像をオーバーレイ */
.flow-banner::after{
  content:"";
  position:absolute;
  inset:0;
  background : url(../img/62_g_bana.jpg) center center / cover no-repeat scroll padding-box border-box transparent;
  opacity:0.7; /* 少し透かして下の画像を見せる */
  z-index:1;
}


.flow-content h2{
  font-family: "Playfair Display", "Noto Sans JP", serif; /* フォント指定 */
  color: #fff;         /* 白文字 */
  font-size: 20px;     /* サイズ指定 */
  margin: 0;           /* 余白調整（任意） */
  line-height: 1.4;    /* 行間調整（任意） */
}
/* ====== テキスト部分 ====== */
.flow-content{
  position: relative;
  z-index:2;
  padding: 40px 60px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.flow-content .kicker{
  font-size:0.95rem;
  font-weight:700;
  letter-spacing:0.12em;
  color: var(--accent-2);
  margin-bottom:8px;
  text-transform: uppercase;
}

.flow-content h2{
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #fff;         /* 白文字 */
  font-size: 28px;     /* サイズ指定 */
  margin: 0;           /* 余白調整（任意） */
  line-height: 1.4;    /* 行間調整（任意） */
}

.flow-content p.subtitle{
  font-size:1.1rem;
  margin:0;
  opacity:0.9;
}

/* ====== ボタン ====== */
.flow-button{
  position: absolute;
  bottom: 28px;
  right: 40px;
  z-index: 2;
}

.flow-button a{
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  text-decoration: none;
  transition: all .3s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35); /* ← 黒っぽく変更 */
}
.flow-button a:hover{
  background: var(--accent-2);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45); /* ← hover時も黒系で統一 */
  transform: translateY(-2px);
}

/* ====== スマホ対応 ====== */
@media (max-width: 768px){
  .flow-banner{
    height: 360px;
  }
  .flow-content{
    padding: 30px;
    text-align: left;
  }
  .flow-content h1{
    font-size:32px;
  }
  .flow-button{
    right: 24px;
    bottom: 20px;
  }
  .flow-button a{
    padding: 12px 26px;
    font-size: 0.9rem;
  }
}







/* ===== その他建設 ===== */

.build-section{
  background: #fdfdfd;
  padding: 80px 20px;
  font-family: 'Noto Sans JP', sans-serif;
}

.build-title{
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 60px;
  color: #222;
  position: relative;
}

.build-title::after{
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #222;
}

/* ===== 各アイテム ===== */
.build-item{
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 4px;
  overflow: hidden;
}

/* ===== 画像部分 ===== */
.build-image{
  flex: 1;
  position: relative;
  overflow: hidden;
}

.build-image img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(50%); /* 暗め */
  transition: transform 0.5s ease;
}

.build-image:hover img {
  transform: scale(1.05);
}

/* 画像中央のタイトル */
.build-overlay{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}

.build-overlay h3{
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
  margin: 0;
}

/* ===== 文章部分 ===== */
.build-text{
  flex: 1;
  text-align: left;
}

.build-text h4{
  font-size: 20px;
  color: #222;
  margin-bottom: 8px;
  font-weight: 600;
}

.build-text p{
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* ===== スマホ対応 ===== */
@media screen and (max-width: 768px) {
  .build-item{
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .build-text{
    text-align: left; /* 左揃えのまま */
  }

  .build-text h4{
    font-size: 18px;
  }

  .build-text p{
    font-size: 15px;
  }

  .build-overlay h3{
    font-size: 22px;
  }
}



/* TOPが */

.hero-bg{
  height: 40vh; /* セクション高さは任意（例） */
  background-image : url(62_g_bana.jpg);
  background-size: cover;         /* 画面いっぱいにカバー */
  background-position: center 70%;/* 横中央、縦は上から40%に合わせる */
  background-repeat: no-repeat;
  position: relative;
}



/* リノベの流れ */
.reno-section{
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.reno-title{
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #004080;
  margin-bottom: 10px;
}

.reno-intro{
  text-align: center;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* 横スクロールコンテナ */
.reno-container{
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 60px 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* スワイプ滑らか */
}

.reno-container::-webkit-scrollbar {
  height: 10px;
}

.reno-container::-webkit-scrollbar-thumb {
  background: #00408077;
  border-radius: 4px;
}

.reno-item__image{
  width: 100%;             /* カード幅いっぱいに画像を表示 */
  height: auto;            /* 自然な縦横比を保つ */
  border-radius: 10px 10px 0 0; /* 上部角だけ丸くしたいなら */
  display: block;
  object-fit: cover;       /* 画像の切り替え・拡縮時にきれいに保つ */
  margin-bottom: 16px;     /* 画像とテキストの余白 */
}


/* カード */
.reno-item{
  flex: 0 0 300px; /* 幅を固定300px */
  background: #fff;
  border-radius: 10px;
  box-shadow: 3px 3px 10px rgba(0,0,0,0.15);
  padding: 24px;
  text-align: left;

  /* 高さを内容に応じて伸びるように明記（height: auto; は省略可） */
  height: auto;           /* 追加しておけば明示的に自動高さ */
  /* 最低限の高さを指定したければ min-height を使う */
  min-height: 200px;       /* 必要であれば下限設定 */

  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}


.reno-container{
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 60px 20px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  align-items: flex-start; /* ← 追加してみる */
}



.reno-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.reno-num{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #242f42;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.reno-content h4{
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-family: 'HannariMincho', "游明朝", "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #242f42;
}

.reno-content p{
  font-size: 0.8rem;
  color: #444;
  line-height: 1.4;
}

/* スマホ調整 */
@media (max-width: 768px) {
  .reno-item {
    flex: 0 0 100%; /* カード幅を画面に合わせる */
  }
}

