/* PetMe — 公開ページのスタイル。
   Static Assets（public/）から配信する。リクエスト課金がかからない。

   トークンとレイアウトは docs/design/preview.html（デザインプロトタイプ）と
   docs/design/petme.png（トップの完成イメージ）を正とする。
   値を変えるときは docs/design.md も併せて更新すること。

   単一のライトテーマ。写真とコーラルの配色を前提にしているため
   prefers-color-scheme での反転は行わない。
   Web フォントを読み込まない（外部リクエストとレイアウトシフトを増やさないため）。 */

/* ============================================================ tokens */
:root {
  --ink: #252b2c;
  --muted: #697173;
  --line: #eae8e4;
  --paper: #fff;
  --canvas: #fbfaf8;
  --coral: #f47e5d;
  --coral-deep: #bd4c30;
  --coral-pale: #fcf1e9;
  --green: #477b64;
  --green-deep: #38624e;
  --green-pale: #edf4e9;
  --amber: #9a6a12;
  --amber-pale: #fdf3dd;
  --danger: #a3372a;
  --danger-pale: #fdeeea;
  --radius: 16px;
  --content: 1280px;
  --sans:
    "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP",
    system-ui, sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif;
}

/* ============================================================ reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
  padding: 0;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
ul,
ol {
  padding: 0;
  margin: 0;
}
[hidden] {
  /* biome-ignore lint/complexity/noImportantStyles: hidden 属性は必ず効かせる（JS の表示切り替えの土台） */
  display: none !important;
}

.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  vertical-align: middle;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -90px;
  padding: 12px 20px;
  background: #fff;
  border: 2px solid var(--green);
  z-index: 100;
}
.skip-link:focus {
  top: 8px;
}
.container {
  width: min(var(--content), calc(100% - 96px));
  margin-inline: auto;
}

/* ============================================================ header */
.site-header {
  height: 76px;
  background: rgba(255, 255, 255, 0.97);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(35, 30, 24, 0.05);
}
.header-inner {
  height: 100%;
  width: min(1328px, calc(100% - 80px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  flex: none;
  gap: 3px;
}
.brand img {
  height: 38px;
  width: auto;
  display: block;
}
.brand-tagline {
  font-size: 9px;
  letter-spacing: 0.03em;
  line-height: 1.3;
  color: var(--muted);
  margin-left: 3px;
}
.desktop-nav {
  display: flex;
  gap: 25px;
  align-items: center;
  height: 100%;
  margin-inline: auto;
}
.desktop-nav a {
  font-size: 13px;
  font-weight: 600;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 15px;
  height: 2px;
  left: 0;
  right: 0;
  background: var(--coral);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--coral-deep);
}
.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.region-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dbdcd8;
  border-radius: 30px;
  padding: 6px 12px;
  min-height: 38px;
  font-size: 12px;
  white-space: nowrap;
}
.region-trigger:hover {
  border-color: #b6c9b8;
  background: #fafdf8;
}
.region-trigger > .icon:first-child {
  width: 17px;
  height: 17px;
  color: #876854;
}
.region-trigger > .icon:last-child {
  width: 15px;
  height: 15px;
  margin-left: 10px;
}
.header-save {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  min-height: 44px;
}
.header-save > .icon {
  width: 20px;
  height: 20px;
  color: #7b5e4a;
}
.header-save:hover {
  color: var(--coral-deep);
}
.save-count {
  min-width: 17px;
  height: 17px;
  background: var(--coral-deep);
  color: #fff;
  border-radius: 99px;
  font:
    10px / 17px Arial,
    sans-serif;
  text-align: center;
  padding: 0 4px;
}
.round-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5f4f2;
  transition: background 0.18s;
}
.round-button:hover {
  background: #f8e6dc;
}
.round-button > .icon {
  width: 21px;
  height: 21px;
  color: #745b49;
}
.menu-toggle,
.mobile-menu {
  display: none;
}

/* ============================================================ hero */
.hero {
  height: 382px;
  position: relative;
  overflow: hidden;
  background: #faf8f5;
}
.hero-art {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      90deg,
      #faf8f5 0%,
      #faf8f5 20%,
      rgba(250, 248, 245, 0.96) 29%,
      rgba(250, 248, 245, 0.66) 39%,
      rgba(250, 248, 245, 0) 52%
    ),
    url("/assets/img/site-hero.jpg");
  background-size:
    100% 100%,
    auto 100%;
  background-position:
    center,
    right center;
  background-repeat: no-repeat;
}
.hero-inner {
  height: 100%;
  position: relative;
}
.hero-copy {
  padding-top: 34px;
  max-width: 580px;
}
.eyebrow {
  font-family: Arial, sans-serif;
  letter-spacing: 0.19em;
  font-size: 10px;
  color: #8a6a54;
  font-weight: 700;
  margin-bottom: 13px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 43px;
  line-height: 1.58;
  font-weight: 700;
  letter-spacing: 0.045em;
  color: #1e2527;
}
.hero-description {
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  margin-top: 13px;
}
.hero-handwriting {
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-style: italic;
  transform: rotate(-7deg);
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: 0.07em;
  color: #97765d;
  margin: 26px 0 0 8px;
  display: inline-block;
}
.hero-handwriting span {
  padding-left: 29px;
}

