/* =========================================================
   杉山神社（横浜市南区宮元町）公式Webサイト 共通CSS
   C案（紺×朱×金）＋ 参拝誘導型 ＋ スマホ最優先・誤認防止設計
   ========================================================= */
:root {
  --bg-page: #f5f7fa;
  --bg-white: #ffffff;
  --navy: #1b365d;
  --navy-light: #eef2f8;
  --vermilion: #c83228;
  --gold: #b88628;
  --text-main: #222222;
  --text-muted: #555555;
  --border: #d8e0eb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  background-color: var(--bg-page);
  background-image: radial-gradient(#d4dce8 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--text-main);
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

.mincho { font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; }
a { color: inherit; text-decoration: none; transition: 0.2s; }

/* --- 最上部の所在地・駅名固定バー --- */
.location-bar {
  background-color: var(--navy);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 6px 12px;
  text-align: center;
  letter-spacing: 0.04em;
}
.location-bar span {
  color: #ffd966;
}

/* --- ヘッダー（スマホ追従・右端配置修正済み） --- */
header {
  background-color: var(--bg-white);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(27, 54, 93, 0.1);
  width: 100%;
}
.header-inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--vermilion), #9e221b);
  color: #fff;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 1.15rem;
  flex-shrink: 0;
}
.logo-sub { display: block; font-size: 0.72rem; color: var(--vermilion); font-weight: bold; }
.logo-main { font-size: 1.45rem; color: var(--navy); letter-spacing: 0.1em; line-height: 1.2; }

.nav-list { display: flex; list-style: none; gap: 16px; font-size: 0.92rem; font-weight: bold; color: var(--navy); }
.nav-list a { padding: 8px 10px; border-radius: 4px; display: block; }
.nav-list a:hover { background-color: var(--navy-light); color: var(--vermilion); }

.menu-btn {
  display: none;
  background-color: var(--navy);
  color: #fff;
  border: none;
  padding: 9px 15px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.88rem;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}

