/* ============================================================
   neuschwanstein.jp — style.css?v=1
   フォント: Noto Serif JP + Noto Sans JP
   パレット: ネイビー #1A2E4A / ゴールド #D4A843 / アイボリー #F7F3EC
   Anti-footprint: 全クラス名を他サイトと差別化
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --nv:      #1A2E4A;
  --nv-dk:   #0F1E33;
  --nv-lt:   #243D5E;
  --gold:    #D4A843;
  --gold-lt: #E8C068;
  --ivory:   #F7F3EC;
  --ivory-2: #EDE7D8;
  --sand:    #CFC4AE;
  --text:    #1C1408;
  --text-2:  #4A3C28;
  --white:   #FFFFFF;
  --shad:    rgba(26,46,74,.12);
  --rad:     5px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  background: var(--ivory);
}

a { color: var(--nv); text-decoration: none; transition: color .2s; }
a:hover { color: var(--nv-lt); text-decoration: underline; }

/* ── ヘッダー ── */
.site-header {
  background: var(--nv);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.32);
}
.header-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--ivory); letter-spacing: .03em;
  text-decoration: none; line-height: 1;
}
.site-logo .logo-accent { color: var(--gold-lt); }
.site-logo:hover { text-decoration: none; color: var(--ivory); }

.main-nav {
  display: flex; align-items: center; gap: 1.6rem;
}
.main-nav a {
  font-size: .8rem; font-weight: 500;
  color: rgba(255,255,255,.72);
  letter-spacing: .04em;
  text-decoration: none; transition: color .2s;
}
.main-nav a:hover { color: var(--gold-lt); text-decoration: none; }

.nav-ticket-btn {
  background: var(--gold) !important;
  color: var(--nv) !important;
  padding: .4rem 1.1rem !important;
  border-radius: var(--rad) !important;
  font-weight: 700 !important;
  font-size: .78rem !important;
  letter-spacing: .05em !important;
  transition: background .2s !important;
  text-decoration: none !important;
}
.nav-ticket-btn:hover {
  background: var(--gold-lt) !important;
  color: var(--nv-dk) !important;
  text-decoration: none !important;
}

.burger-btn {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 5px;
}
.burger-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--ivory); border-radius: 2px;
}

/* ── ホームページヒーロー ── */
.hero-section {
  position: relative; width: 100%;
  height: 72vh; min-height: 430px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.hero-section img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(15,30,51,.9) 0%,
    rgba(15,30,51,.2) 55%,
    transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; max-width: 1120px;
  margin: 0 auto; padding: 0 1.5rem 3.2rem;
}
.hero-content h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 5vw, 3.6rem);
  font-weight: 700; color: var(--white);
  line-height: 1.2; margin-bottom: .6rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.hero-sub {
  font-size: .98rem; font-weight: 300;
  color: rgba(255,255,255,.82);
  max-width: 540px; margin-bottom: 1.8rem;
}

/* ── ボタン ── */
.btn-gold {
  display: inline-block;
  background: var(--gold); color: var(--nv) !important;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700; font-size: .88rem;
  letter-spacing: .08em;
  padding: .9rem 2.2rem; border-radius: var(--rad);
  transition: background .2s, transform .15s;
  text-decoration: none !important; cursor: pointer;
}
.btn-gold:hover {
  background: var(--gold-lt); transform: translateY(-1px);
  color: var(--nv-dk) !important; text-decoration: none !important;
}

/* ── レイアウト ── */
.page-wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ── コンテンツブロック ── */
.content-block {
  padding: 3rem 0;
  border-bottom: 1px solid var(--sand);
}
.content-block:last-child { border-bottom: none; }

.content-block h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 600; color: var(--nv);
  margin-bottom: 1.2rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.content-block h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem; color: var(--gold);
  margin: 1.4rem 0 .7rem;
}
.content-block p { margin-bottom: 1rem; color: var(--text-2); }
.content-block p:last-child { margin-bottom: 0; }
.content-block strong { color: var(--text); font-weight: 700; }

.section-photo {
  width: 100%; height: 270px;
  object-fit: cover; object-position: center;
  border-radius: var(--rad); margin: 1.4rem 0;
  box-shadow: 0 4px 18px var(--shad); display: block;
}

