:root {
  font: 100%/1.6 "Yu Gothic UI", "Hiragino Sans", "Meiryo", system-ui, sans-serif;
  color: #302621;
  background: #fffcf8;
  --pink: #823a4a;
  --pink-dark: #692e3d;
  --line: #ded1c7;
  --subtle: #faeae7;
  --rose-line: #ddbab7;
  --surface: #fffefa;
  --muted: #6b5950;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--pink-dark); text-underline-offset: .17em; }
button, input, select { font: inherit; }
button, select, input[type="checkbox"], summary { cursor: pointer; }
input[type="checkbox"] { accent-color: var(--pink); width: 1.1rem; height: 1.1rem; margin: 0; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.shell { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }
.site-header { border-top: 3px solid var(--pink); border-bottom: 1px solid var(--line); background: var(--surface); }
.header-inner { min-height: 67px; display: flex; align-items: center; gap: 41px; }
.brand { text-decoration: none; color: var(--pink-dark); font: 700 1.36rem/1.45 var(--serif); white-space: nowrap; letter-spacing: .08em; }
nav { align-self: stretch; display: flex; gap: 26px; align-items: stretch; }
nav a { display: flex; align-items: center; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: .875rem; font-weight: 650; text-decoration: none; color: var(--muted); white-space: nowrap; }
nav a:hover, nav a[aria-current] { color: var(--pink-dark); }
nav a[aria-current] { border-color: var(--pink); }
.age { margin-left: auto; font-size: .8rem; white-space: nowrap; border: 1px solid var(--line); color: var(--muted); border-radius: 3px; padding: 3px 8px; }
.skip { position: absolute; top: -5rem; background: white; padding: 8px; }
.skip:focus { top: 12px; }
.intro { margin: 25px 0 30px; padding: 24px 28px 22px; background: var(--subtle); border: 1px solid var(--rose-line); border-radius: 4px; }
.intro p { margin: 4px 0 0; }
.intro .section-label { font-size: .875rem; color: var(--pink-dark); font-weight: 700; margin: 0 0 2px; }
h1, h2, h3 { line-height: 1.4; margin: 0; }
h1 { font-size: clamp(1.63rem, 3.2vw, 2.35rem); letter-spacing: .01em; }
h2 { font-size: 1.18rem; }
h3 { font-size: 1rem; }
.intro .intro-meta { font-size: .8125rem; color: var(--muted); margin-top: 13px; }
.filter-panel { border: 1px solid var(--line); border-radius: 4px; background: var(--surface); padding: 16px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 11px; margin-bottom: 15px; gap: 4px; }
.panel-title h2 { font-size: 1rem; }
.text-button { padding: 0; border: 0; background: none; color: var(--pink-dark); text-decoration: underline; font-size: .8125rem; }
.filter-panel > label:not(.check-label, .calc-option) { display: block; font-weight: 650; font-size: .875rem; margin-bottom: 5px; }
input[type="search"], select { width: 100%; min-height: 39px; border: 1px solid #dcd1d7; border-radius: 4px; background-color: #fff; color: inherit; padding: 6px 10px; font-size: .875rem; }
select { appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 48%, #6a5f67 50%, #6a5f67 68%, transparent 70%), linear-gradient(135deg, transparent 48%, #6a5f67 50%, #6a5f67 68%, transparent 70%); background-position: right 15px center, right 10px center; background-size: 5px 5px; background-repeat: no-repeat; }
.filter-panel input[type="search"], .filter-panel select { margin-bottom: 14px; }
.check-label { display: flex; align-items: center; gap: 8px; font-size: .875rem; }
.results-head, .results-head > div { display: flex; align-items: center; gap: 10px; }
.results-head { justify-content: space-between; margin-bottom: 10px; }
#count { margin: 0; color: var(--muted); font-size: .875rem; }
#count strong { color: var(--pink-dark); margin-right: 2px; }
.sort { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.sort select { min-height: 35px; }
.table-frame { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .875rem; }
th, td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); }
thead th { background: var(--subtle); padding-block: 9px; color: var(--pink-dark); font-weight: 700; }
tbody tr:last-child > * { border-bottom: 0; }
.catalog tbody tr:hover { background: #f9f3ed; }
.catalog tbody tr:has(input:checked) { background: var(--subtle); }
.check-cell, .catalog thead th:first-child { text-align: center; width: 51px; white-space: nowrap; }
.service { display: flex; align-items: center; gap: 9px; }
.service strong { font-size: 1rem; display: block; }
.service small, .price-cell small { display: block; color: var(--muted); font-weight: 400; font-size: .75rem; }
.service-mark { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border: 1px solid #f0d8e4; border-radius: 5px; color: #a02c5c; background: #fff0f6; font-size: .9rem; font-weight: 800; }
.service-mark.violet { color: #58467c; background: #f4eefb; border-color: #e7dcf5; }
.service-mark.navy { color: #31566e; background: #edf4f8; border-color: #e0eaf0; }
.price-cell { white-space: nowrap; }
.price-cell strong { font-size: 1.13rem; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.price-cell span { margin-left: 2px; font-size: .75rem; }
.trial-label { color: #465035; background: #eff0e5; display: inline-block; white-space: nowrap; border-radius: 3px; font-weight: 650; padding: 2px 6px; }
.muted { color: var(--muted); }
.feature-cell { width: 25%; }
.official, .primary, .dialog-actions button, .modal-head button { display: inline-block; border: 1px solid var(--rose-line); border-radius: 3px; padding: 6px 11px; text-align: center; text-decoration: none; font-weight: 700; white-space: nowrap; font-size: .875rem; color: var(--pink-dark); background: var(--surface); }
.official:hover, .dialog-actions button:hover, .modal-head button:hover { background: var(--subtle); }
.primary, .dialog-actions .primary { border-color: var(--pink); background: var(--pink); color: #fff; }
.primary:hover, .dialog-actions .primary:hover { background: var(--pink-dark); }
.primary:disabled { cursor: default; color: var(--muted); background: #f3ebe3; border-color: var(--line); }
.selection { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; background: #f9f3ed; border: 1px solid var(--line); border-radius: 4px; margin-top: 10px; font-size: .875rem; }
.table-note, .empty { color: var(--muted); font-size: .8125rem; margin: 8px 0 15px; }
.empty { text-align: center; padding: 18px; }
.source-panel { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .875rem; }
.source-panel summary { padding: 9px 2px; font-weight: 650; color: var(--pink-dark); }
.source-panel article { padding: 12px 2px 0; border-top: 1px solid var(--line); }
.source-panel p { margin-top: 5px; }
.site-footer { border-top: 1px solid var(--line); background: #f7efe8; margin-top: 44px; }
.footer-inner { min-height: 66px; display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; padding-block: 14px; font-size: .8125rem; }
.footer-inner > span { font-family: var(--serif); font-weight: 700; letter-spacing: .06em; }
.footer-inner a { margin-right: 12px; }
.footer-inner small { margin-left: auto; color: var(--muted); font-size: inherit; }
dialog { padding: 20px; border: 1px solid var(--line); border-radius: 8px; max-width: min(calc(100% - 28px), 940px); color: inherit; }
dialog::backdrop { background: #21121f80; }
.dialog-actions, .modal-head, .modal-foot { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.modal-head { justify-content: space-between; margin-bottom: 12px; }
.modal-foot { margin-top: 12px; }
.compare-dialog { width: 860px; }
.scroll-frame { overflow: auto; }
.scroll-frame th:first-child { background: var(--subtle); min-width: 91px; }
.scroll-frame td, .scroll-frame th { min-width: 166px; vertical-align: top; }
.calc-grid { display: grid; grid-template-columns: minmax(245px, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
.calculator-controls h2 { margin-bottom: 8px; }
.calc-option { display: flex; gap: 9px; align-items: center; padding-block: 10px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.calc-option small { display: block; font-size: .8125rem; color: var(--muted); }
.calculator-controls label[for="period"] { margin-top: 13px; }
.calculator-controls select { margin-bottom: 0; }
.calc-result, .article-panel { border: 1px solid var(--line); border-radius: 6px; padding: 22px; }
.calc-result output { font-weight: 750; font-size: clamp(1.4rem, 5vw, 2.7rem); color: var(--pink-dark); display: block; margin: 4px 0 12px; }
.breakdown { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 16px; padding-block: 12px; border-top: 1px solid var(--line); }
.breakdown dd { text-align: right; margin: 0; }
.breakdown:empty, #calc-note:empty { display: none; }
.article-panel { max-width: 830px; }
.article-panel section + section { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 17px; }
.article-panel p { margin: 7px 0 0; }
.av-article { max-width: 920px; margin: 34px auto 0; }
.post-head { margin-bottom: 20px; }
.post-head h1 { max-width: 830px; font-family: var(--serif); font-size: clamp(1.65rem, 4.3vw, 2.85rem); line-height: 1.4; letter-spacing: .035em; text-wrap: pretty; }
.post-subtitle { display: block; font-size: .52em; margin-top: 7px; }
.post-head p { max-width: 740px; margin: 15px 0 0; line-height: 1.8; }
.post-head .post-meta { color: var(--muted); font-size: .8125rem; margin-top: 8px; }
.quick-picks { padding: 0; margin: 15px 0 0; list-style: none; }
.quick-picks li { display: grid; grid-template-columns: 16em 8em 1fr; gap: 3px 8px; padding: 4px 0; font-size: .9rem; }
.quick-picks a { font-weight: 700; }
.quick-picks span { color: var(--muted); }
.table-controls { flex-wrap: wrap; justify-content: flex-end; }
#annual-control { white-space: nowrap; }
nav.post-toc { display: flex; flex-wrap: wrap; gap: 5px 17px; align-items: center; margin: 16px 0 24px; }
.post-toc strong { font-size: .875rem; }
nav.post-toc a { display: inline; margin: 0; border: 0; color: var(--pink-dark); text-decoration: underline; white-space: normal; }
.post-section { margin-top: 35px; scroll-margin-top: 16px; }
.post-section h2 { font: 700 1.43rem/1.4 var(--serif); }
.post-section > p:not(.table-note) { max-width: 740px; margin: 8px 0 17px; }
.offers-section { margin-top: 0; padding: 18px 22px 14px; border-left: 3px solid #b2747a; background: var(--subtle); }
.offers-section h2 { color: var(--pink-dark); padding-bottom: 10px; }
.offer { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; padding: 12px 0; border-top: 1px solid var(--rose-line); }
.offer-details h3 { font-size: 1.08rem; }
.offer-details h3 span { font-size: 1.04rem; color: var(--pink-dark); margin-left: 7px; }
.offer-details p { font-size: .9375rem; margin: 3px 0 0; }
.offer-details .offer-purpose { color: var(--muted); font-size: .875rem; margin: 0 0 3px; }
.offer-details small { color: var(--muted); font-size: .8125rem; }
.offers-section .table-note { margin: 1px 0 0; }
.article-filters { margin-bottom: 8px; }
.article-filters summary { width: fit-content; color: var(--pink-dark); font-weight: 650; font-size: .875rem; }
.article-filters .filter-panel { width: min(100%, 350px); margin-top: 7px; }
.choosing > section { margin-top: 15px; padding: 15px 0 5px; border-top: 1px solid var(--line); scroll-margin-top: 14px; }
.choosing h3 { font-size: 1.1rem; }
.choosing p { max-width: 740px; margin: 7px 0 10px; line-height: 1.8; }
.faq-section h2 { margin-bottom: 10px; }
.faq-section details { border-top: 1px solid var(--line); padding: 10px 0; }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { color: var(--pink-dark); font-weight: 650; }
.faq-section details p { max-width: 740px; margin: 6px 0 0; }
@media (min-width: 571px) and (max-width: 760px) {
  .feature-cell, .catalog thead th:nth-child(5) { display: none; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0; padding-top: 10px; }
  nav { grid-row: 2; grid-column: span 2; gap: 17px; min-height: 40px; overflow-x: auto; }
  .age { grid-row: 1; grid-column: 2; }
  .intro { margin: 15px 0 18px; padding: 16px; }
  .calc-grid { grid-template-columns: minmax(0, 1fr); }
  .filter-panel:not(.calculator-controls) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; }
  .panel-title, .filter-panel label[for="search"], #search, .check-label { grid-column: span 2; }
  .filter-panel label[for="budget"], .filter-panel label[for="billing"] { grid-row: 4; }
  .site-footer { margin-top: 28px; }
  .footer-inner small { margin-left: 0; }
  .av-article { margin-top: 22px; }
  .post-section { margin-top: 26px; }
  .offers-section { margin-top: 0; padding: 12px; }
  .offer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .offers-section .table-note { margin-top: 4px; }
  .quick-picks li { grid-template-columns: minmax(0, 1fr) auto; padding: 6px 0; }
  .quick-picks span { grid-column: 1 / -1; font-size: .8125rem; }
}
@media (max-width: 570px) {
  .catalog, .catalog tbody { display: block; }
  .catalog thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .catalog tr { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 6px 7px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line); }
  .catalog tr:last-child { border-bottom: 0; }
  .catalog th, .catalog td { border: 0; padding: 0; }
  .check-cell { width: auto; grid-column: 1; grid-row: 1; }
  .service-cell { grid-column: 2 / 4; }
  .price-cell { grid-column: 2; }
  .trial-cell { grid-column: 2; grid-row: 3; }
  .trial-cell::before { content: "無料体験 "; font-size: .75rem; color: var(--muted); }
  .action-cell { grid-column: 3; grid-row: 2 / 4; }
  .feature-cell { grid-column: 2 / 4; grid-row: 4; width: auto; color: var(--muted); font-size: .8125rem; }
  .selection { font-size: .8125rem; }
  .selection button { white-space: normal; }
  .sort { gap: 0; font-size: 0; }
  .results-head { align-items: flex-start; flex-direction: column; }
  .table-controls { justify-content: space-between; width: 100%; }
}
@media (max-width: 360px) {
  .post-head h1 { font-size: 1.35rem; }
  .post-subtitle { font-size: .75em; }
}
