/* ========================================
    CSS 変数（カラーパレット）
======================================== */
:root {
    --color-bg: #FDFBF7; /* オフホワイト */
    --color-text: #4A4A4A; /* ダークグレー */
    --color-primary: #D4C4B7; /* くすみベージュ */
    --color-accent: #BFA596; /* 濃いめのベージュ */
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --header-height: 70px;
}

/* ========================================
    リセット・ベーススタイル
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--color-accent);
}

.section-title span {
    display: block;
    font-size: 0.8rem;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    margin-top: 5px;
    color: var(--color-text);
}

/* ========================================
    ヘッダー・ナビゲーション
======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(253, 251, 247, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li a {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* ハンバーガーメニュー（スマホ用） */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: 0.3s;
}

/* ========================================
    ヒーローセクション（メインビジュアル）
======================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: #1F1F1D;
    padding-top: var(--header-height);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    animation: heroZoom 16s ease-out forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.06);
    }
    to {
        transform: scale(1);
    }
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(253, 251, 247, 0.45) 0%,
        rgba(253, 251, 247, 0.35) 45%,
        rgba(253, 251, 247, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #333;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-reserve {
    display: inline-block;
    background-color: var(--color-accent);
    color: #fff;
    padding: 15px 40px;
    font-size: 1rem;
    letter-spacing: 0.1em;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.btn-reserve:hover {
    background-color: #a68c7e;
    color: #fff;
}

/* ========================================
    店主紹介 (ABOUT)
======================================== */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 5px;
    width: 100%;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.about-text p.title {
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.about-text p.desc {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* ========================================
    ハンドモデル画像 (GALLERY)
======================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ========================================
    料金表 (MENU)
======================================== */
.menu-category {
    margin-bottom: 40px;
}

.menu-category h3 {
    font-size: 1.2rem;
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.menu-list {
    list-style: none;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 5px;
}

.menu-name {
    font-weight: 500;
}

.menu-price {
    font-family: var(--font-serif);
}

.menu-note {
    font-size: 0.8rem;
    color: #777;
    display: block;
}

/* ========================================
    アクセス・カレンダー (ACCESS)
======================================== */
.access-container {
    display: flex;
    gap: 40px;
}

.access-info {
    flex: 1;
}

.info-list {
    list-style: none;
    margin-bottom: 30px;
}

.info-list li {
    margin-bottom: 15px;
    display: flex;
}

.info-list li strong {
    width: 100px;
    flex-shrink: 0;
    font-weight: 500;
}

.access-map {
    flex: 1;
}

.access-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 5px;
}

/* 休日カレンダー枠（テキストベース） */
.calendar-box {
    background-color: #fff;
    padding: 20px;
    border: 1px solid var(--color-primary);
    border-radius: 5px;
}
.calendar-box h4 {
    margin-bottom: 10px;
    text-align: center;
}

/* ========================================
    予約 (RESERVATION)
======================================== */
.reservation-wrapper {
    background-color: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.reservation-wrapper p {
    margin-bottom: 30px;
}

/* ==========================================================================
   Sample Floating Bar
   ========================================================================== */
.sample-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background-color: rgba(28, 28, 28, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #F4F4F2;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.45s ease,
              visibility 0.45s ease;
}

.sample-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.sample-bar.is-dismissed {
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
}

.sample-bar__inner {
  max-width: 1240px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sample-bar__text {
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.sample-bar__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
}

.sample-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-radius: 2px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sample-bar__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #FFFFFF;
}

.sample-bar__btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.14);
}

.sample-bar__btn--solid {
  background-color: #FFFFFF;
  color: #222222;
  border: 1px solid #FFFFFF;
  font-weight: 500;
}

.sample-bar__btn--solid:hover {
  background-color: #EAEAE6;
  border-color: #EAEAE6;
}

.sample-bar__close {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
  transition: color 0.25s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.sample-bar__close:hover {
  color: #FFFFFF;
}

.sample-bar__close svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 768px) {
  .sample-bar {
    padding: 12px 32px;
  }

  .sample-bar__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }

  .sample-bar__text {
    font-size: 0.8125rem;
    text-align: left;
  }

  .sample-bar__actions {
    width: auto;
    gap: 12px;
  }

  .sample-bar__btn {
    padding: 9px 18px;
    font-size: 0.8125rem;
  }
}

/* ========================================
    フッター
======================================== */
footer {
    background-color: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

footer p {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* ========================================
    レスポンシブデザイン (スマホ対応)
======================================== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(253, 251, 247, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    /* ハンバーガーのアニメーション */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .about-container {
        flex-direction: column;
    }
    
    .access-container {
        flex-direction: column;
    }
}