/* Homepage refinement, 2026-09-26. Loaded only by the homepage. */
:root { --cta: #c5472e; --cta-dark: #a73823; }
.keep-together { white-space: nowrap; }
html { scroll-padding-top: 90px; }
.header-inner { width: min(1320px, calc(100% - 64px)); min-height: 80px; gap: 24px; }
.desktop-nav { gap: 24px; }
.header-contact-menu { border: 0; align-self: center; gap: 10px; }
.header-contact-phone { background: transparent; padding: 8px 0; min-width: 165px; }
.header-contact-item { min-height: 46px; min-width: auto; border: 0; border-radius: 4px; padding: 10px 16px; }
.header-contact-item strong { font-size: 13px; }
.header-contact-mail { background: var(--cta); grid-template-columns: 20px auto; }
.header-contact-line { background: transparent; color: var(--ink); padding-inline: 8px; }
.header-contact-line small { display: none; }
.hero-inner { width: min(1260px, calc(100% - 80px)); min-height: 0; padding: 48px 0; gap: 48px; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); }
.hero h1 { font-size: clamp(42px, 4.1vw, 64px); line-height: 1.38; letter-spacing: .02em; margin-bottom: 22px; text-shadow: none; }
.hero .hero-line-unit { white-space: nowrap; }
.hero h1 em { display: block; width: fit-content; }
.eyebrow { margin-bottom: 20px; letter-spacing: .1em; font-size: 12px; }
.hero-lead { font-size: 16px; line-height: 1.9; margin-bottom: 20px; text-shadow: none; }
.hero-portrait { margin: 0; align-self: stretch; min-height: 380px; position: relative; border-radius: 6px; overflow: hidden; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; position: absolute; inset: 0; }
.hero-portrait figcaption { position: absolute; bottom: 0; inset-inline: 0; padding: 32px 24px 20px; background: linear-gradient(transparent, #072642db); font-size: 14px; }
.hero-fee { display: flex; flex-wrap: wrap; gap: 5px 20px; padding-block: 16px; margin-bottom: 24px; border-block: 1px solid #ffffff40; font-size: 13px; color: #e0eef6; }
.hero-fee strong { font-size: 16px; color: #fff; }
.hero-fee a { color: #9fddf7; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.hero-actions { flex-wrap: wrap; align-items: center; gap: 18px; }
.hero-line-link { font-size: 14px; color: #fff; padding-block: 12px; text-decoration: underline; text-underline-offset: 5px; }
.button { min-height: 56px; }
.button-primary { box-shadow: 0 8px 22px #0000001a; }
.hero .action-note { font-size: 12px; color: #c6d8e5; margin: 12px 0 0; }
.hero-disclaimer { font-size: 12px; color: #c6d8e5; margin: 18px 0 0; max-width: 600px; line-height: 1.7; }
.experience-strip { background: #f0f7fb; color: var(--ink); display: flex; justify-content: center; gap: 48px; padding: 20px 32px; }
.experience-strip > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 12px; }
.experience-strip span, .experience-strip small { font-size: 12px; }
.experience-strip strong { font-size: 24px; font-family: var(--serif); }
.experience-strip .experience-contact { display: grid; gap: 2px; }
.experience-contact strong { font-family: var(--sans); font-size: 13px; }
.experience-contact a { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.section { padding: 80px 0; }
.section-inner { width: min(1180px, calc(100% - 80px)); }
.section-heading { margin-bottom: 36px; }
.section-heading h2, .price-copy h2, .area-inner h2, .faq-heading h2, .documents-intro h2, .final-cta h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.55; }
.section-heading > p:last-child { margin-top: 16px; color: #4f687a; font-size: 15px; }
.section-label { margin-bottom: 12px; }
.split-heading, .documents-intro { gap: 48px; }
.support-overview { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: stretch; }
.support-overview figure { margin: 0; border-radius: 6px; overflow: hidden; position: relative; min-height: 360px; }
.support-overview figure img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.support-overview figcaption { position: absolute; bottom: 0; inset-inline: 0; padding: 32px 20px 18px; background: linear-gradient(transparent, #072642e0); color: #fff; font-size: 14px; }
.support-overview .support-list { display: grid; grid-template-columns: 1fr; gap: 0; }
.support-overview .support-list article { grid-template-columns: 32px 1fr; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); gap: 18px; }
.support-overview .support-list article > div { display: block; min-width: 0; }
.support-overview .support-list article:first-child { padding-top: 0; }
.support-overview .support-list h3 { font-size: 21px; margin-bottom: 8px; }
.support-overview .support-list p { font-size: 15px; line-height: 1.9; }
.support-region { margin: 24px 0 0; font-size: 14px; color: #4f687a; }
.cases { background: var(--mist); }
.case-grid p { color: #4f687a; }
.ailabo-carousel-track.case-grid > a { min-height: 0; }
.ailabo-carousel-track.case-grid .case-body { min-height: 250px; padding: 24px; }
.ailabo-carousel-track.case-grid .case-photo { height: 230px; }
.price-inner { gap: 56px; }
.price-copy .section-label { color: #9fddf7; }
.price-copy > p:not(.section-label) { color: #d5e3ed; }
.price-panel { padding: 32px; }
.price-panel:before { display: none; }
.step-list li { padding: 24px; }
.step-list h3 { font-size: 20px; margin: 18px 0 12px; }
.step-list p { font-size: 14px; color: #4f687a; }
.process-note { margin: 20px 0 0; font-size: 13px; color: #4f687a; }
.process-note a { text-decoration: underline; text-underline-offset: 4px; }
.documents-intro { margin-bottom: 36px; }
.document-body > p { font-size: 14px; min-height: 0; }
.documents-note { font-size: 12px; text-align: left; }
.documents-cta { gap: 24px; padding: 28px; }
.documents-cta .button { min-width: 0; }
.area-inner, .faq-inner { gap: 56px; }
.faq-list details > div p { font-size: 15px; }
.final-cta { padding: 80px 0; }
.mobile-cta { display: none; }
.ailabo-carousel-controls button { min-width: 44px; min-height: 44px; }
.ailabo-carousel-dot { position: relative; background: transparent; border-radius: 0; padding: 0; }
.ailabo-carousel-dot:after { content: ''; display: block; width: 8px; height: 8px; background: #91a7b7; border-radius: 10px; margin: auto; }
.ailabo-carousel-dot.is-active { width: 44px; background: transparent; }
.ailabo-carousel-dot.is-active:after { width: 22px; background: var(--coral-dark); }
.ailabo-carousel-dots { gap: 0; }
.ailabo-carousel-arrow:disabled { opacity: .4; cursor: default; transform: none; }
.ailabo-carousel-track:after { display: none; }
@media (max-width: 1100px) {
  .header-inner { width: calc(100% - 40px); gap: 18px; }
  .brand strong { font-size: 18px; }
  .desktop-nav { gap: 16px; }
  .header-contact-line { display: none; }
  .hero-inner { gap: 32px; }
  .hero h1 { font-size: 44px; }
  .experience-strip { gap: 24px; }
  .experience-strip small { display: block; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .header-contact-menu { margin-left: auto; }
  .hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 15px; }
  .experience-strip { gap: 20px; }
  .experience-strip > div { max-width: 30%; }
  .support-overview { gap: 24px; }
  .price-inner, .area-inner, .faq-inner { gap: 32px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 78px; }
  .header-inner { min-height: 64px; width: calc(100% - 36px); }
  .header-inner .brand small { display: block; font-size: 9px; }
  .header-contact-menu { display: none; }
  .hero-inner { width: calc(100% - 40px); grid-template-columns: minmax(0, 1fr); padding: 30px 0 24px; gap: 24px; }
  .hero h1 { font-size: clamp(32px, 8.7vw, 44px); letter-spacing: .02em; line-height: 1.35; margin-bottom: 20px; }
  .hero .hero-line-unit { display: block; }
  .eyebrow { font-size: 11px; margin-bottom: 18px; }
  .hero-lead { font-size: 15px; margin-bottom: 18px; }
  .hero-fee { display: grid; gap: 5px; padding: 12px 0; margin-bottom: 20px; }
  .hero-fee strong { font-size: 15px; }
  .hero-actions { gap: 8px; flex-direction: column; align-items: stretch; }
  .hero .button { width: 100%; padding-inline: 12px; gap: 14px; font-size: 14px; min-height: 56px; }
  .hero-line-link { text-align: center; padding-block: 8px; }
  .hero .action-note { font-size: 11px; margin-top: 4px; }
  .hero-disclaimer { font-size: 11px; margin-top: 12px; }
  .hero-portrait { min-height: 0; height: 200px; }
  .hero-portrait img { object-position: 50% 37%; }
  .hero-portrait figcaption { font-size: 12px; padding: 25px 16px 12px; }
  .experience-strip { padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .experience-strip > div { max-width: none; gap: 2px 8px; }
  .experience-strip span { width: 100%; font-size: 11px; }
  .experience-strip small { font-size: 11px; }
  .experience-strip .experience-contact { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; }
  .section { padding: 48px 0; }
  .section-inner { width: calc(100% - 40px); }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2, .price-copy h2, .area-inner h2, .faq-heading h2, .documents-intro h2, .final-cta h2 { font-size: 27px; letter-spacing: .01em; line-height: 1.55; }
  .section-heading > p:last-child { font-size: 14px; }
  .split-heading, .documents-intro { grid-template-columns: 1fr; gap: 16px; }
  .support-overview { grid-template-columns: 1fr; gap: 24px; }
  .support-overview figure { min-height: 0; height: 200px; }
  .support-overview .support-list article { grid-template-columns: 24px 1fr; padding: 18px 0; gap: 12px; }
  .support-overview .support-list h3 { font-size: 19px; }
  .support-overview .support-list p { font-size: 14px; }
  .support-region { font-size: 13px; margin-top: 20px; }
  .ailabo-carousel { --carousel-edge: 20px; margin-inline: -20px; --carousel-card-width: min(82vw, 330px); }
  .ailabo-carousel-track.case-grid .case-photo { height: 210px; }
  .ailabo-carousel-track.case-grid .case-body { min-height: 245px; padding: 22px; }
  .ailabo-carousel-track.case-grid > a { min-height: 0; }
  .ailabo-carousel-controls { gap: 4px; }
  .ailabo-carousel-dots { max-width: calc(100vw - 100px); flex-wrap: wrap; justify-content: center; }
  .price-inner { grid-template-columns: 1fr; gap: 28px; }
  .price-panel { padding: 24px 18px; }
  .price-panel .price-examples { grid-template-columns: 1fr; }
  .price-panel .price-examples span { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; }
  .price-panel .price-examples small { font-size: 12px; }
  .price-panel .price-tax-note { font-size: 12px; }
  .price-panel .button { padding: 12px; font-size: 13px; gap: 8px; }
  .step-list { grid-template-columns: 1fr; }
  .step-list li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 20px 0; border-left: 0; border-bottom: 0; }
  .step-list li:last-child { border-bottom: 1px solid var(--line); }
  .step-list li:after, .step-list li:nth-child(2):after { display: none; }
  .step-list h3 { margin: 0 0 8px; font-size: 19px; }
  .step-list p { font-size: 14px; }
  .process-note { font-size: 12px; }
  .process-note a { display: block; margin-top: 8px; }
  .documents-cta { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
  .documents-cta h3 { font-size: 21px; }
  .documents-cta .button { padding: 12px; gap: 8px; font-size: 13px; }
  .area-inner, .faq-inner { grid-template-columns: 1fr; gap: 24px; }
  .faq-list summary { font-size: 16px; gap: 12px; padding-right: 28px; }
  .faq-list details > div { padding: 0 8px 24px; gap: 8px; }
  .faq-list details > div p { font-size: 14px; }
  .final-cta { padding: 48px 0; }
  .mobile-cta { position: fixed; z-index: 60; inset: auto 0 0; display: grid; grid-template-columns: 1.7fr 1fr 1fr; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mobile-cta a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 60px; padding: 8px 4px; font-size: 14px; line-height: 1.5; font-weight: 700; }
  .mobile-cta a span { font-size: 11px; }
  .mobile-cta .mobile-consult { background: var(--cta); color: #fff; cursor: pointer; }
  .mobile-cta .mobile-phone { background: #fff; color: var(--ink); }
  .mobile-cta .mobile-line { background: #087b3c; color: #fff; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Comparison: アイラボ on the left, general support on the right. */
.comparison thead th:last-child { background: var(--ink); }
.comparison thead th:nth-child(2) { background: var(--coral-dark); }
.comparison tbody td:last-child { background: var(--paper-strong); color: var(--muted); }
.comparison tbody td:nth-child(2) { background: #1976b90f; color: var(--ink); }
