/* ENFREE Head Spa LP — scoped to .efh-page only */

.efh-page {
  --efh-ivory: #faf7f2;
  --efh-ivory-deep: #f3ede4;
  --efh-beige: #ebe3d6;
  --efh-greige: #d8d0c4;
  --efh-brown: #6b5a4a;
  --efh-brown-deep: #524638;
  --efh-accent: #8b7355;
  --efh-text: #4a433c;
  --efh-muted: #8a7d70;
  --efh-white: #fffcf8;
  --efh-font-ja: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --efh-font-en: "Cormorant Garamond", "Times New Roman", serif;
  --efh-space-inner: clamp(1.25rem, 5vw, 2.25rem);
  --efh-space-section: clamp(4.5rem, 12vw, 7rem);
  --efh-max: 880px;
  --efh-radius: 4px;
  --efh-leading: 2.05;
}

.efh-page *,
.efh-page *::before,
.efh-page *::after {
  box-sizing: border-box;
}

.efh-page {
  margin: 0;
  color: var(--efh-text);
  background: var(--efh-ivory);
  font-family: var(--efh-font-ja);
  font-size: clamp(0.9rem, 2.8vw, 0.96rem);
  line-height: var(--efh-leading);
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.efh-page img,
.efh-page video {
  display: block;
  width: 100%;
  height: auto;
}

.efh-page a {
  color: inherit;
  text-decoration: none;
}

html:has(.efh-page) {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

/* Header */
.efh-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 0.75rem var(--efh-space-inner);
  background: rgba(250, 247, 242, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.efh-header.is-scrolled {
  background: rgba(250, 247, 242, 0.97);
  border-bottom-color: rgba(139, 115, 85, 0.14);
}

.efh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--efh-max);
  margin-inline: auto;
}

.efh-header__logo {
  font-family: var(--efh-font-en);
  font-size: clamp(1rem, 4vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--efh-brown);
}

.efh-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.efh-menu-toggle span {
  display: block;
  width: 1.35rem;
  height: 1px;
  margin-inline: auto;
  background: var(--efh-brown);
}

.efh-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.efh-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.efh-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.efh-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1rem var(--efh-space-inner) 1.25rem;
  background: rgba(255, 252, 248, 0.98);
  border-bottom: 1px solid rgba(139, 115, 85, 0.12);
}

.efh-nav.is-open {
  display: grid;
  gap: 0.15rem;
}

.efh-nav a {
  padding: 0.65rem 0;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--efh-brown);
  border-bottom: 1px solid rgba(139, 115, 85, 0.08);
}

.efh-nav__reserve {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem !important;
  text-align: center;
  background: var(--efh-brown);
  color: var(--efh-white) !important;
  border: none !important;
  border-radius: var(--efh-radius);
}

@media (min-width: 768px) {
  .efh-menu-toggle {
    display: none;
  }

  .efh-nav {
    display: flex;
    position: static;
    align-items: center;
    gap: clamp(0.45rem, 1.4vw, 0.95rem);
    padding: 0;
    background: transparent;
    border: none;
  }

  .efh-nav a {
    padding: 0;
    font-size: 0.66rem;
    border: none;
  }

  .efh-nav__reserve {
    margin-top: 0;
    padding: 0.55rem 1rem !important;
  }
}

/* Sections */
.efh-section {
  padding: var(--efh-space-section) var(--efh-space-inner);
}

.efh-section--soft {
  background: var(--efh-ivory-deep);
}

.efh-section__inner {
  max-width: var(--efh-max);
  margin-inline: auto;
}

.efh-section__head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 2.75rem);
}

.efh-section__label {
  margin: 0;
  font-family: var(--efh-font-en);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--efh-accent);
}

.efh-section__title {
  margin: 0.65rem 0 0;
  font-size: clamp(1.15rem, 4.2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.85;
  color: var(--efh-brown);
}

.efh-section__head--left {
  text-align: left;
  margin-bottom: 1.25rem;
}

.efh-section__head--left .efh-section__title {
  text-align: left;
}

/* Hero */
.efh-hero {
  padding: calc(3.25rem + var(--efh-space-inner)) clamp(0.65rem, 3vw, var(--efh-space-inner))
    var(--efh-space-section);
  background: var(--efh-ivory);
}

.efh-hero__inner {
  max-width: var(--efh-max);
  margin-inline: auto;
  display: grid;
  gap: clamp(1.35rem, 4vw, 2.25rem);
}

.efh-hero__visual {
  order: -1;
  margin-inline: clamp(-0.35rem, -1.5vw, 0);
  border-radius: var(--efh-radius);
  overflow: hidden;
  border: 1px solid rgba(139, 115, 85, 0.12);
  background: var(--efh-beige);
  box-shadow: 0 16px 48px rgba(107, 90, 74, 0.08);
}

.efh-hero__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.1);
  transform-origin: center 40%;
}