/* ============================================================ search panel */
.search-container {
  position: relative;
  z-index: 2;
  margin-top: -70px;
  pointer-events: none;
}
.search-panel {
  max-width: 760px;
  margin-inline: auto;
  background: #fff;
  padding: 16px 20px 14px;
  border-radius: 17px;
  box-shadow: 0 9px 34px rgba(85, 73, 58, 0.07);
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.search-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.search-tabs a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  min-height: 43px;
  font-weight: 700;
  font-size: 13px;
  background: #f7f6f4;
  color: #735c4d;
  transition: background 0.15s;
}
.search-tabs a:hover {
  background: #f1eeea;
}
.search-tabs .icon {
  width: 20px;
  height: 20px;
}
.search-tabs a[aria-current="page"] {
  background: linear-gradient(120deg, #ef8969, #f37d5e);
  color: #472b22;
}
.search-form {
  display: grid;
  grid-template-columns: 145px 1fr 110px;
  gap: 9px;
}
.select-wrap {
  position: relative;
  display: flex;
  min-width: 0;
}
.select-wrap > select {
  appearance: none;
  width: 100%;
  min-height: 44px;
  border: 1px solid #dcddda;
  border-radius: 7px;
  background: #fff;
  padding: 9px 30px 9px 12px;
  color: #484b4c;
  font-size: 13px;
  cursor: pointer;
}
.select-wrap > .icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  pointer-events: none;
  color: #6b7170;
}
.keyword-input {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid #dcddda;
  border-radius: 7px;
  padding: 0 12px;
  background: #fff;
}
.keyword-input:focus-within {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.keyword-input > .icon {
  width: 19px;
  height: 19px;
  color: #909794;
}
.keyword-input > input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 11px 0;
  font-size: 13px;
  background: transparent;
  color: var(--ink);
}
.keyword-input > input::placeholder {
  color: #838a86;
}
.primary-button {
  background: var(--coral-deep);
  border-radius: 8px;
  color: #fff;
  min-height: 44px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  padding: 10px 20px;
  transition:
    filter 0.18s,
    transform 0.18s;
}
.primary-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #fff;
}
.primary-button > .icon {
  width: 17px;
  height: 17px;
}
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d9d6d0;
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
}
.ghost-button:hover {
  border-color: #e2b09b;
  color: var(--coral-deep);
}
.ghost-button > .icon {
  width: 16px;
  height: 16px;
}
.keyword-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: 11px;
  white-space: nowrap;
}
.keyword-row > span {
  font-weight: 700;
}
.keyword-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.keyword-chips a {
  border: 1px solid #e7e6e2;
  border-radius: 20px;
  padding: 4px 10px;
  color: #555c5b;
  background: #fbfbfa;
  font-size: 11px;
  transition: background 0.2s;
}
.keyword-chips a:hover {
  background: #fff0e8;
  border-color: #ebb39c;
  color: var(--coral-deep);
}
.area-form {
  grid-template-columns: 1fr 1fr 110px;
}
.search-help {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  padding-top: 11px;
}
.search-help .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}

/* ============================================================ shared blocks */
.content-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 32px;
}
.panel {
  background: #fff;
  padding: 18px;
  border-radius: var(--radius);
  min-width: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 32px;
  margin-bottom: 15px;
}
.section-heading h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
}
.section-heading h2 > .icon {
  color: var(--coral);
  width: 24px;
  height: 24px;
}
.heading-group {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.heading-group > p {
  font-size: 12px;
  color: #606868;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  min-height: 32px;
  font-weight: 500;
  white-space: nowrap;
  color: #454b4b;
}
.text-link > .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.18s;
}
.text-link:hover {
  color: var(--coral-deep);
}
.text-link:hover > .icon {
  transform: translateX(3px);
}
.section-heading .text-link {
  flex: none;
}
.empty-note {
  border: 1px dashed #ded9d1;
  border-radius: 12px;
  padding: 22px 20px;
  background: #fdfcfa;
  color: var(--muted);
  font-size: 13px;
}
.empty-note strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 6px;
}
.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

/* ---------- 注目の特集 ---------- */
.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.98fr) minmax(300px, 1fr);
  gap: 20px;
}
.feature-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 14px;
  height: 347px;
}
.feature-main {
  position: relative;
  overflow: hidden;
  border-radius: 11px;
  background: #789657;
  color: #fff;
  isolation: isolate;
}
.feature-main > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  transition: transform 0.4s;
}
.feature-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 24%,
    rgba(17, 34, 16, 0.06) 40%,
    rgba(17, 34, 16, 0.73) 100%
  );
  z-index: 0;
}
.feature-main:hover > img {
  transform: scale(1.04);
}
.feature-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  background: #e77852;
  padding: 4px 13px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  color: #fff;
}
.feature-main-copy {
  position: absolute;
  left: 20px;
  right: 18px;
  bottom: 22px;
  z-index: 1;
}
.mini-eyebrow {
  font:
    9px / 1.5 Arial,
    sans-serif;
  letter-spacing: 0.15em;
  display: block;
  opacity: 0.9;
  margin-bottom: 9px;
}
.feature-main h3 {
  font-size: 23px;
  line-height: 1.6;
  letter-spacing: 0.035em;
  margin-bottom: 7px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.13);
}
.feature-main p {
  font-size: 12px;
  letter-spacing: 0.04em;
}
.feature-arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.53);
  border-radius: 50%;
  position: absolute;
  right: 0;
  bottom: -2px;
  background: rgba(0, 0, 0, 0.07);
}
.feature-arrow .icon {
  width: 17px;
  height: 17px;
}
.feature-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 13px;
  min-height: 0;
}
.feature-small {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}
.feature-small-image {
  flex: 1;
  min-height: 0;
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  background: #eee8df;
}
.feature-small-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.feature-small:hover img {
  transform: scale(1.04);
}
.image-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 246, 238, 0.94);
  color: #574d43;
  font-size: 10px;
  font-weight: 600;
  border-radius: 5px;
  padding: 2px 10px;
}
.feature-small h3 {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.feature-small:hover h3 {
  color: var(--coral-deep);
}

/* 特集ページの見出し。トップの .feature-grid と違い高さを内容に合わせる */
.feature-hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 14px;
  align-items: stretch;
}
.feature-hero .feature-main {
  min-height: 280px;
}
.feature-hero h1 {
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: 0.035em;
  margin-bottom: 7px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.13);
}
.feature-hero-lead {
  font-size: 14px;
  line-height: 1.95;
  color: #4f5654;
  align-self: center;
}

