/* ==========================================================================
   Salon MIRAI — brand stylesheet
   色イメージ: 茶系 (自然・モダン・高級感) / 40代女性向け
   ========================================================================== */

:root {
  --brown-900: #3c2a1e;
  --brown-800: #4a3324;
  --brown-700: #5c4030;
  --brown-600: #6b4423;
  --brown-500: #8a6240;
  --brown-400: #a97f57;
  --gold-500: #b08d57;
  --gold-400: #c8a97a;
  --cream-100: #faf6ef;
  --cream-200: #f4ecdf;
  --cream-300: #ece0cc;
  --ink: #2c2320;
  --ink-soft: #5a4d43;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(60, 42, 30, 0.12);
  --shadow-sm: 0 4px 14px rgba(60, 42, 30, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream-100);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--brown-900); margin: 0; }

.icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  filter: invert(29%) sepia(23%) saturate(1200%) hue-rotate(345deg) brightness(90%) contrast(90%);
}
.icon-light { filter: invert(85%) sepia(15%) saturate(300%) hue-rotate(340deg) brightness(105%); }
.icon-gold { filter: invert(62%) sepia(28%) saturate(680%) hue-rotate(346deg) brightness(92%) contrast(88%); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.bg-cream { background: var(--cream-200); }
.bg-brown { background: var(--brown-900); color: var(--cream-200); }
.bg-brown h2, .bg-brown h3, .bg-brown h4 { color: var(--cream-100); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--gold-500);
  font-weight: 700;
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold-500); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 34px); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 15.5px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brown-600); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brown-700); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--brown-700); border-color: var(--brown-500); }
.btn-outline:hover { background: var(--brown-600); color: var(--white); border-color: var(--brown-600); }
.btn-ghost-light { background: transparent; color: var(--cream-100); border-color: rgba(250,246,239,.5); }
.btn-ghost-light:hover { background: var(--cream-100); color: var(--brown-800); }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-300);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
}
.brand-mark {
  font-size: 21px;
  font-weight: 700;
  color: var(--brown-800);
  letter-spacing: 0.04em;
}
.brand-sub { font-size: 10.5px; color: var(--gold-500); letter-spacing: 0.14em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--brown-700); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold-500);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--cream-300);
  border-radius: 10px;
  background: var(--white);
  align-items: center;
  justify-content: center;
}
.hamburger span { width: 20px; height: 2px; background: var(--brown-700); transition: transform .25s, opacity .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none;
  flex-direction: column;
  background: var(--cream-100);
  border-top: 1px solid var(--cream-300);
  padding: 10px 24px 26px;
}
.mobile-panel.open { display: flex; }
.mobile-panel a {
  padding: 14px 4px;
  font-size: 15.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--cream-300);
  color: var(--ink-soft);
}
.mobile-panel a.active { color: var(--brown-700); }
.mobile-panel .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(44, 30, 20, 0.82) 0%, rgba(60, 42, 30, 0.58) 55%, rgba(60, 42, 30, 0.32) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 620px; padding: 120px 24px 90px; }
.hero .eyebrow { color: var(--gold-400); }
.hero .eyebrow::before { background: var(--gold-400); }
.hero h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.5; color: var(--white); margin-bottom: 20px; }
.hero p { font-size: 15.5px; color: rgba(255,255,255,0.88); margin-bottom: 34px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-strip {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  background: rgba(44,30,20,0.55);
}
.hero-strip-item {
  flex: 1 1 200px;
  padding: 18px 24px;
  display: flex; align-items: center; gap: 12px;
  border-right: 1px solid rgba(255,255,255,0.14);
  font-size: 13.5px;
}
.hero-strip-item b { display: block; font-size: 14.5px; }

.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.page-hero-inner { position: relative; z-index: 2; padding: 90px 24px 40px; max-width: 1160px; margin: 0 auto; width: 100%; }
.page-hero h1 { color: var(--white); font-size: clamp(28px, 4vw, 38px); }
.breadcrumb { font-size: 12.5px; color: rgba(255,255,255,0.75); margin-top: 12px; letter-spacing: .05em; }
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid var(--cream-300);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 22px; }
.card-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  color: var(--brown-600); background: var(--cream-200);
  border: 1px solid var(--cream-300);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.card-body h3 { font-size: 18px; margin-bottom: 8px; }
