/**
 * css/style.css — サイト全体(公開ページ+管理画面)の共通スタイル
 *
 * geisaimap/(会場マップ)フォルダだけは別デザインなので、このファイルは読み込んでいない
 * (geisaimap/index.htmlの<style>内に、このファイルから必要な部分だけコピーしてある)。
 *
 * 大まかな構成は上から順に:
 *   ヘッダー・検索パネル → 固定ボタン → ヒーロー(トップの大きい画像) →
 *   テーマ文 → みどころ(4カテゴリの箱) → アクセス地図 → 協賛 → SNS →
 *   模擬店/ステージ/展示/コンサート一覧ページ(カード・絞り込みパネル) →
 *   管理画面(admin) → NEWS → フッター → 画面幅ごとの調整(一番下の@media)
 *
 * 色・角丸・幅などは:root の変数(--color-accent など)にまとめてあるので、
 * サイト全体の色味を変えたいときはまずここを見る。
 */
:root {
  --color-accent: #e8703a;
  --color-accent-dark: #c85a2a;
  --color-teal: #1D534C;
  --color-teal-deep: #102723;
  --color-teal-button: #14302b;
  --color-cream: #f7efe0;
  --color-cream-muted: rgba(247, 239, 224, 0.7);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-full: 999px;
  --wrap-width: 480px;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

.zen-antique-regular {
  font-family: "Zen Antique", serif;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Zen Antique", serif;
  color: var(--color-cream);
  background: var(--color-teal);
  line-height: 1.7;
  padding-top: 56px;
  padding-bottom: 76px;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.wrap {
  max-width: var(--wrap-width);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--color-cream);
  border-bottom: 1px solid rgba(232, 112, 58, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding-inline: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--color-accent);
}

.logo-mark {
  height: 32px;
  width: auto;
  display: block;
}

.header-icons {
  display: flex;
  gap: 8px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--color-accent);
  color: #fff;
  cursor: pointer;
  border-radius: var(--radius-full);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  background: var(--color-accent-dark);
}

.mobile-nav {
  display: none;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  max-width: var(--wrap-width);
  margin-inline: auto;
  padding: 8px 20px 16px;
  gap: 0 20px;
  background: var(--color-cream);
}

.mobile-nav.is-open {
  display: grid;
}

.nav-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  padding: 10px 4px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-accent-dark);
  border-bottom: 1px solid rgba(232, 112, 58, 0.15);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 4px;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-accent-dark);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(232, 112, 58, 0.15);
  cursor: pointer;
  text-align: left;
}

.nav-toggle-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  transform: rotate(180deg);
}

.nav-submenu {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
}

.nav-submenu[hidden] {
  display: none;
}

.nav-submenu a {
  padding: 8px 4px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-accent-dark);
  border-bottom: 1px solid rgba(232, 112, 58, 0.12);
}

/* Header search */
.search-panel {
  background: var(--color-cream);
  border-top: 1px solid rgba(232, 112, 58, 0.15);
  padding-block: 14px;
}

.search-panel[hidden] {
  display: none;
}

.search-panel .search-bar {
  margin-bottom: 0;
  background: #fff;
  box-shadow: 0 2px 6px rgba(16, 39, 35, 0.12);
}

.search-panel .search-bar input {
  text-align: left;
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 320px;
  overflow-y: auto;
}

.search-results:not(:empty) {
  margin-top: 10px;
}

