/* ============================================
   30分で始める趣味入門スターターキット
   明るく前向きなクリーム×オレンジのデザイン
   ============================================ */

:root {
  --bg: #fff9f0;
  --bg-card: #ffffff;
  --bg-soft: #fff3e0;
  --accent: #ff7b3d;
  --accent-deep: #e85a20;
  --accent-darker: #c0440d;
  --accent-soft: #ffd9c2;
  --text: #2d2418;
  --text-soft: #6b5d4f;
  --text-light: #a89b8c;
  --border: #f0e3d2;
  --shadow-sm: 0 2px 6px rgba(232, 90, 32, 0.06);
  --shadow-md: 0 6px 18px rgba(232, 90, 32, 0.1);
  --shadow-lg: 0 16px 40px rgba(232, 90, 32, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

/* キーボード操作時のフォーカス可視化（WCAG 2.4.7） */
:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

/* スキップリンク（WCAG 2.4.1） */
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 2000;
  background: var(--accent-darker);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Meiryo", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ============= PR / 広告表示バー（ステマ規制対応・全ページ共通） ============= */
.pr-bar {
  background: var(--accent-darker);
  color: #fff;
  text-align: center;
}

.pr-bar .container {
  padding-top: 7px;
  padding-bottom: 7px;
}

.pr-bar p {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin: 0;
}

.pr-bar a {
  color: #fff;
  text-decoration: underline;
}

/* ============= Header ============= */
.site-header {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe1cc 100%);
  padding: 30px 0 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  opacity: 0.6;
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  opacity: 0.4;
}

.site-title {
  position: relative;
  z-index: 1;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.title-main {
  display: inline-block;
  background: var(--accent-darker);
  color: #fff;
  padding: 3px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  width: fit-content;
  margin: 0 auto;
}

.title-sub {
  font-size: 1.7rem;
  color: var(--text);
}

.lead {
  position: relative;
  z-index: 1;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.8;
}

.hero-art {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 16px auto 0;
  padding: 7px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid var(--accent-soft);
  pointer-events: none;
}

.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* ============= Filters ============= */
.filters {
  background: var(--bg);
  padding: 28px 0 12px;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  background-color: rgba(255, 249, 240, 0.92);
}

.search-row {
  margin-bottom: 18px;
}

#search-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

#search-input::placeholder {
  color: #8a7c6a;
}

#search-input:focus {
  outline: none;
  border-color: var(--accent-darker);
  box-shadow: 0 0 0 3px rgba(192, 68, 13, 0.3);
}

#search-input:focus-visible {
  outline: 3px solid var(--accent-darker);
  outline-offset: 2px;
}

.filter-toggle {
  display: none;
}

.filter-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

@media (max-width: 599px) {
  .filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--text);
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
  }
  .filter-toggle-icon {
    transition: transform 0.2s ease;
    color: var(--accent-darker);
  }
  .filter-toggle[aria-expanded="true"] .filter-toggle-icon {
    transform: rotate(180deg);
  }
  .filter-body {
    display: none;
  }
  .filter-body.open {
    display: block;
  }
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.05em;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  padding: 9px 16px;
  min-height: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--accent-darker);
  color: var(--accent-darker);
}

.chip.active {
  background: var(--accent-darker);
  color: #fff;
  border-color: var(--accent-darker);
  box-shadow: var(--shadow-sm);
}

.filter-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-soft);
  padding: 8px 4px 12px;
  gap: 12px;
  flex-wrap: wrap;
}

#result-count {
  font-weight: 700;
  color: var(--accent-darker);
  font-size: 1rem;
}

.reset-btn {
  padding: 4px 12px;
  font-size: 0.78rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.reset-btn:hover {
  border-color: var(--accent-darker);
  color: var(--accent-darker);
}

/* ============= Hobby Grid ============= */
.hobbies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 24px 0 60px;
}

