/* --- 基本設定 --- */
  body {
    margin: 0;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
    background: #111;
    color: #eee;
  }

  section {
    padding: 40px 20px;
    max-width: 900px;
    margin: auto;
  }

  .indent {
    margin-left: 2em;
  }

  iframe {
    width: 100%;
    height: 400px;
    border: none;
  }

  h1 {
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
    letter-spacing: 4px;
    color: #d4af37; /* ゴールド */
    text-shadow: 0 0 10px rgba(212,175,55,0.4);
  }

  h2 {
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
    letter-spacing: 4px;
    color: #C7A434; /* ゴールド(暗め) */
    text-shadow: 0 0 10px rgba(212,175,55,0.4);
  }

  h3 {
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
    letter-spacing: 4px;
    color: #C7A434; /* ゴールド(暗め) */
    text-shadow: 0 0 10px rgba(212,175,55,0.4);
  }

  p {
    color: #aaaaaa;
  }

  a {
    color: #3be8eb;
  }



/* --- パーツ --- */
  /* --- ボタン --- */
  .buttons a {
    display: inline-block;
    margin: 10px;
    padding: 12px 24px;
    background: #444;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
  }

  .buttons a:hover {
    background: #666;
  }

  .navbar {
    /* position: fixed; */
    /* top: 0; */
    width: 100%;
    background: rgba(0,0,0,0.7);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    /* gap: 20px; */
    z-index: 30;
    backdrop-filter: blur(6px);
  }


  .navbar a {
    color: #f5f5f5;
    text-decoration: none;
    border-radius: 6px;
    background: linear-gradient(145deg, #444, #222);
    border: 3px solid #555;
    letter-spacing: 2px;
    transition: 0.3s;
    font-size: 1rem;
    padding: 6px 18px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px #0004;
  }

  .navbar a:hover {
    background: linear-gradient(145deg, #555, #333);
    border-color: #d4af37;
    color: #d4af37;
  }

  .reserve-btn {
      color: #f5f5f5;
      text-decoration: none;
      border-radius: 6px;
      background: linear-gradient(145deg, #444, #222);
      border: 3px solid #555;
      letter-spacing: 2px;
      font-size: 1rem;
      padding: 6px 18px;
      margin-left: 4px;
      transition: 0.3s;
      font-weight: 600;
      display: inline-block;
      box-shadow: 0 2px 8px #0004;
  }

  .reserve-btn:hover {
      background: linear-gradient(145deg, #555, #333);
      border-color: #d4af37;
      color: #d4af37;
  }

  /* --- ページトップへ戻る（▲）ボタン --- */
  #backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #222;
    color: #d4af37; /* ゴールド */
    border: 2px solid #d4af37;
    font-size: 24px;
    cursor: pointer;
    display: none; /* 最初は非表示 */
    z-index: 999;
    box-shadow: 0 0 10px rgba(212,175,55,0.4);
    transition: 0.3s;
  }

  #backToTop:hover {
    background: #333;
    box-shadow: 0 0 14px rgba(212,175,55,0.6);
  }



/* --- ヘッダー --- */
  header {
    position: static;
    width: 100%;
    padding: 20px 0 0 0;
    text-align: center;
    font-size: 24px;
    color: #fff;
    background: none;
    box-sizing: border-box;
  }

  header img {
    width: auto;
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .hero {
    position: relative;
    height: 70vh;
    background: url('../images/inside_billiards.jpg') center/cover no-repeat;
  }

  .hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
  }

  .hero-text {
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    color: #aaaaaa;
    font-weight: 900;
    width: 85%;
    max-width: 700px;
    min-width: 200px;
    padding: 0 15px;
    box-sizing: border-box;
    text-shadow:
        2px  2px 4px #444,
      -2px  2px 4px #444,
        2px -2px 4px #444,
      -2px -2px 4px #444;
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    animation: fadeInUp 3s ease-out;
  }

  .hiru-taba-banner {
    border: 3px solid #d4af37;
    color: #d4af37;
    background: #222;
    font-size: 2.1rem;
    font-weight: bold;
    text-align: center;
    padding: 12px 0 10px 0;
    margin: 0 auto 10px auto;
    width: 90%;
    border-radius: 14px;
    box-shadow: 0 0 16px #d4af3788;
    letter-spacing: 0.08em;
    animation: banner-glow 2s infinite alternate;
    display: inline-block;
    text-shadow: 0 0 10px rgba(212,175,55,0.4);
  }

  @keyframes banner-glow {
    0% { box-shadow: 0 0 8px #d4af3744; border-color: #d4af37; }
    100% { box-shadow: 0 0 32px #d4af37cc; border-color: #fffbe6; }
  }
      
  .hero-main {
    background: rgba(0,0,0,0.55);
    padding: 15px 25px;
    border: 2px solid #d4af37;
    border-radius: 12px;
    display: inline-block;
    word-break: break-word;
    line-height: 1.3;  border: 2px solid #d4af37;
    border-radius: 12px;
    display: inline-block;
    color: #d4af37;
  }

  @keyframes fadeInUp {
    0% { opacity: 0; transform: translate(-50%, -40%); }
    100% { opacity: 1; transform: translate(-50%, -50%); }
  }

  .hero-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
  }

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

  .hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-slider .slide.active {
    left: 0;
  }

  .hero-slider .slide.prev {
    left: -100%;
  }

  .hero-slider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    pointer-events: none;
    z-index: 2;
  }

  .hero-slider .slide img {
    position: relative;
    z-index: 1;
  }


/* --- カレンダー --- */
  #custom-calendar {
    width: 80%;
    max-width: 900px;
    margin: 20px auto;
    background: #000;
    border: 2px solid #d4af37;
    border-radius: 12px;
    padding: 20px;
    color: #eee;
    box-shadow: 0 0 20px rgba(212,175,55,0.3);
  }

  .calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: #d4af37;
  }

  .calendar-header button {
    background: #111;
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
  }

  .calendar-header button:hover {
    background: #d4af37;
    color: #000;
  }

  .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
  }

  .calendar-cell {
    padding: 12px;
    text-align: center;
    background: #111;
    border-radius: 6px;
    font-size: 20px;
  }

  .calendar-cell.today {
    background: #444;
    color: #d4af37;
    font-weight: bold;
    border: none; 
  }
  .event {
    margin-top: 6px;
    font-size: 12px;
    color: #d4af37;
    line-height: 1.2;
  }


