/* ------------------------------
   Design Tokens
--------------------------------*/
:root {
  /* color */
  --mint: #A3D4CA;
  --mint-weak: #e6f5f1;
  --mint-strong: #478A82;
  --ink: #333333;
  --text-weak: #4a4d57;
  --line: #e9ecef;
  --paper: #ffffff;
  --bg: #fafafa;
  --gold: #a57a43;

  /* spacing scale (fluid) */
  --space-1: clamp(0.25rem, 0.179rem + 0.36vw, 0.5rem);
  --space-2: clamp(0.5rem, 0.357rem + 0.71vw, 1rem);
  --space-3: clamp(0.75rem, 0.536rem + 1.07vw, 1.5rem);
  --space-4: clamp(1rem, 0.714rem + 1.43vw, 2rem);
  --space-5: clamp(1.25rem, 0.893rem + 1.79vw, 2.5rem);
  --space-6: clamp(1.5rem, 1.071rem + 2.14vw, 3rem);
  --space-7: clamp(1.75rem, 1.25rem + 2.5vw, 3.5rem);
  --space-8: clamp(2rem, 1.429rem + 2.86vw, 4rem);
  --space-9: clamp(2.5rem, 1.786rem + 3.57vw, 5rem);
  --space-10: clamp(3.75rem, 2.679rem + 5.36vw, 7.5rem);

  /* fonts */
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Bebas Neue", sans-serif;
  --fs-sm: 0.875rem;
  --fs-md: clamp(0.875rem, 0.839rem + 0.18vw, 1rem);
  --fs-lg: clamp(1.25rem, 1.179rem + 0.36vw, 1.5rem);
  --fs-xl: clamp(1.375rem, 1.196rem + 0.89vw, 2rem);
  --fs-2xl: clamp(1.75rem, 1.536rem + 1.07vw, 2.5rem);
  --fs-3xl: clamp(2rem, 1.714rem + 1.43vw, 3rem);

  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .06);
  --content-w: 1224px;
  --content-w-narrow: 1016px;
}

/* ------------------------------
   Modern CSS Reset (軽量)
--------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-sm);
  color: var(--ink);
  line-height: 1.8;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

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

button {
  font: inherit;
  border: none;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 2px
}

figure {
  margin: 0;
}

/* ------------------------------
   Utilities
--------------------------------*/
.container {
  width: min(100% - 6vw, var(--content-w));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 6vw, var(--content-w-narrow));
  margin-inline: auto;
}

.stack>*+* {
  margin-top: var(--space-4)
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 1em 3.3em;
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  transition: box-shadow .3s ease, transform .3s ease;
}

.btn:is(:hover, :focus-visible) {
  box-shadow: 0 6px 12px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .btn {
    width: 100%;
    padding: 1em 3em;
  }
}

.section-title {
  text-align: center;
  line-height: 1.2;
  margin-bottom: var(--space-10);
}

.section-title__en {
  display: block;
  font-family: var(--font-en);
  font-size: var(--fs-3xl);
  font-weight: 400;
  line-height: 1;
}

.section-title__ja {
  display: block;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--mint-strong);
  margin-top: 0.4em;
  letter-spacing: 0.05em;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

@media (max-width: 760px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }
}


/* ------------------------------
   animation
--------------------------------*/
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.fadein.is-show {
  opacity: 1;
  transform: none;
}


/* ------------------------------
   Header / Global Nav
--------------------------------*/
.site-header {
  position: relative;
  top: 0;
  z-index: 4000;
}