/* ---------- ランキング／注目のコラム ---------- */
.ranking-panel {
  padding-inline: 20px;
}
.ranking-panel .section-heading {
  gap: 8px;
  margin-bottom: 10px;
}
.ranking-panel .section-heading h2 {
  font-size: 17px;
  letter-spacing: 0;
  gap: 7px;
}
.ranking-panel .section-heading h2 > .icon {
  color: #d89935;
}
.ranking-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}
.pill-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.pill-tabs a {
  padding: 5px 14px;
  background: #f4f3f1;
  border-radius: 99px;
  font-size: 12px;
  line-height: 1.5;
  min-height: 30px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pill-tabs a:hover {
  background: #efe9e3;
}
.pill-tabs a[aria-current="page"] {
  background: var(--coral-deep);
  color: #fff;
  font-weight: 700;
}
.rank-list {
  list-style: none;
}
.rank-item {
  border-bottom: 1px solid #f0efec;
}
.rank-item:last-child {
  border-bottom: none;
}
.rank-item > a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 57px;
  padding: 7px 0;
}
.rank-number {
  font:
    italic 700 24px / 1 Georgia,
    serif;
  width: 25px;
  flex: none;
  text-align: center;
  color: #858887;
}
.rank-item:nth-child(1) .rank-number {
  color: #ce9230;
}
.rank-item:nth-child(2) .rank-number {
  color: #8b979b;
}
.rank-item:nth-child(3) .rank-number {
  color: #bd805a;
}
.rank-thumb {
  width: 74px;
  aspect-ratio: 1.6;
  border-radius: 5px;
  overflow: hidden;
  flex: none;
  background: #eeeae5;
}
.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rank-body {
  min-width: 0;
}
.rank-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.rank-item a:hover .rank-title {
  color: var(--coral-deep);
}
.rank-category {
  font-size: 10px;
  color: var(--muted);
}
.ranking-footnote {
  font-size: 10px;
  color: #74736d;
  padding-top: 10px;
  line-height: 1.7;
}
.ranking-footnote a {
  text-decoration: underline;
}
.mobile-rank-more {
  display: none;
}

/* ---------- 悩みから探す ---------- */
.concerns-section {
  padding: 17px 18px 15px;
  border-radius: var(--radius);
  background: var(--coral-pale);
}
.concerns-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.concern-card {
  background: #fffdfc;
  border: 1px solid #fff;
  border-radius: 12px;
  min-height: 137px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 14px 6px;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}
.concern-card:hover {
  transform: translateY(-4px);
  border-color: #f0c5b3;
  box-shadow: 0 6px 16px rgba(155, 120, 105, 0.08);
}
.concern-card > .icon {
  width: 41px;
  height: 41px;
  color: #ec7b58;
  stroke-width: 1.6;
  margin-bottom: 12px;
  filter: drop-shadow(0 3px 0 rgba(255, 213, 190, 0.53));
}
.concern-card.is-green > .icon {
  color: #5e8b62;
  fill: #c1d8b5;
  filter: drop-shadow(0 3px 0 #d5e6cf);
}
.concern-card > strong {
  font-size: 13px;
  font-weight: 600;
}
.concern-card > span {
  font-size: 11px;
  color: #696d6d;
  margin-top: 2px;
}

/* ---------- 地域情報 ---------- */
.local-section {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius);
  background: linear-gradient(112deg, #ecf4ed, #eaf3e4);
  padding: 17px 18px 11px;
  overflow: hidden;
}
.local-section .section-heading h2 > .icon {
  color: var(--green);
}
.local-section > .section-heading,
.local-grid,
.local-note {
  position: relative;
  z-index: 1;
}
.cityscape {
  position: absolute;
  color: #a7bea1;
  opacity: 0.38;
  width: 310px;
  right: -10px;
  bottom: -3px;
  z-index: 0;
}
.local-guide-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d9e9d9;
  background: #fff;
  color: var(--green-deep);
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 12px;
  white-space: nowrap;
  font-weight: 600;
  min-height: 38px;
}
.local-guide-link > .icon {
  width: 15px;
  height: 15px;
}
.local-guide-link:hover {
  background: #f9fff9;
  color: var(--green-deep);
}
.local-grid {
  display: grid;
  grid-template-columns: 1.12fr repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.local-current,
.local-card {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid #fff;
  border-radius: 11px;
  min-height: 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  text-align: center;
}
.local-current > strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 21px;
  letter-spacing: 0.015em;
}
.local-current > strong > .icon {
  width: 25px;
  height: 25px;
  color: #589471;
}
.local-current > a {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #95b4a3;
  border-radius: 20px;
  color: #466c5b;
  padding: 3px 11px;
  font-size: 11px;
  margin-top: 9px;
  min-height: 30px;
}
.local-current > a > .icon {
  width: 14px;
  height: 14px;
}
.local-card {
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.local-card:hover {
  transform: translateY(-3px);
  border-color: #a9cdb8;
}
.local-card > .icon {
  width: 33px;
  height: 33px;
  color: #de7656;
  margin-bottom: 9px;
  stroke-width: 1.6;
}
.local-card:nth-child(2) > .icon,
.local-card:nth-child(6) > .icon {
  color: #4e9294;
}
.local-card:nth-child(3) > .icon {
  color: #4584a1;
}
.local-card > strong {
  font-size: 12px;
  font-weight: 600;
}
.local-card > span {
  font-size: 10px;
  color: #686f70;
  margin-top: 3px;
}
.local-note {
  font-size: 10px;
  color: #586e60;
  padding-top: 8px;
}

/* ---------- コラムのカード ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}
.article-grid.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
}
.article-card {
  min-width: 0;
  list-style: none;
  /* 見出しのリンクをカード全体へ広げる（下の h3 a::after）ための基準 */
  position: relative;
}
.article-image {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1.55;
  background: #eeeae5;
  display: block;
}
.article-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.article-card:hover .article-image > img {
  transform: scale(1.05);
}
.category-label {
  position: absolute;
  left: 7px;
  bottom: 7px;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #25434d;
  background: #d9eaf5;
}
.category-label[data-category="care"] {
  background: #d9eee8;
  color: #2c5350;
}
.category-label[data-category="outing"] {
  background: #e6edc9;
  color: #3c542c;
}
.category-label[data-category="welcome"] {
  background: #ffe4d2;
  color: #884f36;
}
.category-label[data-category="senior"] {
  background: #e9def2;
  color: #6d4675;
}
.category-label[data-category="food"] {
  background: #ffdfb3;
  color: #684323;
}
.category-label[data-category="training"] {
  background: #fde3e0;
  color: #83403a;
}
.category-label[data-category="goods"] {
  background: #e4e6f3;
  color: #40456d;
}
.category-label[data-category="breeds"] {
  background: #f3e7d4;
  color: #6a5330;
}
.category-label[data-category="money"] {
  background: #dfeee0;
  color: #34573a;
}
.category-label[data-category="region"] {
  background: #dcecdf;
  color: #2f5844;
}
.article-card h3 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
  margin-top: 9px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 45px;
}
.article-card h3 a:hover {
  color: var(--coral-deep);
}
/* 写真を押しても記事へ飛べるようにする。
   空のリンクを増やさずに当たり判定だけを広げる（見出しのリンク1つで済ませる） */
