/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ======================
  BASE
====================== */
body {
  font-family: "Noto Serif JP", serif;
  color: #fff;
  background-color: #1b2b3b;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

html {
  scroll-behavior: smooth;
}

/* ======================
  HEADER / NAV / FOOTER
====================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem;
  background: #0e1b2c;
  opacity: 0.95;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: transform 0.4s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.header-left {
  display: flex;
  align-items: center;
}

.site-logo {
  width: 100px;
  height: auto;
  display: block;
  transform: translateY(2px);
}

.site-title {
  font-size: 1rem;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}

/* NAVIGATION */
.gnavi ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.gnavi li a {
  display: block;
  padding: 10px 30px;
  text-decoration: none;
  color: #b7b3b3;
}

.gnavi li {
  /*線の基点とするためrelativeを指定*/
  position: relative;
  margin: 0 10px;
}

/*線の基点位置*/
.gnavi li::before,
.gnavi li::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  /*線の形状*/
  width: 0;
  height: 3px;
  background: #06617a;
  /*アニメーションの指定*/
  transition: all 0.2s linear;
  transition-delay: 0.2s;
}

.gnavi li::before {
  right: 0;
  top: 0;
}
.gnavi li::after {
  left: 0;
  bottom: 0;
}

/*線の基点位置2 spanタグ*/

.gnavi li span {
  display: block;
}

.gnavi li span::before,
.gnavi li span::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  /*線の形状*/
  width: 3px;
  height: 0;
  background: #06617a;
  /*アニメーションの指定*/
  transition: all 0.2s linear;
}

.gnavi li span::before {
  left: 0;
  top: 0;
}
.gnavi li span::after {
  right: 0;
  bottom: 0;
}

/*現在地とhoverした際の線の変化*/

.gnavi li.current::before,
.gnavi li.current::after,
.gnavi li:hover::before,
.gnavi li:hover::after {
  width: 100%; /*横幅を100%に*/
}

.gnavi li.current span::before,
.gnavi li.current span::after,
.gnavi li:hover span::before,
.gnavi li:hover span::after {
  height: 100%; /*縦幅を100%に*/
}

/* フッター */
.footer {
  background: #0e1b2c;
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid;
  /* opacity: 0.8; */
}

.footer-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -40px;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-logo h1 {
  font-size: 16px;
}

.footer-name {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-info p {
  font-size: 12px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 10px;
}

.copyright {
  font-size: 0.75rem;
  color: #0d1a2b;
  margin-top: 2rem;
  padding: 10px 0;
  background-color: #ccc;
}

/* ======================
   HERO SECTION
====================== */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  width: 100%;
  height: 80vh;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  opacity: 0.5;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(75%);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2;
  /* background-color: #0e1b2c; */
  padding: 20px 40px;
  opacity: 0.8;
}

.hero-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  letter-spacing: 1em;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  margin-top: 10px;
  letter-spacing: 0.1em;
  color: #cfd8e8;
}

.hero-text .subtitle {
  font-size: 1.1rem;
  margin-top: 10px;
  letter-spacing: 0.1em;
  color: #cfd8e8;
}

/* ======================
   SECTIONS BASE
====================== */
main.reservation section {
  padding: 60px 5%;
}

section.intro,
section.menu-guide,
section.access,
section.owner,
section.form {
  background-color: #0f1a26;
  color: #e7f0fa;
}

.page-title,
.section-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  color: #fff;
}

p,
ul,
ol {
  text-align: center;
  line-height: 1.8;
  color: #d0dce9;
}

h3,
h4 {
  text-align: center;
  margin-bottom: 20px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  /* background-color: #264b66; */
}

/* Menu Category */
.menu-category {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  list-style: none;
  padding: 0;
}

.menu-category li {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 8px;
  color: #fff;
}

/* Contact Info */
.contact-info h4 {
  margin-top: 20px;
  font-size: 1.1rem;
}

.contact-list {
  list-style: none;
  padding-left: 0;
  line-height: 1.8;
}

/* ======================
   RESERVATION FORM
====================== */
.form h3 {
  margin-bottom: 50px;
  text-align: center;
}

.reservation-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reservation-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  color: #fff;
}

.reservation-form span {
  color: #ff6464;
}

.reservation-form input[type="text"],
.reservation-form input[type="tel"],
.reservation-form input[type="email"] {
  padding: 8px 12px;
  border-radius: 4px;
  border: none;
  margin-top: 4px;
  font-size: 1rem;
}

.checkbox-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 30px 10px;
}

.policy {
  background: rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 8px;
}

.thanks-btn {
  display: block;
  max-width: 600px;
  margin: 2rem auto 0;
  text-align: center;

  padding: 0.8rem 2rem;
  border: 1px solid #fff;
  text-decoration: none;
  color: #fff;
  transition: background 0.3s;
  background-color: #264b66;
  border-radius: 4px;
}

.thanks-btn:hover {
  background: #3b678a;
}

/* ======================
   NOTE SECTION
====================== */
.note-list {
  max-width: 600px;
  margin: 0 auto;
  list-style: disc;
  padding-left: 1.5em;
  line-height: 2;
  color: #cfd8e8;
}

