/* AXcess: 紺・紙・黄色。実務デモを最初に表示する。 */
:root {
  --paper: #f6f8f7; --ink: #183447; --ink-soft: #4d6472;
  --hl: #f7e04a; --line: #ccd8d5; --white: #fff;
  --mincho: "Shippori Mincho B1", "Yu Mincho", serif;
  --gothic: "BIZ UDPGothic", "Yu Gothic", sans-serif;
  --wrap: 1320px; --gutter: 32px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.9 var(--gothic); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--mincho); font-weight: 800; line-height: 1.5; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #bc5c24; outline-offset: 5px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section-wrap { max-width: 1180px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 20px; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(246,248,247,.97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.logo { white-space: nowrap; font: 700 25px/1.5 var(--gothic); text-decoration: none; letter-spacing: .01em; }
.logo-ax { background: var(--ink); color: white; padding: 2px 6px; margin-right: 1px; border-radius: 3px; }
.nav { display: flex; gap: 28px; align-items: center; font-size: 13px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav-cta { border: 1px solid var(--ink); border-radius: 3px; padding: 7px 14px; }
.nav-cta:hover { background: var(--ink); color: white; }
.eyebrow { font: 700 11px/1.6 var(--gothic); letter-spacing: .13em; color: var(--ink-soft); }
.demo-section { padding: 30px 0 48px; }
.intro { margin-bottom: 24px; }
.intro h1 { margin: 8px 0; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: .015em; }
.intro h1 span { margin-left: .4em; }
.intro > p:last-child { font-size: 14px; color: var(--ink-soft); }
.demo-shell { display: grid; grid-template-columns: 278px minmax(0, 1fr); border: 1px solid var(--line); background: white; }
.demo-library { background: var(--ink); color: #fff; padding: 25px 0 22px; }
.library-heading { display: flex; justify-content: space-between; align-items: center; padding: 0 22px 20px; font-size: 13px; }
.library-heading > span:last-child { color: #b4c7d1; font-size: 10px; letter-spacing: .12em; }
.demo-option { display: flex; gap: 13px; width: 100%; padding: 20px 20px 20px 18px; background: none; border: 0; border-top: 1px solid #365062; border-left: 3px solid transparent; color: #e8f0f3; text-align: left; line-height: 1.6; }
.demo-option:last-child { border-bottom: 1px solid #365062; }
.demo-option:hover { background: #24465b; }
.demo-option.is-active { background: #294b5e; border-left-color: var(--hl); }
.demo-option:focus-visible { outline-color: var(--hl); outline-offset: -5px; }
.demo-number { color: #afc3cf; font: 12px/1.8 var(--gothic); padding-top: 1px; }
.is-active .demo-number { color: var(--hl); }
.option-copy { display: block; flex: 1; min-width: 0; }
.option-category { display: block; color: #b7cbd5; font-size: 11px; margin-bottom: 4px; }
.option-copy strong { display: block; font-size: 14px; font-weight: 700; }
.option-meta { display: flex; justify-content: space-between; gap: 6px; color: #b7cbd5; font-size: 10px; margin-top: 10px; }
.library-note { padding: 23px 22px; font-size: 12px; color: #c0d0d8; line-height: 1.8; }
.library-link { display: flex; justify-content: space-between; margin: 0 22px; padding-top: 14px; border-top: 1px solid #486171; color: var(--hl); font-size: 12px; text-decoration: none; }
.demo-main { min-width: 0; }
.player-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 45px; padding: 8px 20px; font-size: 11px; color: var(--ink-soft); }
.player-topline b { color: var(--ink); margin-right: 8px; }
#demo-category { margin-left: 15px; }
.video-stage { position: relative; aspect-ratio: 16 / 9; background: #0d1c26; overflow: hidden; }
.video-stage video { display: block; width: 100%; height: 100%; object-fit: contain; }
.play-cover { position: absolute; inset: 0 0 46px; border: 0; background: linear-gradient(transparent 20%, rgba(9,25,35,.2)); color: white; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; text-shadow: 0 1px 5px #14222e; font-size: 13px; font-weight: 700; }
.play-circle { display: grid; place-items: center; padding-left: 4px; width: 72px; height: 72px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(24,52,71,.92); font-size: 24px; box-shadow: 0 6px 28px #18344740; }
.play-cover:hover .play-circle { background: var(--ink); transform: scale(1.06); }
.video-error { padding: 14px 22px; color: #9b2e23; background: #fff0e9; font-size: 13px; }
.demo-detail { padding: 22px 26px 24px; }
.demo-detail h2 { font-size: clamp(20px, 2vw, 26px); }
.demo-detail > p { margin-top: 9px; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.demo-io { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0 0; gap: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.demo-io dt { color: var(--ink-soft); font-size: 10px; margin-bottom: 4px; }
.demo-io dd { margin: 0; font-size: 12px; font-weight: 700; }
.demo-note { margin-top: 15px; color: var(--ink-soft); font-size: 11px; text-align: right; }
.no-script { margin-top: 20px; }
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section-tint { background: white; }
.section h2 { margin-top: 12px; font-size: clamp(26px, 3.2vw, 38px); }
.section-lead { max-width: 48em; margin-top: 24px; color: var(--ink-soft); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.service { border-top: 2px solid var(--ink); padding-top: 16px; }
.service-no { font-size: 11px; color: var(--ink-soft); }
.service h3 { margin: 14px 0 17px; font-size: 23px; }
.service p { color: var(--ink-soft); font-size: 14px; }
.tool-note { display: grid; grid-template-columns: 250px 1fr; gap: 30px; padding-top: 28px; margin-top: 40px; border-top: 1px solid var(--line); }
.tool-note strong { font-size: 14px; }
.tool-note p { font-size: 14px; color: var(--ink-soft); }
.fde-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.highlight { background: linear-gradient(transparent 70%, var(--hl) 70%); }
.fde-copy > p { margin-bottom: 22px; font-size: 15px; }
.fde-example { border-top: 1px solid var(--line); padding-top: 26px; }
.fde-example h3 { font-size: 22px; }
.fde-example p { font-size: 14px; color: var(--ink-soft); margin-top: 12px; }
.text-link { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 700; }
.steps { list-style: none; margin: 38px 0 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 70px 1fr; column-gap: 22px; padding: 25px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(step); grid-row: span 2; font: 800 34px/1.3 var(--mincho); color: var(--ink-soft); }
.steps h3 { font-size: 22px; }
.steps p { margin-top: 8px; color: var(--ink-soft); font-size: 14px; max-width: 58em; }
.section-ink { background: var(--ink); color: #d7e3ea; }
.section-ink h2 { color: white; }
.section-ink .eyebrow { color: #b9cdd7; }
.why > p:last-child { max-width: 45em; margin-top: 24px; }
.faq-list { margin-top: 35px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 22px 8px; font-size: 15px; font-weight: 700; }
.faq-list p { padding: 0 28px 26px; max-width: 65em; color: var(--ink-soft); font-size: 14px; }
.soudan > p:not(.eyebrow) { max-width: 48em; margin-top: 20px; color: var(--ink-soft); }
.btn { display: inline-block; margin-top: 24px; padding: 12px 24px; text-decoration: none; border-radius: 3px; font-size: 14px; font-weight: 700; }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: #2e5268; }
.company-section { padding: 55px 0; }
.company-section h2 { font-size: 24px; }
.company-info { font-size: 13px; margin: 24px 0; }
.company-info > div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.company-info dt { font-weight: 700; }
.company-info dd { margin: 0; color: var(--ink-soft); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; gap: 24px; justify-content: space-between; align-items: center; min-height: 80px; font-size: 12px; color: var(--ink-soft); }
.logo-small { font-size: 20px; }
@media (max-width: 1050px) {
  :root { --gutter: 24px; }
  .demo-shell { grid-template-columns: 240px minmax(0, 1fr); }
  .demo-option { padding: 19px 14px; gap: 9px; }
  .option-copy strong { font-size: 12px; }
  .nav { gap: 18px; }
  .fde-layout { gap: 38px; }
}
@media (max-width: 760px) {
  :root { --gutter: 18px; }
  html { scroll-padding-top: 75px; }
  .header-inner { min-height: 60px; gap: 12px; }
  .logo { font-size: 22px; }
  .nav { gap: 12px; font-size: 11px; }
  .nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 6px 10px; }
  .demo-section { padding: 23px 0 30px; }
  .eyebrow { font-size: 10px; letter-spacing: .07em; }
  .intro { margin-bottom: 18px; }
  .intro h1 { font-size: clamp(24px, 5.7vw, 33px); line-height: 1.5; }
  .intro h1 span { display: block; margin-left: 0; }
  .intro > p:last-child { font-size: 12px; line-height: 1.8; }
  .demo-shell { display: flex; flex-direction: column; }
  .demo-main { order: 0; }
  .demo-library { order: 1; padding: 14px 0 0; }
  .player-topline { padding: 8px 12px; font-size: 9px; min-height: 38px; gap: 6px; }
  #demo-category { margin-left: 7px; }
  .play-circle { width: 56px; height: 56px; font-size: 19px; }
  .play-cover { gap: 7px; font-size: 11px; }
  .demo-detail { padding: 18px 17px; }
  .demo-detail h2 { font-size: 20px; }
  .demo-detail > p { font-size: 12px; }
  .demo-io { gap: 13px; margin-top: 14px; padding-top: 12px; }
  .demo-io dd { font-size: 11px; }
  .library-heading { padding: 0 16px 12px; font-size: 12px; }
  .demo-options { display: grid; grid-template-columns: 1fr 1fr; }
  .demo-option { padding: 13px 10px; gap: 7px; }
  .demo-option:nth-child(odd) { border-right: 1px solid #365062; }
  .demo-option:last-child { border-bottom: 0; }
  .demo-number { font-size: 10px; }
  .option-category { font-size: 9px; }
  .option-copy strong { font-size: 11px; line-height: 1.7; }
  .option-meta { font-size: 9px; margin-top: 6px; }
  .library-note, .library-link { display: none; }
  .demo-note { text-align: left; font-size: 10px; }
  .section { padding: 55px 0; }
  .section h2 { font-size: 27px; }
  .section-lead { font-size: 14px; }
  .services { grid-template-columns: 1fr; gap: 30px; margin-top: 30px; }
  .service h3 { font-size: 22px; margin: 10px 0 12px; }
  .service h3 br { display: none; }
  .tool-note { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .fde-layout { grid-template-columns: 1fr; gap: 27px; }
  .fde-copy > p { font-size: 14px; }
  .steps li { grid-template-columns: 42px 1fr; gap: 0 12px; }
  .steps li::before { font-size: 27px; }
  .steps h3 { font-size: 19px; }
  .steps p { font-size: 13px; }
  .why > p:last-child, .soudan > p { font-size: 14px; }
  .faq-list summary { font-size: 13px; padding: 19px 4px; }
  .faq-list p { padding: 0 12px 22px; font-size: 13px; }
  .company-info > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { gap: 15px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play-cover:hover .play-circle { transform: none; }
}

/* お問い合わせ */
.contact-layout { display: grid; grid-template-columns: .8fr 1.3fr; gap: 60px; margin-top: 42px; }
.contact-intro h3 { font-size: 24px; }
.contact-intro p { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.contact-email { display: inline-block; margin-top: 8px; font-size: 17px; font-weight: 700; overflow-wrap: anywhere; }
.contact-form { min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 21px; }
.form-field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.form-field label span { font-size: 10px; font-weight: 400; margin-left: 7px; color: var(--ink-soft); }
.form-field label .required { color: #96431b; }
.form-field input, .form-field textarea, .form-field select { display: block; width: 100%; border: 1px solid #9cafb5; border-radius: 3px; padding: 11px 12px; color: var(--ink); background: #fff; font: 16px/1.7 var(--gothic); }
.form-field textarea { resize: vertical; min-height: 160px; }
.form-field textarea::placeholder { font-size: 13px; color: #687e88; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; }
.form-consent input { width: 18px; height: 18px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--ink); }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-form .btn { border: 0; font-family: var(--gothic); cursor: pointer; }
.contact-form .btn:disabled { cursor: wait; opacity: .6; }
.form-status { margin-top: 18px; font-size: 13px; overflow-wrap: anywhere; }
.form-status:empty { margin: 0; }
.form-status.is-error { color: #a33125; }
.form-status.is-success { padding: 15px; background: #edf6f0; color: #20543a; border-left: 3px solid #438160; }
.privacy-content h2 { font-size: 23px; margin-top: 32px; }
.privacy-content p { margin-top: 14px; max-width: 54em; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; gap: 30px; } .form-grid { grid-template-columns: 1fr; gap: 0; } }

/* Building design: one video and two interactive model previews. */
.model-stage { position: absolute; inset: 0; background: #e7eae8; }
.model-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.model-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 9px; padding: 24px; color: white; text-decoration: none; background: linear-gradient(transparent 45%, rgba(9,25,35,.8)); }
.model-badge { position: absolute; top: 18px; left: 18px; padding: 5px 10px; background: var(--ink); font-size: 10px; letter-spacing: .08em; }
.model-cta { padding: 10px 22px; color: var(--ink); background: var(--hl); border: 1px solid var(--hl); border-radius: 3px; font-size: 15px; font-weight: 700; }
.model-cover:hover .model-cta { background: white; border-color: white; }
.model-hint { font-size: 11px; }
.model-descriptions { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 36px; }
.model-descriptions article { border-top: 2px solid var(--ink); padding-top: 18px; }
.model-descriptions h3 { margin: 12px 0; font-size: 24px; }
.model-descriptions p { font-size: 14px; color: var(--ink-soft); }
.watch-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); counter-reset: point; }
.watch-points li { counter-increment: point; font-size: 11px; color: var(--ink-soft); }
.watch-points li::before { content: '0' counter(point); font-weight: 700; color: var(--ink); margin-right: 7px; }
@media (max-width: 760px) {
  .demo-options { grid-template-columns: 1fr; }
  .demo-option { border-right: 0 !important; }
  .option-copy strong { font-size: 13px; }
  .option-category { font-size: 10px; }
  .option-meta { margin-top: 4px; }
  .model-cover { padding: 12px; gap: 5px; }
  .model-badge { top: 10px; left: 10px; font-size: 8px; }
  .model-cta { font-size: 12px; padding: 7px 15px; }
  .model-hint { font-size: 9px; }
  .watch-points { gap: 8px; flex-direction: column; }
  .model-descriptions { grid-template-columns: 1fr; gap: 32px; }
}
