


:root {
  
  --bg: #fcfbf8;
  --surface: #ffffff;
  --bg-soft: #f3f1ec;
  --bg-soft-2: #ebe8e1;
  --ink: #2a2a2a;          
  --ink-strong: #1a1a1a;   
  --muted: #595959;        
  --line: #e2dfd8;
  --line-strong: #c9c5bc;
  --accent: #1a6e99;       
  --sky: #3fa9d8;          
  --brown: #7a5233;        
  --brown-soft: #f4ece4;
  --accent-hover: #145778;
  --accent-soft: #e8f4fa;
  --caution: #7a5233;      
  --caution-soft: #f4ece4;
  --error: #b3261e;
  --error-soft: #fbeceb;
  --success: #25613a;
  --success-soft: #e9f3ec;
  --focus: #2f6fd6;

  
  --font-body: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-head: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --fs-xs: 14px;     
  --fs-sm: 15px;
  --fs-body: 17px;
  --fs-lg: 19px;
  --fs-h3: 20px;
  --fs-h2: clamp(22px, 1.4vw + 16px, 28px);
  --fs-h1: clamp(26px, 2.2vw + 17px, 38px);
  --lh-body: 1.9;
  --lh-head: 1.55;
  --measure: 38em;                        
  --col: calc(var(--fs-body) * 38);       

  
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --max: 1160px;
  --gutter: 24px;
  --radius: 4px;
  --header-h: 72px;
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: anywhere;
  line-break: strict;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink-strong);
  line-height: var(--lh-head);
  letter-spacing: 0.02em;
  word-break: auto-phrase;
  text-wrap: balance;
  overflow-wrap: normal;
}
p { margin: 0 0 1em; }

p, li, dd, td { text-wrap: pretty; }

:is(p, li, dd, td):has(.nb) { text-wrap: wrap; }

.tbl:not(.wb) td { word-break: auto-phrase; }

.toc-title, .facts dt, .field-label, .upcoming-label, .message-label, .plan-name { letter-spacing: 0.02em; }
strong { font-weight: 700; color: var(--ink-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.nb { white-space: nowrap; }
.phrase { display: inline-block; }
.measure { max-width: var(--measure); }

:where(.page-lead, .closing-lead, .faq dt, .sec-lead, .read p, .hero-lead) { word-break: auto-phrase; }

.wb, .sec-head h2, .tool h3, .read h3, .consult-body h3 { word-break: keep-all; overflow-wrap: anywhere; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }


.pic { display: block; width: 100%; height: auto; object-fit: cover; background: var(--bg-soft-2); }
.ratio-hero { aspect-ratio: 21 / 9; }
.ratio-sq { aspect-ratio: 1 / 1; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-wide { aspect-ratio: 16 / 7; }


.beta-bar, .notice-bar {
  background: var(--bg-soft);
  color: var(--muted);
  text-align: center;
  font-size: var(--fs-xs);
  line-height: 1.6;
  padding: 7px 16px;
}


.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(252, 251, 248, 0.96);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s5); min-height: var(--header-h);
}
.logo {
  text-decoration: none; color: var(--ink-strong);
  font-family: var(--font-head); font-weight: 700;
  font-size: 21px; letter-spacing: 0.04em; line-height: 1.3;
  white-space: nowrap;
}

.site-header .logo { display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; }
.logo small {
  display: block; font-family: var(--font-body); font-weight: 400;
  font-size: var(--fs-xs); letter-spacing: 0.04em; color: var(--muted);
}
.head-tools { display: contents; }
.nav { --nav-gap: var(--s5); display: flex; align-items: center; gap: var(--nav-gap); }
.nav a {
  font-family: var(--font-head); font-weight: 400;
  font-size: var(--fs-sm); letter-spacing: 0.02em; text-decoration: none; white-space: nowrap;
  padding: 10px 0;
}
.nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }
.nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.nav .btn { padding: 11px 22px; font-size: var(--fs-sm); margin-left: var(--s2); }
.nav .btn:hover { text-decoration: none; color: #fff; }


.site-header .head-cta { display: none; white-space: nowrap; }
.menu { display: none; position: static; }
.menu > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface); color: var(--ink-strong);
  white-space: nowrap;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu-icon { display: inline-block; width: 16px; height: 12px; position: relative; flex: none; }
