/* リセットや基本スタイル */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-image: url("../img/bg.jpg") ;
}

h1, h2, h3, p {
  color: #ffffff;
}

h2, h3 {
	text-align: center;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}
.sp-text {
    display: none;
}

/* ヘッダー */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.site-nav li + li {
  margin-left: 15px;
}

.site-nav a:hover,
.menu-list a:hover {
  background-color: #DAA520;
  color: #000;
}

/* ハンバーガーメニュー */
/* 共通 */
.header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ccc;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 20px;
  font-weight: bold;
}

/* ハンバーガーメニュー */
/* ======================
   ヘッダー
====================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  color: #fff;
  padding: 12px 16px;
  z-index: 9000;   /* 修正：強すぎない数字にする */
}

/* コンテンツがヘッダーの下に隠れないようにする */
body {
  padding-top: 60px;   /* ←ヘッダーの高さと同じくらい（40〜70pxで調整） */
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 18px;
  font-weight: bold;
}

/* ハンバーガー */
.hamburger {
  width: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
}

/* ======================
   スライドメニュー
====================== */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -100%; /* ← 非表示時 */
  width: 80%;
  max-width: 330px;
  height: 100%;
  background: #fff;
  box-shadow: -5px 0 20px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 9999;
}

.drawer-menu.active {
  right: 0; /* ← 表示時にスライドイン */
}

/* 上部のヘッダー部分 */
.drawer-header {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
}

.drawer-close {
  font-size: 24px;
  cursor: pointer;
}

/* リスト */
.drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-list li a {
  display: block;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e5e5;
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

.drawer-list li a:hover {
  background: #f5f5f5;
}

/* メインビジュアル */
.main-visual {
  text-align: center;
  padding: 40px 20px;
}
.main-visual h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* スライダー全体 */
/* PCをデフォルトとして表示 */
.pc-slider { display: block; }
.sp-slider { display: none; }

/* スマホでは逆にする */
@media (max-width: 768px) {
  .pc-slider { display: none; }
  .sp-slider { display: block; }
}

/* --- 共通スライダースタイル --- */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.4s ease;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  display: block;
}

.dots {
  text-align: center;
  margin-top: 10px;
}

.dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: #DAA520;
  border-radius: 50%;
  cursor: pointer;
}

.dots span.active {
  background: #fff;
}

/* メニューセクション（人数から探すなど） */
.menu-section {
  padding: 20px;
  margin: 0 0 80px;
}
.menu-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-list li {
  flex: 1 0 25%; /* 4列表示（PC） */
  text-align: center;
  padding: 10px;
  font-size: 22px;
  font-weight: bold;
}
.menu-list li a {
  display: block;
  padding: 10px;
  background-color: #f0f0f0;
  text-decoration: none;
  color: #333;
}

.container {
    width: 1200px;
    margin: 0 auto;
}
@media screen and (max-width: 640px) {
    .container {
        width: 100%;
        min-width: 320px;
    }
    .menu-list li {
      font-size: 1rem;
    }	
}

/* 人気ランキングセクション */
.ranking-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 20px;
}
.ranking-list li {
  flex: 1 0 33.333%; /* 3列表示（PC） */
  padding: 15px;
}
.ranking-list li img {
  width: 100%;
  display: block;
}
.ranking-list li p {
  margin-top: 8px;
  text-align: center;
}

/* ラインナップセクション */
.lineup-section {
  margin: 0 0 5rem;
}

.lineup-section h2 {
  margin: 120px 0 20px;
}

.lineup-section p {
  text-align: center;
	font-size: 24px;
	padding: 0 20px 50px;
}

/* 画像がはみ出ないように */
.lineup img,
.lineup-list img {
  width: 100%;
  display: block;
  height: auto;
}

/* PC：2列横並び */
.lineup-list {
  list-style: none;
  padding: 0;
  margin: 0 0 5rem;
  display: flex;
  flex-wrap: wrap;
}

.lineup-list li {
  width: 50%;       /* ★PCは必ず2列（1行に2つ）★ */
  padding: 10px;
}

/* スマホ：1列表示 */
@media (max-width: 768px) {
  .lineup-section {
    margin: 0 0 2rem;
  }
	
  .lineup-list li {
    flex: 1 0 100%; /* 1列 */
  }
  .lineup-list {
    margin: 0 0 2rem;
  }
  .lineup-section h2 {
    margin: 60px 0 20px;
  }
  .lineup-section p {
    text-align: left;
    font-size: 16px;
    padding: 0 20px 30px;
  }
}

.ttl-br {
    margin: -10px auto 20px;
    padding-top: 10px;
    text-align: center;
}

@media screen and (max-width: 640px) {
      img {
      width: 100%;
    }
    .ttl-br {
        text-align: center;
        margin: 0 auto 10px;
        margin-top: -90px;
        padding-top: 90px;
    }
	.pc-text {
        display: none;
    }
	.sp-text {
        display: block;
    }
}

/* フッター */
.site-footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: white;
}

.site-footer img {
  width: 8%;
}

.site-footer a {
  color: #ffffff;
}

/* ページトップボタン */
.pagetop-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  border: solid 1px #fbdc97;
  border-radius: 50%;
  background: #8B0000;
  cursor: pointer;
  right: 20px;
  bottom: 20px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.3s, transform 0.3s;
}

.pagetop-btn::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-left: 2px solid #ffffff;
  border-top: 2px solid #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -25%) rotate(45deg);
}

.pagetop-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== スマホ対応（スマホ幅以下） ===== */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
  }
  .site-nav ul {
    display: block;
    text-align: center;
  }
  .site-nav li + li {
    margin-left: 0;
    margin-top: 10px;
  }

  .menu-list li {
    flex: 1 0 50%; /* スマホで2列表示 */
  }
  .ranking-list li {
    flex: 1 0 100%; /* スマホで1列表示 */
  }

  .main-visual h1 {
    font-size: 1.8rem;
  }
  .site-footer img {
    width: 30%;
  }	
  .site-footer p,
  .site-footer a {
    font-size: 70%;
  }	
}



