@charset "UTF-8";
/** @format */
:root {
  --bg: #f5f1e8;
  --card: #fff;
  --ink: #433333;
  --muted: #666;
  --line: #ddd;
  --brand: #0b65c2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  --menuDur: 260ms;
  --menuEase: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

/* hidden属性は必ず非表示 */
[hidden] {
  display: none !important;
}

/* =========================
   Anchor offset for sticky header
   NOTE: 将来は anchors.scss に分離予定
   ========================= */
/* Anchor offset for sticky header */
.anchor {
  scroll-margin-top: 80px;
}
@media (max-width: 768px) {
  .anchor {
    scroll-margin-top: 64px;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 800;
  background: #4a708b;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.siteHeader__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 14px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111;
  display: inline-block;
}
.brand__name {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
}
.brand__name img {
  display: block;
  height: 20px;
  width: auto;
}

/* 右側に寄せたい“どちらか片方”に auto を付ける */
.menuBtn {
  margin-left: auto;
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
}

.pcNav {
  display: none;
  margin-left: auto;
  gap: 14px;
  color: #fff;
}
.pcNav a {
  text-decoration: none;
  font-weight: 700;
}

.pcNav a:focus-visible,
.menuBtn:focus-visible {
  outline: 3px solid #ffcc00;
  outline-offset: 3px;
}

/* ===== SPスライドメニュー（シニア最適化） ===== */
.spMenu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(84vw, 360px);
  height: 100vh;
  z-index: 1100;
  background: #fff;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  /* 上は詰める／下は余白OK */
  padding: 0 14px 24px;
  overflow: auto;
  /* ★スライドは“本体”を動かす */
  transform: translateX(100%);
  transition: transform var(--menuDur) var(--menuEase);
  will-change: transform;
}

/* 1項目の押しやすさを最優先 */
.spMenu a {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 12px 14px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  background: #c6dcf2;
}

/* 押した感*/
.spMenu a:active {
  filter: brightness(0.95);
}

/* 迷子防止：フォーカスも見えるように */
.spMenu a:focus-visible {
  outline: 3px solid #ffcc00;
  outline-offset: -3px;
}

.spMenu a:first-child {
  margin-top: 8px;
}

/* 開いている状態 */
body.is-menu-open .spMenu {
  transform: translateX(0);
}

.menuBtn {
  position: relative;
  min-width: 88px;
  height: 40px;
  border-radius: 999px;
  font-weight: 800;
}

/* × 用の疑似要素（最初は非表示） */
.menuBtn::before,
.menuBtn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #111;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* × の形 */
.menuBtn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menuBtn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* メニューOPEN時 */
body.is-menu-open .menuBtn {
  color: transparent; /* 「メニュー」の文字を消す */
}

/* × を表示 */
body.is-menu-open .menuBtn::before,
body.is-menu-open .menuBtn::after {
  opacity: 1;
}

.menuOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--menuDur) var(--menuEase);
}

/* メニューOPEN時だけ表示 */
body.is-menu-open .menuOverlay {
  opacity: 1;
  pointer-events: auto;
}

/*  ここから本文レイアウト */
.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 14px 50px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.main {
  min-width: 0;
}

.side {
  display: block; /* ← SPでも出す */
  position: static; /* ← SPでは追従しない */
  top: auto;
  max-height: none;
  overflow: visible;
  z-index: auto;
  margin-top: 14px; /* ← mainの続きとして自然に */
}

.section {
  margin: 14px 0 18px;
}

.sectionTitle {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: #648fab;
  color: #fff;
  padding: 8px 12px 8px 18px;
  border-radius: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn--primary {
  background: #8b3a3a;
  color: #fff;
}
.btn--ghost {
  background: #fff;
  border-color: #222;
  color: #111;
}
.btn--sm {
  padding: 8px 12px;
  border-radius: 12px;
}
.btn--full {
  width: 100%;
}

/* ===== 最新情報 + 公式X：PCだけ横並び ===== */
.newsXWrap {
  display: block;
  margin: 0;
  padding: 0; /* ← これが本丸 */
}

.newsXWrap .newsList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.newsXWrap .newsItem {
  display: grid;
  grid-template-columns: 88px 1fr; /* 日付 / 本文 */
  gap: 12px;
  align-items: start;
  padding-bottom: 8px;
  border-bottom: #cecece 1px solid;
}

.newsItem__dateWrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start; /* 左揃え */
}

.newsItem__date {
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.newsItem__body {
  min-width: 0; /* 長文折り返し事故防止 */
}

.newsItem__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  word-break: break-word;
}

.newsItem__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.8rem;
  line-height: 1;
  background: #e60012;
  color: #fff;
}

/* NEWじゃない行はバッジ無しでもOK（HTMLからspanを消すだけでOK） */
.embedBox_X {
  background: #fafafa;
  border: 1px dashed #ccc;
  border-radius: 12px;
  text-align: center;
  color: #777;
  max-height: 520px; /* ← 好きな高さに */
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px; /* 見た目整えるなら */
}

