:root {
  --ink: #0b2633;
  --ink-2: #24434f;
  --muted: #647985;
  --brand: #0b6478;
  --brand-dark: #082a3a;
  --teal: #2fb7aa;
  --teal-pale: #e9f7f5;
  --red: #d92d3b;
  --soft: #f3f8f9;
  --line: #dce9ec;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(8, 42, 58, 0.13);
  --shadow-small: 0 12px 35px rgba(8, 42, 58, 0.1);
  --radius: 24px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 9999; padding: 10px 14px; color: #fff; background: var(--brand-dark); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.topbar { color: #d9edf1; background: #061f2c; font-size: .77rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 9px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(47, 183, 170, .14); }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar a:hover { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.9); border-bottom: 1px solid rgba(220,233,236,.75); backdrop-filter: blur(18px); transition: box-shadow .25s ease, background .25s ease; }
.site-header.scrolled { background: rgba(255,255,255,.97); box-shadow: 0 10px 35px rgba(8,42,58,.08); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { width: 48px; height: 48px; color: var(--brand); }
.brand strong { display: block; font-size: 1.01rem; letter-spacing: .16em; color: var(--brand-dark); line-height: 1.2; }
.brand small { display: block; color: var(--muted); font-size: .62rem; letter-spacing: .03em; margin-top: 3px; }
.primary-nav { display: flex; align-items: center; gap: clamp(15px, 2vw, 28px); font-size: .88rem; font-weight: 700; }
.primary-nav a { position: relative; padding: 26px 0; }
.primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 19px; height: 2px; background: var(--red); transition: right .25s ease; }
.primary-nav a:hover::after, .primary-nav a.active::after { right: 0; }
.primary-nav .nav-cta { color: #fff; background: var(--brand-dark); padding: 12px 18px; border-radius: 999px; box-shadow: 0 8px 22px rgba(8,42,58,.17); transition: transform .2s ease, background .2s ease; }
.primary-nav .nav-cta:hover { transform: translateY(-2px); background: var(--brand); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--soft); }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--brand-dark); transition: .25s ease; }

