@charset "utf-8";

/* ==============================================
index.html 専用CSS
(ヘッダー・フッター・ナビ・ボタンなど全ページ共通のパーツは css/style.css を参照)
============================================== */

/* ================= HERO =================
   ヘッダー・ナビ・お知らせバーの実測高さ(main.jsが --nav-h / --notice-h に反映)を
   差し引くことで、「ヘッダー〜お知らせ」が常に100vhになるよう調整。 */
.hero{
  width: 100%;
  height: calc(100vh - var(--header-h) - var(--nav-h, 64px) - var(--notice-h, 60px));
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

/* 動画・静止画フォールバック・モバイル用スライドショーは
   すべてheroいっぱいに重ねて配置し、表示/非表示だけをJS/CSSで切り替える */
.hero-video,
.hero-fallback{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video{ display: none; }   /* デフォルト非表示。JSが条件を満たした時だけ表示 */
.hero-fallback{ display: block; } /* 動画が有効になるまでの既定表示 */

.hero-slideshow{ display: none; } /* モバイル幅の時だけJSが表示に切り替える */

/* JSが .hero に video-active を付けた時だけ動画を表示 */
.hero.video-active .hero-video{ display: block; }
.hero.video-active .hero-fallback{ display: none; }

/* ---- モバイル(800px以下):動画をやめて静止画スライドショーに ---- */
@media (max-width: 800px){
  .hero.video-active .hero-video{ display: none; }
  .hero.video-active .hero-fallback{ display: none; }
  .hero-slideshow{ display: block; }
}

/* hero内の .photo-slider は「画面幅いっぱいに広げる」通常仕様(100vw)ではなく、
   hero自体にぴったり重ねる(video/fallbackと同じ挙動)よう上書きする */
.hero-slideshow.photo-slider{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin-left: 0;
  min-height: 0;
  max-height: none;
}

/* ---- アクセシビリティ:「動きを減らす」設定のユーザーには
   常に静止画を表示し、動画・スライドショーとも動かさない(CSS側でも強制) ---- */
@media (prefers-reduced-motion: reduce){
  .hero-video{ display: none !important; }
  .hero-fallback{ display: block !important; }
  .hero-slideshow{ display: none !important; }
}

/* ================= NOTICE BAR ================= */
.notice-bar{
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  background: #fff;
  flex-wrap: wrap;
}

.notice-label{
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--lavender);
  padding: 10px 22px;
  font-size: 18px;
}
@media (max-width: 586px){
  .notice-label{
    width: 100%;
  justify-content: center;  }
}
.notice-text{ font-size: 16px; }

/* ドット・ラベンダーグレー下線、ホバーで6a6a6a */
.notice-link{
  font-size: 13px;
  padding-bottom: 4px;
  border-bottom: 2px dotted var(--lavender);
  transition: border-color .2s ease;
}
.notice-link:hover{ border-bottom-color: var(--gray); }

/* ================= CONCEPT ================= */
.concept{
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 5%;
}

.concept-bg{
  position: absolute; inset: 0;
  background: linear-gradient(rgba(217,217,217,0.5), rgba(217,217,217,0.5)), var(--lavender);
}

.concept-inner{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  max-width: 1000px;
  width: 100%;
  box-shadow: 6px 8px 10px rgba(217,217,217,0.4);
}

.concept-yellow{
  flex: 0 0 240px;
  background: rgba(204,204,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.concept-yellow span{
  font-size: 30px;
  font-weight: 700;
}

.concept-text{
  flex: 1;
  background: rgba(220,216,239,0.85);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.concept-text h2{
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 22px;
}

.concept-text p{
  font-size: 15px;
  line-height: 1.9;
}

.concept-script{
  position: absolute;
  top: 40px; right: 6%;
  z-index: 2;
  color: var(--paper);
  font-size: 26px;
  line-height: 1.7;
  text-align: right;
  max-width: 420px;
}

@media (max-width: 900px){
  .concept-inner{ flex-direction: column; }
  .concept-yellow{ flex: none; padding: 24px; }
  .concept-script{ position: static; color: #fff; margin-bottom: 20px; text-align: center; }
  .concept{ flex-direction: column; padding-top: 40px; }
}

/* ================= STAY HERO ================= */
.stay-hero{
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-start;
  padding: 100px 6% 80px;
  overflow: hidden;
}

.stay-hero-bg{ position: absolute; inset: 0; background: var(--lavender); }

/* 写真の明暗にかかわらずコピーの視認性を確保するための scrim */
.stay-hero-bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(45,0,77,0.65) 0%, rgba(45,0,77,0.32) 32%, rgba(45,0,77,0) 55%);
  pointer-events: none;
}

.stay-hero-text{
  position: relative; z-index: 2;
  max-width: 560px;
}

.stay-hero-text .script{
  font-size: 34px;
  color: var(--paper);
  line-height: 1.5;
  margin-bottom: 18px;
  text-shadow: 0 2px 14px rgba(45,0,77,0.55);
}

.stay-hero-text .sub{
  font-size: 22px;
  font-weight: 500;
  color: var(--paper);
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(45,0,77,0.55);
}

.stay-badge{
  position: relative; z-index: 2;
  margin-left: auto;
  width: 200px; height: 200px;
  background: rgba(204,204,0,0.8);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
}

@media (max-width: 900px){
  .stay-hero{ flex-direction: column; align-items: flex-start; gap: 32px; }
  .stay-badge{ margin-left: 0; }
}

/* ================= ROOMS / PLAN / RESTAURANT(トップページ内の紹介セクション) ================= */
.content-block{
  padding: 90px 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.en-title{
  font-family: 'Castoro', serif;
  font-size: 40px;
  color: var(--yellow);
  margin-bottom: 18px;
}

.divider{
  width: 320px;
  max-width: 80%;
  height: 0;
  border-top: 3px solid var(--lavender);
  margin: 0 auto 24px;
}

.lead{
  font-size: 16px;
  line-height: 2;
  max-width: 900px;
}

.btn-purple-lg{
  background: var(--purple);
  color: var(--yellow);
  font-size: 18px;
  font-weight: 700;
  padding: 18px 60px;
}

/* ---- PHOTO SLIDER(単純クロスフェード。現状は未使用だが互換のため残置) ---- */
.photo-slider{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 60vh;
  min-height: 340px;
  max-height: 620px;
  overflow: hidden;
}

.photo-slider .slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.photo-slider .slide.active{
  opacity: 1;
  z-index: 1;
}

.photo-slider .slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- TRIPLE SLIDER(ROOMS / RESTAURANT: 中央+左右に分割した自動スライド) ---- */
.triple-slider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 24px;
  overflow: hidden;
}

.triple-slider .panel{
  overflow: hidden;
  flex-shrink: 0;
}

.triple-slider .panel img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .4s ease;
}

.triple-slider .panel.side{
  width: 18%;
  max-width: 260px;
  aspect-ratio: 272 / 475;
  opacity: 0.85;
}

.triple-slider .panel.center{
  flex: 1 1 auto;
  max-width: 900px;
  aspect-ratio: 875 / 530;
}

@media (max-width: 800px){
  .triple-slider .panel.side{ display: none; }
  .triple-slider .panel.center{ width: 100%; max-width: 100%; aspect-ratio: 4/3; }
  .photo-slider{ height: 46vh; min-height: 260px; }
}

/* ---- PLAN(2枚組写真) ---- */
.double-photo{
  display: flex;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
}

.double-photo .ph-wrap{ flex: 1; aspect-ratio: 522/371; }

@media (max-width: 800px){
  .double-photo{ flex-direction: column; }
}

/* ================= RESTAURANT HERO(トップページの帯セクション) ================= */
.restaurant-hero{
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: 40px 5%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.restaurant-hero .bg{ position: absolute; inset: 0; background: var(--lavender); }

.badge-yellow{
  position: relative; z-index: 2;
  width: 220px; height: 220px;
  background: rgba(204,204,0,0.85);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
  text-align: center;
}

.script.purple{
  position: relative; z-index: 2;
  color: var(--purple);
  font-size: 28px;
  line-height: 1.5;
  text-align: right;
  margin-left: auto;
  max-width: 420px;
}

.lavender-box{
  position: relative; z-index: 2;
  background: rgba(220,216,239,0.85);
  padding: 32px;
  max-width: 460px;
  margin-top: 24px;
}

.lavender-box p{ font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.lavender-box a{ font-size: 13px; }

@media (max-width: 800px){
  .restaurant-hero{ align-items: center; text-align: center; }
  .script.purple{ text-align: center; margin: 20px auto; }
  .lavender-box{ margin: 0 auto; }
}

/* ================= WEDDING(トップページの帯セクション) ================= */
.wedding{
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 5%;
  flex-wrap: wrap;
}

.wedding .bg{ position: absolute; inset: 0; background: #3a2a4e; }

.badge-lavender{
  position: relative; z-index: 2;
  width: 260px; height: 400px;
  background: rgba(220,216,239,0.85);
  box-shadow: 6px 8px 10px rgba(217,217,217,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700; 
}

.wedding-text{
  position: relative; z-index: 2;
  flex: 1;
  min-width: 280px;
}

.wedding-text .script.lavender{
  color: var(--lavender);
  font-size: 32px;
  text-align: right;
  margin-bottom: 14px;
}

.wedding-text .dark-box{
  background: rgba(45,0,77,0.4);
  padding: 24px;
  color: var(--paper);
}

.wedding-text .dark-box p{ font-size: 15px; line-height: 1.8; text-align: center; }

.view-more{
  display: block;
  text-align: right;
  color: var(--paper);
  font-size: 15px;
  margin-top: 14px;
  transition: color .2s ease;
}
.view-more:hover{ color: var(--yellow); }

/* ================= ACCESS(トップページの帯セクション) ================= */
.access{
  display: flex;
  min-height: calc(100vh - var(--header-h));
  flex-wrap: wrap;
}

.access .bg{ flex: 1 1 480px; min-height: 320px; background: var(--lavender); }
.access .bg iframe{
  width: 100%;
  height: 100%;
}

.access-info{
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  padding: 60px 8%;
  text-align: left;
}

.access-info .badge-yellow{ position: static; }

.access-info .info-text{ font-size: 17px; line-height: 1.9; text-align: left; }
.access-info .info-text a{
  text-decoration: underline;
  font-size: 15px;
  transition: color .2s ease;
}
.access-info .info-text a:hover{ color: var(--yellow); }

@media (max-width: 800px){
  .access-info{ align-items: flex-start; padding: 48px 8%; }
}