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

:root {
  --bg: #f7f3ee;
  --bg-warm: #fdf9f4;
  --text: #2c2825;
  --text-light: #5a504a;
  --accent: #b8a99a;
  --accent-dark: #8c7b6b;
  --accent-pop: #e8748c;
  --white: #fefefe;
  --card-bg: #fff;
  --serif: 'Noto Serif JP', 'Georgia', serif;
  --display: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --round: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.9;
  font-size: 15px;
  letter-spacing: 0.04em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }

/* ===== Header / Nav ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232, 116, 140, 0.15);
}

nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--text);
}

.logo a { color: inherit; }
.logo img { height: 28px; }

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-light);
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--accent-pop); }

/* ===== Hamburger Menu ===== */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ===== Mobile Menu ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  z-index: 150;
  align-items: center;
  justify-content: center;
}

.mobile-menu.open { display: flex; }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.mobile-menu a {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}

/* ===== Common UI ===== */
.section-label {
  display: inline-block;
  font-family: var(--round);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent-pop);
  background: rgba(232, 116, 140, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  border-radius: 50px;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--accent-pop);
  color: #fff;
  border: 2px solid var(--accent-pop);
}

.btn-primary:hover { background: #d5637a; border-color: #d5637a; }

.btn-outline {
  background: none;
  color: var(--accent-dark);
  border: 2px solid var(--accent);
}

.btn-outline:hover { background: var(--accent-dark); color: var(--white); border-color: var(--accent-dark); }

/* ===== Page Header (sub pages) ===== */
.page-header {
  padding: 140px 30px 60px;
  background: var(--bg);
}

.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.page-header p {
  color: var(--text-light);
  line-height: 2;
}

/* ===== Footer ===== */
footer {
  background: var(--text);
  color: rgba(253, 251, 248, 0.5);
  text-align: center;
  padding: 36px 24px;
  font-size: 12px;
}

footer .logo {
  color: rgba(253, 251, 248, 0.7);
  margin-bottom: 8px;
  font-size: 18px;
}

footer a { color: rgba(253, 251, 248, 0.5); }

/* ===== Fade-in ===== */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive Common ===== */
@media (max-width: 768px) {
  .menu-toggle { display: block; z-index: 200; }
  header { z-index: 200; }
  .nav-links { display: none !important; }
}