.article-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.article-card > p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3px;
  min-height: 31px;
  /* カード全体へ広げたリンク（h3 a::after）より上に出す。
     日付を選択でき、保存ボタンを押せるようにするため */
  position: relative;
  z-index: 2;
}
.article-meta time {
  font-family: Arial, sans-serif;
  font-size: 11px;
  color: #7c827f;
}
.save-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #788280;
  transition:
    background 0.2s,
    color 0.2s;
}
.save-button > .icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.5;
}
.save-button:hover {
  background: #fff0e8;
  color: var(--coral-deep);
}
.save-button[aria-pressed="true"] {
  color: var(--coral-deep);
}
.save-button[aria-pressed="true"] > .icon {
  fill: #ffdfd2;
}

/* ---------- テーマから読む ---------- */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.theme-card {
  position: relative;
  background: #f9e9dd;
  border-radius: 11px;
  overflow: hidden;
  min-height: 130px;
  text-align: left;
  isolation: isolate;
  padding: 20px 22px;
  display: block;
}
.theme-card:nth-child(2) {
  background: #f5ddc8;
}
.theme-card:nth-child(3) {
  background: #f0e9e4;
}
.theme-card > div {
  position: relative;
  z-index: 2;
}
.theme-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: 0.01em;
}
.theme-card p {
  font-size: 11px;
  margin-bottom: 12px;
}
.theme-card span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #765b48;
}
.theme-card span > .icon {
  width: 13px;
  height: 13px;
}
.theme-card > img {
  width: 48%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  transition: transform 0.3s;
}
.theme-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f9e9dd 38%,
    rgba(249, 233, 221, 0.67) 60%,
    rgba(249, 233, 221, 0) 83%
  );
  z-index: 0;
}
.theme-card:nth-child(2)::after {
  background: linear-gradient(
    90deg,
    #f5ddc8 36%,
    rgba(245, 221, 200, 0.67) 58%,
    rgba(245, 221, 200, 0) 80%
  );
}
.theme-card:nth-child(3)::after {
  background: linear-gradient(
    90deg,
    #f0e9e4 36%,
    rgba(240, 233, 228, 0.67) 58%,
    rgba(240, 233, 228, 0) 80%
  );
}
.theme-card:hover > img {
  transform: scale(1.06);
}

/* ---------- trust strip ---------- */
.trust-strip {
  padding: 8px 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.trust-strip > div {
  display: flex;
  gap: 13px;
  align-items: center;
}
.trust-strip > div > .icon {
  color: #789881;
  width: 29px;
  height: 29px;
}
.trust-strip strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
  letter-spacing: 0.04em;
}
.trust-strip p > span {
  display: block;
  font-size: 11px;
  margin-top: 3px;
  color: #727975;
}
.trust-strip .text-link {
  font-size: 11px;
}

/* ============================================================ footer */
.site-footer {
  background: #fff;
  border-top: 1px solid #efece7;
  padding: 25px 0 19px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.footer-brand img {
  height: 32px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
}
.footer-links a {
  font-size: 11px;
  color: #626b6b;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.footer-links a:hover {
  color: var(--coral-deep);
}
.back-top {
  width: 44px;
  height: 44px;
  background: #6c6258;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.back-top > .icon {
  width: 20px;
  height: 20px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  font-size: 10px;
  color: #7b807d;
  line-height: 1.8;
}
.footer-bottom > p:first-child {
  max-width: 60ch;
}
.bottom-nav {
  display: none;
}

/* ============================================================ page shell */
.page-head {
  padding-top: 26px;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  padding: 14px 0 0;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.breadcrumb a:hover {
  color: var(--coral-deep);
}
.page-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0 20px;
}
.page-title .eyebrow {
  margin-bottom: 0;
}
.page-title h1 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.page-title > p {
  font-size: 14px;
  color: #55605d;
  line-height: 1.9;
  max-width: 72ch;
}
.page-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-pale);
  padding: 26px 28px;
  isolation: isolate;
}
.page-banner.is-coral {
  background: var(--coral-pale);
}
.page-banner .cityscape {
  width: 260px;
}

/* ---------- 絞り込み ---------- */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border-radius: var(--radius);
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-row > .filter-label {
  font-size: 11px;
  font-weight: 700;
  color: #7a7168;
  letter-spacing: 0.06em;
  flex: none;
  min-width: 4.5em;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}
.chips a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 12px;
  background: #fbfbfa;
  color: #555c5b;
}
.chips a:hover {
  background: #fff0e8;
  border-color: #ebb39c;
  color: var(--coral-deep);
}
.chips a[aria-current="page"] {
  background: var(--coral-deep);
  border-color: var(--coral-deep);
  color: #fff;
  font-weight: 700;
}
.chips.is-green a[aria-current="page"] {
  background: var(--green);
  border-color: var(--green);
}
.chips.is-green a:hover {
  background: #f1f7ee;
  border-color: #a9cdb8;
  color: var(--green-deep);
}
.result-count {
  font-size: 12px;
  color: var(--muted);
}
.result-count strong {
  color: var(--ink);
  font-size: 15px;
}

/* ---------- ページ送り（一覧のカーソル） ---------- */
.pager {
  display: flex;
  justify-content: center;
  padding-top: 22px;
}
.pager a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 24px;
  border: 1px solid #ddd8d1;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
}
.pager a:hover {
  border-color: #e2b09b;
  color: var(--coral-deep);
}
.pager .icon {
  width: 15px;
  height: 15px;
}