.search-result {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: rgba(232, 112, 58, 0.08);
  color: var(--color-accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.search-empty {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--color-teal-deep);
  opacity: 0.6;
}

/* Fixed bottom action buttons */
.fixed-actions {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 55;
  display: flex;
  gap: 8px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1a1a18 url("../assets/img/hero-main-visual.jpg") center center / cover no-repeat;
  color: var(--color-cream);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 24px;
  text-align: center;
  transform: translateY(3vh);
}

.hero-eyebrow {
  color: #ED6815;
  text-shadow: 0 0 8px rgba(230, 115, 53, 0.61);
  font-family: "Noto Serif SC", serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 8px;
}

.hero-title {
  color: #ED6815;
  text-shadow: 0 0 8px rgba(230, 115, 53, 0.61);
  font-family: "Noto Serif SC", serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.15s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn:hover {
  opacity: 0.85;
}

.btn-pill {
  background: var(--color-cream);
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}

/* Info / dates */
.info-section {
  padding-block: 64px 32px;
  text-align: center;
}

.event-dates,
.event-venue {
  color: #FFF4D8;
  text-shadow: 0 0 8px rgba(230, 115, 53, 0.61);
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.event-dates {
  margin-bottom: 8px;
}

/* Theme / poem */
.theme-section {
  padding-block: 32px 80px;
  text-align: center;
}

.theme-label,
.theme-title,
.theme-poem {
  color: #FFF4D8;
  text-shadow: 0 0 8px rgba(230, 115, 53, 0.61);
  font-family: "Noto Serif SC", serif;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.theme-label {
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}

.theme-title {
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.theme-poem {
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding-block: 72px;
}

.section-title {
  color: #FFF4D8;
  text-shadow: 0 0 8px rgba(230, 115, 53, 0.61);
  font-family: "Noto Serif SC", serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  margin-bottom: 32px;
}

/* Map */
.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-embed {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* Content grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.content-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 180px;
  padding: 32px 20px 26px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.content-box-orange { background: #ef8a52; }
.content-box-yellow { background: #f2d34e; }
.content-box-green  { background: #8ecfa0; }
.content-box-cyan   { background: #8fe0e0; }
.content-box-purple { background: #b291d9; }

.content-box-title {
  color: #1D534C;
  text-shadow: -2px 2px 7.1px rgba(0, 0, 0, 0.40);
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.04em;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--color-teal-button);
  color: var(--color-cream);
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* Sponsors */
.sponsor-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-flow: row dense;
  align-items: start;
  gap: 10px;
}

.sponsor-box {
  width: 100%;
  border-radius: 0;
  background-color: rgba(247, 239, 224, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  overflow: hidden;
}

.sponsor-box-icon {
  flex: 1;
  min-height: 0;
  max-width: 100%;
  object-fit: contain;
}

/* 大・小は縦1:横2の長方形、中のみ正方形。
   中は縦2行分の高さを占め、小(1行分の高さ)を2つ縦に並べたぶんとちょうど同じ高さになる
   (小の高さ = 幅/2 = 中の高さ/2 なので、小2つ分 = 中1つ分)。
   これにより「大ひとつぶんのスペースに、中ひとつ＋小ふたつ(縦並び)」がセットで収まる。 */
.sponsor-large {
  grid-column: span 6;
  aspect-ratio: 2 / 1;
}

.sponsor-medium {
  grid-column: span 3;
  grid-row: span 2;
  aspect-ratio: 1 / 1;
}

.sponsor-small {
  grid-column: span 3;
  aspect-ratio: 2 / 1;
}

.sponsor-goods {
  margin-top: 36px;
}

.sponsor-goods[hidden] {
  display: none;
}

.sponsor-goods-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-cream-muted);
  text-align: center;
  margin-bottom: 12px;
}

.sponsor-goods-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

.sponsor-goods-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-cream);
}

/* SNS */
.sns-row {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.sns-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: rgba(247, 239, 224, 0.9);
  color: var(--color-accent);
  transition: opacity 0.15s ease;
}

.sns-box:hover {
  opacity: 0.85;
}

.sns-box svg {
  width: 26px;
  height: 26px;
}

/* Stall list page — 模擬店/ステージ/展示/コンサート/NEWS一覧など、各カテゴリページ共通の見出し・カード・絞り込みパネル */
.page-title {
  color: #FFF4D8;
  text-shadow: 0 0 8px rgba(230, 115, 53, 0.61);
  font-family: "Noto Serif SC", serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-align: center;
  margin-bottom: 28px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  background: var(--color-cream);
  color: var(--color-teal-deep);
  margin-bottom: 28px;
}

.search-bar svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.search-bar input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font: inherit;
  font-size: 0.9rem;
  color: var(--color-teal-deep);
  text-align: center;
}

.search-bar input::placeholder {
  color: rgba(16, 39, 35, 0.5);
}

.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.list-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-cream);
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(247, 239, 224, 0.4);
  background: transparent;
  color: var(--color-cream);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-panel {
  margin-bottom: 20px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(247, 239, 224, 0.06);
  border: 1px solid rgba(247, 239, 224, 0.15);
}

.filter-panel[hidden] {
  display: none;
}

.filter-group + .filter-group {
  margin-top: 16px;
}

.filter-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-cream-muted);
  margin-bottom: 8px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-option {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-accent);
  background: transparent;
  color: var(--color-cream);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-option.is-active {
  background: var(--color-accent);
  color: #fff;
}

.filter-clear {
  display: block;
  margin-top: 14px;
  background: none;
  border: none;
  color: var(--color-accent);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.filter-clear[hidden] {
  display: none;
}

.stall-card.is-filtered-out {
  display: none;
}

.stall-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stall-card {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 14px;
  color: var(--color-teal-deep);
}

.stall-name {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stall-photo {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: #fff;
  background-size: cover;
  background-position: center;
}

/* ステージ・展示のアイコンは950×483pxの比率(模擬店は引き続き正方形) */
[data-category="stage"] .stall-photo,
[data-category="exhibit"] .stall-photo,
#adminList[data-category="stage"] .stall-photo,
#adminList[data-category="exhibit"] .stall-photo {
  aspect-ratio: 950 / 483;
}

/* コンサート・本部企画にはアイコンが無いため非表示 */
[data-category="concert"] .stall-photo,
#adminList[data-category="concert"] .stall-photo,
[data-category="honbu"] .stall-photo,
#adminList[data-category="honbu"] .stall-photo {
  display: none;
}

.stall-desc {
  margin-top: 8px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--color-teal-deep);
  opacity: 0.75;
}

.stall-time {
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  text-align: center;
}

.stall-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.stall-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-teal-deep);
  opacity: 0.65;
}

/* スマホのような縦長・狭い画面では、カードを「アイコン+店名」と「説明」が
   横に並ぶ横長の1行レイアウトにする(それ以外の画面幅では従来どおり縦積み) */
@media (max-width: 559px) {
  .stall-grid {
    grid-template-columns: 1fr;
  }

  .stall-card {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .stall-card-media {
    flex-shrink: 0;
    width: 96px;
  }

  .stall-card-media .stall-name {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 0.72rem;
  }

  .stall-card-body {
    flex: 1;
    min-width: 0;
  }

  .stall-card-body .stall-desc {
    margin-top: 0;
  }
}

/* Admin / content editor — admin/index.html(コンテンツ編集画面)専用のタブ・フォーム・一覧のスタイル */

/* 「サイトを公開する」ボタン(admin/build.js)。他の操作と混同しないよう枠で囲って目立たせる */
.admin-publish {
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-md);
  background: rgba(232, 112, 58, 0.08);
}

.admin-publish .list-title {
  margin-bottom: 8px;
}

.admin-publish-desc {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--color-cream-muted);
  margin-bottom: 14px;
}

