/* ============================================================
   Reset & Base
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg:        #faf8ff;
  --color-surface:   #ffffff;
  --color-primary:   #b39ddb;   /* ラベンダー */
  --color-primary-d: #9575cd;
  --color-accent:    #80cbc4;   /* ミント */
  --color-accent-d:  #4db6ac;
  --color-cream:     #fff9f0;
  --color-text:      #4a4458;
  --color-text-sub:  #8e8a99;
  --color-border:    #e8e0f5;
  --color-tag-bg:    #ede7f6;
  --color-tag-text:  #7e57c2;

  --font-main:   'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-title:  'Cinzel', 'Georgia', serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 8px rgba(140, 120, 180, 0.10);
  --shadow-md:  0 4px 20px rgba(140, 120, 180, 0.15);

  --max-width:  860px;
  --transition: 0.25s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--color-primary-d); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-d); }

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

/* ============================================================
   Typography
============================================================ */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h3 { font-size: clamp(1rem, 2.5vw, 1.2rem); }

/* ============================================================
   Layout
============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  flex: 1;
  padding: 2.5rem 0 4rem;
}

/* ============================================================
   Header
============================================================ */
.site-header {
  background: linear-gradient(135deg, #ede7f6 0%, #e0f2f1 100%);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.header-inner-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-d);
  letter-spacing: 0.05em;
}
.site-logo:hover { color: var(--color-accent-d); }
.site-logo .logo-icon { font-size: 1.5rem; }

/* ---- PC Nav ---- */
.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
}
.site-nav a:hover,
.site-nav a.active {
  background: var(--color-primary);
  color: #fff;
}

/* ---- Hamburger ---- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--color-tag-bg); }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-primary-d);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile drawer ---- */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 64px; /* .site-header の height に合わせる */
  left: 0;
  width: 100%;
  z-index: 99;
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.25rem 1.5rem;
  gap: 0.25rem;
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition);
}
.mobile-nav a:hover,
.mobile-nav a.active { background: var(--color-tag-bg); color: var(--color-primary-d); }

/* ============================================================
   Hero / Page Header
============================================================ */
.page-hero {
  background: linear-gradient(160deg, #ede7f6 0%, #e0f7fa 60%, #fff9f0 100%);
  padding: 3rem 1.25rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b39ddb' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--color-primary-d);
  position: relative;
  text-shadow: 0 2px 12px rgba(179,157,219,0.2);
}
.page-hero-sub {
  margin-top: 0.5rem;
  color: var(--color-text-sub);
  font-size: 0.95rem;
  position: relative;
}

/* ============================================================
   Section Heading
============================================================ */
.section-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.section-heading h2 {
  font-size: 1.15rem;
  color: var(--color-primary-d);
}
.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.section-heading .icon { font-size: 1.2rem; }

/* ============================================================
   Card
============================================================ */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-body { padding: 1.25rem 1.4rem; }
.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--color-text-sub);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.card-excerpt {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Card grid ---- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* ============================================================
   Tags / Categories
============================================================ */
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  border-radius: var(--radius-lg);
  font-size: 0.75rem;
  font-weight: 500;
  transition: background var(--transition);
}
.tag:hover { background: var(--color-primary); color: #fff; }

/* ---- Category filter ---- */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.category-filter a {
  padding: 0.35rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.category-filter a:hover,
.category-filter a.active {
  background: var(--color-primary);
  color: #fff;
}

/* ============================================================
   Preview Banner
============================================================ */
.preview-banner {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #856404;
}
.preview-banner a {
  color: #856404;
  font-weight: 500;
  text-decoration: underline;
}

/* ============================================================
   Blog Detail
============================================================ */
.article-header { margin-bottom: 2rem; }
.article-title {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--color-text-sub);
  align-items: center;
}

.article-body {
  font-size: 0.97rem;
  line-height: 2;
}
.article-body h2 {
  font-size: 1.25rem;
  border-left: 4px solid var(--color-primary);
  padding-left: 0.75rem;
  margin: 2.5rem 0 1rem;
}
.article-body h3 {
  font-size: 1.05rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-primary-d);
}
.article-body p { margin-bottom: 1.4rem; }
.article-body img { border-radius: var(--radius-md); margin: 1.5rem auto; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  border-left: 3px solid var(--color-primary);
  background: var(--color-tag-bg);
  padding: 0.75rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  color: var(--color-text-sub);
}

/* ============================================================
   Comments
============================================================ */
.comments-section { margin-top: 3.5rem; }
.comment-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.25rem; }
.comment-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.comment-item.level-2 { margin-left: 1.5rem; border-left: 3px solid var(--color-primary); }
.comment-item.level-3 { margin-left: 3rem; border-left: 3px solid var(--color-accent); }
.comment-meta { font-size: 0.78rem; color: var(--color-text-sub); margin-bottom: 0.4rem; }
.comment-body { font-size: 0.9rem; }

