body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.container {
margin: 0 auto;
padding: 0 20px;
}
a {
text-decoration: none;
}
.hero-section {
height: auto;
margin: 0 auto 24px;
position: relative;
width: 100%;
}

.slider {
width: 100%;
height: auto;
position: relative;
overflow: hidden;
display: flex;
align-items: center;
aspect-ratio: 16 / 9;
min-height: 360px;
}

.slide {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
opacity: 0;
transition: opacity 0.5s ease-in-out;
}

.slide.active {
opacity: 1;
}

.slide img {
width: 100%;
height: 100%;
object-fit: cover;
object-position: center;
filter: brightness(0.7);
margin: 0 auto;
}


/* テキストオーバーレイの基本スタイル */
.text-overlay {
  position: absolute;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 350;
  letter-spacing: 0.3em;
  white-space: nowrap;
  writing-mode: vertical-rl; /* 縦書き */
  text-orientation: upright; /* 縦書き文字を正しい方向に */
  max-width: 90vw;
  max-height: 85%;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.4;
  box-sizing: border-box;
}

@media screen and (min-width: 769px) {
  .text-overlay {
    font-size: 14px;
    letter-spacing: 0.22em;
    line-height: 1.5;
    max-height: 85%;
  }

  /* LP2デスクトップ：三枚目の縦書きテキストが上にはみ出さないように調整 */
  .text-overlay.left {
    top: 45% !important; /* 上から少し下に移動 */
    padding-top: 8px !important; /* 上に余白を追加 */
    max-height: 80% !important; /* 高さを制限 */
    overflow: hidden !important; /* はみ出しを防ぐ */
  }
}

@media screen and (max-width: 768px) {
  .text-overlay {
    font-size: 10px;
    letter-spacing: 0.15em;
    line-height: 1.4;
    max-width: 90vh; /* 縦書きなので、max-widthが高さ方向の制限になる */
    max-height: none;
    padding: 4px 0;
    overflow: hidden;
    white-space: nowrap; /* 改行を防ぐ */
  }
  
  .text-overlay p {
    margin: 0;
    padding: 0;
    white-space: nowrap; /* 改行を防ぐ */
    display: inline-block;
  }
  
  .text-overlay.left,
  .text-overlay.right {
    max-width: 95vh;
  }
}
/* テキスト位置のスタイル */
.text-overlay.center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text-overlay.right {
  top: 30%;
  right: 10%;
  transform: translateY(-50%);
}

.text-overlay.left {
  top: 40%;
  left: 10%;
  transform: translateY(-50%);
}

/* スライダーナビゲーション */
.slider-nav {
  position: absolute;
  top: 50%; /* 上下中央に配置 */
  left: 0;
  right: 0;
  transform: translateY(-50%); /* 上下中央に配置 */
  display: flex;
  justify-content: space-between; /* 両端に配置 */
  align-items: center;
  padding: 0 20px; /* 左右に余白を追加 */
  z-index: 10; /* スライダーの上に表示 */
}

.prev-slide,
.next-slide {
  background: rgba(255, 255, 255, 0.5);
  filter: invert(100%); /* 色を反転 */
  border: none;
  color: #333;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 100;
  pointer-events: auto;
}

.prev-slide:hover,
.next-slide:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1); /* ホバー時に少し拡大 */
}

.slide-dots {
  display: none;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(0, 0, 0, 0.5);
}

.dot.active {
  background: #000000;
  transform: scale(1.2);
}

.intro-text {
  max-width: 700px;
  height: auto;
  margin: 0 auto 40px;
  width: 100%;
  box-sizing: border-box;
}

.intro-text-bold {
  color: #303030;
  font-size: 16px;
    font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 700;
  line-height: 19.50px;
  letter-spacing: 0.26px;
  word-wrap: break-word;
}

.intro-text-regular {
  color: #303030;
  font-size: 16px;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 350;
  line-height: 19.50px;
  letter-spacing: 0.26px;
  word-wrap: break-word;
}

.location {
  width: 100%;
  max-width: 700px;
  height: auto;
  color: #303030;
  font-size: 16px;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.26px;
  word-wrap: break-word;
  margin: 0 auto 2px;
  box-sizing: border-box;
}

.schedule {
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 0 auto 2px;
  box-sizing: border-box;
}

.note {
  width: auto;
  max-width: 700px;
  height: auto;
  color: #7C7C7C;
  font-size: 11.10px;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 350;
  line-height: 16.58px;
  letter-spacing: 0.26px;
  word-wrap: break-word;
  margin: 0 auto 40px;
  width: 100%;
  box-sizing: border-box;
}

