/* =====================================================
   リレア公式サイト スタイルシート
   （色を変えたいときは、下の :root の色コードを変更）
   ===================================================== */
:root {
  --cream: #faf6ef;        /* ページ全体の背景 */
  --cream-deep: #f3ecdf;   /* 色つきセクションの背景 */
  --ink: #4a4238;          /* 基本の文字色 */
  --ink-soft: #7c7264;     /* 薄めの文字色 */
  --gold: #a8894e;         /* アクセント（金） */
  --gold-soft: #c9b489;
  --lavender: #8d7fa4;     /* アクセント（ロゴの紫） */
  --lavender-deep: #5d5273;
  --white: #fffdf9;
  --line: #06c755;         /* LINEグリーン */
  --hp: #e05a3a;           /* ホットペッパー系オレンジ */
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --italic: "Cormorant Garamond", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.9;
  font-size: 15px;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- ふわっと表示 ---------- */
.reveal, .section__head, .about__lead, .hero__inner {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.is-visible { opacity: 1; transform: none; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  transition: box-shadow 0.4s ease;
}
/* 背景のすりガラス効果は擬似要素に置く。
   header本体にbackdrop-filterを付けると、中の全画面メニュー(position:fixed)が
   ヘッダー内に閉じ込められて表示が壊れるため */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 246, 239, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.4s ease;
}
.header.is-scrolled { box-shadow: 0 1px 20px rgba(74, 66, 56, 0.08); }
.header.is-scrolled::before { opacity: 1; }
.header__brand { display: flex; flex-direction: column; line-height: 1.3; }
.header__brand-en { font-family: var(--italic); font-style: italic; font-size: 22px; letter-spacing: 0.22em; color: var(--gold); }
.header__brand-ja { font-size: 10px; letter-spacing: 0.14em; color: var(--ink-soft); }
.header__nav { display: flex; align-items: center; gap: 26px; font-size: 13px; }
.header__nav a { position: relative; padding: 4px 0; }
.header__nav a:not(.header__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.35s ease;
}
.header__nav a:not(.header__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta {
  background: var(--lavender-deep); color: var(--white);
  padding: 9px 22px; border-radius: 999px; letter-spacing: 0.1em;
  transition: background 0.3s ease;
}
.header__cta:hover { background: var(--lavender); }
.header__burger { display: none; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background: url("../images/hero.jpg") center 60% / cover no-repeat;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(250, 246, 239, 0.96) 0%, rgba(250, 246, 239, 0.82) 38%, rgba(250, 246, 239, 0.18) 75%, rgba(250, 246, 239, 0) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: 120px 24px 80px; max-width: 1100px; margin: 0 auto; width: 100%; }
.hero__en { font-family: var(--italic); font-style: italic; font-size: 15px; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 18px; }
.hero__catch {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 5.6vw, 52px); line-height: 1.7; letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.hero__sub { font-size: clamp(13px, 1.8vw, 16px); color: var(--ink-soft); letter-spacing: 0.12em; margin-bottom: 28px; }
.hero__info { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 34px; }
.hero__info span { display: flex; align-items: center; gap: 7px; }
.hero__info span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; right: 22px; bottom: 20px; z-index: 1;
  writing-mode: vertical-rl; font-family: var(--italic); font-style: italic;
  font-size: 12px; letter-spacing: 0.3em; color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px;
}
.hero__scroll span { width: 1px; height: 52px; background: linear-gradient(var(--gold), transparent); display: block; animation: drop 2.2s ease infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: 999px; font-size: 14px; letter-spacing: 0.08em;
  transition: transform 0.25s ease, box-shadow 0.25s ease; text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(74, 66, 56, 0.16); }
.btn--tel { background: var(--white); border: 1px solid var(--gold-soft); color: var(--ink); }
.btn--tel .btn__label { font-size: 11px; color: var(--gold); letter-spacing: 0.16em; }
.btn--tel .btn__num { font-size: 19px; font-weight: 700; letter-spacing: 0.06em; }
.btn--hp { background: var(--lavender-deep); color: var(--white); }

/* ---------- セクション共通 ---------- */
.section { padding: 96px 24px; max-width: 1100px; margin: 0 auto; }
.section--tinted { max-width: none; background: var(--cream-deep); }
.section--tinted > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 52px; }
.section__en { font-family: var(--italic); font-style: italic; font-size: 14px; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 8px; }
.section__title { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3.4vw, 32px); letter-spacing: 0.14em; }
.section__title::after { content: ""; display: block; width: 44px; height: 1px; background: var(--gold); margin: 18px auto 0; }