.menu-icon::before, .menu-icon::after, .menu-icon span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 1px;
}
.menu-icon::before { top: 0; }
.menu-icon span { top: 5px; }
.menu-icon::after { bottom: 0; }
.menu[open] .menu-icon span { opacity: 0; }
.menu[open] .menu-icon::before { top: 5px; transform: rotate(45deg); }
.menu[open] .menu-icon::after { bottom: 5px; transform: rotate(-45deg); }
.menu-close { display: none; }
.menu[open] .menu-open { display: none; }
.menu[open] .menu-close { display: inline; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  
  max-height: calc(100vh - var(--header-h) - 40px);
  max-height: calc(100svh - var(--header-h) - 40px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  padding: var(--s2) 16px var(--s5);
}
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 8px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 400; font-size: var(--fs-lg);
  letter-spacing: 0.02em; text-decoration: none; color: var(--ink-strong);
}
.menu-panel li a::after { content: "→"; color: var(--muted); font-size: var(--fs-sm); }
.menu-panel li a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.menu-panel li a[aria-current="page"]::after { color: var(--accent); }
.menu-panel .actions { margin-top: var(--s5); }


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 32px;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-body);
  letter-spacing: 0.02em; line-height: 1.4; text-decoration: none; text-align: center;
  color: #fff; background: var(--accent);
  border: 1px solid var(--accent); border-radius: var(--radius);
  cursor: pointer; transition: background-color .15s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent-soft); color: var(--accent); }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] {
  background: #5f6873; border-color: #5f6873; color: #fff; cursor: not-allowed; 
}

.btn[aria-busy="true"][disabled] { background: var(--accent); border-color: var(--accent); opacity: .9; }
.btn[aria-busy="true"] { cursor: progress; }
.btn[aria-busy="true"]::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.tel {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 4px;
  color: var(--ink-strong); text-decoration: none;
  font-family: var(--font-head); font-weight: 400; font-size: var(--fs-body);
  letter-spacing: 0.02em; white-space: nowrap;
}
.tel svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.tel .tel-num { font-weight: 700; font-size: var(--fs-lg); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.tel:hover .tel-num { text-decoration: underline; text-underline-offset: 5px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--accent); font-family: var(--font-head); font-weight: 700; letter-spacing: 0.02em;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px;
}
.text-link::after { content: "→"; display: inline-block; transition: transform .15s ease; }
.text-link:hover::after { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); }
.fine { font-size: var(--fs-xs); line-height: 1.8; color: var(--muted); margin: var(--s3) 0 0; }

.tag {
  display: inline-block; align-self: flex-start; justify-self: start;
  font-family: var(--font-head); font-weight: 700; font-size: var(--fs-xs);
  letter-spacing: 0.02em; line-height: 1.5;
  color: var(--accent); background: var(--accent-soft);
  padding: 3px 10px; border-radius: 999px;
}


.section { padding: var(--s9) 0 0; }
.sec-head { border-bottom: 1px solid var(--line); padding-bottom: var(--s4); margin-bottom: var(--s6); }
.sec-head h2 { font-size: var(--fs-h2); margin: 0; }
.sec-lead { margin: var(--s2) 0 0; color: var(--muted); font-size: var(--fs-sm); }


.hero { padding: var(--s6) 0 0; }

.hero-pic { border-radius: 2px; max-height: min(46vh, 440px); object-position: 50% 70%; }
.hero-copy { padding: var(--s6) 0 0; max-width: 46em; }
.hero-copy h1 { font-size: var(--fs-h1); line-height: 1.5; margin: 0 0 var(--s4); letter-spacing: 0.02em; }
.hero-lead { font-size: var(--fs-lg); line-height: 1.9; margin: 0 0 var(--s6); max-width: 34em; }
.hero .fine { margin-top: var(--s3); }

