:root {
  --ink: #102a33;
  --muted: #52666d;
  --navy: #0d2d3a;
  --teal: #087f78;
  --teal-dark: #05645f;
  --mint: #e9f7f4;
  --sand: #f3e7d3;
  --cream: #fffaf2;
  --white: #fff;
  --line: #d8e2e1;
  --shadow: 0 16px 45px rgba(13,45,58,.10);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; font-size: 16px; line-height: 1.75; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #e7a833; outline-offset: 3px; }
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 14px max(22px, calc((100vw - 1180px)/2)); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 800; letter-spacing: .01em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: var(--teal); font-size: 14px; }
#site-nav { display: flex; align-items: center; gap: 20px; }
#site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
#site-nav a:last-child { padding: 9px 14px; color: #fff; background: var(--teal); border-radius: 999px; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; padding: 8px 12px; font-weight: 700; }
main { overflow: hidden; }
.hero { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(370px,.98fr); align-items: center; min-height: 650px; background: linear-gradient(120deg, var(--cream) 0 53%, #dff2ef 53% 100%); }
.hero-copy { padding: 72px 7vw 64px max(24px, calc((100vw - 1180px)/2)); }
.hero > img { width: 100%; height: 650px; object-fit: cover; }
.eyebrow { margin: 0 0 12px; color: var(--teal-dark); font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); line-height: 1.35; letter-spacing: -.025em; }
h1 { margin: 0; font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3vw, 42px); }
h3 { font-size: 21px; }
.lead { max-width: 700px; margin: 22px 0; color: #334d56; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 12px; color: #fff; background: var(--teal); font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 8px 22px rgba(8,127,120,.20); }
.button:hover { color: #fff; background: var(--teal-dark); }
.button.secondary { color: var(--navy); background: #fff; border: 1px solid var(--line); box-shadow: none; }
.trust-list, .summary-list { padding: 0; list-style: none; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; font-weight: 700; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--teal); }
.content-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.content-section + .content-section { border-top: 1px solid #edf1f0; }
.section-heading { max-width: 780px; margin-bottom: 30px; }
.section-heading h2 { margin: 5px 0 10px; }
.section-heading p { color: var(--muted); }
.quick-tool, .calculator-panel, .calculator-results, .guide-card, .result-card, .notice, .example { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.quick-tool { max-width: 960px; margin: -78px auto 0; position: relative; z-index: 4; padding: 28px; box-shadow: var(--shadow); }
.quick-tool h2 { margin: 0 0 8px; font-size: 26px; }
.tool-grid, .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
label { display: grid; gap: 7px; color: var(--navy); font-size: 14px; font-weight: 800; }
input, select { width: 100%; min-height: 48px; border: 1px solid #b9cac8; border-radius: 10px; padding: 10px 12px; color: var(--ink); background: #fff; }
input[type="checkbox"] { width: 20px; min-height: 20px; }
.check { display: flex; align-items: center; gap: 9px; padding-top: 28px; }
.quick-tool .button, .calculator-panel .button { margin-top: 18px; }
.result-card { margin-top: 20px; padding: 18px 20px; background: var(--mint); border-color: #b9ded8; }
.result-card h3, .result-card p { margin-top: 0; }
.calculator-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(330px,.95fr); gap: 28px; align-items: start; }
.calculator-layout, .comparison-steps, .reference-table, .mistake-list, .faq, .article, .article-list, .decision-grid { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0; }
.article { width: min(820px, calc(100% - 40px)); }
.article > header { margin-bottom: 44px; }
.article > section { margin: 48px 0; }
.article-list a { display: block; padding: 22px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 25px rgba(13,45,58,.06); }
.article-list a:hover { border-color: var(--teal); transform: translateY(-2px); }
.article-list h2 { margin: 8px 0; font-size: 21px; }
.reference-table { width: min(980px, calc(100% - 40px)); }
.comparison-steps { width: min(900px, calc(100% - 40px)); }
.mistake-list { width: min(900px, calc(100% - 40px)); }
.faq { width: min(820px, calc(100% - 40px)); }
.calculator-panel, .calculator-results { padding: 28px; box-shadow: var(--shadow); }
.calculator-results { position: sticky; top: 90px; background: var(--navy); color: #fff; border-color: var(--navy); }
.calculator-results h2, .calculator-results h3 { color: #fff; }
.calculator-results .recommendation { padding: 16px; border-radius: 14px; color: var(--navy); background: var(--sand); font-weight: 800; }
.calculator-results dl { display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; }
.calculator-results dt { color: #bcd0d4; }
.calculator-results dd { margin: 0; font-weight: 800; }
.cost-bars { display: grid; gap: 13px; margin: 24px 0; }
.bar { height: 14px; overflow: hidden; border-radius: 99px; background: #284852; }
.bar i { display: block; width: 50%; height: 100%; min-width: 3%; border-radius: inherit; background: #21aaa1; transition: width .3s ease; }
#rent-bar { background: #e8b66e; }
.bar-label { display: flex; justify-content: space-between; font-size: 14px; }
.card-grid, .decision-grid, .article-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.guide-card { padding: 24px; box-shadow: 0 8px 25px rgba(13,45,58,.06); }
.guide-card.featured { color: #fff; background: var(--navy); border-color: var(--navy); }
.guide-card.featured h2, .guide-card.featured h3, .guide-card.featured a { color: #fff; }
.guide-card h3 { margin-top: 0; }
.guide-card p { color: var(--muted); }
.guide-card.featured p { color: #d8e6e8; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--teal-dark); font-weight: 900; }
.text-link { font-weight: 800; }
.page-head { padding: 72px max(24px, calc((100vw - 980px)/2)) 62px; background: linear-gradient(120deg, var(--cream), var(--mint)); }
.page-head h1 { max-width: 900px; font-size: clamp(34px, 5vw, 56px); }
.page-head .lead { max-width: 760px; }
.prose { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 58px 0 88px; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: #334d56; }
.prose li + li { margin-top: 7px; }
.meta { color: var(--muted); font-size: 14px; }
.formula, .notice, .example { margin: 24px 0; padding: 20px 22px; }
.formula { border-left: 5px solid var(--teal); background: var(--mint); font-weight: 800; }
.notice { background: var(--cream); border-color: #e5cfaa; }
.example { background: #f6f9f9; }
.table-scroll { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; min-width: 620px; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--navy); background: #edf7f5; }
tr:last-child td { border-bottom: 0; }
.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq h2, .faq h3 { margin-bottom: 7px; font-size: 20px; }
.related, .cta { margin-top: 42px; padding: 28px; border-radius: var(--radius); background: var(--mint); }
.cta { color: #fff; background: var(--navy); }
.cta h2, .cta h3, .cta a { color: #fff; }
.sources { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.carry-check { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.size-result { padding: 24px; border-radius: var(--radius); color: #fff; background: var(--navy); }
.size-result h2, .size-result h3 { color: #fff; }
.comparison-steps { counter-reset: steps; list-style: none; padding: 0; }
.comparison-steps li { position: relative; padding: 0 0 26px 54px; }
.comparison-steps li::before { counter-increment: steps; content: counter(steps); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 900; }
.mistake-list > * { margin-bottom: 18px; padding: 20px; border-left: 4px solid #df9b43; background: var(--cream); }
footer { color: #c8d8db; background: #081f28; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 52px 0 30px; }
.footer-grid > div:last-child { display: grid; align-content: start; gap: 10px; }
footer a { color: #d7e7e8; }
.copyright { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 20px 0 28px; border-top: 1px solid #25404a; font-size: 13px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 60px 24px 110px; }
  .hero > img { height: 390px; }
  .quick-tool { margin-top: -64px; }
  .calculator-layout, .footer-grid { grid-template-columns: 1fr; }
  .calculator-results { position: static; }
  .card-grid, .decision-grid, .article-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .site-header { padding: 11px 18px; }
  .nav-toggle { display: block; }
  #site-nav { position: absolute; left: 16px; right: 16px; top: 68px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  #site-nav.open { display: flex; }
  #site-nav a { padding: 12px; }
  #site-nav a:last-child { margin-top: 5px; text-align: center; }
  .hero > img { height: 300px; }
  .content-section { width: min(100% - 28px, 1180px); padding: 52px 0; }
  .calculator-layout, .comparison-steps, .reference-table, .mistake-list, .faq, .article, .article-list, .decision-grid { width: min(100% - 28px, 1180px); padding: 44px 0; }
  .quick-tool { width: calc(100% - 28px); padding: 22px; }
  .tool-grid, .field-grid, .field-grid.three, .card-grid, .decision-grid, .article-list, .carry-check { grid-template-columns: 1fr; }
  .check { padding-top: 4px; }
  .page-head { padding: 54px 20px 46px; }
  .prose { width: min(100% - 30px, 820px); }
  .calculator-panel, .calculator-results { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

.affiliate-recommendation{background:#fff;border:1px solid var(--line,#d9e2e8);border-left:6px solid var(--accent,var(--cyan,#168aad));border-radius:8px 22px 22px 8px;padding:28px;margin:38px 0}.affiliate-recommendation h2{margin:0 0 10px;font-size:1.55rem}.affiliate-recommendation p{color:var(--muted,#526471)}.affiliate-recommendation .affiliate-banner{display:block;margin:18px 0;max-width:300px}.affiliate-recommendation .affiliate-banner>a{display:block}.affiliate-recommendation .affiliate-banner>a>img{width:auto;height:auto;max-width:100%}.affiliate-recommendation .affiliate-banner>img{position:absolute;width:1px;height:1px}.affiliate-recommendation>small{display:block;color:var(--muted,#526471);margin-top:12px;line-height:1.65}
