/* =========================
   共通見出しスタイル（明朝系）
   ========================= */
.home-heading {
  font-family: "Hiragino Mincho ProN","Yu Mincho","YuMincho","MS Mincho",serif;
  font-size: 45px;
  line-height: 1.9;
  color: #00305b;
  font-weight: normal;
  margin-bottom: 24px;
  text-align: center;
}

/* =========================
   ホームメッセージ領域
   ========================= */
.home-message {
  position: relative;
  min-height: 1040px;
  padding: 80px 0;
  background-image: url("../img/home-elce-2025-back.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.home-message-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 0 0px; 
  text-align: center;
}

.home-message p {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

/* =========================
   エルセ説明ボックス
   ========================= */
.elce-explain-box {
  position: absolute;
  left: 55%;
	top: 500px;
  transform: translateX(-50%);
  width: 570px;
  padding: 40px 50px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  text-align: center;
  box-sizing: border-box;
}

.elce-explain-box h3 {
  font-family: "Hiragino Mincho ProN","Yu Mincho","YuMincho","MS Mincho",serif;
  font-size: 30px;
  color: #862e30;
  font-weight: normal;
  margin: 0 0 0 0;
}

.elce-explain-box h3::after {
  content: "";
  display: block;
  width: 450px;
  height: 1px;
  margin: 10px auto 10px;
  background-color: #862e30;
}

.elce-explain-box .note {
  display: block;
  font-size: 13px;
  color: #862e30;
  margin-bottom: 22px;
  text-align: center;
}

.elce-explain-box .text {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 32px;
  text-align: left;
}



/* =========================
   CTAボタン（共通）
   ========================= */
.elce-btn {
  display: block;          
  margin: 12px auto 0;     
  background: #f1925a;
  color: #ffffff !important;
  text-decoration: none;
  padding: 14px 42px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  transition: all 0.3s ease;
}

.elce-btn:hover {
  background: #e67e50;
  transform: translateY(-2px);
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* =========================
   キャッチコピー
   ========================= */
.home-message-catch {
  margin-top: 60px;
  text-align: center;
}

.home-message-band {
  display: block;
  max-width: 1040px;
  margin: 0 auto;
  background: #e6f3fb;
  padding: 12px 28px;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  border-radius: 3px;
}

/* =========================
   ホーム画像列
   ========================= */
.home-image-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 50px 0;
}

/* =========================
   トイレ横スクロールラッパー
   ========================= */
.toilet-slider-wrapper {
  position: relative;
  padding-bottom: 80px; 
  max-width: 1000px;
  margin: 0 auto;
}

/* =========================
   横スクロールスライダー
   ========================= */
.toilet-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding-bottom: 10px;
}

.toilet-slider:active {
  cursor: grabbing;
}

/* =========================
   スクロールバーカスタマイズ（ブルー系）
   ========================= */
.toilet-slider::-webkit-scrollbar {
  height: 8px;
  background-color: #cce7f9; 
}

.toilet-slider::-webkit-scrollbar-thumb {
  background-color: #ff7f00; 
  border-radius: 4px;
}

.toilet-slider::-webkit-scrollbar-corner {
  background-color: transparent;
}

.toilet-slider {
  scrollbar-width: thin;
  scrollbar-color: #ff7f00 #cce7f9; 
}

/* =========================
   スライド内ボックス
   ========================= */
.toilet-slider .toilet-box {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #fff;
  padding: 0; 
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  width: 195px;
  text-align: left; 
}

.toilet-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   水色帯
   ========================= */
.toilet-band {
  background-color: #b4e0f7;
  color: #00305b;
  font-size: 12pt;
  font-weight: bold;
  padding: 6px 0;
  margin: 0; 
  width: 195px;   
  text-align: center;
}

/* =========================
   スライド内テキスト
   ========================= */
.toilet-text {
  font-size: 15px;
  color: #333;
  line-height: 1.8;
  margin: 8px auto 12px auto;
  text-align: left;
  padding: 0 6px;
}

/* =========================
   各スライド内ボタン（中央揃え・統一）
   ========================= */
.toilet-box .elce-btn,
.toilet-link-btn {
  display: block;            
  margin: 8px auto 12px auto; 
  background: #f1925a;
  color: #ffffff !important;
  text-decoration: none;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  transition: all 0.3s ease;
}

.toilet-box .elce-btn:hover,
.toilet-link-btn:hover {
  background: #e67e50;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* =========================
   固定ボタン（スクロール追従）
   ========================= */
.slider-cta-btn {
  position: absolute;
  bottom: 10px;
  right: 20px;
  z-index: 10;
  display: inline-block;
  padding: 14px 42px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slider-cta-btn:hover {
  background: #e67e50;
  transform: translateY(-2px);
}

/* =========================
   PC版固定ボタン対応
   ========================= */
@media screen and (min-width: 1024px) {
  .slider-cta-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
  }
}

/* =========================
   設置事例スタイル（全画面対応・上寄せ）
   ========================= */

/* セクション全体 */
.case-background {
  position: relative;
  background-image: url("../img/home-elce-2025-case-background.jpg");
  background-size: cover;
  background-position: center;
  height: 650px; 
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  align-items: center;
  text-align: center;
  padding-top: 50px; 
}

/* タイトル：帯なし、紺色文字 */
.case-h2 {
  display: block;
  max-width: 800px;
  margin: 0 auto 16px auto;
  font-size: 45px;
  line-height: 1.5;
  font-family: "Hiragino Mincho ProN","Yu Mincho","YuMincho","MS Mincho",serif;
  font-weight: normal;
  color: #00305b; 
  text-align: center;
}

/* 説明文：白色帯 + 紺色文字、横幅1040px、角丸なし */
.case-message-band {
  display: block;
  max-width: 1040px;
  width: 100%;
  box-sizing: border-box; 
  margin: 16px auto 0 auto;
  background-color: #ffffff; 
  color: #00305b; 
  padding: 12px 28px;
  font-size: 15px;
  line-height: 1.9;
  border-radius: 0;
  text-align: center;
  box-shadow: 0 0 0 rgba(0,0,0,0.0);
}

/* 元の白帯（case-title）は透明化 */
.case-title {
  background-color: transparent;
  padding: 0;
  box-shadow: none;
}

/* スマホでの不要表示回避 */
.case-title h2, 
.case-title p {
  display: none;
}
.elce-box {
  width: 195px;
  background: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 50px 0 0 0; 
}

.elce-box img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 6px;
}

.elce-box-title {
  font-size: 12pt;
  font-weight: bold;
  color: #00305b;
  margin-bottom: 6px;
}

.elce-box-text {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 8px;
}

/* ボタンは既存の .elce-btn を流用 */
.elce-box .elce-btn {
  display: block;
  margin: 6px auto 0 auto; 
  background: #f1925a; 
  color: #fff !important;
  text-decoration: none;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  transition: all 0.3s ease;
}

.elce-box .elce-btn:hover {
  background: #e67e50;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.elce-box-row {
  display: flex;
  justify-content: center; 
  gap: 20px;              
  flex-wrap: wrap;         
  margin: 0 0;          
}

.elce-box {
  width: 195px;
  background: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 0; 
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}/* 横並びラッパー */
.elce-box-row {
  display: flex;
  justify-content: center; 
  gap: 20px;
  flex-wrap: wrap;
  margin: 0 0;
}

/* 個別ボックス */
.elce-box {
  width: 195px;
  background: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 0; 
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  align-items: center;
}

/* 画像 */
.elce-box img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 6px;
}

