:root {
  --orange: #ff690b;
  --ink: #101316;
  --serif: "Noto Serif JP", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Yu Gothic", sans-serif;
  --english: "Playfair Display", Georgia, serif;
  --content: 1296px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--sans); line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.text-unreadable { color: #c40000; font-weight: 700; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.container-wide { width: min(90%, var(--content)); margin-inline: auto; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* Display the supplied logo without its surrounding whitespace. */
.logo-crop { position: relative; display: block; overflow: hidden; aspect-ratio: 1320 / 305; }
.logo-crop img { position: absolute; width: 126.667%; max-width: none; height: auto; left: -13.636%; top: -57.377%; }
.site-header { height: clamp(94px, 8.68vw, 125px); padding-inline: 5%; display: flex; align-items: center; gap: clamp(28px, 4vw, 58px); background: #f7f8fa; position: relative; z-index: 50; }
.site-logo { width: clamp(172px, 16vw, 230px); flex: none; mix-blend-mode: multiply; }
.global-nav { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex: 1; min-width: 0; }
.global-nav ul { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 23px); list-style: none; padding: 0; margin: 0; }
.global-nav li a, .global-nav li > .inactive-link { display: block; font-size: clamp(12px, .76vw, 12px); font-weight: 600; white-space: nowrap; }
.global-nav li a:hover, .footer-bottom a:hover { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; }
.lang-link .icon { width: 20px; height: 20px; }
.lang-chevron { color: var(--orange); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 60px; padding: 0 40px; gap: 22px; border: 1px solid transparent; border-radius: 9px; background: var(--orange); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .03em; transition: background .2s, transform .2s; }
.button:hover { background: #e95600; transform: translateY(-2px); }
.button--small { min-height: 44px; padding-inline: 22px; font-size: 12px; border-radius: 7px; white-space: nowrap; }
.button--outline { color: var(--ink); background: transparent; border-color: #aeb3b9; }
.button--outline:hover { background: #fff; }
.menu-toggle { display: none; }

.section-image { position: relative; isolation: isolate; background-position: center; background-size: cover; background-repeat: no-repeat; }
/* Resolve all background URLs relative to this stylesheet. */
.hero { background-image: url('../images/top-hero-v2.png'); }
.feature--dark { background-image: url('../images/top-multilingual-v2.png'); }
.feature--product { background-image: url('../images/top-product-v2.png'); }
.platform { background-image: url('../images/top-platform.png'); }
.section-image::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .23em; line-height: 1.6; margin: 0 0 26px; color: #58626b; }
.hero { min-height: clamp(560px, 48.3vw, 696px); display: flex; align-items: center; background-color: #f3f5f7; background-position: center 53%; }
.hero__content { padding-block: 68px 100px; }
.hero h1, .feature h2, .use-cases h2 { font-family: var(--serif); font-weight: 600; letter-spacing: .015em; line-height: 1.4; margin: 0; }
.hero h1 { font-size: clamp(52px, 5.15vw, 74px); }
.hero__en { font-family: var(--sans); font-size: clamp(17px, 1.55vw, 22px); font-weight: 500; letter-spacing: .2em; margin: 27px 0 22px; }
.lead { font-size: 18px; line-height: 1.9; margin: 0 0 30px; letter-spacing: .04em; }
.hero .lead { font-size: 18px; }
.button-row { display: flex; align-items: center; gap: 46px; }
.text-link { display: inline-flex; align-items: center; gap: 17px; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.text-link span { color: #6b5848; }
.text-link:hover { color: var(--orange); }

.feature { min-height: clamp(450px, 39.3vw, 566px); display: flex; align-items: center; color: #fff; background-color: #03080d; }
.feature__content { padding-block: 60px; }
.feature h2 { font-size: clamp(42px, 4.15vw, 60px); margin-bottom: 30px; }
.feature .eyebrow { color: #c7cace; }
.feature--dark::after { background: linear-gradient(90deg, rgba(0,0,0,.5), transparent 48%); }
.feature--dark .lead { font-family: var(--serif); font-size: 24px; font-weight: 500; margin-bottom: 62px; }
.feature--dark .text-link span { color: #d5baa0; }
.feature--product { min-height: clamp(430px, 36.4vw, 524px); color: var(--ink); background-color: #f7f7f7; background-position: center 52%; }
.feature--product h2 { font-size: clamp(39px, 3.65vw, 53px); margin-bottom: 20px; }
.feature--product .eyebrow { color: #58626b; }
.feature--product .lead { margin-bottom: 38px; }

.use-cases { padding-block: 44px; background: #edf1f4; }
.use-cases__grid { display: grid; grid-template-columns: 32% minmax(0, 1fr); gap: 36px; align-items: center; min-height: 350px; }
.use-cases .eyebrow { margin-bottom: 24px; }
.use-cases h2 { font-size: clamp(32px, 3vw, 43px); margin-bottom: 24px; }
.use-cases__intro > p:not(.eyebrow) { font-size: 14px; line-height: 1.9; margin: 0 0 44px; }
.case-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.case-card { min-width: 0; border-radius: 6px; overflow: hidden; background: #f9fbfc; transition: transform .2s; }
.case-card:hover { transform: translateY(-5px); }
.case-card img { width: 100%; height: clamp(205px, 17.6vw, 254px); object-fit: cover; }
.case-card span { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 8px 2px; text-align: center; font-size: clamp(12px, .8vw, 12px); font-weight: 500; white-space: nowrap; }

.platform { min-height: clamp(390px, 31.4vw, 452px); display: flex; align-items: center; color: #fff; background-position: center 53%; }
.platform::after { background: linear-gradient(90deg, rgba(0,5,10,.84), rgba(0,5,10,.24) 55%, transparent), linear-gradient(0deg, rgba(0,5,10,.85), transparent 45%); }
.platform__content { padding-block: 44px; }
.platform .eyebrow { color: #c4ccd2; font-size: 12px; margin-bottom: 24px; }
.platform h2 { font-family: var(--serif); font-size: clamp(30px, 2.8vw, 40px); font-weight: 500; line-height: 1.5; margin: 0 0 18px; }
.platform p:not(.eyebrow) { font-size: 16px; line-height: 1.9; margin: 0; }
.platform-links { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-top: 26px; margin-top: 38px; }
.platform-links::before { content: ""; position: absolute; top: 0; left: 0; width: 100px; height: 2px; background: var(--orange); }
.platform-links a { display: flex; align-items: center; gap: 18px; padding: 0 30px; border-right: 1px solid #ffffff50; }
.platform-links a:first-child { padding-left: 0; }
.platform-links a:last-child { border: 0; }
.platform-links .icon { color: #c66a2d; width: 26px; height: 26px; }
.platform-links span { font-size: 23px; line-height: 1.4; }
.platform-links small { display: block; font-size: 13px; letter-spacing: .06em; margin-top: 3px; }
.platform-links a:hover .icon { color: var(--orange); }

.steps { padding-block: 60px 70px; background: linear-gradient(135deg, #fff 65%, #f6f7f8); }
.steps__grid { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: 25px; align-items: center; padding-bottom: 55px; border-bottom: 1px solid #f0f1f2; }
.steps .eyebrow { margin-bottom: 22px; }
.steps h2 { font-family: var(--serif); font-size: clamp(25px, 2.25vw, 32px); font-weight: 600; margin: 0 0 10px; }
.steps__grid > div > p:last-child { font-size: 14px; margin: 0; }
.steps ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; }
.steps li { position: relative; text-align: center; }
.steps li:not(:last-child)::after { content: "\2192"; position: absolute; right: -14px; top: 30px; font-family: var(--serif); font-size: 38px; font-weight: 400; color: #90999f; }
.steps li b { display: block; color: #dce0e4; font-family: var(--english); font-size: 105px; font-weight: 500; line-height: 1.1; }
.steps li span { display: block; margin-top: 12px; font-size: 17px; font-weight: 500; }
.reach { padding-top: 34px; }
.reach .eyebrow { color: #4d929b; font-size: 12px; margin-bottom: 38px; }
.reach__items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reach__items > div { text-align: center; border-right: 1px solid #e3e6e9; }
.reach__items > div:last-child { border: 0; }
.reach__items b { display: block; font-family: var(--english); font-size: clamp(54px, 5vw, 72px); font-weight: 500; line-height: 1.1; color: #06090b; }
.reach__items b small { font-family: var(--serif); font-size: 24px; }
.reach__items span { display: block; font-family: var(--serif); font-size: 17px; margin-top: 14px; }

.site-footer { color: #fff; background: #02070c url('../images/top-footer.png') center top / cover no-repeat; position: relative; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,5,9,.35), transparent 60%, rgba(0,5,9,.35)), linear-gradient(0deg, #02070c 8%, transparent 75%); }
.footer-hero { min-height: 335px; display: flex; justify-content: space-between; align-items: center; padding-block: 55px; }
.footer-message { font-family: var(--english); font-size: clamp(38px, 3.6vw, 52px); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 34px; }
.footer-logo { width: 240px; filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; }
.footer-cta { padding-right: 3%; }
.footer-cta p { font-family: var(--serif); font-size: 17px; line-height: 2; margin: 0 0 32px; }
.footer-cta .button { min-width: 250px; }
.footer-bottom { border-top: 1px solid #ffffff24; padding-block: 24px 55px; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; font-size: 12px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.footer-meta { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 12px 24px; max-width: 440px; }
.footer-meta .lang-link { border-right: 1px solid #ffffff40; padding-right: 24px; font-size: 12px; }
.copyright { flex-basis: 100%; text-align: right; font-size: 12px; letter-spacing: .04em; color: #c0c4c8; }

@media (min-width: 1600px) {
  .site-header { padding-inline: max(5%, calc((100% - 1440px) / 2)); }
  .hero { min-height: 48.3vw; }
  .feature { min-height: 39.3vw; }
  .feature--product { min-height: 36.4vw; }
}
@media (max-width: 1199px) {
  .site-header { gap: 24px; }
  .site-logo { width: 175px; }
  .global-nav { gap: 16px; }
  .global-nav ul { gap: 12px; }
  .header-actions { gap: 9px; }
  .button--small { padding-inline: 14px; font-size: 12px; }
  .header-actions .lang-link { gap: 5px; }
  .header-actions .icon { width: 16px; }
  .hero h1 { font-size: 55px; }
  .hero__en { font-size: 17px; }
  .lead, .hero .lead { font-size: 16px; }
  .use-cases__grid { gap: 24px; grid-template-columns: 31% minmax(0, 1fr); }
  .case-cards { gap: 9px; }
  .use-cases__intro > p:not(.eyebrow) { font-size: 12px; }
  .platform-links a { padding-inline: 20px; gap: 12px; }
  .platform-links span { font-size: 19px; }
  .platform-links small { font-size: 12px; }
  .steps h2 { font-size: 25px; }
  .steps li b { font-size: 85px; }
  .steps li span { font-size: 14px; }
  .footer-bottom { font-size: 12px; }
  .footer-bottom nav { gap: 10px; }
}
@media (max-width: 1000px) {
  .site-header { height: 80px; padding-inline: 5%; }
  .site-logo { width: 185px; }
  .global-nav { visibility: hidden; position: fixed; inset: 80px 0 0; display: block; padding: 24px 6% 50px; background: #fff; overflow: auto; transform: translateX(100%); transition: transform .25s, visibility .25s; }
  .site-header.is-open .global-nav { visibility: visible; transform: none; }
  .global-nav ul { display: block; }
  .global-nav li { border-bottom: 1px solid #e6e9ec; }
  .global-nav li a, .global-nav li > .inactive-link { padding-block: 16px; font-size: 15px; }
  .header-actions { flex-wrap: wrap; margin-top: 28px; gap: 18px; }
  .header-actions .button { min-height: 46px; padding-inline: 24px; font-size: 12px; }
  .menu-toggle { display: block; position: relative; margin-left: auto; width: 44px; height: 44px; border: 0; padding: 8px; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { position: absolute; width: 27px; height: 2px; left: 8px; background: #101316; transition: transform .2s, opacity .2s; }
  .menu-toggle span:nth-child(1) { top: 13px; }
  .menu-toggle span:nth-child(2) { top: 21px; }
  .menu-toggle span:nth-child(3) { top: 29px; }
  .is-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .is-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .is-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
  .use-cases__grid { grid-template-columns: 1fr; gap: 30px; }
  .use-cases__intro > p:not(.eyebrow) { max-width: 520px; margin-bottom: 22px; font-size: 14px; }
  .case-card img { height: 230px; }
  .case-card span { font-size: 12px; }
  .platform-links a { padding-inline: 14px; gap: 8px; }
  .platform-links span { font-size: 16px; }
  .steps__grid { grid-template-columns: 1fr; gap: 35px; }
  .steps li:not(:last-child)::after { right: -17px; }
  .footer-cta { padding: 0; }
  .footer-cta p { font-size: 14px; }
  .footer-message { font-size: 36px; }
  .footer-bottom { display: block; }
  .footer-meta { margin-top: 25px; max-width: none; justify-content: flex-start; }
  .copyright { text-align: left; }
}
@media (max-width: 640px) {
  .container-wide { width: calc(100% - 40px); }
  .site-header { height: 72px; padding-inline: 20px; }
  .site-logo { width: 155px; }
  .global-nav { top: 72px; }
  .eyebrow { font-size: 12px; margin-bottom: 20px; }
  .hero { min-height: 760px; align-items: flex-start; background-size: auto 440px; background-position: 66% bottom; }
  .hero::after { background: linear-gradient(180deg, #f3f5f7 0%, #f3f5f7 41%, transparent 68%); }
  .hero__content { padding-block: 44px 360px; }
  .hero h1 { font-size: clamp(35px, 9.5vw, 48px); line-height: 1.4; }
  .hero__en { font-size: 13px; letter-spacing: .16em; margin: 20px 0 16px; }
  .hero .lead { font-size: 14px; margin-bottom: 24px; }
  .button { min-height: 50px; font-size: 12px; padding-inline: 23px; gap: 14px; border-radius: 6px; }
  .button-row { gap: 24px; }
  .text-link { font-size: 12px; gap: 12px; }
  .feature { min-height: 730px; align-items: flex-start; background-size: auto 445px; background-position: 75% bottom; }
  .feature__content { padding-block: 44px 370px; }
  .feature h2 { font-size: 36px; margin-bottom: 24px; }
  .feature--dark::after { background: linear-gradient(180deg, #03080d 0%, #03080d 37%, transparent 65%); }
  .feature--dark .lead { font-size: 19px; margin-bottom: 25px; }
  .feature--product { min-height: 700px; background-size: auto 410px; background-position: 75% bottom; }
  .feature--product::after { background: linear-gradient(180deg, #f7f7f7 0%, #f7f7f7 40%, transparent 65%); }
  .feature--product .feature__content { padding-bottom: 350px; }
  .feature--product h2 { font-size: 32px; }
  .feature--product .lead { font-size: 14px; margin-bottom: 25px; }
  .use-cases { padding-block: 44px; }
  .use-cases h2 { font-size: 31px; }
  .case-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; }
  .case-card img { height: auto; aspect-ratio: 1 / 1.9; }
  .case-card span { min-height: 45px; font-size: 12px; white-space: normal; }
  .platform { min-height: 610px; background-position: 62% center; }
  .platform__content { padding-block: 45px; }
  .platform h2 { font-size: clamp(21px, 5.7vw, 29px); }
  .platform p:not(.eyebrow) { font-size: 12px; line-height: 2; }
  .platform::after { background: linear-gradient(90deg, #000810cc, #00081044), linear-gradient(0deg, #000810d9, transparent); }
  .platform-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 28px; padding-top: 15px; }
  .platform-links a, .platform-links a:first-child { min-height: 75px; padding: 12px 10px; border-bottom: 1px solid #ffffff30; }
  .platform-links a:nth-child(even), .platform-links a:last-child { border-right: 0; }
  .platform-links span { font-size: 19px; }
  .platform-links small { font-size: 12px; }
  .steps { padding-block: 45px; }
  .steps__grid { padding-bottom: 35px; }
  .steps h2 { font-size: 23px; }
  .steps__grid > div > p:last-child { font-size: 12px; }
  .steps li b { font-size: 58px; }
  .steps li span { font-size: 12px; }
  .steps li:not(:last-child)::after { font-size: 23px; right: -11px; top: 18px; }
  .reach { padding-top: 28px; }
  .reach .eyebrow { margin-bottom: 30px; }
  .reach__items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 0; }
  .reach__items > div:nth-child(2) { border: 0; }
  .reach__items b { font-size: 45px; }
  .reach__items b small { font-size: 16px; }
  .reach__items span { font-size: 12px; margin-top: 10px; }
  .site-footer { background-position: 60% center; }
  .footer-hero { display: block; padding-block: 48px; }
  .footer-message { font-size: clamp(27px, 7.1vw, 37px); }
  .footer-logo { width: 195px; }
  .footer-cta { margin-top: 48px; }
  .footer-cta p { margin-bottom: 22px; }
  .footer-cta .button { min-width: 220px; }
  .footer-bottom { padding-block: 24px 35px; }
  .footer-bottom nav { gap: 14px 20px; }
  .footer-meta { gap: 15px; }
  .footer-meta .lang-link { padding-right: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Keep unavailable destinations visible without interactive behavior. */
.inactive-link { cursor: default; pointer-events: none; }
.inactive-link .lang-chevron { visibility: hidden; }

/* weria51_3: keep the added "多言語Web" nav item from touching the logo on narrow desktops. */
@media (min-width: 1280px) and (max-width: 1439px) {
  body .site-header .global-nav ul { gap: clamp(13px, calc(4.8vw - 48px), 22px); }
  body .site-header .global-nav { gap: 18px; }
}

/* weria51_3: TOP introduction video above the footer. */
.intro-video { padding-block: 70px 90px; background: #f6f7f8; text-align: center; }
.intro-video .eyebrow { margin-bottom: 14px; }
.intro-video h2 { font-family: var(--serif); font-size: clamp(25px, 2.25vw, 32px); font-weight: 600; margin: 0 0 34px; }
.intro-video__frame { max-width: 960px; margin-inline: auto; border-radius: 10px; overflow: hidden; box-shadow: 0 18px 40px #0b1a2a26; background: #000; }
.intro-video__frame { width: 100%; }
.intro-video video { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 640px) {
  .intro-video { padding-block: 48px 60px; }
  .intro-video h2 { margin-bottom: 24px; }
  .intro-video__frame { border-radius: 6px; }
}

/* weria51_3: keep the off-canvas mobile menu from widening the page horizontally. */
@media (max-width: 1279px) {
  body .site-header .global-nav { transform: none; clip-path: inset(0 0 0 100%); transition: clip-path .25s, visibility .25s; }
  body .site-header.is-open .global-nav { clip-path: inset(0); }
}
html { overflow-x: hidden; }
