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

:root {
  --navy: #061a33;
  --navy-2: #0a274f;
  --blue: #1167e8;
  --sky: #eaf3ff;
  --ice: #f5f8fc;
  --text: #101b2b;
  --muted: #5e6d7f;
  --line: #dce4ed;
  --white: #fff;
  --shadow: 0 24px 70px rgba(7, 31, 65, .12);
  --radius: 18px;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: hidden; background: var(--white); color: var(--text); font-family: "Noto Sans JP", sans-serif; line-height: 1.85; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-180%); padding: 10px 16px; background: var(--navy); color: #fff; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #5ba1ff; outline-offset: 4px; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 86px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding: 0 clamp(24px, 4vw, 68px); border-bottom: 1px solid rgba(16, 42, 73, .08); background: rgba(255, 255, 255, .92); backdrop-filter: blur(18px); transition: box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(6, 26, 51, .08); background: rgba(255,255,255,.97); }
.logo { display: inline-flex; flex-direction: column; width: max-content; line-height: 1; }
.logo b { font-family: "Manrope", sans-serif; font-size: 20px; letter-spacing: .055em; font-weight: 800; }
.logo small { margin-top: 7px; font-family: "Manrope", sans-serif; font-size: 7px; letter-spacing: .19em; font-weight: 700; }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 2.25vw, 38px); }
.site-header nav a, .site-footer nav a { position: relative; font-family: "Manrope", sans-serif; font-size: 10px; letter-spacing: .1em; font-weight: 800; }
.site-header nav a::after { position: absolute; content: ""; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--blue); transition: right .25s ease; }
.site-header nav a:hover::after, .site-header nav a.active::after { right: 0; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 152px; padding: 12px 17px; border: 1px solid var(--navy); font-size: 11px; font-weight: 700; transition: background .25s ease, color .25s ease; }
.header-cta:hover { background: var(--navy); color: #fff; }
.menu { display: none; }

.section { padding: clamp(90px, 10vw, 150px) clamp(24px, 6vw, 88px); }
.section > * { max-width: var(--max); margin-right: auto; margin-left: auto; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--blue); font-family: "Manrope", sans-serif; font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.eyebrow > span { width: 28px; height: 2px; background: currentColor; }
.eyebrow.light { color: #78b3ff; }
.section-heading { max-width: 760px; margin-bottom: 55px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading.align-left { margin-left: 0; text-align: left; }
.section-heading.align-left .eyebrow { justify-content: flex-start; }
.section-heading h2, .strength-intro h2 { margin: 0 0 20px; font-size: clamp(29px, 3.15vw, 46px); line-height: 1.55; letter-spacing: .015em; }
.section-heading > p:last-child, .strength-intro > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }

.hero { position: relative; min-height: min(820px, 100svh); padding-top: 86px; display: grid; grid-template-columns: minmax(0, 49%) minmax(0, 51%); background: linear-gradient(135deg, #fff 0%, #fff 62%, #eef5ff 100%); }
.hero-copy { position: relative; z-index: 2; align-self: center; padding: 65px clamp(28px, 4.6vw, 80px) 95px clamp(28px, 6vw, 100px); }
.hero h1 { margin: 0 0 28px; font-size: clamp(42px, 4.9vw, 72px); line-height: 1.28; letter-spacing: -.015em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 650px; margin: 0; color: #405066; font-size: clamp(12px, 1.05vw, 14px); font-weight: 500; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; min-width: 210px; padding: 15px 20px; font-size: 12px; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button.primary { background: var(--navy); color: #fff; box-shadow: 0 14px 28px rgba(6, 26, 51, .18); }
.button:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(6, 26, 51, .24); background: var(--blue); }
.text-link { display: inline-flex; align-items: center; gap: 18px; border-bottom: 1px solid #a6b2c2; padding: 8px 0; font-size: 12px; font-weight: 700; }
.hero-visual { position: relative; min-height: 620px; margin: 34px 34px 34px 0; overflow: hidden; background: #dce8f6; }
.hero-image { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 18, 39, .08), rgba(3, 18, 39, 0)), url("assets/hq/hero-hq.png") center / cover no-repeat; transition: transform 1.2s ease; }
.hero-visual:hover .hero-image { transform: scale(1.025); }
.hero-panel { position: absolute; right: 0; bottom: 0; width: min(345px, 62%); padding: 25px 28px 24px; background: rgba(5, 25, 51, .93); color: #fff; backdrop-filter: blur(8px); }
.hero-panel > p { margin: 0 0 14px; color: #8abaff; font-family: "Manrope", sans-serif; font-size: 8px; letter-spacing: .18em; font-weight: 800; }
.hero-panel ol { list-style: none; display: grid; gap: 9px; margin: 0; padding: 0; }
.hero-panel li { display: grid; grid-template-columns: 35px 1fr; gap: 12px; align-items: center; font-family: "Manrope", sans-serif; font-size: 11px; letter-spacing: .13em; font-weight: 700; }
.hero-panel b { color: #6aa8ff; font-size: 9px; }
.scroll { position: absolute; bottom: 28px; left: clamp(28px, 6vw, 100px); display: flex; align-items: center; gap: 13px; font-family: "Manrope", sans-serif; font-size: 8px; letter-spacing: .18em; font-weight: 800; }
.scroll i { position: relative; display: block; width: 44px; height: 1px; overflow: hidden; background: #bcc7d4; }
.scroll i::after { position: absolute; content: ""; inset: 0; background: var(--blue); transform: translateX(-100%); animation: scroll-line 2.2s ease-in-out infinite; }
@keyframes scroll-line { 0% { transform: translateX(-100%); } 50%, 100% { transform: translateX(100%); } }

.platforms { min-height: 72px; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 50px); padding: 18px 24px; background: var(--navy); color: #fff; }
.platforms span { font-family: "Manrope", sans-serif; font-size: clamp(10px, 1vw, 13px); letter-spacing: .05em; font-weight: 700; }
.platforms i { width: 4px; height: 4px; border-radius: 50%; background: #5d9ff9; }

.about { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(55px, 7vw, 105px); align-items: center; }
.about-image { position: relative; padding-bottom: 55px; }
.about-image img { height: clamp(370px, 38vw, 540px); object-fit: cover; }
.about-image::before { position: absolute; z-index: -1; content: ""; inset: 36px -28px 20px 28px; background: var(--sky); }
.about-image > p { position: absolute; right: 28px; bottom: 5px; margin: 0; color: var(--navy); font-family: "Manrope", sans-serif; font-size: clamp(20px, 2.3vw, 34px); line-height: 1.25; letter-spacing: .04em; }
.body-copy { margin: 0; color: var(--muted); font-size: 13px; }
.about-points { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-points li { display: flex; gap: 13px; padding: 19px 12px; border-right: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.7; }
.about-points li:last-child { border-right: 0; }
.about-points b { color: var(--blue); font-family: "Manrope", sans-serif; font-size: 9px; }
.about-points strong { color: var(--text); font-size: 11px; }

.service-section { background: var(--ice); }
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.service-card { grid-column: span 2; overflow: hidden; border: 1px solid #e2e9f1; background: #fff; transition: transform .3s ease, box-shadow .3s ease; }
.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.card-image { position: relative; overflow: hidden; }
.card-image img { height: 210px; object-fit: cover; object-position: center; transition: transform .65s ease; }
.service-card:hover .card-image img { transform: scale(1.04); }
.card-image b { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 54px; height: 54px; background: var(--blue); color: #fff; font-family: "Manrope", sans-serif; font-size: 12px; }
.card-content { min-height: 230px; padding: 28px 26px 31px; }
.card-content > p { margin: 0 0 9px; color: var(--blue); font-family: "Manrope", sans-serif; font-size: 8px; letter-spacing: .14em; font-weight: 800; }
.card-content h3 { min-height: 52px; margin: 0 0 15px; font-size: 17px; line-height: 1.55; }
.card-content span { color: var(--muted); font-size: 11px; }

.strength-section { position: relative; display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.45fr); gap: clamp(55px, 7vw, 115px); padding: clamp(90px, 10vw, 145px) max(24px, calc((100vw - var(--max)) / 2)); overflow: hidden; background: radial-gradient(circle at 88% 5%, #174f92 0, #0b2b55 26%, var(--navy) 63%); color: #fff; }
.strength-section::after { position: absolute; content: ""; width: 630px; height: 630px; right: -260px; bottom: -440px; border: 1px solid rgba(102, 168, 255, .22); border-radius: 50%; box-shadow: 0 0 0 80px rgba(63, 130, 219, .045), 0 0 0 160px rgba(63, 130, 219, .035); }
.strength-intro { position: relative; z-index: 1; align-self: center; }
.strength-intro > p:last-child { color: #b8c9dd; }
.strengths { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.strengths article { min-height: 245px; padding: 32px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.strengths b { display: block; margin-bottom: 30px; color: #75adf5; font-family: "Manrope", sans-serif; font-size: 11px; }
.strengths h3 { margin: 0 0 14px; font-size: 17px; line-height: 1.65; }
.strengths p { margin: 0; color: #b8c9dd; font-size: 11px; }

.flow-section { background: #fff; }
.flow { position: relative; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 15px; padding: 0; }
.flow::before { position: absolute; content: ""; top: 29px; right: 9%; left: 9%; height: 1px; background: var(--line); }
.flow li { position: relative; z-index: 1; padding: 0 18px; text-align: center; }
.flow li > b { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 25px; border: 1px solid #cbd8e8; border-radius: 50%; background: #fff; color: var(--blue); font-family: "Manrope", sans-serif; font-size: 11px; box-shadow: 0 0 0 9px #fff; }
.flow h3 { min-height: 48px; margin: 0 0 13px; font-size: 14px; line-height: 1.6; }
.flow p { margin: 0; color: var(--muted); font-size: 10px; }

.works-section { background: linear-gradient(180deg, #f4f8fd 0%, #fff 100%); }
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.work-card { position: relative; min-height: 320px; overflow: hidden; background: var(--navy); color: #fff; }
.work-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; opacity: .66; transition: transform .7s ease, opacity .4s ease; }
.work-card:nth-child(1) img { object-position: 50% 50%; }
.work-card:nth-child(4) img { object-position: 50% 42%; }
.work-card::after { position: absolute; content: ""; inset: 0; background: linear-gradient(180deg, rgba(5,23,47,.04) 12%, rgba(5,23,47,.88) 100%); }
.work-card:hover img { transform: scale(1.045); opacity: .78; }
.work-card > div { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 38px; }
.work-card b { color: #8fc0ff; font-family: "Manrope", sans-serif; font-size: 8px; letter-spacing: .14em; }
.work-card h3 { margin: 8px 0 10px; font-size: 19px; }
.work-card p { max-width: 550px; margin: 0; color: #dbe7f6; font-size: 11px; }

.company-section { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(55px, 7vw, 110px); align-items: stretch; }
.company-section > * { max-width: none; margin: 0; }
.company-image { position: relative; min-height: 470px; overflow: hidden; }
.company-image img { height: 100%; object-fit: cover; }
.company-image::after { position: absolute; content: ""; inset: 0; background: linear-gradient(180deg, rgba(4,21,44,0), rgba(4,21,44,.24)); }
.company-copy { align-self: center; }
.company-copy .section-heading { margin-bottom: 34px; }
.company-info { margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.company-info > div { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 25px; padding: 19px 7px; border-bottom: 1px solid var(--line); font-size: 12px; }
.company-info dt { color: var(--navy); font-weight: 800; }
.company-info dd { margin: 0; color: #4e5d70; overflow-wrap: anywhere; }

.site-footer { padding: 64px max(24px, calc((100vw - var(--max)) / 2)) 22px; background: var(--navy); color: #fff; }
.footer-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,.17); }
.footer-logo b { font-size: 27px; }
.footer-logo small { color: #94b3da; }
.footer-main > p { max-width: 510px; margin: 0; color: #b7c8db; font-size: 11px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 28px; padding: 34px 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: #8ca1ba; font-family: "Manrope", sans-serif; font-size: 9px; letter-spacing: .08em; }
.footer-bottom a { color: #fff; font-weight: 700; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { position: fixed; inset: 86px 0 auto; display: none; height: calc(100svh - 86px); align-items: flex-start; flex-direction: column; gap: 0; padding: 34px 28px; background: rgba(255,255,255,.985); }
  .site-header nav.open { display: flex; }
  .site-header nav a { width: 100%; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .site-header nav a::after { display: none; }
  .header-cta { display: none; }
  .menu { justify-self: end; display: grid; gap: 5px; width: 44px; height: 44px; padding: 12px 9px; border: 0; background: transparent; cursor: pointer; }
  .menu span { display: block; width: 25px; height: 2px; background: var(--navy); transition: transform .25s ease, opacity .25s ease; }
  .menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding-top: 90px; padding-bottom: 55px; }
  .hero-visual { min-height: 560px; margin: 0 28px 78px; }
  .scroll { display: none; }
  .about { grid-template-columns: 1fr; }
  .about-image { max-width: 780px; }
  .strength-section { grid-template-columns: 1fr; padding-right: clamp(24px, 6vw, 88px); padding-left: clamp(24px, 6vw, 88px); }
  .strength-intro { max-width: 720px; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { top: 0; right: auto; bottom: 0; left: 29px; width: 1px; height: auto; }
  .flow li { display: grid; grid-template-columns: 58px 1fr; gap: 28px; padding: 0 0 40px; text-align: left; }
  .flow li > b { margin: 0; }
  .flow h3 { min-height: 0; margin-top: 5px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .site-header { height: 72px; padding: 0 20px; }
  .site-header nav { top: 72px; height: calc(100svh - 72px); }
  .logo b { font-size: 17px; }
  .logo small { font-size: 6px; }
  .section { padding: 76px 22px; }
  .section-heading { margin-bottom: 38px; text-align: left; }
  .section-heading .eyebrow { justify-content: flex-start; }
  .section-heading h2, .strength-intro h2 { font-size: clamp(27px, 8vw, 35px); line-height: 1.48; }
  .hero { padding-top: 72px; }
  .hero-copy { padding: 65px 22px 45px; }
  .hero h1 { font-size: clamp(36px, 10.8vw, 50px); line-height: 1.28; }
  .hero-lead br { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; margin-top: 30px; }
  .button { width: 100%; }
  .hero-visual { min-height: 420px; margin: 0 0 0 22px; }
  .hero-panel { width: 75%; padding: 20px; }
  .platforms { justify-content: flex-start; gap: 16px; overflow: hidden; }
  .platforms span { flex: 0 0 auto; }
  .platforms i { flex: 0 0 4px; }
  .about { gap: 45px; }
  .about-image { padding-bottom: 42px; }
  .about-image img { height: 310px; }
  .about-image::before { inset: 20px -10px 16px 18px; }
  .about-image > p { right: 8px; font-size: 22px; }
  .about-points { grid-template-columns: 1fr; }
  .about-points li { border-right: 0; border-bottom: 1px solid var(--line); }
  .about-points li:last-child { border-bottom: 0; }
  .services { grid-template-columns: 1fr; gap: 18px; }
  .service-card, .service-card:nth-child(4) { grid-column: auto; }
  .card-image img { height: 220px; }
  .card-content { min-height: auto; padding: 24px 22px 27px; }
  .card-content h3 { min-height: 0; }
  .strength-section { padding: 76px 22px; }
  .strengths { grid-template-columns: 1fr; }
  .strengths article { min-height: 0; padding: 27px 24px; }
  .strengths b { margin-bottom: 18px; }
  .flow li { gap: 20px; }
  .works { grid-template-columns: 1fr; gap: 18px; }
  .work-card { min-height: 330px; }
  .work-card > div { padding: 26px 24px; }
  .company-section { grid-template-columns: 1fr; gap: 46px; }
  .company-image { min-height: 300px; }
  .company-info > div { grid-template-columns: 1fr; gap: 5px; padding: 16px 3px; }
  .site-footer { padding: 52px 22px 20px; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .site-footer nav a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
}

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