/* ========================================
   リニューアル工事ページ(renewal.php)
   ======================================== */

.recommend {
  padding: 80px 0;
}

.recommend .recommend-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.recommend .recommend-list .recommend-item {
  display: flex;
  align-items: center;
  flex-direction: column; /* 縦方向に子要素を配置 */
  gap: 10px;
  max-width: 540px;
}

.recommend .recommend-list .recommend-item .recommend-item-image {
  width: 100%;
  height: auto; /* アスペクト比を維持 */
}

.recommend-item-lease {
  display: flex;
  max-width: 100%;
  margin: 0 180px;
  flex-direction: column;
  gap: 20px;
  padding: 80px 0;
  align-items: center;
}

.recommend-item-title {
  color: #fffe00;
  font-size: 3rem;
  font-weight: bold;
}
.recommend .recommend-list .recommend-item-title {
  color: #fffe00;
  font-size: 5.5rem;
}

/* ========================================
   昇降式の特長ページ(renewal-elevating-type.php)
   ======================================== */

/* 昇降式の6つの特長セクション */
.lp-features {
  padding-top: 60px;
  padding-bottom: 80px;
}

/* 特長セクション共通スタイル */
.lp-features-section {
  padding: 60px 0;
}

/* 画像エリア（最大幅制限あり） */
.lp-features-section .images-about {
  max-width: 1190px;
  width: 95%;
  margin: 0 auto; /* 水平方向中央揃え */
}

/* 画像エリア（幅制限なし、はみ出し可） */
.lp-features-section .images-overflow {
  width: 100%;
  display: flex;
  max-width: 1920px;
  margin: 0 auto;
  justify-content: center;
}

/* 画像の共通スタイル */
.lp-features-section .images-about img,
.lp-features-section .images-overflow img {
  width: 100%;
  object-fit: contain; /* アスペクト比を維持しつつコンテナに収める */
}

/* 説明テキスト */
.lp-features-section .text {
  max-width: 1190px;
  width: 95%;
  margin: 0 auto;
  font-size: 2.5rem;
  padding: 60px 0;
  line-height: 45px;
}

/* ボタンラッパー */
.lp-features-section .button-wrapper {
  padding-top: 60px;
}

/* ========================================
   平面駐車場の特長(renewal-parking-lot.php)
   ======================================== */

/* タイトル下の余白 */
.renewal-flow-item .common-title-numbered {
  padding-bottom: 10px;
}

/* コンテンツエリア（画像とテキストの横並び） */
.renewal-flow-item .renewal-flow-item-content {
  display: flex;
  align-items: center; /* 子要素を上下中央に配置 */
  gap: 20px;
  padding-bottom: 80px;
}

/* テキストエリア */
.renewal-flow-item .renewal-flow-item-content .list {
  flex: 1.3; /* 画像より1.3倍の幅を確保 */
}

/* リストアイテムのフォントサイズ */
.renewal-flow-item .list-item {
  font-size: 2rem;
}

.renewal-flow .section-content .button-wrapper {
  padding-bottom: 40px;
}

/* ========================================
   レスポンシブ対応
   ======================================== */

/* ------------------------------------------
   1750px以下（大画面）
   ------------------------------------------ */
@media screen and (max-width: 1750px) {
  .recommend .recommend-list .recommend-item-title {
    font-size: 3.5rem;
  }

  .recommend-item-lease {
    padding: 80px 0;
  }

  .recommend {
    padding: 60px 60px;
  }
}

/* ------------------------------------------
   1300px以下（中画面）
   ------------------------------------------ */
@media screen and (max-width: 1300px) {
  .recommend {
    padding: 60px 30px;
  }

  .recommend .recommend-list {
    justify-content: space-between;
  }

  .recommend-item-title {
    font-size: 2.8rem;
  }

  .recommend .recommend-list .recommend-item {
    max-width: 45%; /* 2カラムレイアウト */
  }

  .recommend .recommend-list .recommend-item .recommend-item-title span {
    font-size: 2rem;
  }
  .recommend-item-lease {
    padding: 80px 0;
    margin: 0;
  }
  .recommend-item-title {
    font-size: 2rem;
  }
}

/* ------------------------------------------
   1100px以下（タブレット横向き）
   ------------------------------------------ */
@media screen and (max-width: 1100px) {
  .recommend .recommend-list {
    gap: 50px 30px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .recommend .recommend-list .recommend-item {
    width: calc(100% / 2 - 30px / 2);
  }

  .recommend-item-lease {
    padding: 60px 0;
  }

  .lp-features-section .text {
    font-size: 2.2rem;
    line-height: 35px;
  }
}

/* ------------------------------------------
   768px以下（タブレット）
   ------------------------------------------ */
@media screen and (max-width: 768px) {
  /* recommend セクション */
  .recommend {
    padding: 50px 20px;
  }

  .recommend .recommend-list {
    flex-direction: column; /* 縦並びに変更 */
  }

  .recommend .recommend-list .recommend-item {
    max-width: 100%;
    width: 100%;
    gap: 3px;
  }

  .recommend .recommend-list .recommend-item-title {
    font-size: 5rem;
  }

  .lp-features {
    padding-top: 0;
  }

  /* lp-features-section */
  .lp-features-section {
    padding: 40px 0;
  }

  .lp-features-section .images-about {
    width: 100%;
    padding: 0 15px;
  }

  .lp-features-section .text {
    font-size: 2rem;
    padding: 40px 15px;
    line-height: 30px;
  }

  .lp-features-section .button-wrapper {
    padding-top: 40px;
  }

  #plating .lp-before-after-list {
    padding-bottom: 0;
  }

  /* renewal-flow-item（平面駐車場） */
  .renewal-flow-item .renewal-flow-item-content {
    flex-direction: column; /* 縦並びに変更 */
    gap: 30px;
    padding-bottom: 60px;
  }

  .renewal-flow-item .renewal-flow-item-content .image {
    width: 100%;
  }

  .renewal-flow-item .renewal-flow-item-content .image img {
    width: 100%;
    height: auto;
  }

  .renewal-flow-item .renewal-flow-item-content .list {
    flex: none; /* flex比率を解除 */
    width: 100%;
  }

  .renewal-flow-item .list-item {
    font-size: 1.8rem;
  }
}

/* ------------------------------------------
   480px以下（スマートフォン）
   ------------------------------------------ */
@media screen and (max-width: 480px) {
  /* recommend セクション */
  .recommend {
    padding: 40px 15px;
  }

  /* lp-features-section */
  .lp-features-section {
    padding: 30px 0;
  }

  .lp-features-section .button-wrapper {
    padding-top: 30px;
  }

  /* renewal-flow-item（平面駐車場） */
  .renewal-flow-item .renewal-flow-item-content {
    gap: 20px;
    padding-bottom: 40px;
  }

  .renewal-flow-item .list-item {
    font-size: 1.6rem;
  }
}
