@charset "UTF-8";
/* CSS Document */

/* Noto Sans JP の読み込みは header-common.php の <link> に移動（@import は描画を止める直列読み込みになるため） */

body {
  background-color: #fff8c4;
}

/* リノベーション　トップ */
#pageRenova001 {
  background-image:url("img/BG_renova_01.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
#pageRenova001 .homeContents {
  text-align: center;
}
.renovaTopTextContainer {
  background-color: rgba(255,255,255,0.70);
  padding: 40px 114px;
  font-size: 1.4em;
  color: rgba(0,0,0,0.70);
  text-align: center;
  display: inline-block;
}
.renovaTopTitle img {
  margin: 60px auto 130px;
}

@media screen and (max-width: 767px) {
  .renovaTopTextContainer {
    padding: 33px 15px;
    text-align: justify;
  }
}



/* リノベーション事例 共通 */

.renovaPageContents {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.renovaContentContainer {
  background-color: rgba(255,255,255,0.70);
  width: 328px;
  height: auto;
  padding: 50px 33px 36px;
}

.renovaContentTitle {
  display: block;
  margin-bottom: 20px;
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-size: 32px;
  line-height: 1em;
  color: #4f4f4f;
  text-align: center;
  font-weight: 500;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
}

.renovaContentText  {

  display: inline-block;
  margin: 0 auto 40px;
  font-size: 1.4em;
  font-weight: 500;
  text-align: justify;
  font-feature-settings: "palt";
  color: rgba(0,0,0,0.8);
}

.renovaButtonsContainer {
  text-align: center;
}

button.renovaContentBtn {
  display: block;
  width: 214px;
  height: 41px;
  margin: 0 auto;
  color: #FFF;
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  text-align: center;
  font-weight: 500;
  font-feature-settings: "palt";
  font-size: 20px;
  line-height: 24px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  transition: all 0.35s ease;
}
button.renovaContentBtn.toAfter {
  background-color: #525151;
}
button.renovaContentBtn.toBefore {
  background-color: #525151;
  /* background-color: #5bbb24; */
}

button.renovaContentBtn:hover {
  transform: scale(1.1);
  transition: all 0.15s ease;
}

button.renovaContentBtn.toAfter:hover {
  background-color: #5bbb24;
  filter: drop-shadow(0 0 0.75rem rgba(100, 241, 19, 0.35));
}
button.renovaContentBtn.toBefore:hover {
  background-color: #525151;
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.35));
}



button.toBefore {
  display: none;
}
.renovaContentTextAfter {
  display: none;
}



.renovaGoNextBtn {
  text-align: center;
  position: absolute;
  bottom: 63px;
  left: 0;
  right: 0;
}
.renovaBtnNext {
  border: 4px solid #FFF;
  display: inline-block;
  padding: 11px 32px 13px;
  text-align: center;
  font-size: 24px;
  line-height: 1em;
  font-weight: 500;
  font-family: "Noto Sans JP", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  color: #FFF;
  filter: drop-shadow(0 0 0.75rem rgba(0, 0, 0, 0.35));
  text-decoration: none;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
}
.renovaContentPicM {
  display: none;
}

@media screen and (max-width: 767px) {
  .renovaContentText {
    padding: 30px 15px;
  }
  .renovaContentContainer {
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    bottom: auto !important;
    right: auto !important;
    padding: 130px 0 0;
  }
  .renovaContentPicM {
    display: block;
    position: relative;
    margin-top: 30px;
    width: 100%;
    height: auto;
  }
  .renovaContentPicM_After {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
  }
}




/* キッチン */

/* 文字ボックスの位置 */
#pageRenova010 .renovaContentContainer {
  position: absolute;
  bottom: 11vh;
  right: 7vw;
} 



/* トイレ */

/* 文字ボックスの位置 */
#pageRenova020 .renovaContentContainer {
  position: absolute;
  bottom: 11vh;
  right: 7vw;
} 




/* バリアフリー */

/* 文字ボックスの位置 */
#pageRenova030 .renovaContentContainer {
  position: absolute;
  bottom: 11vh;
  right: 7vw;
} 





/* お客様の声 */
#pageRenova100 {
  background-color: #fff8c4;
}
.renovaVoiceContentsTitle img {
  margin: 5vh auto 5vh;
}
.renovaVoiceContentContainer {
  margin-top: 30px;
}
.renovaVoiceBox {
  background-color: rgba(255,255,255,0.70);
  padding: 31px;
  margin-bottom: 15px;
}
.renovaVoicePic img {
  margin: 0 auto;
}
.renovaVoiceText {
  margin: 24px 0;
}
.renovaVoiceBtn img {
  margin: 0 0 0 auto;
}

