/* ============================================================
   Lumière Beauty Salon — CSS
   Color Palette:
     --cream:      #FAF7F2
     --beige:      #F5EDE0
     --beige-mid:  #EDE6DC
     --taupe:      #8B7355
     --taupe-dark: #6B5B4E
     --brown-light:#C9B8A8
     --text:       #3A2E26
     --text-mid:   #6B5B4E
     --text-light: #9A8B7A
   ============================================================ */

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

/* ── Image helpers ── */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-med);
}

.about-img-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-med);
}

.gallery-item:hover img { transform: scale(1.04); }

:root {
  --cream: #FAF7F2;
  --beige: #F5EDE0;
  --beige-mid: #EDE6DC;
  --beige-dark: #E0D6C8;
  --taupe: #8B7355;
  --taupe-dark: #6B5B4E;
  --taupe-light: #B0977E;
  --brown-light: #C9B8A8;
  --text: #3A2E26;
  --text-mid: #6B5B4E;
  --text-light: #9A8B7A;
  --white: #FFFFFF;
  --header-h: 80px;
  --section-gap: 100px;
  --transition: 200ms ease;
  --transition-med: 300ms ease;
  --shadow-sm: 0 2px 12px rgba(107, 91, 78, 0.08);
  --shadow-md: 0 4px 24px rgba(107, 91, 78, 0.12);
  --shadow-lg: 0 8px 40px rgba(107, 91, 78, 0.16);
}

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

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ── Section Padding ── */
.section-padding {
  padding: var(--section-gap) 0;
}

/* ── Section Labels / Headings ── */
.section-label {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: 0.8125rem;
  letter-spacing: 0.3em;
  color: var(--taupe);
  margin-bottom: 16px;
  text-align: left;
}

.section-heading {
  font-family: 'Noto Serif JP', 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.section-heading.center,
.section-label.center {
  text-align: center;
}

.section-desc {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 48px;
}

.section-desc.center { text-align: center; }

/* ======================================================
   HEADER
   ====================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background-color: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 115, 85, 0.12);
  transition: box-shadow var(--transition-med), background-color var(--transition-med);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: rgba(250, 247, 242, 0.97);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  cursor: pointer;
  transition: opacity var(--transition);
}

.logo:hover { opacity: 0.75; }
.logo:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 4px;
  border-radius: 2px;
}

.logo-main {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  font-size: 1.75rem;
  font-style: italic;
  font-weight: 500;
  color: var(--taupe-dark);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.5625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 400;
  line-height: 1;
  margin-top: 2px;
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-mid);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--taupe);
  transition: width var(--transition-med);
}

.nav-link:hover { color: var(--taupe-dark); }
.nav-link:hover::after { width: 100%; }
.nav-link:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Nav CTA button */
.nav-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background-color: var(--taupe);
  color: var(--white);
  border-radius: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
  transition: background-color var(--transition), opacity var(--transition);
  cursor: pointer;
  min-width: 120px;
  text-align: center;
}

.nav-cta:hover { background-color: var(--taupe-dark); }
.nav-cta:focus-visible {
  outline: 2px solid var(--taupe-dark);
  outline-offset: 2px;
}

.nav-cta-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  margin-top: 3px;
  display: block;
  font-style: normal;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: opacity var(--transition);
}

.hamburger:hover { opacity: 0.7; }
.hamburger:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 2px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--taupe-dark);
  transition: transform var(--transition-med), opacity var(--transition-med);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Mobile Nav ── */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  right: -100%;
  width: 280px;
  height: calc(100vh - var(--header-h));
  background-color: var(--cream);
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  gap: 8px;
  transition: right var(--transition-med);
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(107, 91, 78, 0.1);
}

.mobile-nav.open { right: 0; }

.mobile-nav-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-mid);
  padding: 14px 0;
  border-bottom: 1px solid var(--beige-mid);
  transition: color var(--transition);
  cursor: pointer;
  display: block;
}

.mobile-nav-link:hover { color: var(--taupe); }
.mobile-nav-link:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 2px;
}

.mobile-nav-cta {
  display: block;
  margin-top: 24px;
  padding: 14px 20px;
  background-color: var(--taupe);
  color: var(--white);
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  transition: background-color var(--transition);
  cursor: pointer;
}

.mobile-nav-cta:hover { background-color: var(--taupe-dark); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 46, 38, 0.3);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ======================================================
   HERO
   ====================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
}

.hero-img-placeholder svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(250, 247, 242, 0.72) 0%,
    rgba(250, 247, 242, 0.55) 40%,
    rgba(250, 247, 242, 0.1) 75%,
    rgba(250, 247, 242, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 80px;
  max-width: 680px;
  margin-top: var(--header-h);
}

.hero-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--taupe-dark);
  margin-bottom: 28px;
}

