/* ===========================================
   REFA BEAUTECH — style.css
   =========================================== */

/* Logo PNG */
.navbar__logo {
  flex: 0 0 auto;
  margin-right: auto;
  display: flex;
  align-items: center;
}
.navbar__logo-img {
  height: 36px;
  width: auto;
  display: block;
}
/* keep old .logo-text hidden if leftover */
.logo-text { display: none; }

/* ================================================================
   HOME BANNERS  (两张全幅图，顺序排列)
   ================================================================ */
.home-banners {
  margin-top: var(--nav-h);   /* push below fixed navbar */
}
.home-banner {
  width: 100%;
  line-height: 0;             /* remove inline-block gap */
}
.home-banner__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ================================================================
   LINEUP PANELS  (全幅图片 + 右侧叠加文字)
   ================================================================ */
.lineup { background: var(--white); }

.lineup-panel {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* height driven by image aspect ratio */
}

.lineup-panel__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Overlay box — positioned at ~40% from left, bottom area */
.lineup-panel__overlay {
  position: absolute;
  left: 30%;
  bottom: 0;
  top: auto;
  right: auto;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 40px 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.lineup-panel__name-en {
  font-size: clamp(12px, 1vw, 16px);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 4px;
}
.lineup-panel__name-ja {
  font-size: clamp(10px, 0.8vw, 13px);
  font-weight: 300;
  color: var(--gray-text);
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.lineup-panel__catch {
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--black);
  margin-bottom: 24px;
}
.lineup-panel__pricewrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.lineup-panel__price {
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 400;
  color: var(--white);
}
.lineup-panel__tax {
  font-size: 12px;
  font-weight: 300;
  color: var(--white);
  margin-left: 2px;
}
.lineup-panel__colors {
  display: flex;
  align-items: center;
  gap: 7px;
}
.lineup-panel__color-label {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--white);
}
/* color dots */
.ldot {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
}
.ldot--silver { background: #c0bdb8; border: 1.5px solid #aaa; }
.ldot--white  { background: #f0f0ec; border: 1.5px solid #ccc; }
.ldot--black  { background: #2a2a2a; border: 1.5px solid #555; }
/* .ldot--pink   { background: #e8b4b4; border: 1.5px solid #d4a0a0; } */
.ldot--pink   { background: #e0306a; border: 1.5px solid #c0255a; }

/* CTA button */
.lineup-panel__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  padding: 13px 20px;
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 400;
  letter-spacing: 0.06em;
  white-space: nowrap;
  align-self: flex-start;
  transition: opacity 0.2s;
}
.lineup-panel__btn:hover { opacity: 0.7; }
.lineup-panel__btn svg:last-child { margin-left: 4px; }

/* ---- Variables ---- */
:root {
  --teal:        #4dbcb8;
  --teal-light:  #7dd0cc;
  --teal-pale:   #e8f6f5;
  --black:       #1a1a1a;
  --white:       #ffffff;
  --gray-light:  #f5f5f5;
  --gray-border: #e0e0e0;
  --gray-text:   #666666;
  --nav-h:       64px;
  --font-jp:     'Noto Sans JP', sans-serif;
  --font-en:     'EB Garamond', 'Georgia', serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-jp); color: var(--black); background: var(--white); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ================================================================
   NAVBAR  (exact ReFa style: logo left | links center | icons right)
   ================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  padding: 0 32px;
  z-index: 1000;
  gap: 0;
}

/* Nav links (center) */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.navbar__links li + li { margin-left: 0; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--black);
  padding: 0 22px;
  height: var(--nav-h);
  position: relative;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 22px; right: 22px;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

/* Right icons */
.navbar__icons {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--black);
  transition: opacity 0.2s;
  position: relative;
}
.icon-btn:hover { opacity: 0.6; }

.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 500;
}

/* Hamburger */
.hamburger-btn {
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
}
.hamburger-btn span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--black);
  transition: 0.3s;
}

/* Mobile overlay menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  padding: 80px 40px 40px;
  border-left: 1px solid var(--gray-border);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
}
.mobile-menu__close {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 20px;
  color: var(--black);
  line-height: 1;
}
.mobile-link {
  display: block;
  font-size: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-border);
  color: var(--black);
}

/* ================================================================
   HERO SLIDES  (matches screenshot 2: dark gradient bg, dryer right)
   ================================================================ */
