:root {
  --ink: #173a2d;
  --muted: #61746b;
  --white: #fff;
  --canvas: #f4f9f6;
  --green-soft: #e9f6ee;
  --green: #2f7d59;
  --green-dark: #18563b;
  --line: #d9e8df;
  --warning: #fff8ed;
  --warning-line: #e3b36e;
  --shadow: 0 14px 38px rgba(32, 91, 65, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.8; }
button, input { font: inherit; }
[hidden] { display: none !important; }
a { color: var(--green-dark); }
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-dark);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(100% - 32px, 1040px); margin-inline: auto; }
.article-width { max-width: 820px; }

.pr-bar { padding: 8px 16px; color: var(--green-dark); background: var(--green-soft); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 800; text-align: center; }
.topbar { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.topbar-inner { display: flex; min-height: 68px; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 172px; height: auto; }
.head-link { position: relative; padding-right: 19px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.head-link::after { content: ""; position: absolute; right: 2px; top: 42%; width: 7px; height: 7px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(45deg); }

.article-hero { padding: 42px 0 46px; background: linear-gradient(180deg, #f2fbf6 0%, #fff 100%); }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
.cluster-mark { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--white); background: var(--green); font-size: 12px; font-weight: 900; }
.type-badge { display: inline-flex; align-items: center; min-height: 23px; padding: 4px 8px; border-radius: 999px; color: var(--green-dark); background: var(--green-soft); font-size: 12px; line-height: 1; }
.article-hero h1 { max-width: none; margin: 0; color: #25323a; font-size: clamp(38px, 3.4vw, 48px); line-height: 1.18; letter-spacing: -.045em; }
.article-hero h1 .h1-part { display: block; white-space: nowrap; }
.lead { max-width: 43em; margin: 17px 0 0; color: var(--muted); font-size: 16px; }

.image-slot {
  display: grid;
  min-height: 250px;
  align-items: end;
  margin: 52px 0 0;
  padding: 18px;
  overflow: hidden;
  border-radius: 22px;
  background-image: var(--article-image), linear-gradient(135deg, var(--green-soft), #f8efe9);
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}
.image-slot-hero { min-height: 300px; margin-top: 25px; }
.image-slot figcaption { width: fit-content; max-width: 90%; padding: 7px 11px; border-radius: 10px; color: var(--ink); background: rgba(255,255,255,.92); font-size: 13px; font-weight: 700; }

.answer-card { margin-top: 26px; padding: 19px; border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.answer-label {
  margin: 0 0 11px;
  color: #000;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 225, 103, .72);
  text-decoration-thickness: 10px;
  text-underline-offset: -.18em;
  text-decoration-skip-ink: none;
}
.answer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.answer-item { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; min-width: 0; padding: 14px; border-radius: 16px; background: var(--canvas); }
.answer-item > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: var(--green-dark); background: var(--green-soft); font-size: 14px; font-weight: 900; line-height: 1; }
.answer-item:nth-child(1) { border: 1px solid #d5ecdd; background: #eff8f2; }
.answer-item:nth-child(1) > span { color: #17613f; background: #dff2e6; }
.answer-item:nth-child(2) { border: 1px solid #d7e8f3; background: #eef6fb; }
.answer-item:nth-child(2) > span { color: #245f7c; background: #dcecf7; }
.answer-item:nth-child(3) { border: 1px solid #f0dfcc; background: #fff6ea; }
.answer-item:nth-child(3) > span { color: #87501f; background: #f8e4ce; }
.answer-item > span { font-size: 14px; }
.answer-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.answer-item strong { color: var(--ink); }

.article-body { padding-bottom: 68px; }
.article-body > section { padding: 58px 0 4px; }
.article-body h2 { max-width: 23em; margin: 0 0 17px; font-size: clamp(26px, 5vw, 34px); line-height: 1.35; letter-spacing: -.035em; }
.ccl-page main .article-body h2::before { margin-left: 4px; border-radius: 50%; }
.heading-highlight {
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 225, 103, .72);
  text-decoration-thickness: 10px;
  text-underline-offset: -.18em;
  text-decoration-skip-ink: none;
}
.green-heading { color: #000; }
.green-heading .heading-highlight { color: #1f6b4d; }
.heading-lead { font-size: 1.25em; line-height: 1; }
.heading-watashi { display: inline-block; transform: rotate(-5deg) translateY(-1px); transform-origin: center; }
.heading-question { display: inline-block; transform: rotate(8deg) translateY(1px); transform-origin: center; }
.heading-keep { white-space: nowrap; }
.company-name { color: #58708f; font-weight: 800; }
.article-body p { margin: 0 0 14px; }
.section-answer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px !important;
  padding: 15px 18px;
  overflow: hidden;
  border: 1px solid #dbe9e1;
  border-radius: 18px;
  color: #29463a;
  background:
    radial-gradient(circle at 96% 28%, rgba(142, 159, 204, .12) 0 28px, transparent 29px),
    linear-gradient(125deg, #f3faf6, #fbf9ff);
  box-shadow: 0 7px 18px rgba(51, 87, 73, .06);
}
.section-answer b {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #63ad86, #7f94c4);
  box-shadow: 0 4px 10px rgba(71, 119, 100, .14);
  font-size: 13px;
}
.section-number {
  display: inline-grid;
  position: relative;
  width: 48px;
  min-width: 48px;
  height: 48px;
  margin: 0 0 12px !important;
  padding: 0;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #594b68;
  background: linear-gradient(135deg, #ffe5ef 0%, #e6f3ff 100%);
  box-shadow: 0 0 0 1px #eedde8, 0 8px 18px rgba(104, 88, 128, .14);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
}
.note-box { margin-top: 20px !important; padding: 14px 16px; border-left: 4px solid var(--warning-line); border-radius: 12px; color: #635745; background: var(--warning); font-size: 14px; }

.salary-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.salary-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.salary-table th, .salary-table td { padding: 14px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.salary-table thead th { color: var(--green-dark); background: var(--green-soft); font-size: 12px; }
.salary-table thead th:nth-child(1) { background: #e9f7ef; }
.salary-table thead th:nth-child(2) { color: #245f7c; background: #eaf4fb; }
.salary-table thead th:nth-child(3) { color: #6b5188; background: #f3eefb; }
.salary-table thead th:nth-child(4) { color: #87501f; background: #fff1e6; }
.salary-table tbody tr:last-child > * { border-bottom: 0; }
.salary-table tbody th { width: 21%; background: linear-gradient(90deg, #f7fcf9 0%, #fff 100%); }
.salary-table tbody th > a {
  position: relative;
  display: inline-block;
  padding-left: 13px;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
  text-decoration-color: rgba(24, 86, 59, .32);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.salary-table tbody th > a::before {
  content: "";
  position: absolute;
  top: .18em;
  bottom: .18em;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: var(--green);
}
.salary-table tbody th > a:hover { text-decoration-color: currentColor; }
.salary-table tbody th .source-meta { padding-left: 13px; }
.salary-table td:nth-child(2) { width: 30%; }
.salary-table strong { color: var(--green-dark); font-size: 15px; }
.salary-table small { color: var(--muted); }
.pay-option { display: block; }
.pay-option + .pay-option { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.pay-option small, .pay-option strong { display: block; }
.pay-option small { margin-bottom: 2px; color: var(--ink); font-weight: 700; }
.source-meta { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 500; }
.unverified-badge { display: inline-block; margin-top: 7px; padding: 2px 7px; border-radius: 999px; color: #7a4f16; background: #fff3d9; font-size: 11px; font-weight: 900; }
.unverified-inline { color: #8b5b17; }
.researcher-note {
  position: relative;
  margin: 42px 0 22px;
  padding: 31px 24px 20px;
  border: 2px solid #ead7e8;
  border-radius: 24px;
  background:
    radial-gradient(circle at 7% 17%, rgba(255, 220, 233, .45) 0 18px, transparent 19px),
    radial-gradient(circle at 94% 84%, rgba(215, 234, 249, .55) 0 23px, transparent 24px),
    linear-gradient(135deg, #fffaf4 0%, #fbf5ff 100%);
  box-shadow: 0 12px 28px rgba(107, 81, 136, .10);
}
.researcher-note .researcher-note-title {
  display: inline-flex;
  position: absolute;
  top: 0;
  left: 50%;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 16px;
  border-radius: 999px;
  color: #594467;
  background: linear-gradient(135deg, #ffe8f1 0%, #eee8ff 100%);
  box-shadow: 0 7px 16px rgba(107, 81, 136, .14);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.researcher-note .researcher-note-title::before { content: "✦"; color: #cf789f; }
.researcher-note .researcher-note-title::after { content: "✦"; color: #6f9fbe; }
.researcher-note .term-emphasis { color: #6b5188; font-weight: 900; }
.researcher-note .question-emphasis { color: #b85f79; font-weight: 900; }
.researcher-note .black-emphasis { color: #000; font-size: 1.1em; font-weight: 900; letter-spacing: .01em; }
.researcher-note-list { display: grid; gap: 8px; margin: 4px 0 17px; padding: 0; list-style: none; }
.researcher-note-list li { position: relative; padding-left: 20px; }
.researcher-note-list li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #69b58e, #8b8fc9);
  box-shadow: 0 0 0 4px rgba(122, 185, 158, .11);
}
.researcher-note p:last-child { margin-bottom: 0; }
.table-note { margin-top: 12px !important; color: var(--muted); font-size: 13px; }

.plain-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.plain-compare > div {
  position: relative;
  min-height: 142px;
  padding: 21px 112px 18px 52px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 21px;
  box-shadow: 0 8px 19px rgba(43, 76, 94, .07);
}
.plain-compare > div::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
}
.plain-compare > div:first-child {
  border-color: #d4eadd;
  background:
    radial-gradient(circle 12px at 23px 35px, rgba(255, 255, 255, .92) 0 16%, rgba(255, 255, 255, .18) 18% 45%, rgba(108, 190, 153, .38) 48% 60%, transparent 64%),
    radial-gradient(circle 8px at 36px 79px, rgba(255, 255, 255, .88) 0 15%, rgba(255, 255, 255, .15) 17% 44%, rgba(108, 190, 153, .30) 48% 60%, transparent 65%),
    radial-gradient(circle 6px at 22px 117px, rgba(255, 255, 255, .84) 0 14%, rgba(255, 255, 255, .12) 17% 42%, rgba(108, 190, 153, .25) 47% 60%, transparent 65%),
    linear-gradient(145deg, #f1faf5 0%, #fdfffe 100%);
}
.plain-compare > div:first-child::before { background: linear-gradient(90deg, #63b88c, #a2d8ba); }
.plain-compare > div:last-child {
  border-color: #dbe3f1;
  background:
    radial-gradient(circle 12px at 23px 35px, rgba(255, 255, 255, .92) 0 16%, rgba(255, 255, 255, .18) 18% 45%, rgba(139, 157, 207, .36) 48% 60%, transparent 64%),
    radial-gradient(circle 8px at 36px 79px, rgba(255, 255, 255, .88) 0 15%, rgba(255, 255, 255, .15) 17% 44%, rgba(139, 157, 207, .29) 48% 60%, transparent 65%),
    radial-gradient(circle 6px at 22px 117px, rgba(255, 255, 255, .84) 0 14%, rgba(255, 255, 255, .12) 17% 42%, rgba(139, 157, 207, .24) 47% 60%, transparent 65%),
    linear-gradient(145deg, #f4f8fd 0%, #fcfaff 100%);
}
.plain-compare > div:last-child::before { background: linear-gradient(90deg, #82a6cc, #aa98c9); }
.plain-compare > div::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.plain-compare > div:first-child::after {
  background:
    radial-gradient(circle, rgba(250, 255, 252, .96) 0 51%, transparent 53%),
    conic-gradient(#79bd98 0 33.333%, rgba(121, 189, 152, .18) 33.333% 100%);
}
.plain-compare > div:last-child::after {
  background:
    radial-gradient(circle, rgba(252, 252, 255, .96) 0 51%, transparent 53%),
    conic-gradient(#8a9dc9 0 66.666%, rgba(138, 157, 201, .18) 66.666% 100%);
}
.plain-compare span, .plain-compare small { display: block; color: var(--muted); }
.plain-compare span { font-size: 15px; font-weight: 800; }
.plain-compare small { font-size: 13px; }
.plain-compare strong {
  display: block;
  width: fit-content;
  margin: 6px 0 9px;
  font-size: clamp(46px, 6vw, 54px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.05em;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 225, 103, .68);
  text-decoration-thickness: 12px;
  text-underline-offset: -.18em;
  text-decoration-skip-ink: none;
}
.plain-compare > div:first-child strong { color: #176b4c; }
.plain-compare > div:last-child strong { color: #586a9f; }

.definition-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.definition-grid article {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 21px;
  border: 1px solid transparent;
  border-radius: 22px;
  box-shadow: 0 9px 22px rgba(49, 72, 91, .07);
}
.definition-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
}
.definition-grid article:first-child {
  border-color: #cfe8db;
  background:
    radial-gradient(circle at 92% 84%, rgba(103, 186, 148, .14) 0 34px, transparent 35px),
    radial-gradient(circle at 82% 96%, rgba(244, 177, 201, .13) 0 16px, transparent 17px),
    linear-gradient(145deg, #f4fbf7, #fffefd);
}
.definition-grid article:first-child::before { background: linear-gradient(90deg, #7ac39f, #f0b8d0); }
.definition-grid article:last-child {
  border-color: #d9dcef;
  background:
    radial-gradient(circle at 92% 84%, rgba(133, 153, 204, .14) 0 34px, transparent 35px),
    radial-gradient(circle at 82% 96%, rgba(246, 197, 116, .14) 0 16px, transparent 17px),
    linear-gradient(145deg, #f7f8fd, #fffdfb);
}
.definition-grid article:last-child::before { background: linear-gradient(90deg, #91a6d4, #d9a8c4); }
.definition-grid span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.definition-grid span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.definition-grid article:first-child span { color: #346b55; background: #e2f4e9; }
.definition-grid article:first-child span::before { background: #69b58e; }
.definition-grid article:last-child span { color: #57678f; background: #e9edf8; }
.definition-grid article:last-child span::before { background: #8599c9; }
.definition-grid strong {
  display: block;
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: 10px 0 13px;
  color: var(--green-dark);
  font-size: 30px;
  line-height: 1.2;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 225, 103, .56);
  text-decoration-thickness: 9px;
  text-underline-offset: -.18em;
  text-decoration-skip-ink: none;
}
.definition-grid article:first-child strong { color: #176b4c; }
.definition-grid article:last-child strong { color: #586a9f; }
.definition-grid strong::after { content: "✦"; position: absolute; top: -7px; right: -22px; font-size: 12px; text-decoration: none; }
.definition-grid article:first-child strong::after { color: #d890ad; }
.definition-grid article:last-child strong::after { color: #d59a52; }
.definition-grid p { position: relative; z-index: 1; margin: 0; font-size: 14px; }

.difference-list { display: grid; gap: 11px; margin-top: 22px; }
.difference-list article {
  position: relative;
  display: grid;
  grid-template-columns: 150px 175px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 92px;
  padding: 19px 24px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(49, 72, 91, .06);
}
.difference-list article::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 5px;
  border-radius: 0 999px 999px 0;
}
.difference-list article:nth-child(1) {
  border-color: #dceee4;
  background:
    radial-gradient(circle at 95% 18%, rgba(102, 186, 148, .10) 0 28px, transparent 29px),
    linear-gradient(120deg, #f7fcf9, #fff);
}
.difference-list article:nth-child(1)::before { background: #9bcfb6; }
.difference-list article:nth-child(2) {
  border-color: #e3e6f2;
  background:
    radial-gradient(circle at 95% 18%, rgba(135, 154, 204, .10) 0 28px, transparent 29px),
    linear-gradient(120deg, #fafafe, #fff);
}
.difference-list article:nth-child(2)::before { background: #adb9dc; }
.difference-list article:nth-child(3) {
  border-color: #f3e6dc;
  background:
    radial-gradient(circle at 95% 18%, rgba(226, 160, 124, .10) 0 28px, transparent 29px),
    linear-gradient(120deg, #fffaf7, #fff);
}
.difference-list article:nth-child(3)::before { background: #ebc0a8; }
.difference-list span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.difference-list span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; }
.difference-list article:nth-child(1) span { color: #477461; background: #eaf7f0; }
.difference-list article:nth-child(1) span::before { background: #8bc5a9; }
.difference-list article:nth-child(2) span { color: #667394; background: #f0f2fa; }
.difference-list article:nth-child(2) span::before { background: #a1afd2; }
.difference-list article:nth-child(3) span { color: #906b58; background: #fcefe6; }
.difference-list article:nth-child(3) span::before { background: #e3ad8d; }
.difference-list strong {
  position: relative;
  z-index: 1;
  width: fit-content;
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.35;
  white-space: nowrap;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 225, 103, .58);
  text-decoration-thickness: 8px;
  text-underline-offset: -.16em;
  text-decoration-skip-ink: none;
}
.difference-list article:nth-child(1) strong { color: #2c7057; }
.difference-list article:nth-child(2) strong { color: #64739c; }
.difference-list article:nth-child(3) strong { color: #a06d52; }
.difference-list p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: 13px; }
.payslip-check {
  position: relative;
  margin-top: 23px;
  padding: 21px 23px;
  overflow: hidden;
  border: 1px solid #dce3ed;
  border-radius: 22px;
  background:
    radial-gradient(circle at 96% 18%, rgba(242, 184, 208, .15) 0 34px, transparent 35px),
    linear-gradient(135deg, #f8fbfd, #fffafb);
  box-shadow: 0 9px 22px rgba(49, 72, 91, .06);
}
.payslip-check::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #79bd98, #8fa2ce, #e6abc4);
}
.payslip-check h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; font-size: 17px; }
.payslip-check h3::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #63b58a, #8799c6);
  box-shadow: 0 4px 10px rgba(91, 140, 124, .18);
  font-size: 14px;
  font-weight: 900;
}
.payslip-check ul { display: grid; gap: 10px; margin: 0; padding: 0; color: var(--muted); font-size: 14px; list-style: none; }
.payslip-check li { position: relative; padding-left: 20px; }
.payslip-check li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7fb89e;
  box-shadow: 0 0 0 4px rgba(127, 184, 158, .11);
}

.average-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px 22px;
  align-items: center;
  margin: 22px 0;
  padding: 24px 25px;
  overflow: hidden;
  border: 1px solid #d8e8e0;
  border-radius: 23px;
  background:
    radial-gradient(circle at 94% 82%, rgba(133, 153, 201, .13) 0 39px, transparent 40px),
    radial-gradient(circle at 86% 96%, rgba(238, 170, 199, .12) 0 20px, transparent 21px),
    linear-gradient(140deg, #f5fbf7, #fdfbff);
  box-shadow: 0 10px 24px rgba(49, 72, 91, .07);
}
.average-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #79bd98, #8fa2ce, #e6abc4);
}
.average-card > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #4d6d60;
  background: #e8f5ed;
  font-size: 12px;
  font-weight: 800;
}
.average-card > span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7eb99d; }
.average-card > strong {
  position: relative;
  grid-row: 1 / 3;
  grid-column: 2;
  width: fit-content;
  color: #276b55;
  font-size: clamp(40px, 8vw, 54px);
  line-height: 1;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 225, 103, .60);
  text-decoration-thickness: 11px;
  text-underline-offset: -.17em;
  text-decoration-skip-ink: none;
}
.average-card > strong::after { content: "✦"; position: absolute; top: -10px; right: -20px; color: #d58cad; font-size: 13px; text-decoration: none; }
.average-card p { position: relative; z-index: 1; margin: 0; }

.calculator-subtitle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 3px 0 10px;
  color: #2c6e54;
  font-size: 20px;
  line-height: 1.4;
}
.calculator-subtitle::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f9874, #79b394);
  box-shadow: 0 0 0 5px rgba(105, 181, 142, .10);
}

.calculator-route {
  position: relative;
  margin: 20px 0 27px;
  padding: 21px;
  overflow: hidden;
  border: 1px solid #d4e6dc;
  border-radius: 23px;
  background: linear-gradient(135deg, #f8fcfa, #f4faf7);
  box-shadow: 0 10px 25px rgba(49, 72, 91, .06);
}
.calculator-route::after {
  content: "";
  position: absolute;
  top: -27px;
  right: -19px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(79, 152, 116, .08);
  pointer-events: none;
}
.calculator-limit {
  position: relative;
  z-index: 1;
  margin: 0 0 16px !important;
  padding-left: 18px;
  color: #263d34;
  font-size: 16px;
}
.calculator-limit::before {
  content: "";
  position: absolute;
  top: .52em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f9874, #79b394);
  box-shadow: 0 0 0 5px rgba(105, 181, 142, .10);
}
.reader-paths { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.reader-path {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 11px;
  align-items: center;
  min-height: 91px;
  padding: 15px;
  border: 1px solid transparent;
  border-radius: 18px;
}
.reader-path-ready { border-color: #cee5d8; background: #eef8f3; }
.reader-path-check { border-color: #d7e7df; background: #f7fbf9; }
.path-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: #4f9874;
  box-shadow: 0 5px 12px rgba(72, 126, 99, .13);
  font-size: 17px;
  font-weight: 900;
}
.reader-path-check .path-badge { background: #78aa91; box-shadow: 0 5px 12px rgba(72, 126, 99, .12); }
.reader-path strong { display: block; color: #244636; font-size: 14px; }
.reader-path-check strong { color: #355d4b; }
.reader-path p { margin: 4px 0 0 !important; color: var(--muted); font-size: 13px; line-height: 1.65; }

.calculator-invite { max-width: 48em; }
.calculator-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 17px 0 18px; }
.calculator-steps > span {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  align-items: center;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 17px;
  font-size: 13px;
  font-weight: 800;
}
.calculator-steps > span:nth-child(1) { border-color: #d3e7dc; background: #f0f8f4; }
.calculator-steps > span:nth-child(2) { border-color: #d9e8e0; background: #f7fbf9; }
.calculator-steps > span:nth-child(3) { border-color: #cfe3d8; background: #edf7f2; }
.calculator-steps b {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #4f9874, #79b394);
  box-shadow: 0 4px 10px rgba(71, 119, 100, .13);
  font-size: 13px;
}
.calculator-steps > span:nth-child(3) b { background: linear-gradient(135deg, #397d5d, #68a586); }
.calculator-tool-title {
  position: relative;
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 30px 0 12px;
  padding: 14px 20px;
  overflow: hidden;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #216847, #34815e);
  box-shadow: 0 8px 18px rgba(32, 103, 71, .17);
  font-size: clamp(21px, 3vw, 26px);
  line-height: 1.45;
}
.calculator-tool-title::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ffe176;
  box-shadow: 0 0 0 5px rgba(255, 225, 118, .13);
}
.calculator-tool-title::after {
  content: "";
  position: absolute;
  top: -34px;
  right: -20px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  pointer-events: none;
}
.salary-form {
  position: relative;
  display: grid;
  gap: 19px;
  margin-top: 22px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #d9e7e0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 96% 7%, rgba(139, 157, 207, .12) 0 40px, transparent 41px),
    radial-gradient(circle at 90% 96%, rgba(236, 168, 198, .11) 0 27px, transparent 28px),
    linear-gradient(140deg, #f7fcf9, #fdfbff);
  box-shadow: 0 12px 28px rgba(49, 72, 91, .08);
}
.salary-form::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #79bd98, #8fa2ce, #e6abc4);
}
.quick-start {
  position: relative;
  z-index: 1;
  padding: 16px;
  border: 1px solid #d5e5dc;
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
}
.quick-start > strong { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; color: #274d3d; font-size: 15px; }
.quick-start > strong::before { content: ""; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #73af90; }
.quick-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-buttons button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #d6e7de;
  border-radius: 999px;
  color: #32624e;
  background: #edf8f2;
  box-shadow: 0 4px 10px rgba(63, 101, 84, .06);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, color .16s ease, background .16s ease;
}
.quick-buttons button:nth-child(2) { border-color: #dfe3f1; color: #5b698f; background: #f0f2fa; }
.quick-buttons button:nth-child(3) { border-color: #f0dfd3; color: #91664f; background: #fdf1e9; }
.quick-buttons button:hover { transform: translateY(-1px); box-shadow: 0 7px 14px rgba(63, 101, 84, .10); }
.quick-buttons button[aria-pressed="true"] { border-color: transparent; color: #fff; background: linear-gradient(135deg, #5da880, #7f94c4); box-shadow: 0 7px 15px rgba(71, 119, 100, .18); }
.quick-buttons button:focus-visible { outline: 3px solid rgba(74, 143, 109, .24); outline-offset: 2px; }
.quick-start small {
  display: block;
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid #8ab9a1;
  border-radius: 0 9px 9px 0;
  color: #52665c;
  background: #f4f8f6;
  font-size: 13px;
  line-height: 1.7;
}
.quick-start small strong { color: #2b5744; }
.field { position: relative; z-index: 1; }
.field label { display: block; margin-bottom: 8px; color: #263d34; font-size: 14px; font-weight: 800; }
.salary-form > .field > label::before {
  content: "1";
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-right: 8px;
  border-radius: 50%;
  color: #fff;
  background: #78b495;
  font-size: 12px;
}
.field small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.number-input { position: relative; }
.number-input input { width: 100%; min-height: 58px; padding: 10px 5em 10px 15px; color: var(--ink); background: rgba(255, 255, 255, .92); border: 1.5px solid #c6dcd0; border-radius: 16px; box-shadow: inset 0 2px 7px rgba(41, 83, 63, .035); font-size: 19px; font-variant-numeric: tabular-nums; }
.number-input input:focus { border-color: var(--green); outline: 3px solid var(--green-soft); outline-offset: 1px; }
.number-input span { position: absolute; top: 50%; right: 14px; color: var(--muted); font-size: 13px; font-weight: 700; transform: translateY(-50%); pointer-events: none; }
.bonus-details { position: relative; z-index: 1; padding: 0 14px; border: 1px solid #dfe4ef; border-radius: 17px; background: rgba(255, 255, 255, .62); }
.bonus-details summary { position: relative; min-height: 56px; padding: 14px 40px 14px 42px; color: #58698f; cursor: pointer; font-weight: 800; list-style: none; }
.bonus-details summary::-webkit-details-marker { display: none; }
.bonus-details summary::before { content: "2"; position: absolute; top: 50%; left: 0; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: #fff; background: #8799c6; font-size: 12px; transform: translateY(-50%); }
.bonus-details summary::after { content: "+"; position: absolute; top: 50%; right: 8px; font-size: 24px; font-weight: 400; transform: translateY(-50%); }
.bonus-details[open] summary::after { content: "−"; }
.bonus-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 4px 0 17px; }
.form-status { position: relative; z-index: 1; margin: 0 !important; color: var(--muted); font-size: 13px; font-weight: 700; }
.form-status::before { content: "✦"; margin-right: 7px; color: #d18cac; }
.form-status.is-error { color: #9f3f38; }

.calculator-result { position: relative; margin-top: 15px; padding: 24px; overflow: hidden; border: 1px solid #bcdcca; border-radius: 24px; background: radial-gradient(circle at 94% 18%, rgba(134, 153, 204, .14) 0 38px, transparent 39px), linear-gradient(135deg, #eaf7f0, #f8f6fc); box-shadow: 0 12px 26px rgba(49, 98, 74, .09); }
.calculator-result > span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.calculator-result > strong { display: block; width: fit-content; margin: 5px 0 18px; color: var(--green-dark); font-size: clamp(40px, 9vw, 56px); line-height: 1.2; font-variant-numeric: tabular-nums; text-decoration-line: underline; text-decoration-color: rgba(255, 225, 103, .62); text-decoration-thickness: 11px; text-underline-offset: -.17em; text-decoration-skip-ink: none; }
.calculator-result dl { display: grid; gap: 7px; margin: 0; }
.calculator-result dl > div { display: flex; justify-content: space-between; gap: 15px; padding: 10px 12px; border: 1px solid rgba(208, 225, 215, .8); border-radius: 13px; background: rgba(255, 255, 255, .82); }
.calculator-result dt { color: var(--muted); }
.calculator-result dd { margin: 0; font-weight: 800; }
.calculator-result > p { margin: 13px 0 0; color: var(--muted); font-size: 12px; }

/* 計算ツールだけを、昔のRPGのコマンド画面のような世界観にする */
.salary-form {
  margin-top: 0;
  padding: 28px;
  border: 3px solid transparent;
  border-radius: 20px;
  color: #28473b;
  background:
    radial-gradient(circle at 91% 10%, rgba(76, 151, 113, .10) 0 42px, transparent 43px) padding-box,
    radial-gradient(circle at 9% 94%, rgba(121, 179, 148, .09) 0 31px, transparent 32px) padding-box,
    linear-gradient(145deg, #f8fcfa 0%, #eff8f3 58%, #f7fbf9 100%) padding-box,
    linear-gradient(120deg, #2f7f5c 0%, #5f9f81 55%, #8ab9a1 100%) border-box;
  box-shadow:
    0 0 0 5px #fff,
    0 11px 0 rgba(171, 205, 190, .40),
    0 22px 36px rgba(49, 94, 75, .14),
    inset 0 0 0 2px rgba(255, 255, 255, .78);
}
.salary-form::before {
  top: 0;
  right: auto;
  left: 31px;
  width: 108px;
  height: 6px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, #2f7f5c, #5f9f81 58%, #8ab9a1);
}
.salary-form::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 0;
  border: 1px solid rgba(67, 129, 106, .16);
  border-radius: 13px;
  pointer-events: none;
}
.salary-form .quick-start {
  padding: 5px 4px 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.salary-form .quick-start > strong {
  gap: 9px;
  margin-bottom: 14px;
  color: #285844;
  font-size: 17px;
  letter-spacing: .035em;
  text-shadow: none;
}
.salary-form .quick-start > strong::before {
  content: "▶";
  width: auto;
  height: auto;
  color: #3f896a;
  background: none;
  font-size: 13px;
  filter: none;
}
.salary-form .quick-buttons { gap: 10px; }
.salary-form .quick-buttons button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 13px;
  border: 2px solid #82aa99;
  border-radius: 8px;
  color: #315749;
  background: rgba(255, 255, 255, .86);
  box-shadow: 3px 3px 0 #c3ddd1;
  text-shadow: none;
}
.salary-form .quick-buttons button::before {
  content: "▶";
  width: 1em;
  margin-right: 4px;
  color: #4d8a70;
  opacity: .48;
  font-size: 10px;
}
.salary-form .quick-buttons button:hover,
.salary-form .quick-buttons button:focus-visible {
  color: #244a3a;
  background: #fff;
  box-shadow: 3px 3px 0 #b6d6c7;
  transform: none;
}
.salary-form .quick-buttons button:hover::before,
.salary-form .quick-buttons button:focus-visible::before { opacity: 1; }
.salary-form .quick-buttons button[aria-pressed="true"] {
  border-color: #b28b32 !important;
  color: #3e3417 !important;
  background: #ffeda0 !important;
  box-shadow: 3px 3px 0 #e2c966 !important;
  text-shadow: none;
}
.salary-form .quick-buttons button[aria-pressed="true"]::before { color: #5c4b16; opacity: 1; }
.salary-form .quick-start small {
  border: 1px solid #c5ddd2;
  border-left: 4px solid #66a88a;
  border-radius: 7px;
  color: #53685e;
  background: rgba(255, 255, 255, .72);
  text-shadow: none;
}
.salary-form .quick-start small strong { color: #285844; }
.salary-form .field label { color: #284c3e; text-shadow: none; }
.salary-form > .field > label::before {
  border: 2px solid #fff;
  border-radius: 7px;
  color: #fff;
  background: #68aa8c;
  box-shadow: 2px 2px 0 #b5d5c6;
}
.salary-form .number-input input {
  border: 2px solid #a9cbbd;
  border-radius: 10px !important;
  color: #284c3e;
  background: #fff !important;
  box-shadow: 4px 4px 0 #d2e6dd, inset 0 0 0 1px #e9f2ee;
}
.salary-form .number-input input:focus {
  border-color: #4f9677 !important;
  outline: 2px solid rgba(79, 150, 119, .24) !important;
  box-shadow: 4px 4px 0 #d2e6dd, 0 0 0 3px rgba(79, 150, 119, .15) !important;
}
.salary-form .number-input span { color: #506d60; }
.salary-form .field small { color: #62786e; }
.digit-builder {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 14px;
  padding: 14px;
  border: 1px dashed #9dc4b1;
  border-radius: 14px;
  background: rgba(255, 255, 255, .52);
}
.digit-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.digit-block,
.digit-action {
  appearance: none;
  border: 0;
  color: #265741;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}
.digit-block {
  min-height: 52px;
  padding: 4px;
  border: 2px solid #82ad99;
  border-radius: 10px;
  box-shadow: 0 4px 0 #c6ddd2;
  font-size: 18px;
  line-height: 1;
  touch-action: none;
  user-select: none;
  transition: transform .13s ease, box-shadow .13s ease, color .13s ease, background .13s ease;
}
.digit-block:nth-child(3n + 2) { background: #f3faf6; }
.digit-control { color: #5d6d66; background: #f2f5f3; }
.digit-block:hover,
.digit-block:focus-visible {
  color: #16482f;
  background: #fff7cd;
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 6px 0 #bed8cb;
}
.digit-block:active {
  transform: translateY(3px) scale(.98);
  box-shadow: 0 1px 0 #bed8cb;
}
.digit-block.is-dragging { opacity: .38; transform: scale(.94); }
.digit-actions {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 9px;
}
.digit-action {
  min-height: 39px;
  padding: 7px 10px;
  border: 1px solid #bfd7cb;
  border-radius: 9px;
  color: #49665a;
  background: #f7faf8;
  font-size: 14px;
  transition: background .13s ease, border-color .13s ease, transform .13s ease;
}
.digit-action:hover,
.digit-action:focus-visible { border-color: #79aa91; background: #fff; outline: none; }
.digit-action:active { transform: translateY(2px); }
.digit-decimal { color: #275c43; font-size: 19px; }
.digit-feedback { min-width: 0; }
.digit-feedback > small { display: block; color: #5a7266; font-size: 12px; line-height: 1.7; }
.digit-feedback > small strong {
  color: #1f694c;
  font-size: 13px;
  font-weight: 900;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 220, 92, .72);
  text-decoration-thickness: 5px;
  text-underline-offset: -.12em;
  text-decoration-skip-ink: none;
}
.bonus-digit-builder {
  margin-top: 12px;
  padding: 11px;
  border: 1px dashed #a9cbbd;
  border-radius: 12px;
  background: rgba(244, 250, 247, .8);
}
.bonus-digit-builder .digit-block {
  min-height: 48px;
  touch-action: manipulation;
}
.bonus-digit-builder + small { margin-top: 10px; }
.digit-live-result {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
  padding: 11px 13px;
  border: 1px solid #bed8cb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 0 #d9e9e1;
}
.digit-live-result[hidden] { display: none; }
.digit-live-result span { color: #5b7066; font-size: 12px; font-weight: 700; }
.digit-live-result strong {
  flex: 0 0 auto;
  color: #1f694c;
  font-size: clamp(20px, 4vw, 27px);
  line-height: 1.2;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 220, 92, .72);
  text-decoration-thickness: 7px;
  text-underline-offset: -.14em;
  text-decoration-skip-ink: none;
}
.salary-form .number-input.is-drag-target input {
  border-color: #4f9677;
  background: #f8fcfa !important;
}
.salary-form .number-input.is-drag-over input {
  border-color: #c19b2f;
  background: #fffced !important;
  box-shadow: 4px 4px 0 #e5d58a, 0 0 0 4px rgba(255, 220, 92, .22) !important;
}
.salary-form .number-input input.is-digit-pop { animation: digit-input-pop .22s ease; }
.digit-drag-ghost {
  position: fixed;
  z-index: 9999;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 2px solid #2f7f5c;
  border-radius: 11px;
  color: #1c573d;
  background: #fff7cd;
  box-shadow: 0 10px 24px rgba(25, 82, 57, .24);
  font-size: 20px;
  font-weight: 900;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-4deg) scale(1.06);
}
@keyframes digit-input-pop {
  0% { transform: scale(1); }
  52% { transform: scale(1.018); }
  100% { transform: scale(1); }
}
.salary-form .bonus-details {
  padding: 14px;
  border: 2px solid #a6c7b9;
  border-radius: 10px !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: 4px 4px 0 #d4e7df, inset 0 0 0 1px rgba(255, 255, 255, .78);
}
.salary-form .bonus-heading {
  position: relative;
  min-height: 31px;
  margin: 0 0 13px;
  padding: 5px 0 4px 39px;
  color: #355d4b;
  font-weight: 800;
}
.salary-form .bonus-heading::before {
  content: "2";
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 2px solid #fff;
  border-radius: 7px;
  color: #fff;
  background: #78aa91;
  box-shadow: 2px 2px 0 #c1d9cd;
}
.select-input { position: relative; }
.select-input::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #5e8c78;
  border-bottom: 2px solid #5e8c78;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}
.select-input select {
  appearance: none;
  width: 100%;
  min-height: 58px;
  padding: 10px 46px 10px 15px;
  border: 2px solid #a9cbbd;
  border-radius: 10px;
  color: #284c3e;
  background: #fff;
  box-shadow: 4px 4px 0 #d2e6dd, inset 0 0 0 1px #e9f2ee;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
}
.select-input select:focus {
  border-color: #4f9677;
  outline: 2px solid rgba(79, 150, 119, .24);
  box-shadow: 4px 4px 0 #d2e6dd, 0 0 0 3px rgba(79, 150, 119, .15);
}
.bonus-live-result {
  position: relative;
  display: flex;
  min-height: 250px;
  margin-top: 18px;
  padding: 24px 18px;
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #9fc9b5;
  border-radius: 16px;
  background:
    radial-gradient(circle at 91% 14%, rgba(102, 168, 138, .12) 0 42px, transparent 43px),
    linear-gradient(145deg, #f8fcfa, #edf8f2);
  box-shadow: 4px 4px 0 #d2e6dd;
  text-align: center;
}
.bonus-live-result::before {
  content: "✦";
  margin-bottom: 8px;
  color: #d18cac;
  font-size: 18px;
}
.bonus-live-result > span {
  color: #4b685b;
  font-size: 14px;
  font-weight: 800;
}
.bonus-live-result > strong {
  margin-top: 9px;
  color: #096540;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.15;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 220, 92, .72);
  text-decoration-thickness: 9px;
  text-underline-offset: -.15em;
  text-decoration-skip-ink: none;
}
.bonus-live-result > small {
  margin-top: 14px;
  color: #62786e;
  font-size: 12px;
  line-height: 1.6;
}
.bonus-live-result.is-empty > strong {
  color: #779186;
  text-decoration: none;
}
.salary-form .form-status { color: #577064; text-shadow: none; }
.salary-form .form-status::before { color: #4f9874; }
.salary-form .form-status.is-error { color: #9f3f38; }

.calculator-result {
  border: 3px solid transparent;
  border-radius: 18px;
  color: #29483c;
  background:
    radial-gradient(circle at 93% 14%, rgba(76, 151, 113, .10) 0 36px, transparent 37px) padding-box,
    linear-gradient(145deg, #f7fcf9, #eef8f3 62%, #f7fbf9) padding-box,
    linear-gradient(120deg, #2f7f5c 0%, #5f9f81 55%, #8ab9a1 100%) border-box;
  box-shadow: 0 0 0 5px #fff, 0 10px 0 rgba(164, 203, 186, .42), 0 20px 32px rgba(49, 94, 75, .13), inset 0 0 0 2px rgba(255, 255, 255, .72);
}
.calculator-result > span { color: #587064; }
.calculator-result > strong {
  color: #1f694c;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 220, 92, .72);
  text-decoration-thickness: 10px;
  text-underline-offset: -.16em;
  text-shadow: none;
}
.calculator-result dl > div {
  border-color: #c5ddd2;
  border-radius: 9px;
  background: rgba(255, 255, 255, .76);
}
.calculator-result dt { color: #587064; }
.calculator-result dd { color: #29483c; }
.calculator-result > p { color: #587064; }

.internal-next-step { margin-top: 17px; padding: 19px 21px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.internal-next-step p { margin: 0 0 11px; color: var(--muted); font-size: 14px; }
.internal-next-step a { display: grid; grid-template-columns: 1fr 10px; gap: 12px; align-items: center; min-height: 54px; padding: 13px 16px; border-radius: 13px; color: var(--ink); background: var(--green-soft); text-decoration: none; }
.internal-next-step i { width: 8px; height: 8px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); transition: transform .16s ease; }
.internal-next-step a:hover i { transform: translateX(2px) rotate(-45deg); }

.result-cta {
  position: relative;
  margin-top: 17px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #c9e2d3;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff 0%, #f1f9f4 100%);
  box-shadow: 0 14px 34px rgba(32, 91, 65, .09);
}
.result-cta::before {
  content: "";
  position: absolute;
  top: -42px;
  right: -34px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(47, 125, 89, .07);
  pointer-events: none;
}
.result-cta > p { position: relative; z-index: 1; }
.result-cta > p:first-child { margin-bottom: 13px; font-size: 15px; }
.result-cta > p:first-child strong { color: var(--green-dark); font-size: 18px; }
.salary-benchmark {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  padding: 17px;
  border: 1px solid #bddccc;
  border-radius: 17px;
  background: rgba(255, 255, 255, .88);
}
.salary-benchmark[hidden] { display: none; }
.benchmark-values {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.benchmark-values > div {
  display: flex;
  min-height: 92px;
  padding: 13px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: #f2f8f5;
  text-align: center;
}
.benchmark-values > div:last-child { background: #fff8dd; }
.benchmark-values span { color: #60756b; font-size: 12px; font-weight: 700; }
.benchmark-values strong {
  width: fit-content;
  margin-top: 7px;
  color: #1f694c;
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1.1;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 220, 92, .72);
  text-decoration-thickness: 10px;
  text-underline-offset: -.16em;
  text-decoration-skip-ink: none;
}
.benchmark-values > div:last-child strong { color: #253a31; }
.benchmark-vs {
  align-self: center;
  padding: 5px 8px;
  border-radius: 999px;
  color: #6b7c74 !important;
  background: #edf2ef;
  font-size: 11px !important;
}
.benchmark-gap {
  display: flex;
  margin: 19px auto 0 !important;
  flex-direction: column;
  align-items: center;
  color: #4f685c;
  text-align: center;
}
.benchmark-gap > span { font-size: 14px; font-weight: 800; }
.benchmark-gap > strong {
  display: inline-block;
  width: fit-content;
  margin: 5px 0;
  color: #075d3a;
  font-size: clamp(32px, 5.5vw, 46px);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 210, 54, .8);
  text-decoration-thickness: 12px;
  text-underline-offset: -.16em;
  text-decoration-skip-ink: none;
}
.benchmark-note { margin: 11px 0 0 !important; color: #687b72 !important; font-size: 12px !important; line-height: 1.7; text-align: center; }
.cta-motivation { margin: 0 0 14px; font-size: 15px; line-height: 1.8; text-align: center; }
.cta-motivation strong { color: var(--ink); font-size: 19px; }
.cta-motivation span { color: #536a5f; }
.eligibility-note { color: var(--muted); font-size: 12px; }
.affiliate-note { color: var(--muted); font-size: 12px; }
.affiliate-cta {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  padding: 14px 58px 14px 22px;
  border: 1px solid rgba(12, 75, 49, .18);
  border-radius: 17px;
  color: var(--white);
  background: linear-gradient(135deg, #368e66 0%, #246e4d 100%);
  box-shadow: 0 11px 22px rgba(30, 99, 70, .22), inset 0 1px 0 rgba(255,255,255,.18);
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: box-shadow .16s ease, transform .16s ease, filter .16s ease;
}
.affiliate-cta::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform .16s ease;
}
.affiliate-cta:hover { filter: brightness(1.035); box-shadow: 0 14px 27px rgba(30, 99, 70, .26), inset 0 1px 0 rgba(255,255,255,.2); transform: translateY(-1px); }
.affiliate-cta:hover::after { transform: translate(3px, -50%) rotate(-45deg); }
.affiliate-cta:active { box-shadow: 0 6px 14px rgba(30, 99, 70, .2); transform: translateY(1px); }

.source-section > p { color: var(--muted); }
.source-section details { border-bottom: 1px solid var(--line); }
.source-section summary { position: relative; min-height: 62px; padding: 15px 42px 15px 0; color: var(--ink); cursor: pointer; font-weight: 700; list-style: none; }
.source-section summary::-webkit-details-marker { display: none; }
.source-section summary::after { content: "+"; position: absolute; top: 50%; right: 6px; color: var(--green); font-size: 23px; transform: translateY(-50%); }
.source-section details[open] summary::after { content: "−"; }
.details-body { padding: 0 0 25px; color: var(--muted); }
.source-list { display: grid; gap: 8px; }
.source-list li { overflow-wrap: anywhere; }

.related-tools { margin-top: 58px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--green-soft); }
.related-tools > p { margin: 0 0 12px; font-weight: 800; }
.related-tools > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-tools a { display: grid; grid-template-columns: 1fr 10px; gap: 10px; align-items: center; padding: 15px; border-radius: 15px; color: var(--ink); background: var(--white); text-decoration: none; }
.related-tools a strong, .related-tools a span { display: block; }
.related-tools a span { grid-column: 1; color: var(--muted); font-size: 12px; }
.related-tools i { grid-row: 1 / 3; grid-column: 2; width: 8px; height: 8px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

.site-foot { padding: 30px 0; color: var(--muted); background: var(--canvas); font-size: 13px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 9px; }
.foot-links a { color: var(--ink); }
.site-foot p { margin: 0; }
a:focus-visible, summary:focus-visible { outline: 3px solid rgba(47,125,89,.3); outline-offset: 3px; }

@media (max-width: 700px) {
  .container { width: min(100% - 24px, 1040px); }
  .article-hero { padding: 29px 0 34px; }
  .ccl-article .article-hero h1 { font-size: clamp(25px, 7.6vw, 32px) !important; }
  .image-slot { min-height: 210px; margin-top: 38px; padding: 13px; }
  .image-slot-hero { min-height: 230px; margin-top: 21px; }
  .answer-grid, .definition-grid, .bonus-fields, .related-tools > div { grid-template-columns: 1fr; }
  .answer-item { grid-template-columns: 43px 1fr; }
  .answer-item > span { width: 43px; height: 43px; }
  .article-body > section { padding-top: 47px; }
  .reader-paths, .calculator-steps { grid-template-columns: 1fr; gap: 7px; }
  .difference-list article { grid-template-columns: 1fr auto; gap: 5px 12px; }
  .difference-list p { grid-column: 1 / -1; }
  .salary-table-wrap::after { content: "表は横に動かせます"; display: block; padding: 8px 12px; color: var(--muted); background: var(--canvas); font-size: 11px; text-align: right; }
  .average-card { grid-template-columns: 1fr; }
  .average-card > strong { grid-row: auto; grid-column: auto; margin: 4px 0 8px; }
  .digit-builder { grid-template-columns: 1fr; }
  .bonus-live-result { min-height: 160px; }
}

@media (max-width: 480px) {
  .calculator-route { margin-top: 17px; padding: 17px 14px; border-radius: 20px; }
  .calculator-limit { padding-left: 16px; font-size: 15px; }
  .reader-path { grid-template-columns: 36px 1fr; min-height: 82px; padding: 12px; }
  .path-badge { width: 36px; height: 36px; font-size: 15px; }
  .difference-list article { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .difference-list p { grid-column: auto; }
  .bonus-details { padding: 12px; }
  .digit-blocks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .digit-block { min-height: 50px; }
  .digit-builder { padding: 12px; }
  .digit-live-result { align-items: flex-end; }
  .digit-live-result span { max-width: 9.5em; }
  .benchmark-values { grid-template-columns: 1fr; gap: 8px; }
  .benchmark-values > div { min-height: 82px; }
  .benchmark-vs { display: none; }
  .salary-benchmark { padding: 12px; }
  .benchmark-gap > strong { font-size: 31px; }
  .cta-motivation strong { font-size: 17px; }
}

@media (max-width: 360px) {
  .brand img { width: 152px; }
  .head-link { font-size: 12px; }
  .plain-compare { grid-template-columns: 1fr; }
  .plain-compare > div { padding-right: 102px; padding-left: 36px; }
  .plain-compare > div::after { right: 18px; width: 66px; height: 66px; }
  .average-card { grid-template-columns: 1fr; }
  .average-card > strong { grid-row: auto; grid-column: auto; }
  .salary-form, .calculator-result, .internal-next-step, .result-cta { padding: 17px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .affiliate-cta { transition: none; }
  .affiliate-cta::after { transition: none; }
  .internal-next-step i { transition: none; }
  .quick-buttons button { transition: none; }
  .digit-block, .digit-action { transition: none; }
  .salary-form .number-input input.is-digit-pop { animation: none; }
}
