
/* =======================
   RESET 対応と共存スタイル
========================== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: 'maru-maru-gothic-csr-stdn', sans-serif;
  line-height: 1.6;
  background-color: #f0f4d6;
  /* background-color: #000; */
  color: #000;
}

img {
  vertical-align: middle;
  border: none;
}

button {
  all: unset;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}


/* ヘッダー共通 */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 996;
  background-color: #f0f4d6;
  transition: opacity 0.4s ease, visibility 0.5s ease;
  opacity: 1;
  visibility: visible;
  transform: translateZ(0);
  contain: paint;
}

#header.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#header.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-inner {
  /* max-width: 1200px; */
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  box-sizing: border-box;
  overflow: hidden;
}

#logo {
  display: flex;
  align-items: center;
}

#logo img {
  width: 250px;
  height: 100px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 9997;
}

/* ナビゲーション */
#gnav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}
#gnav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 16px;
}

/* 共通初期値 */
#menu-toggle,
.mobile-nav {
  display: none;
}

.wave-header {
  position: absolute;
  left: clamp(-12%, -10vw, 1%);
  top: 0;
  width: clamp(50%, 10vw + 30%, 30%);
  height: auto;
  aspect-ratio: 4 / 3;
  background: url('../img/wave-header.png') right top / contain no-repeat;
  z-index: 9991;
  pointer-events: none;
}


.main-visual {
  margin-top: 80px;
  position: relative;
  width: 100%;
  overflow: hidden;
  /* height: 100svh; */
}



.main-visual-img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

.main-visual-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: 'maru-maru-gothic-csr-stdn', sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 1;
  opacity: 0.9;
}

.main-visual-text .line1 {
  display: block;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 100px;
  white-space: nowrap;

}

.main-visual-text .line2 {
  margin-top: 200px;
  display: block;
  font-size: 1.6rem;
  font-weight: bold;
  white-space: nowrap;
}

.mv-overlay{
  position: absolute; inset: 0;
  pointer-events: none;
}

.mv-brush{
  position: absolute;
  width: min(86vw, 1200px);
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.18));
  opacity: 0.98;
}

.mv-brush-1{
  top: 36%;
  transform: translateY(-50%) rotate(-2deg);
  z-index: 2;
}

.mv-brush-2{
  top: 49%;
  transform: translateY(-50%) rotate(-1deg);
  z-index: 2;
}

.mv-catch{
  position: relative;
  width:100%;
  height:100%;
}

.mv-catch .line1,
.mv-catch .line2{
  position: absolute;
  display: inline-block;
  white-space: nowrap;
  padding: clamp(6px, 1.0vw, 12px) clamp(16px, 2.0vw, 26px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  color:#222;
  text-shadow: 0 1px 0 rgba(255,255,255,.9), 0 2px 12px rgba(0,0,0,.18);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.18));
}

/* PC ～（基準配置：添付の見え方） */
@media (min-width: 1025px){
  .mv-catch .line1{
    background-image:url("../img/mv-brush-1.png");
    width: clamp(250px, 21vw, 450px);
    font-size: clamp(30px, 2.1vw, 50px);
    top: 39%;
    left:45%;
    transform: translate(-10%,-50%) rotate(-1.6deg);
  }
  .mv-catch .line2{
    background-image:url("../img/mv-brush-2.png");
    width: clamp(375px, 27vw, 700px);   /* ← line1より長め */
    font-size: clamp(20px, 2.1vw, 50px);
    top: 45%; left: 60%;
    transform: translate(-10%,-50%) rotate(-1.0deg);
  }
}

@media (min-width: 769px) and (max-width: 1024px){
  .mv-catch .line1{
    background-image:url("../img/mv-brush-1.png");
    width: 34vw;
    font-size: 3.6vw;
    top: 38%;
    left: 45%;
    transform: translate(-12%,-50%) rotate(-1.4deg);
  }
  .mv-catch .line2{
    background-image:url("../img/mv-brush-2.png");
    width: 48vw;
    font-size: 3.6vw;
    top: 42%;
    left: 55%;
    transform: translate(-12%,-50%) rotate(-1.0deg);
  }
}

@media (max-width: 768px){
  .mv-catch .line1{
    background-image:url("../img/mv-brush-1.png");
    width: 36vw; font-size: 3.6vw;
    top: 38%; left: 45%;
    transform: translate(-14%,-50%) rotate(-1.2deg);
  }
  .mv-catch .line2{
    background-image:url("../img/mv-brush-2.png");
    width: 50vw; font-size: 3.6vw;     /* ← 1行目より長め */
    top: 42%; left: 53%;
    transform: translate(-14%,-50%) rotate(-0.8deg);
  }
}

/* ===== 既存の縦書き指定を上書きで無効化 ===== */
.main-visual-text,
.main-visual .main-visual-text {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  display: none !important;  /* 新デザインでは非表示にする */
}



/* about-section */
.about {
  position: relative;
  padding-top: 160px;
  background-color: #f0f4d6;
  text-align: center;
  z-index: 1; /* 低めに設定 */
}

/* タイトル */
.about-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  z-index: 2;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-left: auto;
}
.about .about-content h2 {
  margin-top: 100px;
  font-size: 30px;
  color: #000000;
  z-index: 2;

}
.about .about-content .line1 {
  margin-top: 60px;
  font-size: 16px;
  color: #000000;
  max-width: 21em;
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 2;

}
.about .about-content .line2 {
  margin-top: 60px;
  font-size: 16px;
  color: #000000;
  max-width: 16em;
  text-align: left;
  display: block;
  margin-left: 10em;
  margin-right: auto;
  z-index: 2;

}

.bird-video-wrapper {
  position: absolute;
  top: 5vw; /* 相対配置にすることで縮小・拡大に対応 */
  left: 5vw;
  width: 20vw;
  height: 20vw;
  max-width: 400px;
  max-height: 400px;
  min-width: 120px;
  min-height: 120px;
  z-index: 1;
  overflow: hidden;
  border-radius: 50%;
}

.about .bird-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border:none;
  background-color: #f0f4d6;
  z-index: 1;
}

.about .wave-about {
  position: absolute;
  top: clamp(0%, -10vw, -20%);
  right: clamp(0%, -5vw, 0%);
  width: clamp(150%, 20vw + 60%, 150%);
  height: auto;
  aspect-ratio: 3 / 2;
  background: url('../img/wave-about.png') center / cover repeat;
  z-index: 2;
  pointer-events: none;
  transform: rotate(clamp(-18deg, -2vw, 1deg));
}

.about .bottom-image {
  height: auto; /* 高さを自動調整 */
  aspect-ratio: 16 / 3; /* 横幅に対する高さの比率を適用 */
  background: url('../img/text-hinohara.png') center/contain no-repeat; /* 画像全体を収める */
  margin: 220px 20px 0 20px;
}
.about .slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  -webkit-overflow-scrolling: touch;
}

.about .slider {
  display: flex;
  width: calc(367px * 10); /* 画像サイズ × 画像の枚数 */
  animation: scroll-left var(--duration, 40s) linear infinite;
  will-change: transform;
  /* -webkit-backface-visibility: hidden; */
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--distance, -1000px)); }
}

.about .slider img {
  width: 367px;
  height: 244px;
  flex-shrink: 0;
  object-fit: cover;
  pointer-events: none;
  /* -webkit-transform: translateZ(0); */
}

/* --- about 情報ブロック（添付イメージ風） --- */
.about-info {
  margin-top: 200px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
 }

.about-block + .about-block {
  margin-top: 80px;
}

.about-block-title {
  font-size: 26px;
  font-weight: 700;
  color: #000;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  border-bottom: 3px solid #fff;
  border-radius: 15%;   /* 白いアンダーライン */
  padding-bottom: 6px;
}