.hero-eyebrow { margin: 0 0 var(--s2); font-size: var(--fs-sm); font-weight: 700; color: var(--accent); letter-spacing: 0.08em; }
.hero-copy h1 .hl { font-style: normal; color: var(--accent); }
.hero-points { list-style: none; margin: 0 0 var(--s5); padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.hero-points li { position: relative; padding: var(--s3) var(--s3) var(--s3) 2.1em; background: var(--accent-soft); border-radius: var(--radius); font-size: var(--fs-sm); line-height: 1.5; color: var(--ink); }
.hero-points strong { display: block; color: var(--ink-strong); }
.hero-points :is(strong, span) { word-break: auto-phrase; }
.hero-points b { font-weight: inherit; }

@media (max-width: 760px) { .hero-points li { padding-left: 1.8em; padding-right: var(--s2); } .hero-points li::before { left: 0.55em; } }
@media (max-width: 359px) { .hero-points { grid-template-columns: 1fr; } }
.hero-points span { display: block; margin-top: 2px; font-size: var(--fs-xs); color: var(--muted); }
.hero-points li::before { content: "✓"; position: absolute; left: 0.7em; top: var(--s3); color: var(--accent); }
.hero-rep { display: flex; align-items: center; gap: var(--s4); margin: 0 0 var(--s5); padding: var(--s3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-rep img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.hero-rep p { margin: 0; line-height: 1.6; }
.hero-rep strong { display: block; color: var(--ink-strong); }

.hero-copy .actions { justify-content: center; }
.hero .fine { text-align: center; }
.sp-br { display: none; }
@media (max-width: 760px) { .sp-br { display: inline; } }
.hero-rep p > span { display: block; font-size: var(--fs-xs); color: var(--muted); }

@media (min-width: 1024px) {
  .hero-copy {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s8); align-items: start; max-width: none;
    grid-template-areas: "eyebrow points" "title points" "lead rep" "lead actions" "lead fine" ". .";
    grid-template-rows: auto auto auto auto 1fr;
  }
  .hero-copy > .hero-eyebrow { grid-area: eyebrow; }
  .hero-copy > h1 { grid-area: title; margin: 0 0 var(--s5); }
  .hero-copy > .hero-lead { grid-area: lead; }
  .hero-copy > .hero-points { grid-area: points; }
  .hero-copy > .hero-rep { grid-area: rep; }
  .hero-copy > .actions { grid-area: actions; }
  .hero-copy > .fine { grid-area: fine; }
  .hero { padding-top: var(--s5); }
  .hero-lead { max-width: 30em; margin: 0; }
  .hero-copy .actions { column-gap: var(--s5); }
}


.tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.tool {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tool:hover { border-color: var(--line-strong); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.tool:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.tool-body { padding: var(--s4) 20px 20px; flex: 1; display: flex; flex-direction: column; }
.tool h3 { font-size: var(--fs-lg); margin: var(--s3) 0 var(--s4); line-height: 1.6; letter-spacing: 0.02em; }

.tool-change { margin: 0 0 var(--s4); display: grid; gap: 2px; font-size: var(--fs-sm); line-height: 1.6; }
.tool-change dt { font-size: var(--fs-xs); font-weight: 700; color: var(--accent); }
.tool-change dt:nth-of-type(2) { color: var(--muted); margin-top: var(--s2); }
.tool-change dd { margin: 0; color: var(--ink); }
.tool-kind {
  margin: auto 0 0; padding-top: var(--s3); border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: var(--fs-sm); color: var(--muted);
}
.tool-kind::after { content: "→"; color: var(--accent); font-weight: 700; }

.upcoming {
  margin-top: var(--s6); padding: var(--s5);
  background: var(--bg-soft); border-radius: var(--radius);
  display: grid; grid-template-columns: 11em 1fr; gap: var(--s2) var(--s5);
}
.upcoming-label { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); font-size: var(--fs-sm); padding-top: 2px; }
.upcoming ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.upcoming li { font-size: var(--fs-sm); color: var(--ink); white-space: nowrap; }
.upcoming li:not(:last-child)::after { content: "、"; }
.upcoming p:last-child { grid-column: 2; margin: 0; font-size: var(--fs-sm); color: var(--muted); }


.reads { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4) var(--s6); }
.read { display: block; text-decoration: none; color: inherit; }
.read h3 { font-size: var(--fs-h3); margin: 0 0 var(--s2); }
.read p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.read:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }


.consult { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; }
.consult-body { order: 1; padding: var(--s7); }

.consult-pic { order: 2; height: 100%; min-height: 360px; object-position: 40% 60%; }

@media (min-width: 1181px) {
  .consult { align-items: start; }
  .consult-pic { height: auto; min-height: 0; aspect-ratio: 4 / 3; object-position: 50% 60%; width: calc(100% - var(--s7)); margin: var(--s7) var(--s7) 0 0; border-radius: var(--radius); }
}
.consult-body h3 { font-size: clamp(21px, 1vw + 15px, 25px); margin: 0 0 var(--s4); }
.consult-body > p { max-width: 32em; }

.plan { list-style: none; margin: var(--s5) 0; padding: 0; counter-reset: plan; border-top: 1px solid var(--line-strong); }
.plan li {
  counter-increment: plan;
  display: grid; grid-template-columns: 2.2em 1fr auto; gap: var(--s3); align-items: baseline;
  padding: var(--s3) 0; border-bottom: 1px solid var(--line-strong);
}
.plan li::before { content: counter(plan); font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: var(--fs-lg); }
.plan-name { font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); line-height: 1.6; }
.plan-name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.02em; }
.plan-price { font-size: var(--fs-sm); color: var(--ink-strong); white-space: nowrap; text-align: right; }
.plan-price.is-free { font-weight: 700; color: var(--accent); }
.plan:has(+ .plan-note) { margin-bottom: var(--s2); }
.plan-note { margin: 0 0 var(--s4); font-size: var(--fs-sm); color: var(--muted); }
.consult .actions { margin-top: var(--s5); gap: var(--s3) var(--s5); }


