/* ==========================================================================
   t03-portal｜大慈山 弘願寺
   情報ポータル型。都心の大規模寺院を想定した企業サイト調のデザイン。
   目的別メガメニュー・丸みのあるカード・浮遊型クイックリンクで
   t01（角なし・細ボーダー）との差別化を明確にする。
   ========================================================================== */

:root {
  --c-main: #41307A;
  --c-accent: #D4AF37;
  --c-bg: #FAFAF7;
  --c-text: #222;
  --c-main-rgb: 65, 48, 122;
  --c-card-bg: #FFFFFF;
  --c-border: rgba(65, 48, 122, 0.14);
  --f-heading: 'Noto Sans JP', sans-serif;
  --f-body: 'Noto Sans JP', sans-serif;
  --section-py: 96px;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow-card: 0 6px 24px rgba(var(--c-main-rgb), 0.09);
  --shadow-float: 0 18px 40px rgba(var(--c-main-rgb), 0.16);
}

@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: 900; }

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.22em;
  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.15rem);
  color: var(--c-main);
  letter-spacing: 0.01em;
}
.c-section-head--left { text-align: left; }

.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 { color: #fff; }
.l-section--main .c-section-head__label { color: #E9DBAE; }

.u-lead {
  max-width: 46em;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 2.25rem;
}

/* --------------------------------------------------------------------------
   相談窓口バー(ヘッダー直下・常時表示)
   -------------------------------------------------------------------------- */
.l-top { position: sticky; top: 0; z-index: 500; }

.c-phonebar {
  background: var(--c-main);
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
}
.c-phonebar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  padding-block: 0.55rem;
}
.c-phonebar__label { font-weight: 500; }
.c-phonebar__tel {
  font-family: var(--f-heading);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--c-accent);
  letter-spacing: 0.02em;
}
.c-phonebar__hours { opacity: 0.85; font-size: 0.78rem; }

/* --------------------------------------------------------------------------
   ヘッダー・メガメニュー
   -------------------------------------------------------------------------- */
.l-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--c-border);
}
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  min-height: 64px;
}
.l-header__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  flex-shrink: 0;
}
.l-header__brand-en {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--c-accent);
  font-weight: 700;
}
.l-header__brand-ja {
  font-family: var(--f-heading);
  font-size: 1.1rem;
  color: var(--c-main);
  font-weight: 900;
}

.l-header__tel {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--c-main);
  font-size: 0.98rem;
  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: 40px;
  height: 32px;
  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;
  background: var(--c-main);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.l-header__toggle span { top: 15px; }
.l-header__toggle span::before { top: -9px; }
.l-header__toggle span::after { top: 9px; }
.l-header__toggle[aria-expanded="true"] span { background: transparent; }
.l-header__toggle[aria-expanded="true"] span::before { transform: translateY(9px) rotate(45deg); }
.l-header__toggle[aria-expanded="true"] span::after { transform: translateY(-9px) rotate(-45deg); }

/* メガメニュー本体 */
.l-megamenu { flex: 1; display: flex; justify-content: center; }
.l-megamenu__list {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}
.l-megamenu__item { position: relative; display: flex; }
.l-megamenu__trigger {
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
}
.l-megamenu__trigger::after {
  content: "";
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
  transition: transform 0.2s ease;
}
.l-megamenu__item:hover .l-megamenu__trigger,
.l-megamenu__item.is-open .l-megamenu__trigger {
  color: var(--c-main);
  background: var(--c-bg);
}
.l-megamenu__item:hover .l-megamenu__trigger::after,
.l-megamenu__item.is-open .l-megamenu__trigger::after {
  transform: rotate(180deg);
}
.l-megamenu__trigger.is-current { color: var(--c-main); }
.l-megamenu__trigger.is-current::before {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0.15rem;
  height: 2px;
  background: var(--c-accent);
}

.l-megamenu__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-float);
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 600;
}
.l-megamenu__item:hover .l-megamenu__panel,
.l-megamenu__item:focus-within .l-megamenu__panel,
.l-megamenu__item.is-open .l-megamenu__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.l-megamenu__panel a {
  display: block;
  padding: 0.65rem 1.5rem;
  font-size: 0.88rem;
  color: var(--c-text);
  white-space: nowrap;
}
.l-megamenu__panel a:hover { background: var(--c-bg); color: var(--c-main); }