/* ======================
   FADE-IN ANIMATION
====================== */
.fade-target {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* =================================================
  スマホ・タブレット用レスポンシブ (768px以下)
================================================= */
@media screen and (max-width: 768px) {

  /* --- 1. ヘッダー共通 (Indexと統一) --- */
  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 0 10px;
  }

  .header-left {
    flex-direction: column;
    margin-bottom: 5px;
  }

  .site-logo {
    width: 70px;
    margin-bottom: -15px;
  }

  .site-title {
    font-size: 0.7rem;
    margin-top: 5px;
    text-align: center;
  }

  /* ハンバーガー（確実にバツにする設定） */
  .hamburger {
    display: flex;
    margin: 15px auto 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px; height: 30px;
    z-index: 3000;
  }
  .hamburger span {
    display: block;
    width: 24px; height: 2px;
    background-color: #fff;
    transition: all 0.4s;
    margin: 3px 0;
  }
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0 !important;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }

  .header .gnavi {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #0e1b2c;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 2500;
  }
  .header .gnavi.active {
    right: 0;
  }
  .gnavi ul {
    flex-direction: column;
    gap: 30px;
  }
  .gnavi li a {
    font-size: 1.5rem !important;
    color: #fff !important;
  }

  /* --- 2. メインコンテンツ --- */
  .reservation {
    padding: 80px 5px 60px;
  }

  /* HEROエリア */
  .hero {
    height: 60vh;
    position: relative;
  }
  .hero-img img {
    height: 100%;
    object-fit: cover;
    filter: brightness(75%);
    margin-top: 105px;
  }
  .hero-text h2 {
    font-size: 2rem;
    letter-spacing: 0.2em;
  }

  .hero-text .subtitle {
    font-size: 1.3rem;
    text-align: center;
  }

  .hero-title {
    font-size: 0.8rem;
    text-align: center;
  }

  .page-title {
    font-size: 1.1rem;
  }

  /* 各セクション共通 */
  section {
    margin-bottom: 60px;
    width: 100%;
  }

  h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
  }

  p {
    font-size: 0.95rem;
    text-align: justify;
    margin-bottom: 30px;
  }

  /* メニューカテゴリー */
  .menu-category {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列に並べる */
    gap: 10px;
    padding: 0;
  }
  .menu-category li {
    background: rgba(255,255,255,0.05);
    padding: 10px;
    font-size: 0.85rem;
    text-align: center;
    list-style: none;
    border: 1px solid rgba(255,255,255,0.1);
  }

  .contact-list {
    font-size: 0.9rem;
  }

  /* --- 3. フォーム (ここが重要) --- */
  .reservation-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .reservation-form label {
    font-size: 0.9rem;
    display: flex;
    flex-direction: column; /* 項目名と入力を縦に並べる */
    gap: 8px;
  }
  .reservation-form input[type="text"],
  .reservation-form input[type="tel"],
  .reservation-form input[type="email"] {
    width: 100%;
    padding: 12px;
    background: #1a2a3a;
    border: 1px solid #444;
    color: #fff;
    font-size: 16px; /* 16px未満だとiPhoneでズームされるのを防ぐ */
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
  }

  /* チェックボックス */
  .checkbox-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
  }
  .checkbox-list label {
    flex-direction: row; /* チェックボックスは横並び */
    align-items: center;
    font-size: 0.9rem;
  }
  .checkbox-list input {
    width: 20px; height: 20px; margin-right: 10px;
  }

  /* キャンセルポリシー */
  .policy p {
    font-size: 0.8rem;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 4px;
    line-height: 1.6;
  }

  /* 送信ボタン */
  .thanks-btn {
    display: block;
    width: 100%;
    padding: 20px;
    text-align: center;
    background: #fff;
    color: #0e1b2c;
    font-weight: bold;
    margin-top: 40px;
    text-decoration: none;
  }

  /* --- 4. フッター --- */
.footer {
    padding-top: 50px;
    background: #0e1b2c;
  }

  .footer-inner {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央に寄せる */
    width: 100%;
    padding: 0 20px;
  }

  .footer-logo {
    display: flex;
    flex-direction: column; /* 横並びを解除 */
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 20px;
    gap: 10px;
  }

  .footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
  }

  .footer-left .site-logo {
    width: 80px;
    margin: 0 auto;
    transform: none;
  }

  .footer-left .site-title {
    font-size: 0.7rem;
    margin-top: -10px;
    margin-bottom: 60px;
    text-align: center;
  }

  .footer-name {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .footer-info {
    padding: 0;
    margin-bottom: 30px;
  }

  .footer-info p {
    text-align: center;
    font-size: 12px;
    color: #ccc;
  }

  .footer-catch {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 40px;
  }

  .copyright {
    width: 100vw;
    background-color: #ccc;
    color: #0d1a2b;
    padding: 15px 0;
    text-align: center;
  }
}
/* =================================================
  さらに小さいスマホ用 (480px以下)
   ================================================= */
@media screen and (max-width: 480px) {
  .main-visual .main-text h2 {
    font-size: 4rem;
  }

  .gnavi li {
    margin: 0 5px;
  }
}
