/* ===================================
   anir Aesthetic Salon - Stylesheet
   =================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #c8a87e;
  --color-primary-light: #f5ebe0;
  --color-primary-dark: #a68a5b;
  --color-text: #4a4a4a;
  --color-text-light: #7a7a7a;
  --color-white: #fff;
  --color-bg: #fdfbf8;
  --color-bg-section: #f9f3ec;
  --color-border: #e8ddd0;
  --font-heading: "Cormorant Garamond", "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --max-width: 1100px;
  --section-padding: 80px 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.9;
  font-size: 0.95rem;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 251, 248, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--color-text);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.3s;
}

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

.nav-links a:hover {
  opacity: 1;
  color: var(--color-primary-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: all 0.3s;
}

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

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

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

/* --- Hero --- */
.hero {
  margin-top: 70px;
  position: relative;
  height: 90vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(253, 251, 248, 0.1) 0%,
    rgba(253, 251, 248, 0.3) 50%,
    rgba(253, 251, 248, 0.85) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 60px;
}

.hero-content {
  text-align: center;
}

.hero-logo {
  width: 160px;
  margin: 0 auto 20px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-text);
  line-height: 2;
}

/* --- Section Common --- */
.section {
  padding: var(--section-padding);
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--color-text);
}

.section-title-en {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
}

.section-lead {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 2;
}

/* --- Concept --- */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.concept-image {
  border-radius: 4px;
  overflow: hidden;
}

.concept-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.concept-text h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.concept-text p {
  font-size: 0.9rem;
  line-height: 2.1;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.concept-features {
  list-style: none;
  margin-top: 24px;
}

.concept-features li {
  font-size: 0.88rem;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  color: var(--color-text-light);
}

.concept-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 1px;
  background: var(--color-primary);
}

/* --- Menu --- */
.menu-list {
  display: grid;
  gap: 32px;
}

.menu-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  background: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.menu-card--reverse {
  direction: rtl;
}

.menu-card--reverse > * {
  direction: ltr;
}

.menu-card-image {
  height: 100%;
  min-height: 220px;
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card-body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.menu-card-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.menu-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.menu-card-meta {
  font-size: 0.8rem;
  color: var(--color-primary-dark);
  letter-spacing: 0.05em;
}

.menu-card-desc {
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--color-text-light);
}

/* Short Menu */
.short-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.short-menu-card {
  background: var(--color-white);
  border-radius: 4px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.short-menu-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.short-menu-card .meta {
  font-size: 0.8rem;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.short-menu-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Option */
.option-list {
  max-width: 500px;
  margin: 48px auto 0;
}

.option-list h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 20px;
}

.option-list ul {
  list-style: none;
}

.option-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.option-list li span:last-child {
  color: var(--color-primary-dark);
  white-space: nowrap;
  margin-left: 12px;
}

/* --- Photo Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* --- Products (JC PROGRAM) --- */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.products-image img {
  border-radius: 4px;
  width: 100%;
}

.products-text h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.products-text p {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 12px;
}

.products-text .jcdc-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--color-primary-dark);
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 2px;
}

/* --- Salon Info --- */
.salon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.salon-image-single {
  border-radius: 4px;
  overflow: hidden;
}

.salon-image-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.salon-info-table {
  width: 100%;
}

.salon-info-table dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0;
}

.salon-info-table dt {
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--color-primary-dark);
  border-bottom: 1px solid var(--color-border);
}

.salon-info-table dd {
  padding: 14px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--color-border);
}

/* --- First Visit / CTA --- */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg) 100%);
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.cta-section p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
  line-height: 2;
}

.cta-note {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-top: 24px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: all 0.3s;
}

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

.btn--primary:hover {
  background: var(--color-primary-dark);
  opacity: 1;
}

.btn--outline {
  border: 1px solid var(--color-primary);
  color: var(--color-primary-dark);
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  opacity: 1;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
  text-align: center;
}

.footer-logo {
  width: 100px;
  margin: 0 auto 16px;
  filter: brightness(0) invert(1);
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-note {
  font-size: 0.75rem;
  margin-bottom: 8px;
  line-height: 1.8;
}

.footer-copyright {
  font-size: 0.72rem;
  opacity: 0.5;
  margin-top: 16px;
}

/* --- Therapist Profile --- */
.therapist-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}

.therapist-image {
  border-radius: 4px;
  overflow: hidden;
}

.therapist-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
}

.therapist-text h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.therapist-role {
  font-size: 0.82rem;
  color: var(--color-primary-dark);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.therapist-text p {
  font-size: 0.9rem;
  line-height: 2.1;
  color: var(--color-text-light);
  margin-bottom: 14px;
}

.therapist-qualifications {
  list-style: none;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.therapist-qualifications li {
  font-size: 0.82rem;
  padding: 4px 0 4px 18px;
  position: relative;
  color: var(--color-text-light);
}

.therapist-qualifications li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* --- Parallax & Animations --- */
.hero-parallax {
  width: 100%;
  height: 120%;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

.hero-parallax .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.gallery-grid .fade-in {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

.gallery-grid img:nth-child(1) { --i: 0; }
.gallery-grid img:nth-child(2) { --i: 1; }
.gallery-grid img:nth-child(3) { --i: 2; }
.gallery-grid img:nth-child(4) { --i: 3; }
.gallery-grid img:nth-child(5) { --i: 4; }
.gallery-grid img:nth-child(6) { --i: 5; }
.gallery-grid img:nth-child(7) { --i: 6; }
.gallery-grid img:nth-child(8) { --i: 7; }

/* --- Responsive --- */
@media (max-width: 768px) {
  :root {
    --section-padding: 56px 0;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(253, 251, 248, 0.98);
    flex-direction: column;
    align-items: center;
    padding: 32px 0;
    gap: 24px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .hero-logo {
    width: 120px;
  }

  .hero-tagline {
    font-size: 0.95rem;
  }

  .concept-grid,
  .products-grid,
  .salon-grid,
  .therapist-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .therapist-image img {
    height: 320px;
  }

  .concept-image img {
    height: 280px;
  }

  .menu-card {
    grid-template-columns: 1fr;
  }

  .menu-card--reverse {
    direction: ltr;
  }

  .menu-card-image {
    min-height: 200px;
  }

  .short-menu-grid {
    grid-template-columns: 1fr;
  }

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


  .section-title {
    font-size: 1.3rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 60px;
  }

  .hero {
    margin-top: 60px;
    height: 60vh;
  }

  .nav-links {
    top: 60px;
  }

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

  .gallery-grid img {
    height: 140px;
  }

  .salon-info-table dl {
    grid-template-columns: 80px 1fr;
  }
}