@media (max-width: 1023px) {
  .l-header__inner { flex-wrap: wrap; }
  .l-header__toggle { display: block; }
  .l-megamenu {
    position: fixed;
    inset: 64px 0 auto 0;
    justify-content: flex-start;
    background: #fff;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    border-top: 1px solid var(--c-border);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 550;
  }
  .l-megamenu.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .l-megamenu__list { flex-direction: column; width: 100%; gap: 0; padding: 0.5rem 0; }
  .l-megamenu__item { flex-direction: column; align-items: stretch; border-bottom: 1px solid var(--c-border); }
  .l-megamenu__trigger {
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 0;
  }
  .l-megamenu__trigger.is-current::before { display: none; }
  .l-megamenu__panel {
    position: static;
    min-width: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border-radius: 0;
    background: var(--c-bg);
    padding: 0.25rem 0;
    display: none;
  }
  .l-megamenu__item:hover .l-megamenu__panel,
  .l-megamenu__item.is-open .l-megamenu__panel {
    display: block;
    transform: none;
  }
  .l-megamenu__panel a { padding: 0.85rem 2.25rem; }
  .l-header__tel { font-size: 1.05rem; margin-left: auto; }
}

/* --------------------------------------------------------------------------
   ヒーロー
   -------------------------------------------------------------------------- */
