:root {
  --bg: #f5f1e8;
  --surface: rgba(255, 252, 246, 0.92);
  --surface-strong: #fffdf9;
  --line: rgba(61, 52, 39, 0.16);
  --text: #2c241d;
  --muted: #6f6457;
  --accent: #0d6b6f;
  --accent-2: #d9873d;
  --shadow: 0 18px 40px rgba(53, 42, 30, 0.08);
  --radius: 18px;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text);
  line-height: 1.75;
  background:
    radial-gradient(circle at top left, rgba(217, 135, 61, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(13, 107, 111, 0.16), transparent 24%),
    linear-gradient(180deg, #f7f4ed 0%, #f3ede2 100%);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(247, 244, 237, 0.8);
  border-bottom: 1px solid rgba(61, 52, 39, 0.08);
}

.site-header-inner,
.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.brand span,
.eyebrow,
.meta,
.card p.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--text);
  font-size: 0.95rem;
}

.hero {
  padding: 72px 0 40px;
}

.hero-grid,
.content-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  font-size: 1.08rem;
  color: #43372d;
  max-width: 44rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button {
  background: var(--accent);
  color: #fff;
}

.button-secondary {
  border-color: rgba(13, 107, 111, 0.2);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.55);
}

.card,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 24px;
}

.panel {
  padding: 30px;
}

.hero-note {
  display: grid;
  gap: 16px;
}

.hero-note .card strong {
  display: block;
  margin-bottom: 6px;
}

.section {
  padding: 34px 0;
}

.content-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card ul,
.post-body ul {
  padding-left: 1.2rem;
  margin: 0;
}

.card li,
.post-body li {
  margin-bottom: 0.45rem;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.article-toolbar {
  display: grid;
  gap: 18px;
  margin: 22px 0 24px;
}

.search-box {
  display: grid;
  gap: 8px;
}

.search-box input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font: inherit;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(13, 107, 111, 0.18);
  background: rgba(255, 255, 255, 0.75);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

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

.article-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.article-card.is-hidden {
  display: none !important;
}

.empty-state {
  display: none !important;
  padding: 26px;
  text-align: center;
}

.empty-state.is-visible {
  display: block !important;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.article-card p {
  margin: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(13, 107, 111, 0.08);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.post-header {
  padding: 64px 0 24px;
}

.post-body {
  max-width: 820px;
}

.post-body section {
  margin-bottom: 34px;
}

.post-body p {
  margin-top: 0;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.form-help,
.error-list {
  color: var(--muted);
  font-size: 0.92rem;
}

.error-box {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(165, 43, 43, 0.2);
  background: rgba(165, 43, 43, 0.08);
  border-radius: 14px;
}


.quote {
  border-left: 4px solid var(--accent-2);
  padding: 12px 16px;
  background: rgba(217, 135, 61, 0.08);
  border-radius: 0 12px 12px 0;
}

.article-history {
  margin-top: 34px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.article-history p {
  margin-bottom: 10px;
}

.article-history ul {
  margin-top: 10px;
}

.affiliate-box {
  margin-top: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(13, 107, 111, 0.18);
  border-radius: 16px;
  background: rgba(13, 107, 111, 0.06);
}

.affiliate-box p:last-child {
  margin-bottom: 0;
}

.pr-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(217, 135, 61, 0.14);
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.affiliate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.affiliate-link:hover {
  text-decoration: none;
  opacity: 0.92;
}

.footer {
  padding: 36px 0 56px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .hero-grid,
  .content-grid,
  .article-list {
    grid-template-columns: 1fr;
  }

  .site-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 46px;
  }
}
