@charset "utf-8";
/* CSS Document */
/* =========================================================
   ご入居までの流れセクション (section-flow) 修正版
   ========================================================= */
.section-flow {
  padding: 0px 0 160px;
  position: relative;
  background-color: #fff;
}

/* ヘッダー周りの調整 */
.flow-header {
  position: relative;
  max-width: 960px; /* flow-main-boxと同じ幅にする */
  margin: 0 auto;
  padding-bottom: 20px; /* タイトルとボックスの隙間 */
  text-align: center;
}

.flow-main-title {
  background-image: url(../images/top/ribbon-process.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  color: #fff;
  font-size: 1.8rem;
  padding: 10px 80px;
  height: 65px;
  display: inline-flex; /* 中央に寄せるため */
  align-items: center;
  font-weight: bold;
}

/* イラストを右側の縁に配置 */
.flow-staff-img {
  position: absolute;
  right: 50px;  /* 右端からの距離 */
  bottom: -1px; /* flow-main-boxの縁に重なるように調整 */
  width: 110px;
  z-index: 15;  /* ボックスより上に表示 */
}

.flow-staff-img img {
  width: 100%;
  height: auto;
}

/* ミントグリーンの大きな外枠 */
.flow-main-box {
  position: relative; /* イラストの基準点用ではないが、念のため */
  background-color: #d7edcf;
  border-radius: 40px;
  padding: 60px 50px;
  max-width: 960px;
  margin: 0 auto;
  z-index: 5;
}

/* 白いカードレイアウト */
.flow-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 35px 45px;
}

.flow-card-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* 左側：ステップ見出しエリア */
.flow-step-head {
  display: flex;
  align-items: baseline;
  width: 240px;
  flex-shrink: 0;
  gap: 12px;
}
.step-title-area {
  display: flex;
  flex-direction: column; /* 縦に並べる */
  align-items: flex-start; /* 左寄せ */

}
.step-title-group {
  display: flex;
  align-items: baseline; /* 数字と文字の底辺を合わせる */
  gap: 12px;
}
.badge-reserve {
  display: inline-block;
  background-color: #f29400;
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 14px;
  border-radius: 20px;
  font-weight: bold;
  line-height: 1.4;
  margin-left: 2px; /* 数字の位置に合わせて微調整 */
}
/* 02 見学などの文字 */
.flow-step-head h3 {
  font-size: 1.4rem;
  color: #2d8942;
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
}
.flow-step-head .num {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1;
  display: inline-block;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 
       2px  2px 0px #4aa651,
      -2px  2px 0px #4aa651,
       2px -2px 0px #4aa651,
      -2px -2px 0px #4aa651,
       2px  0px 0px #4aa651,
       0px  2px 0px #4aa651,
      -2px  0px 0px #4aa651,
       0px -2px 0px #4aa651;
}

.flow-step-head h3 {
  font-size: 1.4rem;
  color: #2d8942;
  font-weight: bold;
  margin: 0;
  white-space: nowrap;
}

.badge-reserve {
  background-color: #f29400;
  color: #fff;
  font-size: 0.95rem;
  padding: 2px 12px;
  border-radius: 20px;
  font-weight: bold;
}

/* 右側：説明テキストエリア */
.flow-card-body {
  flex: 1;
}

.flow-text, .flow-list {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
}

.text-orange-bold {
  color: #f29400;
  font-weight: bold;
}

.flow-list {
  list-style: none;
  padding: 0;
}

.flow-list li {
  position: relative;
  padding-left: 20px;
}

.flow-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #59b68d;
  font-size: 0.85rem;
}

/* 大きな下向き矢印 */
.flow-arrow {
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-top: 35px solid #9fd8a9;
  margin: 0 auto 15px;
}

/* 下部のうねうね位置調整 */
.section-flow .wave-decoration.is-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

/* --- レスポンシブ (スマホ) --- */
@media (max-width: 850px) {
  .flow-card-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .flow-step-head {
    width: 100%;
    border-bottom: 1px dashed #d1e9d6;
    padding-bottom: 10px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
.step-title-area {
    flex-direction: row; /* スマホでは横に並べたほうが収まりが良い場合 */
    align-items: center;
    gap: 15px;
    width: 100%;
  }
	
  /* スマホではイラストをタイトルの横に戻すか、位置を再調整 */
  .flow-staff-img {
    position: static;
    margin: 10px auto 0;
    width: 80px;
  }

  .flow-main-box {
    padding: 30px 15px;
    border-radius: 20px;
  }

  .flow-card {
    padding: 20px;
  }

	.flow-header {
    padding-bottom: 0px;
}
}

/* =========================================================
   ご利用料金セクション (section-price)
   ========================================================= */
.section-price {
  padding: 80px 0 400px;
  background-color: #fffde6; /* 薄い黄色の背景 */
}

/* 青いリボン風タイトル */
.section-price .section-title {
background:#0096c8;
}
.section-price .ribbon-right::after {

  background: #fffde6;

}

/* テーブルの外枠（角丸にするため） */
.price-table-wrapper {
  max-width: 960px;
  margin: 0 auto 30px;
  background-color: #fff;
  border: 2px solid #b3e1f0;
  border-radius: 20px;
  overflow: hidden; /* 角丸からはみ出さないように */
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* カラム幅を固定 */
}

/* ヘッダー行 */
.price-table th {
  background-color: #fff;
  padding: 15px;
  border-bottom: 1px solid #b3e1f0;
  border-right: 1px solid #b3e1f0;
  font-weight: bold;
  text-align: center;
}

.price-table th:last-child {
  border-right: none;
}

/* データ行の基本スタイル */
.price-table td {
  padding: 15px 25px;
  border-right: 1px solid #b3e1f0;
  vertical-align: middle;
}

.price-table td:last-child {
  border-right: none;
}

/* 1行おきに色を変える（偶数行を水色に） */
.price-table tbody tr:nth-child(odd) {
  background-color: #e6f7fd;
}
.price-table tbody tr:nth-child(even) {
  background-color: #fff;
}

/* 各カラムの調整 */
.item-name {
  width: 25%;
  text-align: center;
  color: #00a0d1 !important;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.price-value {
  width: 20%;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
}
.price-value span {
  font-size: 0.9rem;
  margin-left: 2px;
}

.notes {
  width: 55%;
  text-align: left;
  font-size: 0.95rem;
  font-weight: bold;
  line-height: 1.2;
}

/* 下部の注意事項 */
.price-attention {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.8;
  font-weight: bold;
}
.price-attention p {
  text-indent: -1em;
  padding-left: 1em;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
.price-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* スムーズなスクロール */
    border-radius: 10px;
  }

  .price-table {
    min-width: 600px; /* スライドさせるために最低幅を確保 */
    table-layout: auto; /* コンテンツに合わせて幅を調整 */
  }

  /* --- 項目名（1列目）を固定する魔法の記述 --- */
  .price-table th:first-child,
  .price-table td:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: inherit; /* 背景色を引き継ぐ（縞模様を維持） */
    border-right: 2px solid #b3e1f0; /* 固定されてる感が出るよう線を少し太く */
    font-size: 0.8rem;
  }

  /* ヘッダーの1列目だけ重なり順を一番上に */
  .price-table th:first-child {
    z-index: 3;
    background-color: #fff;
  }

  /* 各セルの幅をスマホ用に調整 */
  .item-name {
    width: 100px !important;
    min-width: 100px;
    padding: 15px 10px !important;
  }
  
  .price-value {
    width: 150px !important;
    min-width: 150px;
  }

  .notes {
    width: 350px !important;
    min-width: 350px;
    font-size: 0.85rem;
  }
}