/* ============================================
   Yasuragi Tabi Guide — Global Styles
   Museum-guide inspired layout
   ============================================ */

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

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

body {
  font-family: 'Noto Serif JP', serif;
  color: #2C2C2C;
  background: #F7F3EC;
  line-height: 1.85;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: #2C2C2C;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #597A59;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.4;
  color: #2C2C2C;
  word-break: keep-all;
}

h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 300;
  line-height: 1.4;
}

h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 400;
  line-height: 1.45;
}

h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 400;
  line-height: 1.5;
}

p {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.85;
  margin-bottom: 1.2em;
}

.caption {
  font-size: clamp(13px, 1vw, 14px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(44, 44, 44, 0.7);
}

/* ---- English Typography Overrides ---- */
[lang="en"] body {
  font-family: 'EB Garamond', serif;
}

[lang="en"] h1,
[lang="en"] h2,
[lang="en"] h3,
[lang="en"] h4,
[lang="en"] h5,
[lang="en"] h6 {
  font-family: 'Montserrat', sans-serif;
}

/* ---- Language Visibility ---- */
[data-ja], [data-en] {
  display: none;
}

[lang="ja"] [data-ja] {
  display: block;
}

[lang="ja"] [data-ja].inline {
  display: inline;
}

[lang="en"] [data-en] {
  display: block;
}

[lang="en"] [data-en].inline {
  display: inline;
}

/* inline spans inside headings */
h1 [data-ja], h2 [data-ja], h3 [data-ja],
h1 [data-en], h2 [data-en], h3 [data-en] {
  display: inline;
}

[lang="ja"] h1 [data-en],
[lang="ja"] h2 [data-en],
[lang="ja"] h3 [data-en] {
  display: none;
}

[lang="en"] h1 [data-ja],
[lang="en"] h2 [data-ja],
[lang="en"] h3 [data-ja] {
  display: none;
}

/* For nav and other inline contexts */
nav [data-ja], nav [data-en],
.footer-legal [data-ja], .footer-legal [data-en] {
  display: none;
}

[lang="ja"] nav [data-ja],
[lang="ja"] .footer-legal [data-ja] {
  display: inline;
}

[lang="en"] nav [data-en],
[lang="en"] .footer-legal [data-en] {
  display: inline;
}

/* ---- WebGL Ink Canvas ---- */
#ink-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ---- Layout ---- */
.site-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
  background: #F7F3EC;
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
  .container {
    padding: 0 40px;
  }
}

@media (min-width: 1280px) {
  .section {
    padding: 120px 0;
  }
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(44,44,44,0.3) 0%, rgba(44,44,44,0.1) 50%, rgba(247,243,236,0.95) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(44,44,44,0.15) 0%, rgba(44,44,44,0.5) 100%);
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}

.hero h1 {
  color: #F7F3EC;
  margin-bottom: 0.3em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  color: rgba(247, 243, 236, 0.85);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
  margin-bottom: 2em;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.7;
}

.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #F7F3EC, transparent);
  animation: pulse-scroll 2s ease-in-out infinite;
}

@keyframes pulse-scroll {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---- Navigation ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44, 44, 44, 0.06);
  transition: background 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-brand {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #2C2C2C;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav-links {
  display: none;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #2C2C2C;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #597A59;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-links a[aria-current="page"] {
  color: #597A59;
}

.lang-toggle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #2C2C2C;
  background: none;
  border: 1px solid rgba(44, 44, 44, 0.2);
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.lang-toggle:hover {
  border-color: #597A59;
  color: #597A59;
}

/* Mobile nav */
.nav-mobile-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: #2C2C2C;
  margin: 6px 0;
  transition: 0.3s ease;
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(247, 243, 236, 0.98);
  backdrop-filter: blur(20px);
  padding: 40px 20px;
  z-index: 99;
}

.nav-mobile-menu.active {
  display: block;
}

.nav-mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nav-mobile-menu a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 400;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(44, 44, 44, 0.08);
}

@media (min-width: 768px) {
  .nav-container {
    height: 64px;
    padding: 0 40px;
  }
  .nav-links {
    display: flex;
  }
  .nav-mobile-toggle {
    display: none;
  }
  .nav-mobile-menu {
    display: none !important;
  }
  .nav-brand {
    font-size: 18px;
  }
}

