:root {
  --blue: #2563eb;
  --blue-dark: #173b70;
  --navy: #102033;
  --cyan: #06b6d4;
  --sky: #eaf6ff;
  --sky-2: #f4faff;
  --sky-3: #dff3ff;
  --white: #ffffff;
  --text: #24364a;
  --muted: #64748b;
  --line: #d8e7f2;
  --shadow: 0 24px 65px rgba(37, 99, 235, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 88px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--navy);
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img { display: block; width: 188px; height: auto; }
.header-nav { display: flex; align-items: center; gap: 36px; font-size: 13px; font-weight: 700; }
.header-nav a { text-decoration: none; }
.service-menu { position: relative; }
.service-menu > button { display: flex; align-items: center; gap: 7px; padding: 12px 0; color: inherit; background: transparent; border: 0; cursor: pointer; font: inherit; }
.service-menu > button span { color: var(--blue); font-size: 15px; transition: transform .2s; }
.service-menu-panel { position: absolute; top: calc(100% + 8px); left: 50%; width: 250px; padding: 9px; opacity: 0; visibility: hidden; transform: translate(-50%,-6px); background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 22px 55px rgba(23,59,112,.16); transition: .2s; }
.service-menu:hover .service-menu-panel, .service-menu:focus-within .service-menu-panel { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.service-menu:hover > button span, .service-menu:focus-within > button span { transform: rotate(180deg); }
.service-menu-panel a { display: block; padding: 11px 13px; border-radius: 10px; }
.service-menu-panel a:hover { background: var(--sky); }
.service-menu-panel small { display: block; color: var(--muted); font-size: 9px; }
.service-menu-panel strong { color: var(--navy); font: 800 15px Inter,sans-serif; }
.header-cta {
  padding: 10px 18px;
  color: #182033;
  background: linear-gradient(105deg, #f28a18, #ffb62d 55%, #f2c94c);
  border: 1px solid rgba(242, 138, 24, .2);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(242,138,24,.18);
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  color: var(--navy);
  background:
    radial-gradient(circle at 83% 19%, rgba(6, 182, 212, .18), transparent 28%),
    radial-gradient(circle at 68% 78%, rgba(37, 99, 235, .10), transparent 32%),
    linear-gradient(135deg, #fff 0%, #f7fbff 48%, #eaf6ff 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent, #000 55%, transparent);
}
.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -42%;
  width: 65vw;
  height: 65vw;
  border: 1px solid rgba(6, 182, 212, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 9vw rgba(6,182,212,.025), 0 0 0 18vw rgba(37,99,235,.018);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  min-height: 820px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  padding-top: 88px;
}
.hero-logo { margin-bottom: 30px; color: var(--blue); font: 700 13px Inter, sans-serif; letter-spacing: .24em; }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(42px, 5vw, 66px); line-height: 1.28; letter-spacing: -.05em; }
.hero h1 em { color: var(--blue); font-style: normal; font-family: Inter, sans-serif; letter-spacing: -.07em; }
.hero-break { display: block; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: #475569; font-size: 16px; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 42px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 270px;
  padding: 18px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #182033; background: linear-gradient(105deg, #f28a18 0%, #ffad24 48%, #f2c94c 100%); box-shadow: 0 18px 38px rgba(242,138,24,.27); }
.text-link { padding: 14px 0; color: var(--blue-dark); font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 1px solid #9ec5e4; }
.text-link span { margin-left: 18px; }
.hero-visual { position: relative; z-index: 2; width: min(560px, 110%); margin: 0 -30px 0 0; justify-self: end; }
.hero-visual::before { content: ""; position: absolute; inset: 12% 4% 8% 8%; z-index: -1; background: rgba(255,255,255,.68); border: 1px solid rgba(37,99,235,.13); border-radius: 32px; box-shadow: var(--shadow); transform: rotate(3deg); }
.hero-visual img { display: block; width: 100%; height: auto; border-radius: 26px; mix-blend-mode: multiply; }
.scroll-mark { position: absolute; z-index: 3; right: 40px; bottom: 80px; margin: 0; color: #80a5c1; font: 600 9px Inter,sans-serif; letter-spacing: .2em; transform: rotate(90deg); }

.section { padding: 120px 0; }
.container { width: min(1120px, calc(100% - 48px)); margin: auto; }
.label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 7px 13px;
  color: var(--blue-dark);
  background: var(--sky);
  border: 1px solid rgba(6,182,212,.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.label::before { content: ""; width: 7px; height: 7px; background: var(--cyan); border-radius: 50%; }
.label-light { color: var(--blue-dark); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.section h2 { margin-bottom: 0; color: var(--navy); font-size: clamp(34px,4vw,57px); line-height: 1.45; letter-spacing: -.045em; }
.problem { background: var(--white); }
.problem h2 mark { padding: 0 .08em; color: var(--blue); background: linear-gradient(transparent 58%, #d9f4ff 58%); }
.body-copy { padding-top: 50px; font-size: 16px; }
.body-copy p { margin-bottom: 25px; }
.strong-copy { padding: 20px 22px; color: var(--blue-dark); background: var(--sky-2); border-left: 4px solid var(--cyan); border-radius: 0 12px 12px 0; font-size: 20px; font-weight: 800; line-height: 1.8; }

.philosophy { position: relative; color: var(--text); background: linear-gradient(135deg, #edf8ff, #f9fdff); overflow: hidden; }
.philosophy::after { content: "FACT"; position: absolute; right: -30px; bottom: -90px; color: rgba(37,99,235,.045); font: 900 310px Inter,sans-serif; letter-spacing: -.1em; }
.philosophy-inner { position: relative; z-index: 1; }
.statement-index { position: absolute; right: 0; top: 0; color: #8ba6ba; font: 600 11px Inter,sans-serif; letter-spacing: .2em; }
.philosophy h2 { color: var(--navy); font-size: clamp(50px,7.5vw,104px); line-height: 1.25; }
.philosophy h2 span { color: #9fb5c7; text-decoration: line-through; text-decoration-thickness: 3px; }
.philosophy-copy { width: min(550px,100%); margin: 55px 0 0 auto; color: #4d6478; font-size: 17px; }
.philosophy-copy p:last-child { color: var(--blue-dark); font-weight: 800; }

.infrastructure { background: var(--white); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 58px; }
.section-heading > p { max-width: 380px; margin: 0; color: var(--muted); font-size: 14px; }
.infra-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.infra-card { min-height: 480px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 45px rgba(15,23,42,.06); display: flex; flex-direction: column; }
.card-top { display: flex; justify-content: space-between; color: #7890a7; font: 700 11px Inter,sans-serif; letter-spacing: .12em; }
.live-dot { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 0 5px rgba(6,182,212,.13); }
.infra-visual { height: 205px; margin: 22px -6px 28px; overflow: hidden; border-radius: 16px; background: var(--sky-2); }
.infra-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.infra-card h3 { margin: auto 0 14px; color: var(--navy); font-size: 28px; line-height: 1.45; }
.infra-card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-dark { color: var(--text); background: linear-gradient(160deg,#f1f8ff,#e4f4ff); border-color: #cce7f7; }
.card-dark p { color: var(--muted); }

.plans { background: var(--sky-2); }
.plans-heading > p { max-width: 430px; }
.plan-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; border: 0; }
.plan-row { display: flex; min-height: 520px; flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 45px rgba(15,23,42,.06); transition: .2s; overflow: hidden; }
.plan-row:hover { padding: 28px; transform: translateY(-5px); border-color: #91cbe9; box-shadow: var(--shadow); }
.plan-number { display: grid; place-items:center; width: 46px; height: 46px; color: #fff; border-radius: 50%; font: 700 12px Inter,sans-serif; box-shadow: 0 10px 24px rgba(15,23,42,.14); }
.plan-scan .plan-number { background: linear-gradient(135deg, #75e6f4, #299de8); }
.plan-build .plan-number { background: linear-gradient(135deg, #234f87, #071a33); }
.plan-core .plan-number { background: linear-gradient(135deg, #4a4a4a, #050505); }
.plan-title { width: 100%; padding: 14px 16px; border-radius: 13px; }
.plan-row .plan-title p { margin: 0 0 4px; font-size: 12px; font-weight: 700; }
.plan-row h3 { margin: 0; font: 800 30px Inter,sans-serif; letter-spacing: -.04em; }
.plan-scan .plan-title { background: linear-gradient(120deg,#effcff,#dff4ff); }
.plan-scan .plan-title p { color: #287fae; }
.plan-scan h3 { color: #1586cc; background: linear-gradient(90deg,#19bdd1,#176bea); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.plan-build .plan-title { background: linear-gradient(120deg,#edf4fb,#dbe8f5); }
.plan-build .plan-title p { color: #466783; }
.plan-build h3 { color: #173b70; background: linear-gradient(90deg,#315f91,#071a33); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.plan-core .plan-title { background: linear-gradient(120deg,#30343a,#080808); }
.plan-core .plan-title p { color: #c6b17a; }
.plan-core h3 { color: #fff; background: linear-gradient(90deg,#ffffff,#9c9c9c); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.plan-visual { width: calc(100% + 56px); height: 180px; margin: 0 -28px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f8fbff; }
.plan-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plan-scan .plan-visual img { object-position: center 30%; }
.plan-build .plan-visual img { object-position: 66% center; }
.plan-core .plan-visual { background: #151515; border-color: #30343a; }
.plan-core .plan-visual img { object-position: 70% center; }
.plan-visual-copy { position: relative; }
.plan-visual-copy::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(3,14,34,.98) 0%,rgba(5,19,43,.88) 43%,rgba(5,19,43,.18) 72%,transparent 100%); }
.plan-core .plan-visual-copy::after { background: linear-gradient(90deg,rgba(4,4,4,.98) 0%,rgba(5,5,5,.86) 43%,rgba(5,5,5,.12) 74%,transparent 100%); }
.plan-visual-copy figcaption { position: absolute; z-index: 2; top: 50%; left: 20px; width: 58%; color: #fff; transform: translateY(-50%); }
.plan-visual-copy figcaption small { display: block; margin-bottom: 7px; color: #f2c94c; font: 700 8px Inter,sans-serif; letter-spacing: .15em; }
.plan-visual-copy figcaption strong { display: block; font-size: 15px; line-height: 1.52; letter-spacing: -.03em; }
.plan-visual-copy figcaption span { display: block; margin-top: 7px; color: rgba(255,255,255,.74); font-size: 9px; font-weight: 700; }
.plan-core .plan-visual-copy figcaption strong { font-size: 19px; line-height: 1.45; }
.plan-row > p { margin: 0; color: #52677b; font-size: 14px; }
.service-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; padding: 14px 18px; color: #182033; background: linear-gradient(105deg,#f28a18,#ffad24 48%,#f2c94c); border-radius: 999px; box-shadow: 0 12px 28px rgba(242,138,24,.2); font-size: 13px; font-weight: 800; text-decoration: none; transition: .2s; }
.service-button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(242,138,24,.28); }
.service-button span { font-size: 18px; }

.results { color: var(--text); background: linear-gradient(180deg,#fff,#edf8ff); }
.results-title { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 60px; }
.results-title p { margin-bottom: 12px; color: var(--muted); }
.result-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.result-grid article { position: relative; padding: 38px 28px 35px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 18px 45px rgba(15,23,42,.06); }
.result-grid article > p { height: 42px; color: #7890a7; font: 700 11px Inter,sans-serif; letter-spacing: .14em; }
.result-grid strong { display: block; color: var(--blue); font: 700 clamp(51px,6vw,76px)/1 Inter,sans-serif; letter-spacing: -.07em; }
.result-grid small { color: var(--cyan); font-size: 22px; }
.result-grid h3 { margin: 8px 0 40px; color: #8aa0b2; font: 600 13px Inter,sans-serif; letter-spacing: .15em; }
.result-grid span { color: var(--blue-dark); font-size: 14px; font-weight: 700; }

.final-cta { color: #fff; text-align: center; background: radial-gradient(circle at 15% 20%,rgba(6,182,212,.25),transparent 30%),linear-gradient(135deg,#0b2341,#174f85); }
.cta-inner { max-width: 900px; }
.final-cta .label { justify-content: center; color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.final-cta h2 { color: #fff; }
.final-cta h2 span { color: #8ce8ff; }
.final-cta > div > p:not(.label) { max-width: 700px; margin: 30px auto; color: rgba(255,255,255,.78); }
.cta-actions { display: flex; justify-content: center; gap: 12px; margin-top: 42px; }
.button-outline { color: #182033; border-color: rgba(242,138,24,.25); background: linear-gradient(105deg, #f28a18 0%, #ffad24 48%, #f2c94c 100%); box-shadow: 0 18px 38px rgba(242,138,24,.22); }
.google-contact-form { width: min(760px,100%); margin: 42px auto 0; padding: 30px; text-align: left; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 22px; backdrop-filter: blur(10px); }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.google-contact-form label { display: grid; gap: 8px; color: rgba(255,255,255,.9); font-size: 13px; font-weight: 700; }
.google-contact-form label span { color: #f2c94c; }
.google-contact-form input, .google-contact-form textarea { width: 100%; padding: 14px 15px; color: var(--navy); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.42); border-radius: 12px; font: inherit; }
.google-contact-form textarea { resize: vertical; }
.form-wide { grid-column: 1/-1; }
.google-form-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 18px; padding: 17px 22px; color: #182033; background: linear-gradient(105deg,#f28a18,#ffad24 48%,#f2c94c); border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 900; box-shadow: 0 16px 34px rgba(242,138,24,.25); }
.google-form-button:disabled, .google-form-submit:disabled, .form-button:disabled { opacity: .65; cursor: wait; }
.google-form-status { min-height: 1.7em; margin: 14px 0 0; color: #fff; font-size: 13px; text-align: center; }
.google-form-frame { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; }
footer { min-height: 240px; padding: 48px clamp(24px,5vw,80px) 30px; display: grid; grid-template-columns: 1fr auto; gap: 30px 80px; align-items: start; color: var(--text); background: #f7fbff; border-top: 1px solid var(--line); }
.footer-brand p { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
footer > small { grid-column: 1 / -1; padding-top: 20px; color: #8ba0b2; border-top: 1px solid var(--line); font: 500 10px Inter,sans-serif; }
.footer-logo img { width: 230px; }
.footer-services { display: grid; grid-template-columns: repeat(3,auto); gap: 10px 28px; }
.footer-services p { grid-column: 1 / -1; margin: 0 0 5px; color: #8aa0b2; font: 700 10px Inter,sans-serif; letter-spacing: .16em; }
.footer-services a { display: flex; align-items: center; gap: 8px; color: var(--navy); font: 800 13px Inter,sans-serif; text-decoration: none; }
.footer-services a:hover { color: var(--blue); }
.footer-services span { color: var(--cyan); font-size: 9px; }

@media (max-width: 800px) {
  .site-header { height: 72px; padding: 0 20px; }
  .logo img { width: 145px; }
  .header-nav > a:not(.header-cta) { display: none; }
  .header-nav { gap: 10px; }
  .service-menu > button { padding: 9px 6px; font-size: 11px; }
  .service-menu-panel { position: fixed; top: 66px; left: 12px; width: calc(100% - 24px); transform: translateY(-6px); }
  .service-menu:hover .service-menu-panel, .service-menu:focus-within .service-menu-panel { transform: translateY(0); }
  .header-cta { font-size: 11px; }
  .hero { min-height: 790px; }
  .hero-inner { min-height: 790px; width: calc(100% - 40px); grid-template-columns: 1fr; padding-top: 100px; align-items: start; }
  .hero h1 { font-size: 42px; }
  .hero-lead { font-size: 14px; line-height: 1.9; }
  .hero-actions { display: block; margin-top: 30px; }
  .hero-actions .button { width: 100%; }
  .text-link { display: inline-flex; margin-top: 14px; }
  .hero-visual { position: absolute; right: -65px; bottom: -15px; width: 390px; margin: 0; opacity: .72; }
  .hero-visual::before { display: none; }
  .scroll-mark { display: none; }
  .section { padding: 86px 0; }
  .container { width: calc(100% - 40px); }
  .split-layout { grid-template-columns: 1fr; gap: 30px; }
  .section h2 { font-size: 35px; }
  .body-copy { padding-top: 0; }
  .strong-copy { font-size: 17px; }
  .statement-index { display: none; }
  .philosophy h2 { font-size: 52px; }
  .philosophy-copy { margin-top: 45px; font-size: 15px; }
  .philosophy::after { font-size: 160px; bottom: -40px; }
  .section-heading, .results-title { display: block; }
  .section-heading > p, .results-title p { margin-top: 26px; }
  .infra-grid, .plan-list, .result-grid { grid-template-columns: 1fr; }
  .infra-card { min-height: 420px; }
  .infra-visual { height: 220px; }
  .plan-row { min-height: 500px; }
  .plan-visual { height: 220px; }
  .cta-actions { display: grid; }
  .cta-actions .button { width: 100%; }
  .google-contact-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: 1; }
  footer { grid-template-columns: 1fr; gap: 32px; }
  .footer-services { grid-template-columns: 1fr; gap: 14px; }
  .footer-services p { grid-column: 1; }
  footer > small { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .plan-row { transition: none; }
}

@media (max-width: 480px) {
  .header-cta { display: none; }
  .service-menu > button { padding-right: 0; }
}
