.image-text-offset2 {
  position: relative;  /* テキストの基準になる */
  width: 50%;          /* PC画像の幅 */
  margin: 0;           /* 左端にぴったり */
}

.image-text-offset2 img {
  width: 100%;
  display: block;

  border-radius: 0;
}

/* 画像の右下に少しかぶせるテキストボックス */
.text-box2 {
  position: absolute;       /* 親画像を基準に配置 */
  bottom: 30%;              /* 画像下から少し上に */
  left: 99%;                /* 横位置調整 */
  transform: translateX(-50%); /* 中央寄せ */
  background: #fff;
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  padding: 20px 30px;

  border-radius: 0px;
  width: 900px;             /* 幅固定（PC用） */
  max-width: 90%;           /* 画面幅超えない */
  z-index: 2;
}

.text-box2 p {
  font-size: 0.91rem !important;  /* !important で強制 */
  line-height: 1.4;              /* 調整可 */
  letter-spacing: 0.05em; /* ← 文字間を少し広げる */
  margin: 0;                      /* 必要に応じて */
}

.text-box2 h3 {
  font-size: 1.8rem;        /* 見出しの大きさ（お好みで調整） */
  color: #333;              /* 文字色（白背景に映える濃いめ） */
  font-weight: 600;         /* やや太字 */
  margin-bottom: 10px;      /* 下に余白 */
  letter-spacing: 0.05em;   /* 字間を少し広げる */
  line-height: 1.3;
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .text-box2 h3 {
    font-size: 1.3rem;    /* スマホでは少し小さめに */
  }
}


/* スマホ対応 */
@media (max-width: 768px) {
  .image-text-offset2 {
    width: 100%;
    position: relative;  /* 基準にする */
  }

  .text-box2 {
    position: relative;   /* absolute解除 → 下に流れる */
    bottom: 0;            /* リセット */
    left: 50%;
    transform: translateX(-50%) translateY(-20%); /* 横中央＋ちょっと上に */
    width: 90%;
    margin-top: -40px;    /* 画像に少しかぶせる */
    z-index: 2;
  }
}

/* 縦書きカード */
.vertical-card {
  writing-mode: vertical-rl;  /* 縦書き */
  text-orientation: mixed;
  text-align: start;
  background: #fff;
  padding: 30px 20px;
  display: inline-block;
}

.vertical-card h3 {
  margin-bottom: 15px;
  line-height: 3;
  font-size: 1.3rem;
}

.vertical-card p {
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  line-height: 2.5;
}

/* スマホでも縦書き維持 */
@media screen and (max-width: 768px) {

.vertical-card p {
  font-size: 0.9rem;
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  margin-bottom: 10px;
  line-height: 1.8;
}

  .vertical-card {
    writing-mode: vertical-rl;
    padding: 20px 16px;
  }
}




/* カード */
.card-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PC: 3列 */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
}

.card {
  background: #fff;
  border-radius: 1px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  position: relative;
}

.card-number {
  font-size: 20px; /* 大きな数字 */
  font-weight: bold;
  margin-bottom: 15px;
}

.card img {
  width: 100%;
  border-radius: 0px;
  margin-bottom: 10px;
}

.card-text {
  font-size: 16px;
  line-height: 1.5;
  text-align: left; /* ← 左揃えに変更 */
  letter-spacing: 0.05em; /* ← 文字間を少し広げる */
  color: #333;
}

/* スマホ表示: 1列 */
@media (max-width: 768px) {
  .card-section {
    grid-template-columns: 1fr;
  }
}


  /* パンくず */

.breadcrumb {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', 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; /* 線と文字の間隔 */
}





/* 流れ */
.flow-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  background: #fff;
  padding: 50px 20px;
  border-radius: 10px;
}

.flow-step {
  background: #fff;
  border: 2px solid #336699;
  padding: 20px;
  width: 210px;  
  height: 220px;
  text-align: left;   /* ← 左寄せに変更 */
  position: relative;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.flow-step::after {
  content: '→';
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  font-size: 24px;
  color: #336699;
}

.flow-step:last-child::after {
  content: '';
}

.flow-step::before {
  content: attr(data-step);
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #336699;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  .flow-container {
    flex-direction: column;
    gap: 15px;
  }

  .flow-step {
    background: #fff;
    border: 2px solid #336699;
    border-radius: 15px;
    padding: 20px;
    width: 330px;  
    height: 180px;
    text-align: left;  /* ← スマホでも左寄せ */
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }

  .flow-step::after {
    content: '↓';       
    position: absolute;
    top: 100%;          
    left: 40%;
    transform: translateX(-50%);
    font-size: 29px;
    margin-top: 1px;    
    z-index: 999;
    color: #336699;
  }

  .flow-step:last-child::after {
    content: '';        
  }
}







 /* 左右画像文章*/
.section-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;               /* 画像と文章の間の余白 */
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;         /* スマホで縦並びに */
}

.section-wrapper img {
  width: 45%;
  max-width: 450px;
  height: auto;
  object-fit: cover;
}

.section-text {
  flex: 1;
  min-width: 280px;
  text-align: justify;
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-size: 14px;
  color: #333;
  text-indent: 1em;
}

/* スマホ（768px以下）で縦並び */
@media (max-width: 768px) {
  .section-wrapper {
    flex-direction: column;
    gap: 20px;
    padding: 40px 15px;
  }
  .section-wrapper img {
    width: 100%;
    max-width: 100%;
  }
}





