/*
 * naturia — トップページ専用スタイル 修正版
 * 配置場所: your-theme/css/naturia-top.css
 *
 * 方針：
 * page.php と同じヘッダー・スマホメニュー構造を維持するため、
 * #container / #content / .content / #main / .incontainer / #sidebar / header / footer には触らない。
 * トップページ本文 .nt-top-page だけを 100vw で画面幅いっぱいに広げる。
 */

:root {
  --nt-dark: #2a2520;
  --nt-mid: #6b6560;
  --nt-accent: #8a7d6e;
  --nt-cream: #f7f5f0;
  --nt-light-border: #e0dbd4;
}

/* =========================================================
   page.php構造の中から、本文だけ全幅に抜け出す
   ヘッダー・スマホメニュー・フッターには触らない
========================================================= */

.page-template-page-top .nt-top-article,
.page-template-page-top-php .nt-top-article {
  overflow: visible !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page-template-page-top .nt-top-article .entry,
.page-template-page-top .nt-top-article .entry-content,
.page-template-page-top-php .nt-top-article .entry,
.page-template-page-top-php .nt-top-article .entry-content {
  overflow: visible !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page-template-page-top .nt-top-page,
.page-template-page-top-php .nt-top-page {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  background: #fff;
  color: var(--nt-dark);
  line-height: 1.8;
  overflow: visible !important;
  position: relative;
  z-index: 1;
}

/* =========================================================
   トップページ専用リセット
========================================================= */

.page-template-page-top .nt-top-page,
.page-template-page-top .nt-top-page *,
.page-template-page-top-php .nt-top-page,
.page-template-page-top-php .nt-top-page * {
  box-sizing: border-box;
}

.page-template-page-top .nt-top-page h1,
.page-template-page-top .nt-top-page h2,
.page-template-page-top .nt-top-page h3,
.page-template-page-top .nt-top-page p,
.page-template-page-top .nt-top-page ul,
.page-template-page-top .nt-top-page ol,
.page-template-page-top .nt-top-page li,
.page-template-page-top .nt-top-page figure,
.page-template-page-top-php .nt-top-page h1,
.page-template-page-top-php .nt-top-page h2,
.page-template-page-top-php .nt-top-page h3,
.page-template-page-top-php .nt-top-page p,
.page-template-page-top-php .nt-top-page ul,
.page-template-page-top-php .nt-top-page ol,
.page-template-page-top-php .nt-top-page li,
.page-template-page-top-php .nt-top-page figure {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.page-template-page-top .nt-top-page h1::before,
.page-template-page-top .nt-top-page h1::after,
.page-template-page-top .nt-top-page h2::before,
.page-template-page-top .nt-top-page h2::after,
.page-template-page-top .nt-top-page h3::before,
.page-template-page-top .nt-top-page h3::after,
.page-template-page-top .nt-top-page p::before,
.page-template-page-top .nt-top-page p::after,
.page-template-page-top-php .nt-top-page h1::before,
.page-template-page-top-php .nt-top-page h1::after,
.page-template-page-top-php .nt-top-page h2::before,
.page-template-page-top-php .nt-top-page h2::after,
.page-template-page-top-php .nt-top-page h3::before,
.page-template-page-top-php .nt-top-page h3::after,
.page-template-page-top-php .nt-top-page p::before,
.page-template-page-top-php .nt-top-page p::after {
  display: none !important;
  content: none !important;
}

.page-template-page-top .nt-top-page img,
.page-template-page-top-php .nt-top-page img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.page-template-page-top .nt-top-page a,
.page-template-page-top-php .nt-top-page a {
  text-decoration: none;
}

/* =========================================================
   HERO
========================================================= */

.page-template-page-top .nt-top-page .nt-hero,
.page-template-page-top-php .nt-top-page .nt-hero {
  position: relative;
  width: 100vw !important;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

.page-template-page-top .nt-top-page .nt-slide,
.page-template-page-top-php .nt-top-page .nt-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}

.page-template-page-top .nt-top-page .nt-slide.active,
.page-template-page-top-php .nt-top-page .nt-slide.active {
  opacity: 1;
}

.page-template-page-top .nt-top-page .nt-slide-1,
.page-template-page-top-php .nt-top-page .nt-slide-1 {
  background-color: #c4bab0;
}

.page-template-page-top .nt-top-page .nt-slide-2,
.page-template-page-top-php .nt-top-page .nt-slide-2 {
  background-color: #b8c0bc;
}

.page-template-page-top .nt-top-page .nt-slide-3,
.page-template-page-top-php .nt-top-page .nt-slide-3 {
  background-color: #cac0b8;
}

.page-template-page-top .nt-top-page .nt-hero-overlay,
.page-template-page-top-php .nt-top-page .nt-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.28) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.page-template-page-top .nt-top-page .nt-hero-content,
.page-template-page-top-php .nt-top-page .nt-hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.page-template-page-top .nt-top-page .nt-hero-title,
.page-template-page-top-php .nt-top-page .nt-hero-title {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
  font-size: clamp(48px, 8vw, 80px);
  line-height: 1.15;
  letter-spacing: 0.12em;
  color: #fff;
  text-transform: none;
  margin-bottom: 20px;
}

.page-template-page-top .nt-top-page .nt-hero-sub,
.page-template-page-top-php .nt-top-page .nt-hero-sub {
  font-size: 12px;
  letter-spacing: 0.2em;
  opacity: 0.88;
  line-height: 2;
  color: #fff;
}

.page-template-page-top .nt-top-page .nt-hero-dots,
.page-template-page-top-php .nt-top-page .nt-hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}

.page-template-page-top .nt-top-page .nt-dot,
.page-template-page-top-php .nt-top-page .nt-dot {
  width: 6px;
  height: 6px;
  min-width: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
  padding: 0;
  appearance: none;
}

.page-template-page-top .nt-top-page .nt-dot.active,
.page-template-page-top-php .nt-top-page .nt-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* =========================================================
   SECTION BASE
========================================================= */

.page-template-page-top .nt-top-page .nt-section,
.page-template-page-top-php .nt-top-page .nt-section {
  width: 100%;
  padding: 100px 40px;
  margin: 0;
  position: relative;
}

.page-template-page-top .nt-top-page .nt-section-label,
.page-template-page-top-php .nt-top-page .nt-section-label {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--nt-accent);
  display: block;
  margin: 0 0 16px;
  text-align: center;
}

