:root {
  --ink: #27231f;
  --muted: #7d756b;
  --paper: #fffdf7;
  --line: #e6ddc8;
  --marker: #fff2a6;
  --accent: #f0a33a;
  --green: #19a84a;
  --green-dark: #0f7a34;
  --blue: #3275a8;
  --soft-blue: #eaf5fb;
  --soft-green: #eef8e8;
  --soft-orange: #fff3df;
  --shadow: 0 10px 22px rgba(72, 55, 30, .10);
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(243, 232, 205, .35) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(243, 232, 205, .35) 0 1px, transparent 1px 100%),
    #f8f2e7;
  background-size: 28px 28px;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0;
}

a {
  color: #1d6da3;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.page {
  width: min(820px, calc(100% - 28px));
  margin: 0 auto 44px;
  background: var(--paper);
  box-shadow: 0 18px 45px rgba(60, 45, 25, .14);
  border-left: 1px solid rgba(160, 132, 83, .22);
  border-right: 1px solid rgba(160, 132, 83, .22);
}

.inner {
  width: min(700px, calc(100% - 34px));
  margin: 0 auto;
}

.first-view {
  padding: 24px 0 28px;
  border-bottom: 1px solid var(--line);
}

.fv-img {
  overflow: hidden;
  border: 1px solid #d7c59f;
  border-radius: 6px;
  background: #fff7df;
  box-shadow: var(--shadow);
}

.promotion {
  margin: 7px 0 18px;
  color: #aaa39b;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 9px;
  border: 1px solid #e5cf84;
  border-radius: 999px;
  background: #fff7c7;
  color: #705000;
  font-size: 13px;
  font-weight: 700;
}

h1 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.36;
  letter-spacing: 0;
}

.lead {
  margin: 0 0 20px;
  color: #403a34;
  font-size: 17px;
}

.lead strong,
.marker {
  background: linear-gradient(transparent 58%, var(--marker) 58%);
  font-weight: 800;
}

.cta-row {
  margin: 22px 0 8px;
}

.ranking-jump {
  display: flex;
  justify-content: center;
  margin: 18px 0 22px;
}

.jump-btn {
  display: inline-flex;
  width: min(100%, 430px);
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #f5a45d;
  box-shadow: 0 5px 0 #d2823a, 0 8px 15px rgba(72, 55, 30, .16);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  padding: 10px 20px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.jump-btn:hover {
  background: #ffad66;
  transform: translateY(2px);
  box-shadow: 0 3px 0 #d2823a, 0 6px 12px rgba(72, 55, 30, .14);
}

.btn {
  display: inline-flex;
  width: min(100%, 470px);
  min-height: 62px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--green);
  box-shadow: 0 5px 0 var(--green-dark), 0 10px 18px rgba(0, 0, 0, .16);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  padding: 12px 22px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  animation: button-purun 3.8s ease-in-out infinite;
  transform-origin: center;
}

.btn:hover {
  background: #16b852;
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--green-dark), 0 7px 14px rgba(0, 0, 0, .14);
}

@keyframes button-purun {
  0%,
  74%,
  100% {
    transform: scale(1);
  }

  78% {
    transform: scale(1.035, .965);
  }

  82% {
    transform: scale(.975, 1.035);
  }

  86% {
    transform: scale(1.015, .985);
  }

  90% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    animation: none;
  }
}

.subnote {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.toc {
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px dashed #d7c59f;
  border-radius: var(--radius);
  background: #fffaf0;
}

.toc strong {
  display: block;
  margin-bottom: 6px;
}

.toc ol {
  margin: 0;
  padding-left: 1.35em;
}

section {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-left: 7px solid var(--accent);
  border-bottom: 2px solid #f2d08b;
  background: #fff8dc;
  font-size: 26px;
  line-height: 1.42;
  letter-spacing: 0;
}

h3 {
  margin: 26px 0 12px;
  padding-left: 10px;
  border-left: 4px solid #7bb46a;
  font-size: 20px;
  line-height: 1.48;
  letter-spacing: 0;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin-top: 0;
}

.section-illust {
  width: min(100%, 520px);
  margin: 0 auto 20px;
  overflow: hidden;
  border: 1px solid #e0d0aa;
  border-radius: 6px;
  background: #fff8e8;
  box-shadow: var(--shadow);
}

.section-illust.wide {
  width: min(100%, 640px);
}

.note-box {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #ead7a5;
  border-radius: var(--radius);
  background: #fff9e8;
}

.danger-list li,
.good-list li {
  margin-bottom: 8px;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(170px, 230px);
  gap: 10px;
  align-items: end;
  margin: 22px 0 12px;
  scroll-margin-top: 14px;
}

.toolbar label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 4px;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbbd9e;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  padding: 8px 11px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #d7c59f;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.ranking-toggle-wrap {
  display: flex;
  justify-content: center;
  margin: 14px 0 4px;
}

.ranking-toggle {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: #f5a45d;
  box-shadow: 0 4px 0 #d2823a, 0 8px 14px rgba(72, 55, 30, .14);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  padding: 10px 22px;
}

.ranking-toggle:hover {
  transform: translateY(1px);
  box-shadow: 0 3px 0 #d2823a, 0 6px 12px rgba(72, 55, 30, .12);
}

table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.65;
}

th,
td {
  border-bottom: 1px solid #eadfc5;
  padding: 11px 9px;
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #3d3329;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
}