.efh-hero__content {
  padding-inline: clamp(0.35rem, 2vw, 0);
}

.efh-hero__brand {
  margin: 0;
  font-family: var(--efh-font-en);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--efh-accent);
}

.efh-hero__title {
  margin: 0.85rem 0 0;
  font-size: clamp(1.35rem, 5.5vw, 1.9rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.7;
  color: var(--efh-brown);
}

.efh-hero__sub {
  margin: 1.15rem 0 0;
  font-size: clamp(0.88rem, 3.2vw, 0.94rem);
  line-height: 2;
  color: var(--efh-muted);
}

.efh-hero__store {
  margin: 1.1rem 0 0;
  font-size: 0.76rem;
  line-height: 1.95;
  color: var(--efh-accent);
}

.efh-hero__actions {
  margin-top: 1.35rem;
}

@media (min-width: 768px) {
  .efh-hero {
    padding-inline: var(--efh-space-inner);
  }

  .efh-hero__inner {
    grid-template-columns: 1fr 1.08fr;
    align-items: center;
    gap: clamp(2rem, 4vw, 3rem);
  }

  .efh-hero__visual {
    order: 1;
    margin-inline: 0;
  }
}

/* CTA */
.efh-cta-row {
  display: grid;
  gap: 0.65rem;
}

.efh-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.1rem;
  min-height: 3.35rem;
  padding: 0.9rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: var(--efh-radius);
  border: 1px solid transparent;
  transition: opacity 0.2s ease;
}

.efh-btn__main {
  line-height: 1.4;
}

.efh-btn__sub {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 0.88;
}

.efh-btn:hover {
  opacity: 0.88;
}

.efh-btn--line {
  background: #06c755;
  color: #fff;
  border-color: #06c755;
}

.efh-btn--tel {
  background: var(--efh-white);
  color: var(--efh-brown);
  border-color: rgba(107, 90, 74, 0.42);
}

.efh-btn--hp {
  background: var(--efh-ivory-deep);
  color: var(--efh-brown);
  border-color: rgba(107, 90, 74, 0.42);
}

.efh-btn--line .efh-btn__sub {
  display: none;
}

/* Concerns */
.efh-concerns__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.efh-concerns__list li {
  padding: 1rem 1.15rem;
  background: var(--efh-white);
  border: 1px solid rgba(139, 115, 85, 0.1);
  border-radius: var(--efh-radius);
  font-size: 0.88rem;
  line-height: 1.9;
}

@media (min-width: 640px) {
  .efh-concerns__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Restore section */
.efh-restore {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.25rem);
  align-items: center;
}

.efh-restore__visual {
  border-radius: var(--efh-radius);
  overflow: hidden;
  border: 1px solid rgba(139, 115, 85, 0.12);
  background: var(--efh-beige);
}

.efh-restore__img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 40%;
}

.efh-restore__lead {
  margin: 0;
  font-size: clamp(1rem, 3.8vw, 1.15rem);
  font-weight: 500;
  line-height: 1.9;
  color: var(--efh-brown);
}

.efh-restore__text {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  line-height: 2.05;
  color: var(--efh-muted);
}

@media (min-width: 768px) {
  .efh-restore {
    grid-template-columns: 1.05fr 1fr;
  }
}

/* Reasons */
.efh-reasons__grid {
  display: grid;
  gap: 1rem;
}

.efh-reasons__card {
  padding: 1.4rem 1.3rem;
  background: var(--efh-white);
  border: 1px solid rgba(139, 115, 85, 0.1);
  border-radius: var(--efh-radius);
}

.efh-reasons__num {
  margin: 0;
  font-family: var(--efh-font-en);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--efh-accent);
}

.efh-reasons__title {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.85;
  color: var(--efh-brown);
}