.page-template-page-top .nt-top-page .nt-section-title,
.page-template-page-top-php .nt-top-page .nt-section-title {
  display: block;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 300;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-align: center;
  margin: 0 0 20px;
  color: var(--nt-dark);
  text-transform: none;
}

.page-template-page-top .nt-top-page .nt-section-line,
.page-template-page-top-php .nt-top-page .nt-section-line {
  width: 40px;
  height: 1px;
  background: var(--nt-accent);
  margin: 0 auto 48px;
}

.page-template-page-top .nt-top-page .nt-concept,
.page-template-page-top-php .nt-top-page .nt-concept {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.page-template-page-top .nt-top-page .nt-concept-text,
.page-template-page-top-php .nt-top-page .nt-concept-text {
  font-size: 14px;
  line-height: 2.4;
  color: var(--nt-mid);
  letter-spacing: 0.05em;
  margin: 0 0 48px;
}

.page-template-page-top .nt-top-page .nt-btn,
.page-template-page-top-php .nt-top-page .nt-btn {
  display: inline-block;
  padding: 14px 48px;
  border: 1px solid var(--nt-dark);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nt-dark);
  background: transparent;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
}

.page-template-page-top .nt-top-page .nt-btn:hover,
.page-template-page-top-php .nt-top-page .nt-btn:hover {
  background: var(--nt-dark);
  color: #fff;
}

.page-template-page-top .nt-top-page .nt-center,
.page-template-page-top-php .nt-top-page .nt-center {
  text-align: center;
}

/* =========================================================
   STAFF
========================================================= */

.page-template-page-top .nt-top-page .nt-staff-section,
.page-template-page-top-php .nt-top-page .nt-staff-section {
  background: var(--nt-cream);
}

.page-template-page-top .nt-top-page .nt-staff-grid,
.page-template-page-top-php .nt-top-page .nt-staff-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 56px;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto 56px;
}

.page-template-page-top .nt-top-page .nt-staff-card,
.page-template-page-top-php .nt-top-page .nt-staff-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
  margin: 0;
  background: transparent;
}

