:root {
  --navy: #081b46;
  --navy-2: #10285d;
  --teal: #009f99;
  --yellow: #f5b325;
  --ink: #102039;
  --paper: #f6f8f8;
  --white: #ffffff;
  --line: #dce4e5;
  --sans: "Noto Sans JP", sans-serif;
  --serif: "Shippori Mincho", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.9; overflow-x: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }

.site-header { height: 86px; padding: 0 4.5vw; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(10,32,72,.08); }
.brand { display: flex; align-items: center; gap: 18px; }
.brand img { width: 168px; height: 58px; object-fit: cover; object-position: center; }
.brand span { font-size: .69rem; letter-spacing: .22em; color: var(--navy); padding-left: 18px; border-left: 1px solid #c8d0d5; }
nav { display: flex; align-items: center; gap: 2.2vw; font-size: .8rem; font-weight: 600; }
nav a { transition: color .25s; }
nav a:hover { color: var(--teal); }
.nav-accent { background: var(--navy); color: white; padding: 12px 20px; }
.nav-accent:hover { color: white; background: var(--teal); }
.menu-button { display: none; }

.hero { min-height: calc(100vh - 86px); display: grid; grid-template-columns: 48% 52%; position: relative; background: #fff; }
.hero-copy { padding: 10vh 5vw 7vh 7vw; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1.7rem; font-size: .72rem; letter-spacing: .18em; font-weight: 700; color: var(--teal); display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 35px; height: 2px; background: currentColor; }
.eyebrow.light { color: #65d9d3; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .04em; }
h1 { margin-bottom: 1.6rem; font-size: clamp(3rem, 5.4vw, 5rem); line-height: 1.22; color: var(--navy); }
h1 em { color: var(--teal); font-style: normal; position: relative; white-space: nowrap; }

.hero-lead { font-size: clamp(1rem, 1.25vw, 1.28rem); font-weight: 500; line-height: 2; }
.hero-actions { display: flex; align-items: center; gap: 2.2rem; margin-top: 1.4rem; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 2rem; padding: 0 26px; font-size: .88rem; font-weight: 700; letter-spacing: .04em; transition: transform .25s, background .25s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--teal); box-shadow: 8px 8px 0 var(--navy); }
.button-primary:hover { background: #008a85; }

.button_y { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 2rem; padding: 0 26px; font-size: .88rem; font-weight: 700; letter-spacing: .04em; transition: transform .25s, background .25s; }
.button_y:hover { transform: translateY(-2px); }
.button-primary_y { color: #071b46; background: var(--yellow); }
.button-primary_y:hover { background: #eaaa39; }

.text-link { font-size: .82rem; font-weight: 700; padding-bottom: 4px; border-bottom: 1px solid var(--ink); }
.text-link span { margin-left: 1rem; color: var(--teal); }
.hero-facts { margin: 4rem 0 0; display: flex; gap: 2.5rem; }
.hero-facts div { display: flex; align-items: center; gap: .8rem; }
.hero-facts dt { font-family: var(--serif); font-size: 2.8rem; line-height: 1; color: var(--navy); }
.hero-facts dt span { font-family: var(--sans); font-size: .75rem; color: var(--teal); margin-left: .2rem; }
.hero-facts dd { margin: 0; font-size: .63rem; line-height: 1.35; letter-spacing: .1em; color: #6a7887; }
.hero-visual { position: relative; min-width: 0; overflow: hidden; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,27,70,.05), transparent 45%); }
.hero-visual img { height: 100%; object-fit: cover; object-position: 47% center; }
.vertical-copy { position: absolute; right: 18px; top: 50%; z-index: 2; writing-mode: vertical-rl; transform: translateY(-50%); color: white; font-size: .64rem; letter-spacing: .18em; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.hero-number { position: absolute; left: 22px; bottom: 18px; z-index: 2; font: 600 5.5rem/1 var(--serif); color: rgba(255,255,255,.82); }
.scroll-mark { position: absolute; left: 2.2vw; bottom: 1.5rem; z-index: 3; writing-mode: vertical-rl; font-size: .57rem; letter-spacing: .16em; }
.scroll-mark span { display: inline-block; height: 48px; width: 1px; background: var(--navy); margin-top: 8px; }

.section-index { font-size: .7rem; font-weight: 700; letter-spacing: .15em; color: #70d4d0; display: flex; align-items: center; gap: .8rem; }
.section-index::after { content: ""; width: 48px; height: 1px; background: currentColor; }
.section-index span { color: inherit; opacity: .72; }
.section-index.dark { color: var(--teal); }
.intro { position: relative; padding: 8rem 7vw 10rem; color: white; background: var(--navy); overflow: hidden; }
.intro-inner { width: min(1120px, 100%); margin: 3rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; position: relative; z-index: 2; }
.intro h2, .movie h2, .access h2 { font-size: clamp(1.6rem, 5vw, 3.5rem); line-height: 1.38; }
.intro h2 { margin-top: 13rem; }
.intro img {max-width: 39rem; margin-bottom: 0; }
.intro-copy { padding-top: 0; color: #dbe3ed; }
.intro-copy p { max-width: 36rem; }
.intro-callout { margin-top: 2.5rem; color: white; font-family: var(--serif); font-size: 1.3rem; line-height: 1.9; }
.intro-word { position: absolute; right: -1vw; bottom: -3.4rem; font: 600 12vw/1 var(--serif); color: rgba(255,255,255,.035); letter-spacing: .04em; }

.values { padding: 9rem 7vw; background: var(--paper); }
.section-heading { width: min(1180px,100%); margin: 0 auto 5rem; display: grid; grid-template-columns: 180px 1fr 1fr; align-items: end; }
.section-heading .eyebrow { grid-column: 2; }
.section-heading h2 { grid-column: 2 / 4; font-size: clamp(2.7rem, 4.8vw, 3.5rem); line-height: 1.38; margin: 0; color: var(--navy); }
.value-list { width: min(1180px,100%); margin: auto; display: grid; gap: 6rem; }
.value-list article { display: grid; grid-template-columns: 58% 42%; align-items: center; }
.value-list article.reverse { grid-template-columns: 42% 58%; }
.value-list article.reverse .value-image { order: 2; }
.value-list article.reverse .value-body { order: 1; padding-left: 2rem; }
.value-image { position: relative; overflow: hidden; box-shadow: 0 24px 60px rgba(10,28,56,.14); }
.value-image::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.35); }
.value-image img { aspect-ratio: 16/9; object-fit: cover; transition: transform .7s; }
.value-list article:hover img { transform: scale(1.025); }
.value-body { padding: 2rem 0 2rem 5vw; }
.value-body > span { color: var(--yellow); font: 600 3.8rem/1 var(--serif); }
.value-body h3 { margin: 1.2rem 0; color: var(--navy); font: 600 clamp(1.65rem,2.6vw,2.6rem)/1.45 var(--serif); }
.value-body p { max-width: 28rem; color: #566476; }

.movie { min-height: 760px; padding: 8rem 7vw; background: #071530; color: white; display: grid; grid-template-columns: 40% 60%; align-items: center; overflow: hidden; }
.movie-copy { padding-right: 4vw; position: relative; z-index: 2; }
.movie-copy .section-index { margin-bottom: 4rem; }
.movie h2 { margin-bottom: 1.5rem; font-size: 3.2rem; }
.movie-copy > p:last-child { max-width: 28rem; }
.video-shell { position: relative; aspect-ratio: 16/9; overflow: hidden; box-shadow: 18px 18px 0 var(--teal); }
.video-shell img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.64) saturate(.85); }
.video-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.play { width: 82px; height: 82px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; display: grid; place-items: center; padding-left: 5px; font-size: 1.35rem; margin-bottom: 1.3rem; background: rgba(0,0,0,.15); }
.video-overlay strong { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .12em; }
.video-overlay small { margin-top: .5rem; color: #d9e3ec; font-size: .72rem; }


.movie_w { min-height: 760px; padding: 8rem 7vw; background: white; color: white; display: grid; grid-template-columns: 50% 50%; align-items: center; overflow: hidden; }
.movie-copy_w { padding-right: 0; position: relative; z-index: 2; }
.movie-copy_w .section-index { margin-bottom: 4rem; }
.movie_w h2 { margin-bottom: 1.5rem; font-size: 3.2rem; color: #071b46; line-height: 1.4; }
.movie-copy_w > p:last-child { color: #071b46; max-width: 36rem; }
.movie_w p { margin-bottom: 3rem; color: #071b46; }

.president { padding: 9rem 7vw; display: grid; grid-template-columns: minmax(320px, 43%) 1fr; gap: 8vw; align-items: center; }
.president-photo { position: relative; background: #eef1f3; overflow: hidden; }
.president-photo img { aspect-ratio: 4/4.8; object-fit: cover; object-position: 50% 34%; mix-blend-mode: multiply; }
.president-photo span { position: absolute; left: 1.5rem; bottom: 1.5rem; color: var(--navy); font-size: .66rem; font-weight: 700; letter-spacing: .16em; line-height: 1.6; }
.president-copy .section-index { margin-bottom: 3rem; }
.president-copy h2 { font-size: clamp(2.4rem, 4.2vw, 3.5rem); line-height: 1.4; color: var(--navy); }
blockquote { margin: 2.5rem 0; padding: 0; font-size: 1.03rem; color: #445367; }
.signature { font-size: .82rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.signature strong { font: 600 1.35rem var(--serif); margin-left: .6rem; }

.workplace { padding: 8rem 7vw 9rem; background: var(--paper); }
.workplace-copy .eyebrow { grid-column: 1 / 3; }
.workplace-copy h2 { font-size: clamp(2.3rem, 4vw, 3.5rem); line-height: 1.45; color: var(--navy); text-align: center; }
.workplace-copy > p:last-child { align-self: end; color: #586779; text-align: center; margin-bottom: 3rem; }
.workplace-grid { width: min(1180px,100%); margin: auto; display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.workplace-grid figure { margin: 0; overflow: hidden; }
.workplace-grid .large { grid-row: span 2; }
.workplace-grid img { height: 100%; min-height: 220px; object-fit: cover; transition: transform .6s; }
.workplace-grid figure:hover img { transform: scale(1.025); }

.access { padding: 10rem 7vw; color: white; background: var(--teal); display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; }
.access .section-index { margin-bottom: 3.2rem; color: white; }
.access h2 { margin-bottom: 0; }
.access-card { padding: 2.5rem 0 0 4vw; border-left: 0 solid rgba(255,255,255,.38); }
.station { font-size: 1.3rem; }
.station small { display: block; font-size: .72rem; letter-spacing: .1em; }
.station strong { font-size: .85rem; color: var(--navy); background: var(--yellow); padding: 5px 10px; margin-left: .7rem; }
.access-card a { margin-top: 1rem; display: inline-flex; align-items: center; gap: 2rem; border-bottom: 1px solid white; font-size: .85rem; font-weight: 700; }

.closing { padding: 10rem 7vw; text-align: center; color: white; background: var(--teal); }
.closing .eyebrow { justify-content: center; }
.closing h2 { font-size: clamp(2.8rem,5vw,5.3rem); line-height: 1; }
.closing h3 { font-size: clamp(1.5rem,4vw,4rem); line-height: 1; }
.closing > p:not(.eyebrow) { color: #607084; }
.closing .button { margin-top: 2rem; }

footer { padding: 3.5rem 5vw; background: var(--navy); color: white; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; }
.footer-brand img { filter: brightness(0) invert(1); opacity: .92; }
.footer-brand span { color: white; border-color: rgba(255,255,255,.3); }
footer p { margin: 0; font-size: .82rem; text-align: center; }
footer small { color: #b9c5d6; }
.copyright { text-align: right; font-size: .65rem; letter-spacing: .15em; color: #9cabc0; }


/* COMPANY FILM：クリックできる動画サムネイル */
.video-shell.js-video-modal-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
}

.video-shell.js-video-modal-open img {
  transition: filter 0.3s ease;
}

.video-shell.js-video-modal-open:hover img {
  filter: brightness(0.8) saturate(0.9);
}

.video-shell.js-video-modal-open:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 5px;
}

.video-shell.js-video-modal-open .video-overlay {
  pointer-events: none;
}

/* モーダル背景 */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.is-open {
  opacity: 1;
  visibility: visible;
}

/* 動画エリア */
.video-modal-content {
  position: relative;
  width: min(100%, 1000px);
  background: #000;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
}

.video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 閉じるボタン */
.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* スマートフォン */
@media (max-width: 640px) {
  .video-modal {
    padding: 16px;
  }

  .video-modal-close {
    top: -48px;
  }
}

/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce) {
  .video-modal {
    transition: none;
  }
}



@media (max-width: 960px) {
  .site-header { height: 72px; padding: 0 20px; }
  .brand img { width: 132px; height: 46px; }
  .brand span { font-size: .58rem; padding-left: 12px; }
  .menu-button { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; background: none; border: 0; padding: 7px; color: var(--navy); }
  .menu-button span { width: 25px; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
  .menu-button b { font-size: .46rem; letter-spacing: .12em; font-weight: 600; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  nav { display: none; position: absolute; left: 0; right: 0; top: 72px; padding: 26px 24px 32px; background: white; flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 12px 24px rgba(7,25,57,.12); }
  nav.open { display: flex; }
  nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-accent { text-align: center; margin-top: 12px; border: 0; }
  .hero { min-height: auto; display: flex; flex-direction: column; }
  .hero-copy { padding: 70px 7vw 50px; }
  .hero-visual { height: 60vw; min-height: 360px; }
  .scroll-mark { display: none; }
  .intro-inner { grid-template-columns: 1fr; gap: 2rem; }
  .intro-copy { padding-top: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading .eyebrow, .section-heading h2 { grid-column: 1; }
  .value-list article, .value-list article.reverse { grid-template-columns: 1fr; }
  .value-list article.reverse .value-image, .value-list article.reverse .value-body { order: initial; }
  .value-body, .value-list article.reverse .value-body { padding: 2.2rem 4vw 0; }
  .movie { grid-template-columns: 1fr; gap: 3rem; }
  .movie_w { grid-template-columns: 1fr; gap: 3rem; }
  .president { grid-template-columns: 1fr 1fr; gap: 5vw; }
  .workplace-copy { grid-template-columns: 1fr; }
  .workplace-copy .eyebrow { grid-column: 1; }
  .access { grid-template-columns: 1fr; }
  .access-card { padding-left: 0; border-left: 0; border-top: 0 solid rgba(255,255,255,.38); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .desktop-only { display: none; }
  .hero-copy { padding: 54px 24px 44px; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.6rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.6rem; }
  .hero-facts { margin-top: 3.3rem; gap: 1.2rem; }
  .hero-facts dt { font-size: 2.2rem; }
  .hero-visual { min-height: 390px; height: 78vw; }
  .hero-visual img { object-position: 42% center; }
  .intro, .values, .movie, .movie_w, .president, .workplace, .access, .closing { padding: 6rem 24px; }
  .values h2, .movie h2, .movie_w h2, .access h2 { font-size: 2.4rem; }
  .intro h2 { font-size: 2.4rem; margin-top: 1rem; }
  .value-list { gap: 4.2rem; }
  .value-body, .value-list article.reverse .value-body { padding-left: 0; padding-right: 0; }
  .movie { min-height: auto; }
  .movie-copy .section-index { margin-bottom: 2.5rem; }
  .movie_w { min-height: auto; }
  .movie-copy_w .section-index { margin-bottom: 2.5rem; }
  .video-shell { box-shadow: 9px 9px 0 var(--teal); }
  .play { width: 64px; height: 64px; }
  .president { grid-template-columns: 1fr; }
  .president-photo img { aspect-ratio: 4/4.5; }
  .workplace-copy { gap: 1rem; }
  .workplace-grid { grid-template-columns: 1fr 1fr; }
  .workplace-grid .large { grid-row: auto; grid-column: 1 / 3; }
  .workplace-grid img { min-height: 150px; }
  .station strong { display: inline-block; margin: .5rem 0 0; }
  footer { padding: 3rem 24px; grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  footer .brand { justify-content: center; }
  footer p, .copyright { text-align: center; }
}

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