.c-hero { position: relative; min-height: 64vh; }
.c-hero .media-frame { position: absolute; inset: 0; z-index: -1; }
.c-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 12, 46, 0.72) 0%, rgba(20, 12, 46, 0.42) 48%, rgba(20, 12, 46, 0.12) 100%);
  z-index: 0;
}
.c-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 64vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 3rem;
  color: #fff;
  max-width: 42em;
}
.c-hero__label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.c-hero__catch {
  font-size: clamp(1.7rem, 1.15rem + 2.3vw, 2.7rem);
  line-height: 1.5;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
.c-hero__sub {
  font-size: 1rem;
  max-width: 34em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
@media (max-width: 767px) {
  .c-hero, .c-hero__inner { min-height: 46vh; }
}

/* --------------------------------------------------------------------------
   クイックリンク(6ボタン・ヒーローに浮遊するカード)
   -------------------------------------------------------------------------- */
.c-quicklinks-wrap {
  margin-top: -2.75rem;
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) {
  .c-quicklinks-wrap { margin-top: -1.75rem; }
}
.c-quicklinks {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-float);
  padding: 1.4rem 1rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.35rem;
}
.c-quicklinks__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0.35rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-main);
}
.c-quicklinks__item:hover { background: var(--c-bg); }
.c-quicklinks__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-main);
}
.c-quicklinks__icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 1023px) {
  .c-quicklinks { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .c-quicklinks { padding: 1rem 0.5rem; gap: 0.15rem; }
  .c-quicklinks__item { padding: 0.6rem 0.25rem; gap: 0.35rem; font-size: 0.72rem; }
  .c-quicklinks__icon { width: 36px; height: 36px; font-size: 1.1rem; }
}

/* --------------------------------------------------------------------------
   参拝案内テーブル
   -------------------------------------------------------------------------- */
.c-info-table {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.c-info-table table { font-size: 0.95rem; }
.c-info-table th, .c-info-table td {
  padding: 0.95rem 1.4rem;
  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: 10em;
  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: #666; margin-top: 0.4rem; }

.c-visit { margin-top: 2.5rem; }
@media (max-width: 767px) {
  .c-visit { margin-top: 1.5rem; }
}

/* --------------------------------------------------------------------------
   お知らせ
   -------------------------------------------------------------------------- */
.c-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; justify-content: center; }
.news-tab {
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  font-size: 0.88rem;
  background: #fff;
  color: var(--c-text);
  font-weight: 700;
}
.news-tab.is-active { background: var(--c-main); color: #fff; border-color: var(--c-main); }

.c-news-list {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.news-item {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { color: var(--c-main); background: var(--c-bg); }
.news-item__date { font-size: 0.85rem; color: #777; width: 6.5em; flex-shrink: 0; }
.news-item__title { flex: 1; min-width: 60%; }
.news-badge--important { background: #F4E3D7; color: #8C4A1F; }
.news-badge--info { background: #EDE8F6; color: var(--c-main); }
.news-badge--event { background: #F1E7CF; color: #7A5B1E; }
.news-empty { padding: 1.75rem; }

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

/* --------------------------------------------------------------------------
   ボタン・CTA(丸ピル型)
   -------------------------------------------------------------------------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.1rem;
  font-weight: 700;
  font-size: 0.95rem;
  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: #2f2359; }
.c-btn--accent { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.c-btn--accent:hover { background: #ad8c28; }
.c-btn--on-dark { border-color: #fff; color: #fff; }
.c-btn--on-dark:hover { background: #fff; color: var(--c-main); }

/* --------------------------------------------------------------------------
   カード共通(角丸+シャドウ)
   -------------------------------------------------------------------------- */
.c-card {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.c-card__body { padding: 1.2rem 1.3rem 1.5rem; }
.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.05rem; margin-block: 0.35rem 0.5rem; color: var(--c-main); }
.c-card__text { font-size: 0.9rem; color: #4a4a4a; }

.c-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 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; }
}

/* ミニカード(写真なし・アイコンのみのサービス紹介用) */
.c-mini-card {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.5rem;
  text-align: center;
}
.c-mini-card__icon {
  width: 56px; height: 56px;
  margin-inline: auto;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-main);
}
.c-mini-card__icon svg {
  width: 28px; height: 28px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.c-mini-card__title { font-family: var(--f-heading); color: var(--c-main); margin-bottom: 0.6rem; font-size: 1.02rem; }
.c-mini-card__text { font-size: 0.9rem; color: #4a4a4a; }

/* --------------------------------------------------------------------------
   はじめての方へ・住職紹介
   -------------------------------------------------------------------------- */
.c-first-time {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.c-first-time__text p + p { margin-top: 1rem; }
.c-priest__quote {
  margin-top: 1.5rem;
  font-size: 1.02rem;
  line-height: 1.9;
  padding: 1.25rem 1.5rem;
  background: var(--c-bg);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--c-accent);
}
.c-priest__name {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--f-heading);
  font-weight: 700;
  color: var(--c-main);
  font-size: 0.9rem;
}
@media (max-width: 1023px) {
  .c-first-time { grid-template-columns: 1fr; gap: 2rem; }
}

.c-about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.c-about__text p + p { margin-top: 1rem; }
@media (max-width: 1023px) {
  .c-about { grid-template-columns: 1fr; gap: 2rem; }
}

/* --------------------------------------------------------------------------
   ご祈祷・ご法要 料金表・FAQ
   -------------------------------------------------------------------------- */
.c-price-table {
  width: 100%;
  background: var(--c-card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.c-price-table th, .c-price-table td {
  padding: 0.9rem 1.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; }

.c-faq { margin-top: 3rem; background: var(--c-card-bg); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.c-faq__item { border-bottom: 1px solid var(--c-border); }
.c-faq__item:last-child { border-bottom: none; }
.c-faq__item summary {
  padding: 1.1rem 1.4rem;
  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: #fff;
  background: var(--c-accent);
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.c-faq__answer { padding: 0 1.4rem 1.4rem 3.65rem; font-size: 0.92rem; color: #4a4a4a; position: relative; }
.c-faq__answer::before {
  content: "A";
  position: absolute;
  left: 1.4rem;
  color: #fff;
  background: var(--c-main);
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   永代供養・お墓 相談セクション
   -------------------------------------------------------------------------- */
.c-ohaka-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  padding: 1.9rem 1.6rem;
  text-align: center;
  color: var(--c-text);
}
.c-ohaka-card__title { font-family: var(--f-heading); color: var(--c-main); margin-bottom: 0.6rem; font-size: 1.05rem; }
.c-ohaka-card__text { font-size: 0.9rem; color: #4a4a4a; margin-bottom: 1.1rem; }

/* --------------------------------------------------------------------------
   アクセス
   -------------------------------------------------------------------------- */
.c-access { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.c-access__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.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-main); color: #eeeaf6; 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.2rem; margin-bottom: 0.75rem; }
.l-footer h3 { font-size: 0.85rem; letter-spacing: 0.1em; color: var(--c-accent); 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;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  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 共通
   -------------------------------------------------------------------------- */
.c-breadcrumb { font-size: 0.82rem; color: #666; padding-block: 1rem; border-bottom: 1px solid var(--c-border); background: #fff; }
.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: var(--c-accent); }
.c-page-title h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); margin-top: 0.5rem; }

.news-detail {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem 2.25rem 2.5rem;
}
.news-detail__meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.news-detail__date { color: #777; 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-sm); }
.news-detail__body { font-size: 1rem; line-height: 1.9; white-space: normal; }
.news-detail__back {
  display: inline-block;
  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: 3rem 1rem; }

/* --------------------------------------------------------------------------
   相談する(page.html) 4窓口カード
   -------------------------------------------------------------------------- */
.c-soudan-card {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 1.75rem;
  align-items: start;
}
.c-soudan-card__icon {
  width: 108px; height: 108px;
  border-radius: 50%;
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-main);
}
.c-soudan-card__icon svg {
  width: 48px; height: 48px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.c-soudan-card__title { font-family: var(--f-heading); color: var(--c-main); font-size: 1.15rem; margin-bottom: 0.6rem; }
.c-soudan-card__text { font-size: 0.95rem; color: #4a4a4a; margin-bottom: 1.25rem; }
.c-soudan-card__meta { font-size: 0.88rem; color: #555; margin-bottom: 1.25rem; }
.c-soudan-card__meta dt { font-weight: 700; color: var(--c-main); display: inline; }
.c-soudan-card__meta dd { display: inline; margin: 0 0 0 0.35rem; }
.c-soudan-card__meta div + div { margin-top: 0.3rem; }
@media (max-width: 767px) {
  .c-soudan-card { grid-template-columns: 1fr; text-align: center; }
  .c-soudan-card__icon { margin-inline: auto; }
  .c-soudan-card__meta dt, .c-soudan-card__meta dd { display: block; margin: 0; }
}

.c-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: flow;
}
.c-flow__step {
  border-radius: var(--radius);
  background: var(--c-card-bg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.2rem;
  position: relative;
}
.c-flow__step::before {
  counter-increment: flow;
  content: counter(flow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--c-main);
  color: #fff;
  font-family: var(--f-heading);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
@media (max-width: 1023px) {
  .c-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .c-flow { grid-template-columns: 1fr; }
}

.c-cleaning-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2.25rem;
}
@media (max-width: 1023px) {
  .c-cleaning-box { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   相談フォームUI見本
   -------------------------------------------------------------------------- */
.c-consult-form {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2.25rem;
  max-width: 640px;
  margin-inline: auto;
}
.c-consult-form__row { margin-bottom: 1.3rem; display: flex; flex-direction: column; gap: 0.45rem; }
.c-consult-form__row label { font-weight: 700; font-size: 0.9rem; color: var(--c-main); }
.c-consult-form__req { color: #B2433A; font-size: 0.72rem; margin-left: 0.4rem; font-weight: 700; }
.c-consult-form input,
.c-consult-form select,
.c-consult-form textarea {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  font-size: 1rem;
  background: #fff;
  width: 100%;
  font-family: var(--f-body);
}
.c-consult-form input:focus,
.c-consult-form select:focus,
.c-consult-form textarea:focus {
  outline: 2px solid var(--c-accent);
  outline-offset: 1px;
}
.c-consult-form textarea { resize: vertical; }
.c-consult-form__submit { width: 100%; justify-content: center; margin-top: 0.5rem; }
.c-consult-form__note {
  margin-top: 1.4rem;
  font-size: 0.86rem;
  background: #FBF3DC;
  border: 1px solid #E8D6A0;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  color: #6b551c;
  line-height: 1.7;
}
.c-consult-form__note a { color: var(--c-main); font-weight: 700; text-decoration: underline; }

/* --------------------------------------------------------------------------
   汎用ユーティリティ
   -------------------------------------------------------------------------- */
.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; }
}
