/*
Theme Name: Yuragi
Theme URI: https://yuragi-biolife.com/
Author: ZeaTeX
Description: Instagram and LINE focused landing page theme for relaxation salon Yuragi.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: yuragi
*/

:root {
  --paper: #f8f5ee;
  --soft: #efe5d6;
  --mist: #dde9df;
  --sage: #718772;
  --deep: #2f4f3e;
  --brown: #6e4d34;
  --charcoal: #2f302d;
  --gold: #b89a5a;
  --wood: #8a5e3b;
  --line: rgba(110, 77, 52, 0.15);
  --shadow: 0 22px 54px rgba(65, 50, 32, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 12px clamp(18px, 4vw, 54px);
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--deep);
  font-size: clamp(13px, 2vw, 15px);
  font-weight: 700;
  white-space: nowrap;
}

.brand-logo {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(48, 72, 57, 0.12);
}

.header-nav {
  display: none;
  gap: 24px;
  color: var(--brown);
  font-size: 14px;
}

.header-cta {
  display: none;
  min-height: 42px;
  align-items: center;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 104px 18px 34px;
}

.hero-image,
.hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 58% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(34, 43, 34, 0.72), rgba(34, 43, 34, 0.36) 50%, rgba(34, 43, 34, 0.16)),
    linear-gradient(0deg, rgba(22, 27, 22, 0.48), rgba(22, 27, 22, 0.05) 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.24);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ead8ae;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Hiragino Mincho ProN", serif;
  font-size: clamp(34px, 9vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin: 0 0 18px;
  color: var(--deep);
  font-family: Georgia, "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 7vw, 46px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--deep);
  font-size: 18px;
  line-height: 1.45;
}

.hero-copy {
  margin: 18px 0 8px;
  font-size: clamp(20px, 5vw, 32px);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  line-height: 1.45;
  max-width: 18em;
}

.hero-text {
  max-width: 28em;
  margin: 0;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--deep);
  color: #fff;
  box-shadow: 0 16px 32px rgba(48, 72, 57, 0.24);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.button-ghost.light {
  border-color: rgba(255, 255, 255, 0.72);
}

.hero-note {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.hero-note span {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  font-family: Georgia, serif;
  font-size: 12px;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.section-copy {
  max-width: 640px;
}

.section-copy p,
.section-head p {
  color: rgba(47, 48, 45, 0.76);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.intro-grid,
.concept,
.access-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.worry-panel {
  display: grid;
  gap: 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.worry-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--brown);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}

.concept {
  background: linear-gradient(180deg, var(--mist), #fffdf8);
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: end;
  gap: 14px;
}

.image-stack img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  aspect-ratio: 3 / 4;
}

.image-stack img:last-child {
  aspect-ratio: 4 / 5;
  margin-bottom: 34px;
}

.reason-grid,
.menu-grid,
.voice-grid {
  display: grid;
  gap: 18px;
}

.reason-card,
.menu-card,
.voice-card,
.flow-item,
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(55, 49, 40, 0.08);
}

.reason-card {
  padding: 24px;
}

.reason-card span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 28px;
}

.menu-section {
  background: #fbf7ef;
}

.menu-card {
  overflow: hidden;
}

.menu-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.menu-body {
  padding: 22px;
}

.menu-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 12px 0;
  color: var(--brown);
  font-weight: 700;
}

.menu-body .button {
  width: 100%;
  margin-top: 16px;
}

.flow-section {
  background: var(--paper);
}

.flow-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.flow-item {
  position: relative;
  padding: 24px 24px 24px 78px;
}

.flow-item span {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--deep);
  font-family: Georgia, serif;
  font-size: 20px;
}

