/* ===== 共通リセット・変数 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --sakura: #f7c5c5; --sakura-deep: #e8918e; --sakura-light: #fdf0f0;
  --green: #7aab8a; --green-light: #eef5f0; --cream: #fdfaf6;
  --text: #3a3530; --text-muted: #8a807a; --white: #ffffff; --border: #ecdfd9;
}

/* ===== ベース ===== */
body { font-family: 'Noto Sans JP', sans-serif; color: var(--text); background: var(--cream); font-size: 14px; line-height: 1.8; }

/* ===== ヘッダーラッパー ===== */
#header-placeholder {
  position: sticky;
  top: 0;
  z-index: 200;
}

/* ===== ヘッダー2段構造 ===== */

/* 上段：ロゴ＋電話 */
.header-top {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: static;
}

.logo {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  color: var(--sakura-deep);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--sakura-light), var(--green-light));
  border: 2px solid var(--sakura);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-name { font-size: 20px; line-height: 1.2; }
.logo-sub  { font-size: 11px; color: var(--text-muted); font-weight: 400; letter-spacing: 0.05em; font-family: 'Noto Sans JP', sans-serif; }

.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.header-tel:hover { opacity: 0.75; }
.header-tel-label { font-size: 10px; color: var(--text-muted); letter-spacing: 0.05em; }
.header-tel-number { font-family: 'Noto Serif JP', serif; font-size: 22px; font-weight: 600; color: var(--sakura-deep); line-height: 1.2; }
.header-tel-hours  { font-size: 10px; color: var(--text-muted); }

/* 下段：ナビ */
nav {
  background: var(--sakura-deep);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  position: static;
}
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links li a {
  display: block;
  padding: 0 22px;
  height: 46px;
  line-height: 46px;
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* ===== サブページ共通ヒーロー ===== */
.page-hero { background: linear-gradient(135deg, #fdf6f6 0%, #fdf0f0 60%, #f0f7f2 100%); padding: 48px 32px 40px; text-align: center; border-bottom: 1px solid var(--border); }
.page-label { font-size: 11px; color: var(--sakura-deep); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.page-title { font-family: 'Noto Serif JP', serif; font-size: 26px; font-weight: 600; }
.page-sub { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

/* ===== フッター ===== */
footer { background: #3a3530; color: rgba(255,255,255,0.6); text-align: center; padding: 28px 32px; font-size: 12px; }
.footer-logo { font-family: 'Noto Serif JP', serif; font-size: 16px; color: white; margin-bottom: 8px; }
.footer-sns { display: flex; justify-content: center; gap: 20px; margin-top: 16px; }
.footer-sns a {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.7); text-decoration: none; font-size: 13px;
  padding: 6px 14px; border: 1px solid rgba(255,255,255,0.2); border-radius: 20px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-sns a:hover { color: #fff; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }

/* ===== ハンバーガーボタン ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 102;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: var(--sakura-light); }
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--sakura-deep);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== ドロワーメニュー ===== */
.nav-drawer {
  position: fixed;
  top: 119px; /* header-top(73px) + nav(46px) の合計 */
  right: 0;
  width: min(280px, 80vw);
  height: calc(100vh - 119px);
  background: var(--cream);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 150;
  display: none;
  flex-direction: column;
  padding: 24px 0 32px;
  box-shadow: -4px 0 24px rgba(58,53,48,0.08);
}
.nav-drawer.is-open { transform: translateX(0); }
.nav-drawer ul { list-style: none; }
.nav-drawer ul li a {
  display: block;
  padding: 14px 28px;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.nav-drawer ul li:first-child a { border-top: 1px solid var(--border); }
.nav-drawer ul li a:hover,
.nav-drawer ul li a.active { background: var(--sakura-light); color: var(--sakura-deep); }
.nav-drawer-tel {
  margin-top: 24px;
  padding: 0 28px;
  font-size: 15px;
  color: var(--sakura-deep);
  font-weight: 500;
}

/* ===== オーバーレイ ===== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 119px 0 0 0;
  background: rgba(58,53,48,0.25);
  z-index: 140;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

/* ===== レスポンシブ（共通） ===== */
@media (max-width: 767px) {
  .header-top { padding: 12px 16px; }
  .header-tel { display: none; }
  .logo-name { font-size: 16px; }
  .logo-sub  { display: none; }
  nav { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; top: 69px; height: calc(100vh - 69px); }
  .nav-overlay { display: block; inset: 69px 0 0 0; }
}