/* ============================================================ 記事詳細 */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  padding-bottom: 32px;
}
.article {
  background: #fff;
  border-radius: var(--radius);
  padding: 0 0 28px;
  overflow: hidden;
  min-width: 0;
}
.article-hero {
  aspect-ratio: 1.9;
  background: #eeeae5;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-body {
  padding: 24px 34px 0;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-bottom: 12px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  padding: 3px 10px;
  background: #d9eaf5;
  color: #25434d;
}
.tag.is-region {
  background: var(--green-pale);
  color: var(--green-deep);
}
.tag.is-species {
  background: #f4f2ee;
  color: #6a625a;
}
.article h1 {
  font-size: 28px;
  line-height: 1.65;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.article-meta-row .icon {
  width: 14px;
  height: 14px;
  margin-right: 4px;
}
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  padding: 4px 11px;
}
.review-badge .icon {
  width: 15px;
  height: 15px;
  margin: 0;
}
/* 監修済みと監修前を同じ見た目にしない（docs/medical-safety.md 原則4・5） */
.review-badge.is-reviewed {
  background: var(--green-pale);
  color: var(--green-deep);
  border: 1px solid #bcd8c4;
}
.review-badge.is-pending {
  background: var(--amber-pale);
  color: var(--amber);
  border: 1px solid #e8d3a0;
}
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--danger-pale);
  border: 1px solid #f0cabf;
  border-left: 4px solid var(--danger);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 20px 0;
  font-size: 13px;
  line-height: 1.85;
  color: #6d2c22;
}
.notice .icon {
  width: 20px;
  height: 20px;
  color: var(--danger);
  margin-top: 2px;
}
.review-note {
  background: var(--amber-pale);
  border-radius: 8px;
  padding: 12px 15px;
  margin: 16px 0;
  font-size: 12px;
  color: #6e5417;
  line-height: 1.85;
}
.summary-box {
  background: #faf8f4;
  border: 1px solid #efe9e0;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 22px 0;
}
.summary-box h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.summary-box h2 .icon {
  width: 17px;
  height: 17px;
  color: var(--coral);
}
.summary-box p {
  font-size: 14px;
  line-height: 1.95;
}
.toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 22px 0 28px;
}
.toc > h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.toc > h2 .icon {
  width: 17px;
  height: 17px;
  color: var(--coral);
}
.toc ol {
  list-style: none;
  counter-reset: toc;
  display: grid;
  gap: 2px;
}
.toc li {
  counter-increment: toc;
}
.toc a {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 1.8;
  padding: 5px 0;
  color: #454b4b;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font:
    700 11px / 1.9 Arial,
    sans-serif;
  color: var(--coral);
  flex: none;
}
.toc a:hover {
  color: var(--coral-deep);
}

/* ---------- 本文 ---------- */
.prose {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.012em;
}
.prose > * + * {
  margin-top: 1.5em;
}
.prose h2 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin-top: 2.4em;
  padding: 0 0 10px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  scroll-margin-top: 96px;
}
.prose h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  margin-top: 2em;
  scroll-margin-top: 96px;
}
.prose p {
  margin-top: 1.4em;
}
.prose a {
  color: var(--coral-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.prose strong {
  font-weight: 700;
}
.prose ul,
.prose ol {
  padding-left: 1.5em;
}
.prose li {
  margin-top: 0.5em;
}
.prose blockquote {
  margin-inline: 0;
  padding: 14px 20px;
  background: #f8f6f2;
  border-left: 3px solid #ddd5c9;
  border-radius: 0 8px 8px 0;
  color: #4f5654;
  font-size: 15px;
}
.prose figure {
  margin: 2em 0;
}
.prose figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
.prose figcaption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.8;
}
.table-scroll {
  overflow-x: auto;
  margin: 2em 0;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  min-width: 34rem;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}
.prose th {
  background: #f8f6f2;
  font-weight: 700;
  white-space: nowrap;
}

.disclaimer {
  margin-top: 32px;
  padding: 14px 16px;
  background: #f7f6f3;
  border-radius: 8px;
  font-size: 12px;
  color: #5f665f;
  line-height: 1.9;
}

/* ---------- 読み終えた後の導線 ---------- */
.next-actions {
  margin-top: 28px;
}
.next-actions > h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.next-actions > h2 .icon {
  width: 18px;
  height: 18px;
  color: var(--coral);
}
.next-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  list-style: none;
}
.next-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
  min-height: 60px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.next-list a:hover {
  border-color: #e2b09b;
  transform: translateY(-2px);
}
.next-list .icon {
  width: 22px;
  height: 22px;
  color: var(--coral);
  flex: none;
}
.next-list.is-green .icon {
  color: var(--green);
}
.next-list.is-green a:hover {
  border-color: #a9cdb8;
}
.next-list strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.next-list span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

/* ---------- 記事のサイドバー ---------- */
.article-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 94px;
}
.aside-panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 18px;
}
.aside-panel > h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.aside-panel > h2 .icon {
  width: 17px;
  height: 17px;
  color: var(--coral);
}
.aside-list {
  list-style: none;
  display: grid;
  gap: 2px;
}
.aside-list a {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f3f1ed;
}
.aside-list li:last-child a {
  border-bottom: 0;
}
.aside-list img {
  width: 68px;
  aspect-ratio: 1.5;
  object-fit: cover;
  border-radius: 5px;
  flex: none;
  background: #eeeae5;
}
.aside-list strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.aside-list a:hover strong {
  color: var(--coral-deep);
}
.save-inline {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid #dfdfd8;
  border-radius: 8px;
  padding: 10px 16px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
}
.save-inline > .icon {
  width: 18px;
  height: 18px;
}
.save-inline[aria-pressed="true"] {
  color: var(--coral-deep);
  background: #fff3ed;
  border-color: #e9ad92;
}
.save-inline[aria-pressed="true"] > .icon {
  fill: #ffdfd2;
}

/* ============================================================ 地域ページ */
.area-purpose-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.area-groups {
  display: grid;
  gap: 18px;
}
.area-group h2 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.area-group h2::before {
  content: "";
  width: 4px;
  height: 15px;
  background: var(--green);
  border-radius: 2px;
}
.area-count {
  font-size: 10px;
  color: var(--muted);
  margin-left: 3px;
}

/* ============================================================ 保存・静的ページ */
.static-page {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 36px 34px;
  max-width: 76ch;
}
.static-page h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  margin-top: 2em;
  padding-left: 12px;
  border-left: 4px solid var(--coral);
}
.static-page h2:first-child {
  margin-top: 0;
}
.static-page p,
.static-page li {
  font-size: 15px;
  line-height: 1.95;
}
.static-page p {
  margin-top: 1.2em;
}
.static-page ul,
.static-page ol {
  padding-left: 1.5em;
  margin-top: 1.2em;
}
.static-page li {
  margin-top: 0.4em;
}
.static-page a {
  color: var(--coral-deep);
  text-decoration: underline;
}
.local-storage-note {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: var(--green-pale);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 12px;
  color: #3f5b4c;
  line-height: 1.85;
}
.local-storage-note .icon {
  width: 18px;
  height: 18px;
  color: var(--green);
  margin-top: 2px;
  flex: none;
}
.js-required {
  padding: 18px 20px;
  background: var(--amber-pale);
  border-radius: 10px;
  font-size: 13px;
  color: #6e5417;
  line-height: 1.9;
}

