/* -----------------------------------
  index.css
  ————————
  index.html用のスタイル
----------------------------------- */

/* ---------------------------
 ボディ全体の設定
 フォント・背景色・文字色・行間・余白などのベースライン設定
--------------------------- */
/* indexページのボディは初期非表示（スプラッシュ画面など用） */
body.index {
  visibility: hidden;
}
/* --- mainコンテンツ初期非表示用（フェードイン演出） --- */
#indexMain, #index-main, #mainContent.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1s ease;
}

#mainContent.fade-in {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* indexページは背景ロゴ非表示に */
body.index::before {
  content: none;
}

/* ---------------------------
 スプラッシュスクリーン（ロード画面など）
--------------------------- */
.splash-screen {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0; と同義 */
  background-color: #100d0a;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.8s ease;
  text-align: center;
  will-change: opacity;
  pointer-events: auto;
}
.splash-logo {
  width: 300px;
  height: auto;
  margin-bottom: 2rem;
}
.splash-concept {
  font-size: 1.2rem;
  color: #bfa46f;
  line-height: 1.6;
  max-width: 700px;
  text-align: center;
}


/* ---------------------------
 フェードイン・アウト効果（スプラッシュ等で使用） 
--------------------------- */
.fade-out {
  opacity: 0;
  transition: opacity 1s ease, visibility 0s linear 1s;
  visibility: hidden;
  pointer-events: none;
}
.fade-in {
  opacity: 1;
  transition: opacity 1s ease;
  visibility: visible;
  pointer-events: auto;
}


/* ---------------------------
 ヒーローコンテナの高さ調整
--------------------------- */
.hero-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* ---------------------------
 ロゴ周り（トップページロゴなど） 
--------------------------- */
.top-logo {
  margin-top: 0rem;
}
.logo {
  width: 200px;
  height: 200px;
  object-fit: contain; /* 画像の潰れ防止 */
  margin-bottom: 1.5rem;
}



/* ---------------------------
   スライダーの設定
   余白・動作設定など
--------------------------- */
/* --- スライダー中央寄せ用 --- */
.slider-section {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height:  750px;
  margin: 0 auto;
}
.slides {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background-color: #100d0a;
  position: relative;
}
.slides-wrapper {
  display: flex;
  width: calc(100% * var(--slide-count));
  height: 100%;
  transition: transform 0.5s ease;
}
.slides-wrapper a {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slides-wrapper img,
.slides img {
  object-fit: cover;
  display: block;
  max-width: none;
  max-height: none;
  border-radius: 8px;
}

/* --- ドットインジケーター --- */
.dots {
  margin-top: 10px;
  text-align: center;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: #bfa46f;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #d4c97f;
}







