:root {
  color-scheme: light;
  --ink: #20231f;
  --muted: #62675f;
  --paper: #fff9ec;
  --paper-strong: #fff2d2;
  --field: #f3ead7;
  --moss: #384c38;
  --moss-soft: #dfe8d8;
  --rust: #c85d32;
  --rust-dark: #8d3a20;
  --blue: #244565;
  --line: rgba(32, 35, 31, 0.16);
  --shadow: 0 24px 80px rgba(48, 38, 20, 0.16);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.75;
  background:
    radial-gradient(circle at top left, rgba(200, 93, 50, 0.22), transparent 30rem),
    radial-gradient(circle at 80% 10%, rgba(36, 69, 101, 0.18), transparent 28rem),
    linear-gradient(135deg, rgba(56, 76, 56, 0.08) 0 25%, transparent 25% 50%, rgba(56, 76, 56, 0.08) 50% 75%, transparent 75%),
    var(--paper);
  background-size: auto, auto, 34px 34px, auto;
}

a {
  color: inherit;
}

.skip-link {
  left: 1rem;
  position: absolute;
  top: -5rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  margin: 0 auto;
  max-width: 1160px;
  padding: 0 22px;
}

.disclosure {
  background: var(--moss);
  color: #fffaf0;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.7rem 0;
}

.site-header {
  padding: 28px 0 14px;
}

.nav {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  background: var(--rust);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  color: white;
  display: inline-flex;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.45rem;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  transform: rotate(-3deg);
  width: 48px;
}

.brand-text {
  display: grid;
}

.brand-name {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.nav-links a {
  background: rgba(255, 249, 236, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
}

.hero {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  padding: 54px 0 42px;
}

.eyebrow {
  color: var(--rust-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.2rem, 7vw, 5.7rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
  margin: 0.2em 0;
}

.hero p,
.page-hero p {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  max-width: 720px;
}

.hero-card {
  align-self: end;
  animation: rise-in 700ms ease both;
  background: rgba(255, 242, 210, 0.86);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 8px 8px 0 var(--ink);
  padding: 24px;
}

.hero-card strong {
  display: block;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.55rem;
  line-height: 1.25;
}

.hero-card ul,
.check-list,
.plain-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  align-items: center;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: #fffdf6;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1rem;
  text-decoration: none;
}

.button.secondary {
  background: #fffdf6;
  color: var(--ink);
}

.section {
  padding: 42px 0;
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
  max-width: 520px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  background: rgba(255, 253, 246, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(48, 38, 20, 0.08);
  padding: 22px;
}

.category-card {
  border: 2px solid var(--ink);
  min-height: 250px;
  position: relative;
  text-decoration: none;
}

.category-card::after {
  background: var(--rust);
  border: 2px solid var(--ink);
  border-radius: 999px;
  bottom: 18px;
  color: white;
  content: "比較を見る";
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  position: absolute;
  right: 18px;
}

.category-card h3,
.product-card h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.45rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.muted {
  color: var(--muted);
}

.tag {
  background: var(--moss-soft);
  border: 1px solid rgba(56, 76, 56, 0.22);
  border-radius: 999px;
  color: var(--moss);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card .button {
  margin-top: auto;
}

.specs {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding-top: 14px;
}

.spec-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 7em 1fr;
}

.spec-row dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.spec-row dd {
  font-weight: 800;
  margin: 0;
}

.notice {
  background: #fff3dd;
  border: 2px dashed rgba(200, 93, 50, 0.48);
  border-radius: 20px;
  color: var(--rust-dark);
  font-size: 0.92rem;
  margin-top: 14px;
  padding: 12px 14px;
}

.page-hero {
  padding: 42px 0 26px;
}

.page-panel {
  background: rgba(255, 253, 246, 0.8);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 rgba(32, 35, 31, 0.9);
  margin-top: 22px;
  padding: 22px;
}

.comparison {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 760px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 16px 14px;
  text-align: left;
  vertical-align: top;
}

th {
  background: rgba(56, 76, 56, 0.12);
  color: var(--moss);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

td:first-child {
  font-weight: 800;
}

.article-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

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

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

.article-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
}

.article-thumb {
  background: var(--paper-strong);
  border: 2px solid var(--ink);
  border-radius: 22px;
  display: block;
  margin: -6px -6px 16px;
  overflow: hidden;
}

.article-thumb img,
.article-eyecatch img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.article-card h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.55rem;
  line-height: 1.25;
  margin: 0.55rem 0;
}

.article-card h3 a {
  text-decoration: none;
}

.article-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 8px 12px;
}

.article-meta span,
.article-meta time {
  align-items: center;
  display: inline-flex;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 16px;
  padding-top: 8px;
}

.article-tags span {
  background: rgba(200, 93, 50, 0.12);
  border: 1px solid rgba(200, 93, 50, 0.2);
  border-radius: 999px;
  color: var(--rust-dark);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
}

.text-link {
  color: var(--rust-dark);
  font-weight: 800;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.2em;
}

.update-strip {
  align-items: center;
  background: rgba(255, 253, 246, 0.88);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 5px 5px 0 rgba(32, 35, 31, 0.9);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 12px;
  padding: 12px 18px;
}

.update-strip span {
  background: var(--rust);
  border-radius: 999px;
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.18rem 0.65rem;
}

.update-strip a {
  font-weight: 800;
  text-decoration: none;
}

.update-strip time {
  color: var(--muted);
  font-size: 0.82rem;
}

.highlight-section {
  background: linear-gradient(135deg, rgba(56, 76, 56, 0.12), rgba(200, 93, 50, 0.08));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  padding-left: 24px;
  padding-right: 24px;
}

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

.category-grid-compact .category-card {
  min-height: 190px;
}

.article-hero h1 {
  max-width: 980px;
}

.article-eyecatch {
  background: rgba(255, 253, 246, 0.88);
  border: 2px solid var(--ink);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 8px 8px 0 rgba(32, 35, 31, 0.9);
  margin: 28px 0 0;
  max-width: 980px;
  overflow: hidden;
}

.hero-meta {
  margin-top: 18px;
}

.article-body {
  font-size: 1.04rem;
}

.article-body h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 2.2rem 0 0.8rem;
}

