:root {
  color-scheme: light;
  --ink: #172422;
  --muted: #5f716f;
  --mint: #00b48a;
  --mint-dark: #087f67;
  --line: #e4ecea;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: Inter, 'Noto Sans JP', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--mint-dark); outline-offset: 4px; }
.container { width: min(100% - 80px, 1240px); margin-inline: auto; }

.nav { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid #edf1ef; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.nav-logo { width: 146px; height: auto; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 43px; padding: 0 18px; border: 1px solid #d9e5e2; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; transition: border-color .25s ease, background .25s ease, transform .3s var(--ease); }
.nav-cta:hover { border-color: #a4d9ca; background: #f0fbf7; transform: translateY(-2px); }
.icon-at { flex: none; }
.icon-at-inner, .icon-at-path { transform-origin: 12px 12px; }
a:hover .icon-at-inner { animation: icon-orbit .7s var(--ease); }
a:hover .icon-at-path { stroke-dasharray: 58; stroke-dashoffset: 58; animation: icon-draw .7s var(--ease) forwards; }
@keyframes icon-orbit { 0%,100% { transform: scale(1); } 45% { transform: scale(.73); } }
@keyframes icon-draw { to { stroke-dashoffset: 0; } }

.hero-section { position: relative; isolation: isolate; overflow: hidden; padding: 56px 0 105px; background: linear-gradient(180deg, #f7fcfc 0%, #ebf7f6 45%, #f8f7ee 100%); }
.hero-atmosphere { position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 10% 37%, rgba(141,216,228,.28), transparent 32%), radial-gradient(circle at 88% 28%, rgba(179,230,198,.29), transparent 34%), radial-gradient(circle at 49% 100%, rgba(255,236,195,.4), transparent 40%); }
.hero-content { text-align: center; }
.hero-tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 15px; border: 1px solid #cbe9de; border-radius: 999px; background: rgba(255,255,255,.76); color: var(--mint-dark); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.hero-title { max-width: 930px; margin: 27px auto 23px; font-size: clamp(46px, 5.7vw, 76px); font-weight: 600; line-height: 1.2; letter-spacing: -.055em; text-wrap: balance; }
.gradient-text { color: var(--mint); background: linear-gradient(100deg, #0b9679 0%, #19c99d 36%, #8cded0 50%, #19c99d 64%, #0b9679 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient-flow 6s linear infinite; }
@keyframes gradient-flow { to { background-position: -300% 0; } }
.hero-desc { max-width: 670px; margin: 0 auto; color: #536967; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 31px; }
.btn-primary, .btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; padding: 0 25px; border-radius: 999px; font-size: 13px; font-weight: 600; transition: background .25s ease, border-color .25s ease, transform .3s var(--ease), box-shadow .3s ease; }
.btn-primary { border: 1px solid #1a2524; background: #1a2524; color: #fff; box-shadow: 0 5px 14px rgba(22,55,48,.13); }
.btn-primary:hover { background: #32413e; transform: translateY(-3px); box-shadow: 0 9px 18px rgba(22,55,48,.18); }
.btn-outline { border: 1px solid #cfddda; background: rgba(255,255,255,.85); color: var(--ink); }
.btn-outline:hover { border-color: #9dccc0; background: #fff; transform: translateY(-3px); }
.info-icon { flex: none; }

.hero-partners { max-width: 840px; margin: 30px auto 0; }
.hero-partners-heading { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 30px; margin-bottom: 12px; }
.hero-partners-heading h2 { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .06em; }
.partner-status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(0,180,138,.09); }
.partner-motion-toggle { padding: 7px 10px; border: 1px solid #cfddda; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--muted); font: inherit; font-size: 10px; cursor: pointer; }
.partner-motion-toggle:hover { color: var(--mint-dark); border-color: #9dccc0; }
.hero-partners-viewport { overflow: hidden; padding-block: 5px; }
.hero-partners-track { display: flex; }
.hero-partners-group { display: flex; flex: 0 0 100%; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.hero-partners-group li { flex: 1 0 25%; padding: 0 8px; }
.hero-partners-group a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; height: 100px; padding: 12px 20px; border: 1px solid rgba(208,225,219,.7); border-radius: 14px; background: rgba(255,255,255,.75); transition: background .25s, border-color .25s; }
.hero-partners-group a:hover { background: #fff; border-color: #9dccc0; }
.hero-partners-group img { width: 120px; height: 43px; object-fit: contain; }
.hero-partners-group span { color: var(--muted); font-size: 9px; letter-spacing: .08em; }
.hero-partners.is-animated .hero-partners-viewport { mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.hero-partners.is-animated .hero-partners-track { width: max-content; animation: partner-scroll 28s linear infinite; }
.hero-partners.is-animated .hero-partners-group { flex: 0 0 auto; flex-wrap: nowrap; }
.hero-partners.is-animated .hero-partners-group li { flex: 0 0 210px; width: 210px; }
.hero-partners.is-paused .hero-partners-track,
.hero-partners-viewport:hover .hero-partners-track { animation-play-state: paused; }
/* Keep keyboard-focused links visible in their original, stationary group. */
.hero-partners-viewport:focus-within { overflow-x: auto; mask-image: none !important; }
.hero-partners-viewport:focus-within .hero-partners-track { animation: none; }
.hero-partners-viewport:focus-within [data-partner-copy] { display: none; }
@keyframes partner-scroll { to { transform: translateX(-50%); } }

.hero-stage { position: relative; width: min(100%, 1040px); height: 390px; margin: 76px auto 0; padding: 14px; border: 1px solid rgba(255,255,255,.95); border-radius: 26px; background: rgba(255,255,255,.48); box-shadow: 0 26px 80px rgba(63,130,125,.12), 0 2px 8px rgba(44,89,83,.05); backdrop-filter: blur(12px); text-align: left; }
.hero-stage::before { content: ''; position: absolute; z-index: 3; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0,212,164,.14), transparent 65%); }
.stage-window { height: 100%; overflow: hidden; border: 1px solid #e2ebe8; border-radius: 16px; background: #fff; box-shadow: 0 3px 18px rgba(21,73,68,.06); }
.stage-window-top { display: flex; align-items: center; gap: 22px; height: 47px; padding: 0 18px; border-bottom: 1px solid #edf2f0; }
.stage-dots { display: flex; gap: 6px; }
.stage-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d4dfdc; }
.stage-dots i:first-child { background: #9cdcc9; }
.stage-top-line { width: 116px; height: 8px; border-radius: 10px; background: #e7efed; }
.stage-top-pill { width: 60px; height: 20px; margin-left: auto; border-radius: 20px; background: #e3f7ef; }
.stage-window-body { display: grid; grid-template-columns: 142px minmax(0, 1fr) 216px; height: calc(100% - 47px); }
.stage-rail { display: flex; flex-direction: column; align-items: flex-start; gap: 23px; padding: 25px 19px; border-right: 1px solid #edf2f0; background: #fcfefd; }
.stage-rail-logo { width: 33px; height: 33px; margin-bottom: 8px; border-radius: 10px; background: linear-gradient(135deg,#82dac2,#d8f5e8); }
.stage-rail span { width: 70%; height: 8px; border-radius: 10px; background: #e9f0ee; }
.stage-rail span:nth-child(3) { width: 91%; background: #d7f2e8; }
.stage-rail span:nth-child(4) { width: 58%; }
.stage-main { display: flex; flex-direction: column; min-width: 0; padding: 25px 28px 22px; }
.stage-main-head { display: flex; align-items: center; justify-content: space-between; }
.stage-main-head span:first-child { width: 28%; height: 13px; border-radius: 8px; background: #dae7e3; }
.stage-main-head span:last-child { width: 52px; height: 20px; border-radius: 12px; background: #e8f8f1; }
.stage-flow { position: relative; display: grid; place-items: center; flex: 1; min-height: 0; }
.stage-flow::before, .stage-flow::after { content: ''; position: absolute; z-index: 0; width: 78%; height: 1px; background: linear-gradient(90deg, transparent, #c8e9df, transparent); }
.stage-flow::before { transform: rotate(27deg); }
.stage-flow::after { transform: rotate(-27deg); }
.stage-flow-ring { position: absolute; border: 1px solid #d0ece4; border-radius: 50%; }
.ring-one { width: 190px; height: 190px; background: radial-gradient(circle, rgba(196,242,225,.35), transparent 64%); animation: ring-breathe 6s ease-in-out infinite; }
.ring-two { width: 265px; height: 265px; border-style: dashed; opacity: .7; animation: ring-spin 36s linear infinite; }
.stage-flow-center { position: relative; z-index: 2; display: grid; place-items: center; width: 80px; height: 80px; border: 7px solid #fff; border-radius: 24px; background: #fff; box-shadow: 0 12px 35px rgba(34,98,83,.18); transform: rotate(-8deg); }
.stage-flow-center img { width: 64px; height: 64px; border-radius: 17px; object-fit: cover; }
.stage-flow-node { position: absolute; z-index: 1; width: 20px; height: 20px; border: 5px solid #fff; border-radius: 50%; background: #52c7a6; box-shadow: 0 4px 12px rgba(31,141,111,.2); }
.node-one { top: 15%; left: 25%; animation: node-float 5s ease-in-out infinite; }
.node-two { right: 18%; top: 36%; width: 26px; height: 26px; background: #94d8dc; animation: node-float 6s ease-in-out -2s infinite; }
.node-three { bottom: 17%; left: 32%; width: 16px; height: 16px; background: #e8cfa0; animation: node-float 4.5s ease-in-out -1s infinite; }
.stage-main-foot { display: flex; gap: 10px; }
.stage-main-foot span { height: 9px; border-radius: 8px; background: #e9f0ee; }
.stage-main-foot span:nth-child(1) { width: 21%; }
.stage-main-foot span:nth-child(2) { width: 31%; }
.stage-main-foot span:nth-child(3) { width: 16%; }
.stage-side { display: flex; flex-direction: column; gap: 16px; padding: 24px 17px; border-left: 1px solid #edf2f0; background: #fcfefd; }
.stage-mini-card, .stage-chart { border: 1px solid #edf2f0; border-radius: 13px; background: #fff; }
.stage-mini-card { display: flex; flex-direction: column; gap: 12px; height: 98px; padding: 16px; }
.stage-mini-card span { height: 8px; border-radius: 8px; background: #e6eeeb; }
.stage-mini-card span:nth-child(1) { width: 50%; background: #b8e9d7; }
.stage-mini-card span:nth-child(2) { width: 80%; }
.stage-mini-card span:nth-child(3) { width: 60%; }
.stage-chart { display: flex; align-items: flex-end; justify-content: space-between; gap: 7px; flex: 1; padding: 16px 13px; }
.stage-chart i { width: 14%; height: 40%; border-radius: 5px 5px 2px 2px; background: #a9e1d0; }
.stage-chart i:nth-child(2) { height: 56%; }
.stage-chart i:nth-child(3) { height: 45%; }
.stage-chart i:nth-child(4) { height: 75%; background: #65cfae; }
.stage-chart i:nth-child(5) { height: 63%; }
.stage-chart i:nth-child(6) { height: 85%; background: #38bd96; }
.stage-chart i:nth-child(7) { height: 70%; }
@keyframes ring-breathe { 50% { transform: scale(1.07); opacity: .55; } }
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes node-float { 50% { transform: translateY(-9px); } }

.partners-section { padding: 104px 0 118px; background: #fff; }
.section-header { max-width: 690px; margin: 0 auto 51px; text-align: center; }
.section-label { display: block; margin-bottom: 17px; color: var(--mint-dark); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.section-heading { margin: 0; font-size: clamp(34px, 4vw, 52px); font-weight: 600; line-height: 1.22; letter-spacing: -.04em; }
.section-sub { margin: 17px 0 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.partners-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.partner-card { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; min-height: 245px; padding: 22px; border: 1px solid #e8eeeb; border-radius: 16px; background: #fff; box-shadow: 0 5px 18px rgba(24,79,67,.03); transition: border-color .25s ease, box-shadow .3s ease, transform .35s var(--ease); }
.partner-card:hover { border-color: #b7e6d6; box-shadow: 0 17px 36px rgba(24,79,67,.09); transform: translateY(-5px); }
.partner-image-wrap { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 140px; }
.partner-image { width: auto; max-width: 83%; max-height: 88px; object-fit: contain; }
.partner-bottom { display: flex; align-items: end; justify-content: space-between; gap: 10px; padding-top: 17px; border-top: 1px solid #edf1ef; }
.partner-info { min-width: 0; }
.partner-name { margin: 0 0 6px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.partner-tag { color: #5f716f; font-size: 11px; line-height: 1.3; }
.icon-arrow { flex: none; width: 20px; height: 20px; color: #82918d; transform: rotate(180deg); transition: transform .35s var(--ease), color .25s ease; }
.partner-card:hover .icon-arrow { color: var(--mint-dark); transform: rotate(180deg) translateX(-5px); }

.footer { padding: 31px 0; border-top: 1px solid #e9efec; background: #fbfdfc; color: #5f716f; }
.footer p { margin: 0; font-size: 12px; line-height: 1.7; }
.js-motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.js-motion .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .container { width: min(100% - 56px, 1240px); }
  .hero-section { padding-top: 55px; }
  .hero-title { font-size: clamp(46px, 6.2vw, 64px); }
  .stage-window-body { grid-template-columns: 105px minmax(0, 1fr) 160px; }
  .stage-rail { padding-inline: 15px; }
  .stage-main { padding-inline: 20px; }
  .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 40px, 1240px); }
  .nav-inner { min-height: 66px; }
  .nav-logo { width: 127px; }
  .nav-cta { width: 44px; min-height: 44px; padding: 0; }
  .nav-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hero-section { padding: 40px 0 78px; }
  .hero-title { margin: 21px auto 18px; font-size: clamp(38px, 8.6vw, 54px); line-height: 1.25; }
  .hero-desc { font-size: 14px; line-height: 1.85; }
  .hero-actions { gap: 10px; margin-top: 26px; }
  .btn-primary, .btn-outline { min-height: 48px; padding-inline: 18px; font-size: 12px; }
  .hero-stage { height: 280px; margin-top: 52px; padding: 9px; border-radius: 18px; }
  .hero-partners { margin-top: 25px; }
  .hero-partners-group li { flex-basis: 50%; padding: 5px; }
  .hero-partners.is-animated .hero-partners-group li { flex-basis: 170px; width: 170px; }
  .hero-partners-group a { height: 92px; padding-inline: 14px; }
  .stage-window { border-radius: 11px; }
  .stage-window-top { height: 37px; padding-inline: 13px; }
  .stage-window-body { grid-template-columns: 62px minmax(0,1fr); height: calc(100% - 37px); }
  .stage-rail { gap: 19px; padding: 17px 11px; }
  .stage-rail-logo { width: 27px; height: 27px; }
  .stage-rail span { width: 100%; height: 6px; }
  .stage-side { display: none; }
  .stage-main { padding: 19px 16px 16px; }
  .ring-one { width: 140px; height: 140px; }
  .ring-two { width: 205px; height: 205px; }
  .stage-flow-center { width: 65px; height: 65px; border-width: 5px; border-radius: 20px; }
  .stage-flow-center img { width: 55px; height: 55px; border-radius: 16px; }
  .partners-section { padding: 79px 0 88px; }
  .section-header { margin-bottom: 34px; }
  .section-heading { font-size: 34px; }
  .section-sub { font-size: 13px; }
  .partners-grid { gap: 12px; }
  .partner-card { min-height: 215px; padding: 18px; }
  .partner-image-wrap { min-height: 115px; }
  .partner-image { max-height: 69px; }
  .partner-name { font-size: 14px; }
  .footer p { font-size: 11px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(36px, 9vw, 43px); }
  .partners-grid { grid-template-columns: 1fr; }
  .partner-card { min-height: 190px; }
  .partner-image-wrap { min-height: 95px; }
}

@media (min-width: 641px) and (max-height: 820px) {
  .hero-section { padding-top: 32px; }
  .hero-title { margin: 20px auto 18px; font-size: 48px; }
  .hero-desc { font-size: 14px; line-height: 1.7; }
  .hero-actions { margin-top: 24px; }
  .hero-partners { margin-top: 24px; }
}

@media (max-width: 370px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; }
  .hero-title { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-partners.is-animated .hero-partners-track { width: auto; animation: none; transform: none; }
  .hero-partners.is-animated .hero-partners-group { flex: 0 0 100%; flex-wrap: wrap; }
  .hero-partners.is-animated .hero-partners-group li { flex: 1 0 25%; width: auto; }
  .hero-partners.is-animated .hero-partners-viewport { mask-image: none; }
  [data-partner-copy], .partner-motion-toggle { display: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-motion .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 640px) {
  .hero-partners.is-animated .hero-partners-group li { flex-basis: 50%; }
}