/* ===== アクセスマップ ===== */
.embedBox_map {
  background: #fafafa;
  border: 1px dashed #ccc;
  border-radius: 12px;
  padding: 0; /* ← まず余白を消す（はみ出し要因） */
  text-align: center;
  color: #777;
  overflow: hidden;
}

.mapFrame {
  aspect-ratio: 16/9; /* 4/3でもOK */
  width: 100%;
}

.mapFrame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* =========================
   Access info
   ========================= */
#access .accessInfo {
  margin-bottom: 16px;
}
#access .accessInfo__name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}
#access .accessInfo__list {
  display: grid;
  gap: 6px;
}
#access .accessInfo__list dt {
  font-weight: 700;
  color: #555;
  font-size: 0.85rem;
}
#access .accessInfo__list dd {
  margin: 0;
  font-size: 0.95rem;
}
#access .accessInfo__list > div {
  display: grid;
  grid-template-columns: 4em 1fr;
  gap: 8px;
}

.media {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid #eee;
}

.siteFooter {
  width: 100%;
  padding: 14px 10px;
  color: #fff;
  background-color: #254156;
  font-size: 14px;
  border-top: 1px solid #ddd;
  text-align: center;
}

.siteFooter a {
  text-decoration: none;
}

.sideCard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
  margin-bottom: 12px;
}

.sideTitle {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
}

.today-row {
  margin-bottom: 10px;
}

.shortcut {
  display: grid;
  gap: 8px;
}
.shortcut a {
  text-decoration: none;
  padding: 10px 10px;
  border: 1px solid #eee;
  border-radius: 10px;
  font-weight: 700;
  background: #fff;
}

.todayMini {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}
.todayMini__row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  padding: 8px 6px;
  border-bottom: 1px solid #eee;
}
.todayMini__time {
  font-weight: 900;
}
.todayMini__title {
  font-weight: 700;
  color: #333;
}

.todayMini__titleLink {
  color: #8b3a3a;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
}
.todayMini__titleLink:hover {
  opacity: 0.85;
}

.priceMini {
  margin: 0;
  padding-left: 18px;
}

.spOnly {
  display: block;
}

/* ===== SP 下固定メニュー ===== */
.bottomNav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 700;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background-image: linear-gradient(0deg, rgb(46, 55, 96), rgb(0, 0, 0));
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.bottomNav__item {
  display: grid;
  place-items: center;
  min-height: 58px; /* タップ領域 */
  padding: 10px 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
}

/* 押した感 */
.bottomNav__item:active {
  filter: brightness(0.92);
}

/* 下固定ぶん、本文の下を確保（これが無いと最下部が隠れる） */
@media (max-width: 899px) {
  body {
    padding-bottom: 50px; /* bottomNavの高さ+少し余裕 */
  }
  .siteFooter {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
}
/*//////////////////////
// ここからPC版の設定 ////
//////////////////////*/
/* ===== 最新情報 + 公式X：基本は縦積み（1カラム） ===== */
.newsXWrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* ===== ある程度広い時だけ横並び（2カラム） ===== */
@media (min-width: 1100px) {
  .newsXWrap {
    grid-template-columns: 1fr minmax(340px, 420px);
    gap: 18px;
    align-items: stretch;
  }
  .newsXWrap .section {
    display: flex;
    flex-direction: column;
  }
  .newsXWrap .section .card {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
}
/* 900px〜 は newsXWrap は1カラムのまま（＝安全） */
@media (min-width: 900px) {
  .newsXWrap {
    display: grid;
    grid-template-columns: 1fr; /* ここは1列 */
    gap: 18px;
  }
}
/* 例えば 1200px〜 で2カラム解禁 */
@media (min-width: 1200px) {
  .newsXWrap {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  }
}
@media (min-width: 900px) {
  .layout {
    grid-template-columns: 1fr 340px;
  }
  .side {
    display: block;
    position: sticky;
    top: 12px;
    align-self: start;
    max-height: calc(100vh - 24px);
    overflow: auto;
  }
  .pcNav {
    display: flex;
  }
  .menuBtn {
    display: none;
  }
  .spOnly {
    display: none;
  }
  .brand__name img {
    height: 30px;
  }
  .bottomNav {
    display: none;
  }
}
/*//////////////////////
// ここまでPC版の設定 ////
//////////////////////*/
/* prefers-reduced-motion: reduce の人には動きを最小化 */
@media (prefers-reduced-motion: reduce) {
  /* サイト全体：アニメ/トランジションをほぼ無効化 */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* メニュー：スライド演出を切る（位置は固定） */
  .spMenu {
    transition: none !important;
    transform: none !important;
  }
  /* オーバーレイ：フェードを切る */
  .menuOverlay {
    transition: none !important;
  }
}/*# sourceMappingURL=common.css.map */