.article-body p {
  margin: 1rem 0;
}

.callout {
  background: var(--paper-strong);
  border: 2px dashed rgba(200, 93, 50, 0.5);
  border-radius: 22px;
  margin: 24px 0;
  padding: 18px;
}

.callout strong {
  color: var(--rust-dark);
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.article-product-section,
.category-link-section {
  margin-top: 34px;
}

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

.product-card-compact .notice {
  font-size: 0.82rem;
}

.side-stack {
  display: grid;
  gap: 18px;
}

.side-card {
  align-self: start;
  position: sticky;
  top: 20px;
}

.side-stack .side-card {
  position: static;
}

.side-product-card {
  display: grid;
  gap: 10px;
}

.side-product-card h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  margin: 0;
}

.side-product-card a {
  border-top: 1px solid var(--line);
  font-weight: 800;
  padding-top: 10px;
  text-decoration: none;
}

.related-section {
  padding-bottom: 0;
}

.related-section .section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.article-product-section h2,
.category-link-section h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.details h2,
.details h3 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq-item h3 {
  margin: 0 0 0.45rem;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 60px;
  padding: 34px 0;
}

.footer a {
  margin-right: 16px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px) rotate(1deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

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

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

  .side-card {
    position: static;
  }
}

@media (max-width: 680px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(200, 93, 50, 0.2), transparent 20rem),
      radial-gradient(circle at 100% 0, rgba(36, 69, 101, 0.14), transparent 18rem),
      var(--paper);
  }

  .site-shell {
    padding: 0 14px;
  }

  .disclosure {
    font-size: 0.78rem;
    line-height: 1.55;
    padding: 0.55rem 0;
  }

  .site-header {
    padding: 18px 0 6px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    border-radius: 14px;
    box-shadow: 4px 4px 0 var(--ink);
    font-size: 1.1rem;
    height: 40px;
    width: 40px;
  }

  .brand-name {
    font-size: 1.08rem;
    letter-spacing: 0.05em;
  }

  .brand-sub {
    font-size: 0.72rem;
    line-height: 1.4;
    max-width: 18rem;
  }

  .nav-links {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    width: 100%;
  }

  .nav-links a {
    align-items: center;
    display: inline-flex;
    font-size: 0.82rem;
    justify-content: center;
    min-height: 42px;
    padding: 0.45rem 0.55rem;
    text-align: center;
  }

  .hero,
  .page-hero {
    padding: 28px 0 20px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.25rem, 14vw, 3.7rem);
    letter-spacing: -0.08em;
    line-height: 1;
  }

  .hero p,
  .page-hero p {
    font-size: 0.98rem;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .cta-row {
    display: grid;
    gap: 10px;
  }

  .button {
    min-height: 50px;
    padding: 0.7rem 1rem;
    width: 100%;
  }

  .category-grid,
  .product-grid,
  .article-grid,
  .article-grid-large,
  .article-product-grid,
  .category-grid-compact {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 30px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
  }

  .section-heading h2 {
    font-size: clamp(1.65rem, 9vw, 2.5rem);
  }

  .update-strip {
    align-items: flex-start;
    border-radius: 22px;
    flex-direction: column;
    padding: 14px;
  }

  .highlight-section {
    border-radius: 24px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .card {
    border-radius: 22px;
    padding: 18px;
  }

  .category-card {
    min-height: 0;
    padding-bottom: 64px;
  }

  .hero-card {
    box-shadow: var(--shadow), 5px 5px 0 var(--ink);
    padding: 20px;
  }

  .hero-card strong {
    font-size: 1.25rem;
  }

  .page-panel {
    border-radius: 22px;
    box-shadow: 5px 5px 0 rgba(32, 35, 31, 0.9);
    padding: 18px;
  }

  .spec-row {
    gap: 4px;
    grid-template-columns: 1fr;
  }

  .product-card .button {
    margin-top: 14px;
  }

  .article-card h3 {
    font-size: 1.32rem;
  }

  .article-thumb {
    border-radius: 18px;
    margin: -4px -4px 14px;
  }

  .article-eyecatch {
    border-radius: 22px;
    box-shadow: 5px 5px 0 rgba(32, 35, 31, 0.9);
    margin-top: 20px;
  }

  .article-body {
    font-size: 1rem;
  }

  .article-body h2 {
    font-size: 1.48rem;
    margin-top: 1.8rem;
  }

  .article-tags {
    margin-bottom: 14px;
  }

  .comparison {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
    padding: 0;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  table {
    min-width: 0;
  }

  thead {
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
  }

  tbody {
    display: grid;
    gap: 14px;
  }

  tr {
    background: rgba(255, 253, 246, 0.92);
    border: 2px solid var(--ink);
    border-radius: 22px;
    box-shadow: 5px 5px 0 rgba(32, 35, 31, 0.88);
    padding: 14px;
  }

  td {
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(6.5em, 34%) 1fr;
    padding: 10px 0;
  }

  td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  td:first-child {
    font-size: 1.05rem;
  }

  td:first-child::before {
    padding-top: 0.1rem;
  }

  td:last-child {
    border-bottom: 0;
  }

  td a {
    align-items: center;
    background: var(--ink);
    border-radius: 999px;
    color: #fffdf6;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 44px;
    padding: 0.55rem 0.8rem;
    text-decoration: none;
  }

  .details h2 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .footer {
    font-size: 0.9rem;
    margin-top: 38px;
    padding: 28px 0;
  }

  .footer a {
    display: inline-flex;
    margin: 0 12px 8px 0;
  }
}

@media (max-width: 420px) {
  .nav-links {
    grid-template-columns: 1fr;
  }

  td {
    grid-template-columns: 1fr;
  }

  td a {
    width: 100%;
  }
}
