:root {
  --ink: #10262c;
  --deep: #0b2b33;
  --deep-2: #071d23;
  --cyan: #47b9d1;
  --cyan-light: #bce9f1;
  --paper: #f7f8f5;
  --white: #fff;
  --muted: #65757a;
  --line: rgba(16, 38, 44, .16);
  --side: clamp(22px, 5vw, 76px);
  --header: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(100%, 1280px); margin-inline: auto; padding-inline: var(--side); }
.skip-link { position: fixed; z-index: 999; left: 16px; top: 12px; padding: 12px 18px; background: var(--white); color: var(--deep); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #ffd34e; outline-offset: 4px; }
.sp-only { display: none; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header);
  padding: 0 var(--side);
  display: grid;
  grid-template-columns: minmax(255px, 1fr) auto auto;
  align-items: center;
  gap: clamp(20px, 3vw, 52px);
  color: var(--white);
  transition: background .35s ease, height .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled { height: 72px; background: rgba(7, 29, 35, .96); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; }
.brand__mark { width: 38px; height: 38px; fill: var(--cyan); }
.brand__text { display: grid; gap: 2px; line-height: 1; }
.brand__text b { font-size: 17px; letter-spacing: .13em; }
.brand__text small { font-size: 10px; letter-spacing: .16em; opacity: .78; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.desktop-nav a { position: relative; padding: 12px 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: 5px; width: 100%; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { min-height: 46px; padding: 0 20px; border: 1px solid rgba(255,255,255,.55); display: inline-flex; gap: 18px; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; transition: background .25s, color .25s; }
.header-cta:hover { background: var(--white); color: var(--deep); }
.menu-button { display: none; width: 48px; height: 48px; border: 0; color: inherit; background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 26px; height: 1px; margin: 7px auto; background: currentColor; transition: transform .3s; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { display: none; }

.hero { position: relative; min-height: 100svh; color: var(--white); background: var(--deep); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -3; background: url("assets/hero.jpg") center / cover no-repeat; animation: hero-in 1.6s cubic-bezier(.2,.7,.2,1) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(5,22,27,.88) 0%, rgba(5,22,27,.56) 42%, rgba(5,22,27,.12) 78%), linear-gradient(0deg, rgba(5,22,27,.64), transparent 50%); }
.hero__grid { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(255,255,255,.12) 50%, transparent calc(50% + .5px)), linear-gradient(90deg, transparent calc(25% - .5px), rgba(255,255,255,.08) 25%, transparent calc(25% + .5px), transparent calc(75% - .5px), rgba(255,255,255,.08) 75%, transparent calc(75% + .5px)); pointer-events: none; }
.hero__content { width: min(100%, 1280px); min-height: 100svh; margin: 0 auto; padding: clamp(160px, 21vh, 240px) var(--side) 140px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero__eyebrow { margin: 0 0 24px; color: var(--cyan-light); font-size: 12px; font-weight: 800; letter-spacing: .34em; }
.hero h1 { margin: 0; font-size: clamp(44px, 6.3vw, 94px); line-height: 1.15; letter-spacing: -.04em; text-shadow: 0 3px 24px rgba(0,0,0,.22); }
.hero__lead { margin: 28px 0 0; font-size: clamp(16px, 1.6vw, 23px); font-weight: 700; line-height: 1.9; letter-spacing: .08em; }
.button { min-height: 58px; margin-top: 38px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; border: 1px solid transparent; font-size: 14px; font-weight: 800; letter-spacing: .05em; transition: transform .25s ease, background .25s ease, color .25s ease; }
.button:hover { transform: translateY(-3px); }
.button--light { min-width: 242px; color: var(--deep); background: var(--white); }
.button--light:hover { color: var(--white); background: var(--cyan); }
.button--outline { color: var(--white); border-color: rgba(255,255,255,.5); }
.button--outline:hover { color: var(--deep); background: var(--white); }
.hero__bottom { position: absolute; left: var(--side); right: var(--side); bottom: 31px; display: flex; justify-content: space-between; align-items: center; font-size: 10px; font-weight: 800; letter-spacing: .22em; }
.hero__bottom a { padding: 12px 0; display: flex; gap: 16px; align-items: center; }

.news { color: var(--white); background: var(--deep); }
.news__inner { padding-top: 80px; padding-bottom: 90px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 16px 70px; }
.section-label p, .section-kicker { margin: 0 0 12px; font-size: 11px; font-weight: 900; letter-spacing: .26em; }
.section-label p { color: var(--cyan); }
.section-label h2 { margin: 0; font-size: 22px; }
.news__list { border-top: 1px solid rgba(255,255,255,.28); }
.news__list a { min-height: 82px; display: grid; grid-template-columns: 112px 88px minmax(0,1fr) 24px; gap: 20px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.18); transition: padding .25s, background .25s; }
.news__list a:hover { padding-inline: 15px; background: rgba(255,255,255,.06); }
.news__list time { color: var(--cyan-light); font-size: 12px; letter-spacing: .05em; }
.news__list strong { font-size: 14px; }
.tag { width: max-content; padding: 6px 9px; border: 1px solid rgba(255,255,255,.28); font-size: 10px; }
.news__list i { font-style: normal; color: var(--cyan); }
.text-link { grid-column: 2; justify-self: end; margin-top: 18px; display: inline-flex; gap: 30px; align-items: center; font-size: 12px; font-weight: 800; }

.pride { position: relative; min-height: 1120px; padding: 210px 0 190px; overflow: hidden; background: var(--white); }
.mega-type { position: absolute; top: 55px; right: -2vw; margin: 0; color: #e5f0f2; font-size: clamp(78px, 13vw, 210px); font-weight: 900; line-height: .72; letter-spacing: -.075em; text-align: right; white-space: nowrap; user-select: none; }
.pride__inner { position: relative; display: grid; grid-template-columns: minmax(300px, .82fr) minmax(480px, 1.18fr); gap: clamp(60px, 8vw, 130px); align-items: center; }
.section-kicker { color: #46747e; }
.section-kicker--cyan { color: var(--cyan); }
.pride h2, .business h2, .numbers h2, .company h2, .recruit h2, .contact h2 { margin: 0; font-size: clamp(36px, 4vw, 64px); line-height: 1.28; letter-spacing: -.04em; }
.pride__copy > p:not(.section-kicker) { margin: 28px 0 0; color: #43565b; font-size: 15px; line-height: 2.1; }
.line-link { margin-top: 42px; padding-bottom: 10px; display: flex; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 800; }
.pride__image { position: relative; margin: 0; transform: translateY(160px); }
.pride__image::before { content: ""; position: absolute; z-index: -1; inset: -35px 42% 42% -12vw; background: var(--cyan); }
.pride__image img { aspect-ratio: .9; object-fit: cover; }
.pride__image figcaption { position: absolute; right: -30px; bottom: 34px; padding: 14px 18px; color: var(--white); background: var(--deep); font-size: 10px; font-weight: 800; letter-spacing: .25em; }

.business { padding: 140px 0 170px; color: var(--white); background: var(--deep-2); overflow: hidden; }
.business__head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 80px; align-items: end; }
.business__head .section-kicker { grid-column: 1 / -1; }
.business__head > p:last-child { max-width: 520px; margin: 0 0 10px; color: #b8c7ca; line-height: 2; }
.service-list { width: min(100% - 36px, 1450px); margin: 110px auto 0; display: grid; gap: 110px; }
.service-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); align-items: center; }
.service-card--reverse { grid-template-columns: minmax(330px, .8fr) minmax(0, 1.2fr); }
.service-card--reverse .service-card__image { grid-column: 2; }
.service-card--reverse .service-card__content { grid-column: 1; grid-row: 1; justify-self: end; }
.service-card__image { overflow: hidden; clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); }
.service-card--reverse .service-card__image { clip-path: polygon(0 0, 94% 0, 100% 100%, 6% 100%); }
.service-card__image img { aspect-ratio: 1.75; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.service-card:hover .service-card__image img { transform: scale(1.035); }
.service-card__content { max-width: 520px; padding: 45px clamp(24px, 5vw, 80px); }
.service-card__number { margin: 0 0 50px; color: var(--cyan); font-size: 13px; font-weight: 900; }
.service-card__en { margin: 0 0 14px; color: #779097; font-size: 10px; font-weight: 900; letter-spacing: .24em; }
.service-card h3 { margin: 0; font-size: clamp(27px, 3vw, 42px); }
.service-card__content > p:last-child { margin: 25px 0 0; color: #b8c7ca; font-size: 14px; line-height: 2; }

.numbers { padding: 140px 0; background: #eaf1f1; }
.numbers__head { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.numbers__head .section-kicker { writing-mode: vertical-rl; order: 2; }
.numbers__grid { margin-top: 78px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers__grid article { min-height: 330px; padding: 52px clamp(24px, 4vw, 55px); border-right: 1px solid var(--line); }
.numbers__grid article:last-child { border-right: 0; }
.number { margin: 0; color: var(--deep); font-size: clamp(64px, 7vw, 104px); font-weight: 200; line-height: 1; letter-spacing: -.06em; }
.number small { margin-left: 9px; color: #547078; font-size: 16px; font-weight: 800; }
.numbers h3 { margin: 32px 0 0; font-size: 18px; }
.numbers article > p:last-child { margin: 13px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }

.company { min-height: 850px; display: grid; grid-template-columns: 1.15fr .85fr; color: var(--white); background: var(--deep); }
.company__visual { min-height: 670px; background: linear-gradient(rgba(7,29,35,.18), rgba(7,29,35,.4)), url("assets/hero.jpg") 67% center / cover no-repeat; }
.company__panel { padding: clamp(80px, 10vw, 150px) clamp(40px, 7vw, 110px); align-self: center; }
.company dl { margin: 55px 0 0; border-top: 1px solid rgba(255,255,255,.25); }
.company dl div { padding: 17px 0; display: grid; grid-template-columns: 105px 1fr; gap: 20px; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 13px; line-height: 1.8; }
.company dt { color: #9bb0b5; }
.company dd { margin: 0; }

.recruit { position: relative; min-height: 760px; display: grid; align-items: center; color: var(--white); background: var(--deep); isolation: isolate; }
.recruit__image { position: absolute; inset: 0; z-index: -2; background: url("assets/team.jpg") center 40% / cover no-repeat; }
.recruit::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,22,27,.92) 0%, rgba(5,22,27,.65) 50%, rgba(5,22,27,.15)); }
.recruit__content > p:not(.section-kicker) { margin: 30px 0 0; line-height: 2; }

.contact { padding: 135px 0; background: var(--white); }
.contact__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(55px, 9vw, 130px); align-items: start; }
.contact__inner > div:first-child > p:last-child { margin: 30px 0 0; color: var(--muted); font-size: 14px; line-height: 2; }
.contact__actions { display: grid; gap: 16px; }
.contact-card { min-height: 150px; padding: 27px 34px; display: flex; flex-direction: column; justify-content: center; color: var(--white); background: var(--deep); transition: transform .25s, background .25s; }
.contact-card:hover { transform: translateX(7px); background: #12424d; }
.contact-card span { color: var(--cyan-light); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.contact-card strong { margin-top: 7px; font-size: clamp(27px, 3vw, 40px); letter-spacing: .02em; }
.contact-card small { margin-top: 8px; color: #b9c8cb; }
.contact-card--mail { color: var(--deep); background: #d6edf1; }
.contact-card--mail:hover { color: var(--white); background: var(--cyan); }
.contact-card--mail span, .contact-card--mail small { color: inherit; opacity: .72; }

.site-footer { padding: 80px 0 25px; color: var(--white); background: var(--deep-2); }
.footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.brand--footer .brand__mark { width: 49px; height: 49px; }
.brand--footer .brand__text b { font-size: 20px; }
.footer__brand > p { margin: 25px 0 0 63px; color: #8ea4a9; font-size: 12px; letter-spacing: .1em; }
.footer__offices { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.footer__offices address { display: flex; flex-direction: column; gap: 8px; font-style: normal; font-size: 12px; line-height: 1.7; }
.footer__offices strong { color: var(--cyan); font-size: 14px; }
.footer__bottom { margin-top: 78px; padding-top: 24px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.13); color: #789097; font-size: 10px; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 23px; }
.footer__bottom nav a:hover { color: var(--white); }

.reveal { opacity: 1; transform: none; transition: opacity .85s ease, transform .85s cubic-bezier(.2,.7,.2,1); }
.js .reveal:not(.is-visible) { opacity: 0; transform: translateY(35px); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-in { from { opacity: .15; transform: scale(1.07); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 1050px) {
  :root { --header: 74px; }
  .site-header { grid-template-columns: 1fr auto auto; }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .mobile-menu { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; color: var(--white); background: var(--deep-2); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .mobile-menu.is-open { opacity: 1; visibility: visible; }
  .mobile-menu nav { width: min(82vw, 560px); display: grid; }
  .mobile-menu nav > a { padding: 22px 0; display: flex; gap: 24px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.17); font-size: clamp(19px, 4vw, 30px); font-weight: 800; }
  .mobile-menu nav span { color: var(--cyan); font-size: 10px; }
  .mobile-menu .mobile-menu__cta { justify-content: center; margin-top: 35px; padding: 20px; color: var(--deep); background: var(--white); font-size: 15px; }
  .pride__inner { grid-template-columns: 1fr 1.05fr; gap: 55px; }
  .company { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --side: 22px; }
  .sp-only { display: block; }
  .site-header { gap: 8px; }
  .site-header .brand__mark { width: 32px; height: 32px; }
  .site-header .brand__text b { font-size: 13px; }
  .site-header .brand__text small { font-size: 8px; }
  .header-cta { display: none; }
  .hero__media { background-position: 61% center; }
  .hero::after { background: linear-gradient(90deg, rgba(5,22,27,.87), rgba(5,22,27,.18)), linear-gradient(0deg, rgba(5,22,27,.75), transparent 55%); }
  .hero__content { justify-content: flex-end; padding-top: 130px; padding-bottom: 145px; }
  .hero h1 { font-size: clamp(38px, 11vw, 57px); line-height: 1.28; }
  .hero__lead { margin-top: 18px; font-size: 14px; }
  .hero__content .button { margin-top: 27px; }
  .hero__bottom { bottom: 22px; }
  .hero__bottom p { display: none; }
  .hero__bottom a { margin-left: auto; }
  .news__inner { padding-top: 60px; padding-bottom: 70px; grid-template-columns: 1fr; gap: 34px; }
  .news__list a { min-height: 104px; padding: 15px 0; grid-template-columns: 88px 1fr 18px; gap: 8px 12px; }
  .news__list .tag { grid-column: 2; grid-row: 1; }
  .news__list strong { grid-column: 1 / 3; grid-row: 2; line-height: 1.6; }
  .news__list i { grid-column: 3; grid-row: 1 / 3; }
  .text-link { grid-column: 1; }
  .pride { min-height: 0; padding: 140px 0 100px; }
  .mega-type { top: 54px; font-size: 71px; line-height: .78; }
  .pride__inner { grid-template-columns: 1fr; gap: 95px; }
  .pride__image { transform: none; margin-left: 28px; }
  .pride__image::before { inset: -22px 38% 50% -50px; }
  .pride__image figcaption { right: -6px; bottom: 20px; }
  .business { padding: 95px 0 110px; }
  .business__head { grid-template-columns: 1fr; gap: 25px; }
  .business__head .section-kicker { grid-column: 1; }
  .service-list { width: 100%; margin-top: 70px; gap: 85px; }
  .service-card, .service-card--reverse { grid-template-columns: 1fr; }
  .service-card--reverse .service-card__image, .service-card--reverse .service-card__content { grid-column: 1; grid-row: auto; }
  .service-card__image, .service-card--reverse .service-card__image { clip-path: none; }
  .service-card__image img { aspect-ratio: 1.3; }
  .service-card__content { padding: 30px var(--side) 0; }
  .service-card__number { margin-bottom: 24px; }
  .numbers { padding: 95px 0; }
  .numbers__head { align-items: start; }
  .numbers__grid { grid-template-columns: 1fr; margin-top: 52px; }
  .numbers__grid article { min-height: 0; padding: 43px 5px; border-right: 0; border-bottom: 1px solid var(--line); }
  .numbers__grid article:last-child { border-bottom: 0; }
  .company { grid-template-columns: 1fr; }
  .company__visual { min-height: 430px; }
  .company__panel { padding: 85px var(--side); }
  .company dl div { grid-template-columns: 82px 1fr; }
  .recruit { min-height: 680px; }
  .recruit__image { background-position: 58% center; }
  .recruit::after { background: linear-gradient(90deg, rgba(5,22,27,.88), rgba(5,22,27,.28)); }
  .contact { padding: 90px 0; }
  .contact__inner { grid-template-columns: 1fr; gap: 52px; }
  .contact-card { padding: 24px; }
  .footer__top { grid-template-columns: 1fr; gap: 58px; }
  .footer__brand > p { margin-left: 0; }
  .footer__offices { grid-template-columns: 1fr; }
  .footer__bottom { margin-top: 55px; flex-direction: column; }
}

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