.message {
  margin: var(--s8) 0 0; width: calc(100% * 1.15 / 2.15); max-width: 40em;
  padding: var(--s5) 0 0; border-top: 2px solid var(--accent);
}
.message-label { margin: 0 0 var(--s3); font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: var(--fs-sm); }
.message blockquote { margin: 0; }
.message blockquote p { margin: 0 0 0.6em; }

.message-sign { margin: var(--s3) 0 0; font-size: inherit; color: var(--muted); text-align: right; }

.message-actions { grid-column: 1 / -1; margin-top: var(--s5); }

.dl-cta { margin: var(--s6) 0; padding: var(--s5); border: 1px solid var(--line-strong); border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--accent-soft); }
.dl-cta p { margin: 0 0 var(--s2); }
.dl-cta-label { font-size: var(--fs-sm); color: var(--accent); font-weight: 700; }
.dl-cta-title { font-size: 1.15em; font-weight: 700; }
.dl-cta .btn { margin-top: var(--s2); background: #fff; } 
.rep-sign { margin: var(--s3) 0 0; font-size: inherit; color: var(--muted); text-align: right; }
.rep-photo { display: block; width: 100%; height: auto; border-radius: var(--radius); }

.message.has-photo, .rep-block { display: grid; grid-template-columns: 200px 1fr; gap: var(--s6); align-items: start; }
.message.has-photo { width: auto; max-width: 52em; }
.rep-block { margin: var(--s5) 0 var(--s6); }
.rep-body > p:first-child, .rep-body > h2:first-child { margin-top: 0; }
.rep-wrap { margin: 0 0 var(--s6); }
.rep-wrap::after { content: ""; display: block; clear: both; }
.rep-wrap > p:first-of-type { margin-top: 0; }
.rep-float { float: right; width: 220px; margin: 0 0 var(--s4) var(--s6); }
@media (max-width: 767px) { .rep-float { float: none; width: auto; margin: 0 0 var(--s4); } .rep-float .rep-photo { width: 220px; } }
.rep-sign--top { margin: 0 0 var(--s2); text-align: left; } 
@media (max-width: 760px) {
  .message.has-photo, .rep-block { grid-template-columns: 1fr; gap: var(--s4); }
  .message.has-photo .rep-photo, .rep-block .rep-photo { width: 220px; }
}


.policy-text { max-width: var(--measure); }
.policy-text p:first-child { font-size: var(--fs-lg); line-height: 1.9; }



.site-footer { margin-top: var(--s9); background: var(--bg-soft); border-top: 1px solid var(--line); padding: var(--s7) 0 var(--s6); font-size: var(--fs-sm); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s6) var(--s7); }
.foot-brand .logo { font-size: 19px; }
.foot-brand address { font-style: normal; margin-top: var(--s4); color: var(--ink); line-height: 1.9; word-break: keep-all; } 
.foot-brand .tel { min-height: 44px; font-size: var(--fs-sm); }
.foot-brand .tel .tel-num { font-size: var(--fs-body); }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--s6); }
.foot-nav a {
  display: flex; align-items: center; min-height: 44px;
  text-decoration: none; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.foot-nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.foot-copy { grid-column: 1 / -1; margin: 0; padding-top: 0; border-top: 0; color: var(--muted); font-size: var(--fs-xs); }


.crumb { list-style: none; margin: 0; padding: var(--s3) 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: var(--fs-xs); color: var(--muted); }
.crumb li { display: flex; align-items: center; }
.crumb li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--muted); }

.crumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-underline-offset: 4px; }
.crumb a:hover { color: var(--accent); }

.page-head { padding: var(--s5) 0 var(--s2); max-width: 46em; }
.page-head > :last-child { margin-bottom: 0; } 
.page-head h1 { font-size: clamp(25px, 1.8vw + 17px, 34px); margin: 0 0 var(--s4); }
.page-lead { margin: 0; font-size: var(--fs-lg); max-width: 36em; }
.page-head .actions { margin-top: var(--s4); }
.page-visual { margin: var(--s6) 0 0; border-radius: 2px; }


main :is(.crumb, .page-head) { max-width: var(--col); margin-inline: auto; }
.page-visual { max-width: var(--col); margin-inline: auto; }

.article { max-width: var(--col); margin: 0 auto; padding: var(--s7) 0 0; }
.article h2 { font-size: var(--fs-h2); margin: var(--s8) 0 var(--s4); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.article h2:first-child { margin-top: 0; }

.article h2 small {
  display: block; margin-top: 2px;
  font-family: var(--font-body); font-weight: 400; font-size: var(--fs-sm);
  letter-spacing: 0.02em; line-height: 1.7; color: var(--muted);
}

.article h2 + :is(.facts, .operator) { border-top: 0; }
.article h3 { font-size: var(--fs-h3); margin: var(--s6) 0 var(--s2); }
.article ul, .article ol { margin: 0 0 1em; padding-left: 1.5em; }
.article li { margin-bottom: 0.4em; }
.article li::marker { color: var(--muted); }

.article mark { background: linear-gradient(transparent 58%, #cfe8f6 58%); color: inherit; padding: 0 0.1em; }

.article a:not(.btn):not(.text-link):not(.tel):not(.read):not(.tool) { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); margin: 0 0 var(--s7); }
.toc-title { margin: 0 0 var(--s2); font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); font-size: var(--fs-sm); }
.toc ol { margin: 0; padding-left: 1.5em; }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 0; } 