.card-body p { font-size: 13.8px; color: var(--ink-soft); margin: 0 0 14px; }
.card-price { font-family: var(--serif); font-size: 20px; color: var(--brown-700); font-weight: 700; }
.card-link { font-size: 13px; font-weight: 700; color: var(--brown-600); display: inline-flex; align-items: center; gap: 6px; }

/* concept / feature rows */
.feature-row { display: flex; gap: 60px; align-items: center; }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-row .media { flex: 1 1 46%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.feature-row .media img { width: 100%; height: 100%; object-fit: cover; }
.feature-row .text { flex: 1 1 54%; }
.feature-row .text h3 { font-size: 24px; margin: 10px 0 16px; }
.feature-row .text p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; }
.feature-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }

/* ---------- Store locator (core feature) ---------- */
.locator {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  min-height: 620px;
}
.locator-list {
  border-right: 1px solid var(--cream-300);
  max-height: 640px;
  overflow-y: auto;
}
.locator-search {
  padding: 18px 20px;
  border-bottom: 1px solid var(--cream-300);
  position: sticky; top: 0;
  background: var(--white);
  z-index: 2;
}
.locator-search input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border-radius: 999px;
  border: 1px solid var(--cream-300);
  background: var(--cream-100) url('https://cdn.jsdelivr.net/npm/lucide-static@1.48.0/icons/search.svg') no-repeat 14px center / 16px;
  font-size: 13.5px;
}
.store-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 20px;
  border: none;
  border-bottom: 1px solid var(--cream-200);
  background: var(--white);
  transition: background .2s ease;
}
.store-item:hover { background: var(--cream-100); }
.store-item.active { background: var(--cream-200); box-shadow: inset 3px 0 0 var(--brown-600); }
.store-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.store-item h4 { font-size: 16px; }
.store-badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  background: var(--gold-500); color: var(--white);
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}
.store-item .addr { font-size: 12.5px; color: var(--ink-soft); display: flex; gap: 6px; margin-bottom: 6px; }
.store-item .addr .icon { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.store-item .meta-line { font-size: 12px; color: var(--ink-soft); display: flex; gap: 6px; align-items: center; }
.store-item .meta-line .icon { width: 14px; height: 14px; }

.locator-map { position: relative; background: var(--cream-200); }
.locator-map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }
.map-info-card {
  position: absolute;
  left: 20px; bottom: 20px; right: 20px;
  max-width: 380px;
  background: rgba(255,255,255,0.97);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.map-info-card h4 { font-size: 15px; margin-bottom: 6px; }
.map-info-card p { font-size: 12.5px; color: var(--ink-soft); margin: 4px 0; }
.map-info-card .row { display: flex; gap: 8px; align-items: flex-start; }
.map-info-card .row .icon { width: 14px; height: 14px; margin-top: 2px; flex-shrink: 0; }

@media (max-width: 860px) {
  .locator { grid-template-columns: 1fr; }
  .locator-list { max-height: 340px; border-right: none; border-bottom: 1px solid var(--cream-300); }
  .locator-map iframe { min-height: 340px; }
}

/* ---------- Staff ---------- */
.staff-card { text-align: center; padding-bottom: 26px; cursor: pointer; }
.staff-card .card-media { aspect-ratio: 3/4; }
.staff-card h3 { font-size: 17px; }
.staff-card .role { font-size: 12.5px; color: var(--gold-500); font-weight: 700; letter-spacing: .04em; margin-bottom: 10px; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(44,30,20,0.55);
  display: none; align-items: center; justify-content: center;
  z-index: 900; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--radius);
  max-width: 620px; width: 100%; max-height: 86vh; overflow-y: auto;
  box-shadow: var(--shadow); position: relative;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream-200); border: none;
  display: flex; align-items: center; justify-content: center;
}
.modal-box .modal-media { aspect-ratio: 16/9; overflow: hidden; }
.modal-box .modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 26px 28px 30px; }
.modal-body h3 { font-size: 21px; margin-bottom: 4px; }
.modal-body .role { color: var(--gold-500); font-weight: 700; font-size: 13px; margin-bottom: 14px; }
.modal-body p { font-size: 14px; color: var(--ink-soft); }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.tag-chip { font-size: 11.5px; background: var(--cream-200); border: 1px solid var(--cream-300); padding: 4px 11px; border-radius: 999px; color: var(--brown-700); }