/* ============================================================ responsive */
@media (min-width: 1550px) {
  .hero-art {
    background-size:
      100% 100%,
      auto 112%;
    background-position:
      center,
      right 12% center;
  }
}

@media (max-width: 1240px) {
  .container {
    width: calc(100% - 64px);
  }
  .header-inner {
    width: calc(100% - 48px);
    gap: 20px;
  }
  .desktop-nav {
    gap: 17px;
  }
  .desktop-nav a {
    font-size: 12px;
  }
  .header-actions {
    gap: 15px;
  }
  .header-save > span:not(.save-count) {
    display: none;
  }
  .region-trigger {
    padding: 6px 9px;
  }
  .region-trigger > .icon:last-child {
    margin-left: 0;
  }
  .brand img {
    height: 34px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .heading-group {
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .feature-grid {
    height: 335px;
    gap: 12px;
  }
  .feature-main h3 {
    font-size: 20px;
  }
  .feature-main-copy {
    left: 15px;
    right: 15px;
  }
  .feature-arrow {
    display: none;
  }
  .feature-small h3 {
    font-size: 12px;
  }
  .rank-item > a {
    gap: 8px;
  }
  .rank-thumb {
    width: 65px;
  }
  .ranking-panel {
    padding-inline: 15px;
  }
  .ranking-panel .section-heading h2 {
    font-size: 15px;
  }
  .ranking-panel .section-heading h2 > .icon {
    width: 20px;
    height: 20px;
  }
  .concern-card > strong {
    font-size: 12px;
  }
  .local-current > strong {
    font-size: 17px;
  }
  .local-card > span {
    font-size: 9px;
  }
  .theme-card {
    padding: 18px 15px;
  }
  .theme-card h3 {
    font-size: 15px;
  }
  .footer-top {
    gap: 18px;
  }
  .footer-links {
    gap: 5px 14px;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 20px;
  }
  .article-body {
    padding-inline: 26px;
  }
}

@media (max-width: 1020px) {
  .desktop-nav {
    gap: 15px;
  }
  .desktop-nav a {
    font-size: 11px;
  }
  .header-actions {
    gap: 9px;
  }
  .brand img {
    height: 30px;
  }
  .brand-tagline {
    font-size: 8px;
  }
  .spotlight-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: 15px;
  }
  .hero-art {
    background-position:
      center,
      right -100px center;
  }
  .heading-group {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .section-heading {
    margin-bottom: 12px;
  }
  .feature-grid {
    grid-template-columns: 1.25fr 1fr;
  }
  .feature-main h3 {
    font-size: 18px;
  }
  .article-grid,
  .article-grid.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .article-image {
    aspect-ratio: 1.8;
  }
  .local-grid,
  .area-purpose-grid {
    gap: 6px;
  }
  .local-current > strong {
    gap: 3px;
    font-size: 15px;
  }
  .local-card > strong {
    font-size: 11px;
  }
  .concerns-grid {
    gap: 7px;
  }
  .concern-card > strong {
    font-size: 11px;
  }
  .concern-card > span {
    font-size: 9px;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-aside {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 68px;
  }
  .header-inner {
    width: calc(100% - 36px);
  }
  .desktop-nav {
    display: none;
  }
  .header-actions {
    gap: 13px;
  }
  .header-search,
  .menu-toggle {
    display: grid;
  }
  .header-save {
    display: none;
  }
  .mobile-menu:not([hidden]) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    padding: 14px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.06);
  }
  .mobile-menu a {
    padding: 12px 15px;
    border-radius: 7px;
    font-size: 13px;
    background: #fbf8f4;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .hero {
    height: 350px;
  }
  .hero-copy {
    padding-top: 38px;
  }
  .hero h1 {
    font-size: 33px;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-art {
    background-position:
      center,
      right -160px center;
    background-image:
      linear-gradient(
        90deg,
        #faf8f5 0%,
        #faf8f5 16%,
        rgba(250, 248, 245, 0.94) 28%,
        rgba(250, 248, 245, 0.4) 47%,
        rgba(250, 248, 245, 0) 65%
      ),
      url("/assets/img/site-hero.jpg");
  }
  .hero-handwriting {
    font-size: 15px;
  }
  .search-container {
    margin-top: -38px;
  }
  .search-panel {
    max-width: 100%;
  }
  .search-form {
    grid-template-columns: 132px 1fr 84px;
  }
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
  .feature-hero {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    height: 355px;
    grid-template-columns: 1.45fr 1fr;
  }
  .feature-main h3 {
    font-size: 23px;
  }
  .feature-main-copy {
    left: 22px;
  }
  .feature-small h3 {
    font-size: 14px;
  }
  .ranking-panel {
    padding: 18px;
  }
  .ranking-panel .section-heading h2 {
    font-size: 18px;
  }
  .rank-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
  }
  .rank-item > a {
    min-height: 65px;
  }
  .rank-title {
    font-size: 12px;
  }
  .concerns-grid,
  .local-grid,
  .area-purpose-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }
  .concern-card {
    min-height: 120px;
  }
  .local-current {
    grid-column: 1 / -1;
    min-height: 60px;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 17px;
  }
  .local-current > strong {
    gap: 7px;
    font-size: 21px;
  }
  .local-current > a {
    margin: 0;
  }
  .local-card {
    min-height: 109px;
  }
  .theme-grid {
    gap: 10px;
  }
  .theme-card {
    min-height: 144px;
    padding: 17px 12px;
  }
  .theme-card h3 {
    font-size: 13px;
  }
  .theme-card > img {
    width: 65%;
    opacity: 0.8;
  }
  .theme-card::after {
    background: linear-gradient(
      100deg,
      #f9e9dd 20%,
      rgba(249, 233, 221, 0.73) 60%,
      rgba(249, 233, 221, 0) 100%
    );
  }
  .trust-strip {
    align-items: flex-start;
    padding-inline: 5px;
  }
  .trust-strip > div {
    align-items: flex-start;
  }
  .footer-top {
    flex-wrap: wrap;
    align-items: center;
  }
  .back-top {
    margin-left: auto;
  }
  .footer-links {
    order: 2;
    justify-content: flex-start;
    width: 100%;
    margin-top: 8px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 10px;
  }
  .page-title h1 {
    font-size: 25px;
  }
  .article-body {
    padding-inline: 22px;
  }
  .article h1 {
    font-size: 24px;
  }
  .static-page {
    padding: 24px 22px 28px;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 84px;
  }
  body {
    font-size: 15px;
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }
  .container {
    width: calc(100% - 32px);
  }
  .site-header {
    height: 65px;
  }
  .header-inner {
    width: calc(100% - 28px);
    gap: 10px;
  }
  .brand img {
    height: 28px;
  }
  .brand-tagline {
    display: none;
  }
  .header-actions {
    gap: 7px;
  }
  .region-trigger {
    border: 0;
    padding: 5px 3px;
    min-height: 44px;
    font-size: 11px;
    gap: 3px;
  }
  .region-trigger > .icon:first-child {
    width: 16px;
    height: 16px;
  }
  .region-trigger > .icon:last-child {
    display: none;
  }
  .round-button {
    width: 38px;
    height: 38px;
  }
  .hero {
    height: 392px;
  }
  .hero-art {
    top: 145px;
    bottom: 0;
    background-image:
      linear-gradient(180deg, #faf8f5 0%, rgba(250, 248, 245, 0) 25%),
      url("/assets/img/site-hero.jpg");
    background-size:
      100% 100%,
      auto 100%;
    background-position:
      center,
      57% center;
  }
  .hero-copy {
    padding-top: 21px;
    max-width: none;
    position: relative;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.17em;
    margin-bottom: 8px;
    color: #967058;
  }
  .hero h1 {
    font-size: 29px;
    line-height: 1.5;
    letter-spacing: 0.035em;
  }
  .hero-description {
    font-size: 11px;
    margin-top: 9px;
    line-height: 1.8;
    letter-spacing: 0.05em;
  }
  .hero-description br {
    display: none;
  }
  .hero-handwriting {
    display: none;
  }
  .search-container {
    margin-top: -35px;
  }
  .search-panel {
    padding: 11px 12px 13px;
    border-radius: 14px;
  }
  .search-tabs {
    gap: 5px;
    margin-bottom: 11px;
  }
  .search-tabs a {
    font-size: 12px;
    min-height: 44px;
    gap: 5px;
    border-radius: 7px;
  }
  .search-tabs .icon {
    width: 18px;
    height: 18px;
  }
  .search-form {
    grid-template-columns: 1fr 68px;
    gap: 8px;
  }
  .pet-select {
    grid-column: 1 / -1;
    max-width: 170px;
  }
  .keyword-input {
    padding: 0 8px;
    gap: 6px;
    min-height: 44px;
  }
  .primary-button {
    padding: 10px 12px;
    font-size: 12px;
  }
  .keyword-row {
    display: block;
    white-space: normal;
    margin-top: 12px;
  }
  .keyword-row > span {
    display: block;
    margin-bottom: 7px;
  }
  .keyword-chips a {
    min-height: 30px;
  }
  .area-form {
    grid-template-columns: 1fr 70px;
  }
  .area-form > .select-wrap:first-child {
    grid-column: 1 / -1;
  }
  .search-help {
    align-items: flex-start;
    line-height: 1.7;
  }
  .content-stack {
    gap: 17px;
    padding-top: 22px;
    padding-bottom: 24px;
  }
  .spotlight-grid {
    gap: 17px;
  }
  .panel {
    padding: 14px 12px;
    border-radius: 13px;
  }
  .section-heading {
    min-height: 30px;
    margin-bottom: 12px;
    gap: 8px;
  }
  .section-heading h2 {
    font-size: 16px;
    gap: 6px;
    letter-spacing: 0.025em;
  }
  .section-heading h2 > .icon {
    width: 21px;
    height: 21px;
  }
  .heading-group {
    gap: 4px;
  }
  .heading-group > p {
    font-size: 10px;
    line-height: 1.6;
  }
  .feature-grid {
    height: auto;
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .feature-main {
    height: 290px;
    border-radius: 9px;
  }
  .feature-main > img {
    object-position: 50% 38%;
  }
  .feature-main-copy {
    left: 19px;
    right: 17px;
    bottom: 19px;
  }
  .feature-main h3 {
    font-size: 22px;
  }
  .feature-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 11px;
  }
  .feature-small-image {
    height: 96px;
    flex: none;
  }
  .feature-small h3 {
    font-size: 11px;
    line-height: 1.75;
  }
  .ranking-panel .section-heading h2 {
    font-size: 16px;
  }
  .rank-list {
    display: block;
  }
  .rank-list.is-compact .rank-item:nth-child(n + 4) {
    display: none;
  }
  .rank-item > a {
    min-height: 74px;
    gap: 12px;
    padding: 9px 0;
  }
  .rank-thumb {
    width: 82px;
  }
  .rank-title {
    font-size: 12px;
    line-height: 1.8;
  }
  .mobile-rank-more {
    display: flex;
    background: #fbf8f3;
    border-radius: 7px;
    width: 100%;
    min-height: 40px;
    margin-top: 9px;
  }
  .concerns-section {
    padding: 13px 12px 12px;
    border-radius: 13px;
  }
  .concerns-section .heading-group > p {
    display: none;
  }
  .concerns-grid,
  .local-grid,
  .area-purpose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .concern-card {
    min-height: 122px;
    border-radius: 9px;
    padding: 13px 4px;
  }
  .concern-card > .icon {
    width: 35px;
    height: 35px;
    margin-bottom: 8px;
  }
  .local-section {
    padding: 14px 12px 10px;
    border-radius: 13px;
  }
  .local-section .section-heading {
    flex-wrap: wrap;
    gap: 10px;
  }
  .local-guide-link {
    font-size: 11px;
    padding: 5px 11px;
    min-height: 34px;
  }
  .local-current {
    min-height: 64px;
  }
  .local-card {
    min-height: 107px;
    border-radius: 8px;
    padding: 10px 2px;
  }
  .local-card > .icon {
    width: 30px;
    height: 30px;
  }
  .local-card > strong {
    font-size: 11px;
  }
  .columns-panel .section-heading {
    margin-bottom: 2px;
  }
  /* 一覧は横型（写真＋見出し）にして、スクロール量を減らす */
  .article-grid,
  .article-grid.is-three {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .article-card {
    display: grid;
    grid-template-columns: 111px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    border-bottom: 1px solid #eeeae4;
    padding: 13px 0;
    align-items: start;
  }
  .article-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .article-image {
    grid-column: 1;
    grid-row: 1 / 3;
    aspect-ratio: 1.18;
    border-radius: 7px;
  }
  .article-card h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 13px;
    line-height: 1.7;
    min-height: 0;
    margin: 2px 0 0;
    -webkit-line-clamp: 3;
  }
  .article-card > p {
    display: none;
  }
  .article-meta {
    grid-column: 2;
    grid-row: 2;
    margin-top: 5px;
    min-height: 26px;
  }
  .save-button {
    width: 36px;
    height: 32px;
  }
  .category-label {
    font-size: 9px;
    left: 5px;
    bottom: 5px;
    padding: 1px 6px;
  }
  .themes-panel .heading-group > p {
    display: none;
  }
  .theme-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .theme-card {
    min-height: 114px;
    padding: 17px 20px;
  }
  .theme-card h3 {
    font-size: 17px;
  }
  .theme-card p {
    font-size: 11px;
  }
  .theme-card > img {
    width: 45%;
    opacity: 1;
  }
  .theme-card::after {
    background: linear-gradient(
      90deg,
      #f9e9dd 40%,
      rgba(249, 233, 221, 0.33) 65%,
      rgba(249, 233, 221, 0) 85%
    );
  }
  .trust-strip {
    display: block;
    padding: 0 4px;
  }
  .trust-strip > .text-link {
    margin-left: 38px;
    margin-top: 6px;
  }
  .site-footer {
    padding: 24px 0 20px;
  }
  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
  }
  .footer-links a {
    min-height: 36px;
  }
  .footer-bottom {
    margin-top: 20px;
    font-size: 9px;
  }
  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #eeeae5;
    backdrop-filter: blur(12px);
    z-index: 25;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-nav a {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 65px;
    color: #737b76;
  }
  .bottom-nav .icon {
    width: 21px;
    height: 21px;
  }
  .bottom-nav span {
    font-size: 10px;
    line-height: 1.3;
  }
  .bottom-nav a[aria-current="page"] {
    color: var(--coral-deep);
  }
  .bottom-nav .save-count {
    margin-left: 3px;
  }
  .page-title {
    padding: 12px 0 16px;
  }
  .page-title h1 {
    font-size: 22px;
  }
  .page-title > p {
    font-size: 13px;
  }
  .page-banner {
    padding: 18px 16px;
  }
  .filter-bar {
    padding: 13px 12px;
    gap: 10px;
  }
  .filter-row {
    gap: 8px;
  }
  .filter-row > .filter-label {
    min-width: 100%;
  }
  .article {
    border-radius: 13px;
  }
  .article-body {
    padding: 18px 16px 0;
  }
  .article h1 {
    font-size: 21px;
    line-height: 1.7;
  }
  .prose {
    font-size: 16px;
    line-height: 1.95;
  }
  .prose h2 {
    font-size: 18px;
  }
  .prose h3 {
    font-size: 16px;
  }
  .toc,
  .summary-box {
    padding: 15px 16px;
  }
  .static-page {
    padding: 20px 16px 24px;
    border-radius: 13px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 26px;
  }
  .brand img {
    height: 25px;
  }
  .section-heading h2 {
    font-size: 14px;
  }
  .feature-main h3 {
    font-size: 20px;
  }
  .article-card {
    grid-template-columns: 97px minmax(0, 1fr);
    column-gap: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    /* biome-ignore lint/complexity/noImportantStyles: 動きを減らす設定は個別指定より優先する */
    animation: none !important;
    /* biome-ignore lint/complexity/noImportantStyles: 同上 */
    transition: none !important;
  }
}

