/* =============================================
   salon em — メインスタイルシート
   ============================================= */

/* ---------- CSS変数（カラーパレット） ---------- */
:root {
  --color-bg:        #FFFFFF;
  --color-bg-soft:   #F8F6F3;
  --color-text:      #2C2C2C;
  --color-text-sub:  #6B6560;
  --color-accent:    #A0937D;
  --color-sage:      #7B8C6E;
  --color-border:    #E8E4DF;
  --color-error:     #b94a48;
  --color-success:   #4a7b6c;

  --font-en: 'Cormorant Garamond', Georgia, serif;
  --font-ja: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;

  --max-width: 1100px;
  --max-width-narrow: 720px;
  --radius: 2px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ---------- コンテナ ---------- */
.container {
  width: min(var(--max-width), 100% - 2.5rem);
  margin-inline: auto;
}
.container--narrow {
  width: min(var(--max-width-narrow), 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- セクション共通 ---------- */
.section {
  padding-block: 5rem;
}
.section:nth-child(even) {
  background: var(--color-bg-soft);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.section-title {
  font-family: var(--font-ja);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text);
  position: relative;
  display: inline-block;
  padding-bottom: 0.8rem;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 1px;
  background: var(--color-accent);
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-ja);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  padding: 0.85em 2.2em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: #8b7d69;
  border-color: #8b7d69;
  outline: none;
}
.btn-submit {
  width: 100%;
  font-size: 1rem;
  padding: 1em 2em;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding-inline: 1.5rem;
  max-width: var(--max-width);
  margin-inline: auto;
}

/* ロゴ */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-en {
  font-family: var(--font-en);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--color-text);
}
.logo-ja {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
}

/* ハンバーガー */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ナビ（モバイル） */
.global-nav {
  display: none;
  position: fixed;
  inset: 64px 0 0;
  background: rgba(255,255,255,0.98);
  padding: 2rem 1.5rem;
  z-index: 99;
}
.global-nav.is-open {
  display: block;
}
.global-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.global-nav ul li {
  border-bottom: 1px solid var(--color-border);
}
.nav-link {
  display: block;
  padding: 1rem 0;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--color-text);
  transition: color var(--transition);
}
.nav-link:hover { color: var(--color-accent); }

/* デスクトップ用ナビ */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .global-nav {
    display: block;
    position: static;
    background: none;
    padding: 0;
    inset: auto;
  }
  .global-nav ul {
    flex-direction: row;
    gap: 2rem;
  }
  .global-nav ul li { border: none; }
  .nav-link { padding: 0; font-size: 0.85rem; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: min(100svh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg);
}

/* 背景画像 */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 252, 248, 0.62);
}

/* 装飾的なサークル */
.hero-deco {
  position: absolute;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.6;
}
.hero-deco--tl {
  width: 300px; height: 300px;
  top: -80px; left: -80px;
}
.hero-deco--br {
  width: 220px; height: 220px;
  bottom: -60px; right: -60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
}
.hero-catch-en {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 6vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.hero-catch-ja {
  font-family: var(--font-ja);
  font-size: clamp(1rem, 3vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--color-text);
  margin-bottom: 2.5rem;
}

/* =============================================
   CONCEPT
   ============================================= */
.concept { background: var(--color-bg); }

.concept-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 900px;
  margin-inline: auto;
}
.concept-photo {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.concept-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.concept-lead {
  font-size: 1.05rem !important;
  font-weight: 500;
  color: var(--color-text) !important;
  margin-bottom: 1.2em;
}
.concept-text p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-text-sub);
  margin-bottom: 1.2em;
}
.concept-text p:last-child { margin-bottom: 0; }
.concept-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.concept-keywords li {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 0.3em 0.9em;
  border-radius: 20px;
}
@media (max-width: 680px) {
  .concept-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .concept-photo { aspect-ratio: 4/3; }
}

/* =============================================
   GALLERY
   ============================================= */
.gallery { background: var(--color-bg-soft); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   MENU
   ============================================= */
.menu { background: var(--color-bg-soft); }

.menu-banner {
  margin-bottom: 2.5rem;
  border-radius: 4px;
  overflow: hidden;
}
.menu-banner img { width: 100%; display: block; }

.menu-list-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 860px;
  margin-inline: auto;
}
@media (max-width: 600px) {
  .menu-list-wrap { grid-template-columns: 1fr; }
}

.menu-item-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 1.4rem 1.4rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.2rem;
  transition: box-shadow var(--transition);
}
.menu-item-card:hover {
  box-shadow: 0 4px 20px rgba(160,147,125,0.12);
}
.menu-item-card__icon {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.menu-item-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.menu-item-card__tag {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--color-sage);
  margin-bottom: 0.5rem;
}
.menu-item-card__title {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: var(--color-text);
}
.menu-item-card__sub {
  font-size: 0.8rem;
  color: var(--color-text-sub);
  margin-top: 0.3rem;
}
.menu-item-card__price {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 0.05em;
}
.menu-item-card__price span {
  font-family: var(--font-ja);
  font-size: 0.72rem;
  color: var(--color-text-sub);
  margin-left: 0.3em;
}

.menu-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
}

/* =============================================
   BOOKING
   ============================================= */
.booking { background: var(--color-bg); }

.booking-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text-sub);
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

/* フォーム */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.required {
  font-size: 0.68rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.1em 0.5em;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
.optional {
  font-size: 0.68rem;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-ja);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.7em 0.9em;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(160,147,125,0.15);
}
.form-input.is-invalid,
.form-select.is-invalid {
  border-color: var(--color-error);
}

.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--color-text-sub);
  pointer-events: none;
}

.form-textarea { resize: vertical; min-height: 100px; }

.form-error {
  font-size: 0.75rem;
  color: var(--color-error);
  min-height: 1em;
}

.form-submit { margin-top: 0.5rem; }

/* 送信メッセージ */
.form-message {
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: center;
}
.form-message--success {
  background: rgba(74,123,108,0.08);
  border: 1px solid rgba(74,123,108,0.3);
  color: var(--color-success);
}
.form-message--error {
  background: rgba(185,74,72,0.06);
  border: 1px solid rgba(185,74,72,0.2);
  color: var(--color-error);
}
[hidden] { display: none !important; }

/* =============================================
   ACCESS
   ============================================= */
.access { background: var(--color-bg-soft); }

.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .access-grid { grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
}

.access-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.access-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.access-item:last-child { border-bottom: none; padding-bottom: 0; }
.access-item__label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  padding-top: 0.15em;
}
.access-item__value {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text-sub);
}

.access-map iframe {
  border: 1px solid var(--color-border);
  display: block;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding-block: 2.5rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-logo {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
}
.footer-address {
  font-size: 0.75rem;
  line-height: 1.7;
}
.footer-copy {
  font-size: 0.72rem;
  margin-top: 0.5rem;
  color: rgba(255,255,255,0.45);
}

/* =============================================
   ユーティリティ
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