/* --- 間違い防止の注意喚起バナー --- */
.disambiguation-wrap {
  max-width: 1120px;
  margin: 14px auto 0;
  padding: 0 16px;
}
.disambiguation-box {
  background-color: #fff8f6;
  border: 2px solid var(--vermilion);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(200, 50, 40, 0.08);
}
.disambiguation-badge {
  background-color: var(--vermilion);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 2px;
}
.disambiguation-text {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-main);
}
.disambiguation-text strong {
  color: var(--vermilion);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- ファーストビュー --- */
.hero-section {
  max-width: 1120px;
  margin: 18px auto 28px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}
.hero-photo {
  position: relative;
  background-color: var(--navy);
  border-radius: 10px;
  overflow: hidden;
  min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold);
  box-shadow: 0 6px 20px rgba(27, 54, 93, 0.12);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(27, 54, 93, 0.94));
  color: #fff;
  padding: 26px 20px 16px;
}
.hero-overlay .station-pill {
  display: inline-block;
  background-color: var(--gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.hero-overlay h2 { font-size: 1.25rem; letter-spacing: 0.06em; margin-bottom: 4px; }
.hero-overlay p { font-size: 0.84rem; opacity: 0.92; }

/* 右側の3つの即時行動パネル */
.hero-actions { display: flex; flex-direction: column; gap: 12px; justify-content: space-between; }
.action-box {
  background: var(--bg-white);
  border-radius: 8px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-left: 6px solid var(--gold);
  box-shadow: 0 3px 10px rgba(27, 54, 93, 0.06);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.action-box:hover { transform: translateX(3px); }
.action-box.kitou { border-left-color: var(--vermilion); }
.action-box.access { border-left-color: var(--navy); background-color: var(--navy-light); }
.action-box h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 3px; }
.action-box.kitou h3 { color: var(--vermilion); }
.action-box.goshuin h3 { color: #8c6214; }
.action-box p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.45; }
.arrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: bold; font-size: 0.9rem;
  flex-shrink: 0;
}
.action-box.kitou .arrow { background: var(--vermilion); }
.action-box.access .arrow { background: var(--navy); }

/* --- 横長帯セクション共通 --- */
.band { padding: 40px 16px; }
.band-white { background-color: var(--bg-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-inner { max-width: 1120px; margin: 0 auto; }
.band-title {
  text-align: center;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}
.band-sub { text-align: center; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; }

/* --- ご祈祷4分類グリッド --- */
.kitou-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.kitou-item {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-top: 4px solid var(--vermilion);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.kitou-item h4 { font-size: 1.02rem; color: var(--vermilion); margin-bottom: 6px; }
.kitou-item p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

.center-btn {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--vermilion), #a32219);
  color: #fff;
  padding: 14px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(200, 50, 40, 0.25);
}

/* --- 御朱印・参拝の魅力帯 --- */
.goshuin-box {
  background: var(--bg-white);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 4px 15px rgba(184, 134, 40, 0.08);
}
.goshuin-text { flex: 1; min-width: 260px; }
.goshuin-text h3 { font-size: 1.25rem; color: #8c6214; margin-bottom: 8px; }
.goshuin-text p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 10px; }
.goshuin-note { font-size: 0.84rem; background: #fff9eb; border: 1px solid #ecd69c; padding: 8px 12px; border-radius: 5px; color: #7a5410; font-weight: bold; }
.btn-gold {
  display: inline-block;
  text-align: center;
  background: linear-gradient(135deg, #c59b27, #9e7614);
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(184, 134, 40, 0.25);
}

/* --- 下部2カラム --- */
.bottom-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.panel { background: var(--bg-white); border: 1px solid var(--border); border-radius: 10px; padding: 22px; }
.panel h3 { font-size: 1.18rem; color: var(--navy); border-left: 5px solid var(--navy); padding-left: 10px; margin-bottom: 16px; }

.news-list { list-style: none; }
.news-list li { padding: 12px 0; border-bottom: 1px dashed var(--border); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.9rem; }
.news-list li:last-child { border-bottom: none; }
.news-date { font-weight: bold; color: var(--text-muted); font-size: 0.85rem; }
.badge { font-size: 0.72rem; padding: 2px 8px; border-radius: 3px; color: #fff; font-weight: bold; }
.b-red { background: var(--vermilion); }
.b-navy { background: var(--navy); }
.b-gold { background: #b58c1d; }
.news-list a { color: var(--navy); text-decoration: underline; font-weight: bold; text-underline-offset: 3px; }

/* 所在地・間違い防止アクセスボックス */
.location-card {
  background: var(--navy-light);
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
}
.location-card .ward-label {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 6px;
}
.location-card p { font-size: 0.9rem; margin-bottom: 6px; }
.location-card .station-highlight {
  color: var(--vermilion);
  font-weight: bold;
  font-size: 0.92rem;
}
.alert-pill {
  background: #fff4f2;
  border: 1px solid #f0c2bc;
  color: var(--vermilion);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 12px;
}
.btn-navy {
  display: block;
  text-align: center;
  background: var(--navy);
  color: #fff;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.92rem;
}

/* --- フッター --- */
footer { background: var(--navy); color: #ffffff; padding: 38px 16px 24px; font-size: 0.88rem; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 18px; }
.copy { text-align: center; font-size: 0.75rem; color: #b8c7dc; margin-top: 18px; }
/* --- スマホ最適化（768px以下） --- */
@media screen and (max-width: 768px) {
.header-inner {
justify-content: space-between;
}
.menu-btn {
display: inline-block;
margin-left: auto;
}
nav {
position: static;
}
.nav-list {
display: none;
position: absolute;
top: 100%; left: 0; width: 100%;
background: #fff;
flex-direction: column;
gap: 4px;
padding: 12px 16px;
border-bottom: 3px solid var(--navy);
box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}
.nav-list.open { display: flex; }
.nav-list a { padding: 12px; border-bottom: 1px solid #eef2f6; font-size: 1rem; }
.hero-section { grid-template-columns: 1fr; margin-top: 14px; }
.hero-photo { min-height: 220px; }
.hero-overlay h2 { font-size: 1.15rem; }
.kitou-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
.kitou-item { padding: 14px 10px; }
.btn-gold { width: 100%; }
.bottom-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   下層ページ共通スタイル（交通案内・ご祈祷・御朱印・由緒など）
   ========================================================= */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, #2c4c7c 100%);
  color: #ffffff;
  padding: 36px 16px;
  text-align: center;
  border-bottom: 4px solid var(--gold);
}
.page-header .page-sub {
  display: block;
  font-size: 0.82rem;
  color: #ffd966;
  font-weight: bold;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.page-header h2 {
  font-size: 1.75rem;
  letter-spacing: 0.1em;
}

.breadcrumb {
  max-width: 960px;
  margin: 12px auto 0;
  padding: 0 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--navy); text-decoration: underline; }

.sub-container {
  max-width: 960px;
  margin: 24px auto 50px;
  padding: 0 16px;
}

.content-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 3px 12px rgba(27, 54, 93, 0.05);
}

.sub-heading {
  font-size: 1.3rem;
  color: var(--navy);
  border-left: 5px solid var(--vermilion);
  padding-left: 12px;
  margin-bottom: 18px;
}

/* 交通案内専用パーツ */
.station-hero-box {
  background: var(--navy-light);
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 22px;
}
.station-hero-box .badge-station {
  display: inline-block;
  background: var(--vermilion);
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.station-hero-box h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.route-list {
  list-style: none;
  margin-bottom: 20px;
}
.route-list li {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 12px;
  background: #fafbfd;
}
.route-list strong {
  display: block;
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.map-frame {
  width: 100%;
  height: 360px;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.btn-map-app {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #2b6cb0, var(--navy));
  color: #fff;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.98rem;
  box-shadow: 0 4px 10px rgba(27, 54, 93, 0.2);
}

/* 電話前の最終確認ボックス */
.tel-confirm-box {
  background: #fff8f6;
  border: 2px solid var(--vermilion);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}
.tel-confirm-box .warn-title {
  color: var(--vermilion);
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 8px;
}
.tel-btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--vermilion);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(200, 50, 40, 0.25);
}

@media screen and (max-width: 768px) {
  .page-header h2 { font-size: 1.45rem; }
  .content-card { padding: 20px 16px; }
  .map-frame { height: 280px; }
  .tel-btn { width: 100%; font-size: 1.1rem; padding: 14px 16px; }
}

/* =========================================================
   ご祈願ページ（kitou.html）専用スタイル
   ========================================================= */
.kitou-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 10px;
}

.kitou-box {
  background: #fafbfd;
  border: 1px solid var(--border);
  border-top: 4px solid var(--vermilion);
  border-radius: 8px;
  padding: 20px;
}

.kitou-box.company {
  border-top-color: var(--navy);
}

.kitou-box h4 {
  font-size: 1.12rem;
  color: var(--vermilion);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

.kitou-box.company h4 {
  color: var(--navy);
}

.prayer-list {
  list-style: none;
}

.prayer-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eef2f6;
  font-size: 0.92rem;
}

.prayer-list li:last-child {
  border-bottom: none;
}

.prayer-list strong {
  color: var(--text-main);
  display: inline-block;
  margin-right: 6px;
}

.prayer-list span {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* 初穂料・ご案内テーブル */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 0.92rem;
}

.info-table th,
.info-table td {
  border: 1px solid var(--border);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  background-color: var(--navy-light);
  color: var(--navy);
  width: 30%;
  font-weight: bold;
}

/* ご祈願の流れ（ステップ表示） */
.step-list {
  list-style: none;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}

.step-list li:last-child {
  border-bottom: none;
}

.step-num {
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 2px;
}

@media screen and (max-width: 768px) {
  .kitou-category-grid {
    grid-template-columns: 1fr;
  }
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }
  .info-table th {
    padding: 10px 14px;
    border-bottom: none;
  }
  .info-table td {
    padding: 10px 14px 14px;
  }
}
/* =========================================================
   限定御朱印カード（omamori.html 追加分）
   ========================================================= */
.limited-goshuin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.limited-card {
  background: #fffdf7;
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 3px 10px rgba(184, 134, 40, 0.08);
}

.limited-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.limited-period {
  background-color: var(--vermilion);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 4px;
}

.limited-price {
  background-color: #fdf3dc;
  color: #8c6214;
  border: 1px solid var(--gold);
  font-size: 0.82rem;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 4px;
}

.limited-card h4 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.limited-img-wrap {
  width: 100%;
  background: #f5efe0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 12px;
  text-align: center;
}

.limited-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.limited-catch {
  font-weight: bold;
  color: #8c6214;
  font-size: 0.94rem;
  margin-bottom: 8px;
}

.limited-desc {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 12px;
}

.limited-tags {
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border);
  padding-top: 8px;
}

@media screen and (max-width: 768px) {
  .limited-goshuin-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   由緒と今ページ（yuisho.html）専用スタイル
   ========================================================= */
.deity-box {
  background: linear-gradient(135deg, #fffdf7 0%, #f9f4e6 100%);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
}

.deity-title {
  font-size: 1.25rem;
  color: #8c6214;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--gold);
  padding-bottom: 8px;
}

.merit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.merit-tag {
  background: var(--bg-white);
  border: 1px solid var(--gold);
  color: #7a5410;
  font-size: 0.84rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
}

/* 歴史・年表リスト */
.history-timeline {
  list-style: none;
  border-left: 3px solid var(--navy);
  margin-left: 10px;
  padding-left: 20px;
}

.history-timeline li {
  position: relative;
  padding-bottom: 20px;
}

.history-timeline li:last-child {
  padding-bottom: 0;
}

.history-timeline li::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--vermilion);
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--navy);
}

.timeline-era {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.history-timeline h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.history-timeline p {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.65;
}

/* =========================================================
   兼務社一覧・個別ページ（kenmusha / itonawa / hakusan）専用スタイル
   ========================================================= */
.kenmusha-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.kenmusha-card {
  background: #fafbfd;
  border: 1px solid var(--border);
  border-top: 5px solid var(--navy);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 3px 10px rgba(27, 54, 93, 0.05);
}

.kenmusha-area {
  display: inline-block;
  background: var(--navy-light);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  width: fit-content;
}

.kenmusha-card h4 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.kenmusha-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.65;
}

.btn-kenmusha {
  display: block;
  text-align: center;
  background: var(--navy);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.92rem;
}

.btn-kenmusha:hover {
  background: #2c4c7c;
}

@media screen and (max-width: 768px) {
  .kenmusha-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   初詣・季節特設ページ（shinnen.html / 753 / miko）専用スタイル
   ========================================================= */
.special-hero {
  background: linear-gradient(135deg, #9e221b 0%, var(--vermilion) 100%);
  color: #ffffff;
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(200, 50, 40, 0.15);
}

.special-hero .year-pill {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.special-hero h3 {
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.merit-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}

.merit-card {
  background: #fff9eb;
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 16px;
}

.merit-card h4 {
  color: var(--vermilion);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.merit-card p {
  font-size: 0.88rem;
  color: var(--text-main);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 10px;
}

.schedule-table th,
.schedule-table td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
}

.schedule-table th {
  background: #fff4f2;
  color: var(--vermilion);
  width: 34%;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .merit-box-grid {
    grid-template-columns: 1fr;
  }
  .schedule-table th,
  .schedule-table td {
    display: block;
    width: 100%;
  }
  .schedule-table th {
    border-bottom: none;
    padding-bottom: 6px;
  }
  .schedule-table td {
    padding-top: 4px;
  }
}
/* =========================================================
   厄年一覧表・塊ごとの区分け版（shinnen.html 追加分）
   ========================================================= */
.yakudoshi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 16px 0;
}

.yakudoshi-box {
  background: var(--bg-white);
  border: 2px solid var(--navy);
  border-radius: 8px;
  overflow: hidden;
}

.yakudoshi-box.woman-box {
  border-color: var(--vermilion);
}

.yakudoshi-header {
  padding: 12px 14px;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  font-size: 1.05rem;
}

.yakudoshi-header.man {
  background-color: var(--navy);
}

.yakudoshi-header.woman {
  background-color: var(--vermilion);
}

.yakudoshi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.yakudoshi-table th,
.yakudoshi-table td {
  border-bottom: 1px solid var(--border);
  padding: 9px 8px;
  text-align: center;
}

.yakudoshi-table th {
  background-color: #f4f6f9;
  color: var(--text-muted);
  font-weight: bold;
  font-size: 0.82rem;
}

/* 塊ごとの見出し行（最初の厄年・大厄・厄年・最後の厄年） */
.yakudoshi-group-title td {
  background-color: #eef2f8;
  color: var(--navy);
  font-weight: bold;
  text-align: left;
  padding: 8px 14px;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid #cbd5e1;
  font-size: 0.9rem;
}

.woman-box .yakudoshi-group-title td {
  background-color: #fdf2f0;
  color: var(--vermilion);
  border-top: 2px solid var(--vermilion);
  border-bottom: 1px solid #f0c2bc;
}

/* 大厄の塊の見出し強調 */
.yakudoshi-group-title.taiyaku-group td {
  background-color: #fff3cd;
  color: #8c6214;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

/* 本厄・大厄の行の強調 */
.yakudoshi-table tr.honyaku {
  background-color: #fafbfd;
  font-weight: bold;
}

.yakudoshi-table tr.taiyaku {
  background-color: #fff8f6;
  font-weight: bold;
  color: var(--vermilion);
}

.yakudoshi-badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 3px;
  background: #eef2f6;
  color: var(--text-main);
}

.honyaku .yakudoshi-badge {
  background: var(--navy);
  color: #ffffff;
}

.woman-box .honyaku .yakudoshi-badge {
  background: #d9534f;
  color: #ffffff;
}

.taiyaku .yakudoshi-badge {
  background: var(--vermilion);
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  .yakudoshi-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   七五三特設ページ（753.html）専用スタイル
   ========================================================= */
.age-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0;
}

.age-card {
  background: #fffdf9;
  border: 1px solid #ecd69c;
  border-top: 5px solid var(--vermilion);
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
}

.age-card.boy {
  border-top-color: var(--navy);
}

.age-badge {
  display: inline-block;
  background: var(--vermilion);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.age-card.boy .age-badge {
  background: var(--navy);
}

.age-card h4 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.age-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .age-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   七五三ページ・ブラッシュアップ版（753.html 追加分）
   ========================================================= */
.age-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 0.9rem;
  background: var(--bg-white);
}

.age-table th,
.age-table td {
  border: 1px solid var(--border);
  padding: 12px 10px;
  text-align: center;
}

.age-table thead th {
  background-color: var(--navy);
  color: #ffffff;
}

.age-table thead th.girl-col {
  background-color: var(--vermilion);
}

.age-table thead th.gold-col {
  background-color: #9e7614;
}

.age-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: normal;
  opacity: 0.92;
  margin-top: 2px;
}

.age-table tbody th {
  background-color: #f8fafc;
  color: var(--navy);
  font-weight: bold;
  width: 18%;
}

/* 5つの安心ポイントカード */
.feature-5-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}

.feature-5-card {
  background: #fffdf9;
  border: 1px solid #ecd69c;
  border-left: 5px solid var(--vermilion);
  border-radius: 8px;
  padding: 16px;
}

.feature-5-card h4 {
  font-size: 1.05rem;
  color: var(--vermilion);
  margin-bottom: 6px;
}

.feature-5-card p {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* Q&Aリスト */
.qa-list {
  list-style: none;
}

.qa-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: #fafbfd;
}

.qa-q {
  font-weight: bold;
  color: var(--navy);
  font-size: 0.98rem;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.qa-q-badge {
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}

.qa-a {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.65;
  padding-left: 30px;
}

@media screen and (max-width: 768px) {
  .feature-5-grid {
    grid-template-columns: 1fr;
  }
  .age-table {
    font-size: 0.82rem;
  }
  .age-table th,
  .age-table td {
    padding: 8px 6px;
  }
}
/* =========================================================
   巫女さん募集ページ（miko.html）専用スタイル
   ========================================================= */
.shift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 14px 0;
}

.shift-card {
  background: #fffdf9;
  border: 2px solid var(--vermilion);
  border-radius: 8px;
  overflow: hidden;
}

.shift-card.shift2 {
  border-color: var(--navy);
}

.shift-header {
  background: var(--vermilion);
  color: #ffffff;
  padding: 10px 16px;
  font-weight: bold;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shift-card.shift2 .shift-header {
  background: var(--navy);
}

.shift-count {
  background: #ffffff;
  color: var(--vermilion);
  font-size: 0.78rem;
  padding: 2px 10px;
  border-radius: 20px;
}

.shift-card.shift2 .shift-count {
  color: var(--navy);
}

.shift-body {
  padding: 16px;
  font-size: 0.9rem;
  line-height: 1.65;
}

.shift-body ul {
  list-style: none;
}

.shift-body li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}

.shift-body li:last-child {
  border-bottom: none;
}

.req-list {
  list-style: none;
}

.req-list li {
  padding: 10px 0 10px 22px;
  position: relative;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
  line-height: 1.65;
}

.req-list li:last-child {
  border-bottom: none;
}

.req-list li::before {
  content: "・";
  position: absolute;
  left: 4px;
  color: var(--vermilion);
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .shift-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   サイトマップページ（sitemap.html）専用スタイル
   ========================================================= */
.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sitemap-group {
  background: #fafbfd;
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: 8px;
  padding: 20px;
}

.sitemap-group.special {
  border-top-color: var(--vermilion);
}

.sitemap-group.kenmusha {
  border-top-color: var(--gold);
}

.sitemap-group h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

.sitemap-group.special h4 {
  color: var(--vermilion);
}

.sitemap-group.kenmusha h4 {
  color: #8c6214;
}

.sitemap-list {
  list-style: none;
}

.sitemap-list li {
  border-bottom: 1px solid #eef2f6;
}

.sitemap-list li:last-child {
  border-bottom: none;
}

.sitemap-list a {
  display: block;
  padding: 10px 6px;
  font-weight: bold;
  color: var(--navy);
  font-size: 0.94rem;
}

.sitemap-list a:hover {
  color: var(--vermilion);
  padding-left: 12px;
}

.sitemap-list span {
  display: block;
  font-size: 0.8rem;
  font-weight: normal;
  color: var(--text-muted);
  margin-top: 2px;
}

@media screen and (max-width: 768px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   トップページ・季節の特設バナー枠（index.html 追加分）
   ========================================================= */
.season-banner-wrap {
  max-width: 1120px;
  margin: 0 auto 28px;
  padding: 0 16px;
}

.season-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.season-card {
  background: var(--bg-white);
  border: 2px solid var(--vermilion);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  box-shadow: 0 3px 10px rgba(200, 50, 40, 0.08);
}

.season-card:hover {
  transform: translateY(-2px);
}

.season-card.gold-border {
  border-color: var(--gold);
}

.season-card.navy-border {
  border-color: var(--navy);
}

.season-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 3px;
  color: #ffffff;
  background: var(--vermilion);
  margin-bottom: 4px;
}

.gold-border .season-pill {
  background: #9e7614;
}

.navy-border .season-pill {
  background: var(--navy);
}

.season-card h3 {
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.35;
}

.season-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media screen and (max-width: 768px) {
  .season-banner-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
/* =========================================================
   ご祈願ページ充実版（kitou.html 追加分）
   ========================================================= */
.kigan-4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 16px 0;
}

.kigan-type-card {
  background: #fafbfd;
  border: 1px solid var(--border);
  border-top: 5px solid var(--vermilion);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kigan-type-card.house { border-top-color: #2e6b54; }
.kigan-type-card.corp { border-top-color: var(--navy); }
.kigan-type-card.season { border-top-color: var(--gold); }

.kigan-type-card h4 {
  font-size: 1.12rem;
  color: var(--vermilion);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

.kigan-type-card.house h4 { color: #2e6b54; }
.kigan-type-card.corp h4 { color: var(--navy); }
.kigan-type-card.season h4 { color: #8c6214; }

.kigan-items-text {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: var(--text-main);
}

.kigan-spec-list {
  list-style: none;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.kigan-spec-list li {
  padding: 5px 0;
  border-bottom: 1px dotted #e2e8f0;
}

.kigan-spec-list li:last-child {
  border-bottom: none;
}

.kigan-spec-list strong {
  color: var(--navy);
}

.hatsuho-meaning-box {
  background: #fffdf7;
  border: 1px solid #ecd69c;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 14px 16px;
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.65;
}

@media screen and (max-width: 768px) {
  .kigan-4-grid {
    grid-template-columns: 1fr;
  }
}