.widget-area { margin: 1.6rem 0; }

/* ── リスト ── */
.list-arrow {
  list-style: none; margin: 1rem 0 1.2rem; padding: 0;
}
.list-arrow li {
  padding: .35rem 0 .35rem 1.8rem;
  position: relative; color: var(--text-2);
}
.list-arrow li::before {
  content: '▶'; position: absolute; left: 0;
  color: var(--gold); font-size: .75rem; line-height: 1.9;
}

.list-num {
  list-style: none; counter-reset: ln;
  margin: 1rem 0 1.2rem; padding: 0;
}
.list-num li {
  counter-increment: ln;
  padding: .45rem 0 .45rem 2.6rem;
  position: relative; color: var(--text-2);
}
.list-num li::before {
  content: counter(ln);
  position: absolute; left: 0; top: .6rem;
  background: var(--nv); color: var(--ivory);
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .74rem; font-weight: 700;
}

/* ── テーブル ── */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.2rem; }
.data-table {
  width: 100%; border-collapse: collapse; font-size: .92rem;
}
.data-table th {
  background: var(--nv); color: var(--ivory);
  padding: .75rem 1rem; text-align: left;
  font-weight: 700; font-size: .8rem;
  letter-spacing: .04em;
}
.data-table td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--sand);
  color: var(--text-2); vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--ivory-2); }
.price-cell { font-weight: 700; color: var(--nv); white-space: nowrap; }

@media (max-width: 600px) {
  .data-table thead { display: none; }
  .data-table tr {
    display: block; background: var(--ivory-2);
    border: 1px solid var(--sand);
    border-radius: var(--rad); margin-bottom: .7rem; padding: .8rem;
  }
  .data-table td { display: block; border: none; padding: .2rem 0; }
  .data-table td::before {
    content: attr(data-label) ': ';
    font-weight: 700; color: var(--text);
    font-size: .76rem; letter-spacing: .03em;
  }
}

/* ── GYGボックス ── */
.partner-box {
  background: var(--ivory-2);
  border: 1px solid var(--sand);
  border-left: 4px solid var(--gold);
  border-radius: var(--rad);
  padding: 1.5rem 1.8rem; margin: 1.5rem 0;
}
.partner-box h3 { margin: 0 0 .8rem; font-family: 'Noto Serif JP', serif; font-size: 1.15rem; color: var(--nv); }
.partner-box ul { list-style: none; padding: 0; margin: .7rem 0 1.2rem; }
.partner-box ul li { padding: .3rem 0 .3rem 1.6rem; position: relative; color: var(--text-2); font-size: .94rem; }
.partner-box ul li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ── 情報ボックス ── */
.info-box {
  background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--rad); padding: 1.4rem; margin: 1rem 0;
  box-shadow: 0 2px 8px var(--shad);
}
.info-box h4 {
  font-family: 'Noto Serif JP', serif; color: var(--nv);
  font-size: .95rem; letter-spacing: .05em; margin-bottom: .7rem;
}
.info-box dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.info-box dt { font-weight: 700; color: var(--text); font-size: .88rem; }
.info-box dd { color: var(--text-2); font-size: .88rem; }

/* ── FAQ アコーディオン (v2.2準拠) ── */
.faq-list { margin: 1.5rem 0; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 6px;
  margin-bottom: .9rem;
  overflow: hidden;
  transition: box-shadow .22s, border-color .22s;
}
.faq-item:hover { box-shadow: 0 2px 10px var(--shad); }
.faq-item.open {
  border-color: var(--gold);
  box-shadow: 0 3px 14px rgba(26,46,74,.14);
}

.faq-trigger {
  display: flex; justify-content: space-between;
  align-items: flex-start;
  padding: 1.1rem 1.4rem;
  cursor: pointer; user-select: none; gap: 1.2rem;
  transition: background .18s;
}
.faq-trigger:hover { background: var(--ivory-2); }
.faq-item.open .faq-trigger { background: var(--ivory-2); }