.nav {
  width: calc(100% - clamp(40px, 6vw, 80px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 24px 0;
}

.brand {
  width: fit-content;
}

.brand__logo {
  width: clamp(93px, 12vw, 140px);
  height: clamp(16px, 2vw, 24px);
  object-fit: contain;
}

.menu {
  justify-self: center
}

.menu ul {
  display: flex;
  gap: clamp(10px, 4vw, 48px);
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-weak);
  font-weight: 600;
}

.menu a {
  position: relative
}

.menu a:not(.btn):hover {
  color: var(--mint-strong);
  transition: all 0.3s ease;
}

.nav-cta {
  display: flex;
  gap: var(--space-2)
}

.details-nav {
  display: none
}

@media (max-width: 760px) {
  .menu {
    display: none
  }

  .details-nav {
    display: block;
    justify-self: start
  }

  summary {
    list-style: none;
    cursor: pointer
  }

  summary::-webkit-details-marker {
    display: none
  }

  .drawer {
    position: fixed;
    inset: 64px 0 auto 0;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: var(--space-4) 6vw;
    box-shadow: var(--shadow);
  }


  .drawer ul {
    display: grid;
    list-style: none;
    padding: 0;
    margin: 0
  }
}

.details-nav{
  position:static;
}

.details-nav > summary{
  list-style:none;
  -webkit-tap-highlight-color:transparent;
  position:fixed;
  top:0; right:0;
  width:64px; height:64px;
  background: var(--gold);
  cursor:pointer;
  z-index:4020;
  outline:none;
  border:none;
}
.details-nav > summary::-webkit-details-marker{ display:none; }

.details-nav > summary::before,
.details-nav > summary::after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width:32px; height:1px;
  background:#fff;
  transform:translate(-50%,-50%);
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.details-nav > summary::before{
  box-shadow:0 -8px 0 #fff, 0 8px 0 #fff;
}
.details-nav > summary::after{
  opacity:0;
}

.details-nav[open] > summary::before{
  box-shadow:none;
  transform:translate(-50%,-50%) rotate(45deg);
}
.details-nav[open] > summary::after{
  opacity:1;
  transform:translate(-50%,-50%) rotate(-45deg);
}

.details-nav .drawer{
  position:fixed;
  inset:0;
  background:#EFDFBB;
  z-index:4010;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  padding:88px 20px 32px;
  transition: opacity .35s ease, transform .35s ease;
}

.details-nav .drawer ul{
  width:min(88%, 300px);
  margin:0 auto;
  padding:0;
  list-style:none;
}
.details-nav .drawer li{
  margin:0;
}
.details-nav .drawer li + li{
  border-top:1px solid #fff;
}

.details-nav .drawer a{
  display:block;
  text-decoration:none;
  /* 修正: 未定義 --text を --ink に */
  color: var(--ink);
  font-weight: 600;
  text-align:center;
  padding:20px 0;
  letter-spacing:.08em;
}

.details-nav .drawer .btn {
  width:min(88%, 300px);
  margin:var(--space-5) auto 0;
  color: #fff;
}

.details-nav summary:focus-visible,
.details-nav .drawer a:focus-visible{
  outline:2px solid var(--ink);
  outline-offset:3px;
}

.details-nav .drawer{ overflow:auto; }

/* スクロールで表示するヘッダー */
.scroll-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.8);
  z-index: 999;
  display: block;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
}

.scroll-header__inner {
  width: calc(100% - clamp(40px, 6vw, 80px));
  margin-inline: auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

/* 表示状態 */
.scroll-header.is-show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* SPでは無効化 */
@media (max-width: 760px) {
  .scroll-header {
    display: none !important;
  }
}


/* ------------------------------
   Hero
--------------------------------*/
.hero {
  --hero-gutter-l: clamp(1rem, -2.5rem + 17.5vw, 13.25rem);
  --hero-mint-w: clamp(240px, 52vw, 640px);
  --hero-overflow-top: clamp(40px, 12vh, 120px);
  --hero-overflow-bottom: clamp(40px, 2vh, 96px);

  position: relative;
  isolation: isolate;
  overflow: visible;
  margin-top: calc(var(--hero-overflow-top) * -1);
  padding-block: var(--hero-overflow-top) var(--hero-overflow-bottom);
  min-height: clamp(520px, 100vh, 1020px);
  display: flex;
  align-items: stretch;
}

.hero::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--hero-overflow-top)) 0 calc(-1 * var(--hero-overflow-bottom)) 0;
  background: var(--mint);
  width: 50vw;
}

.hero__inner {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: stretch;
}

.hero__slider {
  position: absolute;
  inset: 0 0 0 var(--hero-gutter-l);
  overflow: hidden;
  background: #fff;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide.is-active img {
  animation: heroZoom 6s ease forwards;
}