.icon-leaf {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  /* 黄色い葉っぱ（インラインSVG） */
  background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\<path fill='%23f0c419' d='M21 3c-6 0-10 2-13 5s-5 7-5 13c6 0 10-2 13-5s5-7 5-13Z'/>\</svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.about-bullets {
  list-style: none;
  margin-left: 3em;
  padding: 0;
  font-size: 14px;
 }

.about-bullets li {
  position: relative;
  padding-left: 1.2em;
  line-height: 1.9;
  color: #000;
  margin-bottom: 5vh;
}

.about-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1d9a5a;
}

.about-bullets-ul-red {
  /* color: #f87c10; */
  color:red;
  border-radius: 15%;
  font-size: 16px;
  /* padding-bottom: 6px; */
}

.about-block-text {
  margin-left: 3em;
  color: #000;
  line-height: 1.9;
 }

.about-price {
  margin-left: 3em;
  color: #000;
  line-height: 1.9;
 }

.price-amount {
  font-weight: 700;
}

.about-note {
  font-size: 14px;
  color: #666;
  margin-left: 3em;
  margin-top: 1em;
  margin-bottom: 1em;
}

.about-accomodations-link {
  color: #f87c10;
  border-bottom: 3px solid #93b76e;
  border-radius: 15%;   /* 白いアンダーライン */
  padding-bottom: 3px;
}

/* モバイル補正：既存 .about-content のレイアウトに追随 */
@media (max-width: 768px) {
  .about-block + .about-block {
    margin-top: 30px;
  }
  .about-info {
    max-width: 90%;
  }
  .about-block-title {
    font-size: 16px;
  }
}






/* Equipment-Section */
.equipment-section {
  position: relative;
  padding: 160px 0;
  text-align: right;
  background-color: #ffffff;
}

.equipment-flower-exterior {
  position: absolute;
  top: -20px;
  left: 0;
  width: 45%;
  max-width: 800px;
  /* z-index: 1; */
}

.equipment-flower-living {
  position: absolute;
  top: 13%;
  right: -2%;
  width: 40%;
  height: auto;
  max-width: 800px;
  z-index: 1;
  pointer-events: none;
}

.equipment-flower-room1 {
  position: absolute;
  top: 43%;
  left: 0%;
  width: 40%;
  height: auto;
  max-width: 800px;
  z-index: 1;
  pointer-events: none;
}

.equipment-flower-room2_3 {
  position: absolute;
  top: 55%;
  right: 0%;
  width: 40%;
  height: auto;
  max-width: 800px;
  z-index: 1;
  pointer-events: none;
}

.equipment-flower-kitchen {
  position: absolute;
  top: 66%;
  left: 0%;
  width: 40%;
  height: auto;
  max-width: 800px;
  z-index: 1;
  pointer-events: none;
}

.equipment-flower-bath {
  position: absolute;
  top: 79%;
  right: 0%;
  width: 40%;
  height: auto;
  max-width: 800px;
  z-index: 1;
  pointer-events: none;
}

.equipment-flower-devide {
  display: none;
}

/* タイトル */
.equipment-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
}
.equipment-subtitle {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
}

/* 元の layout を守るために swiper に横並びのflexなどを適用しない */
.equipment-item-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 150px;
  min-height: auto;
}

/* .equipment-item-container.odd .equipment-text,
.equipment-item-container.even .equipment-text {
  margin-top: -200px;
} */

.equipment-images-mobile {
  display: none !important;
}

.equipment-swiper {
  width: 100%;
  height: auto;
}

.equipment-images-pc {
  display: flex;
  flex-direction: column;
}
.equipment-item-container.odd {
  flex-direction: row;
  text-align: left;
}
/* 偶数番目 (2, 4, 6...) のセクション → 画像を左側に配置 */
.equipment-item-container.even {
  flex-direction: row-reverse;
}

/* テキストの調整 */
.equipment-text {
  width: 40%; /* 画像と同じ幅に */
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.equipment-category {
  font-style: italic;
  color: #91936a;
  opacity: 0.4;
  font-weight: bold;
  white-space: nowrap;
  width: 100%;
  display: block;
  text-align: center;
  font-size: clamp(90px, 8vw, 110px);
  padding:2%;
  /* margin: 0 auto; */
}

.equipment-category.exterior-title {
  font-size: 100px;
  margin-top: -30px;
}
.equipment-description {
  font-size: 16px;
  color: #000000;
  width: 22em;
  align-self: center; /* 説明文を中央に配置 */
  text-align: left;
}
.for-mobile {
  display: none;
}
.equipment-item-container.odd .equipment-description {
  margin-left: 150px;
  text-align: left;
}
.equipment-item-container.even .equipment-description {
  margin-right: 150px;
}

/* 画像の調整 */
.equipment-images {
  width: 50%; /* 各要素の幅を半分に */
  max-width: 815px; /* 画像サイズを統一 */

  /* aspect-ratio: 815 / 544; */
  aspect-ratio: auto;
  height: auto;

  border-radius: 20px;
  display: block;
}
.equipment-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: 20px;
}

.thumbnail-container {
  display: flex;
  justify-content: space-evenly;
}

.thumbnail {
  flex: 1;
  max-width: 30%;
  aspect-ratio: 1.5; /* 画像の比率を固定化（例：3:2） */
  /* height: auto; */
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s;
  margin: 15px 10px 0 0;
}



.equipment-description.for-mobile {
  display: block;
  margin: 0 auto;
  font-size: 14px;
  color: #333;
  text-align: center;
}

/* モーダルスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

/* モーダル内Swiperの配置 */
.swiper-modal {
  width: 80vw;
  max-width: 900px;
  height: auto;
  position: relative;
  background: none;
}

#image-modal .swiper-slide img[data-section="houselayout"] {
    min-width: 100vw;  /* 通常95vwより広げる */
    min-height: 170vh; /* 通常90vhより高くする */
}
#image-modal-mobile .swiper-slide img[data-section="houselayout"] {
  min-width: 260vw;  /* 通常95vwより広げる */
  min-height: 90vh; /* 通常90vhより高くする */
}
/* ハウスレイアウト用：コンテナを広げてクリップを解除 */
#image-modal.zoom-houselayout .swiper-modal,
#image-modal-mobile.zoom-houselayout .swiper-modal-mobile{
  width: 98vw;
  max-width: none;
  /* overflow: visible !important; */
}

.zoom-houselayout .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  /* ここでは overflow: hidden; にして、実スクロールは子で行う */
  overflow: hidden;
}

.hl-pan-viewport {
  /* 画面基準のビューポート */
  width: 98vw;
  max-height: 92vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  /* スクロールジェスチャを優先 */
  touch-action: pan-x pan-y;
  cursor: grab;
  border-radius: 10px; /* 既存の見た目に馴染ませる */
}

.hl-pan-viewport:active {
  cursor: grabbing;
}

.hl-pan-content {
  /* 画像の実寸より大きいキャンバス */
  min-width: 140vw;     /* 初期拡大率（お好みで 140〜200） */
  min-height: 110vh;
}

.hl-pan-content > img {
  display: block;
  max-width: none;      /* ← これが重要：レイアウトを拡張可能に */
  width: 140vw;         /* 初期拡大。必要に応じて 160vw 等に */
  height: auto;
  object-fit: contain !important;
  border-radius: 10px;
}

.hl-pan-viewport.normal-size {
  width: 90vw;
  max-height: 88vh;
}
.hl-pan-viewport.normal-size .hl-pan-content {
  min-width: auto;
  min-height: auto;
}
.hl-pan-viewport.normal-size .hl-pan-content > img {
  width: auto;
  max-width: 95vw;
  max-height: 90vh;
}

/* 既存の is-zoomed は無効化（transform拡大は使わない） */
#image-modal.zoom-houselayout .swiper-slide img.is-zoomed,
#image-modal-mobile.zoom-houselayout .swiper-slide img.is-zoomed{
  /* transform は使わない */
  transform: none !important;
}
