.hero { position: relative; overflow: hidden; padding: clamp(78px, 9vw, 132px) 0 clamp(78px, 9vw, 118px); background: linear-gradient(135deg, #f8fbfc 0%, #eef7f7 52%, #fdfefe 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(11,100,120,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,100,120,.035) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to right, #000, transparent 80%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(45px, 7vw, 90px); }
.hero-copy { max-width: 640px; }
.eyebrow { margin: 0 0 15px; color: var(--brand); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: #8fe3dc; }
h1, h2, h3 { margin-top: 0; letter-spacing: -.035em; line-height: 1.12; }
h1 { margin-bottom: 25px; font-size: clamp(2.65rem, 5.1vw, 5.35rem); }
h1 span { color: var(--brand); }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 3.65vw, 3.7rem); }
h3 { margin-bottom: 12px; font-size: 1.24rem; }
.hero-lead { margin: 0; color: var(--ink-2); font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; font-size: .9rem; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--brand-dark); box-shadow: 0 13px 30px rgba(8,42,58,.2); }
.button-primary:hover { background: var(--brand); box-shadow: 0 16px 34px rgba(11,100,120,.25); }
.button-ghost { color: var(--brand-dark); border-color: #bdd5da; background: rgba(255,255,255,.6); }
.button-ghost:hover { background: #fff; }
.button-light { color: var(--brand-dark); background: #fff; }
.hero-points { display: flex; flex-wrap: wrap; gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .81rem; font-weight: 700; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: "✓"; display: grid; place-items: center; width: 21px; height: 21px; color: #fff; background: var(--teal); border-radius: 50%; font-size: .7rem; }
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.visual-main { width: min(100%, 540px); position: relative; z-index: 2; padding: 16px 18px 8px; border: 1px solid rgba(255,255,255,.9); border-radius: 35px; background: rgba(255,255,255,.76); box-shadow: var(--shadow); backdrop-filter: blur(15px); transform: rotate(1.5deg); }
.visual-label { display: flex; align-items: center; gap: 8px; color: var(--brand-dark); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.visual-label span { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.visual-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(47,183,170,.2); filter: blur(12px); }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px; min-width: 192px; padding: 14px 16px; border: 1px solid #fff; border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-small); backdrop-filter: blur(12px); animation: float 5s ease-in-out infinite; }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: .82rem; }
.floating-card small { color: var(--muted); font-size: .68rem; margin-top: 2px; }
.floating-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; color: #fff; background: var(--brand); border-radius: 12px; font-size: .72rem; font-weight: 800; }
.card-one { top: 42px; right: -12px; }
.card-two { bottom: 62px; right: -4px; animation-delay: -1.4s; }
.card-three { bottom: 28px; left: -18px; animation-delay: -2.8s; }
.hero-orbit { position: absolute; border: 1px solid rgba(11,100,120,.09); border-radius: 50%; }
.hero-orbit-one { width: 660px; height: 660px; right: -220px; top: -170px; }
.hero-orbit-two { width: 470px; height: 470px; left: -260px; bottom: -250px; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.trust-strip { position: relative; z-index: 3; background: var(--brand-dark); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { padding: 26px 28px; border-right: 1px solid rgba(255,255,255,.13); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: #fff; font-size: 1.1rem; }
.trust-grid span { color: #a9c8d1; font-size: .75rem; margin-top: 3px; }

.section { padding: clamp(80px, 9vw, 130px) 0; }
.section-soft { background: var(--soft); }
.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.section-copy p:not(.eyebrow), .section-heading > p { color: var(--muted); }
.section-copy p { margin: 0 0 18px; }
.text-link { display: inline-flex; gap: 11px; align-items: center; color: var(--brand); font-weight: 800; margin-top: 8px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.about-panel { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 60px); border-radius: var(--radius); background: linear-gradient(145deg, var(--brand-dark), #0b5568); color: #fff; box-shadow: var(--shadow); }
.about-panel::after { content: ""; position: absolute; width: 260px; height: 260px; right: -100px; top: -100px; border: 45px solid rgba(255,255,255,.04); border-radius: 50%; }
.about-number { position: absolute; right: 38px; top: 24px; color: rgba(255,255,255,.08); font-size: 7rem; font-weight: 800; line-height: 1; }
.about-panel h3 { position: relative; z-index: 2; font-size: 1.75rem; }
.about-panel > p { position: relative; z-index: 2; color: #c6dce2; max-width: 620px; }
.mini-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 34px; border-top: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); }
.mini-grid > div { padding: 20px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.mini-grid span, .mini-grid strong { display: block; }
.mini-grid span { color: #8fb4bf; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.mini-grid strong { margin-top: 4px; font-size: .88rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 46px; }
.section-heading > div { max-width: 720px; }
.section-heading > p { max-width: 420px; margin: 0 0 8px; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.category-card:hover { transform: translateY(-7px); border-color: #9fd7d1; box-shadow: var(--shadow-small); }
.category-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 31px; color: var(--brand); background: var(--teal-pale); border-radius: 14px; font-size: .78rem; font-weight: 800; }
.category-card h3 { font-size: 1.08rem; }
.category-card p { margin: 0; color: var(--muted); font-size: .82rem; }
.equipment-cta { margin-top: 24px; padding: 34px 38px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #fff; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.equipment-cta .eyebrow { color: #91e2db; margin-bottom: 8px; }
.equipment-cta h3 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2.2rem); }
.service-list { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 30px 14px; border-bottom: 1px solid var(--line); transition: background .2s ease, padding .2s ease; }
.service-item:hover { padding-left: 28px; background: var(--soft); }
.service-item > span { color: var(--red); font-size: .77rem; font-weight: 800; letter-spacing: .12em; }
.service-item h3 { margin-bottom: 7px; }
.service-item p { margin: 0; color: var(--muted); }

.technology-section { overflow: hidden; color: #fff; background: radial-gradient(circle at 20% 20%, #0d5c70 0, #082a3a 48%, #061d28 100%); }
.technology-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(55px, 8vw, 110px); }
.technology-copy p:not(.eyebrow) { color: #bad3da; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tech-tags span { padding: 9px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #d9eef2; background: rgba(255,255,255,.05); font-size: .75rem; }
.technology-visual { position: relative; }
.dashboard-shell { overflow: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 27px; background: #0d3445; box-shadow: 0 40px 90px rgba(0,0,0,.33); transform: perspective(1000px) rotateY(-6deg) rotateX(2deg); }
.dashboard-top { height: 46px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #123f50; }
.dashboard-top i { width: 9px; height: 9px; border-radius: 50%; background: #4c7584; }
.dashboard-top i:first-child { background: var(--red); }
.dashboard-top i:nth-child(2) { background: #e0b342; }
.dashboard-top i:nth-child(3) { background: var(--teal); }
.dashboard-top span { width: 42%; height: 10px; margin-left: auto; background: #204f60; border-radius: 999px; }
.dashboard-body { min-height: 380px; display: grid; grid-template-columns: 74px 1fr; }
.dashboard-body aside { padding-top: 28px; background: #0a2b39; }
.dashboard-body aside b { display: block; width: 26px; height: 26px; margin: 0 auto 20px; border-radius: 8px; background: #19485a; }
.dashboard-body aside b:first-child { background: var(--teal); }
.dashboard-content { padding: 28px; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.metric-row div { height: 74px; border-radius: 14px; background: linear-gradient(145deg,#194b5c,#123c4c); }
.chart-block { margin-top: 18px; padding: 18px; border-radius: 18px; background: #0f3949; }
.list-row { display: grid; gap: 11px; margin-top: 18px; }
.list-row span { display: block; height: 33px; border-radius: 9px; background: #174656; }

.international-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(50px, 8vw, 105px); }
.map-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; }
.check-list li { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.check-list li::before { content: "✓"; display: grid; place-items: center; width: 27px; height: 27px; color: #fff; background: var(--teal); border-radius: 50%; font-size: .72rem; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { min-height: 260px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.news-date { color: var(--red); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.news-card h3 { margin: 28px 0 12px; }
.news-card p { color: var(--muted); font-size: .85rem; }
.news-card a { margin-top: auto; color: var(--brand); font-size: .82rem; font-weight: 800; }
.news-placeholder { align-items: center; justify-content: center; text-align: center; border-style: dashed; background: transparent; }
.news-placeholder span { display: inline-block; padding: 7px 11px; border-radius: 999px; color: var(--brand); background: var(--teal-pale); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.contact-section { position: relative; overflow: hidden; padding: clamp(80px, 9vw, 125px) 0; color: #fff; background: linear-gradient(145deg, #082a3a, #0b5669); }
.contact-section::after { content: ""; position: absolute; width: 560px; height: 560px; right: -220px; bottom: -330px; border: 80px solid rgba(255,255,255,.04); border-radius: 50%; }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(50px, 8vw, 105px); }
.contact-copy > p:not(.eyebrow) { color: #bad4da; }
.contact-details { margin-top: 38px; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.15); }
.contact-details > * { padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-details span, .contact-details strong { display: block; }
.contact-details span { color: #83acb7; font-size: .67rem; text-transform: uppercase; letter-spacing: .11em; }
.contact-details strong { margin-top: 4px; font-size: .91rem; }
.contact-form { padding: clamp(25px, 4vw, 42px); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); background: rgba(255,255,255,.96); color: var(--ink); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-form label { display: block; margin-bottom: 17px; color: var(--ink-2); font-size: .77rem; font-weight: 800; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; margin-top: 7px; padding: 13px 14px; color: var(--ink); border: 1px solid #cfdee2; border-radius: 12px; outline: none; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(47,183,170,.12); }
.contact-form textarea { resize: vertical; }
.form-submit { border: 0; }
.form-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .7rem; }
.form-status { min-height: 1.4em; margin: 10px 0 0; color: var(--brand); font-size: .78rem; font-weight: 700; }
.form-status[data-state=success] { color: #087f5b; }
.form-status[data-state=error] { color: #b42318; }
.form-status[data-state=pending] { color: var(--brand); }

.site-footer { padding: 70px 0 22px; color: #adc8cf; background: #061f2c; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; padding-bottom: 55px; }
.brand-footer strong { color: #fff; }
.brand-footer small { color: #88abb5; }
.footer-grid > div:first-child > p { max-width: 390px; font-size: .82rem; }
.footer-grid h3 { color: #fff; font-size: .84rem; letter-spacing: .02em; }
.footer-grid > div:not(:first-child) a { display: block; padding: 6px 0; font-size: .78rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .7rem; }
.footer-bottom p { margin: 0; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: var(--brand-dark); box-shadow: var(--shadow-small); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s ease; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
/* Content must remain visible even during fast scrolling, slow JavaScript, or blocked scripts. */
.reveal,
.reveal.visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.legal-page { min-height: 100vh; background: var(--soft); }
.legal-main { padding: 80px 0 110px; }
.legal-card { max-width: 900px; margin: 0 auto; padding: clamp(28px, 6vw, 70px); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-small); }
.legal-card h1 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
.legal-card h2 { margin-top: 40px; font-size: 1.35rem; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card a { color: var(--brand); font-weight: 700; }
.legal-back { display: inline-flex; margin-bottom: 24px; color: var(--brand); font-weight: 800; }

@media (max-width: 1020px) {
  .topbar p { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .topbar-links span { display: none; }
  .nav-toggle { display: block; }
  .primary-nav { position: fixed; top: 116px; left: 20px; right: 20px; display: grid; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s ease; }
  .primary-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav a { padding: 13px 15px; border-bottom: 1px solid var(--line); }
  .primary-nav a:last-child { border-bottom: 0; }
  .primary-nav a::after { display: none; }
  .primary-nav .nav-cta { margin-top: 8px; text-align: center; }
  .nav-toggle.open span:first-child { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .hero-grid, .technology-grid, .international-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(680px, 100%); margin: 0 auto; }
  .split-layout, .contact-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 720px) {
  :root { --container: min(100% - 28px, 1180px); }
  .topbar-links { width: 100%; justify-content: space-between; gap: 12px; font-size: .68rem; }
  .nav-wrap { min-height: 70px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand strong { font-size: .88rem; }
  .brand small { font-size: .55rem; }
  .primary-nav { top: 108px; left: 14px; right: 14px; }
  .hero { padding-top: 65px; }
  h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .hero-visual { min-height: 390px; margin-top: 20px; }
  .floating-card { min-width: 155px; padding: 10px 12px; }
  .floating-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .floating-card strong { font-size: .72rem; }
  .floating-card small { font-size: .59rem; }
  .card-one { top: 10px; right: -4px; }
  .card-two { bottom: 35px; right: -5px; }
  .card-three { left: -5px; bottom: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div { border-bottom: 1px solid rgba(255,255,255,.13); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .mini-grid { grid-template-columns: 1fr; }
  .category-grid, .news-grid { grid-template-columns: 1fr; }
  .equipment-cta { display: block; padding: 28px; }
  .equipment-cta .button { margin-top: 24px; }
  .service-item { grid-template-columns: 48px 1fr; gap: 12px; }
  .dashboard-shell { transform: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 5px; }
}

@media (max-width: 430px) {
  .topbar-links a:first-child { display: none; }
  .topbar-links { justify-content: center; }
  .hero-actions .button { width: 100%; }
  .hero-points { display: grid; gap: 11px; }
  .hero-visual { min-height: 330px; }
  .card-three { display: none; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { border-right: 0; }
  .category-card { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Official Nihon Kaze branding */
.brand-mark-image {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
}
.official-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.official-logo-footer {
  width: min(270px, 100%);
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
}
.official-logo-footer img {
  width: 100%;
  height: auto;
}
@media (max-width: 720px) {
  .brand-mark-image {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }
  .official-logo-footer { width: min(240px, 100%); }
}

/* V4 responsive spacing and density refinement */
html { scroll-padding-top: 96px; }
.topbar-inner { min-height: 34px; }
.nav-wrap { min-height: 70px; }
.primary-nav a { padding-block: 22px; }
.primary-nav a:not(.nav-cta)::after { bottom: 15px; }

.hero {
  padding: clamp(56px, 6.5vw, 88px) 0 clamp(58px, 6.5vw, 90px);
}
.hero-grid { gap: clamp(38px, 5.5vw, 70px); }
.hero-copy { max-width: 620px; }
.eyebrow { margin-bottom: 12px; }
h1 { margin-bottom: 20px; }
.hero-actions { margin-top: 26px; }
.hero-points { margin-top: 24px; gap: 14px; }
.hero-visual { min-height: 430px; }
.visual-main { width: min(100%, 500px); }
.visual-glow { width: 330px; height: 330px; }
.card-one { top: 28px; right: -8px; }
.card-two { bottom: 48px; right: -2px; }
.card-three { bottom: 18px; left: -12px; }

.trust-grid > div { padding: 19px 24px; }
.section { padding: clamp(68px, 7vw, 94px) 0; }
.split-layout { gap: clamp(42px, 6vw, 74px); }
.section-copy p { margin-bottom: 15px; }
.about-panel { padding: clamp(30px, 4vw, 44px); }
.about-number { right: 30px; top: 18px; font-size: 6rem; }
.mini-grid { margin-top: 26px; }
.mini-grid > div { padding: 16px 18px; }
.section-heading { gap: 32px; margin-bottom: 34px; }

.category-grid { gap: 16px; }
.category-card { min-height: 178px; padding: 22px; }
.category-icon { width: 44px; height: 44px; margin-bottom: 20px; }
.equipment-cta { margin-top: 20px; padding: 28px 32px; }

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-item {
  grid-template-columns: 46px 1fr;
  gap: 16px;
  min-height: 150px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-item:hover { padding-left: 24px; background: var(--soft); }

.technology-grid { gap: clamp(42px, 6vw, 74px); }
.tech-tags { margin-top: 22px; gap: 8px; }
.tech-tags span { padding: 8px 12px; }
.dashboard-top { height: 42px; }
.dashboard-body { min-height: 310px; grid-template-columns: 64px 1fr; }
.dashboard-body aside { padding-top: 22px; }
.dashboard-body aside b { margin-bottom: 16px; }
.dashboard-content { padding: 22px; }
.metric-row div { height: 62px; }
.chart-block { margin-top: 15px; padding: 15px; }
.list-row { margin-top: 15px; gap: 9px; }
.list-row span { height: 27px; }

.international-grid { gap: clamp(42px, 6vw, 74px); }
.map-card { padding: 14px; }
.check-list { margin-top: 22px; }
.check-list li { padding: 9px 0; }

.news-grid { gap: 16px; }
.news-card { min-height: 218px; padding: 24px; }
.news-card h3 { margin: 18px 0 10px; }
.news-card p { margin: 0 0 14px; }

.contact-section { padding: clamp(68px, 7vw, 92px) 0; }
.contact-grid { gap: clamp(42px, 6vw, 72px); }
.contact-details { margin-top: 28px; }
.contact-details > * { padding: 13px 0; }
.contact-form { padding: clamp(24px, 3vw, 32px); }
.form-row { gap: 14px; }
.contact-form label { margin-bottom: 13px; }
.contact-form input,
.contact-form textarea,
.contact-form select { margin-top: 6px; padding: 11px 13px; }
.form-note { margin-top: 11px; }

.site-footer { padding: 50px 0 18px; }
.footer-grid { gap: 36px; padding-bottom: 36px; }
.footer-bottom { padding-top: 17px; }
.official-logo-footer { width: min(220px, 100%); padding: 9px 11px; margin-bottom: 14px; }

.legal-main { padding: clamp(38px, 5vw, 62px) 0 clamp(48px, 6vw, 76px); }
.legal-card { padding: clamp(26px, 4vw, 48px); }
.legal-card h1 { margin-bottom: 16px; }
.legal-card h2 { margin-top: 30px; margin-bottom: 10px; }
.legal-card p { margin-block: 0 14px; }
.legal-card li + li { margin-top: 6px; }
.legal-back { margin-bottom: 18px; }
.legal-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); }
.legal-header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.legal-header .brand-mark-image { width: 44px; height: 44px; flex-basis: 44px; }
.legal-header-link { color: var(--brand); font-size: .82rem; font-weight: 800; }
.legal-footer { padding: 24px 0; color: #8aa6af; background: var(--brand-dark); font-size: .74rem; }
.legal-footer-inner { display: flex; justify-content: space-between; gap: 18px; }

@media (max-width: 1020px) {
  .primary-nav { top: 104px; }
  .section { padding-block: 66px; }
  .hero { padding-block: 62px 66px; }
  .hero-visual { min-height: 390px; margin-top: 8px; }
  .service-list { grid-template-columns: 1fr; }
  .service-item { min-height: auto; }
  .dashboard-body { min-height: 290px; }
  .contact-section { padding-block: 66px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 82px; }
  .topbar-inner { min-height: 32px; }
  .nav-wrap { min-height: 64px; }
  .primary-nav { top: 96px; }
  .hero { padding: 48px 0 52px; }
  .hero-grid { gap: 26px; }
  .hero-actions { margin-top: 22px; }
  .hero-points { margin-top: 20px; }
  .hero-visual { min-height: 310px; margin-top: 4px; }
  .visual-main { width: min(92%, 470px); }
  .visual-glow { width: 250px; height: 250px; }
  .floating-card { min-width: 145px; }
  .card-one { top: 2px; }
  .card-two { bottom: 22px; }
  .card-three { bottom: -2px; }
  .trust-grid > div { padding: 16px 18px; }
  .section { padding-block: 52px; }
  .split-layout,
  .technology-grid,
  .international-grid,
  .contact-grid { gap: 34px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading > p { margin-top: 12px; }
  .about-panel { padding: 28px 24px; }
  .mini-grid { margin-top: 22px; }
  .category-grid { gap: 13px; }
  .category-card { min-height: auto; padding: 20px; }
  .category-icon { margin-bottom: 16px; }
  .equipment-cta { padding: 24px; }
  .equipment-cta .button { margin-top: 18px; }
  .service-item { grid-template-columns: 40px 1fr; gap: 12px; padding: 20px 18px; }
  .service-item:hover { padding-left: 18px; }
  .tech-tags { margin-top: 18px; }
  .dashboard-body { min-height: 255px; grid-template-columns: 52px 1fr; }
  .dashboard-body aside { padding-top: 18px; }
  .dashboard-body aside b { width: 22px; height: 22px; margin-bottom: 13px; }
  .dashboard-content { padding: 17px; }
  .metric-row { gap: 9px; }
  .metric-row div { height: 52px; }
  .chart-block { padding: 12px; }
  .list-row span { height: 23px; }
  .map-card { padding: 10px; }
  .news-card { min-height: auto; padding: 21px; }
  .contact-section { padding-block: 52px; }
  .contact-details { margin-top: 22px; }
  .contact-details > * { padding: 11px 0; }
  .contact-form { padding: 22px; }
  .site-footer { padding-top: 42px; }
  .footer-grid { gap: 26px; padding-bottom: 28px; }
  .official-logo-footer { width: min(205px, 100%); }
  .legal-main { padding: 28px 0 46px; }
  .legal-card { padding: 24px 20px; border-radius: 18px; }
  .legal-header-inner { min-height: 64px; }
  .legal-header .brand span { display: none; }
  .legal-footer-inner { display: block; }
  .legal-footer-inner span + span { display: block; margin-top: 5px; }
}

@media (max-width: 430px) {
  .hero { padding-block: 42px 46px; }
  .hero-visual { min-height: 270px; }
  .section { padding-block: 46px; }
  .trust-grid > div { padding: 14px 18px; }
  .contact-section { padding-block: 46px; }
  .contact-form { padding: 20px 17px; }
  .footer-grid { gap: 22px; }
}

/* Mobile navigation alignment correction */
@media (max-width: 1020px) {
  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
  }
  .primary-nav a { padding: 12px 14px; }
  .primary-nav .nav-cta { padding: 12px 18px; }
}
@media (max-width: 720px) {
  .primary-nav { left: 14px; right: 14px; }
}

/* V5 real-equipment photography and visual refinement */
.hero-photo-stage {
  position: relative;
  min-height: 455px;
  display: block;
  isolation: isolate;
}
.hero-photo-frame {
  position: relative;
  width: min(93%, 570px);
  aspect-ratio: 4 / 3;
  margin-left: auto;
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.92);
  border-radius: 34px;
  background: #dfeaec;
  box-shadow: 0 30px 80px rgba(8,42,58,.2);
}
.hero-photo-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 25px;
  pointer-events: none;
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.hero-photo-frame:hover img { transform: scale(1.025); }
.hero-photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(5,31,44,.78) 100%);
}
.hero-photo-caption {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: 25px;
  color: #fff;
}
.hero-photo-caption span {
  display: block;
  margin-bottom: 6px;
  color: #9ce8df;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-photo-caption strong {
  display: block;
  max-width: 430px;
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  line-height: 1.25;
}
.hero-photo-badge {
  position: absolute;
  z-index: 5;
  top: 22px;
  left: -8px;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 250px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 17px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(12px);
}
.hero-photo-badge-mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  color: #fff;
  background: var(--red);
  border-radius: 12px;
  font-size: .72rem;
  font-weight: 800;
}
.hero-photo-badge strong,
.hero-photo-badge small { display: block; }
.hero-photo-badge strong { font-size: .82rem; }
.hero-photo-badge small { margin-top: 2px; color: var(--muted); font-size: .64rem; line-height: 1.35; }
.hero-mini-photo {
  position: absolute;
  z-index: 4;
  overflow: hidden;
  margin: 0;
  border: 6px solid #fff;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(8,42,58,.22);
}
.hero-mini-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-mini-photo-one { left: -15px; bottom: -5px; width: 138px; height: 174px; transform: rotate(-3deg); }
.hero-mini-photo-two { right: -12px; top: 46px; width: 112px; height: 142px; transform: rotate(3deg); }

.about-proof {
  margin: 22px 0 4px !important;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  border-radius: 0 12px 12px 0;
  background: var(--soft);
  color: var(--ink-2) !important;
  font-size: .84rem;
}

.equipment-showcase {
  display: grid;
  grid-template-columns: 1.15fr .85fr .72fr;
  grid-template-rows: repeat(2, 220px);
  gap: 14px;
  margin: 0 0 14px;
}
.showcase-card,
.support-photo-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 22px;
  background: #dce9ec;
  box-shadow: 0 14px 38px rgba(8,42,58,.11);
}
.showcase-main { grid-row: 1 / 3; }
.showcase-tall { grid-row: 1 / 3; }
.showcase-card img,
.support-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.showcase-main img { object-position: center 48%; }
.showcase-tall img { object-position: center 40%; }
.showcase-small:nth-of-type(3) img { object-position: center 37%; }
.showcase-small:nth-of-type(4) img { object-position: center 42%; }
.showcase-card::after,
.support-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(4,31,44,.82) 100%);
  pointer-events: none;
}
.showcase-card:hover img,
.support-photo-card:hover img { transform: scale(1.035); filter: saturate(1.04); }
.showcase-card figcaption,
.support-photo-card figcaption {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 17px;
  color: #fff;
}
.showcase-card figcaption span,
.support-photo-card figcaption span {
  display: block;
  margin-bottom: 4px;
  color: #94e6dd;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.showcase-card figcaption strong,
.support-photo-card figcaption strong {
  display: block;
  font-size: .9rem;
  line-height: 1.3;
}
.equipment-photo-note {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: .73rem;
}

.support-photo-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 16px;
  margin-top: 24px;
}
.support-photo-card { height: 275px; }
.support-photo-card:first-child img { object-position: center 29%; }
.support-photo-wide img { object-position: center 45%; }

@media (max-width: 1020px) {
  .hero-photo-stage { width: min(720px, 100%); min-height: 500px; margin: 4px auto 0; }
  .hero-photo-frame { width: min(88%, 610px); margin-inline: auto; }
  .hero-photo-badge { left: 2%; }
  .hero-mini-photo-one { left: 2%; }
  .hero-mini-photo-two { right: 1%; }
  .equipment-showcase {
    grid-template-columns: 1.1fr .9fr;
    grid-template-rows: repeat(3, 215px);
  }
  .showcase-main { grid-row: 1 / 3; }
  .showcase-tall { grid-row: 1 / 3; }
  .showcase-small { grid-row: 3; }
}

@media (max-width: 720px) {
  .hero-photo-stage { min-height: 385px; width: 100%; }
  .hero-photo-frame { width: 94%; border-width: 5px; border-radius: 25px; }
  .hero-photo-caption { left: 20px; right: 20px; bottom: 18px; }
  .hero-photo-badge { top: -4px; left: 0; max-width: 218px; padding: 9px 11px; }
  .hero-photo-badge-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .hero-mini-photo-one { left: 0; bottom: -3px; width: 98px; height: 122px; border-width: 4px; border-radius: 15px; }
  .hero-mini-photo-two { right: 0; top: 38px; width: 76px; height: 96px; border-width: 4px; border-radius: 14px; }
  .equipment-showcase {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 210px 210px;
    gap: 11px;
  }
  .showcase-main { grid-column: 1 / 3; grid-row: 1; }
  .showcase-tall { grid-column: 1; grid-row: 2 / 4; }
  .showcase-small { grid-column: 2; }
  .showcase-small:nth-of-type(3) { grid-row: 2; }
  .showcase-small:nth-of-type(4) { grid-row: 3; }
  .showcase-card { border-radius: 17px; }
  .showcase-card figcaption,
  .support-photo-card figcaption { left: 15px; right: 15px; bottom: 13px; }
  .support-photo-grid { grid-template-columns: 1fr; }
  .support-photo-card { height: 250px; }
}

@media (max-width: 430px) {
  .hero-photo-stage { min-height: 325px; }
  .hero-photo-caption strong { font-size: .92rem; }
  .hero-photo-caption span { font-size: .57rem; }
  .hero-photo-badge small { display: none; }
  .hero-mini-photo-two { display: none; }
  .equipment-showcase {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .showcase-main,
  .showcase-tall,
  .showcase-small,
  .showcase-small:nth-of-type(3),
  .showcase-small:nth-of-type(4) {
    grid-column: auto;
    grid-row: auto;
    height: 235px;
  }
  .showcase-tall { height: 300px; }
  .equipment-photo-note { margin-bottom: 22px; }
}


/* V6 fast-scroll reliability correction */
.hero-photo-frame img,
.hero-mini-photo img,
.showcase-card img,
.support-photo-card img {
  background: linear-gradient(135deg, #dce9ec, #eef5f6);
}

/* Never hide core page content while observers or scripts initialize. */
.reveal,
.reveal.visible {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}