.page-template-page-top .nt-top-page .nt-staff-card .nt-staff-photo,
.page-template-page-top .nt-top-page .nt-staff-card img.nt-staff-photo,
.page-template-page-top-php .nt-top-page .nt-staff-card .nt-staff-photo,
.page-template-page-top-php .nt-top-page .nt-staff-card img.nt-staff-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}

.page-template-page-top .nt-top-page .nt-staff-photo-placeholder,
.page-template-page-top-php .nt-top-page .nt-staff-photo-placeholder {
  width: 100%;
  height: 340px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(175deg, #d8d0c8 0%, #b8b0a6 60%, #a09890 100%);
}

.page-template-page-top .nt-top-page .nt-staff-photo-placeholder--alt,
.page-template-page-top-php .nt-top-page .nt-staff-photo-placeholder--alt {
  background: linear-gradient(175deg, #cec8c0 0%, #aca49a 60%, #908880 100%);
}

.page-template-page-top .nt-top-page .nt-staff-photo-placeholder svg,
.page-template-page-top-php .nt-top-page .nt-staff-photo-placeholder svg {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  opacity: 0.22;
}

.page-template-page-top .nt-top-page .nt-staff-info,
.page-template-page-top-php .nt-top-page .nt-staff-info {
  width: 100%;
  background: #fff;
  padding: 20px 24px 22px;
  border-bottom: 2px solid var(--nt-light-border);
  position: relative;
}

.page-template-page-top .nt-top-page .nt-staff-info::after,
.page-template-page-top-php .nt-top-page .nt-staff-info::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 24px;
  width: 32px;
  height: 2px;
  background: var(--nt-accent);
  display: block;
}

.page-template-page-top .nt-top-page .nt-staff-name,
.page-template-page-top-php .nt-top-page .nt-staff-name {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  font-weight: 300;
  color: var(--nt-dark);
  margin: 0 0 5px;
}

.page-template-page-top .nt-top-page .nt-staff-name-ja,
.page-template-page-top-php .nt-top-page .nt-staff-name-ja {
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--nt-mid);
  margin: 0 0 10px;
}

.page-template-page-top .nt-top-page .nt-staff-role,
.page-template-page-top-php .nt-top-page .nt-staff-role {
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  color: var(--nt-accent);
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
}

/* =========================================================
   SALON INFO
========================================================= */

.page-template-page-top .nt-top-page .nt-info-section,
.page-template-page-top-php .nt-top-page .nt-info-section {
  background: #fff;
}

.page-template-page-top .nt-top-page .nt-info-inner,
.page-template-page-top-php .nt-top-page .nt-info-inner {
  max-width: 600px;
  margin: 0 auto 48px;
}

.page-template-page-top .nt-top-page .nt-info-row,
.page-template-page-top-php .nt-top-page .nt-info-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--nt-light-border);
  font-size: 14px;
  line-height: 1.9;
}

.page-template-page-top .nt-top-page .nt-info-row:first-child,
.page-template-page-top-php .nt-top-page .nt-info-row:first-child {
  border-top: 1px solid var(--nt-light-border);
}

.page-template-page-top .nt-top-page .nt-info-label,
.page-template-page-top-php .nt-top-page .nt-info-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nt-accent);
  min-width: 70px;
  padding-top: 3px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
}

.page-template-page-top .nt-top-page .nt-info-value,
.page-template-page-top-php .nt-top-page .nt-info-value {
  color: var(--nt-mid);
  letter-spacing: 0.04em;
}

.page-template-page-top .nt-top-page .nt-info-value a,
.page-template-page-top-php .nt-top-page .nt-info-value a {
  color: inherit;
}

/* =========================================================
   MENU
========================================================= */

.page-template-page-top .nt-top-page .nt-menu-section,
.page-template-page-top-php .nt-top-page .nt-menu-section {
  background: var(--nt-cream);
}

.page-template-page-top .nt-top-page .nt-menu-inner,
.page-template-page-top-php .nt-top-page .nt-menu-inner {
  max-width: 1080px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 40px;
}

.page-template-page-top .nt-top-page .nt-menu-note,
.page-template-page-top-php .nt-top-page .nt-menu-note {
  text-align: center;
  font-size: 11px;
  color: var(--nt-mid);
  letter-spacing: 0.08em;
  margin: 0 0 40px;
}