th:nth-child(1),
td:nth-child(1) {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 48px;
  min-width: 48px;
  max-width: 48px;
  padding-left: 7px;
  padding-right: 6px;
}

th:nth-child(2),
td:nth-child(2) {
  position: sticky;
  left: 48px;
  z-index: 3;
  width: 162px;
  min-width: 162px;
  max-width: 162px;
  box-shadow: 4px 0 8px rgba(55, 43, 27, .10);
  word-break: break-word;
}

th:nth-child(1),
th:nth-child(2) {
  z-index: 5;
  background: #3d3329;
}

td:nth-child(1),
td:nth-child(2) {
  z-index: 4;
  background: #fff;
}

tbody tr:nth-child(even) td:nth-child(1),
tbody tr:nth-child(even) td:nth-child(2) {
  background: #fffaf1;
}

tbody tr.featured td:nth-child(1),
tbody tr.featured td:nth-child(2) {
  background: #fff2a6;
}

tbody tr:nth-child(even) {
  background: #fffaf1;
}

tbody tr.featured {
  background: #fff2a6;
}

.rank {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eee4cf;
  color: #352b22;
  font-weight: 800;
}

.featured .rank {
  background: #f0a33a;
  color: #fff;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #cddfbf;
  background: #f0fae8;
  color: #315a22;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  padding: 3px 8px;
  margin: 0 4px 4px 0;
  white-space: nowrap;
}

.service-logo {
  width: 56px;
  height: 56px;
  margin: 0 0 8px;
  border: 1px solid #dfd0b0;
  border-radius: 5px;
  background: #fff;
  object-fit: contain;
  padding: 6px;
  box-shadow: 0 4px 10px rgba(72, 55, 30, .10);
}

.top5 {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.review-card {
  border: 1px solid #decda7;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(72, 55, 30, .08);
  padding: 17px;
}

.review-card h3 {
  margin-top: 0;
}

.review-shot-link {
  display: block;
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid #decda7;
  border-radius: 7px;
  background: #f6eddc;
  box-shadow: 0 7px 16px rgba(72, 55, 30, .10);
}

.review-shot-link img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .18s ease;
}

.review-shot-link:hover img {
  transform: scale(1.015);
}

.review-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.mini-box {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #e3d7bd;
  background: #fffaf0;
}

.mini-box strong {
  display: block;
  margin-bottom: 4px;
}

.tweet-embed {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e3d7bd;
  border-radius: 7px;
  background: #fffaf0;
}

.tweet-embed strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}

.tweet-embed .twitter-tweet {
  margin: 0 auto !important;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.talk {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
}

.talk.answer {
  grid-template-columns: 1fr 72px;
}

.talk.answer .talk-text {
  grid-column: 1;
  grid-row: 1;
  background: var(--soft-green);
}

.talk.answer .person {
  grid-column: 2;
  grid-row: 1;
}

.person {
  width: 68px;
  height: 68px;
  border: 2px solid #e2d2b1;
  border-radius: 50%;
  object-fit: cover;
  background: #fff8e8;
  box-shadow: 0 4px 12px rgba(72, 55, 30, .12);
}

.talk-text {
  position: relative;
  border: 1px solid #dfd2b7;
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
  box-shadow: 0 6px 14px rgba(72, 55, 30, .07);
}

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

.summary-cta {
  margin-top: 20px;
  padding: 18px;
  border: 2px solid #f1cd78;
  border-radius: 8px;
  background: #fff8dd;
  text-align: center;
}

.legal-note {
  padding: 22px 0 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.legal-note p {
  margin-bottom: 8px;
}

.commerce-law-link {
  padding: 0 0 38px;
  text-align: center;
  font-size: 13px;
}

.commerce-law-link a {
  color: #aaa39a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.commerce-law-link a:hover {
  color: #81786c;
}

.return-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0 4px;
}

.return-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid #d5bd87;
  background: #fff8dc;
  box-shadow: 0 4px 0 #d8bb74;
  color: #5a4014;
  font-weight: 800;
  line-height: 1.4;
  padding: 9px 18px;
  text-decoration: none;
}

.return-btn:hover {
  transform: translateY(1px);
  box-shadow: 0 3px 0 #d8bb74;
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
    line-height: 1.9;
  }

  .page {
    width: 100%;
    margin-bottom: 0;
    border: 0;
  }

  .inner {
    width: calc(100% - 28px);
  }

  .first-view {
    padding-top: 14px;
  }

  h1 {
    font-size: 25px;
    line-height: 1.45;
  }

  h2 {
    font-size: 23px;
  }

  .toolbar,
  .review-points {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    min-height: 66px;
    font-size: 18px;
  }

  .talk,
  .talk.answer {
    grid-template-columns: 58px 1fr;
  }

  .talk.answer .person {
    grid-column: 1;
  }

  .talk.answer .talk-text {
    grid-column: 2;
  }

  .person {
    width: 56px;
    height: 56px;
  }

  th:nth-child(1),
  td:nth-child(1) {
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    padding-left: 5px;
    padding-right: 4px;
  }

  th:nth-child(2),
  td:nth-child(2) {
    left: 38px;
    width: 124px;
    min-width: 124px;
    max-width: 124px;
  }

  .rank {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  td:nth-child(2) strong {
    font-size: 13px;
    line-height: 1.45;
  }

  .service-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
  }

  .tag {
    font-size: 11px;
    padding: 2px 5px;
    margin-right: 2px;
  }
}
