/* ===== CSS Variables ===== */
:root {
  --bg:        #F7F5F0;
  --bg-card:   #FDFCF9;
  --text:      #2E2C28;
  --text-sub:  #6B6760;
  --accent:    #1F5A24;
  --accent-text: #1F5A24;
  --accent2:   #A8856A;
  --line:      #E0DDD6;
  --focus:     #1F5E73;
  --forest-shadow: rgba(35, 54, 36, 0.18);
  --hero-veiling: rgba(247, 245, 240, 0.78);
  --tag-bg:    #EBF0EB;
  --tag-text:  #3D5C40;
  --serif:     'Noto Serif JP', 'DM Serif Display', serif;
  --sans:      'Noto Sans JP', sans-serif;
  color-scheme: light only;
}

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

body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}

body.page-home {
  background: var(--bg) !important;
  font-size: 15px;
  padding: 0;
}

body::before {
  display: none;
}

@media (prefers-color-scheme: dark) {
  body { background: var(--bg) !important; color: var(--text) !important; }
  body.page-home { background: var(--bg) !important; }
  header { background: var(--bg-card) !important; }
  .hero { color: var(--text) !important; }
  .hero:not(.hero-with-image) { background: var(--bg) !important; }
  .article-card, .sidebar-block { background: var(--bg-card) !important; color: var(--text) !important; }
}

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ===== Header ===== */
header {
  background: rgba(253, 252, 249, 0.94);
  border-bottom: 1px solid var(--line);
  padding: 0 1.8rem;
  position: relative;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
}

.site-title {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
}

.site-title span {
  font-size: 0.72rem;
  color: var(--text-sub);
  display: block;
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-top: -2px;
}

nav {
  display: flex;
  gap: 0.78rem;
  font-size: 0.82rem;
  color: var(--text-sub);
  font-weight: 400;
  letter-spacing: 0.06em;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a:hover { color: var(--accent-text); }
nav a:focus-visible { color: var(--text); }

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  border-bottom: 2px solid transparent;
}

nav a.nav-link-active {
  border-bottom-color: var(--accent);
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 36px 1.4rem 26px;
  position: relative;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(224, 221, 214, 0.76);
  width: min(100%, 1440px);
  max-width: calc(100vw - 48px);
  margin: 0 auto;
  background-color: #E4E6D6;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: auto;
  background:
    radial-gradient(
      ellipse at center,
      rgba(250, 252, 248, 0.93) 0%,
      rgba(250, 252, 248, 0.82) 22%,
      rgba(250, 252, 248, 0.34) 43%,
      rgba(250, 252, 248, 0.00) 70%
    ),
    linear-gradient(
      to bottom,
      rgba(250, 252, 248, 0.00) 0%,
      rgba(250, 252, 248, 0.00) 52%,
      rgba(247, 245, 240, 0.52) 100%
    ),
    linear-gradient(
      to right,
      rgba(35, 96, 43, 0.26) 0%,
      rgba(255, 255, 255, 0.00) 34%,
      rgba(255, 255, 255, 0.00) 66%,
      rgba(35, 96, 43, 0.26) 100%
    );
  pointer-events: none;
  z-index: 0;
}

/* hero 内の a11y-note（薄い帯、ヒーロー下部） */
.hero-a11y-note {
  background: rgba(253, 252, 249, 0.88);
  border: 1px solid rgba(92, 122, 95, 0.32);
  border-left: 4px solid var(--accent);
  padding: 0.42rem 0.8rem;
  font-size: 0.82rem;
  color: #334D36;
  letter-spacing: 0.04em;
  max-width: 760px;
  white-space: nowrap;
  margin: 14px auto 0;
  border-radius: 4px;
  backdrop-filter: blur(2px);
  position: relative;
  z-index: 1;
}

.hero-with-image {
  background-image: none;
}

.hero-with-image::before {
  content: '';
  position: absolute;
  inset: 0;
  display: block;
  background-image: url('/images/image.png?v=1780957316057');
  background-size: cover;
  background-position: center center;
  filter: saturate(1.12) contrast(1.15) brightness(0.96) sepia(0) hue-rotate(14deg);
  transform: scale(1.01);
  z-index: 0;
}

.hero-inner {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  color: var(--accent-text);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.48rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.35rem, 3.7vw, 3rem);
  font-weight: 400;
  line-height: 1.36;
  letter-spacing: 0.04em;
  margin-bottom: 0.42rem;
  color: var(--text);
  text-shadow: 0 1px 18px rgba(253, 252, 249, 0.98), 0 0 32px rgba(253, 252, 249, 0.82);
  line-break: strict;
  text-wrap: balance;
}