.hero {
  position: relative;
  width: 100%;
  /* 2800:930 → ≈33.2% */
  padding-top: calc(var(--nav-h));
  min-height: calc(33.2vw + var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero--1 {
  background: linear-gradient(110deg,
    #3b3830 0%,
    #5a5248 30%,
    #7a7068 55%,
    #b0a898 75%,
    #cfc8be 100%);
}
.hero--2 {
  background: linear-gradient(110deg,
    #28292e 0%,
    #3a3d45 30%,
    #555960 55%,
    #8a8e96 75%,
    #b5b8be 100%);
}

/* overlay radial glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 68% 50%, rgba(255,255,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}

/* Content (left side) */
.hero__content {
  position: relative;
  z-index: 2;
  margin-left: 8%;
  padding: 60px 0;
  max-width: 500px;
  color: var(--white);
}

.hero__name-en {
  font-size: clamp(13px, 1.1vw, 18px);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.hero__name-ja {
  font-size: clamp(11px, 0.85vw, 14px);
  font-weight: 300;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 24px;
}
.hero__copy {
  font-size: clamp(20px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.03em;
  margin-bottom: 32px;
}

.hero__price-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.hero__price {
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 400;
  letter-spacing: 0.02em;
}
.hero__price small {
  font-size: 0.52em;
  font-weight: 300;
  margin-left: 2px;
}

.hero__colors {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__color-label {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* color dots */
.hero__dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.hero__dot--silver { background: #c0bdb8; }
.hero__dot--white  { background: #f0f0ec; border-color: rgba(255,255,255,0.9); }
.hero__dot--black  { background: #2a2a2a; }
.hero__dot--pink   { background: #e8b4b4; }

/* CTA button — black rectangular, matches screenshot */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10,10,10,0.88);
  color: var(--white);
  padding: 14px 26px;
  font-size: clamp(12px, 1vw, 15px);
  letter-spacing: 0.06em;
  border: none;
  min-width: 260px;
  transition: background 0.25s;
}
.hero__cta:hover { background: rgba(10,10,10,1); }
.hero__cta svg:first-child { flex-shrink: 0; }
.hero__cta span { flex: 1; text-align: center; }

/* Dryer visual area (right side) */
.hero__visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 55%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

/* CSS dryer silhouette */
.hero__dryer {
  width: 52%;
  max-width: 520px;
  height: 78%;
  border-radius: 30% 20% 30% 20% / 40% 50% 30% 40%;
  position: relative;
  margin-right: 4%;
}
.hero__dryer--silver {
  background: radial-gradient(ellipse at 40% 35%, #e8e4dc 0%, #bbb7b0 40%, #8a8680 70%, #5a5650 100%);
  box-shadow:
    inset -20px -20px 40px rgba(0,0,0,0.25),
    inset 10px 10px 30px rgba(255,255,255,0.3),
    0 20px 60px rgba(0,0,0,0.4);
}
.hero__dryer--dark {
  background: radial-gradient(ellipse at 40% 35%, #6a6a6a 0%, #3a3a3a 40%, #1e1e1e 70%, #0a0a0a 100%);
  box-shadow:
    inset -20px -20px 40px rgba(0,0,0,0.4),
    inset 10px 10px 30px rgba(255,255,255,0.15),
    0 20px 60px rgba(0,0,0,0.5);
}

/* ================================================================
   USER'S VOICE  (white bg, teal accents — matches screenshot 3)
   ================================================================ */
.usersvoice {
  background: var(--white);
  padding: 80px 0 60px;
}

/* Stats text block */
.uv-stats {
  max-width: 860px;
  margin: 0 auto 60px;
  padding: 0 24px;
  text-align: center;
}
.uv-stats__text {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 400;
  line-height: 2;
  color: var(--black);
}
.uv-em {
  font-style: normal;
  font-size: 1.55em;
  font-weight: 700;
  color: var(--teal);
}
.uv-quote {
  color: var(--teal);
  font-weight: 400;
}
.uv-note {
  margin-top: 24px;
  text-align: left;
  font-size: 10.5px;
  color: var(--gray-text);
  line-height: 1.9;
}

/* Donut charts row */
.uv-charts {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 0 24px 70px;
}

.uv-chart { text-align: center; }

.uv-donut-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.uv-donut {
  width: 200px;
  height: 200px;
  transform: rotate(-90deg);
  display: block;
}

.uv-ring-bg {
  fill: none;
  stroke: #d6efee;
  stroke-width: 16;
}
.uv-ring-fill {
  fill: none;
  stroke: var(--teal);
  stroke-width: 16;
  stroke-linecap: butt;
  /* circumference = 2π×82 ≈ 515.2 */
  stroke-dasharray: 515.2;
  stroke-dashoffset: 515.2;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.uv-donut-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.uv-donut-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 4px;
}
.uv-donut-num {
  font-size: 44px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.uv-donut-num span:last-child {
  font-size: 26px;
}

/* Voice cards */
.uv-voices {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}
.uv-voices__head {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 40px;
  color: var(--black);
}
.uv-voices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  text-align: center;
  padding: 0 10px;
}
.voice-card__img {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
}
.voice-card__img svg { width: 100%; height: 100%; }
.voice-card__who {
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.voice-card__body {
  font-size: 13px;
  font-weight: 300;
  color: var(--black);
  line-height: 1.85;
}
.uv-voices__note {
  text-align: center;
  font-size: 10.5px;
  color: var(--gray-text);
  margin-top: 32px;
}

/* ================================================================
   FAQ
   ================================================================ */
.faq-section {
  background: var(--gray-light);
  padding: 80px 0;
}
.section-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.sec-title {
  font-family: var(--font-en);
  font-size: 38px;
  font-weight: 400;
  font-style: italic;
  text-align: center;
  color: var(--black);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.sec-sub {
  text-align: center;
  font-size: 12px;
  font-weight: 300;
  color: var(--gray-text);
  letter-spacing: 0.1em;
  margin-bottom: 48px;
}
.faq-list { border-top: 1px solid var(--gray-border); }
.faq-item { border-bottom: 1px solid var(--gray-border); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 22px 4px;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  color: var(--black);
  background: none;
  gap: 16px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--teal); }
.faq-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  color: var(--teal);
  transition: transform 0.3s;
  font-weight: 300;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-a.open { max-height: 300px; padding-bottom: 20px; }
.faq-a p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--gray-text);
  padding: 0 4px;
}

/* ================================================================
   SUPPORT
   ================================================================ */
.support-section {
  background: var(--white);
  padding: 80px 0;
}
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 60px;
}
.support-card {
  border: 1px solid var(--gray-border);
  padding: 40px 28px;
  text-align: center;
  transition: box-shadow 0.25s;
}
.support-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.support-card__icon {
  width: 48px; height: 48px;
  margin: 0 auto 20px;
  color: var(--teal);
}
.support-card__icon svg { width: 100%; height: 100%; }
.support-card h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
}
.support-card p {
  font-size: 12px;
  font-weight: 300;
  color: var(--gray-text);
  line-height: 1.85;
  margin-bottom: 24px;
}
.support-card__btn {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid var(--black);
  font-size: 12px;
  color: var(--black);
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}
.support-card__btn:hover { background: var(--black); color: var(--white); }

.support-tel {
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid var(--gray-border);
}
.support-tel__label { font-size: 12px; color: var(--gray-text); margin-bottom: 8px; }
.support-tel__num {
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--black);
  margin-bottom: 8px;
}
.support-tel__hours { font-size: 12px; color: var(--gray-text); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 40px 32px;
  text-align: center;
}
.footer__logo {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.footer__nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 20px;
}
/* footer の .nav-link は navbar と同じクラスを使うので白色で上書き */
.footer__nav .nav-link {
  color: rgba(255,255,255,0.75);
  height: auto;
  padding: 4px 22px;
}
.footer__nav .nav-link::after {
  background: var(--white);
  bottom: 0;
}
.footer__nav .nav-link:hover { color: var(--white); }
.footer__copy { font-size: 11px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .navbar__links { position: static; transform: none; display: none; }
  .lineup-panel__overlay { width: 46%; padding: 32px 36px; }
  .uv-voices__grid { grid-template-columns: 1fr 1fr; }
  .support-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .navbar__logo-img { height: 28px; }

  /* home banners stack normally */
  .home-banners { margin-top: var(--nav-h); }

  /* lineup panels: overlay stays bottom-left on mobile, slightly smaller padding */
  .lineup-panel__overlay {
    padding: 20px 24px;
  }
  .lineup-panel__price { font-size: 20px; }
  .lineup-panel__btn { padding: 11px 16px; font-size: 11px; }

  .uv-charts { gap: 20px; }
  .uv-donut-wrap { width: 130px; height: 130px; }
  .uv-donut { width: 130px; height: 130px; }
  .uv-donut-num { font-size: 30px; }
  .uv-voices__grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .support-grid { grid-template-columns: 1fr; }
}