.hobby-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.hobby-card:hover,
.hobby-card:focus {
  outline: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.hobby-card:focus-visible {
  outline: 3px solid var(--accent-darker);
  outline-offset: 2px;
  border-color: var(--accent);
}

/* ============= 装飾ディバイダー ============= */
.section-divider {
  max-width: 760px;
  margin: 6px auto -6px;
  padding: 0 16px;
}

.section-divider img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.hobby-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hobby-emoji {
  font-size: 2.2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  border-radius: 50%;
  flex-shrink: 0;
}

.hobby-thumb-wrap {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hobby-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hobby-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.hobby-catch {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
  flex-grow: 1;
}

.hobby-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.meta-tag {
  font-size: 0.72rem;
  padding: 2px 10px;
  background: var(--bg-soft);
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 500;
}

.meta-tag.budget {
  background: #fff0e0;
  color: var(--accent-darker);
}

.hobby-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.kit-count {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.kit-count strong {
  color: var(--accent-darker);
  font-size: 1rem;
}

.see-more {
  font-size: 0.85rem;
  color: var(--accent-darker);
  font-weight: 700;
}

.no-result {
  text-align: center;
  padding: 48px 16px 60px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.8;
}

.no-result-img {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
  mix-blend-mode: multiply;
}

.no-result p {
  margin: 0;
}

/* ============= Modal ============= */
.modal {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  inset: 0;
  overflow: visible;
}

.modal[open] {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.modal::backdrop {
  background: rgba(45, 36, 24, 0.45);
}

.modal-panel {
  position: relative;
  background: var(--bg);
  width: 100%;
  max-width: 600px;
  max-height: 92vh;
  border-radius: 20px 20px 0 0;
  border-top: 4px solid var(--accent);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.25s ease;
  display: flex;
  flex-direction: column;
}

.modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 4px 20px 40px;
}

.modal-topbar {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  background: var(--bg);
  padding: 12px 14px 8px;
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.15s ease;
  z-index: 2;
}

/* 本文をスクロールすると影が出て「ヘッダーの下に潜っている」と分かる */
.modal-topbar.scrolled {
  box-shadow: 0 4px 12px rgba(45, 36, 24, 0.08);
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  line-height: 1;
}

.modal-close:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}


.detail-head {
  text-align: center;
  margin-bottom: 24px;
}

.detail-emoji {
  font-size: 4rem;
  display: inline-block;
  background: var(--bg-soft);
  width: 96px;
  height: 96px;
  line-height: 96px;
  border-radius: 50%;
  margin-bottom: 12px;
}

.detail-title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.detail-catch {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 0 8px;
}

.detail-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 20px;
}

.detail-meta .meta-tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 4px 12px;
  font-size: 0.78rem;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--text);
}

.section-heading::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
}

.goal-box {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
  border-left: 4px solid var(--accent);
}

.step-list {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.step-list li {
  position: relative;
  counter-increment: step;
  padding-left: 38px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
  min-height: 26px;
  display: flex;
  align-items: center;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  background: var(--accent-darker);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.item-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
}

.item-thumb-frame {
  flex-shrink: 0;
  display: block;
  width: 108px;
  height: 108px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}

.item-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

.item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.item-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.item-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.item-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 6px;
}

.item-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
}

.item-price {
  font-size: 0.8rem;
  color: #97350a;
  white-space: nowrap;
  font-weight: 700;
  background: #fff0e0;
  padding: 3px 9px;
  border-radius: 999px;
}

.item-note {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.item-cta .pr-tag {
  margin: 0;
}

.pr-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-soft);
  background: #f3e7d6;
  border: 1px solid var(--text-soft);
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 28px;
  margin-top: 8px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.next-step-item .pr-tag {
  margin-left: 0;
  margin-top: 0;
  margin-right: 4px;
}

.amazon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  text-align: center;
  background: linear-gradient(135deg, #c0440d 0%, #a8380c 100%);
  color: #fff;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  width: fit-content;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.amazon-link:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.kit-total {
  font-size: 0.9rem;
  color: var(--text);
  background: #fff0e0;
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  margin-bottom: 12px;
}

.kit-total strong {
  color: var(--accent-darker);
  font-size: 1.05rem;
}

.price-note {
  font-size: 0.74rem;
  color: var(--text-soft);
  margin: 8px 2px 0;
  line-height: 1.6;
}

.next-step-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.next-step-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text);
}

.next-step-item::before {
  content: "→";
  color: var(--accent);
  margin-right: 6px;
}