.hero-subtext {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 2;
  color: var(--text-mid);
  margin-bottom: 48px;
  font-weight: 300;
  letter-spacing: 0.06em;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  position: relative;
  padding-bottom: 8px;
  cursor: pointer;
  transition: color var(--transition), gap var(--transition-med);
}

.hero-btn:hover {
  color: var(--taupe);
  gap: 24px;
}

.hero-btn:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 4px;
}

.hero-btn-line {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: currentColor;
  transition: width var(--transition-med);
}

.hero-btn:hover .hero-btn-line { width: 64px; }

.hero-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--brown-light);
  opacity: 0.4;
}

/* ======================================================
   SERVICES
   ====================================================== */
.services {
  background-color: var(--cream);
  padding: 64px 0;
  border-top: 1px solid var(--beige-dark);
}

.services-grid {
  display: flex;
  gap: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.services-grid::-webkit-scrollbar { display: none; }

.service-card {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  cursor: pointer;
  transition: background-color var(--transition-med);
  border-right: 1px solid var(--beige-dark);
  overflow: hidden;
}

.service-card:last-child { border-right: none; }
.service-card:hover { background-color: var(--beige); }
.service-card:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: -2px;
}

.service-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  flex-shrink: 0;
}

.service-img svg {
  width: 100%;
  height: 100%;
  transition: transform var(--transition-med);
}

.service-card:hover .service-img svg {
  transform: scale(1.04);
}

.service-label {
  padding: 20px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.service-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--text);
  text-transform: uppercase;
}

.service-ja {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  font-weight: 300;
}

/* ======================================================
   ABOUT
   ====================================================== */
.about {
  background-color: var(--cream);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text {
  max-width: 520px;
}

.about-body {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--text-mid);
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.about-body:last-of-type { margin-bottom: 40px; }

/* Outline button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  color: var(--taupe);
  border: 1px solid var(--taupe);
  padding: 14px 32px;
  transition: background-color var(--transition), color var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  background-color: var(--taupe);
  color: var(--white);
}

.btn-outline:focus-visible {
  outline: 2px solid var(--taupe-dark);
  outline-offset: 2px;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: 0;
  overflow: visible;
}

.about-img-frame svg {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--brown-light);
  z-index: -1;
  pointer-events: none;
}

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

.menu-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--beige-dark);
  overflow-x: auto;
  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  flex-shrink: 0;
  padding: 16px 32px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--text-light);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.menu-tab:hover { color: var(--taupe); }
.menu-tab.active {
  color: var(--taupe-dark);
  border-bottom-color: var(--taupe);
}

.menu-tab:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: -2px;
}

.menu-panels {
  margin-top: 0;
}

.menu-panel {
  display: block;
  padding: 40px 0 0;
}

.menu-panel[hidden] { display: none; }

.menu-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.menu-table th {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--taupe);
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--beige-dark);
  background: none;
  text-transform: uppercase;
}

.menu-table td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(201, 184, 168, 0.35);
  color: var(--text-mid);
  font-weight: 300;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.menu-table tr:last-child td { border-bottom: none; }
.menu-table td:last-child {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--taupe-dark);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.menu-highlight td {
  background-color: rgba(139, 115, 85, 0.05);
}

.menu-badge {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--taupe);
  padding: 2px 8px;
  border-radius: 2px;
  vertical-align: middle;
}

.menu-note {
  margin-top: 32px;
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

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

.gallery-section .container { margin-bottom: 40px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 320px 320px;
  gap: 4px;
  max-width: 100%;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(139, 115, 85, 0);
  transition: background var(--transition-med);
  pointer-events: none;
}

.gallery-item:hover::after {
  background: rgba(139, 115, 85, 0.12);
}

.gallery-item svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-med);
}

.gallery-item:hover svg { transform: scale(1.04); }

.gallery-item:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: -2px;
}

/* Tall item (2 rows) */
.g-tall {
  grid-row: span 2;
}

/* Wide item (2 cols) */
.g-wide {
  grid-column: span 2;
}

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

.access-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}

.access-map {
  width: 100%;
}

.map-placeholder {
  position: relative;
  width: 100%;
  border: 1px solid var(--beige-dark);
  overflow: hidden;
}

.map-placeholder svg {
  width: 100%;
  height: auto;
}

.map-notice {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  background: rgba(250, 247, 242, 0.85);
  padding: 6px 12px;
}

.access-dl {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.access-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(201, 184, 168, 0.4);
  align-items: start;
}

.access-row:first-child { padding-top: 0; }
.access-row:last-child { border-bottom: none; }

.access-row dt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--taupe);
  text-transform: uppercase;
  padding-top: 2px;
}

.access-row dd {
  font-size: 0.9375rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.access-link {
  color: var(--taupe);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.access-link:hover { color: var(--taupe-dark); }
.access-link:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ======================================================
   RESERVE / CONTACT
   ====================================================== */
.reserve-section {
  background-color: var(--cream);
}

.reserve-form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--text-mid);
  font-weight: 400;
}