.hero p {
  font-size: 0.96rem;
  color: #45413B;
  line-height: 1.72;
  max-width: 600px;
  margin: 0 auto 1rem;
  font-weight: 400;
  line-break: strict;
  text-wrap: balance;
}

.hero-meta-line {
  font-size: 0.88rem;
  color: var(--accent-text);
  letter-spacing: 0.1em;
  margin: 0.48rem auto 0.64rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.76rem;
}

.btn {
  display: inline-block;
  padding: 0.42rem 1rem;
  font-size: 0.94rem;
  border-radius: 5px;
  letter-spacing: 0.06em;
  font-family: var(--sans);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 30px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.btn-primary:hover {
  background: #4A6649;
  border-color: #4A6649;
  box-shadow: 0 8px 22px rgba(74, 102, 73, 0.18);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text-sub);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-text);
  background: rgba(253, 252, 249, 0.72);
}

/* ===== Layout ===== */
.container {
  width: min(100%, 1440px);
  max-width: calc(100vw - 48px);
  margin: 0 auto;
  padding: 24px 1.75rem 18px;
  background: var(--bg);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.6rem;
  padding-bottom: 26px;
}

main#articles {
  background: rgba(253, 252, 249, 0.78);
  border: 1px solid rgba(224, 221, 214, 0.82);
  border-radius: 6px;
  padding: 1.15rem 1.15rem 1.25rem;
}

/* ===== Article Card（サムネイル画像対応） ===== */
.articles { display: flex; flex-direction: column; gap: 0.65rem; }

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.78rem;
  transition: box-shadow 0.2s ease;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 24px;
  gap: 1rem;
  align-items: center;
  color: inherit;
}

.article-card:hover {
  box-shadow: 0 8px 24px rgba(46,44,40,0.08);
}

.article-card[href] {
  cursor: pointer;
}

.post-meta {
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--text-sub);
  letter-spacing: 0.04em;
}

.post-meta span {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 2px;
  padding: 1px 4px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-right: 0.28rem;
}

.tags {
  display: flex;
  gap: 0.26rem;
  flex-wrap: wrap;
}

.tags span {
  background: var(--tag-bg);
  color: var(--tag-text);
  border-radius: 2px;
  padding: 1px 5px;
  font-size: 0.74rem;
  line-height: 1.5;
}

.post-arrow {
  color: var(--accent-text);
  font-size: 1rem;
  text-align: right;
}

.article-thumb {
  width: 180px;
  height: 112px;
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(135deg, #DCE8DA 0%, #C5D4C0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-thumb-placeholder {
  font-size: 2rem;
  opacity: 0.5;
  color: var(--accent);
}

.article-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  margin-bottom: 0.28rem;
  font-size: 0.78rem;
  color: var(--text-sub);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
}

.card-meta time { font-size: 0.78rem; }

.new-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 1px 5px;
  border-radius: 2px;
}

.tag {
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 1px 6px;
  border-radius: 2px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.tag-health   { background: #E3EDE0; color: #3D5C40; }
.tag-cosme    { background: #F5DCE0; color: #8B3A4A; }
.tag-money    { background: #FAEBCC; color: #8B6914; }
.tag-intro    { background: #E8E4DB; color: #5C554A; }

.experiment-period {
  font-size: 0.72rem;
  color: var(--text-sub);
  background: #F5F2EC;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.card-title {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 0.24rem;
  color: var(--text);
}

.card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.card-arrow {
  color: var(--accent);
  font-size: 0.95rem;
  margin-left: 0;
  align-self: center;
  justify-self: end;
}

/* ===== See all button ===== */
.see-all-wrap {
  text-align: center;
  margin-top: 2.4rem;
}

.see-all-btn {
  display: inline-block;
  padding: 0.7rem 2.2rem;
  font-size: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-card);
  color: var(--text);
  letter-spacing: 0.06em;
  transition: all 0.2s;
}

.see-all-btn:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

/* 「準備中」状態：ボタンに見えるが押せないことを視覚的に示す */
.see-all-btn.see-all-disabled {
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}
.see-all-btn.see-all-disabled:hover {
  border-color: var(--line);
  color: var(--text);
}

/* ===== Sidebar ===== */
.sidebar { display: flex; flex-direction: column; gap: 0.75rem; }

.sidebar-block {
  background: rgba(253, 252, 249, 0.92);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.95rem 1rem;
  box-shadow: 0 8px 24px rgba(46, 44, 40, 0.035);
}

.sidebar-label {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  color: var(--accent-text);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.72rem;
}

/* カテゴリリスト（SVGアイコン付き） */
.category-list { list-style: none; }

.category-list li {
  font-size: 1rem;
  padding: 0.48rem 0.12rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.category-list li:last-child { border-bottom: none; }

.category-list-name {
  display: inline-flex;
  align-items: center;
  gap: 0.52em;
}

.category-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--accent-text);
  flex-shrink: 0;
}

.category-list-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.category-list-count {
  font-size: 0.88rem;
  color: var(--text-sub);
  background: #EEF2EC;
  padding: 2px 9px;
  border-radius: 10px;
  min-width: 28px;
  text-align: center;
  font-weight: 500;
}

/* プロフィールブロック */
.profile-block {
  text-align: center;
}

.profile-image-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.56rem;
}

.profile-image-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C5D4C0 0%, #8FA88B 100%);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.profile-image {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.profile-name {
  font-family: var(--serif);
  font-size: 1rem;
  margin-bottom: 0.34rem;
}

.profile-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.65;
  text-align: center;
}