.cta-button {
  width: 460px;
  max-width: 100%;
  height: 63px;
  position: relative;
  background: #626262;
  border: 1px #9FA0A0 solid;
  transition: background-color 0.3s ease;
  margin: 0 auto 80px;
  cursor: pointer;
  display: flex; /* Flexboxを有効にする */
  align-items: center; /* 垂直方向に中央揃え */
  justify-content: center; /* 水平方向に中央揃え */
  box-sizing: border-box;
}
.reservation-section .cta-button {
	margin-top: 60px;
}
.cta-button:hover {
  background: white;
}

.cta-text {
  color: white;
  font-size: 18px;
   font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 350;
  line-height: 25.20px;
  letter-spacing: 1.44px;
  word-wrap: break-word;
  transition: color 0.3s ease;
  /* position: absolute; を削除 */
  margin: 0; /* marginを削除 */
}

.cta-button:hover .cta-text {
  color: #626262;
}

.cta-arrow {
  /* left: 337px; を削除 */
  /* top: 19px; を削除 */
  /* position: absolute; を削除 */
  margin-left: 10px; /* テキストとの間隔を調整 */
}

.cta-arrow svg path {
  transition: fill 0.3s ease;
}

.cta-button:hover .cta-arrow svg path {
  fill: #626262;
}


.description-text {
  max-width: 700px;
  margin: 60px auto;
  line-height: 28px;
  letter-spacing: 0.26px;
  word-wrap: break-word;
  width: 100%;
  box-sizing: border-box;
}

.text-regular {
  color: #303030;
  font-size: 16px;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 350;
}

.text-bold {
  color: #303030;
  font-size: 16px;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 700;
}

.photo-grid {
  width: 100%;
  max-width: 700px;
  margin: 40px auto;
  box-sizing: border-box;
}
.grid-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
}

.grid-row:last-child {
  margin-bottom: 0;
}

.grid-item {
  overflow: hidden;
}

.grid-item.rectangle {
  width: 420px;
  height: 320px;
}

.grid-item.square {
  width: 280px;
  height: 320px;
}