/* --- 地図 --- */
  .map-card {
    background: #000;
    border: 2px solid #d4af37;
    border-radius: 12px; 
    padding: 15px; 
    box-shadow: 0 0 20px rgba(212,175,55,0.3); 
    max-width: 900px;
    margin: 20px auto;
  }

  .map-card iframe {
    border-radius: 8px;
    width: 100%;
    height: 450px;
  }


/* --- メニュー --- */
  .menu-list {
    margin-top: 20px;
    margin-left: 2em;
  }

  .menu-item {
    display: flex;
    justify-content: space-between;
    max-width: 600px; 
    border-bottom: 1px solid #333;
    font-size: inherit; 
  }

  .menu-name {
    color: #C7A434; /* ゴールド */
    font-weight: 600;
    letter-spacing: 1px;
  }

  .menu-price {
    /*color: #eee;*/
    color: #aaaaaa;
  }


/* --- 予約フォーム --- */
  .reserve-form {
    max-width: 500px;
    /*margin: 0 auto;*/
    padding: 20px;
    background: #111;
    border: 1px solid #444;
    border-radius: 6px;
    color: #eee;
  }

  .reserve-form label {
    display: block;
    margin-bottom: 15px;
    /* font-size: 1.3rem; */
  }

  .reserve-form input, 
  .reserve-form textarea {
    width: 95%;
    padding: 10px;
    margin-top: 6px;
    background: #222;
    border: 1px solid #555;
    border-radius: 4px;
    color: #fff;
    font-size: 1.2rem;   /* ← 文字サイズを大きく（ここがポイント！） */
    resize: vertical;
  }

  .reserve-form input:focus {
    border-color: #c9a34e;
    outline: none;
  }