.profile-observer-note {
  font-size: 0.86rem;
  color: var(--accent-text);
  font-style: italic;
  margin-top: 0.52rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  letter-spacing: 0.04em;
  text-align: center;
}

.profile-link-btn {
  display: block;
  margin-top: 0.7rem;
  padding: 0.42rem 0.75rem;
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  font-size: 0.88rem;
  text-align: center;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}

.profile-link-btn:hover {
  background: #4A6649;
}

/* YMYL ブロック */
.ymyl-block {
  font-size: 0.92rem;
}

.ymyl-label {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--accent-text);
  margin-bottom: 0.5rem;
}

.ymyl-desc {
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.ymyl-link {
  color: var(--accent-text);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.ymyl-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== Section Label ===== */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-header h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.section-icon,
.sidebar-label-icon,
.ymyl-label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.section-icon svg,
.sidebar-label-icon svg,
.ymyl-label-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sidebar-label,
.ymyl-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

.section-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* カテゴリ別ページのタイトル（H1）：section-header h2 より少し大きい */
.category-page-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
}
.category-page-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-text);
}
.category-page-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ===== このブログについて 4列フィーチャー ===== */
.about-section {
  padding: 22px 0 18px;
  border-top: 1px solid var(--line);
  position: relative;
}

.about-section::before {
  display: none;
}

.about-section .section-header {
  justify-content: center;
}

.about-section .section-header::after,
.about-section .section-header::before {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.about-section .section-header::before {
  flex: 0.3;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1.25rem;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #FDFCF9 0%, #E6EEE3 100%);
  border: 1px solid rgba(92, 122, 95, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(92, 122, 95, 0.08);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.feature-title {
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.feature-desc {
  font-size: 0.68rem;
  color: var(--text-sub);
  line-height: 1.85;
  padding: 0 0.4rem;
}

/* ===== メール購読 ===== */
.newsletter-section {
  background:
    linear-gradient(135deg, rgba(235, 240, 235, 0.94), rgba(253, 252, 249, 0.94));
  border: 1px solid rgba(92, 122, 95, 0.2);
  border-radius: 6px;
  max-width: 980px;
  padding: 0.82rem 1.05rem;
  margin: 12px auto 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.05rem;
  align-items: center;
}

.newsletter-icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.newsletter-title {
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.newsletter-desc {
  font-size: 0.64rem;
  color: var(--text-sub);
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
}

.newsletter-form input {
  padding: 0.44rem 0.72rem;
  font-size: 0.66rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  min-width: 210px;
  font-family: inherit;
  cursor: not-allowed;
}

.newsletter-form button {
  padding: 0.44rem 1rem;
  font-size: 0.66rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background 0.2s;
}

.newsletter-form button:hover {
  background: #4A6649;
}

.newsletter-note {
  font-size: 0.58rem;
  color: var(--text-sub);
  text-align: right;
  margin-top: 0.42rem;
  letter-spacing: 0.04em;
}

/* ===== Empty state ===== */
.empty-state {
  background:
    linear-gradient(135deg, rgba(253, 252, 249, 0.94), rgba(235, 240, 235, 0.86));
  border: 1px dashed rgba(92, 122, 95, 0.42);
  border-radius: 4px;
  padding: 2.2rem 1.4rem;
  text-align: center;
  color: #4B4741;
  font-size: 0.78rem;
}

/* ===== Post page ===== */

.post-disclaimer {
  background: #F5F2EC;
  border-left: 2px solid var(--line);
  padding: 0.7rem 1.1rem;
  margin: 0 0 2rem 0;
  border-radius: 0 3px 3px 0;
  font-size: 0.78rem;
  line-height: 1.7;
  color: var(--text-sub);
}

.post-disclaimer strong { color: var(--text-sub); font-weight: 500; }
.post-disclaimer a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }

.post-body p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.post-body h2 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin: 1.8rem 0 0.8rem;
  color: var(--text);
}

.post-body h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  margin: 2rem 0 0.8rem;
  color: var(--text);
}

.post-body ul,
.post-body ol { list-style: none; margin: 1rem 0 1.6rem 0.5rem; }

/* リストを中央/右寄せした時：リスト全体を寄せ、項目内は左揃え（列が崩れない） */
.article-body ul[style*="center"], .article-body ol[style*="center"],
.post-body ul[style*="center"], .post-body ol[style*="center"] { display: table; margin-left: auto; margin-right: auto; }
.article-body ul[style*="right"], .article-body ol[style*="right"],
.post-body ul[style*="right"], .post-body ol[style*="right"] { display: table; margin-left: auto; margin-right: 0; }
.article-body li, .post-body li { text-align: left; }

.post-body ul li,
.post-body ol li {
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--text);
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.4rem;
}

.post-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.post-body blockquote {
  background: var(--tag-bg);
  border-radius: 3px;
  padding: 1.4rem 1.8rem;
  margin: 2rem 0;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  font-style: italic;
}

.post-body code {
  background: #F0EDE7;
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 0.88em;
  font-family: 'SFMono-Regular', Consolas, monospace;
}

.post-body pre {
  background: #F0EDE7;
  padding: 1rem 1.2rem;
  border-radius: 3px;
  overflow-x: auto;
  margin: 1.4rem 0;
}

.post-body pre code {
  background: none;
  padding: 0;
  font-size: 0.88em;
}

.post-body strong { font-weight: 700; }

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--line);
  padding: 1.05rem 1.55rem 1.1rem;
  background: var(--bg);
  font-size: 0.86rem;
  color: var(--text-sub);
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 0;
}

