/* =========================================================
   東北おすすめスポット アンケート結果サイト｜共通ベース
   デザインガイド1 準拠
   - 見出し: Noto Serif JP（明朝）／本文: Noto Sans JP（ゴシック）
   - カラー: 生成り/墨黒/霧灰/和紙ベージュ/海青/若草
   - トーン: 余白と物語、上品・やさしい・信頼感
   ========================================================= */

:root {
  /* 基本パレット */
  --c-kinari:   #F7F4EC; /* 生成り（背景） */
  --c-sumi:     #2F2F2F; /* 墨黒（文字） */
  --c-kiri:     #6F6F6F; /* 霧灰（補助文字） */
  --c-washi:    #D8D2C4; /* 和紙ベージュ（区切り・枠） */
  --c-umi:      #4A79B8; /* 海青（アクセント） */
  --c-wakaba:   #7DAA6D; /* 若草（アクセント） */
  --c-paper:    #FFFFFF;

  /* 県別アクセントカラー（デザインガイドの世界観に合わせて設定） */
  --c-aomori:    #C8463C; /* ねぶたの赤 */
  --c-iwate:     #4A79B8; /* 渓谷の青 */
  --c-akita:     #C07A3E; /* 湯けむり・竿燈の橙 */
  --c-yamagata:  #6E8FB0; /* 樹氷の青灰 */
  --c-miyagi:    #3E8E9E; /* 松島の碧 */
  --c-fukushima: #9C6B3F; /* 大内宿の茅葺茶 */

  --maxw: 1080px;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(47, 47, 47, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--c-sumi);
  background: var(--c-kinari);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  width: 92%;
  max-width: var(--maxw);
  margin-inline: auto;
}

/* セクション見出し */
.section-head {
  text-align: center;
  margin-bottom: 2.4rem;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--c-umi);
  margin-bottom: 0.6rem;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  margin: 0;
}
.section-head .lead {
  color: var(--c-kiri);
  margin-top: 0.8rem;
  font-size: 0.95rem;
}

/* 区切りの和柄ライン */
.rule {
  width: 56px; height: 2px;
  background: var(--c-washi);
  margin: 1rem auto 0;
  border: 0;
}

/* 上に戻るボタン（全ページ共通・main.jsで生成） */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  width: 54px; height: 54px;
  display: grid; place-items: center; gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(47, 47, 47, 0.92);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: #fff; cursor: pointer;
  box-shadow: 0 10px 26px rgba(47, 47, 47, 0.24);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.94);
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.8,.2,1),
              background .25s ease, box-shadow .25s ease, visibility .3s ease;
  z-index: 60;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover {
  background: var(--c-umi);
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 16px 32px rgba(74, 121, 184, 0.34);
  transform: translateY(-4px);
}
.to-top:active { transform: translateY(-1px) scale(0.97); }
.to-top:focus-visible { outline: 2px solid var(--c-umi); outline-offset: 3px; }
.to-top svg {
  width: 20px; height: 20px; display: block;
  margin-top: 2px;
}
.to-top svg path {
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.to-top__label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.52rem; letter-spacing: 0.16em;
  line-height: 1; opacity: 0.8;
  margin-top: -1px;
}

/* フッター */
.site-footer {
  margin-top: 5rem;
  padding: 2.6rem 0;
  background: #ECE7DA;
  border-top: 1px solid var(--c-washi);
  color: var(--c-kiri);
  font-size: 0.82rem;
}
.site-footer .container { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.site-footer strong { color: var(--c-sumi); }
.site-footer .brand-tone { font-family: "Noto Serif JP", serif; color: var(--c-sumi); }
