/* ============================================================
   style.css — and-A Group
   リセット / 変数 / 共通レイアウト / ヘッダー / フッター / Ticker
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Colors — 白ベース・ラグジュアリー */
  --color-bg:        #ffffff;
  --color-surface:   #f8f7f5;
  --color-white:     #ffffff;
  --color-text:      #1c1c1a;
  --color-text-sub:  #5c5852;
  --color-muted:     #a8a49e;
  --color-accent:    #9a8c7a;      /* AVEDAライク・ウォームグレージュ */
  --color-accent-lt: #c8bfb3;
  --color-border:    #eeebe6;
  --color-border-dk: #d8d4ce;

  /* Header */
  --header-h:        72px;
  --header-h-sm:     60px;

  /* Type */
  --font-display:    'Cormorant Garamond', 'Noto Serif JP', serif;
  --font-body:       'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-serif-jp:   'Noto Serif JP', serif;

  /* Easing */
  --ease-smooth:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-w:           1280px;
  --side-pad:        clamp(20px, 5vw, 80px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--side-pad);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.5s var(--ease-smooth),
              box-shadow 0.5s var(--ease-smooth),
              height 0.4s var(--ease-smooth);
}

/* 透明（動画の上） */
.site-header.is-top {
  background: transparent;
  box-shadow: none;
}

/* スクロール後: 白背景 */
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--color-border);
  height: var(--header-h-sm);
}

/* スクロール後のCTAボタン — 白文字を維持 */
.site-header.is-scrolled .cta-link {
  color: #fff !important;
  background: #800000;
  border-color: #800000;
}

/* スクロール後のハンバーガー */
.site-header.is-scrolled .hamburger span {
  background: var(--color-text);
}

/* ============================================================
   スマホヘッダーボタン（B案：丸アイコンのみ）
   ============================================================ */
.sp_area_btn {
  display: none;
  align-items: center;
  gap: 8px;
}

.sp-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
  text-decoration: none;
}

.sp-btn:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.sp-btn--insta {
  background: #f0ede8;
  color: #1a1a1a;
}

.sp-btn--tel {
  background: #800000;
  color: #fff;
}

.sp-btn--menu {
  background: #1a1a1a;
  color: #fff;
}

/* 動画上（is-top）では背景を半透明に */
.site-header.is-top .sp-btn--insta {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

@media (max-width: 900px) {
  .sp_area_btn { display: flex; }
  .header-nav { display: none; }
  .hamburger { display: none; }
}

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

/* ロゴ — 動画上では白反転 */
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-logo img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.5s var(--ease-smooth);
}

.site-header.is-scrolled .header-logo img {
  filter: none;
}

/* ナビ — 動画上では白文字 */
.header-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 36px);
}

.nav-link {
  font-family: var(--font-body);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.3s, opacity 0.3s;
  white-space: nowrap;
  position: relative;
  padding-bottom: 3px;
}

/* スクロール後: 白背景・黒文字 */
.site-header.is-scrolled .nav-link {
  color: var(--color-text);
}

/* ハンバーガーも動画上は白 */
.hamburger span {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.35s var(--ease-smooth), opacity 0.25s, background 0.5s;
  transform-origin: center;
}

.site-header.is-scrolled .hamburger span {
  background: var(--color-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

/* ONLINE SHOP ボタン型 */
.cta-link {
  color: #fff !important;
  background: #800000;
  border: 1px solid #800000;
  padding: 6px 16px;
  border-radius: 2px;
  letter-spacing: 0.1em;
  transition: background 0.25s, color 0.25s, border-color 0.25s !important;
}

.cta-link::after {
  display: none !important;
}

.cta-link:hover {
  background: #9a0000;
  border-color: #9a0000;
  color: #fff !important;
}

/* ============================================================
   HAMBURGER (モバイル)
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  z-index: 200;
}

.hamburger span {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.9); /* 動画上は白 */
  transition: transform 0.35s var(--ease-smooth),
              opacity 0.25s,
              background 0.5s;
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-smooth);
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: clamp(24px, 7vw, 40px);
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--color-text-sub);
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--color-text);
}