.renovaVoiceToAll img {
  margin: 30px auto;
}

/* お客様の声 詳細 */
#mainteVoicePage01 {
  background-color: #fff8c4;
}
.singleVoiceMainPic {
  padding-top: 15px;
  margin-bottom: 15px;
}
.singleVoiceTitle img {
  margin: 0 auto 30px;
}





/* ツールチップを調整 */
.tooltip {
  position: absolute;
  z-index: 1070;
  display: block;
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  white-space: normal;
  filter: alpha(opacity=0);
  opacity: 0;

  line-break: auto;
}
.tooltip.in {
  filter: alpha(opacity=90);
  opacity: .9;
}
.tooltip.top {
  padding: 5px 0;
  margin-top: -3px;
}
.tooltip.right {
  padding: 0 5px;
  margin-left: 3px;
}
.tooltip.bottom {
  padding: 5px 0;
  margin-top: 3px;
}
.tooltip.left {
  padding: 0 5px;
  margin-left: -3px;
}

.tooltip-inner {
  max-width: 200px;
  padding: 7px 8px;
  color: #333;
  text-align: center;
  background-color: #F9FBD5;
  border-radius: 8px;
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 5px 5px 0;
  border-top-color: #F9FBD5;
}
.tooltip.top-left .tooltip-arrow {
  right: 5px;
  bottom: 0;
  margin-bottom: -5px;
  border-width: 5px 5px 0;
  border-top-color: #F9FBD5;
}
.tooltip.top-right .tooltip-arrow {
  bottom: 0;
  left: 5px;
  margin-bottom: -5px;
  border-width: 5px 5px 0;
  border-top-color: #F9FBD5;
}
.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-width: 5px 5px 5px 0;
  border-right-color: #F9FBD5;
}
.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-width: 5px 0 5px 5px;
  border-left-color: #F9FBD5;
}
.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #F9FBD5;
}
.tooltip.bottom-left .tooltip-arrow {
  top: 0;
  right: 5px;
  margin-top: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #F9FBD5;
}
.tooltip.bottom-right .tooltip-arrow {
  top: 0;
  left: 5px;
  margin-top: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #F9FBD5;
}



/* スマホ表示の調整（2026/10 追加）
   以前は、文字ボックスを画面の高さ（100vh）に固定し、「〇〇のビフォー・アフターも見る」ボタンを
   セクションの下から 63px の位置に絶対配置していた。そのため、画面が低い端末や文字が折り返す端末では、
   「二和でリノベすると…」ボタンと重なっていた。スマホでは上から順に並べ、重ならないようにする。
   あわせて、スマホで大きすぎた本文とボタンの文字を小さくする。
   （各セクションの位置指定 #pageRenova010〜030 .renovaContentContainer より後ろに書く必要がある） */
@media screen and (max-width: 767px) {
  .renovaPageContents .homeContents {
    padding-top: 0;
  }
  #pageRenova010 .renovaContentContainer,
  #pageRenova020 .renovaContentContainer,
  #pageRenova030 .renovaContentContainer {
    position: relative;
    width: auto;
    height: auto;
    margin: 0 -15px; /* .container の左右の余白を打ち消し、以前と同じく画面幅いっぱいにする */
    padding: 110px 0 30px;
  }
  button.renovaContentBtn {
    width: auto;
    min-width: 214px;
    height: auto;
    padding: 9px 20px;
    font-size: 18px;
    white-space: nowrap;
  }
  .renovaContentTitle {
    font-size: 28px;
    margin-bottom: 0;
  }
  .renovaContentText {
    display: block;
    margin: 0 0 10px;
    padding: 20px 20px 0;
    font-size: 1.1em;
    line-height: 1.7;
  }
  .renovaGoNextBtn {
    position: static;
    margin: 30px 0 40px;
  }
  .renovaBtnNext {
    padding: 10px 16px 12px;
    border-width: 3px;
    font-size: 16px;
    letter-spacing: 0;
  }
  .renovaTopTextContainer {
    font-size: 1.15em;
  }
  /* 背景の写真（Vegas）をぼかす。白い半透明の枠の外（「〇〇も見る」ボタンのあたり）が、
     枠の中の写真と同じくっきりした写真に見えないようにする。ぼかしの強さは blur() の数値で調整 */
  .renovaPageContents .vegas-slide-inner {
    filter: blur(8px);
    transform: scale(1.08); /* ぼかしで写真の端が透けて見えないよう、少し拡大する */
  }
}