@keyframes heroZoom {
  0% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(2.75rem, 1.607rem + 5.71vw, 6.75rem);
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  z-index: 2;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.6s ease-out forwards;
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero__title {
  font-weight: 600;
  line-height: 1.8;
  font-size: var(--fs-3xl);
  margin: 0 0 var(--space-3);
}

.hero__sub {
  font-size: var(--fs-sm);
  font-weight: 600;
}

@media (max-width: 760px) {
  .hero__content {
    padding-right: 10px;
    margin-bottom: 24px;
    justify-content: end;
  }

  .hero__title {
    font-size: var(--fs-2xl);
  }
}


/* ------------------------------
   Section: Intro
--------------------------------*/
#about {
  margin-top: clamp(2.813rem, 2.009rem + 4.02vw, 5.625rem);
}

#about h2 {
  font-size: var(--fs-lg);
}

/* ------------------------------
   Section: KODAWARI
--------------------------------*/
.section {
  padding: var(--space-10) 0
}

.section--mint {
  background: var(--mint-weak)
}

.kodawari-list {
  display: grid;
  gap: var(--space-9);
  margin-bottom: var(--space-10);
}

.k-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 7vw, 96px);
  overflow: visible;
}

.k-card--rev {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
}

.k-card--rev .k-card__img {
  order: 2
}

.k-card--rev .k-card__body {
  order: 1;
}

.k-card__img {
  position: relative;
  overflow: visible;
}

.k-card__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  position: relative;
  z-index: 1;
}

.k-card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mint);
  transform: translate(clamp(0.5rem, 0.357rem + 0.71vw, 1rem), clamp(0.5rem, 0.357rem + 0.71vw, 1rem));
  z-index: 0;
}

.k-card__body {
  position: relative;
  color: var(--ink);
  z-index: 0;
}

.k-card--rev .k-card__body,
.k-card__body {
  height: 100%;
  align-content: center;
}

.k-card__eyebrow {
  color: var(--mint-strong);
  font-weight: 600;
  margin: 0 0 var(--space-1);
}

.k-card__title {
  font-weight: 600;
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-3);
}

.k-card__body .btn {
  margin: var(--space-4) 0 0;
}

.k-card__no,
.k-card--rev .k-card__no {
  position: absolute;
  top: 0;
  right: 0;
  font-weight: 900;
  line-height: 1;
  font-size: 160px;
  font-family: var(--font-en);
  font-weight: 400;
  color: color-mix(in srgb, var(--mint) 45%, transparent);
  z-index: -1;
}

@media (max-width: 760px) {

  .k-card,
  .k-card--rev {
    grid-template-columns: 1fr;
  }

  .k-card--rev .k-card__img,
  .k-card--rev .k-card__body {
    order: initial;
  }

  .k-card__img {
    margin-right: 8px;
  }

  .k-card__img::after {
    transform: translate(8px, 8px);
  }

  .k-card__text {
    text-align: justify;
  }
}

/* モーダル（flex版） */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,.6);
}
.modal.is-open {
  display: flex;
}

.modal__content {
  position: relative;
  background: #fff;
  width: min(90%, 1224px);
  max-height: 80vh;
  overflow-y: auto;
  padding: clamp(1.25rem, 0.464rem + 3.93vw, 4rem) clamp(1.25rem, -0.25rem + 7.5vw, 6.5rem);
}
.modal__close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: 0; font-size: 2rem; cursor: pointer;
}

.modal__content > * {
  margin-bottom: 8px;
  text-align: justify;
  font-size: var(--fs-sm);
}

.modal__content ul {
  margin-left: 20px;
  list-style: inside;
  list-style-position: outside;
}

.modal__content li::marker {
  margin-right: 4px;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 3rem;
  font-weight: 200;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.modal__title {
  text-align: center;
  color: var(--mint-strong);
  margin-bottom: 1rem;
  font-size: var(--fs-lg);
}

.modal__attention {
  font-size: 12px;
}

.modal__content::-webkit-scrollbar {
  width: 8px;
}
.modal__content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.notice {
  margin-top: var(--space-7);
  background: #fff;
  padding: var(--space-5);
  text-align: center;
  color: var(--text-weak);
  font-size: var(--fs-sm);
}

.notice__title {
  font-weight: 600;
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-3);
}