/* ============================================================
   Contact Form
============================================================ */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 1.4rem; }
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}
.form-label .required {
  display: inline-block;
  font-size: 0.7rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(179, 157, 219, 0.2);
}
textarea.form-control { resize: vertical; min-height: 140px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(179, 157, 219, 0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(179, 157, 219, 0.45);
  color: #fff;
}
.btn-secondary {
  background: var(--color-tag-bg);
  color: var(--color-primary-d);
}
.btn-secondary:hover { background: var(--color-border); }

/* ============================================================
   Pagination
============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.pagination a,
.pagination span.disabled,
.pagination span.current-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
}
.pagination a:hover { background: var(--color-tag-bg); color: var(--color-primary-d); }
.pagination span.current-page {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.pagination span.disabled {
  color: var(--color-border);
  cursor: default;
}
.pager-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 38px;
  color: var(--color-text-sub);
  font-size: 0.88rem;
}

/* ---- blog list ---- */
.post-count {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  margin-bottom: 1.25rem;
}
.blog-list { margin-bottom: 2rem; }

/* ============================================================
   404
============================================================ */
.error-page {
  text-align: center;
  padding: 5rem 1.25rem;
}
.error-page .error-code {
  font-family: var(--font-title);
  font-size: 6rem;
  color: var(--color-border);
  line-height: 1;
}
.error-page h1 { font-size: 1.5rem; margin: 0.5rem 0 0.75rem; }
.error-sub { color: var(--color-text-sub); font-size: 0.92rem; margin-bottom: 2.5rem; }
.error-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* ============================================================
   Footer
============================================================ */
.site-footer {
  background: linear-gradient(135deg, #ede7f6 0%, #e0f2f1 100%);
  border-top: 1px solid var(--color-border);
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin-bottom: 1.25rem;
}
.footer-nav a {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--color-primary-d); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--color-text-sub);
}

/* ============================================================
   index.php — Pick Up
============================================================ */
.pickup-grid { gap: 1rem; }

.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }

.pickup-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary-d);
  background: var(--color-tag-bg);
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-lg);
  margin-bottom: 0.5rem;
}

/* ============================================================
   index.php — 新着記事リスト
============================================================ */
.post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
}
.post-list-item { border-bottom: 1px solid var(--color-border); }
.post-list-item:last-child { border-bottom: none; }

.post-list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  color: var(--color-text);
  transition: background var(--transition);
}
.post-list-link:hover { background: var(--color-tag-bg); color: var(--color-text); }

.post-list-title {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-list-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--color-text-sub);
}

/* ============================================================
   index.php — 人気記事ランキング
============================================================ */
.ranking-period { font-size: 0.75rem; color: var(--color-text-sub); font-weight: 400; }

.ranking-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
}
.ranking-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}
.ranking-item:last-child { border-bottom: none; }
.ranking-item:hover { background: var(--color-tag-bg); }

.ranking-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-tag-bg);
  color: var(--color-primary-d);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ranking-item:nth-child(1) .ranking-num { background: #ffd700; color: #7a5c00; }
.ranking-item:nth-child(2) .ranking-num { background: #c0c0c0; color: #4a4a4a; }
.ranking-item:nth-child(3) .ranking-num { background: #c8a97a; color: #5a3a00; }

.ranking-title {
  flex: 1;
  font-size: 0.92rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition);
}
.ranking-item:hover .ranking-title { color: var(--color-primary-d); }


/* ---- comment form wrap ---- */
.comment-form-wrap { border-top: 1px solid var(--color-border); padding-top: 2rem; }
.comment-form-title { font-size: 1rem; color: var(--color-primary-d); margin-bottom: 0.25rem; }

/* ---- comment count badge ---- */
.comment-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: middle;
  margin-left: 0.4rem;
}

/* ---- empty ---- */
.empty-message {
  text-align: center;
  color: var(--color-text-sub);
  font-size: 0.9rem;
  padding: 2rem 0;
}

/* ============================================================
   Contact
============================================================ */
.contact-wrap { max-width: 620px; margin: 0 auto; padding: 2rem 0 3rem; }
.contact-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contact-desc  { color: var(--color-text-sub); font-size: 0.9rem; margin-bottom: 0.5rem; }

/* ハニーポット */
.contact-hp { display: none; }

/* エラーリスト */
.error-list {
  list-style: none;
  background: #fff0f0;
  border: 1px solid #f5c6c6;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.error-list li {
  color: #c0392b;
  font-size: 0.88rem;
  padding-left: 1.1em;
  position: relative;
}
.error-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  font-size: 0.75em;
  top: 0.1em;
}