@media (min-width: 1280px) {
  .nav-links {
    gap: 32px;
  }
  .nav-links a {
    font-size: 15px;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 14px 36px;
  border: none;
  cursor: pointer;
  transition: all 0.35s ease;
  text-align: center;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: #597A59;
  color: #F7F3EC;
}

.btn-primary:hover {
  background: #C1A35C;
  color: #F7F3EC;
}

.btn-outline {
  background: transparent;
  color: #2C2C2C;
  border: 1px solid #2C2C2C;
}

.btn-outline:hover {
  background: #2C2C2C;
  color: #F7F3EC;
}

/* ---- Decorative Lines ---- */
.gold-line {
  width: 60px;
  height: 1px;
  background: #C1A35C;
  margin: 0 auto 24px;
}

.gold-line-left {
  margin: 0 0 24px;
}

.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(193, 163, 92, 0.4), transparent);
  margin: 0 auto;
  max-width: 200px;
}

/* ---- Content Sheets (Temple Detail Cards) ---- */
.sheet {
  background: #FDFCFA;
  box-shadow: 0 4px 24px rgba(44, 44, 44, 0.08);
  margin-bottom: 48px;
  overflow: hidden;
}

.sheet-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .sheet-grid {
    grid-template-columns: 55% 45%;
  }
}

.sheet-image {
  position: relative;
  overflow: hidden;
}

.sheet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.sheet-inset {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 140px;
  border: 4px solid #FDFCFA;
  box-shadow: 0 2px 12px rgba(44, 44, 44, 0.1);
  display: none;
}

@media (min-width: 768px) {
  .sheet-inset {
    display: block;
  }
}

.sheet-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sheet-content {
  padding: 32px;
}

@media (min-width: 1280px) {
  .sheet-content {
    padding: 48px;
  }
}

.sheet-meta {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: rgba(44, 44, 44, 0.6);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(193, 163, 92, 0.3);
}

.sheet-meta span {
  display: block;
  margin-bottom: 4px;
}

/* ---- Sensory Grid ---- */
.sensory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(89, 122, 89, 0.2);
  margin-top: 24px;
}

.sensory-item {
  background: #FDFCFA;
  padding: 20px;
}

.sensory-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #597A59;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.sensory-text {
  font-size: 14px;
  line-height: 1.7;
  color: #2C2C2C;
  margin: 0;
}

/* ---- Regional Tabs ---- */
.region-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(44, 44, 44, 0.1);
  margin-bottom: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.region-tab {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: rgba(44, 44, 44, 0.5);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.region-tab:hover {
  color: #2C2C2C;
}

.region-tab.active {
  color: #2C2C2C;
  border-bottom-color: #2C2C2C;
}

/* ---- Accordion ---- */
.accordion-item {
  border-bottom: 1px solid rgba(44, 44, 44, 0.08);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #2C2C2C;
  text-align: left;
}

.accordion-header:hover {
  color: #597A59;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: #2C2C2C;
  transition: transform 0.3s ease;
}

.accordion-icon::before {
  width: 100%;
  height: 1px;
  top: 50%;
  left: 0;
}

.accordion-icon::after {
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
}

.accordion-item.open .accordion-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.open .accordion-body {
  max-height: 2000px;
  padding-bottom: 24px;
}

/* ---- Spot List (Morning Guide) ---- */
.spot-list-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(44, 44, 44, 0.06);
  cursor: pointer;
  transition: padding-left 0.3s ease;
}

.spot-list-item:hover {
  padding-left: 8px;
}

.spot-list-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 4px;
}

.spot-list-meta {
  font-size: 13px;
  color: rgba(44, 44, 44, 0.6);
}

.spot-list-highlight {
  font-size: 14px;
  color: #597A59;
  margin-top: 4px;
  font-style: italic;
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 8px;
  color: #2C2C2C;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 300;
  color: #2C2C2C;
  background: transparent;
  border: none;
  border-bottom: 1px solid #2C2C2C;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.3s ease;
  border-radius: 0;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-bottom-color: #597A59;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.85;
}

.form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232C2C2C' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

.form-hint {
  font-size: 13px;
  color: rgba(44, 44, 44, 0.5);
  margin-top: 6px;
}

/* ---- Checkbox Group ---- */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #597A59;
  margin-top: 2px;
  flex-shrink: 0;
}

.checkbox-item span {
  font-size: 15px;
  line-height: 1.6;
}

/* ---- Footer ---- */
.site-footer {
  background: #2C2C2C;
  color: #F7F3EC;
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.footer-office h4 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #C1A35C;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-office p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(247, 243, 236, 0.85);
  margin-bottom: 0.4em;
}

.footer-office .label {
  color: rgba(247, 243, 236, 0.5);
  font-size: 12px;
  font-family: 'Noto Sans JP', sans-serif;
}

.footer-office a {
  color: rgba(247, 243, 236, 0.85);
  border-bottom: 1px solid rgba(247, 243, 236, 0.2);
}