/* ============================================================
   INFO TICKER
   ============================================================ */
.info-ticker {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  height: 40px;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
}

.ticker-label {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  padding-inline: var(--side-pad);
  padding-right: 20px;
  border-right: 1px solid var(--color-border-dk);
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  padding-left: 24px;
}

.ticker-content {
  display: flex;
  gap: 80px;
  white-space: nowrap;
  animation: ticker-scroll 28s linear infinite;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1a1a1a;
  border-top: 3px solid #800000;
}

/* ---------- フッター上部 ---------- */
.footer-top {
  padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
}

.footer-top-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--side-pad);
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* ブランドエリア */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-tagline {
  font-family: var(--font-display);
  font-size: 11px;
  font-style: italic;
  letter-spacing: 0.22em;
  color: #fff;
}

.footer-catch {
  font-family: var(--font-serif-jp);
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 0.1em;
  line-height: 1.9;
  color: #aaa;
}

/* ナビリンク */
.footer-nav-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr 1fr;
  gap: 24px 16px;
}

.footer-nav-head {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #800000;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-list a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.footer-nav-list a:hover {
  color: #fff;
}

/* CTAエリア */
.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-cta-text {
  font-family: var(--font-serif-jp);
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: #aaa;
}

.footer-cta-btn {
  display: block;
  background: #800000;
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 13px 16px;
  text-align: center;
  text-decoration: none;
  transition: background 0.25s;
  line-height: 1.5;
}

.footer-cta-btn:hover {
  background: #9a0000;
}

/* ---------- フッター下部 ---------- */
.footer-bottom {
  border-top: 1px solid #2d2d2d;
  padding: 18px 0;
}

.footer-bottom-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #555;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: #888;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .hamburger  { display: flex; }

  .site-header {
    height: var(--header-h-sm);
  }

  .footer-top-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-nav-wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 店舗列は全幅 */
  .footer-nav-wrap .footer-nav-col:nth-child(2) {
    grid-column: 1 / -1;
  }

  /* 店舗リンクは折り返しを許可 */
  .footer-nav-wrap .footer-nav-col:nth-child(2) .footer-nav-list a {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}

@media (max-width: 480px) {
  .ticker-label { display: none; }

  /* さらに狭い画面では全列1カラム */
  .footer-nav-wrap {
    grid-template-columns: 1fr;
  }

  .footer-nav-wrap .footer-nav-col:nth-child(2) {
    grid-column: 1;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   スマホ電話リスト
   ============================================================ */
/* ============================================================
   スマホ電話リスト（オーバーレイ）
   ============================================================ */

.sp_phone {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.98);
  z-index: 200;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.sp_phone.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sp_phone ul {
  list-style: none;
  padding: 60px 0 40px;
}

.sp_phone ul li {
  border-bottom: 1px solid var(--color-border);
}

/* 各店舗リンク */
.sp_phone ul li a {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px 20px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.sp_phone ul li a img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* 店舗名・電話・時間をまとめるdiv */
.sp_phone ul li a .sp-phone-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp_phone ul li a .sp-phone-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
}

.sp_phone ul li a .sp-phone-tel {
  font-size: 15px;
  font-weight: 700;
  color: #800000;
  letter-spacing: 0.06em;
}

.sp_phone ul li a .sp-phone-hours {
  font-size: 10px;
  color: var(--color-muted);
  font-weight: 400;
  line-height: 1.6;
  margin-top: 2px;
}

/* 閉じるボタン */
.sp_phone ul li#sp_phone_close {
  text-align: center;
  padding: 18px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #1a1a1a;
  cursor: pointer;
  border-bottom: none;
  position: sticky;
  bottom: 0;
}