:root {
  /* メイン背景（黒）- Main background */
  --main-bg: linear-gradient(90deg, #17292F, #1E1E21);
  --card-bg: linear-gradient(135deg, #484234 20%, #292621 50%, #131314 100%);
  --section-bg: #010101;

  --dark-black: #1F1F22;

  --gold-line: #C7AB6B;

  --gold-text: #C7AB6B;

  --light-gray: #F6F3E9;

  --white-text: #FFFFFF;

  --black-text: #000000;

  --red-text: #DB3C3C;

  --text-dark-color: #1a1a1a;

  --text-light-color: #F6F3E9;

  --light-p: #666;
  
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
}

body {
  background: var(--main-bg);
}
section {
  /*background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8f6f1 100%
  );*/
  padding: 80px 20px;
  max-width: 1200px;
  margin: 40px auto;
  border-radius: 16px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 4px solid var(--gold-line);
  text-align: center;
}

section:nth-child(odd) {
  background: var(--dark-black);
}
section:nth-child(even) {
  background: var(--section-bg);
}

section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 64px;
}
section:nth-child(odd) h2 {
  color: var(--gold-text);
}
section:nth-child(even) h2 {
  color: var(--gold-text);
}

section:nth-child(odd) p {
  color: var(--text-light-color);
}
section:nth-child(even) p {
  color: var(--gold-text);
}

section h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--text-light-color);
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #c7ab6b, #caac5e, #d4af37);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ---------------- HERO ---------------- */

.hero-header {
  position: relative;
  height: 100vh;
  overflow: hidden;
  border-bottom: 4px solid var(--gold-line);
}

/* 動画 */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%) scale(1.15);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content h2 {
  font-size: 26px;
  margin-bottom: 40px;
  font-weight: 400;
}



/* ---------------- SECTION共通 ---------------- */

.main-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  text-align: center;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
  color: var(--gold-text);
}

.main-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #ffffff);
  animation: popLine 3s infinite alternate;
  border-radius: 2px;
}


@keyframes popLine {
  0% { width: 80px; }
  100% { width: 120px; }
}


/* ---------------- GAMES GRID ---------------- */

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto 0;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.game-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 2px solid var(--gold-line);
}

.game-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.game-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 15px 10px 5px;
  color: var(--gold-text);
}

.game-description {
  font-size: 14px;
  color: #555;
  padding: 0 15px 20px;
  line-height: 1.6;
}




/* ---------------- FEATURES ---------------- */


.features {
  padding: 100px 5%;
  background: linear-gradient(
    180deg,
    #f5f1e8,
    #eae4d8
  );
  color: #1a1a1a;
  padding: 100px 20px;
  text-align: center;
   position: relative;
}


.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(24px, 4vw, 38px);
  margin-bottom: 60px;
  font-weight: 700;
  letter-spacing: 1px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1100px;   /* ← 全体幅を制限 */
  margin: 0 auto;      /* ← グリッド自体を中央寄せ */
}

.feature-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 2px solid var(--gold-line);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.feature-card .icon {
  font-size: 50px;
  margin-bottom: 20px;
}


.feature-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--gold-text);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  padding: 0 15px 20px;
  line-height: 1.6;
}


.feature-bottom {
 margin-top: 100px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #000000;
  text-align: center;
  letter-spacing: 1px;
  position: relative;
}

@media(max-width:768px){
  header h1 {font-size:2rem;}
  header p {font-size:1rem;}
  .features,  {flex-direction:column;}
  section {padding:60px 15px;}
}

/* ---------------- Wildwest ---------------- */

.Wildwest {
  padding: 100px 0;
  text-align: center;
  background: #010101;
;
  color: #fff;
}
.Wildwest h2 {
  font-size: clamp(32px, 4vw, 40px);
  margin-bottom: 15px;
}
.Wildwest h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 40px;
  font-weight: 400;
  padding: 0 60px;
}

.wildwest-video {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 30px auto 0;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.wildwest-video video {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-overlay{
  width: 100%;
  height: 100%;
  background: #00000000;
  position: absolute;
  z-index: 9999;
}


/* アクセス */

.access-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.access-content p{
  color: var(--text-light-color) !important;
}

.access-info {
  flex: 1;
  min-width: 280px;
  text-align: left;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
}

.access-map {
  flex: 1;
  min-width: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
/* ---------------- FOOTER ---------------- */

/* ===============================
   フッター
   =============================== */
footer {
  background: linear-gradient(to right, #1c1c1c, #2c2c2c);
  text-align: center;
  padding: 60px 20px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  box-shadow: inset 0 10px 20px rgba(0,0,0,0.3);
}
footer p {
  color: #eee;
}
footer a {
  color:white;
  margin:0 10px;
}
.sns-icons {
  margin: 20px 0;
  display: flex;
  justify-content: center; /* 中央揃え */
  gap: 25px; /* アイコン間の間隔 */
}

.sns-icons a svg {
  width: 36px;
  height: 36px;
  fill: white; /* 白色 */
  transition: transform 0.3s, fill 0.3s;
}

.sns-icons a:hover svg {
  transform: scale(1.2); /* ホバーで拡大 */
  fill: #D4AF37;          /* ホバーで色変更 */
}

/* --- 全体余白調整 --- */
section {
  padding: 80px 20px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
  }
}


@media (max-width: 600px) {
  .features {
    padding: 60px 15px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .game-card h3 {
    font-size: 16px;
  }

  .game-description {
    font-size: 13px;
  }
}