.footer-office a:hover {
  color: #C1A35C;
  border-bottom-color: #C1A35C;
}

.footer-legal {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 243, 236, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: center;
}

.footer-legal a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: rgba(247, 243, 236, 0.6);
  border-bottom: none;
}

.footer-legal a:hover {
  color: #C1A35C;
}

.footer-bottom {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 243, 236, 0.08);
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(247, 243, 236, 0.4);
  margin: 0;
}

/* ---- Cookie Consent ---- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FDFCFA;
  box-shadow: 0 -4px 24px rgba(44, 44, 44, 0.12);
  z-index: 200;
  padding: 24px 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cookie-header h3 {
  font-size: 16px;
  font-weight: 400;
}

.cookie-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #2C2C2C;
  line-height: 1;
}

.cookie-categories {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(44, 44, 44, 0.06);
}

.cookie-category-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
}

.cookie-category-desc {
  font-size: 12px;
  color: rgba(44, 44, 44, 0.6);
  margin-top: 2px;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: rgba(44, 44, 44, 0.15);
  border-radius: 24px;
  transition: 0.3s ease;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #F7F3EC;
  border-radius: 50%;
  transition: 0.3s ease;
}

.toggle-switch input:checked + .toggle-slider {
  background: #597A59;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-actions .btn {
  padding: 10px 24px;
  font-size: 13px;
}

/* ---- Steps (How It Works) ---- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.step {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  border: 1px solid #C1A35C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #C1A35C;
  margin: 0 auto 20px;
}

.step h3 {
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  color: rgba(44, 44, 44, 0.8);
}

/* ---- Cards (Home Teasers) ---- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.card {
  background: #FDFCFA;
  box-shadow: 0 2px 16px rgba(44, 44, 44, 0.06);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(44, 44, 44, 0.1);
}

.card-image {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.03);
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.card-body p {
  font-size: 14px;
  color: rgba(44, 44, 44, 0.75);
  margin-bottom: 12px;
  line-height: 1.7;
}

.card-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #597A59;
  border-bottom: 1px solid rgba(89, 122, 89, 0.3);
  padding-bottom: 2px;
}

.card-link:hover {
  color: #C1A35C;
  border-bottom-color: #C1A35C;
}

/* ---- Page Header (Interior) ---- */
.page-header {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,44,44,0.4) 0%, rgba(44,44,44,0.2) 60%, rgba(247,243,236,0.95) 100%);
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 700px;
}

.page-header h1 {
  color: #F7F3EC;
  margin-bottom: 0.4em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.page-header p {
  color: rgba(247, 243, 236, 0.85);
  font-size: clamp(14px, 1.8vw, 18px);
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* ---- Legal Pages ---- */
.legal-content h2 {
  margin: 40px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(193, 163, 92, 0.3);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  margin: 28px 0 12px;
  font-size: 18px;
}

.legal-content p {
  margin-bottom: 1em;
}

.legal-content a {
  color: #597A59;
  border-bottom: 1px solid rgba(89, 122, 89, 0.3);
}

.legal-content a:hover {
  color: #C1A35C;
  border-bottom-color: #C1A35C;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.legal-list li {
  padding: 8px 0 8px 20px;
  position: relative;
  font-size: 15px;
  line-height: 1.7;
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 1px;
  background: #C1A35C;
}

/* ---- Two Column Layout ---- */
.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

/* ---- FAQ Specific ---- */
.faq-item {
  border-bottom: 1px solid rgba(44, 44, 44, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #2C2C2C;
  text-align: left;
  line-height: 1.5;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 1000px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 15px;
  color: rgba(44, 44, 44, 0.85);
  margin: 0;
  padding-left: 0;
}

/* ---- About Page ---- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.team-member {
  padding: 32px;
  background: #FDFCFA;
  box-shadow: 0 2px 16px rgba(44, 44, 44, 0.06);
}

.team-member h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-role {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: #597A59;
  margin-bottom: 16px;
}

.team-member p {
  font-size: 15px;
  color: rgba(44, 44, 44, 0.85);
  margin-bottom: 0.6em;
}

/* ---- Thank You / 404 ---- */
.message-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.message-page h1 {
  margin-bottom: 0.3em;
}

.message-page p {
  color: rgba(44, 44, 44, 0.75);
  margin-bottom: 2em;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }

/* ---- Responsive Typography Fine-tuning ---- */
@media (max-width: 767px) {
  .sheet-grid {
    grid-template-columns: 1fr;
  }
  .sheet-image img {
    min-height: 240px;
  }
  .sensory-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