.grid-image {
  width: 100%;
 max-width: 700px;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.grid-image:hover {
  transform: scale(1.05);
}

.section-title {
  width: auto;
  max-width: 100%;
  height: auto;
  text-align: center;
  color: #333333;
  font-size: 32px;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 350;
  line-height: 48px;
  letter-spacing: 2.56px;
  word-wrap: break-word;
  margin: 0 auto;
  box-sizing: border-box;
}

.section-title.wide {
  width: auto;
  max-width: 100%;
  white-space: normal;
}

.divider {
  width: 200px;
  height: 8px;
  background: #E5E5E5;
  margin: 20px auto;
}

.catalog-section {
  max-width: 700px;
  height: auto;
  min-height: 420px;
  position: relative;
  background: #EDEDED;
  margin: 40px auto;
  width: 100%;
  box-sizing: border-box;
}

.catalog-image {
  width: 221.66px;
  height: 221.66px;
  position: absolute;
  margin-top: 45px;
  transform-origin: top left;
}

.catalog-image.rotated-right {
  left: 417px;
  top: 93px;
  transform: rotate(7deg);
}

.catalog-image.center {
  left: 202px;
  top: 93px;
  transform: none;
}

.catalog-image.rotated-left {
  left: 3px;
  top: 121.88px;
  transform: rotate(-7deg);
}

@media screen and (min-width: 769px) {
  .catalog-section {
    --catalog-offset-desktop: 200px;
  }

  .catalog-image {
    left: 50%;
    transform: translateX(-50%);
  }

  .catalog-image.center {
    left: 50%;
    top: 93px;
    transform: translateX(-50%);
  }

  .catalog-image.rotated-right {
    left: 50%;
    transform: translateX(calc(-50% + var(--catalog-offset-desktop))) rotate(7deg);
  }

  .catalog-image.rotated-left {
    left: 50%;
    transform: translateX(calc(-50% - var(--catalog-offset-desktop))) rotate(-7deg);
  }
}

.catalog-header {
  width: 100%;
  max-width: 700px;
  text-align: center;
  color: #303030;
  font-size: 14px;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 350;
  line-height: 34px;
  letter-spacing: 0.26px;
  word-wrap: break-word;
  padding-bottom: 20px;
  box-sizing: border-box;
}

.catalog-title {
  width: auto;
  max-width: 100%;
  height: auto;
  color: #333333;
  font-size: 16px;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 1.28px;
  word-wrap: break-word;
  margin: 0 auto 20px 15px;
  text-align: left;
  white-space: normal;
  box-sizing: border-box;
}

.catalog-description {
  max-width: 700px;
  height: auto;
  color: #333333;
  font-size: 16px;
  font-family: Yu Gothic;
  font-weight: 350;
  line-height: 27px;
  letter-spacing: 1.60px;
  word-wrap: break-word;
  margin: 0 auto 60px;
  width: 100%;
  box-sizing: border-box;
}

.house-title {
  width: auto;
  max-width: 100%;
  height: auto;
  text-align: center;
  color: #333333;
  font-size: 24px;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 350;
  line-height: 33px;
  letter-spacing: 1.92px;
  word-wrap: break-word;
  margin: 20px auto 0;
  box-sizing: border-box;
}

.house-description {
  max-width: 700px;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 350;
  margin: 0 auto 40px;
  width: 100%;
  box-sizing: border-box;
}

/* マップセクション */

.map-section {
  max-width: 700px;
  margin: 0 auto 40px;
  width: 100%;
  box-sizing: border-box;
}

.map-container {
  width: 100%;
  max-width: 700px;
  height: 450px;
  border: 1px solid #D2D2D2;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.map-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.map-type-button {
  padding: 8px 24px;
    font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 350;
  font-size: 14px;
  color: #333333;
  background: #FFFFFF;
  border: 1px solid #D2D2D2;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.map-type-button:hover {
  background: #F5F4F5;
}

.map-type-button.active {
  background: #626262;
  color: #FFFFFF;
  border-color: #626262;
}

/* 情報セクション */
.info-section {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  border: 1px solid #D2D2D2;
  margin: 40px auto;
  width: 100%;
  box-sizing: border-box;
}

.info-row {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  border-bottom: 1px solid #D2D2D2;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row.map-row {
  padding: 0;
  height: 450px;
}

.info-label {
  width: 180px;
  background: #F5F4F5;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #D2D2D2;
}

.label-text {
  text-align: center;
  color: #333333;
  font-size: 16px;
    font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
 
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 1.28px;
}

.info-content {
  flex: 1;
  padding: 28.5px 28.5px 28.5px 40px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.content-text {
  width: 100%;
  max-width: 700px;
  color: black;
  font-size: 16px;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 350;
  line-height: 24px;
  letter-spacing: 1.28px;
  box-sizing: border-box;
}

.text-underline {
  text-decoration: underline;
}

.text-regular {
  font-weight: 350;
}
.data-svg-wrapper {
  width: 30px;
  height: 27px;
}
.qa-section {
  width: 100%;
  max-width: 700px;
  margin: 24px auto;
  box-sizing: border-box;
}

.qa-title {
  width: auto;
  max-width: 100%;
  height: auto;
  text-align: center;
  color: #333333;
  font-size: 32px;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 350;
  line-height: 48px;
  letter-spacing: 2.56px;
  word-wrap: break-word;
  margin: 0 auto;
  box-sizing: border-box;
}

.qa-item {
  margin-bottom: 40px;
}

.qa-question {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.qa-question-icon {
  width: 30px;
  height: 27px;
}

.qa-question-text {
  color: #303030;
  font-size: 20px;
  font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 350;
  line-height: 28px;
  letter-spacing: 0.26px;
  word-wrap: break-word;
}

.qa-answer {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0 auto 20px;
}

.qa-answer-icon {
  width: 30px;
  height: 22px;
  margin-top: 3px;
}

.qa-separator {
  width: 100%;
  max-width: 700px;
  height: 1px;
  background: #DDDDDD;
  margin: 40px 0;
  box-sizing: border-box;
}
.phone-reservation {
  border: 1px solid #ccc;
  padding: 5px 10px;
  text-align: center;
  max-width: 450px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.instruction {
  margin-bottom: 10px;
}
.reservation-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}
.day-txt {
	font-size: 16px!important;
}
.day-txt2 {
  display: inline-block !important; /* 横幅を文章に合わせる */
  border: 0.5px solid black !important; /* 細い黒い枠線 */
  padding: 5px 10px!important; /* 文字周りの余白 */
	margin: 10px auto!important;
	font-size: 16px!important;
  box-sizing: border-box !important; /* paddingとborderを含めたサイズにする */
  white-space: nowrap !important; /* 改行を禁止 */
}

.qa-highlight {
    font-weight: bold;
    text-decoration: underline;
}
.qa-texts {
	font-size: 16px;
	line-height: 1.8;
    }
.qa-answer {
    border-bottom: 1px solid #e0e0e0!important;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.qa-answer:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.monthly-calendar {
	width: 80%;
	margin: 10px auto;
}

@media screen and (max-width: 768px) { 

html {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

.container {
  overflow-x: hidden; /* 横スクロールを防ぐ */
  max-width: 100% !important;
  box-sizing: border-box; /* 余白やpaddingを考慮 */
  padding: 0 16px;
  width: 100%;
}

.hero-section {
  height: auto;
  min-height: 240px;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 100%;
  margin-bottom: 16px;
}

.slider {
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 240px;
  width: 100%;
  max-width: 100%;
}

.slide {
  height: 100%;
  width: 100%;
}

.slide img {
  object-fit: cover;
  object-position: center;
}

.text-overlay {
  max-width: 90vh; /* 縦書きなので、max-widthが高さ方向の制限になる */
  max-height: none;
  overflow: hidden;
  padding-bottom: 8px;
  white-space: nowrap; /* 改行を防ぐ */
}

.text-overlay.left {
  top: 50%;
  left: 20%;
  transform: translateY(-50%);
  bottom: auto;
}

.text-overlay.right {
  top: 50%;
  right: 20%;
  transform: translateY(-50%);
  bottom: auto;
}

.text-overlay.center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: auto;
}

.slider-nav {
  position: absolute;
  top: 50%;
  bottom: auto;
  left: 0;
  right: 0;
  margin: 0;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 4px;
  pointer-events: none;
  z-index: 20;
}

.slider-nav button {
  width: 30px;
  height: 30px;
  font-size: 16px;
  pointer-events: auto;
}

.slide-dots {
  display: none;
}

.cta-button, 
.description-text, 
.map-container, 
.qa-section {
  margin-bottom: 80px;
}

.intro-text-bold,
.intro-text-regular,
.location,
.schedule,
.note,
.description-text .text-regular,
.description-text .text-bold,
.qa-question-text,
.qa-answer-text,
.cta-text,
.catalog-header,
.text-bold,
.catalog-title,
.catalog-description,
.map-type-button,
.house-description,
.instruction,
.phone-reservation,
.content-text {
  font-size: 16px !important;
  line-height: 1.6;
}

.qa-question-text,
.qa-answer-text {
  line-height: 2.0;
}
	
.info-content .content-text,
.text-regular, 
.text-underline,
.info-label, 
.label-text, 
.qa-texts, 
.day-txt, 
.day-txt2 {
  font-size: 15px !important;
  line-height: 2.0;
}

.data-svg-wrapper {
  width: 50px;
  height: 37px;
}

.section-title {
  width: 100%;
  font-size: 22px;
  line-height: 1.5;
  height: auto;
  margin-top: 16px;
}

.divider {
  margin: 4px auto 8px !important;
}

.section-title.wide {
  width: 100%;
  font-size: 22px;
  white-space: normal;
  margin-top: 24px;
}


.photo-grid .grid-row {
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.photo-grid .grid-item.rectangle,
.photo-grid .grid-item.square {
  width: 100%;
  height: 240px;
}

.cta-button {
  width: 100%;
  max-width: 320px;
  height: 56px;
  margin: 40px auto;
}

.reservation-section .cta-button {
  width: 100%;
  max-width: 100%;
}

.map-container,
.photo-grid,
.description-text,
.catalog-description,
.house-description,
.map-section,
.reservation-section,
.qa-section {
  width: 100%;
}

.map-container {
  height: 320px;
  margin-bottom: 8px;
}

.catalog-section {
  height: auto;
  min-height: 300px;
  padding: 20px 8px 180px;
  position: relative;
  display: block;
}

.catalog-header {
  width: 100%;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}

.catalog-image {
  position: absolute !important;
  width: 30%;
  max-width: 160px;
  min-width: 100px;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0;
  display: block;
  object-fit: cover;
  transform-origin: center center;
}

.catalog-image.center {
  left: 50% !important;
  top: 60% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 2;
}

.catalog-image.rotated-left {
  left: 5% !important;
  top: 65% !important;
  transform: translateY(-50%) rotate(-7deg) !important;
  z-index: 1;
}

.catalog-image.rotated-right {
  right: 5% !important;
  left: auto !important;
  top: 65% !important;
  transform: translateY(-50%) rotate(7deg) !important;
  z-index: 1;
}

.house-title {
  width: auto;
  margin: 12px auto 0;
  letter-spacing: 1.2px;
  white-space: normal;
}

.info-row {
  flex-direction: column;
}

.info-label {
  width: 100%;
  border-right: none;
  border-bottom: 1px solid #D2D2D2;
  padding: 12px 0;
}

.info-content {
  padding: 16px 12px;
}

.intro-text,
.location,
.schedule,
.note,
.description-text,
.photo-grid,
.catalog-section,
.map-section,
.reservation-section,
.qa-section {
  width: 100%;
  max-width: 100%;
}

}