.notice__text {
  margin: 0 0 var(--space-4);
}

.download {
  margin: var(--space-3) auto 0;
  display: flex;
  flex-direction: column;
  max-width: 370px;
}

.download > * {
  margin-bottom: 8px;
}

@media (max-width: 760px) {
  .notice__text {
    text-align: justify;
  }

  .download .btn {
    padding: 1em;
  }
}

/* ------------------------------
   Salon list
--------------------------------*/
.section-title {
  margin-bottom: var(--space-9);
}

.map-wrap {
  display: grid;
  place-items: center;
  margin-bottom: var(--space-9);
}


.salon-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.salon-card {
  width: 280px;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 3px solid var(--mint);
  padding: clamp(1rem, 0.857rem + 0.71vw, 1.5rem);
}

.salon-card>* {
  margin-bottom: var(--space-2);
}

.card__media {
  aspect-ratio: 4/3;
  background: #eef4f1 center/cover no-repeat;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: clamp(1rem, 0.857rem + 0.71vw, 1.5rem);
  font-size: var(--fs-sm);
  flex: 1;
}

.card__title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.card__img {
  width: 100%;
  height: auto;
}

.card__addr {
  color: var(--text-weak);
  line-height: 1.7;
  height: 3rem;
}

.card__tel {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}

.card__tel a {
  display: flex;
  gap: 8px;
  color: var(--gold);
  text-decoration: none;
}

/* CTA */
.card__actions {
  margin-top: auto;
  display: grid;
  gap: .75rem;
}

@media (max-width: 760px) {
  .salon-card {
    width: 100%;
  }

  .card__addr {
    height: inherit;
  }
}

.btn--hp {
  padding: 16px 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 600;
  background: #AE2F5B;
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid #ccc;
  margin-bottom: 0;
}


/* ------------------------------
   Footer
--------------------------------*/
.site-footer {
  background: #f3f3f3;
  text-align: center;
  color: #333;
  font-size: 0.9rem;
  padding: var(--space-10) 0 var(--space-3);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-7);
}

.footer-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  color: #333;
  text-decoration: none;
  font-size: var(--fs-sm);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-10);
}

.footer-bottom__left {
  display: flex;
}

.footer-copy {
  margin-right: var(--space-4);
  font-size: 12px;
  color: #888;
}

.footer-policy {
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
}

.footer-sns {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
}

.footer-sns svg {
  fill: var(--ink);
}

/* Responsive */
@media (max-width: 640px) {
  .site-footer {
    padding-bottom: 80px;
  }
  .footer-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .footer-bottom,
  .footer-bottom__left {
    flex-direction: column-reverse;
  }

  .footer-copy {
    margin-right: 0;
  }

  .footer-policy,
  .footer-sns {
    margin-bottom: 16px;
  }

  .footer-bottom__right {
    margin: 0 auto;
  }
}


/* ------------------------------
   予約ボタン
--------------------------------*/
.reserve-btn-wrap {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1500;
}

.btn--reserve {
  background: var(--mint-strong);
  color: #fff;
  writing-mode: vertical-rl;
  padding: 3em 1em;
  font-weight: 600;
  letter-spacing: 0.1em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  gap: 0.6em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}

.btn--reserve:is(:hover, :focus-visible) {
  background: #6ba197;
}

@media (max-width: 760px) {
  .reserve-btn-wrap {
    right: 0;
    left: 0;
    bottom: 0px;
    top: auto;
    transform: none;
    display: flex;
    justify-content: center;
  }
  .btn--reserve {
    width: 100%;
    padding: 1.25em 0;
    writing-mode: inherit;
  }
  .btn--reserve:is(:hover, :focus-visible) {
    background: var(--mint-strong);
  }
}

.js-sp-reserve {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.js-sp-reserve.is-show {
  transform: translateY(0);
  opacity: 1;
}

/* macOS Safari + iOS Safari */
@supports (-webkit-backdrop-filter: none) {
  .reserve-btn-wrap {
    right: 20px;
  }

  @media (max-width: 760px) {
    .reserve-btn-wrap {
      right: 0px;
    }
}