/* --- 送信完了ページ --- */
  .thanks-page {
    background: #111;
    color: #eee;
    /* text-align: center; */
    padding: 60px 20px;
  }

  .thanks-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
  }

  .thanks-container h1 {
    margin-top: 0;
  }


/* --- gallery --- */
  #gallery {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
  }

  .gallery-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px; /* ← 写真を大きく見せる */
    border-radius: 12px;
  }

  .gallery-slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    transition: left 0.6s ease;
  }

  .gallery-slide.active {
    left: 0;
  }

  .gallery-slide.prev {
    left: -100%;
  }

  .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* ← 縦長・横長どちらも綺麗に収まる */
    background: #000;
  }

  .gallery-buttons {
    margin-top: 10px;
  }

  .gallery-buttons button {
    background: #111;
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 8px 16px;
    font-size: 20px;
    border-radius: 6px;
    cursor: pointer;
  }

  .gallery-buttons button:hover {
    background: #d4af37;
    color: #000;
  }




/* --- PC --- */
  @media (min-width: 900px) {
    p {
      font-size: 28px;
    }
    h1 {
      font-size: 38px;
    }
    h2 {
      font-size: 32px;
    }
    h3 {
      font-size: 28px;
    }

    header img {
      max-width: 450px;
    }

    .hero-text {
      line-height: 1.18;
      font-size: 32px;
      top: 52%;
    }
    .hero-main {
      font-size: 1.8em;
      padding: 20px 35px;
    }
    .hiru-taba-banner {
      font-size: 48px;
    }

    .navbar {
      gap: 20px;
    }
    .navbar a {
      padding: 10px 20px;
      font-size: 20px;
    }
    .menu-item {
      font-size: 28px;
    }

    .reserve-form label {
      font-size: 28px;
    }

    .reserve-form input, 
    .reserve-form textarea {
      font-size: 1.4rem;
    }
    
  }


/* --- スマホ --- */
  @media (max-width: 899px) {
    p {
      font-size: 18px;
      max-width: 280px;
    }
    h1 {
      font-size: 26px;
    }
    h2 {
      font-size: 24px;
    }
    h3 {
      font-size: 18px;
    }

    header img {
      width: 300px; /* 好きなサイズに変更 */
      height: auto;
    }

    .hero-text {
      line-height: 32px;
      font-size: 24px;
      top: 46%;
    }

    .hero-main {
      font-size: 1.4em;
      padding: 12px 20px;
    }

    .hiru-taba-banner {
      font-size: 32px;
    }

    .navbar {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      gap: 5px;
      text-align: center;
      margin: 0 auto;
      padding-left: 0;
    }

    .navbar a {
      padding: 5px 10px;
      font-size: 16px;
    }

    .menu-item {
      font-size: 20px;
    }

    .mobile-break {
      flex-direction: column;
      align-items: flex-start;
      gap: 4px;
    }

    .mobile-break .menu-price {
      align-self: flex-end;   /* ← これで右寄せになる */
      text-align: right;
      width: 100%;            /* ← 行全体を使って右寄せ */
    }

    .reserve-form label {
      font-size: 18px;
    }
    .reserve-form input, 
    .reserve-form textarea {
      font-size: 1.2rem;
    }

    .calendar-grid {
      gap: 4px; /* ← 隙間を小さくする */
    }

    .calendar-cell {
      padding: 6px; /* ← セルの余白を減らす */
      font-size: 14px; /* ← 文字サイズを小さくする */
    }

    .calendar-header {
      font-size: 20px; /* ← タイトルも少し小さく */
    }
  
  }