.required {
  color: var(--taupe);
  margin-left: 4px;
  font-size: 0.75rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--beige-dark);
  background-color: var(--white);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  outline: none;
  border-radius: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
  font-weight: 300;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--taupe);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.08);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B7355' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.8;
}

.form-check-group { margin-top: 4px; }

.form-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid var(--beige-dark);
  background: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--taupe);
}

.form-check-text {
  font-size: 0.875rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.6;
}

.form-link {
  color: var(--taupe);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.form-link:hover { color: var(--taupe-dark); }

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--taupe);
  color: var(--white);
  padding: 18px 48px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9375rem;
  letter-spacing: 0.2em;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition), opacity var(--transition);
  border-radius: 0;
}

.btn-primary:hover { background-color: var(--taupe-dark); }

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--taupe-dark);
  outline-offset: 2px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-success {
  text-align: center;
  padding: 20px;
  background-color: rgba(139, 115, 85, 0.08);
  border: 1px solid var(--brown-light);
  color: var(--taupe-dark);
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
}

/* ======================================================
   FOOTER
   ====================================================== */
.site-footer {
  background-color: var(--taupe-dark);
  color: rgba(250, 247, 242, 0.8);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo .logo-main { color: rgba(250, 247, 242, 0.95); }
.footer-logo .logo-sub { color: rgba(250, 247, 242, 0.5); }
.footer-logo:hover { opacity: 0.8; }

.footer-tagline {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.8125rem;
  color: rgba(250, 247, 242, 0.55);
  letter-spacing: 0.12em;
  font-weight: 300;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 28px;
    align-items: center;
  }
}

.footer-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(250, 247, 242, 0.65);
  transition: color var(--transition);
  cursor: pointer;
}

.footer-link:hover { color: rgba(250, 247, 242, 0.95); }
.footer-link:focus-visible {
  outline: 1px solid rgba(250, 247, 242, 0.6);
  outline-offset: 4px;
}

.footer-sns {
  display: flex;
  gap: 16px;
  align-items: center;
}

.sns-link {
  color: rgba(250, 247, 242, 0.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  cursor: pointer;
}

.sns-link:hover { color: rgba(250, 247, 242, 0.95); }
.sns-link:focus-visible {
  outline: 1px solid rgba(250, 247, 242, 0.6);
  outline-offset: 4px;
  border-radius: 2px;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.15);
  padding: 16px 40px;
  text-align: center;
}

.copyright {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(250, 247, 242, 0.4);
}

/* ======================================================
   PAGE TOP BUTTON
   ====================================================== */
.page-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--taupe);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition-med), transform var(--transition-med), background-color var(--transition);
  pointer-events: none;
  border-radius: 0;
}

.page-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.page-top:hover { background-color: var(--taupe-dark); }
.page-top:focus-visible {
  outline: 2px solid var(--taupe-dark);
  outline-offset: 2px;
}

.page-top svg {
  width: 18px;
  height: 18px;
}

/* ======================================================
   ANIMATIONS (fade-in on scroll)
   ====================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ======================================================
   RESPONSIVE — Tablet (≤1024px)
   ====================================================== */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }

  .nav-desktop { display: none; }
  .hamburger { display: flex; }

  .header-inner { padding: 0 24px; }

  .hero-content { padding: 0 40px; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual { order: -1; max-width: 480px; margin: 0 auto; }

  .access-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 260px 260px;
  }

  .g-wide { grid-column: span 2; }
}

/* ======================================================
   RESPONSIVE — Mobile (≤768px)
   ====================================================== */
@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
    --header-h: 64px;
  }

  .header-inner { padding: 0 20px; }

  .logo-main { font-size: 1.5rem; }

  .hero-content { padding: 0 24px; }

  .hero-heading { font-size: clamp(2rem, 8vw, 2.75rem); }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    overflow-x: auto;
  }

  .service-card { min-width: 140px; }

  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 200px 200px 200px;
    gap: 2px;
  }

  .g-tall { grid-row: span 1; }
  .g-wide { grid-column: span 2; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }

  .page-top { bottom: 20px; right: 20px; }

  .menu-tab { padding: 14px 20px; }

  .section-heading { font-size: clamp(1.5rem, 5vw, 2rem); }

  .about-text { max-width: 100%; }

  .access-row { grid-template-columns: 88px 1fr; }

  .footer-bottom { padding: 14px 20px; }
}

/* ======================================================
   RESPONSIVE — Small Mobile (≤480px)
   ====================================================== */
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    display: flex;
  }

  .service-card { min-width: 120px; }

  .about-img-accent { display: none; }

  .btn-primary { padding: 16px 32px; }
}