/* ---------- News ---------- */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; justify-content: center; }
.filter-tab {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--cream-300);
  background: var(--white); font-size: 13px; font-weight: 700; color: var(--ink-soft);
}
.filter-tab.active { background: var(--brown-600); color: var(--white); border-color: var(--brown-600); }
.news-row {
  display: flex; gap: 24px; padding: 22px 6px; border-bottom: 1px solid var(--cream-300);
  align-items: center;
}
.news-row .thumb { width: 140px; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.news-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row .meta { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }
.news-row .cat { color: var(--brown-600); font-weight: 700; }
.news-row h3 { font-size: 16.5px; margin-bottom: 6px; }
.news-row p { font-size: 13.3px; color: var(--ink-soft); margin: 0; }
.news-row.hidden { display: none; }

/* ---------- Contact form ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.contact-info-card {
  background: var(--brown-900); color: var(--cream-100);
  border-radius: var(--radius); padding: 34px 30px;
}
.contact-info-card h3 { color: var(--cream-100); font-size: 19px; margin-bottom: 18px; }
.contact-info-card .row { display: flex; gap: 12px; margin-bottom: 18px; font-size: 13.8px; align-items: flex-start; }
.contact-info-card .row .icon { margin-top: 2px; }
.form-card { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); border: 1px solid var(--cream-300); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; color: var(--brown-800); }
.field label .req { color: #b3452f; font-size: 11px; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--cream-300); font-size: 14px; font-family: inherit;
  background: var(--cream-100);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold-400); background: var(--white); }
.field textarea { resize: vertical; min-height: 120px; }
.field.error input, .field.error select, .field.error textarea { border-color: #b3452f; background: #fdf3f1; }
.field .err-msg { display: none; color: #b3452f; font-size: 12px; margin-top: 6px; }
.field.error .err-msg { display: block; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; }
.checkbox-row input { width: 17px; height: 17px; margin-top: 2px; }
.form-success {
  display: none; text-align: center; padding: 50px 20px;
}
.form-success.show { display: block; }
.form-success .icon { width: 56px; height: 56px; margin-bottom: 18px; }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ---------- Company table ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--cream-300); }
.info-table th, .info-table td { text-align: left; padding: 18px 16px; font-size: 14px; vertical-align: top; }
.info-table th { width: 190px; color: var(--brown-700); font-weight: 700; }
.info-table td { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-900); color: rgba(250,246,239,0.78); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-grid h4 { color: var(--cream-100); font-size: 15px; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; font-size: 13.3px; }
.footer-grid ul li a:hover { color: var(--gold-400); }
.footer-brand .brand-mark { color: var(--cream-100); }
.footer-brand p { font-size: 13px; margin: 14px 0 0; max-width: 280px; color: rgba(250,246,239,0.65); }
.footer-bottom { border-top: 1px solid rgba(250,246,239,0.15); padding-top: 22px; font-size: 12px; text-align: center; color: rgba(250,246,239,0.55); }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--brown-800), var(--brown-600));
  color: var(--white);
  border-radius: var(--radius);
  padding: 54px 50px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: 26px; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.82); font-size: 14px; margin: 0; }

/* Responsive */
@media (max-width: 980px) {
  .nav-links, .nav-cta .btn-outline-desktop { display: none; }
  .hamburger { display: flex; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-row, .feature-row.reverse { flex-direction: column; }
  .feature-row .media, .feature-row .text { flex: 1 1 100%; }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero-inner { padding: 100px 20px 60px; }
  .hero-strip-item { flex: 1 1 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.14); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-row { flex-direction: column; align-items: flex-start; }
  .news-row .thumb { width: 100%; aspect-ratio: 16/9; }
}
