/* =====================================================
   AZUR VOICE — 共通スタイルシート
   style.css
   ===================================================== */

/* ----- リセット & ベース ----- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --main1:   #001E78;   /* ディープブルー */
  --main2:   #FF2F6A;   /* ビビッドピンク */
  --bg:      #F5EFE6;   /* ウォームベージュ */
  --accent1: #F5B400;   /* イエロー */
  --accent2: #0E0E0E;   /* ブラック */
  --white:   #ffffff;
  --font-ja: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-en: 'Montserrat', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  background: var(--bg);
  color: var(--accent2);
  overflow-x: hidden;
  line-height: 1.7;
}

.en { font-family: var(--font-en); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ----- ハンバーガーボタン ----- */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 4px; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; height: 2px; background: #0E0E0E;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- ナビゲーション ----- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: #ffffff;
  padding: 0; height: 70px;
  display: flex; align-items: center;
  box-shadow: 0 4px 20px rgba(0,30,120,0.14);
}
.nav-logo {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; flex-shrink: 0;
  align-self: stretch;
  width: 180px;
  background: #FF2F6A;
  margin-right: auto;
  padding: 0 1rem;
}
.nav-logo img { height: 64px; width: auto; display: block; }
.nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.nav-links a {
  color: #0E0E0E; text-decoration: none;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0 1.1rem; height: 70px;
  display: flex; align-items: center;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 1.1rem; right: 1.1rem;
  height: 3px; background: var(--main2);
  transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover { color: var(--main2); }
.nav-links a:hover::after { transform: scaleX(1); }
/* 現在のページのリンクをアクティブ表示 */
.nav-links a.active { color: var(--main2); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-reserve {
  background: var(--main2); color: var(--white);
  font-family: var(--font-en); font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0 1.6rem; height: 40px;
  display: flex; align-items: center;
  border-radius: 2px; margin-left: 1rem;
  flex-shrink: 0; white-space: nowrap;
  transition: background 0.2s;
}
.nav-reserve:hover { background: #ff5585; }

/* モバイル用CTAタイル（nav-mobile-ctas）はデスクトップでは非表示 */
.nav-mobile-ctas { display: none; }

/* nav-links内のCTAタイル（アイコン＋テキスト・正方形） */
.nav-links a.nav-reserve,
.nav-links a.nav-news {
  color: var(--white);
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0;
  line-height: 1.2;
  margin-left: 0;
  padding: 0;
  width: 70px;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
}
.nav-links a.nav-reserve::after,
.nav-links a.nav-news::after { display: none; }
.nav-links a.nav-reserve svg,
.nav-links a.nav-news svg { width: 22px; height: 22px; }
.nav-links a.nav-reserve:hover { background: #ff5585; color: var(--white); }
.nav-links a.nav-news { background: var(--main1); margin-left: 1.5rem; }
.nav-links a.nav-news:hover { background: #1a35a0; color: var(--white); }

/* ----- セクション共通 ----- */
.section { padding: 2rem 0 1.6rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-en); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--main2); margin-bottom: 0.8rem;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; display: block; width: 24px; height: 2px; background: var(--main2);
}
.section-title {
  font-family: var(--font-en); font-weight: 900;
  font-size: clamp(1.6rem, 3.0vw, 2.6rem);
  color: var(--main1); line-height: 1.15; letter-spacing: -0.01em;
}
/* 左揃えのセクションタイトルにのみ縦バーアクセントを付与 */
.section-header:not(.center) .section-title {
  border-left: 10px solid currentColor;
  padding-left: 0.75rem;
}
.section-title-ja { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 700; color: var(--main1); margin-top: 0.4rem; }
.section-desc { margin-top: 1rem; font-size: 1rem; color: #0E0E0E; max-width: 560px; }
.section-header { margin-bottom: 1.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 1rem auto 0; }
/* 見出し＋説明文を左右に並べるレイアウト */
.section-header.split {
  display: flex;
  align-items: flex-end;
  gap: 3rem;
  justify-content: space-between;
}
.section-header.split .section-title { flex-shrink: 0; }
.section-header.split .section-desc {
  margin-top: 0;
  max-width: none;
  flex: 1;
  padding-bottom: 0.25rem; /* 見出しベースラインに合わせる微調整 */
}
@media (max-width: 768px) {
  .section-header.split {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .section-header.split .section-desc { margin-top: 0.4rem; }
}

/* ----- ボタン共通 ----- */
.btn-main {
  background: var(--main2); color: var(--white);
  font-family: var(--font-en); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.1em; text-decoration: none;
  padding: 1rem 2.4rem; border-radius: 2px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255,47,106,0.4);
}
.btn-main:hover { background: #ff5585; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,47,106,0.5); }
.btn-sub {
  background: var(--accent1); color: var(--accent2);
  font-family: var(--font-en); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.1em; text-decoration: none;
  padding: 1rem 2.4rem; border-radius: 2px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(245,180,0,0.35);
}
.btn-sub:hover { background: #ffc929; transform: translateY(-2px); }

/* ----- フッター ----- */
footer {
  background: var(--bg);
  padding: 2.5rem 3rem 2rem;
  border-top: 1px solid rgba(0,30,120,0.1);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0; list-style: none;
  border-top: 1px solid rgba(0,30,120,0.1);
  padding-top: 1.5rem; margin-top: 1.5rem;
  padding-bottom: 0; margin-bottom: 1.5rem; width: 100%;
}
.footer-links li { display: flex; align-items: center; }
.footer-links li + li::before {
  content: '|'; color: #c0b8ae;
  padding: 0 0.8rem; font-size: 0.75rem;
}
.footer-links a {
  font-size: 0.88rem; color: #0E0E0E;
  text-decoration: none; font-weight: 400;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--main1); }
.footer-copy {
  font-family: var(--font-en); font-size: 0.8rem;
  color: #0E0E0E; letter-spacing: 0.06em;
  margin-top: 0.4rem;
}
.footer-logo {
  display: flex; justify-content: center;
  margin-bottom: 0.5rem;
}
.footer-logo img { height: 77px; width: auto; display: block; }
.footer-trademark {
  font-size: 0.82rem; color: #0E0E0E;
  text-align: center; line-height: 1.8;
}

/* ----- 予約モーダル ----- */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.55);
  align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-card {
  background: var(--white);
  border-radius: 8px;
  width: 100%; max-width: 460px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.4rem;
  background: var(--main1); color: var(--white);
}
.modal-title {
  font-family: var(--font-ja); font-size: 0.95rem; font-weight: 700;
}
.modal-close {
  background: none; border: none; color: var(--white);
  font-size: 1.1rem; cursor: pointer; padding: 0.2rem 0.4rem; line-height: 1;
  opacity: 0.8; transition: opacity 0.15s;
}
.modal-close:hover { opacity: 1; }
.modal-body { padding: 0.25rem 0; }
.modal-store {
  display: flex; flex-direction: column;
  position: relative;
  padding: 0.5rem 3rem 0.5rem 1.4rem;
  text-decoration: none; color: inherit;
  border-bottom: 1px solid rgba(0,30,120,0.08);
  transition: background 0.15s;
}
.modal-store::after {
  content: '›';
  position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  font-size: 1.8rem; font-family: var(--font-en);
  color: var(--main1); opacity: 0.4; line-height: 1;
}
.modal-store:last-child { border-bottom: none; }
.modal-store:hover { background: #f0f4ff; }
.modal-store-name {
  font-family: var(--font-ja); font-weight: 700;
  font-size: 0.9rem; color: var(--main1); margin-bottom: 0.1rem;
}
.modal-store-tel {
  font-family: var(--font-en); font-weight: 700;
  font-size: 1.4rem; color: var(--accent2); letter-spacing: 0.03em;
  text-decoration: underline; text-underline-offset: 3px;
}
.modal-store-hours {
  font-family: var(--font-ja); font-size: 0.78rem;
  color: #666; margin-top: 0.1rem;
}
.modal-note {
  padding: 0.4rem 1.4rem;
  font-family: var(--font-ja); font-size: 0.78rem; color: #666;
  border-top: 1px solid rgba(0,30,120,0.08); text-align: center;
}

/* ----- スクロールリビール ----- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ----- PC幅制限（1300px） ----- */
@media (min-width: 1300px) {
  nav {
    padding-left: calc((100% - 1300px) / 2);
    padding-right: calc((100% - 1300px) / 2);
  }
}

/* ----- レスポンシブ（共通） ----- */
@media (max-width: 768px) {
  html { font-size: 14px; }
  .container { padding: 0 1rem; }
  nav { padding: 0; height: 56px; }
  .nav-hamburger { display: flex; }
  /* モバイル：ナビバー内CTAタイル（常時表示） */
  .nav-mobile-ctas {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
  }
  .nav-mobile-ctas a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 56px;
    height: 56px;
    color: var(--white);
    font-family: var(--font-ja);
    font-weight: 700;
    font-size: 0.72rem;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1.2;
  }
  .nav-mobile-ctas a svg { width: 22px; height: 22px; }
  .nav-mobile-ctas .nav-news { background: var(--main1); }
  .nav-mobile-ctas .nav-reserve { background: var(--main2); margin-left: 0; }
  .nav-hamburger { margin-right: 0.75rem; }
  /* ドロップダウンからCTAを除外 */
  .nav-links li.nav-cta-li { display: none; }
  main { margin-top: 56px !important; }
  .hero { margin-top: 56px !important; }
  .nav-links {
    position: fixed; top: 56px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-bottom: 2px solid rgba(0,30,120,0.08);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.2s ease;
    z-index: 199;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    width: 100%; height: 52px; padding: 0 2rem;
    border-bottom: 1px solid rgba(0,30,120,0.06);
    justify-content: flex-start;
  }
  .nav-logo {
    width: auto;
    padding: 0 1rem;
  }
  .nav-logo img { height: 44px; }
  .nav-reserve {
    height: 36px;
    padding: 0 1rem;
    font-size: 0.85rem;
    margin-left: 0.5rem;
  }
  footer { padding: 2rem 1rem 1.5rem; }
  .section { padding: 2rem 0 1.5rem; }
}
