/* ============================================
   BLANC beauty studio - Site D
   Bold Minimal Modern
   ============================================ */

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

:root {
  --primary: #111111;
  --accent: #C41E3A;
  --bg: #FAFAFA;
  --bg-dark: #111111;
  --text: #111111;
  --muted: #777777;
  --white: #FFFFFF;
  --font-main: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  font-weight: 400;
}

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

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

/* ── Sample Banner ── */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  font-size: 12px;
  padding: 7px 16px;
  z-index: 99999;
  letter-spacing: .5px;
  font-weight: 500;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 28px;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 16px 0;
  transition: all .4s var(--ease-out-expo);
}

.header.scrolled {
  background: rgba(250, 250, 250, .92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  padding: 10px 0;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: var(--primary);
  text-transform: uppercase;
}

.logo-accent {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 0;
  margin-left: 2px;
  vertical-align: super;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: .75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color .3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white) !important;
  background: var(--primary);
  padding: 10px 24px;
  transition: all .3s;
}

.nav-cta:hover {
  background: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 10000;
}

.hamburger span {
  width: 28px;
  height: 1.5px;
  background: var(--primary);
  display: block;
  transition: .4s var(--ease-out-expo);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9997;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: .5s var(--ease-out-expo);
}

.mobile-nav.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--primary);
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 80px;
  background: linear-gradient(135deg, var(--primary) 0%, #333 35%, var(--bg) 70%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.hero-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 32px;
  mix-blend-mode: difference;
}

.hero-title-char {
  display: inline-block;
  opacity: 0;
}

.hero-tagline {
  font-family: var(--font-main);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: rgba(255,255,255,.6);
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 16px 40px;
  text-transform: uppercase;
  transition: all .3s var(--ease-out-expo);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(196, 30, 58, .3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.6);
}

/* Magnetic button wrapper */
.magnetic-btn {
  display: inline-block;
  position: relative;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.4);
  font-size: .65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── Stats Section ── */
.stats {
  padding: 80px 48px;
  background: var(--primary);
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}

.stat-number {
  font-family: var(--font-main);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
  display: inline-block;
}

.stat-unit {
  font-size: 1rem;
  font-weight: 400;
  color: var(--accent);
}

.stat-label {
  font-size: .7rem;
  color: rgba(255,255,255,.4);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ── Section Base ── */
.section {
  padding: 120px 48px;
  position: relative;
  transition: background-color .8s var(--ease-out-expo);
}

.section--dark {
  background: var(--primary);
  color: var(--white);
}

.section--light {
  background: var(--bg);
}

.section--white {
  background: var(--white);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* Clip-path reveal */
.clip-reveal {
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: clip-path 1.2s var(--ease-out-expo);
}

.clip-reveal.revealed {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* ── About / Concept ── */
.about-header {
  margin-bottom: 80px;
}

.about-number {
  font-family: var(--font-main);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--primary);
  opacity: .06;
  line-height: 1;
  margin-bottom: -20px;
  display: block;
}

.section--dark .about-number {
  color: var(--white);
  opacity: .05;
}

.about-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.about-title {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.4;
}

.about-text {
  font-size: .9rem;
  color: var(--muted);
  line-height: 2.2;
  max-width: 680px;
}

.section--dark .about-text {
  color: rgba(255,255,255,.5);
}

/* Scroll opacity elements */
.scroll-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}

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

/* ── About Grid (01. 02. 03.) ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.about-grid-content {
  padding-top: 40px;
}

/* SVG Line Drawing */
.line-draw-svg {
  width: 100%;
  max-width: 400px;
}

.line-draw-svg path,
.line-draw-svg circle,
.line-draw-svg ellipse,
.line-draw-svg line,
.line-draw-svg rect {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s var(--ease-out-expo);
}

.line-draw-svg.drawn path,
.line-draw-svg.drawn circle,
.line-draw-svg.drawn ellipse,
.line-draw-svg.drawn line,
.line-draw-svg.drawn rect {
  stroke-dashoffset: 0;
}

/* ── Services ── */
.services-list {
  max-width: 900px;
}

.service-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .6s var(--ease-out-expo), transform .6s var(--ease-out-expo);
}

.service-row.visible {
  opacity: 1;
  transform: translateX(0);
}

.section--dark .service-row {
  border-bottom-color: rgba(255,255,255,.08);
}

.service-name {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .5px;
}

.service-desc {
  font-size: .8rem;
  color: var(--muted);
  margin-left: 20px;
  flex: 1;
  text-align: left;
  padding: 0 40px;
}

