/* ============================================================
   ワン・ルベル 共通スタイルシート
   ============================================================ */

/* ── 1. デザイントークン ── */
:root {
  --cream: #FAF6ED;
  --cream-deep: #F2EBD9;
  --mustard: #E8B84B;
  --mustard-light: rgba(232,184,75,0.16);
  --teal: #0097A7;
  --teal-dark: #006978;
  --teal-light: #E0F4F6;
  --text: #3D2B1F;
  --text-light: #8C7560;
  --white: #ffffff;
  --radius-card: 20px;
  --radius-btn: 9999px;
  --shadow-card: 0 4px 20px rgba(61,43,31,0.08);
}

/* ── 2. リセット・ベース ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }
body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── 3. レイアウトユーティリティ ── */
.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 60px;
}
@media (max-width: 768px) {
  .wrap { padding: 0 16px; }
}

/* ── 4. タイポグラフィ ── */
h1 { font-size: 32px; font-weight: 800; line-height: 1.4; }
h2 { font-size: 28px; font-weight: 700; line-height: 1.5; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.5; }
@media (max-width: 768px) {
  h1 { font-size: 24px; }
  h2 { font-size: 22px; }
}

/* ── 5. ボタン ── */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius-btn);
  padding: 12px 32px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  border: 2px solid var(--teal);
  color: var(--teal);
  border-radius: var(--radius-btn);
  padding: 10px 28px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

/* ── 6. カード ── */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

/* ── 7. セクション共通 ── */
.section { padding: 72px 0; }
.section-title {
  font-weight: 800;
  text-align: center; margin-bottom: 12px;
}
.section-lead {
  color: var(--text-light);
  font-size: 0.9375rem;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}
.section-eyebrow {
  font-size: 12px; color: var(--teal);
  letter-spacing: 0.2em; text-transform: uppercase;
  text-align: center; margin-bottom: 8px;
}
@media (max-width: 768px) {
  .section { padding: 48px 0; }
}

/* ── 8. ヘッダー ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,246,237,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232,184,75,0.2);
}
.header-inner {
  display: flex; align-items: center;
  padding: 0 48px; height: 64px;
}
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
}
.header-logo {
  font-size: 18px; font-weight: 800;
  color: var(--text); white-space: nowrap;
  margin: 0 auto;
}
.header-nav {
  display: flex; align-items: center;
  gap: 24px; margin-left: auto;
}
.header-nav a {
  font-size: 14px; color: var(--text);
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--teal); }
@media (max-width: 768px) {
  .header-nav { display: none; }
}

/* ── 9. ハンバーガーボタン ── */
.hamburger {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px;
  width: 36px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) {
  .hamburger { display: flex; }
}

/* ── 10. 左ドロワーメニュー ── */
.drawer-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(61,43,31,0.4); z-index: 200;
}
.drawer-overlay.open { display: block; }

.drawer {
  position: fixed; top: 0; left: -100%; bottom: 0;
  width: 260px; background: var(--white);
  z-index: 201; padding: 72px 0 32px;
  transition: left 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 4px 0 24px rgba(61,43,31,0.12);
}
.drawer.open { left: 0; }
.drawer a:not(.drawer-reserve) {
  display: block; padding: 14px 28px;
  font-size: 15px; font-weight: 700;
  color: var(--text); border-bottom: 1px solid var(--cream-deep);
  transition: background 0.15s;
}
.drawer a:not(.drawer-reserve):hover { background: var(--mustard-light); }
.drawer-reserve {
  margin: 20px 28px 0;
  display: block; text-align: center;
  background: var(--teal); color: var(--white);
  border-radius: var(--radius-btn);
  padding: 12px 0;
  border-bottom: none;
  font-size: 15px; font-weight: 700;
  transition: background 0.15s;
}
.drawer-reserve:hover { background: var(--teal-dark); }

/* ── 11. フッター ── */
.site-footer {
  background: var(--cream-deep);
  padding: 60px 0 80px;
  border-top: 2px solid var(--mustard);
}
.footer-inner {
  display: flex; gap: 48px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-brand h2 {
  font-size: 20px; font-weight: 800; margin-bottom: 12px;
}
.footer-brand p { font-size: 13px; color: var(--text-light); line-height: 2; }
.footer-links { display: flex; gap: 40px; }
.footer-links-group h3 {
  font-size: 12px; color: var(--teal);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-links-group a {
  display: block; font-size: 14px;
  color: var(--text); margin-bottom: 8px;
  transition: color 0.15s;
}
.footer-links-group a:hover { color: var(--teal); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(61,43,31,0.1);
  padding-top: 24px;
}
.footer-copy { font-size: 12px; color: var(--text-light); }
@media (max-width: 768px) {
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 24px; }
}

/* ── 12. オープン告知バナー ── */
.announce-banner {
  background: var(--mustard);
  text-align: center; padding: 10px 16px;
  font-size: 14px; font-weight: 700;
  color: var(--text);
}

/* ── 13. モバイル下部ナビ ── */
.mobile-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--cream-deep);
  box-shadow: 0 -2px 12px rgba(61,43,31,0.08);
  padding: 8px 0 env(safe-area-inset-bottom);
}
@media (max-width: 768px) {
  .mobile-bottom-nav { display: flex; }
}
.mobile-bottom-nav a {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  font-size: 10px; color: var(--text-light);
  padding: 6px 4px; transition: color 0.15s;
}
.mobile-bottom-nav a:first-child {
  background: var(--teal); color: var(--white);
}
.mobile-bottom-nav a:first-child:hover { background: var(--teal-dark); }
.mobile-bottom-nav a:not(:first-child):hover { color: var(--teal); }
.mobile-bottom-nav .nav-icon { font-size: 18px; }

/* ── 14. フェードインアニメーション ── */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =====================
   ブロブ装飾（ページ端）
===================== */
@keyframes blobMorph {
  0%   { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  33%  { border-radius: 40% 60% 30% 70% / 60% 30% 70% 40%; }
  66%  { border-radius: 70% 30% 50% 50% / 40% 60% 40% 60%; }
  100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
}

.blob-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blob-edge {
  position: absolute;
  pointer-events: none;
  animation: blobMorph 10s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.blob-edge.blob-visible { opacity: 1; }

.blob-edge--mustard {
  background: var(--mustard);
  opacity: 0.15;
}
.blob-edge--mustard.blob-visible { opacity: 0.15; }

.blob-edge--teal {
  background: var(--teal-light);
  opacity: 0.55;
}
.blob-edge--teal.blob-visible { opacity: 0.55; }

/* サイズバリアント */
.blob-edge--lg { width: 300px; height: 300px; }
.blob-edge--md { width: 220px; height: 220px; }
.blob-edge--sm { width: 160px; height: 160px; }

/* 位置バリアント（ページ端にはみ出す） */
.blob-edge--right { right: -100px; animation-direction: normal; }
.blob-edge--left  { left: -100px;  animation-direction: reverse; }

@media (max-width: 768px) {
  .blob-edge { display: none; }
}

/* ── 15. ページヒーロー（サブページ用） ── */
.page-hero {
  padding: 120px 0 48px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--teal-light) 100%);
  text-align: center;
}
.page-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: var(--text-light); font-size: 14px; }
@media (max-width: 768px) {
  .page-hero { padding: 96px 0 36px; }
  .page-hero h1 { font-size: 24px; }
}