.callout {
  margin: var(--s5) 0; padding: var(--s4) var(--s5);
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout > :last-child { margin-bottom: 0; }
.callout--caution, .callout.caution { background: var(--caution-soft); border-left-color: var(--caution); }

.facts { margin: var(--s4) 0 var(--s5); display: grid; grid-template-columns: max-content 1fr; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.facts dt { padding-right: var(--s5); padding-top: calc(var(--s3) + 2px); font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--ink-strong); white-space: nowrap; }

.tbl-wrap { margin: var(--s4) 0 var(--s5); }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.8; background: var(--surface); }

.tbl--mid thead th:nth-child(2) { width: 48%; }
.tbl caption { text-align: left; font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); padding-bottom: var(--s2); }
.tbl th, .tbl td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }

.tbl thead th, .tbl tr:first-child:not(:has(td)) th { background: var(--bg-soft); font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); white-space: nowrap; }

.tbl tbody th, .tbl tbody td:first-child { font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); }
.tbl tbody th { white-space: nowrap; }

.source { font-size: var(--fs-xs); color: var(--muted); line-height: 1.8; margin-top: var(--s5); }

.faq { margin: 0; }
.faq dt { position: relative; margin-top: var(--s5); padding-left: 2.2em; font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); line-height: 1.7; text-wrap: balance; }
.faq dt::before { content: "Q"; position: absolute; left: 0; top: 0; color: var(--accent); }
.faq dd { position: relative; margin: var(--s2) 0 0; padding: 0 0 var(--s5) 2.2em; border-bottom: 1px solid var(--line); }
.faq dd::before { content: "A"; position: absolute; left: 0; top: 0; color: var(--muted); font-family: var(--font-head); font-weight: 700; }

.steps-v { list-style: none; margin: var(--s4) 0 var(--s5); padding: 0 !important; counter-reset: s; }
.steps-v li {
  counter-increment: s; position: relative;
  padding: var(--s5) var(--s5) var(--s5) 76px; margin-bottom: var(--s3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.steps-v li::before {
  content: counter(s); position: absolute; left: var(--s5); top: var(--s5);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm);
  display: flex; align-items: center; justify-content: center;
}
.steps-v h3 { margin: 0 0 var(--s1) !important; font-size: var(--fs-lg); }
.steps-v p { margin: 0 !important; }
.steps-v .price {
  display: inline-block; margin-top: var(--s3);
  font-size: var(--fs-xs); font-family: var(--font-head); font-weight: 700; color: var(--ink-strong);
  background: var(--bg-soft); padding: 2px 12px; border-radius: 999px;
}
.steps-v .price.is-free { background: var(--accent-soft); color: var(--accent); }

.operator { margin: var(--s4) 0; display: grid; grid-template-columns: 6em 1fr; border-top: 1px solid var(--line); }
.operator dt, .operator dd { margin: 0; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.operator dt { color: var(--muted); font-size: var(--fs-sm); padding-top: calc(var(--s4) + 2px); }
.operator dd ul { margin: 0; padding-left: 1.2em; }
.operator dd a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }


.closing { margin: var(--s8) 0 0; padding: var(--s6) 0 0; border-top: 1px solid var(--line); }
.closing-lead { font-size: var(--fs-lg); color: var(--ink-strong); margin: 0 0 var(--s5); max-width: 32em; }
.closing--panel { border-top: 0; background: var(--bg-soft); padding: var(--s6); border-radius: var(--radius); }

:is(.operator, .facts, .faq) + .closing:not(.closing--panel) { border-top: 0; padding-top: 0; margin-top: var(--s7); }

.legal { max-width: var(--col); margin: 0 auto; padding: var(--s7) 0 0; }
.legal h2 { font-size: var(--fs-h3); margin: var(--s7) 0 var(--s3); }
.legal ol, .legal ul { padding-left: 1.5em; }
.legal li { margin-bottom: 0.4em; }
.legal .dated { color: var(--muted); font-size: var(--fs-sm); text-align: right; margin-top: var(--s7); }


.form { display: grid; gap: var(--s6); margin: var(--s5) 0 0; }
.field { display: grid; gap: var(--s2); }
.field-label {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px;
  font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); font-size: var(--fs-body);
  padding: 0;
}
.tag--req, .tag--opt {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-xs);
  line-height: 1.5; padding: 1px 8px; border-radius: 3px; letter-spacing: 0.02em;
}
.tag--req { color: #fff; background: var(--caution); }
.tag--opt { color: var(--muted); background: var(--bg-soft-2); }

.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form select, .form textarea {
  width: 100%; font: inherit; font-size: var(--fs-body); line-height: 1.6;
  min-height: 52px; padding: 12px 14px;
  color: var(--ink-strong); background: var(--surface);
  border: 1px solid #8e8a82; border-radius: var(--radius);
}
.form select {
  appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: right 22px center, right 16px center;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
.form ::placeholder { color: #6b6b6b; } 
.hint { margin: 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.8; }

.checks { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s1); min-width: 0; }
.checks legend { margin-bottom: var(--s2); }
.check, .consent label { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 8px 0; cursor: pointer; line-height: 1.7; }
.check input, .consent input { flex: none; width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--accent); }
.checks--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s5); }
.checks--grid legend { grid-column: 1 / -1; }