/* スライド側も念のため可視に */
#image-modal.zoom-houselayout .swiper-wrapper,
#image-modal.zoom-houselayout .swiper-slide,
#image-modal-mobile.zoom-houselayout .swiper-wrapper,
#image-modal-mobile.zoom-houselayout .swiper-slide{
  overflow: visible !important;
}

/* 画像はトリミングせずに拡大表示 */
#image-modal.zoom-houselayout .swiper-slide img,
#image-modal-mobile.zoom-houselayout .swiper-slide img{
  object-fit: contain !important;
  aspect-ratio: auto !important;
}

/* 初期ズームを強める（ハウスレイアウトのみ） */
#image-modal.zoom-houselayout .swiper-slide img.is-zoomed,
#image-modal-mobile.zoom-houselayout .swiper-slide img.is-zoomed{
  transform: scale(2.0);   /* お好みで 1.6〜2.0 程度に調整 */
  overflow: auto;
  transform-origin: center center;
  transition: transform 0.3s ease;
}

/* スライド画像 */
.swiper-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 815 / 544;
  object-fit: cover;
  border-radius: 10px;
}

/* 閉じるボタン */
.close-button {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 2000;
}

/* ナビゲーション矢印（見やすく調整） */
.swiper-button-next,
.swiper-button-prev {
  color: white;
  z-index: 1500;
}


/* --- House layout block --- */
.house-layout {
  position: relative;
  margin: clamp(28px, 6vw, 72px) 0;
  min-height: 1px;
  display: flow-root;
  isolation: isolate;
  background-color:#fff;
  width: 100%;
  /* margin-top: 320px; */
  /* overflow: hidden; */
}

.house-layout > * {
  flex-shrink: 0;
}


/* 背景（波柄） */
.house-layout .hl-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.house-layout .hl-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像の縦横比を保ったまま全面に敷く */
  opacity: 0.9;      /* 背景として少しトーンダウン（任意） */
  display: block;
}

/* 本文ラッパー */
.house-layout .hl-content {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 92vw);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) clamp(12px, 3vw, 24px);
}

/* タイトル画像 */
.house-layout .hl-title {
  display: block;
  margin: 0 auto clamp(16px, 3vw, 28px);
  width: min(520px, 70%);
  height: auto;
}

/* キャンバス（小見出しとフロアマップを重ねる） */
.house-layout .hl-canvas {
  position: relative;
  width: 100%;
  margin: 0 auto;
  /* マップ画像の最大幅を抑える */
  max-width: 1050px;

}

/* マップ画像本体（拡大可能） */
.house-layout .hl-map {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in; /* 既存モーダルの示唆 */
  backface-visibility: hidden;
  aspect-ratio: unset;
  margin-top: 80px;
}

/* 1F/2F 小見出し（画像）をマップ上にオーバーレイ配置 */
.house-layout .hl-label {
  position: absolute;
  top: -10%;
  width: min(180px, 28%);
  height: auto;
  user-select: none;
  pointer-events: none;  /* ラベルはクリック無効（下のマップを拡大クリックできる） */
}

.house-layout .hl-label-left  { left: 20%;  transform: translateY(-30%); }
.house-layout .hl-label-right { right: 20%; transform: translateY(-30%); }

/* 備考 */
.house-layout .hl-note {
  position: absolute;
  right: 100px;
  bottom: 0;
  font-size: 0.85rem;
  opacity: 0.85;
  background: rgba(255,255,255,0.6);
  padding: 2px 6px;
  border-radius: 4px;
}



/* モバイル調整 */
@media (max-width: 768px) {
  /* .house-layout {
    position: relative;
    margin-top: 320px;
    overflow: hidden;
  } */

  body.ios-safari .equipment-item-container {
   margin-bottom: 270px;
  }

  body.ios-safari .house-layout {
    display: flow-root;
    min-height: 300px;
    overflow: visible;
  }

  .house-layout img {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .house-layout .hl-title { width: 80%; }
  .house-layout .hl-label { width: 34%; top: -35px; transform: translateY(-40%); }
  .house-layout .hl-label-left  { left: 4%; }
  .house-layout .hl-label-right { right: 4%; }
  .house-layout .hl-note {
    position: absolute;
    right: 0;
    bottom: -30px;
    font-size: 10px;
    opacity: 0.85;
    background: rgba(255,255,255,0.6);
    padding: 2px 6px;
    border-radius: 4px;
  }
  .equipment-item-container.even[data-section="livingroom"] {
  margin-top: 100px !important;
  }
}


.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.equipment-category.equipment-title-exterior {
  font-style: italic;
  /* text-align: right; */
  margin-left: auto;
  margin-right: 0;
  width: 98%;
  padding-right: 2%;
  overflow: visible;
  width: 100%;
  font-size:clamp(90px, 7vw, 110px);;
}

.equipment-category.equipment-title-livingroom {
  letter-spacing: -0.06em;
  width: 100%;
  font-size:clamp(90px, 7vw, 110px);;
  /* margin-bottom: 50px; */
}

.equipment-category.equipment-title-room2-3 {
  letter-spacing: -0.06em;
}

.equipment-category.equipment-title-bathroom {
  letter-spacing: -0.06em;
}

.livingroom-decoration {
  position: absolute;
  transform: rotate( -10deg );
  right: 0;
  top: 900px;
  width: 45%;
  height: 10%;
  z-index: 0;
}
.equipment-information {
  display: flex;
  justify-content: center; /* 横方向の中央配置 */
  align-items: center; /* 縦方向の中央配置 */
  margin: 50px 0; /* 上下に余白を追加 */
  width: 100%; /* セクション全体の横幅を確保 */
}
.equipment-divider {
  width: 100%; /* 画面幅の80%で表示 */
  max-width: 1082px; /* 画像の実サイズを超えないように制限 */
  height: auto; /* アスペクト比を保持 */
}
/* 備品＆チェックインエリア */
.equipment-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 40px auto;
  padding: 20px;
  max-width: 1082px;
  width: 80%;
  gap: 50px; /* 各エリアの間隔 */
}

/* 各エリアのスタイル */
.equipment-information-item {
  width: 100%; /* 各エリアの幅 */
  text-align: left;
}

/* タイトル */
.equipment-information-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* 説明テキスト */
.equipment-information-text {
  font-size: 14px;
  margin-left: 30px;
}

.equipment-flower-info {
  display: block;
  position: absolute;
  bottom: 0%;
  right: 0%;
  width: 80%;
  max-width: 700px;
  z-index: 0;
  pointer-events: none;
}