/* 任意ラベル補足 */
.form-label-note {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--color-text-sub);
  margin-left: 0.3rem;
}

/* 送信完了 */
.contact-complete {
  text-align: center;
  padding: 4rem 1rem;
}
.complete-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-primary-d);
}
.complete-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.complete-message {
  color: var(--color-text-sub);
  font-size: 0.95rem;
}

/* ============================================================
   Utilities
============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ============================================================
   Policy
============================================================ */
.policy-wrap { max-width: 720px; margin: 0 auto; padding: 2rem 0 4rem; }

.policy-header { margin-bottom: 2rem; }
.policy-main-title {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: var(--color-primary-d);
  margin-bottom: 0.5rem;
}
.policy-title-sub { font-size: 0.85em; font-weight: 400; color: var(--color-text-sub); }
.policy-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.82rem;
  color: var(--color-text-sub);
}

/* 目次 */
.policy-toc {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.policy-toc ol {
  margin: 0;
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.policy-toc a {
  font-size: 0.88rem;
  color: var(--color-primary-d);
}
.policy-toc a:hover { text-decoration: underline; }

/* セクション */
.policy-section {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.policy-heading {
  font-size: 1.05rem;
  color: var(--color-primary-d);
  padding-left: 0.8rem;
  border-left: 3px solid var(--color-primary);
  margin-bottom: 0.25rem;
}
.policy-subheading {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 0.5rem;
  margin-bottom: -0.25rem;
}
.policy-section p { font-size: 0.92rem; line-height: 1.85; }

/* リスト */
.policy-list {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.25rem 0;
}
.policy-list li {
  font-size: 0.88rem;
  line-height: 1.7;
  padding-left: 1.2rem;
  position: relative;
  color: var(--color-text);
}
.policy-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 0.75rem;
  top: 0.3em;
}

/* 注記 */
.policy-note {
  font-size: 0.82rem !important;
  color: var(--color-text-sub);
  background: var(--color-tag-bg);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
}

/* ============================================================
   Dropdown Nav
============================================================ */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--color-text);
  padding: 4px 8px;
  border-radius: var(--radius-md);
  transition: background 0.15s;
  white-space: nowrap;
}
.nav-dropdown-btn:hover {
  background: var(--color-tag-bg);
}
.nav-dropdown-arrow {
  font-size: 11px;
  color: var(--color-text-sub);
  transition: transform 0.2s;
}
.nav-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-surface);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  min-width: 260px;
  z-index: 100;
  padding: 6px 0;
}
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 16px;
  font-size: 13px;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.5;
  transition: background 0.1s;
}
.nav-dropdown-menu a:hover {
  background: var(--color-tag-bg);
}
.nav-pickup-icon {
  color: #e8a020;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.nav-dropdown-empty {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--color-text-sub);
}
.nav-dropdown-btn.is-new {
  font-weight: 500;
  background: linear-gradient(
    90deg,
    var(--color-text) 0%,
    #7a6fd0 40%,
    #a78bdb 50%,
    #7a6fd0 60%,
    var(--color-text) 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nav-shimmer 4s ease-in-out infinite;
}
@keyframes nav-shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ============================================================
   Mobile Accordion Nav
============================================================ */
.mobile-accordion {
  width: 100%;
}
.mobile-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 15px;
  color: var(--color-text);
  padding: 14px 20px;
  text-align: left;
}
.mobile-accordion-arrow {
  font-size: 12px;
  color: var(--color-text-sub);
  transition: transform 0.2s;
}
.mobile-accordion.open .mobile-accordion-arrow {
  transform: rotate(180deg);
}
.mobile-accordion-content {
  display: none;
  padding: 0 0 4px 0;
}
.mobile-accordion.open .mobile-accordion-content {
  display: block;
}
.mobile-accordion-content a {
  display: block;
  padding: 10px 20px 10px 32px;
  font-size: 14px;
  color: var(--color-text-sub);
  text-decoration: none;
  border-bottom: 0.5px solid var(--color-border);
}
.mobile-accordion-content a:last-child {
  border-bottom: none;
}

/* ============================================================
   Responsive
============================================================ */
@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 2.5rem 2.25rem; }
}

@media (min-width: 768px) {
  .hamburger { display: none; }
  .site-nav { display: flex; }
}

@media (max-width: 767px) {
  .hamburger { display: flex; }
  .site-nav { display: none; }
  .mobile-nav { display: none; }
  .mobile-nav.open { display: flex; }
}
