/* ==========================================================================
   t05-kanko｜江戸川不動尊 龍光院
   観光・多言語型。弁柄×藍鈍の門前町カラー、角丸カード＋ピル型ナビ、
   横並びリストカードで境内マップ・門前町グルメを主役にする。
   ========================================================================== */

:root {
  --c-main: #B3402A;
  --c-accent: #2C4B63;
  --c-bg: #FFF9F0;
  --c-text: #26211C;
  --c-main-rgb: 179, 64, 42;
  --c-card-bg: #FFFFFF;
  --c-border: rgba(38, 33, 28, 0.14);
  --f-heading: 'Noto Serif JP', serif;
  --f-body: 'Noto Serif JP', serif;
  --section-py: 96px;
  --radius: 18px;
  --radius-sm: 10px;
}

@media (max-width: 767px) {
  :root { --section-py: 56px; }
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
}

h1, h2, h3, h4 { font-family: var(--f-heading); font-weight: 700; }

a { transition: opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease; }

/* --------------------------------------------------------------------------
   見出し
   -------------------------------------------------------------------------- */
.c-section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.c-section-head__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.c-section-head__title {
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem);
  color: var(--c-main);
  letter-spacing: 0.03em;
}
.c-section-head--left { text-align: left; }
.c-section-lead {
  max-width: 44em;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 2.25rem;
  font-size: 0.98rem;
}

.l-section { padding-block: var(--section-py); }
.l-section--alt { background: #fff; }
.l-section--main { background: var(--c-main); color: #fff; }
.l-section--main .c-section-head__title,
.l-section--main .c-section-head__label { color: #fff; }

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.l-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 249, 240, 0.96);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--c-border);
}
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.85rem;
}
.l-header__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  flex-shrink: 0;
}
.l-header__brand-en {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--c-accent);
}
.l-header__brand-ja {
  font-family: var(--f-heading);
  font-size: 1.05rem;
  color: var(--c-main);
  font-weight: 700;
}
.l-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.l-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.86rem;
}
.l-nav__list a {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  color: var(--c-text);
}
.l-nav__list a:hover,
.l-nav__list a.is-current {
  background: var(--c-main);
  color: #fff;
}

/* --- 言語切替(JA/EN) --- */
.c-lang-switch {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  padding: 0.3rem 0.4rem;
  flex-shrink: 0;
}
.c-lang-switch span,
.c-lang-switch a {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
}
.c-lang-switch span.is-current {
  background: var(--c-accent);
  color: #fff;
}
.c-lang-switch a { color: var(--c-accent); }
.c-lang-switch a:hover { background: var(--c-bg); }

.l-header__tel {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--c-main);
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.l-header__tel small {
  display: block;
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--c-text);
}

.l-header__toggle {
  display: none;
  width: 38px;
  height: 30px;
  position: relative;
  flex-shrink: 0;
}
.l-header__toggle span,
.l-header__toggle span::before,
.l-header__toggle span::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-main);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.l-header__toggle span { top: 14px; }
.l-header__toggle span::before { top: -8px; }
.l-header__toggle span::after { top: 8px; }
.l-header__toggle[aria-expanded="true"] span { background: transparent; }
.l-header__toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.l-header__toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1023px) {
  .l-header__toggle { display: block; }
  .l-nav {
    position: fixed;
    inset: 62px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 1rem 1.25rem 1.5rem;
    max-height: calc(100dvh - 62px);
    overflow-y: auto;
  }
  .l-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .l-nav__list {
    flex-direction: column;
    gap: 0.3rem;
  }
  .l-nav__list a { display: block; }
  .l-header__tel {
    margin-top: 1.1rem;
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .l-header__brand-ja { font-size: 0.92rem; }
  .c-lang-switch { font-size: 0.75rem; }
}

/* --------------------------------------------------------------------------
   ヒーロー(全面写真＋横書きキャッチ／t01の縦書きと差別化)
   -------------------------------------------------------------------------- */
.c-hero {
  position: relative;
  min-height: 76vh;
}
.c-hero .media-frame {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.c-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38,20,14,0.35) 0%, rgba(38,20,14,0.15) 40%, rgba(38,20,14,0.62) 100%);
  z-index: 0;
}
.c-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 76vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: 2.25rem 3rem;
  color: #fff;
}
.c-hero__label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: #F3D9A6;
  margin-bottom: 0.75rem;
}
.c-hero__catch {
  font-family: var(--f-heading);
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.7rem);
  line-height: 1.5;
  margin-bottom: 0.9rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
  max-width: 16em;
}
.c-hero__sub {
  font-size: 0.95rem;
  max-width: 34em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  margin-bottom: 1.5rem;
}
.c-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@media (max-width: 767px) {
  .c-hero, .c-hero__inner { min-height: 64vh; }
}

