* {
  box-sizing: border-box;
}

:root {
  --ink: #25323a;
  --muted: #65727a;
  --line: #e4e8eb;
  --soft: #f7f9fa;
  --paper: #ffffff;
  --green: #16866f;
  --green-dark: #0e5f50;
  --mint: #e8f7f2;
  --coral: #e9543f;
  --yellow: #fff2b8;
  --blue: #256b8a;
  --cream: #fff8eb;
  --shadow: 0 10px 26px rgba(31, 45, 61, .08);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.85;
  background: #f5f7f8;
}

a {
  color: var(--green-dark);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

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

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--green-dark);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-size: 13px;
  font-weight: 800;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 36px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 4px 11px;
  color: #7a4318;
  background: #fff2df;
  border: 1px solid #f0d1a9;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(31px, 4.5vw, 50px);
}

.lead {
  margin: 20px 0 0;
  color: #3f4d54;
  font-size: 17px;
  font-weight: 700;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  min-height: 0;
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.hero-points strong {
  display: block;
  margin-bottom: 7px;
  color: #202b31;
  font-size: 14px;
}

.hero-points span {
  display: block;
  color: #53636b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.75;
}

.hero-media {
  width: 100%;
  margin: 24px 0 0;
  aspect-ratio: 16 / 7;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  background: #fff;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main {
  padding: 30px 0 52px;
}

.section {
  margin: 0 0 28px;
}

.section h2 {
  margin: 0 0 14px;
  color: #202b31;
  font-size: clamp(24px, 3vw, 31px);
  padding-left: 12px;
  border-left: 5px solid var(--green);
}

.section-lead {
  margin: -4px 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.summary-box,
.content-box {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(33, 73, 62, .06);
}

.summary-box ul {
  margin: 0;
  padding-left: 20px;
}

.intro-panel {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.intro-panel p {
  margin: 0 0 12px;
}

.intro-panel p:last-child {
  margin-bottom: 0;
}

.point-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.point-list li {
  padding: 14px;
  background: var(--cream);
  border: 1px solid #efd7ad;
  border-radius: 8px;
  font-weight: 800;
}

.comparison-table th,
.comparison-table td {
  font-size: 14px;
}

.comparison-table td:first-child {
  font-weight: 900;
  color: var(--green-dark);
}

.ranking-board {
  display: grid;
  gap: 12px;
  margin: 18px 0 24px;
}

.ranking-tile {
  display: grid;
  grid-template-columns: 58px minmax(210px, .9fr) minmax(320px, 1.25fr) 96px;
  align-items: center;
  gap: 16px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid #9eb5bf;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(31, 45, 61, .06);
}

.ranking-tile.top {
  border-left-color: var(--coral);
  background: linear-gradient(90deg, #fff7ee 0%, #fff 34%);
}

.ranking-tile.rank-2 {
  border-left-color: #31a68d;
}

.ranking-tile.rank-3 {
  border-left-color: #e2a843;
}

.ranking-tile.rank-4 {
  border-left-color: #6c91bd;
}

.ranking-tile.rank-5 {
  border-left-color: #9a8fc2;
}

.tile-rank {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #9eb5bf;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}

.ranking-tile.top .tile-rank {
  background: var(--coral);
}

.ranking-tile.rank-2 .tile-rank {
  background: #31a68d;
}

.ranking-tile.rank-3 .tile-rank {
  background: #e2a843;
}

.ranking-tile.rank-4 .tile-rank {
  background: #6c91bd;
}

.ranking-tile.rank-5 .tile-rank {
  background: #9a8fc2;
}

.tile-main h3 {
  margin: 0 0 4px;
  color: #202b31;
  font-size: 20px;
}

.tile-main p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.ranking-tile dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.ranking-tile dl div {
  min-height: 74px;
  padding: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ranking-tile dt {
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
}

.ranking-tile dd {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.ranking-tile > a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--green);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.marker {
  font-weight: 900;
  background: linear-gradient(transparent 58%, #fff0a8 58%);
}

.ranking-list {
  display: grid;
  gap: 26px;
  margin-top: 22px;
}

.service-card {
  display: block;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.rank {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 10px 10px 0;
  padding: 7px 12px;
  color: #fff;
  background: var(--coral);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.rank strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.rank-muted {
  background: #8b98a0;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 31px);
}

.service-summary .rank + h3 {
  display: inline;
  margin: 0;
  vertical-align: middle;
}

.service-summary .rank + h3 + p {
  margin-top: 8px;
}

.service-head {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.service-head::after {
  content: "";
  display: block;
  clear: both;
}

.service-shot {
  float: right;
  width: min(50%, 460px);
  margin: 0 0 16px 24px;
  overflow: hidden;
  background: #f4f6f7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.service-summary {
  padding: 0;
}

.service-summary p {
  margin: 0 0 12px;
}

.service-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 20px 22px 22px;
  align-items: start;
}

.review-panel {
  display: grid;
  gap: 14px;
}

.review-tendency {
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-tendency h4,
.fit-card h4 {
  margin: 0 0 8px;
  color: #202b31;
  font-size: 17px;
}

.review-note {
  margin: 0 0 10px;
  color: #5d6b72;
  font-size: 12px;
  line-height: 1.7;
}

.review-tendency p:last-child {
  margin: 0;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  align-items: start;
  margin-top: 14px;
}

.review-list blockquote {
  position: relative;
  margin: 0;
  padding: 15px 16px;
  color: #33444c;
  background: #fff;
  border: 1px solid #a8ddd5;
  border-radius: 8px;
  box-shadow: 0 3px 0 rgba(23, 134, 111, .12);
  font-size: 14px;
  line-height: 1.9;
}

.review-list blockquote::before {
  content: "";
  position: absolute;
  left: -11px;
  top: 28px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-left: 1px solid #a8ddd5;
  border-bottom: 1px solid #a8ddd5;
  transform: rotate(45deg);
}

.review-list strong {
  color: var(--green-dark);
  font-weight: 900;
  background: linear-gradient(transparent 58%, #fff0a8 58%);
}

.review-list cite {
  display: block;
  margin-top: 10px;
  color: #405058;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.fit-card {
  padding: 15px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  align-self: stretch;
}

.fit-card.negative {
  background: #fffaf1;
  border-color: #efd7ad;
}

.fit-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}

.tag {
  padding: 3px 8px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.score-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  list-style: none;
  background: #fffaf1;
  border: 1px solid #f0d7af;
  border-radius: 8px;
  font-size: 20px;
}

.score-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0;
  border-bottom: 0;
  color: #26343b;
  font-weight: 800;
  line-height: 1.2;
}

.score-list strong {
  color: var(--coral);
  min-width: auto;
  font-size: 32px;
  line-height: 1.1;
  text-align: left;
  font-weight: 900;
}

.actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.actions .button {
  grid-column: auto;
  width: 100%;
  min-height: 56px;
  font-size: 18px;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
}

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

.button.secondary {
  color: var(--green-dark);
  background: var(--mint);
  border: 1px solid #bee5db;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-card {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(31, 45, 61, .05);
}

.mini-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.text-panel {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(31, 45, 61, .06);
}

.text-panel p {
  margin: 0 0 14px;
  color: #405058;
  font-weight: 700;
}

.text-panel p:last-child {
  margin-bottom: 0;
}

.visual-table {
  margin: 16px 0;
  overflow-x: auto;
  border: 1px solid #d7ebe6;
  border-radius: 8px;
  background: #fff;
}

.visual-table table {
  min-width: 720px;
}

.visual-table th {
  background: #eef8f5;
  color: var(--green-dark);
}

.visual-table td:first-child {
  color: #202b31;
  font-weight: 900;
  white-space: nowrap;
}

.criteria-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.criteria-flow div {
  position: relative;
  min-height: 148px;
  padding: 16px 14px 14px;
  background: #f8fbfb;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px;
}

.criteria-flow span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.criteria-flow strong {
  display: block;
  color: #202b31;
  font-size: 16px;
}

.criteria-flow p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.text-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  color: var(--green-dark);
  background: var(--mint);
  border: 1px solid #bee5db;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

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

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(31, 45, 61, .05);
}

.faq-list summary {
  cursor: pointer;
  padding: 16px 18px;
  color: #202b31;
  font-size: 17px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px;
  color: #405058;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

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

th {
  color: #202b31;
  background: #eef5f3;
  font-size: 13px;
}

.breadcrumb {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.article-header {
  padding: 30px 0 20px;
}

.article-header h1 {
  font-size: clamp(30px, 4vw, 46px);
}

.article-hero-image {
  margin: 22px 0 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.article-hero-image.review-hero-shot {
  background: #f4f6f7;
}

.article-hero-image.review-hero-shot img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: top center;
}

.author-box {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.author-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.author-box p {
  margin: 0;
  color: #405058;
  font-size: 13px;
  line-height: 1.75;
}

.author-box strong {
  display: block;
  color: #202b31;
  font-size: 15px;
}

.article-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}

.article-points div {
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-points strong {
  display: block;
  margin-bottom: 5px;
  color: #202b31;
  font-size: 14px;
}

.article-points span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.article-body {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-body h2 {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--green-dark);
  font-size: 24px;
}

.article-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.article-body h3 {
  margin-top: 22px;
  font-size: 19px;
}

.article-body p {
  margin: 0 0 14px;
}

.article-body ul {
  padding-left: 22px;
}

.article-visual {
  margin: 18px 0 22px;
  padding: 16px;
  background: #f8fbfb;
  border: 1px solid #d7ebe6;
  border-radius: 8px;
}

.article-visual h3 {
  margin: 0 0 12px;
  color: #202b31;
  font-size: 18px;
}

.article-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.article-visual-grid div {
  min-height: 112px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-visual-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: 14px;
}

.article-visual-grid span {
  color: #53636b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.article-check-table {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-check-table table {
  min-width: 680px;
}

.article-faq {
  margin-top: 30px;
  margin-bottom: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.article-faq h3 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  color: var(--green-dark);
  font-size: 22px;
}

.side-box {
  position: sticky;
  top: 86px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.side-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.side-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
}

.site-footer {
  padding: 28px 0;
  color: #68757c;
  background: #eaf5f1;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 860px) {
  .header-inner {
    min-height: auto;
    padding: 12px 0;
    display: block;
  }

  .nav {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  h1 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }

  .hero-points,
  .grid,
  .point-list,
  .article-points,
  .article-visual-grid,
  .criteria-flow {
    grid-template-columns: 1fr;
  }

  .ranking-tile {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .ranking-tile dl {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .ranking-tile > a {
    grid-column: 1 / -1;
  }

  .service-body,
  .fit-grid,
  .review-list {
    grid-template-columns: 1fr;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .actions .button {
    grid-column: auto;
    grid-row: auto;
  }

  .score-list {
    gap: 6px;
    font-size: 14px;
  }

  .score-list li {
    flex-direction: column;
    gap: 2px;
  }

  .score-list strong {
    font-size: 24px;
  }

  .actions .button {
    min-height: 50px;
    font-size: 15px;
  }

  .service-shot {
    float: none;
    width: 100%;
    margin: 0 0 16px;
  }

  .rank {
    width: fit-content;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .side-box {
    position: static;
  }
}