/* ki */
.renovation-info {
  position: relative;
  background: url('../img/top_bc_a.png') no-repeat center center;
  background-size: cover;
  padding: 50px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
  color: #fff;
  overflow: hidden;
}

/* 背景ぼかし */
.renovation-info::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: inherit;  /* 背景画像を継承 */
  filter: blur(1px);    /* 軽くぼかす */
  z-index: 0;
  border-radius: 10px;
}

/* 暗めオーバーレイ */
.renovation-info::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* 黒40%透過 */
  z-index: 1;
  border-radius: 10px;
}

/* 中身をオーバーレイの上に表示 */
.renovation-info > * {
  position: relative;
  z-index: 2;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  .renovation-info {
    padding: 30px 15px;
  }
}

.renovation-info h2 {
  font-size: 20px;
  margin-bottom: 30px;
  color: #fff;
}

.renovation-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.renovation-box {
  background: #fff;
  border: 2px solid #336699;
  padding: 30px;
  width: 400px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: left;
  color: #333; /* ← 文字色を黒っぽくして読みやすく */
}
.renovation-box h3 {
  font-size: 20px;
  color: #336699;
  margin-bottom: 15px;
}

.renovation-box ul {
  list-style: disc;
  padding-left: 20px;
}

.renovation-box li {
  margin-bottom: 10px;
}

.note {
  margin-top: 30px;
  font-size: 14px;
  color: #fff;
  line-height: 1.6;
  text-align: center; /* デフォルトはPC向け中央揃え */
}


/* スマホ表示の場合 */
@media screen and (max-width: 767px) {
  .note {
    text-align: left;  /* スマホでは左揃え */
  }
}


@media screen and (max-width: 767px) {
  .renovation-grid {
    flex-direction: column;
    gap: 15px;
  }

  .renovation-box {
    width: 100%;
  }
}


/* 初期状態：透明で少し下に下がっている */
.renovation-box {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

/* アニメーションが発動した状態 */
.renovation-box.visible {
  opacity: 1;
  transform: translateY(0);
}



/* card */

.support-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  border-radius: 10px;
}

.support-header h2 {
  font-size: 22px;
  color: #336699;
  margin-bottom: 10px;
}

.support-header p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  margin-bottom: 20px;
  text-align: left;    
}


/* PC（デフォルト）: 中央寄せ */
.support-header h2,
.support-header p {
  text-align: center;  /* PCは中央寄せ */
}

/* スマホ: 左寄せ */
@media screen and (max-width: 767px) {
  .support-header h2,
  .support-header p {
    text-align: left;  /* スマホは左揃え */
  }
}



.support-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.support-box {
  display: flex;            /* Flexbox化 */
  flex-direction: column;   /* 上から下に並べる */
  align-items: center;      /* 横方向中央寄せ */
  text-align: center;       /* テキストも中央揃え */
  padding: 20px;
  background: linear-gradient(135deg, #ffffff, #ffffff);
  width: 280px;
  box-shadow: 0 8px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.support-box img {
  object-fit: contain;
  margin-bottom: 15px;  /* 下に余白 */
  /* display: block; ← Flexbox方式では不要 */
}


.support-box h3 {
  color: #336699;
  font-size: 18px;
  margin-bottom: 10px;
}

.support-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  text-align: left;       
}


/* スマホ対応 */
@media screen and (max-width: 767px) {
  .support-grid {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .support-box {
    width: 100%;
  }
}








 /* メンテナンスコンテナ（PC：幅800px / スマホ：幅90% 左寄せ） */
  .guarantee-container{
    width: 100%;
    max-width: 800px;     /* PCでは最大800px */
    background: var(--container-bg);
    padding: 28px;
    box-sizing: border-box;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border-radius: 8px;
    margin: 0 auto;       /* デスクトップでは中央寄せ */
  }

  .guarantee-title{
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 12px 0;
  }

  .guarantee-body{
    font-size: 15px;
    line-height: 1.9;
    color: #333;
    margin: 0;
    text-align: left;
  }

  /* スマホ（小さい画面）用：幅を90%、左寄せにする */
  @media (max-width: 600px){

    .guarantee-container{
      max-width: none;
      width: 95%;         /* スマホでは90% */
 margin: 0 auto;       /* デスクトップでは中央寄せ */
      margin-right: auto;
      padding: 20px;
      border-radius: 6px;
    }
    .guarantee-title{
      font-size: 16px;
    }
    .guarantee-body{
      font-size: 15px;
      line-height: 1.8;
    }
  }




  /* バナー */
 .banner-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  .banner {
    flex: 1 1 50%;
    height: 300px;
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-size 0.3s ease;
  }

  .banner h2 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 24px;
  }

  .banner p {
    margin: 0 0 15px 0;
    font-size: 14px;
  }

  .banner a {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(255,255,255,0.8);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  /* Luxuryplace用のボタンカラー調整 */
  .luxury a {
    background-color: gold;
    color: #fff;
  }

  /* hover時のアニメーション */
  .banner:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    background-size: 100%;
  }

  .banner a:hover {
    transform: scale(1.05);
    background-color: rgba(255,255,255,1);
  }

  @media (max-width: 768px) {
    .banner {
      flex: 1 1 100%;
      height: 200px;
    }
  }


/* TOPが */

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