.equipment-full-image.is-background {
  width: 100vw;
  height: 100vh;
  background-image: url('../img/神戸岩.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.full-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}


/* // Equipment-Section */


/* sightseeing-section */
.sightseeing-section {
  background-color: #f0f4d6;
  text-align: center;
  padding: 160px 20px 20px 20px;
  overflow: hidden;
  position: relative;
}

.wave-sight {
  position:absolute;
  left: 0;
  top: 0;
  background-image: url('../img/wave-sight.png');
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* タイトル */
.sightseeing-title {
  font-size: 36px;
  font-weight: bold;
  color: #000;
  margin-top: 20px;
  margin-bottom: 20px;
  z-index: 5;
}

/* 説明文 */
.sightseeing-description {
font-size: 18px;
line-height: 1;
color: #333;
max-width: 800px;
margin: 0 auto;
text-align: left;
white-space: pre-line;
width: 36vw;
}

/* 周辺散策カルーセル */

.carousel-wrapper {
  margin: 80px 0;
  overflow: hidden;
  position: relative;
  padding-bottom: 40px;
}

.carousel-container {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 40px;
  padding: 0 20px;
  scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 40px;
  width: max-content;
}

.carousel-item {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: start;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 30px;
  }
  /* .carousel-item img:hover {
    transform: scale(1.05) !important;
    filter: brightness(1.1) !important;
    transition: transform 0.3s ease !important;
    opacity: 0.8 !important;
    cursor: pointer !important;
  } */


.carousel-scroll-wrapper {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.carousel-scrollbar {
  width: 80%;
  height: 4px;
  background-color: #b3a791;
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}

.carousel-title {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  text-align: left;
  margin: 10px 0 0;
}

.carousel-description {
  font-size: 14px;
  color: #666;
  margin-left: 10px;
  text-align: left;
  line-height: 1.6;
  max-width: 20em;
  box-sizing: border-box;
  white-space: pre-line;
}


/* スクロール時の現在位置表示 */
.scroll-thumb {
  height: 100%;
  background-color: #fff;
  width: 0%;
  transition: width 0.3s;
  border-radius: 3px;
}

.swipe-indicator-wrapper {
  position: absolute;
  top: 25px; /* スクロールバーより少し上 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.swipe-indicator {
  width: 100px;
  height: auto;
  display: block;
}



/* access-section */
.access-section {
  background-color: #f8f6ef;
  text-align: center;
  position: relative;
  padding: 160px 20px 20px 20px;
  overflow: hidden;
}

.access-title {
  font-size: 24px;
  color: #000;
}

.access-map-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.map-container.single-map {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.map-container.single-map .map-full {
  width: 100%;
  height: auto;
  display: block;
}

.address-overlay {
  position: absolute;
  bottom: 600px;
  right: 240px;
  padding: 10px 15px;
  border-radius: 10px;
  text-align: left;
  font-size: 14px;
  color: #333;
  z-index: 1;
}


.address-overlay p {
  margin: 5px 0;
}

.address-overlay .map-button {
  display: inline-block;
  margin-top: 10px;
  background-color: #ccd89d;
  padding: 20px 20px;
  border-radius: 40px;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  color: #000;
}

.address-overlay .map-button .arrow {
  margin-left: 80px;
}

.access-methods {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: -20px;
  margin-bottom: 60px;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.method-box {
  max-width: 36vw;
  text-align: left;
}

.method-box h3 {
  position: relative;
  padding-bottom: 10px; /* 下に少し余白 */
  margin-bottom: 15px;  /* h3とpの間に余白を確保 */
  font-size: 18px;
  font-weight: bold;
}

/* h3の下に横線をつける */
.method-box h3::after {
  content: '';
  display: block;
  width: 14vw; /* 線の長さ（お好みで調整可能） */
  height: 2px; /* 線の太さ */
  background-color: #ccd89d; /* 線の色（マップボタンと揃えても◎） */
  margin-top: 10px;
}

.method-box p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.access-divider {
  width: calc(100% - 40px);
  margin: 120px auto 0;
  height: 4px;
  background-color: #ccd89d;
  border-radius: 2px;
}


.access-contact {
  margin-top: 100px;
  padding: 20px;
  font-size: 14px;
  color: #666;
  text-align: right;
}

.contact-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 15px;
  margin-right: 24%;
}

.contact-info {
  display: flex;
  justify-content: right;
  gap: 40px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.contact-info .tel,
.contact-info .mail {
  font-size: 14px;
}

.contact-text {
  text-align: right;
  font-size: 12px;
  margin-top: 10px;
  color: #333;
}

.wave-sight {
  position:absolute;
  left: 0;
  top: 0;
  background-image: url('../img/wave-sight.png');
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.forest-bg-left,
.forest-bg-right {
  position: absolute;
  width: 423px;
  height: 800px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.forest-bg-left {
  left: 0;
  bottom: 11%;
  background-image: url('../img/forest-left.png'); /* 左森画像 */
  background-repeat: no-repeat;
}

.forest-bg-right {
  right: -8%;
  bottom: 23.5%;
  background-image: url('../img/forest-right.png'); /* 右森画像 */
  background-repeat: no-repeat;
}

/* footer section */
.footer {
  position: relative;
  padding-top: 300px;
  background-color: #f0f4d6;
}


.wave-footer {
  position:absolute;
  right: 0%;
  top: 0%;
  background-image: url('../img/wave-footer.png');
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.footer-divider {
  width: calc(100% - 40px);
  /* margin: 400px auto 0; */
  height: 4px;
  background-color: #fff;
  border-radius: 2px;
}

.footer-hinohara {
  position: relative;  /* ← これを追加！ */
  z-index: 2;          /* ← wave-footer より前面に */
  height: auto; /* 高さを自動調整 */
  aspect-ratio: 16 / 3; /* 横幅に対する高さの比率を適用 */
  background: url('../img/text-hinohara.png') center/contain no-repeat; /* 画像全体を収める */
  margin: 50px 20px 0 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  position: relative;
  z-index: 3; /* wave-footerの下に埋もれないように */
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}


.footer .copyright {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin-top: 20px;
  padding-bottom: 10px;
}

.reserve-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 120px;
  height: 120px;
  background-color: #e1eb1f;
  border-radius: 50%;
  /* border: solid 1px #393a26; */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  transition: background-color 0.5s ease, transform 0.5s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  will-change: transform;
}

.reserve-button::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #393a26;
  border-radius: 50%;
  border: solid 10px #e1eb1f;
  transform: scale(0);
  opacity: 0.8;
  pointer-events: none;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
  z-index: 1;
}

/* マウスホバー時：波紋拡大 → 背景塗り替え */
.reserve-button:hover::before {
  transform: scale(11.5);
  background-color: #393a26;
  border: solid 10px #e1eb1f;
  opacity: 1;
}

.reserve-button .reserve-img {
  width: 100%;
  height: auto;
  z-index: 2;
  transition: content 0.1s;
}

.reserve-button:hover .reserve-img {
  content: url("../img/logo-reserve-02.png");
  margin-top: 7px;
}



/* メディアクエリ */

@media (min-width: 1025px) {
  .bird-video-wrapper {
    width: 300px;       /* 幅をやや縮小 */
    height: 300px;      /* 高さも縮小 */
    top: 60px;          /* タイトルと重ならないように位置を下げる */
    left: 3%;
  }

  .about-title {
    position: relative;
    z-index: 3;         /* 必要に応じて前面に */
  }
  .equipment-description.for-mobile {
    display: none !important;
  }
  #image-modal-mobile {
    display: none !important;
  }
}

/* PCワイド対応：1440px以上 */
@media (min-width: 1440px) {
  .header-inner {
    /* max-width: 1920px; */
    padding: 20px 40px;
    margin-right: 30px;
    margin-left: 30px;
    justify-content: space-between;
  }

  #logo img {
    width: 280px;
    height: auto;
  }

  #gnav a {
    font-size: 18px;
  }

  .main-visual p {
    font-size: 36px;
  }
}

/* タブレット横〜ノートPC */
@media (max-width: 1024px) {
  #logo img {
    width: 200px;
    height: auto;
  }

  .header-inner {
    height: 70px;
    padding: 15px 30px;
  }

  .main-visual p {
    font-size: 28px;
  }

  #gnav a {
    font-size: 16px;
  }
  /* equipment-section */
  .equipment-category {
    /* writing-mode: vertical-rl; */
    /* text-orientation: upright; */
    white-space: nowrap;
    font-size: 22px;
    line-height: 1.5;
    margin: 0 auto;
    text-align: center;
  }
  .equipment-item-container {
    display: flex !important;
    /* flex-direction: row; */
    flex-direction: column;
    align-items: center;
    /* align-items: flex-start; */
    justify-content: flex-start;
    gap: 16px;
    padding: 20px;
    /* flex-wrap: nowrap; */
  }
  .equipment-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    flex-shrink: 0;
  }

  .equipment-category {
    /* writing-mode: vertical-rl; */
    /* text-orientation: upright; */
    font-size: 60px;
    white-space: nowrap;
    text-align: center;
  }

  .equipment-description.for-pc {
    display: none;
  }

  .equipment-description {
    width: auto;
    max-width: 90%;
    margin: 0 auto;
    font-size: 16px;
    text-align: center;
  }
  .equipment-item-container.odd .equipment-description {
    margin: 0 auto;
    text-align: left;
    width: 51vw;
    /* font-size: 3.3333vw; */
    font-weight: 500;
  }
  .equipment-item-container.even .equipment-description {
    margin: 0 auto;
    text-align: left;
    width: 51vw;
    /* font-size: 3.3333vw; */
    font-weight: 500;
  }
  .equipment-images {
    flex: 1;
    max-width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .equipment-image {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    /* will-change: transform; */
  }
  .thumbnail-container {
    margin-top: 10px;
    width: 100%;
    overflow-x: auto;
    display: flex;
    gap: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .thumbnail {
    flex: 0 0 auto;
    width: 30%;
    border-radius: 8px;
    scroll-snap-align: start;
    object-fit: cover;
  }
  /* /equipment-section */

}



/* モバイルメニューの初期状態 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #979972;
  z-index: 2000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 20px;
}

.mobile-menu.active {
  display: flex;
}

/* メニューリスト */
.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu-list li {
  margin: 20px 0;
  font-size: 18px;
  color: #fefefe;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.mobile-menu-list img {
  width: 40px;
  height: 40px;
}

.mobile-menu-list a {
  color: #fefefe;
  text-decoration: none;
  font-size: 18px;
  display: inline-block;
}

.mobile-reserve-btn {
  margin-right: 20px;
  font-size: 18px;

}

.mobile-reserve-btn img {
  width: 180px;
  height: auto;

}

.mobile-close-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-right: 10px;
}

.mobile-close-btn img {
  width: 100%;
  height: 30px;
}


/* 閉じるボタン */
.menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 32px;
  font-weight: bold;
  color: #fefefe;
  cursor: pointer;
}

/* --- 📱 1024px以下：タブレット向け --- */
@media screen and (max-width: 1024px) {
  body.mobile-nav-open #logo,
  body.mobile-nav-open .reserve-button {
    display: none !important;
  }

  body.mobile-nav-open {
    overflow: hidden;
    height: 110vh;
    /* position: fixed; */
    width: 100%;
  }

  #menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute; /* ← fixedから変更 */
    right: 20px;
    top: 50%;
    transform: translateY(-50%); /* ← 上下中央にする */
    z-index: 10000;
    background-color: transparent;
  }

  .menu-line {
    width: 95px;
    height: 3px;
    background-color: #979972;
  }

  .menu-text {
    font-family: "Petit Formal Script", cursive;
    font-size: 30px;
    color: #000;
    margin: -5px;
    font-weight: 200;
    line-height: 1.1;
    transition: opacity 0.3s ease;
  }

  .menu-line.top {
    margin-bottom: 5px;
  }

  .menu-line.bottom {
    margin-top: 5px;
  }

  .mobile-nav {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    position: fixed;
    inset: 0;
    background-color: rgba(151, 153, 114, 0.95);
    z-index: 12010;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
  }

  .mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-nav li {
    margin: 40px 0;
  }

  .mobile-nav a {
    font-size: 18px;
    color: #fefefe;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* gap: 20px; */
  }

  .mobile-nav a img {
    width: 40px;
    height: 40px;
    margin-right: 5px;
  }

  .mobile-nav.show {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-header {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
  }



  #logo img {
    content: url('../img/mb-header-logo.png');
    width: 100px;
    height: auto;
  }

  #gnav {
    display: none;
  }

  #menu-btn {
    display: block;
  }

  .header-inner {
    height: 70px;
    align-items: center;
  }