/* ---------- リレアについて ---------- */
.about__lead {
  font-family: var(--serif); text-align: center;
  font-size: clamp(17px, 2.4vw, 22px); line-height: 2.2; letter-spacing: 0.1em;
  margin-bottom: 36px; color: var(--lavender-deep);
}
.about__body { max-width: 680px; margin: 0 auto 64px; display: grid; gap: 20px; color: var(--ink); }
.about__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { background: var(--white); border: 1px solid rgba(168, 137, 78, 0.22); border-radius: 4px; padding: 34px 26px 30px; position: relative; }
.feature::before { content: ""; position: absolute; top: 10px; left: 10px; right: 10px; bottom: 10px; border: 1px solid rgba(141, 127, 164, 0.14); border-radius: 2px; pointer-events: none; }
.feature__num { font-family: var(--italic); font-style: italic; font-size: 26px; color: var(--gold-soft); line-height: 1; margin-bottom: 14px; }
.feature__title { font-family: var(--serif); font-size: 17px; letter-spacing: 0.08em; margin-bottom: 10px; }
.feature__text { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- メニュー ---------- */
.menu__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.menucard { background: var(--white); border-radius: 6px; overflow: hidden; box-shadow: 0 4px 26px rgba(74, 66, 56, 0.07); display: flex; flex-direction: column; }
.menucard__imgwrap { aspect-ratio: 16 / 8.4; overflow: hidden; }
.menucard__imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.menucard:hover .menucard__imgwrap img { transform: scale(1.05); }
.menucard__body { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.menucard__cat { font-family: var(--serif); font-size: 20px; letter-spacing: 0.1em; margin-bottom: 6px; color: var(--lavender-deep); }
.menucard__cat::after { content: ""; display: block; width: 30px; height: 1px; background: var(--gold); margin-top: 8px; }
.menucard__desc { font-size: 13px; color: var(--ink-soft); margin: 12px 0 16px; }
.menucard__items { display: grid; gap: 9px; }
.menucard__items li { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; }
.menucard__leader { flex: 1; border-bottom: 1px dotted rgba(124, 114, 100, 0.5); transform: translateY(-4px); }
.menucard__price { font-weight: 700; color: var(--gold); white-space: nowrap; }
.menucard__note { font-size: 11.5px; color: var(--ink-soft); margin-top: 12px; }
.menu__note { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin-top: 34px; }
.menu__more { text-align: center; margin-top: 22px; }

/* ---------- お客様の声 ---------- */
.voice__lead { text-align: center; color: var(--ink-soft); margin: -28px 0 44px; font-size: 14px; }
.voice__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.voicecard { background: var(--white); border-radius: 6px; padding: 30px 26px; position: relative; box-shadow: 0 4px 22px rgba(74, 66, 56, 0.06); }
.voicecard::before { content: "\201C"; font-family: var(--italic); font-size: 64px; line-height: 1; color: rgba(168, 137, 78, 0.28); position: absolute; top: 12px; left: 18px; }
.voicecard__tag { display: inline-block; font-size: 11px; letter-spacing: 0.12em; color: var(--lavender-deep); border: 1px solid rgba(141, 127, 164, 0.4); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; position: relative; }
.voicecard__text { font-size: 13.5px; line-height: 2; }
.voice__note { text-align: center; font-size: 11.5px; color: var(--ink-soft); margin-top: 28px; }

/* ---------- 店内 ---------- */
.gallery__lead { text-align: center; color: var(--ink-soft); margin: -28px 0 44px; font-size: 14px; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery__item { border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.gallery__item:hover img { transform: scale(1.06); }

/* ---------- ご来店の流れ ---------- */
.flow__steps { max-width: 720px; margin: 0 auto; display: grid; gap: 0; }
.flowstep { display: flex; gap: 26px; padding: 30px 8px; position: relative; }
.flowstep + .flowstep { border-top: 1px solid rgba(168, 137, 78, 0.25); }
.flowstep__num { font-family: var(--italic); font-style: italic; font-size: 30px; color: var(--gold); line-height: 1.2; min-width: 48px; }
.flowstep__title { font-family: var(--serif); font-size: 17px; letter-spacing: 0.08em; margin-bottom: 6px; }
.flowstep__text { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq__list { max-width: 720px; margin: 0 auto; display: grid; gap: 14px; }
.faqitem { background: var(--white); border-radius: 4px; padding: 0 24px; box-shadow: 0 2px 14px rgba(74, 66, 56, 0.05); }
.faqitem summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 14px;
  padding: 19px 0; font-size: 14.5px; font-weight: 500; position: relative;
}
.faqitem summary::-webkit-details-marker { display: none; }
.faqitem summary::after { content: "＋"; margin-left: auto; color: var(--gold); transition: transform 0.3s ease; }
.faqitem[open] summary::after { transform: rotate(45deg); }
.faqitem__q { font-family: var(--italic); font-style: italic; font-size: 20px; color: var(--lavender); }
.faqitem__a { padding: 2px 0 20px 34px; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- アクセス ---------- */
.access__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
.access__map { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: 0 4px 26px rgba(74, 66, 56, 0.09); }
.access__map iframe { width: 100%; height: 100%; border: 0; }
.access__name { font-family: var(--serif); font-size: 19px; letter-spacing: 0.08em; margin-bottom: 8px; }
.access__address { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 20px; }
.access__dl { display: grid; gap: 10px; margin-bottom: 22px; }
.access__dl div { display: flex; gap: 16px; font-size: 13.5px; }
.access__dl dt { min-width: 74px; color: var(--gold); letter-spacing: 0.08em; }
.access__dl a { border-bottom: 1px solid var(--gold-soft); }
.access__list { display: grid; gap: 7px; font-size: 13px; color: var(--ink-soft); }
.access__list li { display: flex; gap: 9px; }
.access__list li::before { content: "―"; color: var(--gold-soft); flex-shrink: 0; }

/* ---------- 予約 ---------- */
.reserve { max-width: none; background: linear-gradient(160deg, var(--lavender-deep), #453c58); color: var(--white); }
.reserve > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.reserve .section__en { color: var(--gold-soft); }
.reserve .section__title { color: var(--white); }
.reserve .section__title::after { background: var(--gold-soft); }
.reserve__lead { text-align: center; margin: -24px auto 44px; font-size: 14px; color: rgba(255, 253, 249, 0.85); line-height: 2.2; }
.reserve__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 860px; }
.reserve__card {
  background: rgba(255, 253, 249, 0.07); border: 1px solid rgba(255, 253, 249, 0.22);
  border-radius: 8px; padding: 26px 28px; display: flex; flex-direction: column; gap: 4px;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.reserve__card:hover { background: rgba(255, 253, 249, 0.13); transform: translateY(-3px); }
.reserve__card-title { font-size: 12px; letter-spacing: 0.18em; color: var(--gold-soft); }
.reserve__card-main { font-family: var(--serif); font-size: 20px; letter-spacing: 0.06em; }
.reserve__card-sub { font-size: 12px; color: rgba(255, 253, 249, 0.7); }
.reserve__card--tel:hover { border-color: var(--gold-soft); }
.reserve__card--line:hover { border-color: var(--line); }
.reserve__card--insta:hover { border-color: #d6689c; }
.reserve__card--hp:hover { border-color: var(--hp); }

/* ---------- フッター ---------- */
.footer { text-align: center; padding: 56px 24px 120px; }
.footer__brand { font-family: var(--italic); font-style: italic; font-size: 26px; letter-spacing: 0.24em; color: var(--gold); margin-bottom: 6px; }
.footer__name { font-size: 13px; letter-spacing: 0.1em; }
.footer__address { font-size: 12px; color: var(--ink-soft); margin: 4px 0 18px; }
.footer__copy { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.1em; }

/* ---------- 追従予約バー（スマホ） ---------- */
.stickybar { display: none; }

/* =====================================================
   スマホ表示（768px以下）
   ===================================================== */
@media (max-width: 768px) {
  body { font-size: 14px; }

  /* ヘッダー：ハンバーガー */
  .header { padding: 12px 16px; background: rgba(250, 246, 239, 0.94); }
  .header__burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; background: none; border: none; cursor: pointer; align-items: center; z-index: 120;
  }
  .header__burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: transform 0.3s ease, opacity 0.3s ease; }
  .nav-open .header__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-open .header__burger span:nth-child(2) { opacity: 0; }
  .nav-open .header__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .header__nav {
    position: fixed; inset: 0; background: var(--cream);
    flex-direction: column; justify-content: center; gap: 20px; font-size: 16px;
    opacity: 0; pointer-events: none; transition: opacity 0.35s ease; z-index: 110;
  }
  .nav-open .header__nav { opacity: 1; pointer-events: auto; }
  .nav-open { overflow: hidden; }

  .hero { min-height: 88svh; }
  .hero__bg { background-position: 72% center; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(250,246,239,0.94) 0%, rgba(250,246,239,0.78) 55%, rgba(250,246,239,0.3) 100%); }
  .hero__inner { padding: 110px 22px 90px; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }

  .section { padding: 68px 20px; }
  .about__features { grid-template-columns: 1fr; gap: 16px; }
  .menu__grid { grid-template-columns: 1fr; gap: 22px; }
  .voice__grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .flowstep { gap: 18px; padding: 24px 2px; }
  .access__grid { grid-template-columns: 1fr; gap: 28px; }
  .reserve__grid { grid-template-columns: 1fr; }

  /* 追従予約バー */
  .stickybar {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    box-shadow: 0 -4px 18px rgba(74, 66, 56, 0.14);
  }
  .stickybar__item {
    padding: 15px 4px calc(15px + env(safe-area-inset-bottom, 0px));
    text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: #fff;
  }
  .stickybar__item--tel { background: var(--gold); }
  .stickybar__item--line { background: var(--line); }
  .stickybar__item--hp { background: var(--lavender-deep); }
}