/* --------------------------------------------------------------------------
   参拝案内(角丸カード。t01の直角ボーダーと差別化)
   -------------------------------------------------------------------------- */
.c-info-table {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(38, 33, 28, 0.12);
  overflow: hidden;
}
.c-info-table table { font-size: 0.94rem; }
.c-info-table th, .c-info-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
  text-align: left;
  vertical-align: top;
}
.c-info-table tr:last-child th,
.c-info-table tr:last-child td { border-bottom: none; }
.c-info-table th {
  width: 9.5em;
  background: var(--c-bg);
  color: var(--c-main);
  font-weight: 700;
  font-family: var(--f-heading);
}
.c-info-table__note { font-size: 0.8rem; color: #665c50; margin-top: 0.4rem; }

.c-visit {
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) {
  .c-visit { margin-top: -1.6rem; }
}

/* --------------------------------------------------------------------------
   お知らせ
   -------------------------------------------------------------------------- */
.c-news-list { border-top: 1px solid var(--c-border); }
.news-item {
  padding: 1.1rem 0.25rem;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}
.news-item:hover { color: var(--c-main); }
.news-item__date { font-size: 0.85rem; color: #7a7167; width: 6.5em; flex-shrink: 0; }
.news-item__title { flex: 1; min-width: 60%; }
.news-badge--important { background: #F5DCD2; color: var(--c-main); }
.news-badge--info { background: #E1E8ED; color: var(--c-accent); }
.news-badge--event { background: #F3E7CE; color: #8A5A1E; }

.c-news-more { text-align: center; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   ボタン(ピル型。t01の角なしボタンと差別化)
   -------------------------------------------------------------------------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  border: 1px solid var(--c-main);
  color: var(--c-main);
  background: transparent;
}
.c-btn:hover { background: var(--c-main); color: #fff; }
.c-btn--solid { background: var(--c-main); color: #fff; }
.c-btn--solid:hover { background: #8f331f; }
.c-btn--accent { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.c-btn--accent:hover { background: #1e364a; }
.c-btn--on-dark { border-color: #fff; color: #fff; }
.c-btn--on-dark:hover { background: #fff; color: var(--c-main); }

/* --------------------------------------------------------------------------
   カード(角丸＋影。t01の角なし細ボーダーと差別化)
   -------------------------------------------------------------------------- */
.c-card {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(38, 33, 28, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.c-card__body { padding: 1.1rem 1.25rem 1.4rem; }
.c-card__label { font-size: 0.72rem; color: var(--c-accent); font-weight: 700; letter-spacing: 0.06em; }
.c-card__title { font-family: var(--f-heading); font-size: 1.03rem; margin-block: 0.35rem 0.5rem; color: var(--c-main); }
.c-card__text { font-size: 0.9rem; color: #4a423a; }

.c-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.c-grid--3 { grid-template-columns: repeat(3, 1fr); }
.c-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) {
  .c-grid--3, .c-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .c-grid--3, .c-grid--4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   横長リストカード(境内マップ・門前町グルメ土産／t01の縦型カードと差別化)
   -------------------------------------------------------------------------- */
.c-list-cards {
  display: grid;
  gap: 1.1rem;
}
.c-list-card {
  display: flex;
  flex-direction: column;
  background: var(--c-card-bg);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(38, 33, 28, 0.1);
  overflow: hidden;
}
.c-list-card__media { width: 100%; }
.c-list-card__body { padding: 1rem 1.15rem; }
.c-list-card__label { font-size: 0.72rem; color: var(--c-accent); font-weight: 700; }
.c-list-card__title { font-family: var(--f-heading); font-size: 1.02rem; color: var(--c-main); margin-block: 0.3rem 0.4rem; }
.c-list-card__text { font-size: 0.9rem; color: #4a423a; }

@media (min-width: 481px) {
  .c-list-card { flex-direction: row; align-items: stretch; }
  .c-list-card__media { width: 38%; max-width: 220px; flex-shrink: 0; }
  .c-list-card__body { flex: 1; padding: 1.25rem 1.5rem; }
}

/* --------------------------------------------------------------------------
   龍光院について／住職からのメッセージ
   -------------------------------------------------------------------------- */
.c-about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.c-about__text { font-size: 1rem; }
.c-about__text p + p { margin-top: 1rem; }
.c-about .media-frame { border-radius: var(--radius); }
@media (max-width: 1023px) {
  .c-about { grid-template-columns: 1fr; gap: 2rem; }
}

.c-priest {
  margin-top: var(--section-py);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--c-border);
  padding-top: var(--section-py);
}
.c-priest__portrait { width: 180px; border-radius: var(--radius); }
.c-priest__name { font-family: var(--f-heading); color: var(--c-main); font-weight: 700; margin-bottom: 0.5rem; }
.c-priest__quote { font-size: 1.02rem; line-height: 1.9; }
@media (max-width: 767px) {
  .c-priest { grid-template-columns: 110px 1fr; gap: 1.25rem; }
  .c-priest__portrait { width: 110px; }
}

/* --------------------------------------------------------------------------
   境内マップ(自作イラストSVG＋番号ピン)
   -------------------------------------------------------------------------- */
.c-keidai {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 1023px) {
  .c-keidai { grid-template-columns: 1fr; }
}
.c-keidai__map {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(38, 33, 28, 0.12);
  padding: 1rem;
}
.c-keidai__svg { width: 100%; height: auto; display: block; }
.c-keidai__pin { cursor: pointer; }
.c-keidai__pin circle {
  fill: var(--c-main);
  stroke: #fff;
  stroke-width: 3;
  transition: fill 0.2s ease, transform 0.2s ease;
  transform-origin: center;
  transform-box: fill-box;
}
.c-keidai__pin text {
  fill: #fff;
  font-family: var(--f-heading);
  font-size: 15px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}
.c-keidai__pin:hover circle,
.c-keidai__pin:focus circle,
.c-keidai__pin.is-active circle {
  fill: var(--c-accent);
  transform: scale(1.18);
}
.c-keidai__pin:focus { outline: none; }
.c-keidai__pin:focus-visible circle { stroke: var(--c-accent); stroke-width: 4; }

.c-keidai__list { display: grid; gap: 0.7rem; }
.c-keidai__item {
  background: var(--c-card-bg);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(38, 33, 28, 0.08);
  padding: 0.15rem 0.25rem;
}
.c-keidai__item summary {
  padding: 0.85rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--c-main);
  list-style: none;
}
.c-keidai__item summary::-webkit-details-marker { display: none; }
.c-keidai__item[open] summary { color: var(--c-accent); }
.c-keidai__item p { padding: 0 1rem 1.1rem 2.7rem; font-size: 0.9rem; color: #4a423a; }
.c-keidai__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem; height: 1.7rem;
  border-radius: 50%;
  background: var(--c-main);
  color: #fff;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.c-keidai__item.is-active-list { box-shadow: 0 4px 18px rgba(var(--c-main-rgb), 0.35); }

/* --------------------------------------------------------------------------
   参拝作法(手水の作法4コマ)
   -------------------------------------------------------------------------- */
.c-etiquette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: etiquette;
}
.c-etiquette__step {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(38, 33, 28, 0.1);
  padding: 1.5rem 1.2rem;
  text-align: center;
}
.c-etiquette__num {
  counter-increment: etiquette;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--c-main);
  color: #fff;
  font-family: var(--f-heading);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.c-etiquette__num::before { content: counter(etiquette); }
.c-etiquette__emoji { display: block; margin-bottom: 0.5rem; color: var(--c-main); }
.c-etiquette__emoji svg {
  width: 32px; height: 32px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.c-etiquette__step h3 { font-size: 0.98rem; color: var(--c-main); margin-bottom: 0.4rem; }
.c-etiquette__step p { font-size: 0.86rem; color: #4a423a; }
@media (max-width: 1023px) {
  .c-etiquette { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .c-etiquette { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   ご祈祷・ご供養 料金表
   -------------------------------------------------------------------------- */
.c-price-table { width: 100%; background: var(--c-card-bg); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 22px rgba(38, 33, 28, 0.1); }
.c-price-table th, .c-price-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--c-border);
  text-align: left;
  font-size: 0.92rem;
}
.c-price-table thead th {
  background: var(--c-main);
  color: #fff;
  font-family: var(--f-heading);
}
.c-price-table tbody tr:last-child td { border-bottom: none; }
.c-price-table td.c-price-table__price { color: var(--c-main); font-weight: 700; white-space: nowrap; }

/* --------------------------------------------------------------------------
   FAQ(アコーディオン)
   -------------------------------------------------------------------------- */
.c-faq { border-top: 1px solid var(--c-border); margin-top: 3rem; }
.c-faq__item { border-bottom: 1px solid var(--c-border); }
.c-faq__item summary {
  padding: 1.1rem 0.25rem;
  font-weight: 700;
  color: var(--c-main);
  cursor: pointer;
  display: flex;
  gap: 0.75rem;
  list-style: none;
}
.c-faq__item summary::-webkit-details-marker { display: none; }
.c-faq__item summary::before { content: "Q"; color: var(--c-accent); font-family: var(--f-heading); }
.c-faq__item[open] summary { color: var(--c-accent); }
.c-faq__answer { padding: 0 0.25rem 1.25rem 2rem; font-size: 0.92rem; color: #4a423a; position: relative; }
.c-faq__answer::before { content: "A"; position: absolute; left: 0.25rem; color: var(--c-main); font-family: var(--f-heading); font-weight: 700; }
.c-faq__answer a { color: var(--c-accent); text-decoration: underline; }

/* --------------------------------------------------------------------------
   御朱印・郵送受付
   -------------------------------------------------------------------------- */
.c-mail-order {
  margin-top: 2.5rem;
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 2rem;
  box-shadow: 0 8px 22px rgba(38, 33, 28, 0.08);
}
.c-mail-order h3 { color: var(--c-main); font-size: 1.1rem; margin-bottom: 0.6rem; }
.c-mail-order dl {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 0.6rem 1rem;
  margin-block: 1.1rem;
  font-size: 0.92rem;
}
.c-mail-order dt { color: var(--c-main); font-weight: 700; }
@media (max-width: 480px) {
  .c-mail-order dl { grid-template-columns: 1fr; gap: 0.15rem 0; }
  .c-mail-order dd { margin-bottom: 0.6rem; }
}

/* --------------------------------------------------------------------------
   ライブカメラ
   -------------------------------------------------------------------------- */
.c-livecam {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.25rem;
  align-items: center;
}
.c-livecam__frame { border-radius: var(--radius); position: relative; }
.c-livecam__badge {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background: rgba(38, 20, 14, 0.55);
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.c-livecam__badge::before {
  content: "●";
  color: #E8574A;
  animation: c-livecam-pulse 1.8s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .c-livecam__badge::before { animation: none; }
}
@keyframes c-livecam-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.c-livecam__text { font-size: 0.94rem; color: #4a423a; }
@media (max-width: 1023px) {
  .c-livecam { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   永代供養・お墓
   -------------------------------------------------------------------------- */
.c-ohaka-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.l-section:not(.l-section--main) .c-ohaka-card {
  background: var(--c-card-bg);
  border: none;
  box-shadow: 0 8px 22px rgba(38, 33, 28, 0.1);
}
.c-ohaka-card__title { font-family: var(--f-heading); margin-bottom: 0.6rem; font-size: 1.05rem; }
.l-section--main .c-ohaka-card__title { color: #fff; }
.l-section:not(.l-section--main) .c-ohaka-card__title { color: var(--c-main); }
.c-ohaka-card__text { font-size: 0.9rem; margin-bottom: 1.1rem; opacity: 0.92; }

/* --------------------------------------------------------------------------
   アクセス
   -------------------------------------------------------------------------- */
.c-access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.c-access__map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 22px rgba(38, 33, 28, 0.1); }
.c-access__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (max-width: 1023px) {
  .c-access { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.l-footer {
  background: var(--c-text);
  color: #F3EEE4;
  padding-block: 3.5rem 6.5rem;
}
@media (min-width: 768px) {
  .l-footer { padding-bottom: 3.5rem; }
}
.l-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
}
.l-footer__brand { font-family: var(--f-heading); font-size: 1.15rem; margin-bottom: 0.75rem; }
.l-footer h3 { font-size: 0.82rem; letter-spacing: 0.1em; color: #F3D9A6; margin-bottom: 1rem; }
.l-footer address { font-style: normal; font-size: 0.9rem; line-height: 1.9; }
.l-footer__nav a, .l-footer__sns a { display: block; font-size: 0.9rem; padding-block: 0.35rem; opacity: 0.9; }
.l-footer__sns { display: flex; gap: 1rem; }
.l-footer__sns a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
}
.l-footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.78rem;
  opacity: 0.75;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 767px) {
  .l-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* --------------------------------------------------------------------------
   スマホ固定バー
   -------------------------------------------------------------------------- */
.sticky-actions a {
  background: var(--c-main);
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.sticky-actions a:last-child { border-right: none; background: var(--c-accent); }

/* --------------------------------------------------------------------------
   news.html / page.html / en.html 共通
   -------------------------------------------------------------------------- */
.c-breadcrumb { font-size: 0.82rem; color: #665c50; padding-block: 1rem; border-bottom: 1px solid var(--c-border); }
.c-breadcrumb a { color: var(--c-main); }
.c-breadcrumb span[aria-hidden] { margin-inline: 0.4rem; }

.c-page-title {
  background: var(--c-main);
  color: #fff;
  padding-block: 3rem;
  text-align: center;
}
.c-page-title__en { font-size: 0.8rem; letter-spacing: 0.22em; color: #F3D9A6; }
.c-page-title h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); margin-top: 0.5rem; }

.c-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.news-tab {
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  font-size: 0.88rem;
  background: #fff;
  color: var(--c-text);
}
.news-tab.is-active { background: var(--c-main); color: #fff; border-color: var(--c-main); }

.news-detail__meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.news-detail__date { color: #7a7167; font-size: 0.9rem; }
.news-detail__title { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--c-main); }
.news-detail__image { margin-bottom: 1.5rem; border-radius: var(--radius); }
.news-detail__body { font-size: 1rem; line-height: 1.9; white-space: normal; }
.news-detail__back {
  margin-top: 2.5rem;
  color: var(--c-main);
  font-weight: 700;
  border-bottom: 1px solid var(--c-main);
  padding-bottom: 0.15rem;
}
.news-detail--notfound { text-align: center; padding-block: 3rem; }

/* --------------------------------------------------------------------------
   年中行事 12ヶ月タイムライン(page.html／t01のカードグリッドと差別化)
   -------------------------------------------------------------------------- */
/* reset.cssの ol[class]{padding:0;margin:0} は詳細度(0,1,1)がクラス単体(0,1,0)より
   高く上書きされてしまうため、要素名を明示して詳細度を揃え、後勝ちさせる */
ol.c-nenchu {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding-left: 4.2rem;
}
.c-nenchu::before {
  content: "";
  position: absolute;
  left: 1.85rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--c-border);
}
.c-nenchu__month {
  position: relative;
  padding-bottom: 2.75rem;
}
.c-nenchu__month:last-child { padding-bottom: 0; }
.c-nenchu__marker {
  position: absolute;
  left: -4.2rem;
  top: 0;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--c-main);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--f-heading);
  font-weight: 700;
  line-height: 1.1;
  box-shadow: 0 0 0 4px var(--c-bg);
}
.c-nenchu__marker span { font-size: 0.6rem; font-weight: 400; }
.c-nenchu__marker strong { font-size: 1.15rem; }
.c-nenchu__content {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(38, 33, 28, 0.1);
  padding: 1.35rem 1.5rem;
}
.c-nenchu__event + .c-nenchu__event {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--c-border);
}
.c-nenchu__event h3 { font-size: 1rem; color: var(--c-main); margin-bottom: 0.25rem; }
.c-nenchu__event-date { font-size: 0.8rem; color: var(--c-accent); font-weight: 700; margin-bottom: 0.35rem; }
.c-nenchu__event p:not(.c-nenchu__event-date) { font-size: 0.9rem; color: #4a423a; }

@media (max-width: 600px) {
  ol.c-nenchu { padding-left: 3.4rem; }
  .c-nenchu__marker { left: -3.4rem; width: 2.7rem; height: 2.7rem; }
  .c-nenchu__marker strong { font-size: 0.95rem; }
  .c-nenchu__marker span { font-size: 0.52rem; }
}

/* --------------------------------------------------------------------------
   英語ページ(en.html)微調整
   -------------------------------------------------------------------------- */
.c-en-list { display: grid; gap: 0.6rem; font-size: 0.95rem; }
.c-en-list dt { font-weight: 700; color: var(--c-main); }
.c-en-list dd { margin-bottom: 0.5rem; }

/* --------------------------------------------------------------------------
   汎用ユーティリティ
   -------------------------------------------------------------------------- */
.u-text-center { text-align: center; }
.u-mt-lg { margin-top: 2.5rem; }
@media (max-width: 767px) {
  .u-hide-mobile { display: none; }
}
@media (min-width: 768px) {
  .u-hide-desktop { display: none; }
}