body.page-home footer {
  width: min(100%, 1440px);
  max-width: calc(100vw - 48px);
  border-radius: 0 0 24px 24px;
}

.footer-inner {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1rem;
  align-items: start;
}

.footer-left {
  font-size: 0.82rem;
}

.footer-site-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.28rem;
  color: var(--text);
}

.footer-site-sub {
  margin-bottom: 0.42rem;
  font-size: 0.82rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-top: 0.42rem;
}

.footer-center {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  align-items: center;
}

.footer-links-row {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links-row a {
  color: var(--text);
  font-size: 0.86rem;
}

.footer-links-row a:hover { color: var(--accent-text); }

.footer-links-sub a {
  color: var(--accent-text);
  font-size: 0.82rem;
}

/* フッターのダミーリンク用「準備中」表記（アクセシブル）*/
.footer-link-disabled {
  color: var(--accent-text);
  font-size: 0.82rem;
  opacity: 0.6;
  cursor: default;
  pointer-events: none;
}

.footer-right {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}

.social-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-text);
  transition: all 0.2s;
  cursor: help;
  position: relative;
}

.social-icon svg {
  width: 17px;
  height: 17px;
  display: block;
}

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

/* ホバー時のツールチップ */
.social-icon::after {
  content: attr(data-label);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.social-icon:hover::after {
  opacity: 1;
}

/* ===== 記事ページ専用 ===== */

/* page-hero: 記事ページ上部の森林背景バンド（大きめ） */
.page-hero {
  width: min(100%, 1440px);
  max-width: calc(100vw - 48px);
  height: 320px;
  background-color: #E8EFE6;
  position: relative;
  margin: 0 auto;
  margin-bottom: -1px;
}
.page-hero-with-image {
  background-image:
    linear-gradient(
      to bottom,
      rgba(247, 245, 240, 0.45) 0%,
      rgba(247, 245, 240, 0.30) 40%,
      rgba(247, 245, 240, 0.75) 90%,
      rgba(247, 245, 240, 1) 100%
    ),
    url('/images/image.png?v=1780957316057');
  background-size: cover;
  background-position: center;
}

/* article-layout: 2カラム（本文 + サイドバー）— カード化なし、シンプル */
.article-layout {
  width: min(100%, 1440px);
  max-width: calc(100vw - 48px);
  margin: 0 auto;
  padding: 2rem 1.75rem 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.6rem;
  position: relative;
  z-index: 2;
  scroll-margin-top: 12px;
}

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.6rem 1.7rem 1.8rem;
  box-shadow: 0 12px 30px rgba(46, 44, 40, 0.07);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* breadcrumb */
.breadcrumb {
  font-size: 0.76rem;
  color: var(--text-sub);
  margin-bottom: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4em;
  letter-spacing: 0.04em;
}
.breadcrumb a {
  color: var(--accent-text);
}
.breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.breadcrumb-sep {
  color: var(--text-sub);
  margin: 0 0.2em;
}
.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

/* article-meta */
.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: var(--text-sub);
  flex-wrap: wrap;
}
.article-meta time {
  letter-spacing: 0.04em;
}