.section--dark .service-desc {
  color: rgba(255,255,255,.4);
}

.service-price {
  font-family: var(--font-main);
  font-size: .9rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.service-price small {
  font-size: .7rem;
  font-weight: 400;
  opacity: .7;
}

/* ── Owner ── */
.owner-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.owner-visual {
  position: relative;
}

.owner-svg-container {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,.06);
}

.owner-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--accent);
  color: var(--white);
  padding: 16px 24px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.4;
}

.owner-name {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.owner-title {
  font-size: .75rem;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.owner-bio {
  font-size: .88rem;
  color: var(--muted);
  line-height: 2.2;
  margin-bottom: 16px;
}

.owner-credentials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.owner-cred {
  font-size: .7rem;
  font-weight: 500;
  color: var(--primary);
  padding: 6px 16px;
  border: 1px solid rgba(0,0,0,.1);
  letter-spacing: 1px;
}

/* ── Voice / Testimonials ── */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.voice-card {
  background: var(--white);
  padding: 48px 36px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease-out-expo), transform .6s var(--ease-out-expo);
}

.voice-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.voice-stars {
  color: var(--accent);
  font-size: .8rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.voice-text {
  font-size: .88rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 24px;
}

.voice-author {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: 1px;
}

.voice-author strong {
  color: var(--primary);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

/* ── Flow ── */
.flow-list {
  max-width: 800px;
  margin: 0 auto;
  counter-reset: flow;
}

.flow-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out-expo), transform .6s var(--ease-out-expo);
}

.flow-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.flow-num {
  font-family: var(--font-main);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: .3;
  line-height: 1;
  min-width: 60px;
}

.flow-content h4 {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}

.flow-content p {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  line-height: 1.9;
}

/* ── FAQ ── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 500;
  transition: color .3s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-toggle {
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform .4s var(--ease-out-expo);
  font-weight: 300;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease-out-expo);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 2;
  padding-bottom: 24px;
}

/* ── Info Table ── */
.info-table {
  max-width: 800px;
  margin: 0 auto;
}

.info-row {
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 16px 0;
}

.info-label {
  min-width: 140px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.info-value {
  font-size: .85rem;
  color: var(--muted);
}

.info-value a {
  color: var(--accent);
  font-weight: 500;
}

/* ── CTA ── */
.cta-section {
  padding: 100px 48px;
  background: var(--primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-main);
  font-size: clamp(6rem, 15vw, 14rem);
  font-weight: 900;
  color: var(--white);
  opacity: .03;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -.03em;
}

.cta-title {
  font-family: var(--font-main);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.cta-sub {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 36px;
  position: relative;
}

.cta-phone {
  display: block;
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 2px;
  position: relative;
}

.cta-hours {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 32px;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn-cta-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-cta-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
}

.btn-cta-outline:hover {
  background: rgba(255,255,255,.08);
}

/* ── Footer ── */
.footer {
  background: #0A0A0A;
  color: rgba(255,255,255,.4);
  padding: 60px 48px 28px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: .75rem;
  line-height: 2;
}

.footer h4 {
  font-size: .65rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
}

.footer li a {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  transition: color .3s;
}

.footer li a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .65rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(255,255,255,.3);
  font-size: .72rem;
  transition: color .3s;
}

.footer-social a:hover {
  color: var(--accent);
}

/* ── Background color transitions between sections ── */
.section[data-bg="dark"] {
  background: var(--primary);
  color: var(--white);
}

.section[data-bg="light"] {
  background: var(--bg);
}

.section[data-bg="white"] {
  background: var(--white);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero {
    padding: 120px 32px 80px;
  }
  .section {
    padding: 80px 32px;
  }
  .header-inner {
    padding: 0 32px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .owner-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .voice-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero {
    padding: 100px 20px 60px;
  }
  .hero-title {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }
  .section {
    padding: 64px 20px;
  }
  .header-inner {
    padding: 0 20px;
  }
  .stats {
    padding: 48px 20px;
  }
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .service-row {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .service-desc {
    padding: 0;
    margin-left: 0;
  }
  .owner-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .voice-grid {
    grid-template-columns: 1fr;
  }
  .flow-item {
    gap: 24px;
  }
  .info-row {
    flex-direction: column;
    gap: 4px;
  }
  .info-label {
    min-width: auto;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer {
    padding: 40px 20px 20px;
  }
  .cta-section {
    padding: 64px 20px;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .stats-inner {
    grid-template-columns: 1fr 1fr;
  }
}
