@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap");

:root {
  --blue: #12389f;
  --blue-dark: #0b286f;
  --yellow: #f9b900;
  --ink: #17233d;
  --muted: #67738a;
  --line: #dfe5ee;
  --pale-blue: #eef5ff;
  --pale-yellow: #fff8e2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header { height: 82px; padding: 0 max(26px, calc((100vw - 1200px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf0f5; background: rgba(255,255,255,.96); }
.brand { display: block; width: 250px; }
.brand img { width: 100%; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; }
.site-header nav a { text-decoration: none; }
.product-nav { display: flex; align-items: center; gap: 24px; }
.product-nav a { position: relative; white-space: nowrap; }
.product-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.product-nav a:hover::after { transform: scaleX(1); }
.header-contact { padding: 13px 20px; border-radius: 5px; color: #fff; background: var(--blue); transition: background .2s, transform .2s; }
.header-contact:hover { background: var(--blue-dark); transform: translateY(-1px); }

.page-title { position: relative; overflow: hidden; padding: 70px 24px 74px; text-align: center; background: #f5f8fc; }
.page-title p { margin: 0 0 10px; color: var(--blue); font-size: 11px; letter-spacing: .22em; font-weight: 900; }
.page-title h1 { position: relative; z-index: 1; margin: 0; font-size: clamp(34px, 4vw, 48px); letter-spacing: .08em; font-weight: 800; }
.page-title-decoration { position: absolute; width: 430px; height: 110px; border-radius: 50%; border: 14px solid rgba(18,56,159,.06); transform: rotate(-13deg); }
.decoration-left { left: -230px; top: -10px; }
.decoration-right { right: -250px; bottom: -35px; border-color: rgba(249,185,0,.14); }

.product { position: relative; overflow: hidden; padding: 118px 28px 126px; scroll-margin-top: 20px; }
.product:nth-child(even) { background: #f7f9fc; }
.product-inner { position: relative; z-index: 1; width: min(1180px, 100%); margin: 0 auto; display: grid; grid-template-columns: .78fr 1.22fr; gap: 82px; align-items: center; }
.product-reverse { grid-template-columns: 1.22fr .78fr; }
.product-reverse .product-copy { order: 2; }
.product-reverse .device-stage { order: 1; }
.product-copy { max-width: 440px; }
.product-category { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--blue); font-size: 11px; letter-spacing: .14em; font-weight: 900; }
.product-category span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 11px; letter-spacing: 0; }
.product h2 { margin: 0; color: var(--blue-dark); font-size: clamp(32px, 3.2vw, 46px); letter-spacing: .04em; line-height: 1.35; font-weight: 800; }
.product-catch { margin: 22px 0 0; font-size: clamp(20px, 2vw, 27px); line-height: 1.65; font-weight: 700; }
.product-description { margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 2; }
.feature-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 24px 0 0; padding: 0; list-style: none; }
.feature-list li { padding: 7px 11px; border-radius: 4px; color: #40516f; background: #eef2f7; font-size: 12px; font-weight: 700; }
.product-button { width: 100%; max-width: 300px; margin-top: 32px; padding: 17px 20px; display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--blue); border-radius: 5px; color: var(--blue); font-size: 15px; font-weight: 800; text-decoration: none; transition: color .2s, background .2s; }
.product-button span { font-size: 20px; line-height: 1; transition: transform .2s; }
.product-button:hover { color: #fff; background: var(--blue); }
.product-button:hover span { transform: translateX(4px); }

.device-stage { position: relative; min-height: 450px; display: flex; align-items: center; justify-content: center; }
.device-stage::before { content: ""; position: absolute; width: 540px; height: 340px; border-radius: 50%; background: var(--pale-blue); transform: rotate(-10deg); }
.product-fleet .device-stage::before { background: #eef0ff; transform: rotate(8deg); }
.product-inspection .device-stage::before { background: #e8f7f8; }
.device-stage::after { content: ""; position: absolute; width: 110px; height: 110px; right: 5%; top: 4%; border-radius: 50%; background: var(--pale-yellow); }
.desktop-device { position: relative; z-index: 2; width: min(620px, 88%); overflow: hidden; border: 7px solid #1e2c43; border-radius: 12px; background: #fff; box-shadow: 0 28px 60px rgba(23,35,61,.24); }
.desktop-bar { height: 23px; display: flex; align-items: center; gap: 5px; padding: 0 9px; background: #e8edf2; }
.desktop-bar i { width: 6px; height: 6px; border-radius: 50%; background: #aab5c1; }
.desktop-device img { width: 100%; }
.product-asset .desktop-device img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
.phone-device { position: absolute; z-index: 3; right: -2%; bottom: 0; width: 138px; padding: 10px 6px 7px; border: 4px solid #17243a; border-radius: 25px; background: #17243a; box-shadow: 0 24px 44px rgba(23,35,61,.32); }
.phone-device img { width: 100%; border-radius: 14px; }
.phone-speaker { position: absolute; z-index: 2; top: 7px; left: 50%; width: 42px; height: 5px; border-radius: 4px; background: #17243a; transform: translateX(-50%); }
.product-reverse .phone-device { right: auto; left: -2%; }

.contact-section { position: relative; overflow: hidden; padding: 88px 24px; color: #fff; text-align: center; background: linear-gradient(140deg, #0b1b31, #153862 55%, #1e4e8c); }
.contact-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 50% 120%, rgba(42,178,166,.3), transparent 70%); }
.contact-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.contact-section p { margin: 0 0 12px; color: #7fe3d9; font-size: 10px; letter-spacing: .18em; font-weight: 900; }
.contact-section h2 { margin: 0; font-size: clamp(27px, 3vw, 34px); }
.contact-section span { display: block; margin-top: 16px; color: #d9e6f5; font-size: 15px; line-height: 1.9; white-space: nowrap; }
.contact-section a { width: min(380px, 100%); margin-top: 30px; padding: 20px 28px; display: flex; justify-content: center; align-items: center; border-radius: 6px; color: var(--blue-dark); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.2); font-size: 16px; font-weight: 800; text-align: center; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.contact-section a:hover { transform: translateY(-2px); box-shadow: 0 17px 34px rgba(0,0,0,.25); }
.contact-section small { display: block; margin-top: 18px; color: #c9d8ea; font-size: 12px; line-height: 1.8; }

footer { min-height: 110px; padding: 28px max(28px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); }
footer img { width: 200px; }
footer p { color: #8c96a7; font-size: 10px; letter-spacing: .06em; }

@media (max-width: 980px) {
  .product-inner, .product-reverse { grid-template-columns: 1fr; gap: 50px; }
  .product-copy, .product-reverse .product-copy { order: 1; max-width: 700px; margin: 0 auto; text-align: center; }
  .device-stage, .product-reverse .device-stage { order: 2; width: min(720px, 100%); margin: 0 auto; }
  .product-category, .feature-list { justify-content: center; }
  .product-button { margin-left: auto; margin-right: auto; }
  .phone-device, .product-reverse .phone-device { right: 2%; left: auto; }
}

@media (max-width: 680px) {
  .site-header { height: 68px; padding: 0 17px; }
  .brand { width: 180px; }
  .product-nav { display: none; }
  .header-contact { padding: 10px 13px; font-size: 11px; }
  .page-title { padding: 48px 20px 52px; }
  .product { padding: 76px 20px 84px; }
  .product-inner, .product-reverse { gap: 36px; }
  .product-copy { text-align: left !important; }
  .product-category, .feature-list { justify-content: flex-start; }
  .product-button { margin-left: 0; }
  .device-stage { min-height: 300px; }
  .device-stage::before { width: 330px; height: 220px; }
  .desktop-device { width: 92%; border-width: 5px; }
  .phone-device, .product-reverse .phone-device { right: 0; left: auto; width: 92px; bottom: -3px; border-width: 3px; border-radius: 18px; padding: 7px 4px 5px; }
  .phone-device img { border-radius: 10px; }
  .contact-section { padding: 66px 22px; }
  .contact-section span { white-space: normal; }
  .contact-section a { width: 100%; min-width: 0; }
  footer { flex-direction: column; justify-content: center; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