@media print {
  .site-header,
  .search-container,
  .bottom-nav,
  .site-footer,
  .save-button,
  .save-inline,
  .article-aside,
  .next-actions {
    /* biome-ignore lint/complexity/noImportantStyles: 印刷では操作用の要素を必ず落とす */
    display: none !important;
  }
  body {
    background: #fff;
    padding-bottom: 0;
  }
  .container {
    width: 100%;
  }
  .hero {
    height: 260px;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  section {
    break-inside: avoid;
  }
}

/* ============================================================ forum
   読者の投稿（ADR-0023）。JavaScript を使わない素のフォーム。
   既存のトークンとパネルの上に、一覧・投稿欄・写真だけを足している。 */
.forum-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.forum-item > a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.forum-item > a:hover {
  background: var(--canvas);
}
.forum-item-thumb {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  flex: none;
  background: var(--canvas);
}
.forum-item-body > strong {
  display: block;
  font-size: 15px;
  line-height: 1.6;
}
.forum-item-body > p {
  margin: 4px 0 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.forum-meta {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.forum-more {
  margin: 18px 0 0;
  text-align: center;
}
.forum-thread > h1 {
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 6px;
}
.forum-photo {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 14px 0;
  background: var(--canvas);
}
.forum-replies {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: reply;
}
.forum-replies > li {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.forum-replies > li:first-child {
  border-top: 0;
}
.forum-form {
  display: grid;
  gap: 16px;
}
.forum-field {
  display: grid;
  gap: 6px;
}
.forum-field > span {
  font-size: 13px;
  font-weight: 700;
}
.forum-field > small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.forum-field input[type="text"],
.forum-field input[type="file"],
.forum-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font: inherit;
  color: inherit;
}
.forum-field textarea {
  line-height: 1.85;
  resize: vertical;
}
.forum-field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.forum-submit {
  margin: 4px 0 0;
}
.forum-delete {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0 0;
}
.forum-delete input[type="text"] {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font: inherit;
  max-width: 200px;
}
.forum-delete-key {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 22px;
  letter-spacing: 0.12em;
  background: var(--amber-pale);
  border-radius: 10px;
  padding: 14px 18px;
  text-align: center;
}
/* honeypot。人には見せず、スクリーンリーダーにも読ませない */
.forum-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
