:root { --ink:#14253a; --muted:#5d7187; --line:rgba(20,37,58,.11); --blue:#2f73cf; --blue-dark:#1e5eb7; --paper:#f6f8fb; --white:#fff; --shadow:0 24px 70px rgba(36,64,96,.14); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",sans-serif; line-height:1.8; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }
.site-header { position:sticky; z-index:20; top:0; display:flex; align-items:center; justify-content:space-between; height:68px; padding:0 max(20px,calc((100% - 1120px)/2)); border-bottom:1px solid rgba(255,255,255,.65); background:rgba(246,248,251,.82); backdrop-filter:blur(20px); }
.brand { display:inline-flex; align-items:center; gap:10px; font-size:20px; font-weight:750; letter-spacing:.02em; }
.brand img { width:30px; height:auto; }
.site-header .brand span,.footer-brand span { font-family:"Yu Mincho","Hiragino Mincho ProN","Hiragino Mincho Pro",serif; font-weight:600; letter-spacing:.08em; }
nav { display:flex; gap:28px; color:var(--muted); font-size:14px; }
nav a:hover { color:var(--ink); }
.menu-toggle { display:none; }
.hero { position:relative; display:flex; min-height:712px; padding:112px max(20px,calc((100% - 1120px)/2)); flex-direction:column; justify-content:center; overflow:hidden; background:radial-gradient(circle at 78% 28%,rgba(64,134,224,.18),transparent 28%),radial-gradient(circle at 18% 10%,rgba(255,255,255,.95),transparent 30%),linear-gradient(145deg,#edf3f9 0%,#f9fafc 48%,#eaf2fa 100%); }
.hero::after { content:""; position:absolute; inset:0; opacity:.25; pointer-events:none; background-image:linear-gradient(rgba(255,255,255,.8) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.8) 1px,transparent 1px); background-size:72px 72px; mask-image:linear-gradient(to bottom,black,transparent 72%); }
.hero > * { position:relative; z-index:1; }
.eyebrow,.section-label,.work-meta { font-size:13px; font-weight:750; letter-spacing:.16em; text-transform:uppercase; }
.eyebrow { margin:0 0 18px; color:var(--blue-dark); }
h1 { max-width:820px; margin:0; font-size:clamp(48px,6vw,78px); line-height:1.15; letter-spacing:-.045em; }
.hero-copy { max-width:650px; margin:28px 0; color:var(--muted); font-size:clamp(18px,2vw,22px); line-height:1.9; }
.text-link { display:inline-flex; width:fit-content; align-items:center; gap:14px; padding:11px 17px; border:1px solid var(--line); border-radius:999px; color:var(--blue-dark); background:rgba(255,255,255,.72); font-size:13px; font-weight:700; }
.text-link span { transition:transform .2s; }
.text-link:hover span { transform:translate(2px,2px); }
.hero-mark { position:absolute; right:max(1vw,calc((100% - 1240px)/2)); display:grid; width:min(39vw,500px); place-items:center; filter:drop-shadow(0 28px 42px rgba(22,58,103,.17)); transform:translateY(10px); }
.hero-mark::before { content:""; position:absolute; z-index:-1; width:82%; aspect-ratio:1; border-radius:50%; background:rgba(255,255,255,.56); filter:blur(12px); }
.hero-mark img { display:block; width:100%; height:auto; }
.section { padding:112px max(20px,calc((100% - 1120px)/2)); scroll-margin-top:68px; }
.section-heading { max-width:760px; margin-bottom:54px; }
.section-label { margin:0 0 16px; color:var(--blue-dark); }
h2 { margin:0; font-size:clamp(34px,4.3vw,54px); line-height:1.25; letter-spacing:-.035em; }
.section-heading > p:last-child { margin:20px 0 0; color:var(--muted); font-size:18px; line-height:1.9; }
.service-list { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.service-list article { min-height:270px; padding:28px; border:1px solid var(--line); border-radius:24px; background:var(--white); box-shadow:0 12px 36px rgba(40,66,96,.06); }
.service-icon { display:grid; width:48px; height:48px; margin:0 0 24px; place-items:center; border-radius:14px; color:var(--blue-dark); background:#eaf2fd; }
.service-icon svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.service-list h3 { margin:0 0 10px; font-size:20px; }
.service-list p:last-child { margin:0; color:var(--muted); font-size:15px; line-height:1.75; }
.works { color:white; background:#101c2b; overflow:hidden; }
.light-heading .section-label,.work-meta { color:#79b2ff; }
.work-card { display:grid; grid-template-columns:1.15fr 1fr; gap:clamp(40px,7vw,90px); align-items:center; }
.work-visual { display:grid; min-height:500px; place-items:center; overflow:hidden; border-radius:28px; background:linear-gradient(145deg,#edf3f9,#d7e7f8); }
.app-icon { display:block; width:min(46%,250px); height:auto; border-radius:22.5%; box-shadow:0 30px 55px rgba(0,0,0,.28); transform:rotate(2deg); transition:transform .35s ease; }
.work-card:hover .app-icon { transform:translateY(-5px) rotate(0); }
.work-copy h3 { margin:12px 0 18px; font-size:clamp(43px,5vw,70px); letter-spacing:-.04em; }
.work-copy > p:not(.work-meta) { max-width:420px; color:#aab9ca; }
.light-link { margin-top:28px; color:white; border-color:rgba(255,255,255,.18); background:rgba(255,255,255,.08); }
.about-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:80px; align-items:start; }
.about-lead { margin:0; font-size:clamp(36px,4vw,52px); font-weight:750; line-height:1.45; letter-spacing:-.035em; }
.about-copy > p { margin-top:0; color:var(--muted); font-size:18px; }
dl { margin-top:40px; padding:24px; border:1px solid var(--line); border-radius:18px; background:white; }
dl div { display:grid; grid-template-columns:110px 1fr; padding:12px 0; font-size:14px; }
dt { color:var(--muted); }
dd { margin:0; }
footer { padding:84px max(20px,calc((100% - 1120px)/2)) 44px; color:white; background:linear-gradient(135deg,#234d86,#2f73cf 62%,#4a91e9); }
.footer-message { margin:0 0 80px; font-size:clamp(44px,6vw,72px); font-weight:750; line-height:1.3; letter-spacing:-.045em; }
.footer-bottom { display:flex; align-items:end; justify-content:space-between; padding-top:24px; border-top:1px solid rgba(255,255,255,.25); }
.footer-brand img { padding:3px; border-radius:5px; background:white; }
.footer-bottom p { margin:0; color:rgba(255,255,255,.68); font-size:11px; letter-spacing:.12em; }
@media (max-width:760px) {
  .site-header { height:60px; padding:0 14px; }
  .brand { gap:8px; font-size:17px; }
  .brand img { width:26px; }
  .menu-toggle { position:relative; z-index:2; display:grid; width:42px; height:42px; padding:10px; border:0; place-content:center; gap:5px; color:var(--ink); background:transparent; }
  .menu-toggle span { display:block; width:22px; height:1.5px; border-radius:999px; background:currentColor; transition:transform .2s,opacity .2s; }
  .menu-open .menu-toggle span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity:0; }
  .menu-open .menu-toggle span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }
  nav { position:absolute; top:60px; right:0; left:0; display:grid; gap:0; padding:8px 14px 16px; border-bottom:1px solid var(--line); background:rgba(246,248,251,.97); box-shadow:0 18px 30px rgba(36,64,96,.1); opacity:0; visibility:hidden; transform:translateY(-8px); transition:opacity .2s,transform .2s,visibility .2s; }
  nav a { padding:12px 10px; border-radius:10px; font-size:15px; font-weight:700; }
  nav a:hover { background:white; }
  .menu-open nav { opacity:1; visibility:visible; transform:none; }
  .hero { min-height:690px; padding:76px 24px 70px; justify-content:flex-start; text-align:center; }
  h1 { font-size:clamp(43px,12vw,58px); }
  .hero-copy { font-size:17px; line-height:1.75; }
  .desktop-only { display:none; }
  .text-link { margin-inline:auto; }
  .hero-mark { position:relative; right:auto; width:min(72%,240px); margin:46px auto 0; filter:drop-shadow(0 22px 30px rgba(22,58,103,.16)); transform:none; }
  .section { padding:78px 14px; scroll-margin-top:60px; }
  .section-heading { margin-bottom:34px; }
  .section-heading > p:last-child { font-size:16px; }
  .service-list { grid-template-columns:1fr; }
  .service-list article { min-height:0; }
  .work-card { grid-template-columns:1fr; gap:42px; }
  .work-visual { min-height:390px; border-radius:24px; }
  .app-icon { width:48%; }
  .about-grid { grid-template-columns:1fr; gap:30px; }
  .about-copy > p { font-size:16px; }
  footer { padding:64px 20px 32px; }
  .footer-bottom { align-items:flex-start; flex-direction:column; gap:30px; }
  .footer-message { margin-bottom:60px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition-duration:.01ms !important; } }