.wave-header {
  position: absolute;
  left: clamp(-12%, -10vw, 1%);
  top: 0;
  width: clamp(70%, 10vw + 30%, 30%);
  height: auto;
  aspect-ratio: 4 / 3;
  background: url('../img/wave-header.png') right top / contain no-repeat;
  z-index: 9991;
  pointer-events: none;
}

  .main-visual {
    margin-top: 60px;
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 100vh;
  }

  .main-visual-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
  }

  .main-visual-text {
    writing-mode: vertical-rl;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
    opacity: 0.9;
    /* will-change: transform; */
  }

  .main-visual-text .line1 {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 150px;
    line-height: 1.4;
    white-space: nowrap;
  }

  .main-visual-text .line2 {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    margin-top: 120px;
    white-space: nowrap;
  }

  .about {
    display: block;
    padding-top: 80px;
    position: relative;
  }


  .about .wave-about {
    position: absolute;
    right: -29%;
    top: -29%;
    width: 150%;
    height: 100%;
    background: url(../img/wave-about.png) center / cover no-repeat;
    z-index: 2;
    pointer-events: none;
    transform: rotate(-18deg);
}

.about .bottom-image {
  height: auto;
  aspect-ratio: 16 / 3;
  background: url(../img/text-hinohara.png) center / contain no-repeat;
  margin-top: 180px;
}

  .carousel-item {
    min-width: 250px;
    max-width: 250px;
  }


  .equipment-item-container .equipment-text {
    margin-top: 0 !important;
  }

  .equipment-title,.equipment-subtitle {
    z-index: 2;
  }

  .equipment-category .equipment-title-livingroom {
    letter-spacing: -0.15em; /* ← お好みで微調整 (-0.02em ～ -0.1em など) */
  }

  .equipment-flower-exterior {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 800px;
    z-index: 0;
  }

  .equipment-flower-living {
    position: absolute;
    top: 24%;
    right: 0;
    width: 80%;
    height: auto;
    max-width: 800px;
    z-index: 0;
    pointer-events: none;
  }

  .equipment-flower-room1 {
    display: block;
    position: absolute;
    top: 39%;
    left: 0;
    width: 80%;
    max-width: 800px;
    z-index: 0;
  }

  .equipment-flower-room2_3 {
    display: block;
    position: absolute;
    top: 52%;
    right: 0;
    width: 80%;
    max-width: 800px;
    z-index: 0;
  }

  .equipment-flower-kitchen {
    display: block;
    position: absolute;
    top: 64%;
    left: 0;
    width: 80%;
    max-width: 800px;
    z-index: 0;
  }

  .equipment-flower-bath {
    display: block;
    position: absolute;
    top: 76%;
    right: 0;
    width: 80%;
    height: auto;
    max-width: 800px;
    z-index: 0;
    pointer-events: none;
  }

  .equipment-flower-devide {
    display: none;
    position: absolute;
    top: 75%;
    left: 0;
    width: 80%;
    max-width: 800px;
    z-index: 0;
  }

  .equipment-flower-info {
    display: block;
    position: absolute;
    top: 95%;
    right: 0;
    width: 80%;
    max-width: 800px;
    z-index: 0;
  }

  .equipment-images-pc {
    display: none !important;
  }
  .equipment-images-mobile {
    display: block !important;
  }
  .equipment-swiper .swiper-button-prev,
  .equipment-swiper .swiper-button-next {
    width: 24px;
    height: 24px;
    /* background-color: rgba(0, 0, 0, 0.3); */
    border-radius: 50%;
  }
  .equipment-swiper .swiper-button-prev::after,
  .equipment-swiper .swiper-button-next::after {
    font-size: 14px;
  }
  .equipment-swiper .swiper-pagination {
    position: relative;
    /* bottom: 0; */
    margin-top: 20px;
    text-align: center;
  }
  .equipment-swiper .swiper-pagination-bullet {
    background-color: gray;
    border: 1px solid #ccc;  /* 枠線を追加 */
    border-radius: 50%;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    opacity: 1;
  }

  /* アクティブなドット */
  .equipment-swiper .swiper-pagination-bullet-active {
    background-color: #fff;
  }
  /* .equipment-swiper .equipment-image:hover {
    transform: none !important;
    transition: none !important;
    cursor: default !important;
  } */
  /* PC画面用モーダルを非表示 */
  #image-modal {
    display: none !important;
  }
  .modal-mobile {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  /* Swiperコンテナ */
  .swiper-modal-mobile {
    width: 90%;
    max-width: 600px;
    position: relative;
    overflow: hidden;
  }

  /* Swiperスライド画像 */
  .swiper-modal-mobile .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  /* 前後ボタン（サイズ小さく） */
  .swiper-modal-mobile .swiper-button-prev,
  .swiper-modal-mobile .swiper-button-next {
    width: 14px !important;
    height: 48px !important;
    font-size: 10px !important;
    color: #fff  !important;
    border-radius: 50% !important;
    z-index: 10;
  }
  .swiper-modal-mobile .swiper-button-prev::after,
  .swiper-modal-mobile .swiper-button-next::after {
    font-size: 18px;
  }
  /* 閉じるボタン用ラッパー：画像外・右上に配置 */
  .modal-close-wrapper {
    position: absolute;
    top: 200px;
    right: 20px;
    z-index: 10000;
  }
  .close-button-mobile {
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }
  /* equipment-section-details */
  .nowrap {
    white-space: nowrap;
  }

  .equipment-full-image.is-background {
    width: 100vw;
    height: 100vh;
    background-image: url('../img/神戸岩.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
  }

  .full-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
  }

/* sightseeing-section */

  .wave-sight {
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(../img/wave-sight.png);
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index:0;
  }

  .carousel-wrapper {
    margin: 30px 0;
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
  }

  .carousel-description {
    font-size: 14px;
    color: #666;
    margin-left: 10px;
    text-align: left;
    line-height: 1.6;
    max-width: 12em; /* ← 16文字幅で折り返し */
    box-sizing: border-box;
    white-space: pre-line;
  }
  .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 30px;
    }

  .access-map-area .map-container.single-map {
    position: relative;
    width: 100%;
  }
  .map-full {
    width: 90%;
    height: auto;
    display: block;
  }
  .address-overlay {
    position: absolute;
    top: 65%;
    left: 50%;
    width: 57%;
    padding: 5px 8px;
    border-radius: 10px;
    text-align: center;
    font-size: 13px;
    color: #333;
    z-index: 2;
  }
  .address-overlay p {
    margin: 4px 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: bold;
  }
  .address-overlay .map-button {
    display: inline-block;
    margin-top: 12px;
    background-color: #ccd89d;
    padding: 5px 8px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
    color: #000;
  }
  .address-overlay .map-button .arrow {
    margin-left: 8px;
  }
  .access-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 40px;
  }

  .method-box {
    width: 80%;
    max-width: 480px;
    margin-bottom: 40px;
    text-align: left;
  }

  .method-box h3 {
    font-size: 16px;
    margin-bottom: 12px;
    text-align: center;
  }

  .method-box h3::after {
    content: '';
    display: block;
    width: 40%;
    height: 2px;
    background-color: #ccd89d;
    margin: 8px auto;
  }

  .method-box p {
    font-size: 14px;
    line-height: 1.8;
    word-break: break-word;
  }

  .footer {
    position: relative;
    padding-top: 150px;
  }

  .wave-footer {
    display: block;
    position:absolute;
    right: -4%;
    top: 5%;
    background-image: url(../img/wave-footer.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 120%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    transform: rotate(-5deg);

  }
  /* reserve-button */
  .reserve-button {
    width: 80px;
    height: 80px;
    bottom: 20px;
    right: 20px;
    will-change: transform;
  }

  .reserve-button::before {
    width: 6px;
    height: 6px;
    border: solid 6px #e1eb1f;
  }

  .reserve-button:hover::before {
    transform: none;
  }

  .reserve-button .reserve-img {
    width: 100%;
    height: auto;
  }

  .reserve-button:hover .reserve-img {
    margin-top: 5px;
  }
  /* //reserve-button */
  .wave-footer {
    display: none !important;
  }
}






