:root {
  color-scheme: light;
  --ink: #142137;
  --muted: #4e5e6f;
  --navy: #10213a;
  --deep: #0b192d;
  --accent: #c4eb8a;
  --green: #385e27;
  --line: #d9e0e4;
  --mist: #f3f6f8;
  --paper: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #2f75cd; outline-offset: 5px; }
section[id] { scroll-margin-top: 32px; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 3; padding: 8px 16px; color: white; background: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-layout { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { width: 118px; flex: none; }
.brand img, .company-logo { width: 100%; height: auto; aspect-ratio: 1.75; object-fit: cover; object-position: center; }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 0.875rem; font-weight: 700; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 0.24em; }
.header-link { padding: 9px 14px; border: 1px solid #b4c1cb; border-radius: 4px; white-space: nowrap; }
.header-link span { margin-inline-start: 4px; }

.hero { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); margin-block-start: 32px; background: var(--navy); color: white; overflow: hidden; border-radius: 8px; }
.hero-body { padding: clamp(32px, 4.4vw, 68px); align-self: center; }
.eyebrow { margin-block-end: 12px; font-size: 0.8125rem; font-weight: 750; letter-spacing: 0.05em; color: var(--green); }
.hero-label { color: var(--accent); }
h1 { font-size: clamp(1.875rem, 3.42vw, 3.475rem); line-height: 1.24; letter-spacing: -0.035em; }
h1 span { display: block; }
.keep-together { white-space: nowrap; }
.hero-description { max-width: 35em; margin-block-start: 22px; color: #dce6f0; font-size: 0.975rem; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-block-start: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 48px; padding: 10px 15px; text-decoration: none; border-radius: 4px; font-size: 0.875rem; font-weight: 750; }
.button-accent { color: var(--deep); background: var(--accent); }
.button-accent:hover { background: #d6f39e; }
.hero-contact { font-size: 0.8125rem; font-weight: 700; text-underline-offset: 0.28em; }
.hero-contact:hover { color: var(--accent); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.hero-gallery { position: relative; min-height: clamp(450px, 39vw, 540px); background: var(--deep); }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo figcaption {
  position: absolute;
  inset: auto auto 16px 16px;
  max-width: calc(100% - 168px);
  padding: 6px 10px;
  border-radius: 4px;
  color: #f4f8fb;
  background: #111e2bf2;
  font-size: .6875rem;
  line-height: 1.5;
}
.hero-photo figcaption strong { display: block; font-size: .875rem; }
.gallery-controls {
  position: absolute;
  right: 16px;
  bottom: 14px;
  height: 40px;
  display: flex;
  align-items: center;
  background: #111e2bf2;
  border: 1px solid #aebbc6;
  border-radius: 5px;
  color: white;
}
.gallery-controls button {
  width: 44px;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  color: inherit;
  border: 0;
  cursor: pointer;
  font: 400 1.6rem/1 system-ui, sans-serif;
}
.gallery-controls button:hover { background: #29425b; }
.gallery-controls button:focus-visible { outline-color: var(--accent); outline-offset: -4px; }
.gallery-progress { height: 100%; display: flex; align-items: center; gap: 4px; }
.gallery-progress span { width: 9px; height: 3px; border-radius: 2px; background: #92a2b6; }
.gallery-progress .is-current { background: var(--accent); }

.coaching { padding-block: 88px 96px; }
.section-heading { max-width: 720px; margin-block-end: 32px; }
h2 { font-size: clamp(1.625rem, 3.05vw, 2.75rem); line-height: 1.3; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.section-heading > p:last-child, .company-layout > div > p:not(.eyebrow) { margin-block-start: 12px; color: var(--muted); }
.app-evidence { background: var(--mist); border: 1px solid var(--line); border-radius: 8px; padding: clamp(16px, 3.2vw, 48px); }
.demo-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}
.demo-tabs button {
  min-height: 44px;
  padding: 8px 4px;
  color: var(--ink);
  background: white;
  border: 1px solid #aebbc6;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-size: clamp(.72rem, 1.8vw, .95rem);
  font-weight: 750;
  line-height: 1.45;
}
.demo-tabs button:hover { border-color: var(--navy); }
.demo-tabs button[aria-selected="true"] { color: white; background: var(--navy); border-color: var(--navy); }
.demo-panel:not([hidden]) + .demo-panel { margin-top: 32px; }
.demo-panel header { max-width: 48rem; margin-bottom: 20px; }
.demo-panel h3 { font-size: clamp(1rem, 2.2vw, 1.4rem); line-height: 1.5; }
.demo-panel header p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.app-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2.6vw, 32px); align-items: start; max-width: 750px; margin-inline: auto; }
.app-shot { min-width: 0; }
.app-shot a { display: block; border: 1px solid #aebbc6; border-radius: 8px; background: white; }
.app-shot a:hover { border-color: var(--navy); }
.app-shot img { width: 100%; height: auto; border-radius: inherit; }
.app-shot figcaption { color: var(--ink); margin-top: 8px; font-size: .82rem; font-weight: 700; text-align: center; }
.demo-caption { color: var(--muted); font-size: .75rem; margin-top: 16px; }

.text-link { display: inline-flex; gap: 6px; margin-block-start: 20px; padding-block: 5px; color: #143e61; font-size: 0.9rem; font-weight: 750; text-underline-offset: 0.3em; }
.text-link:hover { color: var(--green); }

.company { border-block-start: 1px solid var(--line); background: var(--mist); padding-block: 72px; }
.company-layout { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(28px, 6vw, 88px); }
.company-logo { width: 134px; margin-block-start: 21px; border-radius: 4px; mix-blend-mode: multiply; }
.company-facts { border-block-start: 1px solid var(--line); }
.company-facts div { display: grid; grid-template-columns: minmax(90px, 0.34fr) minmax(0, 1fr); gap: 12px; padding: 12px 0; border-block-end: 1px solid var(--line); font-size: 0.9375rem; }
.company-facts dt { font-weight: 750; }
.company-facts dd { overflow-wrap: anywhere; }
.company-facts a { text-underline-offset: 0.22em; }

.contact { padding-block: 56px; background: var(--navy); color: white; }
.contact-layout { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.contact .eyebrow { color: var(--accent); }
.contact h2 { font-size: clamp(1.5rem, 2.65vw, 2.3rem); }
.contact p:last-child { margin-block-start: 10px; color: #dce6f0; }
.contact-actions { display: grid; gap: 12px; }
.roundin-link { padding: 7px 2px; text-align: center; font-size: 0.875rem; font-weight: 700; text-underline-offset: 0.27em; }
.roundin-link:hover { color: var(--accent); }
.site-footer { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 0.8125rem; }
.site-footer a { text-underline-offset: 0.22em; }

@media (max-width: 1040px) {
  .wrap { width: calc(100% - 64px); }
  .hero-body { padding: 32px; }
  .hero-gallery { min-height: 430px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header-layout { min-height: 65px; }
  .brand { width: 92px; }
  .site-header nav { gap: 12px; }
  .site-header .section-nav:first-child { display: none; }
  .header-link { font-size: 0.75rem; }
  .hero { grid-template-columns: minmax(0, 1fr); margin-block-start: 20px; }
  .hero-body { padding: 32px 24px; }
  h1 { font-size: clamp(1.75rem, 7.3vw, 2.8rem); }
  .hero-description { margin-block-start: 16px; }
  .hero-actions { margin-block-start: 20px; gap: 14px; }
  .hero-gallery { min-height: auto; aspect-ratio: 4 / 3; }
  .hero-photo figcaption { bottom: 8px; left: 8px; max-width: calc(100% - 170px); }
  .gallery-controls { right: 8px; bottom: 6px; }
  .demo-panel:not([hidden]) + .demo-panel { margin-top: 24px; }
  .app-screens {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(120px, 46%);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 5px 5px 10px;
  }
  .app-shot { scroll-snap-align: start; }
  .coaching { padding-block: 56px 64px; }
  .section-heading { margin-block-end: 24px; }
  .company-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .company { padding-block: 48px; }
  .contact { padding-block: 44px; }
  .contact-actions { justify-items: start; }
}
@media (max-width: 379px) {
  .site-header .section-nav { display: none; }
  .wrap { width: calc(100% - 32px); }
  .hero-body { padding-inline: 18px; }
  h1 { font-size: clamp(1.42rem, 7.2vw, 1.75rem); }
}