/* ================================================
   style.css
   ================================================ */

/* ----------------------------------------
   1. Reset / Base
   ---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}


/* ----------------------------------------
   2. Variables
   ---------------------------------------- */
:root {
  --color-primary:   #1a1a1a;
  --color-accent:    #b8976a;   /* ゴールド系アクセント：店舗に合わせて変更 */
  --color-bg:        #fff;
  --color-bg-alt:    #f7f5f2;
  --color-text:      #333;
  --color-text-sub:  #888;
  --color-white:     #fff;

  --header-height:   70px;
  --max-width:       1100px;
  --section-padding: 80px;
}

@media (max-width: 768px) {
  :root {
    --header-height:   60px;
    --section-padding: 60px;
  }
}


/* ----------------------------------------
   3. Header
   ---------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* スクロール後に背景色を追加 */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav ul {
  display: flex;
  gap: 28px;
}

.header-nav ul li a {
  color: var(--color-white);
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.header-nav ul li a:hover {
  color: var(--color-accent);
}

.nav-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent) !important;
  font-size: 13px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.nav-btn:hover {
  background: var(--color-accent);
  color: var(--color-white) !important;
}


/* ----------------------------------------
   4. Hamburger
   ---------------------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #36210f;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* open state */
.hamburger.is-open span {
  background: #fff;
}
.hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100dvh;
    background: rgba(26, 26, 26, 0.97);
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 80px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1050;
  }

  .header-nav.is-open {
    transform: translateX(0);
  }

  .header-nav ul {
    flex-direction: column;
    gap: 24px;
  }

  .header-nav ul li a {
    font-size: 16px;
  }

  .nav-btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }
}

/* オーバーレイ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
}

.nav-overlay.is-open {
  display: block;
}


/* ----------------------------------------
   5. Sections - 共通
   ---------------------------------------- */
.section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.section--alt {
  background: var(--color-bg-alt);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  text-align: center;
  margin-bottom: 48px;
}

.section-en {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 14px;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.8;
}


/* ----------------------------------------
   6. Hero
   ---------------------------------------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

/* 変更後 */
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* PC：中央 */
}

@media (max-width: 768px) {
  .hero-bg img {
    object-position: 70% center; /* スマホ：右寄り。数値を上げるほど右に */
  }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(255 255 255 / 0%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  padding: 0 24px;
}

.hero-logo {
  margin-bottom: 40px;
}

.hero-logo img {
  width: clamp(240px, 35vw, 400px);
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(20, 54, 28, 1))
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  font-size: 14px;
  letter-spacing: 0.15em;
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
}

.hero-btn:hover {
  background: var(--color-white);
  color: var(--color-primary);
}


/* ----------------------------------------
   7. About
   ---------------------------------------- */
.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.about-text p {
  margin-bottom: 32px;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .about-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* ----------------------------------------
   8. Menu
   ---------------------------------------- */
.section--bg-img {
  position: relative;
  background-image: url("/images/menu-bg.webp"); /* 背景画像パスを変更 */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* パララックス風。不要なら削除 */
}

.section--bg-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0); /* オーバーレイの濃さを調整 */
}

.section--bg-img .section-inner {
  position: relative;
  z-index: 1;
}

.section--bg-img .section-en {
  color: var(--color-accent);
}

.section--bg-img .section-title {
  color: #14361c;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.menu-card a {
  display: block;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}

.menu-card a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
}

.menu-card-img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.menu-card-body {
  padding: 24px;
}

.menu-num {
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.menu-name {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}

.menu-desc {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 16px;
}

.menu-price {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-accent);
}

.menu-price small {
  font-size: 12px;
  font-weight: 400;
}

@media (max-width: 900px) {
  .menu-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .menu-list {
    grid-template-columns: 1fr;
  }
}


/* ----------------------------------------
   9. Gallery (Swiper coverflow)
   ---------------------------------------- */
#gallery {
  overflow: hidden; /* スライダーのはみ出しを制御 */
  padding-bottom: var(--section-padding);
}

#gallery .section-label {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  margin-bottom: 48px;
}

.gallery-swiper {
  width: 100%;
  padding: 20px 0 40px; /* 上下にスケール分の余白 */
}

.gallery-swiper .swiper-slide {
  width: 480px;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.9s ease, transform 0.9s ease;
  will-change: transform;
}

.gallery-swiper .swiper-slide-active {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.gallery-slide-inner {
  position: relative;
  width: 100%;
}

.gallery-slide-inner img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .gallery-swiper .swiper-slide {
    width: 80vw;
  }
}


/* ----------------------------------------
   10. FAQ
   ---------------------------------------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e0ddd9;
}

.faq-item:first-child {
  border-top: 1px solid #e0ddd9;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
  position: relative;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
}

.faq-icon--a {
  background: var(--color-primary);
}

.faq-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-arrow::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--color-text-sub);
  border-bottom: 1.5px solid var(--color-text-sub);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s;
}

.faq-item.is-open .faq-arrow::after {
  transform: rotate(-135deg) translateY(-2px);
}

.faq-a {
  display: grid;                /* display:noneをやめてgridに */
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  overflow: hidden;
}

.faq-a-inner {                 /* 高さ計算用の内側ラッパー */
  min-height: 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0;           /* paddingをここからなくす */
  font-size: 14px;
  color: var(--color-text-sub);
}
.faq-item.is-open .faq-a-inner {
  padding: 0 0 20px;    /* 開いたときだけpaddingを付ける */
}
.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;     /* display:flexをやめてこちらに */
}


/* ----------------------------------------
   11. Access
   ---------------------------------------- */
.access-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.access-map iframe {
  width: 100%;
  height: 360px;
  border-radius: 4px;
}

.access-shopname {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0ddd9;
}

.access-list {
  margin-bottom: 32px;
}

.access-list li {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #f0ede9;
  font-size: 14px;
}

.access-label {
  flex-shrink: 0;
  width: 80px;
  font-size: 12px;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
  padding-top: 1px;
}

.access-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .access-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}


/* ----------------------------------------
   12. Footer
   ---------------------------------------- */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 32px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.footer-logo img {
    height: 148px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-nav ul li a {
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.footer-nav ul li a:hover {
  color: var(--color-white);
}

.footer-address {
  font-size: 13px;
  line-height: 1.8;
}

.footer-copy {
  font-size: 12px;
  letter-spacing: 0.05em;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  text-align: center;
}


/* ----------------------------------------
   13. Floating CTA
   ---------------------------------------- */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 900;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s, transform 0.2s;
}

.floating-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.floating-btn img {
  width: 20px;
  height: 20px;
}

.floating-btn--line {
  background: #06c755;
  color: #fff;
}

.floating-btn--tel {
  background: var(--color-accent);
  color: #fff;
}

@media (max-width: 480px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
  }

  .floating-btn {
    padding: 10px 14px;
    font-size: 12px;
  }
}