/* --- 📱 768px以下：スマホ中サイズ向け --- */
@media screen and (max-width: 768px) {
  .wave-footer {
    display: none !important;
  }
  body.mobile-nav-open {
      overflow: hidden;
      height: 110vh;
      width: 100%;
  }

  body.mobile-nav-open #logo {
    display: none !important;
  }

  #logo img {
    content: url('../img/mb-header-logo.png');
    width: 120px;
    height: auto;
  }

  .header-inner {
    padding: 10px 20px;
    height: 60px;
    justify-content: space-between;
  }

  #menu-btn {
    font-size: 13px;
    padding: 5px 10px;
    display: block;
  }

  .main-visual p {
    font-size: 24px;
  }

  #gnav {
    display: none;
  }
  /* メニュー表示時（JavaScriptでclass追加前提） */
  #gnav.active {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #f0f4d6;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    z-index: 999;
  }

  #gnav.active ul {
    flex-direction: column;
    gap: 20px;
  }

  #gnav a {
    font-size: 15px;
  }

  .equipment-description {
    display: none;
  }

  .equipment-description.for-pc { display: none !important; }
  .equipment-description.for-mobile {
    display: block !important;
    margin: 12px 0 24px;
    line-height: 1.7;
  }

  .equipment-flower-exterior {
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 800px;
    z-index: 0;
  }

  .equipment-flower-living {
    position: absolute;
    top: 24%;
    right: 0;
    width: 80%;
    height: auto;
    max-width: 800px;
    z-index: 0;
    pointer-events: none;
  }

  .equipment-flower-room1 {
    display: block;
    position: absolute;
    top: 38%;
    left: 0;
    width: 80%;
    max-width: 800px;
    z-index: 0;
  }

  .equipment-flower-room2_3 {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    width: 80%;
    max-width: 800px;
    z-index: 0;
  }

  .equipment-flower-kitchen {
    display: block;
    position: absolute;
    top: 62%;
    left: 0;
    width: 80%;
    max-width: 800px;
    z-index: 0;
  }

  .equipment-flower-bath {
    display: block;
    position: absolute;
    top: 74%;
    right: 0;
    width: 80%;
    height: auto;
    max-width: 800px;
    z-index: 0;
    pointer-events: none;
  }

  .equipment-flower-devide {
    display: block;
    position: absolute;
    top: 88%;
    left: 0;
    width: 80%;
    max-width: 800px;
    z-index: 0;
  }

  .equipment-flower-info {
    display: block;
    position: absolute;
    top: 95%;
    right: 0;
    width: 80%;
    max-width: 800px;
    z-index: 0;
  }



  .thumbnail {
    width: 60px;
    height: 60px;
  }

  .modal-content {
    max-width: 90%;
    max-height: 90%;
  }

  .carousel-item {
    min-width: 220px;
    max-width: 220px;
  }

  .sightseeing-title {
    font-size: 28px;
  }

  .sightseeing-description {
    font-size: 16px;
    padding: 0 10px;
    width: 72vw;
  }

  .header-menu {
    padding: 15px;
  }

  .logo-placeholder img {
    width: 150px;
  }

  .menu-button {
    width: 50px;
    height: 50px;
  }

  .livingroom-decoration {
    width: 50%;
    top: 50px;
    opacity: 0.4;
  }

  .equipment-details {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 20px auto;
    padding: 0;
  }

  /* .equipment-item {
    width: 100%;
  } */

  .equipment-information-decoration {
    width: 80%;
  }

  .equipment-full-image.is-background {
    width: 100vw;
    height: 100vh;
    background-image: url('../img/神戸岩.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
  }

  .full-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
  }

  .address-overlay {
    bottom: 20px;
    right: 20px;
    padding: 8px 10px;
    font-size: 12px;
  }

  /* .access-methods {
    margin-top: -60px;
  } */

  /* about-section */

  .about-content {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding-left: 40%;
    box-sizing: border-box;
    text-align: left;
  }

  .about {
    padding-top: 100px;
  }

  .about-title {
    font-size: 28px;
  }

  .about .about-content h2 {
    font-size: 18px;
    margin-top: 50px;
    margin-left: -30px;
  }

  .about .about-content .line1 {
    font-size: 14px;
    margin-top: 30px;
    text-align: left;
  }

  .about .about-content .line2 {
    margin-top: 30px;
    font-size: 14px;
    text-align: left;
    margin-right: 30px;
    margin-left: -60px;
  }

  .bird-video-wrapper {
    position: absolute;
    min-width: 120px;
    min-height: 120px;
    max-width: 160px;
    max-height: 160px;
    margin-right: auto;
    margin-left: 0;
    border-radius: 50%;
    z-index: 1;
    top: 120px;
    transform: translateX(-40px);
  }

  .about .slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
    -webkit-overflow-scrolling: touch;
  }

  .about .slider {
    display: flex;
    width: max-content;
    animation: scroll-left var(--duration, 40s) linear infinite;
    will-change: transform;
    /* -webkit-backface-visibility: hidden; */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
  }


  .about .slider img {
    width: 367px;
    height: 244px;
    flex-shrink: 0;
    object-fit: cover;
    /* -webkit-transform: translateZ(0); */
  }
  /* /about-section */

  /* equipment-section */
  .equipment-section {
    padding: 160px 10px;
  }
  .equipment-item-container {
    display: flex !important;
    /* flex-direction: row; */
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    /* margin-bottom: 400px !important; */
  }

  .equipment-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: auto;
  }
  .equipment-category {
    /* writing-mode: vertical-rl; */
    /* text-orientation: upright; */
    font-size: 50px;
    /* white-space: nowrap; */
    /* line-height: 1; */
    color: #91936a;
    opacity: 0.6;
    /* margin-top: 200px; */
    text-align: center;
    /* white-space: normal; */
    width: 100%;
    }

  .equipment-description {
    font-size: 14px;
    text-align: left;
    margin-top: 5px;
    width: 100%;
    line-height: 1.6;
    padding: 0 8px;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }

  .equipment-images {
    width: 65vw;
    /* width: min(92vw, 560px); */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .equipment-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 16px;
    /* will-change: transform; */
  }

  .thumbnail-container {
    margin-top: 10px;
    width: 100%;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .thumbnail {
    flex: 0 0 auto;
    width: 30%;
    border-radius: 8px;
    object-fit: cover;
    scroll-snap-align: start;
  }
  .for-mobile {
    display: block;
    min-height: 200px;
  }
  /* /equipment-section */

  /* sightseeing-section */
  .sightseeing-section {
    padding: 160px 20px 20px 20px;

  }

  .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 30px;
    }
    /* /sightseeing-section */
  /* access-section */
  .forest-bg-left {
    left: -270px;
    bottom: 50%;
    background-image: url(../img/forest-left.png);
    background-repeat: no-repeat;
  }
  .forest-bg-right {
    right: -30%;
    bottom: 23%;
    background-image: url(../img/forest-right.png);
    background-repeat: no-repeat;
  }
  .forest-bg-left,
  .forest-bg-right {
    position: absolute;
    width: 423px;        /* スマホに合わせて縮小 */
    height: 800px;       /* 高さも調整 */
    background-size: contain;
    pointer-events: none;
  }
  .forest-bg-left,
  .forest-bg-right,
  .wave-footer {
    pointer-events: none;
    z-index: 0 !important;
  }
}