.ns-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.next-step-item a {
  color: var(--accent-darker);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.78rem;
}

.next-step-item a:hover {
  text-decoration: underline;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.detail-tag {
  font-size: 0.74rem;
  color: var(--text-soft);
  padding: 2px 10px;
  background: var(--bg-soft);
  border-radius: 999px;
}

/* ============= Footer ============= */
.site-footer {
  background: #fff3e0;
  padding: 24px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer-note {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-credit {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.footer-disclosure {
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 14px;
}

.footer-nav a {
  font-size: 0.8rem;
  color: var(--accent-darker);
  text-decoration: none;
  font-weight: 700;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* ============= Content / Legal Pages ============= */
.page-header {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe1cc 100%);
  padding: 20px 0;
  text-align: center;
}

.page-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.page-logo:hover {
  color: var(--accent-deep);
}

.content-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.content-page .breadcrumb {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.content-page .breadcrumb a {
  color: var(--accent-deep);
  text-decoration: none;
}

.content-page .breadcrumb a:hover {
  text-decoration: underline;
}

.content-page h1 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text);
}

.content-page .page-updated {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 28px;
}

.content-page h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
  color: var(--text);
}

.content-page p,
.content-page li {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text);
}

.content-page p {
  margin-bottom: 14px;
}

.content-page ul,
.content-page ol {
  margin: 0 0 16px 1.2em;
}

.content-page li {
  margin-bottom: 6px;
}

.content-page a {
  color: var(--accent-deep);
}

.content-page .placeholder {
  background: #fff0e0;
  color: var(--accent-deep);
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px dashed var(--accent-soft);
}

.content-page .info-box {
  background: var(--bg-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.content-page .info-box p:last-child {
  margin-bottom: 0;
}

.content-page dl {
  margin-bottom: 16px;
}

.content-page dt {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-top: 12px;
}

.content-page dd {
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 2px 0 0;
}

/* ============= Contact Form ============= */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.form-consent {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.form-required { color: var(--accent-darker); font-size: 0.78rem; }
.form-optional { color: var(--text-soft); font-size: 0.78rem; font-weight: 400; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 123, 61, 0.15);
}

.form-group textarea { resize: vertical; }

.btn-submit {
  align-self: flex-start;
  min-height: 44px;
  padding: 11px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, #c0440d 0%, #a8380c 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-submit:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.form-status {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.form-status.ok { background: #e9f7ec; color: #1f7a3a; }
.form-status.err { background: #fdeceb; color: #b3261e; }

/* タップターゲット 44px 確保（モバイル / WCAG 2.5.8） */
@media (max-width: 599px) {
  .chip, .reset-btn { min-height: 44px; }
  .modal-close { width: 44px; height: 44px; }
  .amazon-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
  }
}

/* ============= Animations ============= */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hobby-card {
  animation: cardIn 0.25s ease;
}

/* ============= Tablet ============= */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
  .site-header { padding: 38px 0 28px; }
  .title-sub { font-size: 2rem; }
  .lead { font-size: 1rem; }
  .hobbies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .filter-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 24px;
  }
  .filter-group { flex: 1 1 auto; min-width: 180px; }
  .modal[open] { align-items: center; }
  .modal-panel {
    border-radius: 20px;
    max-height: 88vh;
  }
  .modal-topbar { padding: 16px 20px 8px; border-radius: 16px 16px 0 0; }
  .modal-body { padding: 4px 32px 40px; }
}

/* ============= Desktop ============= */
@media (min-width: 960px) {
  .site-title { font-size: 1.6rem; }
  .title-sub { font-size: 2.4rem; }
  .hobbies-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .hobby-card { padding: 24px; }
  .hobby-emoji { font-size: 2.4rem; width: 64px; height: 64px; }
  .hobby-title { font-size: 1.1rem; }
}

/* ============= 特集ページ内部リンク ============= */
.related-links {
  margin: 8px auto 24px;
  padding: 20px 16px;
  background: var(--bg-card);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
}
.related-heading {
  font-size: 1.05rem;
  color: var(--accent-darker);
  margin: 0 0 12px;
}
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.related-list li + li { margin-top: 8px; }
.related-list a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
}
.related-list a:hover { text-decoration: underline; }