/* タイトル */
.elce-box-title {
  font-size: 12pt;
  font-weight: bold;
  color: #00305b;
  margin-bottom: 6px;
}

/* マンション用タイトルを少し小さく */
.elce-box-title.small-title {
  font-size: 10pt;
  margin-bottom: 4px;
}

/* 説明文 */
.elce-box-text {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 8px;
}

/* ボタン */
.elce-box .elce-btn {
  display: block;
  margin: 6px auto 0 auto;
  background: #f1925a;
  color: #fff !important;
  text-decoration: none;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
  transition: all 0.3s ease;
}

.elce-box .elce-btn:hover {
  background: #e67e50;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.elce-flow {
  text-align: center;
  padding: 60px 20px;
  background: #fffdf7; 
}

.elce-flow-title {
  font-family: "Hiragino Mincho ProN","Yu Mincho","YuMincho","MS Mincho",serif;
  font-size: 30px;
  color: #f1925a;
  font-weight: normal;
  margin-bottom: 40px;
  position: relative;
}

.elce-flow-title::after {
  content: "";
  display: block;
  width: 300px;
  height: 1px;
  margin: 16px auto 0;
  background-color: #f1925a;
}

.elce-flow-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.elce-flow-step {
  width: 180px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.elce-flow-step-number {
  font-size: 20px;
  font-weight: bold;
  color: #f1925a;
  margin-bottom: 12px;
}

.elce-flow-step img {
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.elce-flow-step-text {
  font-size: 14px;
  color: #00305b;
  line-height: 1.6;
}

/* セクション背景 */
.power-background {
  position: relative;
  background-image: url("../img/home-elce-power-background.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 20px;
  text-align: center;
}

/* タイトル */
.power-heading {
  font-family: "Hiragino Mincho ProN","Yu Mincho","YuMincho","MS Mincho",serif;
  font-size: 45px;
  line-height: 1.5;
  color: #00305b;
  margin-bottom: 24px;
}

/* 帯付き説明文（水色帯） */
.power-message-band {
  display: block;
  max-width: 1040px;         
  width: calc(100% - 40px);
  margin: 0 auto 50px auto;
  background-color: #e6f3fb; 
  color: #00305b;
  padding: 12px 28px;
  font-size: 15px;
  line-height: 1.9;
  border-radius: 0;          
  text-align: center;
  box-sizing: border-box;
}

/* ボックス横並びラッパー */
.power-box-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ボックス個別 */
.power-box {
  width: 195px;
  background: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.power-box img {
  width: 100%;
  height: auto;
  margin-bottom: 6px;
}

.power-box-title {
  font-size: 12pt;
  font-weight: bold;
  color: #00305b;
  margin-bottom: 6px;
}

.power-box-text {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

/* =========================
   エルセ導入の流れ：水色帯調整
   ========================= */
.step-row.center {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  max-width: 630px;
  margin: 0 auto 100px auto;
}

.step-left {
  flex-shrink: 0;
}

.step-badge {
  width: 120px;
  height: 120px;
  border: 2px solid #00305b;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #00305b;
  font-size: 24pt;
  line-height: 1.2;
  font-family: "Hiragino Mincho ProN","Yu Mincho","YuMincho","MS Mincho",serif;
  text-align: center;
}

.step-right {
  max-width: 460px;
}

.step-title {
  font-size: 16pt;
  color: #f1925a;
  margin: 0 0 8px 0;
  text-align: left;
}

.step-text {
  font-size: 14pt;
  line-height: 1.6;
  color: #333;
  margin: 0;
  text-align: left;
}
.contact-btn-wrapper {
  text-align: center;
  margin: 40px 0;
}

.contact-btn {
  display: inline-block;
  background-color: #f1925a;
  color: #ffffff;
  font-size: 16pt;
  font-weight: bold;
  padding: 14px 42px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: #e67e50;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.contact-btn,
.contact-btn * {
  color: #ffffff !important;
}
/* =========================
   バナーセクション
========================= */
.banner-section {
  background-image: url("../img/home-elce-2025-case-background.jpg");
  background-size: cover;
  background-position: center;
  padding: 20px 0 20px 0;
  text-align: center;

  width: 1040px;
  margin: 0 auto;
}

.banner-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.banner-box {
  width: 280px;
  height: 200px;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.banner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-with-text {
  position: relative;
  width: 280px;
  height: 200px;
}

.banner-with-text img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-with-text .banner-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
  text-align: center;
  width: 100%;
}
.banner-box {
  width: 280px;
  height: 200px;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.banner-with-text {
  transform-style: preserve-3d;
  transition: transform 0.3s ease; 
  will-change: transform;
  cursor: pointer; 
}

.home_rakuten {
  margin-top: 50px;
}

.elce-explain-box .text {
  font-size: 12px;  /* 例: 元より小さくする */
  line-height: 1.5; /* 行間も少し詰める */
}
.highlight-orange {
  color: #ea5504;
  font-weight: bold; /* 不要なら削除OK */
}
/* 水エフェクト用 Canvas */
#waterCanvas {
  position: absolute;
  top: -100px;
  left: -100px;
  width: calc(100% + 200px);
  height: calc(100% + 200px);
  pointer-events: auto;
}

/* 中身を前面に */
.home-message-inner,
.elce-explain-box {
  position: relative;
  z-index: 1;
}

