:root {
  color-scheme: light;
  --navy: #102a46;
  --muted: #4c6073;
  --pale: #edf5fa;
  --border: #d8e5ed;
  --green: #06763e;
  --orange: #a64918;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--navy);
  line-height: 1.7;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #fff; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
html { scroll-padding-top: 18px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #bb531b; outline-offset: 3px; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { line-height: 1.34; font-weight: 800; }
h2 { font-size: clamp(1.38rem, 2.75vw, 2.2rem); margin-bottom: 20px; text-wrap: balance; }
h2 span { color: #1c6093; }
h3 { font-size: 1.03rem; }
.wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.section { padding-block: clamp(32px, 5.5vw, 70px); }
.note { color: var(--muted); font-size: .78rem; margin-top: 12px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header { border-bottom: 1px solid var(--border); }
.header-inner { min-height: 59px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: inline-block; }
.brand img { width: 118px; }
.header-link { font-weight: 700; font-size: .82rem; text-decoration: none; white-space: nowrap; }
.header-link span { color: #1c6093; }
.hero { background: #f3f7fa; }
.wrap.hero-grid { width: min(960px, calc(100% - 16px)); display: grid; gap: clamp(10px, 1.5vw, 20px); padding-block: clamp(14px, 2.4vw, 32px); }
.hero-heading { text-align: center; padding-inline: 4px; }
.hero h1 { font-size: clamp(1.45rem, 7vw, 3.25rem); letter-spacing: -.045em; line-height: 1.2; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: #185d8f; }
.hero-heading p { margin-top: 7px; color: var(--muted); font-size: clamp(.78rem, 2vw, 1rem); font-weight: 700; text-wrap: balance; }
.button { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; min-height: 48px; padding: 9px 10px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-size: .92rem; font-weight: 800; line-height: 1.35; }
.button span { margin-left: auto; font-size: 1.16em; }
.line { color: #fff; background: var(--green); }
.line:hover { background: #055f32; }
.outline { color: var(--navy); background: #fff; border-color: #c3d4df; }
.outline:hover, .light:hover { background: #e7f1f8; }
.light { background: #fff; color: var(--navy); }
.hero-media { display: block; overflow: hidden; border-radius: clamp(8px, 1.3vw, 15px); }
.hero-media img { width: 100%; height: auto; }
.hero-actions { width: min(100%, 680px); margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.hero-actions .line { grid-column: 1 / -1; min-height: 52px; font-size: 1.03rem; }
.reasons, .compare-grid, .contact-grid { display: grid; gap: 10px; }
.mascot-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mascot-heading h2, .mascot-heading h3 { margin: 0; }
#reasons-title { text-wrap: wrap; }
.mascot { width: clamp(47px, 7vw, 76px); height: auto; flex: none; object-fit: contain; }
.compare-card .mascot { margin-left: auto; }
.compare-card .mascot-heading { margin-bottom: 2px; }
.reasons article { display: flex; align-items: start; gap: 11px; padding: 13px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.tile { display: grid; place-items: center; width: 39px; height: 39px; flex: none; background: #e7f2fa; color: #175e91; border-radius: 9px; }
.tile.warm { background: #fff2e3; color: var(--orange); }
.reasons p, .compare-card p, .compare-card li, .contact-card p, .gift p { font-size: .88rem; color: var(--muted); }
.reasons p, .compare-card p, .contact-card p { margin-top: 5px; }
.comparison { background: #f1f6f9; }
.compare-card { padding: clamp(15px, 2.8vw, 28px); border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.compare-card ul { padding-left: 1.2em; margin-top: 8px; }
.featured { background: #132f4b; border-color: #132f4b; color: #fff; }
.featured h3 { font-size: clamp(1.21rem, 2.5vw, 1.8rem); margin-top: 9px; }
.featured p, .closing p { color: #e2edf5; }
.check-list { list-style: none; padding: 0; display: grid; gap: 6px 18px; }
.check-list li { position: relative; padding: 5px 0 5px 27px; font-size: .92rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 19px; height: 19px; display: grid; place-items: center; font-size: .77rem; font-weight: 900; color: #1c6093; background: #e6f2fa; border-radius: 50%; }
.worries p { margin-top: 12px; }
.contact { background: #f2f7fa; }
.contact-card { display: flex; flex-direction: column; padding: 15px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.contact-card.primary { background: #f1faf5; border-color: #c6e5d3; }
.contact-card .button { margin-top: auto; }
.contact-card p { margin-bottom: 10px; }
.contact-card p:last-child { margin-bottom: 0; }
.gift { margin-top: 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px; background: #fff6e9; border: 1px solid #efdeca; border-radius: 13px; }
.gift-mascot { width: clamp(67px, 10vw, 110px); }
.gift .gift-status { display: inline-block; background: #f9e5cf; color: #783a19; font-weight: 800; padding: 2px 7px; border-radius: 4px; font-size: .72rem; margin-bottom: 4px; }
.gift h3 { margin-bottom: 4px; }
.gift p { font-size: .79rem; }
.gift .note { margin-top: 4px; }
.gift-link { display: inline-block; margin-top: 4px; font-size: .83rem; color: #075d36; font-weight: 800; padding-block: 4px; }
.closing { text-align: center; background: #102a46; color: #fff; }
.closing h2 { margin-bottom: 10px; }
.closing-heading { width: fit-content; max-width: 680px; margin-inline: auto; }
.closing-heading .mascot { filter: drop-shadow(0 0 2px #b5d5ed); }
.closing p { font-size: .9rem; }
.closing-line-note {
  max-width: 680px;
  margin: 18px auto 0;
  padding: 13px 16px;
  border: 1px solid #57738c;
  border-radius: 10px;
  background: #193651;
}
.closing-line-note h3 { text-wrap: balance; }
.closing-line-note p { margin-top: 5px; text-align: left; }
.closing-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px auto 0; max-width: 680px; }
.closing-actions .line { grid-column: 1 / -1; }
footer { font-size: .84rem; }
.footer-grid { display: grid; align-items: center; gap: 14px; padding-block: 23px; }
address { font-style: normal; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 5px 13px; margin-top: 8px; }
.office { width: 170px; border-radius: 8px; }
.mobile-actions { position: fixed; z-index: 4; inset: auto 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: #fff; box-shadow: 0 -3px 14px #142b451a; }
.mobile-actions .button { font-size: .84rem; gap: 4px; }
.mobile-actions .icon { width: 17px; height: 17px; }
.appraisal-chat { display: none; }
@media (max-width: 699px) {
  .hero-actions, .appraisal-chat { width: calc(100% - 16px); margin-inline: auto; }
  .reasons { gap: 7px; }
  .reasons article { align-items: center; padding: 11px; }
  .reasons p { margin-top: 3px; }
  .mobile-actions { grid-template-columns: minmax(0, 1fr) 60px 83px; }
  .mobile-actions .outline { padding-inline: 5px; white-space: nowrap; }
  .appraisal-chat {
    display: block;
    padding: 15px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
  }
  .appraisal-chat h2 { margin-bottom: 3px; font-size: 1.12rem; }
  .chat-intro { color: var(--muted); font-size: .78rem; }
  .chat-history { display: grid; gap: 8px; margin-block: 10px; }
  .chat-greeting { display: flex; align-items: start; gap: 8px; }
  .chat-avatar { width: 40px; height: 40px; flex: none; object-fit: contain; border-radius: 50%; background: #edf4f9; }
  .chat-greeting .chat-message { min-width: 0; }
  .chat-message { justify-self: start; max-width: 95%; padding: 8px 10px; font-size: .88rem; background: #edf4f9; border-radius: 3px 12px 12px; }
  .chat-answer { justify-self: end; background: #e3f4e9; border-radius: 12px 3px 12px 12px; }
  .chat-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .chat-choices .line { grid-column: 1 / -1; }
  .chat-option { font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
  .chat-option:focus-visible { outline: 3px solid #bb531b; outline-offset: 2px; }
  .chat-reset { grid-column: 1 / -1; justify-self: center; min-height: 44px; color: var(--muted); border: 0; background: none; text-decoration: underline; }
}
@media (max-width: 350px) {
  .mobile-actions .outline { padding-inline: 7px; }
  .closing-actions .button { gap: 5px; font-size: .82rem; }
}
@media (min-width: 700px) {
  .wrap { width: min(1120px, calc(100% - 64px)); }
  .hero-actions { grid-template-columns: 1.6fr 1fr 1fr; }
  .hero-actions .line { grid-column: auto; }
  .compare-grid, .check-list, .footer-grid { grid-template-columns: 1fr 1fr; }
  .gift { gap: 20px; padding: 18px; }
  .office { justify-self: end; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .mobile-actions { display: none; }
  .reasons, .contact-grid, .closing-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .reasons article { padding: 18px; }
  .contact-card { padding: 20px; }
  .closing-actions .line { grid-column: auto; }
}