/* フェードイン対象要素（初期状態は非表示＋非表示） */
.fade-in {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 2s ease;
}
.fade-in.visible {
  opacity: 1 !important;
  visibility: visible !important;
}

#header.fade-in.visible{
  transition: opacity 3s ease, visibility 0s linear 0s !important;
}

#header.is-show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease;
}


/* /about-section */

    /* PCのみで有効にしたいhoverアクション */
@media (hover: hover) and (pointer: fine) {
  .equipment-images-pc .equipment-image:hover,
  .thumbnail:hover {
    transform: scale(1.02) !important;
    filter: brightness(1.1) !important;
    transition: filter 0.2s ease !important;
    opacity: 0.8 !important;
    cursor: pointer !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  .carousel-wrapper .carousel-container .carousel-track .carousel-item a img:hover {
    transform: scale(1.05) !important;
    filter: brightness(1.1) !important;
    opacity: 0.8 !important;
    transition: transform 0.3s ease !important;
  }
}

/* ===== iOS Safari 用 安定化パック ===== */
@supports (-webkit-touch-callout: none) {
  .equipment-item-container,
  .equipment-text,
  .equipment-images,
  .thumbnail-container,
  .carousel-container,
  .carousel-track {
    min-width: 0 !important;
    min-height: auto !important;
  }

  /* aspect-ratio が flex と噛み合わず高さ0/潰れを起こすケースを回避 */
  .equipment-images,
  .equipment-image,
  .thumbnail,
  .swiper-slide img {
    aspect-ratio: auto !important;
    height: auto !important;
  }

  /* 画像は基本「幅基準」に。親は溢れを隠してレイアウトを安定化 */
  .equipment-image,
  .thumbnail,
  .swiper-slide img {
    width: 100% !important;
    object-fit: cover !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  /* Swiper周りのはみ出し防止＆高さ計算安定化 */
  .equipment-swiper,
  .swiper-modal,
  .swiper-modal-mobile {
    overflow: hidden !important;
  }
  .equipment-swiper .swiper-wrapper {
    align-items: stretch !important;
  }
  .equipment-swiper .swiper-slide {
    width: 100% !important;
    height: auto !important;
  }

  /* GPUヒントの付け過ぎは逆効果になることがあるので抑制 */
  .equipment-image { will-change: auto !important; }

  /* スクロールスナップの滑らかさ（すでに指定ありの場合は冪等） */
  .thumbnail-container,
  .carousel-container {
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
  }

  /* モーダル画像は iOS でも "contain" で最大化（map 拡大も維持） */
  #image-modal .swiper-slide img,
  #image-modal-mobile .swiper-slide img {
    transition: transform .25s ease;
    transform-origin: center center;
    cursor: zoom-in;
    /* object-fit: contain !important; */
    /* max-width: 95vw !important; */
    /* max-height: 90vh !important; */
  }

/* 開いた瞬間に拡大して見せる（初期ズーム） */
#image-modal .swiper-slide img.is-zoomed,
#image-modal-mobile .swiper-slide img.is-zoomed {
  transform: scale(1.1);   /* 好みで 1.2〜1.6 に調整OK */
  cursor: zoom-out;
}

  #image-modal .swiper-slide img[data-section="houselayout"],
  #image-modal-mobile .swiper-slide img[data-section="houselayout"] {
    object-fit: contain !important;
    max-width: 200vw;
    max-height: 200vh;
  }
}


/* ===== iOS Safari 安定化セット ===== */
@supports (-webkit-touch-callout: none) {
  .equipment-images,
  .equipment-image,
  .thumbnail,
  .swiper-slide img {
    aspect-ratio: auto !important;
    height: auto !important;
  }


  .equipment-image,
  .thumbnail,
  .swiper-slide img {
    width: 100% !important;
    object-fit: cover !important;
    backface-visibility: hidden;
    /* -webkit-backface-visibility: hidden; */
  }


  .equipment-swiper,
  .swiper-modal,
  .swiper-modal-mobile { overflow: hidden !important; }

  .equipment-swiper .swiper-wrapper { align-items: stretch !important; }
  .equipment-swiper .swiper-slide   { width: 100% !important; height: auto !important; }


  #image-modal .swiper-slide img,
  #image-modal-mobile .swiper-slide img {
    object-fit: contain !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
  }
  #image-modal .swiper-slide img[data-section="houselayout"],
  #image-modal-mobile .swiper-slide img[data-section="houselayout"] {
    max-width: 200vw !important;
    max-height: 200vh !important;
  }
}


