:root {
  --bg: #f8fbff;
  --surface: rgba(255, 255, 255, 0.96);
  --line: #d9e5f1;
  --text: #334155;
  --heading: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-soft: #eff6ff;
  --shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.8;
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.42), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 65%, #f7fafc 100%);
}

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

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

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 229, 241, 0.8);
}

.header-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand__eyebrow {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.brand__title {
  color: var(--heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.header-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.header-nav a {
  color: var(--muted);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.header-nav a:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.header-nav__cta {
  color: #fff !important;
  background: linear-gradient(135deg, #16a34a, #06c755);
  box-shadow: 0 10px 20px rgba(6, 199, 85, 0.18);
}

.hero-block,
.article-hero-wrap {
  padding: 34px 0 24px;
}

.hero-block__inner,
.article-layout,
.cta-band__inner {
  display: grid;
  gap: 24px;
}

.hero-block__inner {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.hero-copy,
.hero-side,
.card-surface,
.article-card,
.post-card__link,
.side-card,
.cta-band__inner,
.related-post-card {
  background: var(--surface);
  border: 1px solid rgba(217, 229, 241, 0.92);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-side,
.card-surface,
.side-card,
.article-card,
.cta-band__inner,
.post-card__link,
.related-post-card,
.symptom-card {
  border-radius: var(--radius-xl);
}

.hero-copy,
.hero-side,
.card-surface,
.side-card,
.article-card__body,
.cta-band__inner {
  padding: 28px;
}

.hero-copy h1,
.section-heading h2,
.article-card h1,
.article-section h2,
.cta-band h2 {
  color: var(--heading);
  line-height: 1.35;
}

.hero-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-copy__lead,
.section-heading p,
.side-card p,
.footer-text {
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, #16a34a, #06c755);
}

.button--soft {
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid #bfdbfe;
}

.button--full {
  width: 100%;
}

.hero-side {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-side__title,
.footer-title {
  margin: 0 0 12px;
  color: var(--heading);
  font-weight: 700;
}

.category-grid,
.post-grid,
.symptom-grid,
.related-posts {
  display: grid;
  gap: 18px;
}

.category-card,
.symptom-card,
.faq-item,
.related-post-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
}

.section-block,
.article-main,
.cta-band {
  padding: 20px 0 64px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.eyebrow,
.side-card__eyebrow {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.post-card__link {
  display: block;
  height: 100%;
  overflow: hidden;
}

.post-card__thumb {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: #e2e8f0;
}

.post-card__thumb img,
.article-card__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__body {
  padding: 22px;
}

.post-card__meta,
.article-meta,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-card__meta,
.article-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.pill {
  color: var(--primary);
  background: var(--primary-soft);
  padding: 6px 10px;
}

.tag {
  color: #475569;
  background: #f1f5f9;
  padding: 6px 10px;
}

.post-card__body h2,
.article-card h1 {
  margin: 0 0 12px;
}

.post-card__body p,
.article-lead {
  margin: 0;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 700;
}

.text-link--block {
  display: block;
  margin-top: 0;
  padding: 8px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary);
}

.article-card {
  overflow: hidden;
}

.article-card__hero {
  aspect-ratio: 16 / 7;
  background: #dbeafe;
}

.article-card h1 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.article-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.article-section + .article-section {
  margin-top: 34px;
}

.article-section h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
}

.article-section h3 {
  margin: 24px 0 10px;
  color: var(--heading);
  font-size: 1.1rem;
}

.article-section p {
  margin: 0 0 16px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: var(--radius-md);
  background: #f8fbff;
  border: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.side-card + .side-card {
  margin-top: 16px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item summary {
  cursor: pointer;
  color: var(--heading);
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 10px 0 0;
}

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

.symptom-card__label,
.category-card__name {
  display: block;
  color: var(--heading);
  font-weight: 700;
  margin-bottom: 6px;
}

.symptom-card__description,
.category-card__description,
.related-post-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.related-post-card strong {
  display: block;
  margin: 10px 0 8px;
  color: var(--heading);
}

.cta-band__inner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.92), rgba(255, 255, 255, 0.98));
}

.cta-band h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 0 0 36px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(217, 229, 241, 0.9);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero-block__inner,
  .article-layout,
  .cta-band__inner,
  .post-grid,
  .symptom-grid,
  .related-posts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 24px, 1120px);
  }

  .header-row {
    padding: 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-copy,
  .hero-side,
  .card-surface,
  .side-card,
  .article-card__body,
  .cta-band__inner {
    padding: 22px 20px;
  }

  .article-card__hero {
    aspect-ratio: 16 / 10;
  }

  .hero-actions,
  .cta-band__actions,
  .footer-grid,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