/* article-title */
.article-title {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
  color: var(--text);
}

/* article-eyecatch */
.article-eyecatch {
  margin: 0 0 2.4rem 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(46, 44, 40, 0.08);
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #DCE8DA 0%, #C5D4C0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-eyecatch img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* article-body は post-body と同じスタイルを継承 */
.article-body p,
.post-body p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* article-body の見出し（葉アイコン的な装飾を強調） */
.article-body h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin: 1.8rem 0 0.8rem;
  color: var(--text);
}
/* バーと🌿をインラインのセットにする＝中央寄せでも一緒に動く */
.article-body h2::before {
  content: "🌿 ";
  border-left: 3px solid var(--accent);
  padding-left: 0.5em;
  margin-right: 0.2em;
  font-size: 0.95em;
}

/* note-box: マークダウンの blockquote をハイライトボックス化 */
.article-body blockquote,
.post-body blockquote {
  background: #F5F2EC;
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  padding: 1.4rem 1.8rem;
  margin: 2rem 0;
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--text);
  font-style: normal;
}
.article-body blockquote strong,
.post-body blockquote strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--accent-text);
}
.article-body blockquote ol,
.article-body blockquote ul,
.post-body blockquote ol,
.post-body blockquote ul {
  margin: 0.4rem 0 0 1.2rem;
}
.article-body blockquote ol li,
.post-body blockquote ol li {
  list-style: decimal;
  padding-left: 0.4rem;
  margin-bottom: 0.3rem;
}

/* article-body table: result-table 風 */
.article-body table,
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.article-body table th,
.article-body table td,
.post-body table th,
.post-body table td {
  padding: 0.9rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.article-body table th,
.post-body table th {
  background: var(--accent);
  color: #F5F2EC;
  font-weight: 500;
  font-family: var(--serif);
  width: 30%;
}
.article-body table tr:last-child th,
.article-body table tr:last-child td,
.post-body table tr:last-child th,
.post-body table tr:last-child td {
  border-bottom: none;
}

/* article-pager */
.article-pager {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.article-pager .pager-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.article-pager .prev,
.article-pager .next {
  display: block;
  font-size: 0.82rem;
  line-height: 1.7;
  padding: 1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.article-pager .prev:hover,
.article-pager .next:hover {
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(46, 44, 40, 0.04);
}
.article-pager .pager-label {
  font-size: 0.72rem;
  color: var(--accent-text);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.4rem;
}
.article-pager .next {
  text-align: right;
}
.article-pager .back-to-list {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--accent-text);
  letter-spacing: 0.04em;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  transition: all 0.2s;
}
.article-pager .back-to-list:hover {
  border-color: var(--accent);
  background: var(--bg-card);
}

/* ===== Responsive ===== */
@media (min-width: 1080px) {
  .container { padding: 24px 1.75rem 18px; }
}


@media (max-width: 900px) {
  header,
  .hero,
  .page-hero,
  .container,
  body.page-home footer {
    width: 100%;
    max-width: 100%;
  }
  .hero { min-height: 310px; }
  .layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { padding-top: 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.4rem; text-align: center; }
  .footer-right { justify-content: center; }
  .footer-center { align-items: center; }
}

@media (max-width: 720px) {
  header { padding: 0 1.2rem; }
  .hero {
    min-height: 320px;
    padding: 30px 1.4rem 22px;
    background-position: center top;
  }
  .hero h1 {
    font-size: 1.72rem;
    line-height: 1.42;
  }
  .hero p {
    font-size: 0.78rem;
    line-height: 1.82;
  }
  .hero-a11y-note {
    margin-top: 22px;
    font-size: 0.72rem;
    text-align: left;
    white-space: normal;
  }
  .container { padding: 18px 1.1rem 0; }
  .article-card { grid-template-columns: 1fr; }
  .article-thumb { width: 100%; height: 180px; }
  .features-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: auto; width: 100%; }
  .newsletter-note { text-align: center; }
  .article-main { padding: 1.6rem 1.4rem; }
  .article-layout { padding: 0 1rem 40px; margin-top: -40px; }
  .article-pager .pager-grid { grid-template-columns: 1fr; }
  .page-hero { height: 160px; }
}

@media (max-width: 640px) {
  nav { display: none; }
}

@media (max-width: 520px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}