.admin-publish-status {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--color-cream-muted);
  white-space: pre-line;
}

.admin-publish-status.is-error {
  color: #e07a5f;
}

.admin-publish-status.is-done {
  color: var(--color-accent);
  font-weight: 700;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.admin-tab {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-accent);
  background: transparent;
  color: var(--color-cream);
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.admin-tab.is-active {
  background: var(--color-accent);
  color: #fff;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(247, 239, 224, 0.08);
  border: 1px solid rgba(247, 239, 224, 0.15);
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-cream);
}

.admin-field[hidden] {
  display: none;
}

.admin-field input[type="text"],
.admin-field input[type="time"],
.admin-field textarea,
.admin-field select {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: none;
  background: var(--color-cream);
  color: var(--color-teal-deep);
  resize: vertical;
}

.admin-field input[type="file"] {
  color: var(--color-cream);
  font-size: 0.8rem;
}

.admin-preview {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.admin-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-add {
  align-self: flex-start;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-add:hover {
  background: var(--color-accent-dark);
}

.btn-cancel-edit {
  align-self: flex-start;
  margin-top: -6px;
  background: none;
  border: none;
  color: var(--color-cream-muted);
  font: inherit;
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}

.btn-cancel-edit[hidden] {
  display: none;
}

.admin-list-item {
  position: relative;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.admin-edit,
.admin-delete {
  flex: 1;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-edit {
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
}

.admin-edit:hover {
  background: var(--color-accent);
  color: #fff;
}

.admin-delete {
  border: 1.5px solid #c0392b;
  color: #c0392b;
}

.admin-delete:hover {
  background: #c0392b;
  color: #fff;
}

.admin-empty {
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-cream-muted);
  border: 1px dashed rgba(247, 239, 224, 0.3);
  border-radius: var(--radius-md);
}

.news-item {
  grid-column: 1 / -1;
}

/* タイムテーブル(timetable.html) — 模擬店/ステージ/展示/コンサートの内容から自動で組み立てられる一覧 */
.day-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.day-tab {
  flex: 1;
  padding: 10px 8px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-accent);
  background: transparent;
  color: var(--color-cream);
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  text-align: center;
}

.day-tab.is-active {
  background: var(--color-accent);
  color: #fff;
}

.timetable-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timetable-row {
  display: flex;
  gap: 14px;
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 14px;
  color: var(--color-teal-deep);
}

.timetable-time-col {
  flex-shrink: 0;
  width: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
}

.timetable-start {
  font-size: 0.95rem;
}

.timetable-end {
  font-size: 0.7rem;
  opacity: 0.6;
}

.timetable-allday {
  font-size: 0.72rem;
  color: var(--color-accent-dark);
  line-height: 1.3;
}

.timetable-info {
  flex: 1;
  min-width: 0;
  border-left: 2px solid rgba(16, 39, 35, 0.12);
  padding-left: 14px;
}

.timetable-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.timetable-location {
  font-size: 0.75rem;
  opacity: 0.75;
}

.timetable-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  text-decoration: underline;
}

/* NEWS */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-list-item {
  display: block;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--color-cream);
  color: var(--color-teal-deep);
  font-weight: 700;
  font-size: 0.9rem;
}

.news-detail-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-cream);
  line-height: 1.5;
  margin-bottom: 20px;
}

.news-detail-body {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--color-cream);
  color: var(--color-teal-deep);
  font-size: 0.9rem;
  line-height: 1.85;
  white-space: pre-wrap;
}

.news-back-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--color-cream);
  font-size: 0.85rem;
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding: 32px 20px 48px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-cream-muted);
}

/* Larger screens */
@media (min-width: 560px) {
  :root {
    --wrap-width: 720px;
  }

  .theme-title {
    font-size: 3rem;
  }

  .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Desktop-size windows */
@media (min-width: 1024px) {
  .btn {
    padding: 16px 26px;
    font-size: 1.05rem;
    gap: 10px;
  }

  .btn svg {
    width: 22px;
    height: 22px;
  }

  .fixed-actions {
    bottom: 24px;
    gap: 16px;
  }

  .sns-row {
    gap: 22px;
  }

  .sns-box {
    width: 76px;
    height: 76px;
  }

  .sns-box svg {
    width: 34px;
    height: 34px;
  }
}
