/* Progressive enhancement shared by the main site's navigation and homepage. */
button { font: inherit; }
.nav-toggle { display: none; }
.nav-toggle, .experience-selectors button,
.experience-detail, .experience-dialog-close { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 3px solid #0869dc; outline-offset: 4px; }
.site-header .nav a { transition: color .2s; }

/* A spacious introduction, with actual work close enough to explore. */
.motion-home .home-hero { display: block; min-height: calc(100svh - 77px); padding-block: clamp(72px, 9vh, 128px); align-content: center; }
.motion-home .home-hero::before { background: radial-gradient(ellipse at 66% 30%, #f3f2ff 0%, #fafaff 43%, #fff 80%); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.hero-message, .hero-explorer { min-width: 0; }
.motion-home .hero-intro { text-align: center; width: 100%; max-width: none; }
.motion-home .home-hero h1 { font-size: clamp(48px, 5.8vw, 80px); line-height: 1.45; letter-spacing: -.055em; }
.motion-home .home-hero h1 .kinetic-line { display: inline-block; color: #151515; background: none; -webkit-text-fill-color: currentColor; animation: phrase-arrive .9s cubic-bezier(.2,.7,.2,1) both; }
.motion-home .home-hero h1 .kinetic-accent { color: #4d5fff; background: linear-gradient(110deg, #2868ff, #7053f2 75%, #a14fd9); background-clip: text; -webkit-text-fill-color: transparent; animation-delay: .12s; }
.motion-home .home-hero .lede { max-width: 760px; margin: 36px auto 0; color: #70717a; font-size: 18px; line-height: 1.95; animation: phrase-arrive .8s .2s both; }
.motion-home .home-hero .actions { align-items: center; margin-top: 32px; gap: 12px; animation: phrase-arrive .8s .28s both; }
.motion-home .home-hero .actions .button { min-height: 50px; padding-inline: 24px; gap: 24px; }
.motion-home .home-hero .actions .text-link { color: #646973; font-weight: 500; gap: 14px; }
.motion-home .home-hero .actions .text-link span { transition: transform .2s; }
.motion-home .home-hero .actions .text-link:hover span { transform: translateX(4px); }
.hero-explorer { animation: preview-arrive 1s .18s both; }
.experience-selectors { display: none; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; padding: 4px; background: #f1f3f7; border-radius: 17px; margin-bottom: 8px; }
[data-ready="true"] .experience-selectors { display: grid; }
.experience-selectors button { border: 0; border-radius: 13px; padding: 10px 7px; min-height: 44px; font-size: 11px; line-height: 1.45; font-weight: 600; color: #656b76; background: transparent; transition: color .2s, background .2s, box-shadow .2s; }
.experience-selectors button[aria-pressed="true"] { color: #20242b; background: #fff; box-shadow: 0 2px 5px rgb(20 28 46 / 8%); }
.experience-selectors button:hover { color: #0869dc; }
.experience-slide[hidden], .experience-detail-section[hidden] { display: none; }
.experience-track { touch-action: pan-y; }
.experience-slide.is-active .experience-media > * { animation: media-arrive .55s cubic-bezier(.2,.7,.2,1) both; }
.experience-media { height: 230px; padding: 24px 28px 0; overflow: hidden; background: linear-gradient(140deg, #f3f5fa, #e9edf5); border-radius: 20px; }
.experience-media > img { width: 100%; height: 100%; object-fit: cover; object-position: top; border: 1px solid #e0e3eb; border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: 0 10px 24px rgb(35 47 78 / 10%); }
.experience-caption { padding: 23px 24px 0; }
.experience-project { color: #7c8494; font-size: 10px; font-weight: 600; letter-spacing: .09em; }
.experience-caption h2 { margin-top: 5px; font-size: 23px; letter-spacing: -.035em; }
.experience-caption h2 + p { margin-top: 9px; font-size: 12px; line-height: 1.8; color: #737b87; }
.experience-flow { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 24px 24px 0; padding: 0; }
.experience-flow::before { content: ""; position: absolute; z-index: -1; top: 11px; left: 16.666%; right: 16.666%; height: 1px; background: #dfe5f2; transform-origin: left; }
.experience-flow li { font-size: 10px; line-height: 1.6; color: #6d7685; }
.experience-flow li > span { display: flex; align-items: center; justify-content: center; width: 23px; height: 23px; margin: 0 auto 8px; color: #2769e6; background: #f0f5ff; border: 1px solid #dce8ff; border-radius: 50%; font-size: 8px; font-weight: 600; }
.experience-slide.is-active .experience-flow::before { animation: flow-connect 1.3s .2s both; }
.experience-slide.is-active .experience-flow li { animation: phrase-arrive .6s .2s both; }
.experience-slide.is-active .experience-flow li:nth-child(2) { animation-delay: .4s; }
.experience-slide.is-active .experience-flow li:nth-child(3) { animation-delay: .6s; }
.experience-footer { display: flex; justify-content: flex-end; padding: 10px 24px 4px; }
.experience-detail { display: none; align-items: center; gap: 22px; min-height: 44px; padding: 5px 0 5px 10px; border: 0; background: none; color: #0869dc; font-size: 12px; font-weight: 600; }
[data-ready="true"] .experience-detail { display: inline-flex; }
.experience-detail:hover { text-decoration: underline; text-underline-offset: 5px; }
.experience-controls { display: none; align-items: center; justify-content: center; gap: 18px; padding: 10px 8px 3px; border-top: 1px solid #f0f1f5; }
[data-ready="true"] .experience-controls { display: flex; }
.experience-count { display: flex; gap: 7px; min-width: 48px; justify-content: center; color: #8a91a0; font-size: 10px; font-variant-numeric: tabular-nums; }
.experience-count [data-slide-number] { color: #283244; font-weight: 600; }
.experience-phones { --phone-gap: 22px; container-type: size; display: flex; width: 100%; height: 100%; padding-bottom: 12px; gap: var(--phone-gap); justify-content: center; align-items: center; }
.experience-phones .iphone-frame { flex: 0 0 auto; width: min(160px, calc(50% - var(--phone-gap) / 2)); width: min(160px, calc((100cqw - var(--phone-gap)) / 2), 43cqh); height: auto; min-width: 0; }
.experience-comparison { display: flex; align-items: center; justify-content: center; gap: 16px; height: 100%; padding-bottom: 14px; }
.experience-comparison figure { flex: 1; max-width: 280px; height: 100%; min-width: 0; }
.experience-comparison figure img { height: calc(100% - 24px); width: 100%; object-fit: contain; box-shadow: 0 6px 16px rgb(35 47 78 / 12%); }
.experience-comparison figcaption { margin-top: 6px; text-align: center; font-size: 9px; color: #646e80; }
.experience-comparison > span { color: #7d8ba1; }
.experience-ready .home-work-item.is-inview { animation: phrase-arrive .65s both; }
.experience-ready .home-work-item:nth-child(2) { animation-delay: .07s; }
.experience-ready .home-work-item:nth-child(3) { animation-delay: .14s; }
.experience-ready .home-work-item:nth-child(4) { animation-delay: .21s; }

/* Native dialog supplies focus containment and an inert background. */
.experience-dialog { width: min(840px, calc(100% - 40px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #e4e7ed; border-radius: 28px; color: #17202b; background: #fff; box-shadow: 0 35px 100px rgb(12 24 48 / 22%); overflow-y: auto; overscroll-behavior: contain; }
.experience-dialog[open] { animation: dialog-arrive .25s cubic-bezier(.2,.7,.2,1) both; }
.experience-dialog::backdrop { background: rgb(20 27 45 / 40%); backdrop-filter: blur(10px); }
.experience-dialog-inner { position: relative; padding: 36px; }
.experience-dialog-close { position: absolute; z-index: 1; right: 20px; top: 20px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #f0f2f6; color: #5a6271; font-size: 26px; line-height: 1; }
.experience-dialog-close:hover { background: #e6eaf0; }
.experience-breadcrumb { padding-right: 48px; }
.experience-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 0; list-style: none; }
.experience-breadcrumb li { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; color: #838b98; }
.experience-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: #566372; }
.experience-breadcrumb a:hover { color: #0869dc; text-decoration: underline; text-underline-offset: 4px; }
.experience-breadcrumb [aria-current] { color: #222b3b; }
#experience-dialog-title { margin: 20px 0 28px; font-size: clamp(26px, 4vw, 36px); }
.experience-dialog-media .experience-media { height: min(46vh, 420px); padding: 30px 44px 0; border: 1px solid #e5e9f1; }
.experience-dialog-media .experience-phones { --phone-gap: 30px; }
.experience-dialog-media .experience-comparison { gap: 32px; padding-bottom: 20px; }
.experience-detail-section { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding-top: 28px; }
.experience-detail-section p { font-size: 14px; }
.experience-detail-section .button { flex-shrink: 0; }

@keyframes phrase-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes preview-arrive { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes media-arrive { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes flow-connect { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dialog-arrive { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 1200px) and (min-width: 1001px) {
 .header-inner { gap: 24px; }
 .nav { gap: 20px; }
 .hero-layout { gap: 48px; }

 .experience-media { height: 210px; }
 .experience-caption { padding-inline: 18px; }
 .experience-flow { margin-inline: 18px; }
}
@media (max-width: 1000px) {
 .site-header .header-inner { position: relative; flex-wrap: wrap; gap: 12px; min-height: 76px; padding-block: 12px; }
 .site-header .header-inner > .button { order: 1; margin-left: auto; }
 .site-header .nav { order: 3; margin: 0; width: 100%; gap: 12px 28px; flex-wrap: wrap; padding-bottom: 12px; }
 .navigation-ready .nav { display: none; }
 .navigation-ready .nav-toggle { order: 2; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid #e5e8ef; border-radius: 50px; background: #fff; color: #3f4856; }
 .nav-toggle-label { font-size: 11px; }
 .nav-toggle-icon, .nav-toggle-icon::before { display: block; width: 16px; height: 1px; background: currentColor; transition: transform .2s; }
 .nav-toggle-icon { transform: translateY(-3px); }
 .nav-toggle-icon::before { content: ""; transform: translateY(6px); }
 [data-menu-open="true"] .nav-toggle-icon { transform: rotate(45deg); }
 [data-menu-open="true"] .nav-toggle-icon::before { transform: rotate(-90deg); }
 .navigation-ready[data-menu-open="true"] .nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px 0 8px; border-top: 1px solid #edf0f5; animation: phrase-arrive .2s both; }
 .site-header .nav a { min-height: 44px; padding: 6px 12px; border-radius: 10px; white-space: normal; }
 .site-header .nav a:hover { background: #f6f8fc; }
 .motion-home .home-hero { min-height: calc(100svh - 77px); padding-block: 72px; }
 .hero-layout { grid-template-columns: minmax(0, 1fr); gap: 64px; }
 .hero-message { max-width: none; }
 .motion-home .home-hero h1 { font-size: clamp(40px, 6.5vw, 64px); }
 .motion-home .home-hero .lede { max-width: 680px; }

 .experience-media { height: 250px; }
}
@media (max-width: 600px) {
 .site-header .button.small { padding-inline: 12px; gap: 8px; font-size: 11px; }
 .motion-home .home-hero { padding-block: 68px 52px; }
 .hero-layout { gap: 48px; }
 .motion-home .home-hero h1 { font-size: clamp(26px, 8vw, 44px); }
 .motion-home .home-hero .lede { font-size: 13px; margin-top: 24px; max-width: 310px; }
 .motion-home .home-hero .actions { margin-top: 28px; }
 .experience-selectors { border-radius: 15px; }
 .experience-selectors button { font-size: 10px; padding: 8px 4px; border-radius: 11px; }
 .experience-media { height: 215px; padding-inline: 20px; border-radius: 17px; }
 .experience-caption { padding: 20px 18px 0; }
 .experience-caption h2 { font-size: 22px; }
 .experience-flow { margin: 20px 18px 0; gap: 8px; }
 .experience-footer { padding-inline: 18px; }
 .experience-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 22px; }
 .experience-dialog-inner { padding: 24px 20px; }
 .experience-dialog-close { right: 12px; top: 12px; }
 .experience-breadcrumb li { font-size: 10px; }
 #experience-dialog-title { margin-top: 16px; }
 .experience-dialog-media .experience-media { height: 290px; padding: 20px 16px 0; }
 .experience-dialog-media .experience-phones { --phone-gap: 18px; }
 .experience-dialog-media .experience-comparison { gap: 18px; }
 .experience-detail-section { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 24px; }
 .experience-detail-section p { font-size: 13px; }
}
@media (max-width: 360px) {
 .nav-toggle-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
 .experience-media { height: 190px; }
 .experience-caption { padding-inline: 12px; }
 .experience-flow { margin-inline: 12px; font-size: 9px; }
 .experience-flow li { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .motion-home *, .motion-home *::before, .motion-home *::after,
 .site-header *, .site-header *::before { animation: none !important; transition: none !important; }
}

@media (max-width: 600px) { .experience-selectors button { padding: 8px 2px; font-size: 10px; word-break: keep-all; overflow-wrap: anywhere; } }

/* The introduction fills the first screen; service previews follow below. */
.experience-section { width: min(1000px, calc(100% - 64px)); padding-block: 64px 96px; scroll-margin-top: 96px; }
.experience-section .hero-explorer { width: 100%; text-align: center; }
.experience-section .experience-selectors { margin-bottom: 24px; }
.experience-section .experience-selectors button { min-height: 56px; font-size: 13px; }
.experience-section .experience-media { height: clamp(300px, 36vw, 440px); padding: 32px 48px 0; border-radius: 28px; }
.experience-section .experience-caption { padding-top: 36px; }
.experience-section .experience-project { font-size: 12px; }
.experience-section .experience-caption h2 { margin-top: 10px; font-size: clamp(28px, 3.2vw, 40px); }
.experience-section .experience-caption h2 + p { margin-top: 18px; font-size: 16px; }
.experience-section .experience-flow { margin-top: 40px; }
.experience-section .experience-flow li { font-size: 13px; }
.experience-section .experience-flow li > span { width: 32px; height: 32px; font-size: 10px; margin-bottom: 12px; }
.experience-section .experience-flow::before { top: 16px; }
.experience-section .experience-footer { padding-top: 24px; }
.experience-section .experience-detail { font-size: 14px; }
.experience-section .experience-controls { margin-top: 12px; padding-top: 20px; }
.experience-section .experience-count { font-size: 12px; }
@media (max-width: 600px) {
 .experience-section { width: calc(100% - 32px); padding-block: 40px 64px; }
 .experience-section .experience-selectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-bottom: 16px; }
 .experience-section .experience-selectors button { min-height: 48px; padding: 10px 8px; font-size: 14px; line-height: 1.35; word-break: normal; overflow-wrap: normal; }
 .experience-section .experience-selectors button:last-child { grid-column: 1 / -1; }
 .experience-section .experience-media { height: 280px; padding: 24px 20px 0; border-radius: 20px; }
 .experience-section .experience-caption { padding: 28px 8px 0; }
 .experience-section .experience-caption h2 + p { font-size: 13px; }
 .experience-section .experience-flow { margin: 28px 4px 0; }
 .experience-section .experience-flow li { font-size: 10px; }
}
.experience-comparison--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; align-content: center; padding-bottom: 10px; }
.experience-comparison--grid figure { max-width: none; height: auto; min-height: 0; display: flex; flex-direction: column; align-items: center; }
.experience-comparison--grid figure img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 6px; }
.experience-comparison--grid figcaption { margin-top: 4px; font-size: 11px; }
@media (min-width: 601px) {
  .experience-section .experience-slide[data-slide="3"] .experience-media { height: clamp(400px, 48vw, 600px); padding-inline: 40px; }
  .experience-comparison--grid { grid-template-columns: repeat(2, auto); grid-template-rows: repeat(2, minmax(0, 1fr)); height: 100%; gap: 12px 20px; justify-content: center; align-content: stretch; padding-bottom: 14px; }
  .experience-comparison--grid figure { height: 100%; }
  .experience-comparison--grid figure img { height: calc(100% - 20px); width: auto; max-width: 100%; }
  .experience-comparison--grid figcaption { font-size: 12px; margin-top: 6px; }
  .experience-dialog-media .experience-comparison--grid { gap: 14px 22px; }
}

.translate-demo { position: relative; height: 100%; overflow: hidden; font-size: 13px; font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif; color: #17191e; border: 1px solid #e0e3eb; border-bottom: 0; border-radius: 10px 10px 0 0; background: #fff; box-shadow: 0 10px 24px rgb(35 47 78 / 10%); }
.experience-media > .translate-demo-site, .translate-demo .translate-demo-site { width: 100%; height: 100%; object-fit: cover; object-position: top; border: 0; border-radius: 0; box-shadow: none; opacity: .5; }
.translate-demo-widget { position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.translate-demo-panel { margin: 0; padding: 6px; min-width: 10.5em; list-style: none; border: 1px solid #e5e5e5; border-radius: 14px; background: #fff; box-shadow: 0 14px 34px rgb(0 0 0 / 18%); }
.translate-demo-panel li { padding: 6px 10px; border-radius: 8px; font-weight: 500; }
.translate-demo-panel li.is-current { background: #f2f6fc; color: #0754bb; }
.translate-demo-pill { display: flex; align-items: center; gap: 9px; padding: 6px 14px; border: 1px solid #e2e3e7; border-radius: 999px; background: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / 13%); font-weight: 500; }
.translate-demo-pill img { width: 4.6em; height: auto; }
.translate-demo-pill i { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
@media (min-width: 601px) { .translate-demo { font-size: 17px; } .translate-demo-widget { right: 24px; bottom: 24px; } }
/* 導入の流れ: 全サービス共通。広い画面でも3ステップを中央にまとめ、番号と文言を読みやすくする */
.experience-section .experience-flow { max-width: 720px; margin-inline: auto; gap: 16px; }
.experience-section .experience-flow li { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 15px; line-height: 1.5; color: #3d4452; text-wrap: balance; }
.experience-section .experience-flow li > span { width: 36px; height: 36px; font-size: 12px; font-weight: 700; background: #fff; border-color: #cfdcf8; box-shadow: 0 0 0 4px #fff; }
.experience-section .experience-flow::before { top: 18px; left: 16.666%; right: 16.666%; background: #cfdcf8; }
@media (max-width: 600px) {
 .experience-section .experience-flow { margin-inline: 0; gap: 8px; }
 .experience-section .experience-flow li { font-size: 12px; }
 .experience-section .experience-flow li > span { width: 30px; height: 30px; font-size: 11px; }
 .experience-section .experience-flow::before { top: 15px; }
}
.experience-phones { --phone-gap: 12px; }

/* On phones the introduction follows its content, and examples stay legible. */
@media (max-width: 600px) {
 .site-header .header-inner { min-height: 64px; gap: 8px; padding-block: 10px; }
 .site-header .brand img { width: 76px; }
 .site-header .button.small { min-height: 44px; font-size: 12px; }
 .motion-home .home-hero { min-height: 0; padding-block: 40px 32px; }
 .motion-home .home-hero h1 { font-size: clamp(28px, 8vw, 40px); }
 .motion-home .home-hero .lede { max-width: 32em; margin-top: 20px; font-size: 15px; line-height: 1.85; }
 .localize-langs { gap: 6px; margin-top: 20px; }
 .localize-langs li { padding: 4px 10px; font-size: 11px; }
 .motion-home .home-hero .actions { max-width: 360px; margin: 24px auto 0; align-items: stretch; gap: 8px; }
 .motion-home .home-hero .actions .button { width: 100%; font-size: 15px; white-space: normal; }
 .motion-home .home-hero .actions .text-link { justify-content: center; font-size: 14px; white-space: normal; }
 .experience-section { width: calc(100% - 40px); padding-block: 24px 56px; scroll-margin-top: 84px; }
 .experience-section .experience-caption h2 + p { font-size: 15px; }
 .experience-section .experience-flow { display: flex; flex-direction: column; gap: 16px; margin: 24px 8px 0; }
 .experience-section .experience-flow::before { top: 15px; bottom: 15px; left: 15px; right: auto; width: 1px; height: auto; }
 .experience-section .experience-flow li { flex-direction: row; gap: 14px; font-size: 14px; text-align: left; text-wrap: wrap; }
 .experience-section .experience-flow li > span { flex-shrink: 0; margin: 0; }
 .experience-section .experience-footer { justify-content: center; padding: 20px 8px 4px; }
 .experience-section .experience-detail { justify-content: center; width: 100%; min-height: 48px; border: 1px solid #dfe5ec; border-radius: 999px; }
 .experience-section .experience-slide[data-slide="2"] .experience-media,
 .experience-section .experience-slide[data-slide="4"] .experience-media,
 .experience-dialog-media .experience-media:has(.experience-phones) { height: auto; padding: 20px 16px; }
 .experience-phones { container-type: normal; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: center; align-items: start; gap: 20px 16px; height: auto; padding: 0; }
 .experience-phones .iphone-frame { width: 100%; max-width: 150px; height: auto; }
 .experience-dialog-media .experience-phones { gap: 16px 12px; }
 .experience-detail-section p { font-size: 15px; }
 .experience-detail-section .button { width: 100%; white-space: normal; text-align: center; }
}
@media (max-width: 420px) {
 .experience-dialog:has(.experience-phones) { width: calc(100% - 20px); }
 .experience-dialog-media .experience-media:has(.experience-phones) { padding-inline: 8px; }
}
@media (min-width: 601px) and (max-width: 1000px) and (max-height: 500px) {
 .motion-home .home-hero { min-height: 0; padding-block: 40px; }
}
@media (max-width: 600px) and (max-height: 700px) {
 .motion-home .home-hero { padding-top: 28px; }
 .motion-home .localize-langs { display: none; }
}

/* Header service group: a disclosure on wide screens, the full list inside the phone menu, inline links without JavaScript. */
.nav-group, .nav-group-panel { display: contents; }
.nav-group-toggle, .nav-group-heading { display: none; }
.nav-group-toggle { align-items: center; gap: 7px; min-height: 44px; padding: 0; border: 0; background: none; color: #566372; font-size: 13px; font-weight: 600; white-space: nowrap; transition: color .2s; }
.nav-group-toggle:hover, .nav-group-toggle[aria-expanded="true"], .nav-group[data-current="true"] .nav-group-toggle { color: #0869dc; }
.nav-group-chevron { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav-group-toggle[aria-expanded="true"] .nav-group-chevron { transform: rotate(225deg) translateY(1px); }
@media (min-width: 1001px) {
 .navigation-ready .nav-group { display: block; position: relative; }
 .navigation-ready .nav-group-toggle { display: inline-flex; }
 .navigation-ready .nav-group-panel { display: none; position: absolute; z-index: 6; top: calc(100% + 2px); left: -14px; min-width: 248px; padding: 8px; border: 1px solid #e4e7ed; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px -24px rgb(18 24 36 / 35%), 0 0 0 1px rgb(23 32 43 / 2%); }
 .navigation-ready .nav-group[data-open="true"] .nav-group-panel { display: grid; animation: phrase-arrive .18s both; }
 .navigation-ready .nav-group-panel a { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 12px; color: #17202b; font-size: 14px; font-weight: 550; white-space: nowrap; }
 .navigation-ready .nav-group-panel a:hover, .navigation-ready .nav-group-panel a:focus-visible { background: #f4f7fc; color: #0869dc; }
 .navigation-ready .nav-group-panel .nav-group-aside { margin-top: 6px; padding-top: 12px; border-top: 1px solid #edf0f5; border-radius: 0 0 12px 12px; color: #566372; font-size: 13px; font-weight: 500; }
}
@media (max-width: 1000px) {
 .nav-group-heading { display: block; margin: 0; color: #8a91a0; font-size: 11px; font-weight: 600; letter-spacing: .1em; }
 .navigation-ready[data-menu-open="true"] .nav .nav-group { display: block; grid-column: 1 / -1; }
 .navigation-ready[data-menu-open="true"] .nav .nav-group-heading { padding: 4px 12px 2px; }
 .navigation-ready[data-menu-open="true"] .nav .nav-group-panel { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid #edf0f5; }
 .site-header .nav .nav-group-aside { color: #566372; font-size: 13px; }
}
/* Shared information architecture: four disclosures, one open group at a time. */
.site-header .nav-row-arrow { margin-left:auto; padding-left:12px; flex:0 0 auto; color:var(--blue); }
.site-header .nav > a > .nav-row-arrow { display:none; }
.site-header .nav-product-row { gap:12px; }
.site-header .nav-group-panel a:has(> img) { gap:10px; }
.site-header .nav-group-panel a > img { flex:none; object-fit:contain; }
.site-header .nav-product-copy { display:grid; gap:2px; min-width:0; }
.site-header .nav-product-name { display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:14px; color:var(--ink); }
.site-header .nav-product-desc { color:var(--muted); font-size:11px; font-weight:400; line-height:1.5; }
.site-header .product-status { display:inline-block; padding:2px 7px; border-radius:999px; background:#edf0f5; color:var(--muted); font-size:10px; line-height:1.6; font-weight:500; }
.site-header .nav-group-toggle { cursor:pointer; }
.site-header .nav-group-panel a { justify-content:space-between; }
.site-header .nav-group-panel a[aria-current="page"] { background: var(--soft); }
@media(min-width:1001px){
 .site-header .header-inner { gap:24px; flex-wrap:nowrap; }
 .site-header .nav { gap:24px; min-width:0; }
 .navigation-ready .nav-group-panel { max-width:min(430px,calc(100vw - 48px)); max-height:calc(100svh - 104px); overflow-y:auto; }
 .navigation-ready #nav-products { width:390px; }
 .navigation-ready .nav-group-panel a { white-space:normal; line-height:1.5; }
 .navigation-ready .nav-group:last-child .nav-group-panel { left:auto; right:0; }
 html:not([lang="ja"]) .site-header .header-inner { gap:16px; }
 html:not([lang="ja"]) .site-header .nav { gap:16px; }
 html:not([lang="ja"]) .site-header .nav-group-toggle { font-size:12px; }
}
@media(min-width:1001px) and (max-width:1280px){
 .site-header .header-inner { gap:16px; }
 .site-header .nav { gap:16px; }
 .site-header .nav-group-toggle { font-size:12px; }
 .site-header .header-cta { padding-inline:14px; }
}
@media(max-width:1000px){
 .navigation-ready[data-menu-open="true"] .nav { display:flex; flex-direction:column; align-items:stretch; max-height:calc(100svh - 96px); overflow-y:auto; overscroll-behavior:contain; }
 .navigation-ready[data-menu-open="true"] .nav .nav-group { width:100%; }
 .navigation-ready[data-menu-open="true"] .nav .nav-group-heading { display:none; }
 .navigation-ready[data-menu-open="true"] .nav .nav-group-toggle { display:flex; width:100%; min-height:48px; justify-content:space-between; padding:8px 12px; font-size:14px; }
 .navigation-ready[data-menu-open="true"] .nav .nav-group-panel { display:none; margin:0; padding:0 0 12px; }
 .navigation-ready[data-menu-open="true"] .nav .nav-group[data-open="true"] .nav-group-panel { display:grid; }
 .site-header .nav .nav-group-panel a { min-height:52px; width:100%; white-space:normal; line-height:1.5; }
 .site-header .nav .nav-group-panel .nav-product-row { padding:10px 12px; }
 .site-header .nav .nav-group-aside { padding:10px 12px; }
}
/* The complete link list remains usable when progressive enhancement is unavailable. */
.site-header:not(.navigation-ready) .header-inner { flex-wrap:wrap; }
.site-header:not(.navigation-ready) .nav { order:3; display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); width:100%; margin:0; gap:16px; padding-block:16px; overflow:visible; }
.site-header:not(.navigation-ready) .nav-group,.site-header:not(.navigation-ready) .nav-group-panel { display:grid; min-width:0; }
.site-header:not(.navigation-ready) .nav-group-heading { display:block; }
.site-header:not(.navigation-ready) .nav a { white-space:normal; }