.page-template-page-top .nt-top-page .nt-menu-category-title,
.page-template-page-top-php .nt-top-page .nt-menu-category-title {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--nt-accent);
  border-bottom: 1px solid var(--nt-light-border);
  padding: 0 0 12px;
  margin: 0 0 24px;
}

.page-template-page-top .nt-top-page .nt-menu-item,
.page-template-page-top-php .nt-top-page .nt-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--nt-light-border);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--nt-mid);
}

.page-template-page-top .nt-top-page .nt-menu-price,
.page-template-page-top-php .nt-top-page .nt-menu-price {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--nt-dark);
  white-space: nowrap;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
  .page-template-page-top .nt-top-page .nt-hero,
  .page-template-page-top-php .nt-top-page .nt-hero {
    height: 76vh;
    min-height: 520px;
  }

  .page-template-page-top .nt-top-page .nt-hero-title,
  .page-template-page-top-php .nt-top-page .nt-hero-title {
    font-size: clamp(36px, 13vw, 58px);
  }

  .page-template-page-top .nt-top-page .nt-hero-sub,
  .page-template-page-top-php .nt-top-page .nt-hero-sub {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .page-template-page-top .nt-top-page .nt-section,
  .page-template-page-top-php .nt-top-page .nt-section {
    padding: 72px 24px;
  }

  .page-template-page-top .nt-top-page .nt-menu-inner,
  .page-template-page-top-php .nt-top-page .nt-menu-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .page-template-page-top .nt-top-page .nt-staff-grid,
  .page-template-page-top-php .nt-top-page .nt-staff-grid {
    gap: 32px;
  }

  .page-template-page-top .nt-top-page .nt-staff-card,
  .page-template-page-top-php .nt-top-page .nt-staff-card {
    width: calc(50% - 16px);
    min-width: 140px;
  }

  .page-template-page-top .nt-top-page .nt-staff-card .nt-staff-photo,
  .page-template-page-top .nt-top-page .nt-staff-photo-placeholder,
  .page-template-page-top-php .nt-top-page .nt-staff-card .nt-staff-photo,
  .page-template-page-top-php .nt-top-page .nt-staff-photo-placeholder {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .page-template-page-top .nt-top-page .nt-section,
  .page-template-page-top-php .nt-top-page .nt-section {
    padding: 64px 20px;
  }

  .page-template-page-top .nt-top-page .nt-staff-card,
  .page-template-page-top-php .nt-top-page .nt-staff-card {
    width: 100%;
    max-width: 280px;
  }

  .page-template-page-top .nt-top-page .nt-menu-inner,
  .page-template-page-top-php .nt-top-page .nt-menu-inner {
    grid-template-columns: 1fr;
  }

  .page-template-page-top .nt-top-page .nt-info-row,
  .page-template-page-top-php .nt-top-page .nt-info-row {
    display: block;
  }

  .page-template-page-top .nt-top-page .nt-info-label,
  .page-template-page-top-php .nt-top-page .nt-info-label {
    display: block;
    margin-bottom: 6px;
  }
}

/* =========================================================
   スマホ固定メニュー復旧
   テーマ側の固定メニューが存在しているが隠れる場合の保険
========================================================= */

@media screen and (max-width: 768px) {
  .page-template-page-top #dp_mobile_footer_menu,
  .page-template-page-top .dp-mobile-footer-menu,
  .page-template-page-top .fixed-footer-menu,
  .page-template-page-top .mobile-footer-menu,
  .page-template-page-top .sp-footer-menu,
  .page-template-page-top .footer-fixed-menu,
  .page-template-page-top #footer_menu,
  .page-template-page-top .footer-menu-sp,
  .page-template-page-top-php #dp_mobile_footer_menu,
  .page-template-page-top-php .dp-mobile-footer-menu,
  .page-template-page-top-php .fixed-footer-menu,
  .page-template-page-top-php .mobile-footer-menu,
  .page-template-page-top-php .sp-footer-menu,
  .page-template-page-top-php .footer-fixed-menu,
  .page-template-page-top-php #footer_menu,
  .page-template-page-top-php .footer-menu-sp {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 999999 !important;
  }

  .page-template-page-top .nt-top-page,
  .page-template-page-top-php .nt-top-page {
    padding-bottom: 88px !important;
  }
}