.consent { padding: var(--s4) var(--s5); background: var(--bg-soft); border-radius: var(--radius); }
.consent a { color: var(--accent); text-underline-offset: 4px; }

.consent .hint { padding-left: 34px; margin-top: calc(var(--s2) * -1); } 
.consent .hint a { display: inline-flex; align-items: center; min-height: 44px; }

.field-error { display: none; margin: 0; color: var(--error); font-size: var(--fs-sm); font-weight: 700; }
.field.is-invalid .field-error { display: block; }

.form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea)[aria-invalid="true"] {
  border-color: var(--error); border-width: 2px; background-color: var(--error-soft);
}
.consent.is-invalid { background: var(--error-soft); box-shadow: inset 4px 0 0 var(--error); }

.form-alert { padding: var(--s4) var(--s5); border-radius: var(--radius); border-left: 4px solid; }

.form-alert:focus, .form-alert:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.form-alert > :last-child { margin-bottom: 0; }
.form-alert--error { background: var(--error-soft); border-color: var(--error); color: #6d1712; }
.form-alert--info { background: var(--accent-soft); border-color: var(--accent); }
.form-alert--success { background: var(--success-soft); border-color: var(--success); color: #183f26; }
.form-alert-title { font-family: var(--font-head); font-weight: 700; margin: 0 0 var(--s1); }

.turnstile { min-height: 72px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { display: grid; gap: var(--s3); justify-items: start; }
.form-submit .btn { min-width: 16em; }



@media (min-width: 1181px) and (max-width: 1700px) {
  .nav { --nav-gap: 14px; }
  .nav a { font-size: 14px; letter-spacing: 0; }
  .nav .btn { padding: 10px 14px; font-size: 14px; margin-left: 0; }
  .site-header .logo small { display: none; }
}
@media (min-width: 1181px) and (max-width: 1400px) {
  .nav { --nav-gap: 10px; }
  .nav a { font-size: 13.5px; }
}
@media (min-width: 1701px) and (max-width: 1860px) {
  .nav { --nav-gap: var(--s4); }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .head-tools { display: flex; align-items: center; gap: var(--s2); }
  .site-header .head-cta { display: inline-flex; min-height: 44px; padding: 8px 16px; font-size: var(--fs-sm); }
  .menu { display: block; }
  .tools { grid-template-columns: repeat(2, 1fr); }
  .tool-pic { aspect-ratio: 16 / 9; }
  .consult { grid-template-columns: 1fr; }
  .consult-pic { order: 0; min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .message { width: auto; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; --header-h: 64px; }
  body { letter-spacing: 0.02em; }
  .section { padding-top: var(--s8); }
  .logo { font-size: 18px; }
  .site-header .logo small { display: none; }
  .beta-long { display: none; }

  .hero { padding-top: 0; }
  .hero .wrap { padding: 0; }
  .hero-pic { aspect-ratio: 3 / 2; max-height: none; border-radius: 0; object-position: 30% 50%; }
  .hero-copy { padding: var(--s6) var(--gutter) 0; }
  .hero-lead { font-size: var(--fs-body); margin-bottom: var(--s5); }
  .actions { flex-direction: column; align-items: stretch; gap: var(--s2); }
  .actions .btn { width: 100%; }
  .actions .tel { justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); flex-wrap: wrap; white-space: normal; }
  .actions .tel .tel-num { white-space: nowrap; } 
  .actions .text-link { justify-content: center; }
  .hero .fine { text-align: center; }

  .tools { grid-template-columns: 1fr; gap: var(--s3); }
  .tool { flex-direction: row; }
  .tool-pic { width: 108px; flex: none; aspect-ratio: auto; height: auto; }
  .tool-body { padding: var(--s3) var(--s4); }
  .tool h3 { font-size: var(--fs-body); margin: var(--s2) 0; }
  .tool-kind { font-size: var(--fs-xs); padding-top: var(--s2); }
  .tool-change { margin-bottom: var(--s2); font-size: var(--fs-xs); }

  .upcoming { grid-template-columns: 1fr; padding: var(--s4); }
  .upcoming ul { display: block; }
  .upcoming li { white-space: normal; }
  .upcoming li:not(:last-child)::after { content: none; }
  .upcoming li::before { content: "・"; color: var(--muted); }
  .upcoming p:last-child { grid-column: 1; }

  .reads { grid-template-columns: 1fr; }
  .consult-body { padding: var(--s6) var(--s4); }
  .plan li { grid-template-columns: 1.8em 1fr; row-gap: 2px; }
  .plan-price { grid-column: 2; text-align: left; }
  .message { margin-top: var(--s7); }
  .policy-text p:first-child { font-size: var(--fs-body); }

  .site-footer .wrap { grid-template-columns: 1fr; }
  .foot-nav ul { grid-template-columns: 1fr; }
  .foot-nav a { min-height: 52px; font-size: var(--fs-body); }

  .closing--panel { padding: var(--s5) var(--s4); }
  .checks--grid { grid-template-columns: 1fr; }
  .form-submit { justify-items: stretch; }
  .form-submit .btn { min-width: 0; width: 100%; }
  .operator { grid-template-columns: 1fr; }
  .operator dt { border-bottom: 0; padding-bottom: 0; }
  .operator dd { padding-top: var(--s1); }
}


@media (max-width: 600px) {
  .tbl, .tbl tbody, .tbl tr, .tbl td, .tbl th { display: block; width: 100%; }
  .tbl { background: transparent; }
  
  .tbl thead, .tbl tr:first-child:not(:has(td)) { position: absolute; left: -9999px; }
  .tbl tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: var(--s3); padding: var(--s2) 0; }
  .tbl td, .tbl tbody th { border: 0; padding: 6px var(--s4); white-space: normal; }
  
  .tbl td, .tbl tbody th { font-size: var(--fs-body); line-height: 1.8; }
  .tbl td:first-child, .tbl tbody th:first-child { font-family: var(--font-head); font-weight: 700; color: var(--ink-strong); font-size: var(--fs-body); }
  .tbl td[data-label]:not(:first-child)::before {
    content: attr(data-label); display: block;
    font-size: var(--fs-xs); color: var(--muted); font-family: var(--font-head); font-weight: 700;
  }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 2px; }
  .steps-v li { padding: var(--s4) var(--s4) var(--s4) 64px; }
  .steps-v li::before { left: var(--s4); top: var(--s4); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
@media print {
  .beta-bar, .notice-bar, .site-header, .site-footer, .menu { display: none; }
  body { background: #fff; }
}


@media (max-width: 420px) {
  .site-header .wrap { gap: var(--s3); }
  .site-header .head-cta { padding: 8px 12px; }
  .menu > summary { padding: 0 10px; }
  .menu-icon { display: none; }
}

@media (max-width: 359px) {
  .site-header .head-cta { display: none; }
}


.turnstile .field-error { display: block; }
.legal a { color: var(--accent); text-underline-offset: 4px; }


.logo { color: var(--brown); }
.logo small { color: var(--muted); }
.brand-mark { width: auto; height: 60px; flex: none; } 
.site-header .logo-wrap, .foot-brand .logo-wrap { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.sec-head h2::before { content: ""; display: block; width: 32px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--sky) 0 50%, var(--brown) 50% 100%); margin-bottom: 14px; }
.site-header { border-bottom-color: var(--line); box-shadow: inset 0 3px 0 var(--sky); }
.site-footer { border-top: 3px solid var(--brown); }
.message { border-top-color: var(--brown); }
.message-label { color: var(--brown); }
@media (max-width: 700px) { .brand-mark { height: 48px; } }
@media (max-width: 420px) { .brand-mark { height: 42px; } .site-header .logo-wrap { gap: 6px; } .site-header .logo { font-size: 14px; white-space: nowrap; } } 


.sns { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s4) 0 0; padding: 0; }
.sns[hidden], .sns-inline[hidden] { display: none; }
.sns a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; color: inherit; font-size: var(--fs-sm); background: #fff; }
.sns a:hover { border-color: var(--accent); color: var(--accent); }
.sns-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 12px; line-height: 1; }
.sns-line .sns-mark { background: #06c755; }
.sns-x .sns-mark { background: #111; }

img.sns-mark { display: block; width: 24px; height: 24px; border-radius: 0; background: none; flex: none; }
.sns-inline { margin: var(--s3) 0 0; font-size: var(--fs-sm); }

.sns .sns-soon { color: var(--ink-muted, #666); background: var(--bg-soft); border-style: dashed; }
.sns .sns-soon img { opacity: .55; }


.operator .history { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
.operator .history dt, .operator .history dd { margin: 0; padding: 0; border: 0; background: none; font-weight: inherit; }
.operator .history dt { font-weight: 700; white-space: nowrap; }
.operator .history .fine { font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 600px) { .operator .history { grid-template-columns: 1fr; gap: 2px; } .operator .history dd { margin-bottom: 8px; } }
.sns .sns-item { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-sm); background: #fff; color: inherit; }
.sns .sns-item small { margin-left: 4px; font-size: 12px; color: var(--muted); }


.article .reads { margin-top: var(--s5); }

.reads--col { max-width: var(--col); margin-inline: auto; }
.reads--one { grid-template-columns: 1fr; }

.col-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); max-width: 880px; margin: var(--s5) auto 0; }
.col-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s; }
.col-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.col-card img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.col-card-body { display: flex; flex-direction: column; flex: 1; padding: var(--s4); }
.col-card h3 { margin: 0; font-size: var(--fs-body); line-height: 1.7; flex: 1; }
.col-card:hover h3 { color: var(--accent); }
.col-card-date { margin: var(--s3) 0 0; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 600px) { .col-cards { grid-template-columns: 1fr; } }

.related { margin: var(--s5) 0 0; font-size: var(--fs-sm); }  


.tool.is-soon { opacity: 1; cursor: default; }  
.tool.is-soon:hover { border-color: var(--line); box-shadow: none; }
.tool.is-soon:hover h3 { color: inherit; text-decoration: none; }

.product-cats { margin-top: var(--s5); }
.product-cats .tools { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 761px) and (max-width: 1180px) { .product-cats .tools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .product-cats .tools { grid-template-columns: 1fr; } }


.line-qr { display: none; margin: var(--s3) 0 0; }
.line-qr img { display: block; width: 160px; height: 160px; }
.line-qr figcaption { margin-top: 8px; font-size: var(--fs-xs); color: var(--muted); }
@media (min-width: 761px) { .line-qr { display: block; } }
.sns-inline p { margin: 0; }

div.sns-inline { text-align: center; }
div.sns-inline .line-qr img { margin: 0 auto; }

.cf-turnstile { display: flex; justify-content: center; }
.cf-turnstile + .field-error { text-align: center; }
@media (min-width: 761px) { .form-submit { justify-items: center; } }


.head-cta .cta-long { display: none; }
@media (min-width: 1181px) {
  .site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; max-width: 1680px; }
  .site-header .logo-wrap { justify-self: start; }
  .nav { grid-column: 2; justify-self: center; }
  .nav .btn { display: none; }
  .site-header .head-cta { display: inline-flex; grid-column: 3; justify-self: end; min-height: 44px; padding: 10px 18px; font-size: 14px; }
  .head-cta .cta-long { display: inline; }
  .head-cta .cta-short { display: none; }
}
@media (min-width: 1181px) and (max-width: 1400px) {
  .site-header .brand-mark { height: 52px; }
  .site-header .logo { font-size: 18px; }
  .nav { --nav-gap: 8px; }
  .head-cta .cta-long { display: none; }
  .head-cta .cta-short { display: inline; }
}
@media (max-width: 360px) { .site-header .brand-mark { height: 38px; } } 


.nav > a:not(.btn) { position: relative; }
.nav > a:not(.btn) + a:not(.btn)::before {
  content: ""; position: absolute; left: calc(var(--nav-gap) / -2); top: 50%;
  height: 1em; transform: translateY(-50%); border-left: 1px solid var(--line-strong);
}


@media (min-width: 1181px) and (max-width: 1279px) {
  .site-header .wrap { display: flex; }
  .nav { display: none; }
  .head-tools { display: flex; align-items: center; gap: var(--s2); }
  .site-header .head-cta { display: inline-flex; min-height: 44px; padding: 8px 16px; font-size: var(--fs-sm); }
  .menu { display: block; }
}
@media (min-width: 1280px) and (max-width: 1400px) {
  .site-header .brand-mark { height: 44px; }
  .site-header .logo { font-size: 16px; }
}


.notice-bar a { white-space: nowrap; }
@media (max-width: 374px) {
  .site-header .brand-mark { height: 34px; }
  .site-header .logo { font-size: 13px; }
  .site-header .logo-wrap { gap: 4px; }
  .site-header .head-cta { padding: 8px 10px; }
}

@media (min-width: 421px) and (max-width: 560px) {
  .site-header .brand-mark { height: 44px; }
  .site-header .logo { font-size: 16px; }
  .site-header .logo-wrap { gap: 6px; }
}

.xs-br { display: none; }
@media (max-width: 389px) { .xs-br { display: inline; } }