.efh-reasons__text {
  margin: 0.65rem 0 0;
  font-size: 0.86rem;
  line-height: 2;
  color: var(--efh-muted);
}

@media (min-width: 640px) {
  .efh-reasons__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Video */
.efh-video__frame {
  border-radius: var(--efh-radius);
  overflow: hidden;
  border: 1px solid rgba(139, 115, 85, 0.12);
  background: var(--efh-brown-deep);
  box-shadow: 0 12px 40px rgba(107, 90, 74, 0.1);
}

.efh-video__frame video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(72vh, 640px);
  margin-inline: auto;
  object-fit: cover;
  background: #2a2420;
}

.efh-video__lead {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.86rem;
  line-height: 2;
  color: var(--efh-muted);
}

@media (min-width: 768px) {
  .efh-video__frame video {
    aspect-ratio: 16 / 9;
    max-height: none;
  }
}

/* Scalp care */
.efh-scalp {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2rem);
  align-items: center;
}

.efh-scalp__visual {
  border-radius: var(--efh-radius);
  overflow: hidden;
  border: 1px solid rgba(139, 115, 85, 0.12);
  background: var(--efh-beige);
}

.efh-scalp__img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
}

.efh-scalp__text {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  line-height: 2.05;
  color: var(--efh-muted);
}

@media (min-width: 768px) {
  .efh-scalp {
    grid-template-columns: 1fr 1.05fr;
  }

  .efh-scalp__visual {
    order: 1;
  }
}

/* Flow with arrows */
.efh-flow {
  display: grid;
  gap: 0;
  max-width: 22rem;
  margin-inline: auto;
}

.efh-flow__step {
  padding: 1.15rem 1.2rem;
  text-align: center;
  background: var(--efh-white);
  border: 1px solid rgba(139, 115, 85, 0.1);
  border-radius: var(--efh-radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--efh-brown);
}

.efh-flow__arrow {
  margin: 0;
  padding: 0.45rem 0;
  text-align: center;
  font-size: 1rem;
  color: var(--efh-accent);
  line-height: 1;
}

/* Price */
.efh-price__grid {
  display: grid;
  gap: 1rem;
}

.efh-price__card {
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: var(--efh-white);
  border: 1px solid rgba(139, 115, 85, 0.12);
  border-radius: var(--efh-radius);
}

.efh-price__name {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: var(--efh-accent);
}

.efh-price__amount {
  margin: 0.65rem 0 0;
  font-size: clamp(1.25rem, 4.5vw, 1.5rem);
  font-weight: 500;
  color: var(--efh-brown);
}

.efh-price__note {
  margin: 0.4rem 0 0;
  font-size: 0.76rem;
  color: var(--efh-muted);
}

@media (min-width: 640px) {
  .efh-price__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FAQ */
.efh-faq__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.efh-faq__item {
  padding: 1.25rem 1.2rem;
  background: var(--efh-white);
  border: 1px solid rgba(139, 115, 85, 0.1);
  border-radius: var(--efh-radius);
}

.efh-faq__q {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--efh-brown);
}

.efh-faq__q::before {
  content: "Q. ";
  color: var(--efh-accent);
}

.efh-faq__a {
  margin: 0.75rem 0 0;
  font-size: 0.86rem;
  line-height: 2;
  color: var(--efh-muted);
}

/* Reserve */
.efh-reserve {
  padding: var(--efh-space-section) var(--efh-space-inner);
  background: var(--efh-ivory-deep);
}

.efh-reserve__inner {
  max-width: 26rem;
  margin-inline: auto;
  text-align: center;
}

.efh-reserve__message {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  line-height: 2;
  color: var(--efh-muted);
}

.efh-reserve__actions .efh-btn {
  min-height: 3.45rem;
  font-size: 0.86rem;
}

/* Footer */
.efh-footer {
  padding: 2.5rem var(--efh-space-inner) 2rem;
  text-align: center;
  background: var(--efh-brown-deep);
  color: rgba(255, 252, 248, 0.88);
  font-size: 0.78rem;
  line-height: 2;
}

.efh-footer__logo {
  margin: 0;
  font-family: var(--efh-font-en);
  font-size: 1rem;
  letter-spacing: 0.22em;
}

.efh-footer a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.efh-footer__copy {
  margin: 1rem 0 0;
  opacity: 0.65;
}