h2.faq-q {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: .98rem; font-weight: 700;
  color: var(--text); margin: 0;
  border: none !important; padding: 0 !important;
  display: inline !important; line-height: 1.6;
}

.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--ivory-2); border: 1.5px solid var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 300;
  color: var(--gold); line-height: 1;
  transition: transform .25s, background .2s, border-color .2s;
  margin-top: .05rem;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold); border-color: var(--gold);
  color: var(--white);
}

/* border-top 区切り + margin-top でテキストに余白 */
.faq-answer {
  display: none;
  padding: 0 1.4rem 1.4rem;
  border-top: 1px solid var(--sand);
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p { margin-top: 1rem; color: var(--text-2); font-size: .96rem; line-height: 1.8; }

/* ── チケット・ツアーページヒーロー ── */
.page-hero {
  background: linear-gradient(135deg, var(--nv) 0%, var(--nv-dk) 100%);
  padding: 2.8rem 0 2.4rem;
}
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white); margin-bottom: .7rem;
  font-weight: 700;
}
.page-hero p { color: rgba(255,255,255,.8); }
.page-hero .btn-gold { margin-top: 1.2rem; }

/* ── 内部ページヒーロー ── */
.inner-hero {
  background: var(--ivory-2);
  padding: 2.4rem 0 2rem;
  border-bottom: 1px solid var(--sand);
}
.inner-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--nv); margin-bottom: .6rem; font-weight: 700;
}
.inner-hero p { color: var(--text-2); max-width: 660px; }

/* パンくずリスト */
.breadcrumb { font-size: .8rem; color: var(--text-2); padding: .7rem 0; margin-bottom: .5rem; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--nv); text-decoration: none; }
.breadcrumb .bc-sep { margin: 0 .4rem; color: var(--sand); }

/* Хлебные крошки на тёмном фоне page-hero: весь текст светлый */
.page-hero .breadcrumb { color: rgba(255,255,255,.72); }
.page-hero .breadcrumb a { color: var(--gold-lt); }
.page-hero .breadcrumb a:hover { color: var(--white); text-decoration: none; }
.page-hero .breadcrumb .bc-sep { color: rgba(255,255,255,.45); }

/* ── 法的ページ ── */
.legal-body h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem; color: var(--nv);
  margin: 2rem 0 .75rem;
  padding-bottom: .4rem; border-bottom: 1px solid var(--sand);
}
.legal-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--gold); margin: 1.4rem 0 .5rem; }
.legal-body p { color: var(--text-2); margin-bottom: 1rem; }
.legal-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-body ul li { color: var(--text-2); margin-bottom: .35rem; }

/* ── フッター ── */
.site-footer {
  background: var(--nv-dk); color: rgba(255,255,255,.68);
  padding: 3rem 0 2rem; margin-top: 4rem;
}
.footer-grid {
  max-width: 1120px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
}
.footer-brand {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem; color: var(--gold);
  margin-bottom: .8rem; font-weight: 700;
}
.site-footer p { font-size: .86rem; line-height: 1.65; margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.5); font-size: .86rem; transition: color .2s; }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.site-footer h4 { color: var(--white); font-size: .78rem; letter-spacing: .07em; margin-bottom: .75rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: .4rem; }
.site-footer ul a { color: rgba(255,255,255,.55); font-size: .86rem; }
.site-footer ul a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1120px; margin: 1.8rem auto 0;
  padding: 1.4rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .78rem; color: rgba(255,255,255,.38); font-style: italic;
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; gap: 0; }
  .main-nav.nav-open {
    display: flex; position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--nv); padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 6px 16px rgba(0,0,0,.3); z-index: 99;
  }
  .main-nav.nav-open a { padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; color: rgba(255,255,255,.82); }
  .main-nav.nav-open .nav-ticket-btn { margin-top: .5rem; display: inline-block; }
  .burger-btn { display: flex; }
  .site-header { position: relative; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-section { height: 60vw; min-height: 300px; }
  .content-block { padding: 2.2rem 0; }
  .section-photo { height: 200px; }
}
@media (max-width: 480px) {
  .header-inner, .page-wrap { padding: 0 1rem; }
  .hero-content { padding: 0 1rem 2rem; }
}