.equipment-swiper .swiper-wrapper {
  will-change: transform;
  transform: translate3d(0,0,0);
  /* -webkit-transform: translate3d(0,0,0); */
}

.equipment-swiper .swiper-slide {
  width: 100%;
  height: auto;
}

.equipment-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  backface-visibility: hidden;
  /* -webkit-backface-visibility: hidden; */
}

/* スワイプ操作を縦パン優先（横はSwiperが掴む） */
.equipment-swiper,
.equipment-swiper * {
  touch-action: pan-y;
}

/* （任意）モバイルで親flexの潰れ防止 */
@supports (-webkit-touch-callout: none) {
  .equipment-item-container,
  .equipment-images { min-width: 0; min-height: 0; }
}

  .equipment-description.for-mobile::after {
    content: "";
    display: block;
    height: 1px;
  }


/* Swiper内では aspect-ratio を無効化して高さを自然計算に */
.equipment-swiper,
.equipment-swiper .swiper-wrapper,
.equipment-swiper .swiper-slide { height: auto; }

.equipment-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: auto !important;
  backface-visibility: hidden;
  /* -webkit-backface-visibility: hidden; */
}

/* ラッパの描画最適化（iOS再描画促進） */
.equipment-swiper .swiper-wrapper {
  will-change: transform;
  transform: translate3d(0,0,0);
  /* -webkit-transform: translate3d(0,0,0); */
}

/* iOS Safari 専用: equipment-images の幅崩れを防ぐ */
.ios-safari .equipment-images {
  flex-wrap: wrap;         /* 横並びで崩れる場合 */
  align-items: stretch;
  max-width: 100%;
  box-sizing: border-box;
}



body.ios-safari .equipment-swiper,
body.ios-safari .equipment-images,
body.ios-safari .equipment-images-mobile {
  min-height: 1px !important;
  box-sizing: border-box;
  margin-bottom: 40px;
}

@supports (-webkit-touch-callout: none) {
  .equipment-images {
    aspect-ratio: auto !important;
    height: auto !important;
  }
  .equipment-images-mobile { overflow: visible !important; }
}

@media (max-width: 768px){
  /* すでに書いてあるものと重複OK。displayはこれで最終決定させる */
  .equipment-description.for-pc { display: none !important; }
  .equipment-description.for-mobile {
    display: block !important;
    margin: 12px 0 28px;
    line-height: 1.7;
  }

  /* .odd/.even と同じ強さのセレクタで上書き */
  .equipment-item-container.odd .equipment-text,
  .equipment-item-container.even .equipment-text {
    margin-top: 0 !important;
  }

  /* セクション間の余白（好みで増減してください） */
  .equipment-item-container {
    margin-bottom: 2% !important;
    margin-top: 14% !important;
  }
}



@media (min-width: 1025px){

  /* odd：左カラムの見出しを右（中央側）へ寄せる */
  .equipment-item-container.odd .equipment-category.equipment-title-exterior,
  .equipment-item-container.odd .equipment-category.exterior-title, /* 既存命名対応 */
  .equipment-item-container.odd .equipment-category.equipment-title-bedroom-1,
  .equipment-item-container.odd .equipment-category.equipment-title-kitchen {
    margin-left: auto;
    align-self: flex-end;
    text-align: right;
  }
  /* even：右カラムの見出しを左（中央側）へ寄せる */
  .equipment-item-container.even .equipment-category.equipment-title-livingroom,
  .equipment-item-container.even .equipment-category.equipment-title-room2-3,
  .equipment-item-container.even .equipment-category.equipment-title-bathroom {
    margin-right: auto;
    align-self: flex-start;
    text-align: left;
  }
}

/* ===== タブレット＆スマホ：タイトル → 画像 → 説明 の順にする ===== */
@media (max-width: 1024px) {

  /* 親を縦積み（すでに column 指定ありでも冪等） */
  .equipment-item-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start;
    flex-wrap: nowrap;               /* 順序が崩れないよう一応固定 */
    gap: 16px;
  }

  /* .equipment-text の殻を外して子要素（タイトル/説明）を親の直下扱いに */
  .equipment-text {
    display: contents;               /* ← これがポイント */
  }

  /* 並び順：タイトル(1) → 画像(2) → 説明(3) */
  .equipment-category { order: 1; }  /* タイトル */
  .equipment-images,
  .equipment-images-mobile,
  .equipment-swiper { order: 2; }    /* 画像ブロック（PC/MBどちらも拾う） */
  .equipment-description,
  .equipment-description.for-mobile { order: 3; }  /* 説明 */

  /* モバイル時の余白・幅をリセット／整える */
  .equipment-item-container.odd .equipment-description,
  .equipment-item-container.even .equipment-description {
    margin: 0 !important;
    width: min(92vw, 560px);
    text-align: left;
  }
  .equipment-images {
    width: min(92vw, 560px);         /* 画像は画面幅にフィット */
    max-width: 100%;
  }
  .thumbnail-container { justify-content: center; }
}

/* スマホ向け微調整（必要なら） */
@media (max-width: 768px) {
  .equipment-category {
    font-size: clamp(36px, 10vw, 56px);
    text-align: center;
    margin: 6px 0 4px;
  }
  .access-section {
  background-color: #f8f6ef;
  text-align: center;
  position: relative;
  padding: 160px 20px 60px 20px;
  overflow: hidden;
  }
  .equipment-description.for-mobile {
    display: block !important;
    width: min(94vw, 560px) !important;
    margin: 8px auto 28px !important;
    line-height: 1.7;
    font-size: 14px !important;
  }
  /* タイトル */
  .equipment-information-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .equipment-category.equipment-title-exterior {
    font-style: italic;
    /* text-align: right; */
    margin-left: auto;
    margin-right: 0;
    width: 98%;
    padding-right: 2%;
    overflow: visible;
    width: 100%;
    font-size:clamp(36px, 10vw, 56px);
  }

  .equipment-category.equipment-title-livingroom {
    letter-spacing: -0.06em;
    width: 100%;
    font-size:clamp(36px, 10vw, 56px);
    /* margin-bottom: 50px; */
  }
}

/* --- PC画面時のみ Equipment セクションを flexbox 化 --- */
@media screen and (min-width: 1025px) {
  .equipment-section {
    display: flex;
    flex-direction: column;   /* セクション単位で縦積み */
    /* gap: clamp(80px, 10vw, 140px); */
    width: 100%;
    margin: 0 auto;
    align-items: center;
  }

  /* 各アイテム（odd/even）を左右交互レイアウト */
  .equipment-item-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(40px, 6vw, 80px);
    width: 100%;
    max-width: 1200px;
  }

  /* 奇数：画像右、偶数：画像左 */
  .equipment-item-container.odd {
    flex-direction: row;
  }
  .equipment-item-container.even {
    flex-direction: row-reverse;
  }

  /* テキスト領域 */
  .equipment-text {
    flex: 1 1 45%;
    max-width: 520px;
    text-align: left;
  }

  /* 画像領域 */
  .equipment-images-pc {
    flex: 1 1 50%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  /* サムネイル群を横並びに */
  .thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  /* 植物装飾などは flex 化しても absolute のままでOK */
  .equipment-flower-exterior,
  .equipment-flower-living,
  .equipment-flower-room1,
  .equipment-flower-room2_3,
  .equipment-flower-kitchen,
  .equipment-flower-bath,
  .equipment-flower-devide {
    position: absolute;
    z-index: 10;
  }
}
