/* ===================================================================
   Underlayer (下層ページ) Styles - Salt Plus Redesign
   =================================================================== */

/* ===== パンくず後のページヘッダー調整 ===== */
.breadcrumb + .page-hero,
.breadcrumb + section .page-hero {
  padding-top: 4rem;
}

.breadcrumb + .page-header,
.breadcrumb + section .page-header {
  padding-top: 2rem;
}

/* ===== Page Header ===== */
.page-header {
  padding: 10rem 4rem 4rem;
  text-align: center;
  position: relative;
}

.page-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.page-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* ===== Content Container ===== */
.content-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Section Title ===== */
.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent-gold);
}

.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

/* ===== Button Styles ===== */
.btn-primary {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  display: inline-block;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.btn-primary:hover {
  color: var(--bg-primary);
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* ===== Contact CTA Section ===== */
.contact-cta-section {
  padding: 5rem 0;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ===== Table of Contents (目次) ===== */
#toc {
  margin: 2rem 0 3rem;
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
}

.mokuji {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  display: block;
}

#toc ol {
  margin: 1rem 0 0 0;
  padding: 0 0 0 1.5rem;
  list-style: decimal;
}

#toc ol li {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
}

#toc a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

#toc a:hover {
  color: var(--accent-gold);
}

#toc ol ol {
  margin: 0.5rem 0 0 0;
  padding-left: 1.5rem;
}

#toc ol ol li {
  font-size: 0.85rem;
  font-weight: 400;
}

/* ===== Animation ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), 
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .page-header {
    padding: 8rem 2rem 3rem;
  }

  #toc {
    margin: 1.5rem 0 2rem;
    padding: 1.5rem;
  }
}