.voice-section {
  background: linear-gradient(180deg, #fffdf8, #eef3ec);
}

.voice-card {
  padding: 24px;
}

.voice-card p {
  margin-top: 0;
  color: var(--brown);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 18px;
}

.voice-card span {
  color: rgba(47, 48, 45, 0.58);
  font-size: 13px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.instagram-grid a {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: var(--mist);
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.34s ease;
}

.instagram-grid a:hover img {
  transform: scale(1.07);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.wide-photo {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
}

.wide-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wide-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(41, 54, 43, 0.42);
}

.wide-photo div {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
}

.wide-photo p {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(28px, 7vw, 48px);
  line-height: 1.45;
}

.shop-info {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shop-info dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.info-row {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-row dt {
  color: var(--sage);
  font-size: 13px;
  font-weight: 700;
}

.info-row dd {
  margin: 0;
  color: var(--brown);
}

.map-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.54) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.54) 1px, transparent 1px),
    linear-gradient(135deg, #d8e1d6, #f2eadc);
  background-size: 34px 34px, 34px 34px, auto;
  color: var(--deep);
  box-shadow: var(--shadow);
}

.map-placeholder span {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-family: Georgia, serif;
}

.map-placeholder p {
  margin: 0;
  color: var(--brown);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  padding: 22px;
}

.faq-item h3 {
  margin-bottom: 8px;
}

.faq-item p {
  margin: 0;
  color: rgba(47, 48, 45, 0.74);
}

.final-cta {
  padding: 84px 18px 112px;
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.final-cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.final-cta h2,
.final-cta .eyebrow {
  color: #fff;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.86);
}

.final-cta .hero-actions {
  justify-content: center;
}

.lead-copy,
.menu-subtitle {
  color: var(--brown);
  font-weight: 700;
}

.concept-quote {
  margin: 24px 0 0;
  padding: 20px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
  color: var(--deep);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.concept-quote p {
  margin: 0;
}

.concept-actions {
  margin-top: 24px;
}

.video-section {
  background: #fffdf8;
}

.video-layout {
  display: grid;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: center;
}

.video-frame {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.yuragi-video {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.video-copy {
  display: grid;
  gap: 12px;
  color: rgba(47, 48, 45, 0.76);
}

.video-copy p {
  margin: 0;
}

.video-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.video-actions .button {
  cursor: pointer;
}

.video-actions .button:disabled {
  cursor: default;
  opacity: 0.54;
  transform: none;
}

.video-sound-off {
  background: #fff;
  color: var(--deep);
  border-color: var(--line);
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
}

.pricing-card .menu-body {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.pricing-card.is-featured {
  border-color: rgba(181, 154, 104, 0.72);
  box-shadow: 0 24px 60px rgba(181, 154, 104, 0.18);
}

.price-label {
  width: fit-content;
  margin: 0 0 12px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
}

.price-list {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 18px 0 0;
  list-style: none;
}

.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.price-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.price-list span {
  color: var(--brown);
  font-weight: 700;
}

.price-list strong {
  color: var(--deep);
  font-size: 20px;
}

.menu-cta {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 30px;
  text-align: center;
}

.menu-cta p {
  margin: 0;
  color: rgba(47, 48, 45, 0.76);
}

.news-section {
  background: #fffdf8;
}

.news-grid {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.news-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(55, 49, 40, 0.08);
}

.news-card time {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 13px;
}

.news-card h2,
.news-card h3 {
  margin-bottom: 8px;
}

.news-card p {
  margin: 0 0 12px;
  color: rgba(47, 48, 45, 0.74);
}

.text-link {
  color: var(--deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-answer p:last-child,
.page-content p:last-child {
  margin-bottom: 0;
}

.page-hero {
  padding: 128px 18px 64px;
  background: linear-gradient(180deg, var(--mist), #fffdf8);
  text-align: center;
}

.page-hero-inner {
  width: min(880px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--deep);
}

.page-hero p,
.page-hero time {
  color: var(--brown);
}

.profile-page-grid {
  display: grid;
  gap: 30px;
  align-items: start;
}

.profile-page-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(55, 49, 40, 0.08);
}

.page-content blockquote {
  margin: 24px 0;
  padding: 20px;
  border-left: 4px solid var(--gold);
  background: var(--soft);
  color: var(--deep);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

.profile-final-cta {
  padding-bottom: 112px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 18px 92px;
  background: #26362c;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.mobile-fixed-cta {
  position: fixed;
  z-index: 40;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 12px 38px rgba(47, 48, 45, 0.2);
  backdrop-filter: blur(18px);
}

.mobile-fixed-cta a {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  font-weight: 700;
}

.mobile-fixed-cta a:last-child {
  background: #fff;
  color: var(--deep);
  border: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .hero {
    padding-inline: 34px;
  }

  .reason-grid,
  .menu-grid,
  .voice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .header-nav,
  .header-cta {
    display: flex;
  }

  .hero {
    align-items: center;
    min-height: 94vh;
    padding: 120px clamp(54px, 8vw, 112px) 56px;
  }

  h1 {
    font-size: clamp(54px, 6vw, 78px);
  }

  .intro-grid,
  .concept,
  .access-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(44px, 6vw, 86px);
  }

  .concept {
    grid-template-columns: 1fr 0.9fr;
  }

  .worry-panel {
    grid-template-columns: 0.9fr 1fr;
    align-items: center;
    padding: 24px;
  }

  .reason-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-layout {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .profile-page-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .voice-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .mobile-fixed-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 32px;
  }
}

@media (min-width: 1200px) {
  .section {
    padding-inline: max(72px, calc((100vw - 1240px) / 2));
  }
}

@media (max-width: 560px) {
  .brand {
    gap: 8px;
  }

  .brand-logo {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .brand span:last-child {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
    max-width: 352px;
  }

  .hero-copy {
    max-width: 14em;
  }

  .hero-text {
    max-width: 24em;
    font-size: 14px;
  }

  .section {
    padding-inline: 16px;
  }

  .instagram-grid {
    gap: 6px;
  }
}

/* Professional design refinement */
body {
  font-feature-settings: "palt";
}

.site-header {
  background: rgba(248, 245, 238, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.74);
}

h1,
h2,
h3,
p,
li,
dt,
dd {
  overflow-wrap: normal;
  word-break: keep-all;
}

.hero {
  min-height: min(760px, 92svh);
  background: var(--deep);
}

.hero-image {
  object-position: 56% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(34, 43, 34, 0.78), rgba(47, 79, 62, 0.44) 46%, rgba(47, 79, 62, 0.1)),
    linear-gradient(0deg, rgba(30, 37, 30, 0.54), rgba(30, 37, 30, 0.06) 48%);
}

.hero-content {
  width: min(720px, 100%);
}

.hero-copy {
  max-width: 20em;
}

.button-primary:hover {
  background: #263f32;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head p,
.section-copy p,
.video-copy,
.news-card p,
.faq-item p,
.salon-space-copy p {
  line-height: 1.95;
}

.worry-panel,
.reason-card,
.menu-card,
.flow-item,
.faq-item,
.news-card,
.shop-info,
.page-content,
.salon-space-copy {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(110, 77, 52, 0.13);
}

.worry-panel {
  padding: clamp(18px, 3vw, 30px);
}

.worry-panel img,
.treatment-image {
  object-position: center 38%;
}

.concept {
  background: linear-gradient(180deg, var(--mist), var(--paper));
}

.profile-concept {
  align-items: center;
}

.profile-portrait {
  position: relative;
}

.profile-portrait::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  border-radius: 8px;
  background: rgba(232, 217, 196, 0.66);
}

.profile-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.profile-concept .section-copy {
  padding: clamp(4px, 2vw, 20px) 0;
}

.concept-quote {
  border-left: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(184, 154, 90, 0.24);
}

.video-section {
  background: #fbf7ef;
}

.video-layout {
  gap: clamp(24px, 5vw, 48px);
}

.video-frame {
  border: 8px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 68px rgba(65, 50, 32, 0.16);
}

.yuragi-video {
  object-fit: contain;
}

.menu-section {
  background: linear-gradient(180deg, #fbf7ef, #f1e7d9);
}

.pricing-grid {
  gap: clamp(16px, 2.4vw, 24px);
}

.pricing-card {
  min-height: 100%;
}

.pricing-card.is-featured {
  transform: translateY(-6px);
  border-color: rgba(184, 154, 90, 0.58);
  box-shadow: 0 26px 64px rgba(129, 89, 52, 0.18);
}

.price-list strong {
  font-size: clamp(18px, 2vw, 21px);
}

.first-guide-section {
  background: var(--paper);
}

.flow-section {
  background: #f7f1e8;
}

.salon-space-section {
  background: linear-gradient(180deg, var(--paper), #eef4ee);
}

.salon-space-grid {
  display: grid;
  gap: clamp(22px, 4vw, 42px);
  max-width: 1080px;
  margin: 0 auto;
  align-items: center;
}

.salon-space-main {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.salon-space-main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center center;
}

.salon-space-copy {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.salon-space-copy p {
  margin-top: 0;
}

.quiet-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.quiet-list li {
  position: relative;
  padding-left: 24px;
  color: var(--brown);
  font-weight: 700;
}

.quiet-list li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.news-section {
  background: #f8f5ee;
}

.faq-section {
  background: #fbf7ef;
}

.access-section {
  background: #f6f0e8;
}

.wide-photo img,
.interior-image {
  object-position: center center;
}

.wide-photo::after {
  background: rgba(41, 54, 43, 0.48);
}

.wide-photo p {
  max-width: 12em;
  margin-inline: auto;
}

.final-cta {
  background-position: center center;
}

@media (min-width: 900px) {
  .hero {
    padding-top: 128px;
    min-height: min(820px, 94vh);
  }

  .hero h1 span {
    display: inline;
  }

  .hero h1 span + span::before {
    content: " ";
  }

  .profile-concept {
    grid-template-columns: 0.82fr 1.18fr;
  }

  .salon-space-grid {
    grid-template-columns: 1.28fr 0.72fr;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 86svh;
    padding-bottom: 28px;
  }

  .hero-image {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(30, 37, 30, 0.78), rgba(47, 79, 62, 0.44) 58%, rgba(47, 79, 62, 0.12)),
      linear-gradient(90deg, rgba(34, 43, 34, 0.62), rgba(34, 43, 34, 0.2));
  }

  h1 {
    font-size: clamp(33px, 10.2vw, 44px);
  }

  h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .hero-copy {
    font-size: clamp(19px, 5.6vw, 25px);
  }

  .profile-portrait {
    order: -1;
  }

  .profile-image {
    aspect-ratio: 4 / 4.8;
    object-position: center 32%;
  }

  .pricing-card.is-featured {
    transform: none;
  }

  .video-actions .button {
    width: 100%;
  }

  .wide-photo {
    min-height: 300px;
  }

  .wide-photo img {
    object-position: center center;
  }
}

/* Mobile critical stabilization */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

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

img,
video {
  max-width: 100%;
}

main {
  overflow-x: hidden;
}

p,
li,
dt,
dd,
.faq-answer,
.page-content {
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

h1,
h2,
h3 {
  line-break: strict;
}

.brand span:last-child {
  min-width: 0;
}

.hero-actions,
.video-actions,
.mobile-fixed-cta {
  max-width: 100%;
}

.button {
  text-align: center;
  white-space: normal;
}

.yuragi-video {
  height: auto;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 76px;
  }

  .site-header {
    min-height: 60px;
    gap: 10px;
    padding: 8px 14px;
  }

  .brand {
    flex: 1 1 auto;
    gap: 8px;
    white-space: normal;
    line-height: 1.35;
    font-size: 13px;
  }

  .brand-logo {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .brand span:last-child {
    max-width: calc(100vw - 86px);
  }

  .header-nav,
  .header-cta {
    display: none !important;
  }

  .hero {
    min-height: auto;
    display: block;
    padding: 0;
    background: var(--paper);
    color: var(--deep);
  }

  .hero picture {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
  }

  .hero-image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center center;
  }

  .hero-overlay {
    display: none;
  }

  .hero-content {
    width: 100%;
    padding: 24px 18px 30px;
    color: var(--deep);
    text-shadow: none;
  }

  .hero .eyebrow {
    color: var(--gold);
  }

  .hero h1 {
    color: var(--deep);
    font-size: clamp(30px, 8.8vw, 38px);
    line-height: 1.28;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .hero h1 span {
    display: block;
  }

  .hero-copy {
    max-width: 100%;
    color: var(--brown);
    font-size: clamp(18px, 5.2vw, 23px);
    line-height: 1.55;
  }

  .hero-text {
    max-width: 100%;
    color: rgba(47, 48, 45, 0.78);
    font-size: 14px;
  }

  .hero-actions {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero .button-ghost {
    border-color: var(--line);
    background: #fff;
    color: var(--deep);
  }

  .hero-note {
    display: none;
  }

  .section {
    padding: 64px 18px;
  }

  .section-head {
    margin-bottom: 28px;
    text-align: left;
  }

  .section-head h2,
  .section-copy h2 {
    font-size: clamp(25px, 7vw, 32px);
    line-height: 1.38;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .intro-grid,
  .concept,
  .access-grid,
  .video-layout,
  .salon-space-grid,
  .profile-page-grid,
  .reason-grid,
  .menu-grid,
  .pricing-grid,
  .flow-list,
  .news-grid,
  .voice-grid {
    grid-template-columns: 1fr !important;
  }

  .worry-panel {
    grid-template-columns: 1fr !important;
    padding: 18px;
  }

  .worry-panel img,
  .treatment-image {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }

  .profile-portrait {
    order: -1;
  }

  .profile-portrait::before {
    inset: 12px -8px -8px 12px;
  }

  .profile-image {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  .concept-quote {
    padding: 18px;
  }

  .video-layout {
    gap: 20px;
  }

  .video-frame {
    border-width: 4px;
    border-radius: 8px;
  }

  .yuragi-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
  }

  .video-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pricing-card,
  .pricing-card.is-featured {
    width: 100%;
    transform: none;
  }

  .price-list li {
    align-items: center;
    gap: 10px;
  }

  .price-list strong {
    flex: 0 0 auto;
    font-size: 18px;
  }

  .menu-cta {
    margin-top: 26px;
  }

  .flow-item {
    padding: 22px 20px 22px 68px;
  }

  .salon-space-main img,
  .wide-photo img,
  .interior-image {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }

  .wide-photo {
    min-height: 0;
    display: block;
    background: var(--deep);
  }

  .wide-photo img {
    position: relative;
    width: 100%;
  }

  .wide-photo::after {
    display: none;
  }

  .wide-photo div {
    width: 100%;
    padding: 28px 18px;
  }

  .wide-photo p {
    max-width: 100%;
    color: #fff;
    font-size: clamp(24px, 6.8vw, 32px);
    text-align: left;
  }

  .news-card,
  .faq-item,
  .shop-info,
  .salon-space-copy {
    padding: 20px;
  }

  .map-placeholder {
    min-height: 240px;
  }

  .final-cta {
    padding: 64px 18px 108px;
    background-image: none !important;
    background-color: #f6f0e8;
    color: var(--deep);
  }

  .final-cta h2,
  .final-cta .eyebrow {
    color: var(--deep);
  }

  .final-cta p {
    color: rgba(47, 48, 45, 0.78);
  }

  .final-cta .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: none;
  }

  .final-cta .button-ghost.light {
    border-color: var(--line);
    background: #fff;
    color: var(--deep);
  }

  .mobile-fixed-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 6px;
    padding: 6px;
  }

  .mobile-fixed-cta a {
    min-height: 44px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  body {
    padding-bottom: 74px;
  }

  .brand {
    font-size: 12.5px;
  }

  .brand-logo {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .hero-image {
    aspect-ratio: 4 / 3;
  }

  .hero-content {
    padding-inline: 16px;
  }

  .section {
    padding: 58px 16px;
  }

  .section-head h2,
  .section-copy h2 {
    font-size: clamp(24px, 7.6vw, 30px);
  }

  .button {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .price-list li {
    flex-wrap: wrap;
  }

  .price-list strong {
    font-size: 17px;
  }

  .flow-item {
    padding-left: 62px;
  }

  .flow-item span {
    left: 18px;
  }
}
