/*
Theme Name: Nature Hair Salon
Theme URI: https://github.com/otou0226/portfolio-salon
Author: Naoto Yamada
Author URI: https://github.com/otou0226
Description: 個人美容室のホームページ制作サンプル。ポートフォリオ用WordPressテーマ。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nature-hair
*/

/* ========== Base ========== */

:root {
  --bg: #FAF8F5;
  --white: #FFFFFF;
  --text: #2D2D2D;
  --text-sub: #5A5A5A;
  --text-muted: #8A8A8A;
  --text-faint: #ADADAD;
  --accent: #7C9082;
  --border: #E8E4DF;
  --surface: #F0EDE8;
  --dark: #2D2D2D;
  --ff-en: 'Cormorant Garamond', serif;
  --ff-jp: 'Noto Sans JP', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { font-family: var(--ff-jp); font-size: 14px; line-height: 1.9; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* Button */
.btn {
  display: inline-block;
  padding: 14px 48px;
  background: var(--dark);
  color: #fff;
  font-family: var(--ff-jp);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1px solid var(--dark);
  transition: background 0.25s, color 0.25s;
}
.btn:hover { background: transparent; color: var(--dark); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--light:hover { background: #fff; color: var(--dark); border-color: #fff; }

/* ========== Header ========== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.header.is-scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 64px;
}

.logo { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.logo-main { font-family: var(--ff-en); font-weight: 300; font-size: 22px; letter-spacing: 0.08em; color: var(--text); }
.logo-sub { font-family: var(--ff-en); font-weight: 300; font-size: 10px; letter-spacing: 0.25em; color: var(--text-muted); }

/* Desktop nav */
.gnav { display: none; align-items: center; gap: 32px; }
.gnav-list { display: flex; gap: 28px; }
.gnav-list a { font-family: var(--ff-en); font-size: 13px; letter-spacing: 0.1em; color: var(--text-muted); transition: color 0.25s; }
.gnav-list a:hover { color: var(--text); }
.gnav-reserve {
  padding: 6px 20px; font-size: 12px; letter-spacing: 0.06em;
  border: 1px solid var(--text); color: var(--text); border-radius: 24px;
  transition: background 0.25s, color 0.25s;
}
.gnav-reserve:hover { background: var(--text); color: #fff; }

.header-reserve {
  display: inline-block; padding: 6px 16px; font-size: 11px; letter-spacing: 0.06em;
  border: 1px solid var(--text); color: var(--text); border-radius: 24px;
  transition: background 0.25s, color 0.25s;
}
.header-reserve:hover { background: var(--text); color: #fff; }

/* Hamburger */
.menu-btn {
  position: relative; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; z-index: 1001;
}
.menu-btn span {
  display: block; position: absolute; left: 10px; width: 24px; height: 1px;
  background: var(--text); transition: all 0.3s;
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-btn.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile nav overlay */
.gnav.is-open {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  position: fixed; inset: 0; background: rgba(250,248,245,0.98); z-index: 999;
}
.gnav.is-open .gnav-list { flex-direction: column; align-items: center; gap: 28px; }
.gnav.is-open .gnav-list a { font-size: 16px; }
.gnav.is-open .gnav-reserve { font-size: 14px; padding: 10px 32px; }

/* ========== Hero ========== */
.hero { position: relative; width: 100%; height: 100vh; height: 100svh; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(30,28,25,0.40); }
.hero-body {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; text-align: center; color: #fff; padding: 0 24px;
}
.hero-open { font-family: var(--ff-en); font-size: 11px; font-weight: 500; letter-spacing: 3px; opacity: 0.8; margin-bottom: 20px; }
.hero-title { font-family: var(--ff-en); font-weight: 300; font-size: 48px; letter-spacing: 0.12em; line-height: 1.2; }
.hero-title span { display: block; font-size: 14px; letter-spacing: 6px; font-weight: 300; opacity: 0.6; margin-top: 4px; }
.hero-catch { font-size: 13px; font-weight: 300; letter-spacing: 3px; opacity: 0.85; margin-top: 16px; margin-bottom: 40px; }
.hero-btn {
  display: inline-block; padding: 14px 48px;
  font-family: var(--ff-en); font-size: 13px; letter-spacing: 2px; color: #fff;
  border: 1px solid rgba(255,255,255,0.5); transition: all 0.25s;
}
.hero-btn:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ========== Sections ========== */
.sec { padding: 80px 0; }
.sec--white { background: var(--white); }
.sec--ig { padding: 60px 0; text-align: center; }
.sec-inner { max-width: 800px; margin: 0 auto; padding: 0 24px; }

.sec-heading { text-align: center; margin-bottom: 48px; font-weight: 300; font-size: 12px; letter-spacing: 1px; color: var(--text-muted); }
.sec-heading span { display: block; font-family: var(--ff-en); font-weight: 300; font-size: 30px; letter-spacing: -0.5px; color: var(--text); margin-bottom: 4px; }

/* ========== Concept ========== */
.concept-grid { display: flex; flex-direction: column; gap: 32px; }
.concept-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.concept-body p { font-size: 14px; line-height: 2.2; color: var(--text-sub); margin-bottom: 16px; }
.concept-body p:last-child { margin-bottom: 0; }
.concept-body .concept-closing { color: var(--text); font-weight: 500; }

/* ========== Menu ========== */
.menu-wrap { max-width: 640px; margin: 0 auto; }
.menu-group { margin-bottom: 36px; }
.menu-group:last-of-type { margin-bottom: 40px; }
.menu-group-title {
  font-family: var(--ff-en); font-weight: 400; font-size: 16px; letter-spacing: 1px; color: var(--text);
  padding-bottom: 8px; border-bottom: 1px solid var(--border); margin-bottom: 0;
}
.menu-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px dotted var(--border);
}
.menu-name { font-size: 14px; }
.menu-name small { margin-left: 10px; font-size: 11px; color: var(--text-muted); font-weight: 300; }
.menu-price { font-family: var(--ff-en); font-size: 15px; white-space: nowrap; margin-left: 16px; }
.menu-price--free { color: var(--accent); font-family: var(--ff-jp); font-size: 14px; font-weight: 500; }
.menu-cta { text-align: center; margin-top: 8px; }

/* ========== Info ========== */
.info-grid { display: flex; flex-direction: column; gap: 32px; }
.info-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.info-table th, .info-table td { padding: 14px 0; font-size: 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.info-table th { width: 80px; font-weight: 500; font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; white-space: nowrap; padding-right: 16px; }
.info-table td a { color: var(--accent); font-weight: 500; transition: opacity 0.25s; }
.info-table td a:hover { opacity: 0.7; }

/* ========== Access ========== */
.access-map { margin-bottom: 20px; }
.access-map iframe { width: 100%; height: 280px; border: 0; }
.access-note { font-size: 13px; line-height: 1.9; color: var(--text-sub); padding: 16px 20px; background: var(--bg); border-left: 2px solid var(--border); }

/* ========== Instagram ========== */
.ig-text { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.ig-link { font-family: var(--ff-en); font-size: 16px; letter-spacing: 0.5px; color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: border-color 0.25s; }
.ig-link:hover { border-color: var(--text); }

/* ========== Footer ========== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 48px 0 24px; }
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
  max-width: 800px; margin: 0 auto; padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { font-family: var(--ff-en); font-weight: 300; font-size: 20px; letter-spacing: 0.5px; color: #fff; }
.footer-logo small { font-size: 10px; letter-spacing: 2px; opacity: 0.5; margin-left: 4px; }
.footer-brand p { font-size: 11px; opacity: 0.5; margin-top: 4px; }
.footer-detail { font-size: 12px; line-height: 2; }
.footer-detail a { transition: opacity 0.25s; }
.footer-detail a:hover { opacity: 0.6; }
.footer-action { display: flex; align-items: center; gap: 16px; }
.footer-copy { text-align: center; font-size: 10px; opacity: 0.3; padding: 20px 24px 0; }

/* ========== Mobile Reserve Bar ========== */
.sp-reserve {
  display: block; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 900;
  background: var(--dark); transform: translateY(100%); transition: transform 0.3s;
}
.sp-reserve.is-visible { transform: translateY(0); }
.sp-reserve a { display: block; text-align: center; padding: 16px; color: #fff; font-size: 13px; letter-spacing: 0.1em; }

/* ========== Fade in ========== */
.fade-in { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ========== Tablet+ (768px) ========== */
@media (min-width: 768px) {
  body { font-size: 15px; }
  .header-inner { height: 72px; padding: 0 40px; }
  .gnav { display: flex; }
  .menu-btn { display: none; }
  .header-reserve { display: none; }

  .hero-title { font-size: 64px; }
  .hero-catch { font-size: 14px; }

  .sec { padding: 100px 0; }
  .sec--ig { padding: 80px 0; }
  .sec-inner { padding: 0 40px; }
  .sec-heading span { font-size: 34px; }

  .concept-grid { flex-direction: row; align-items: center; gap: 48px; }
  .concept-photo { flex: 1; }
  .concept-body { flex: 1; }

  .info-grid { flex-direction: row; gap: 48px; }
  .info-photo { flex: 1; }
  .info-table { flex: 1; }

  .access-map iframe { height: 400px; }

  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; padding: 0 40px 24px; }

  .sp-reserve { display: none; }
}

/* ========== Desktop (1024px) ========== */
@media (min-width: 1024px) {
  .header-inner { padding: 0 80px; }
  .sec { padding: 120px 0; }
  .sec-inner { max-width: 880px; }
  .hero-title { font-size: 72px; }
  .sec-heading span { font-size: 38px; }
}
