/* ════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #00348a;
  --blue-dark: #002268;
  --blue-light: #1a55b0;
  --orange: #f0860a;
  --white: #ffffff;
  --bg: #f5f6f8;
  --gray: #888;
  --text: #2b2b2b;
  --border: #e0e3e9;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3',
    'Noto Sans JP', 'Yu Gothic', 'メイリオ', sans-serif;
  color: var(--text);
  line-height: 1.85;
  background: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ════════════════════════════════════════════
   LOADING SCREEN
════════════════════════════════════════════ */
#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue-dark);
  background-image: radial-gradient(circle, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  transition: opacity .7s ease, visibility .7s ease;
}

#loading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
}

#loading.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 背景：光のストリーク */
.loading-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.loading-bg span {
  position: absolute;
  left: -60vw;
  width: 60vw;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, .5), transparent);
  animation: railPass linear infinite;
}

.loading-bg span:nth-child(1) {
  top: 8%;
  animation-duration: 2.2s;
  animation-delay: 0s;
  opacity: .55;
}

.loading-bg span:nth-child(2) {
  top: 19%;
  animation-duration: 1.7s;
  animation-delay: .5s;
  opacity: .3;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(240, 134, 10, .55), transparent);
}

.loading-bg span:nth-child(3) {
  top: 31%;
  animation-duration: 2.9s;
  animation-delay: 1.1s;
  opacity: .45;
}

.loading-bg span:nth-child(4) {
  top: 42%;
  animation-duration: 1.5s;
  animation-delay: .3s;
  opacity: .2;
}

.loading-bg span:nth-child(5) {
  top: 54%;
  animation-duration: 2.4s;
  animation-delay: 1.8s;
  opacity: .5;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(240, 134, 10, .45), transparent);
}

.loading-bg span:nth-child(6) {
  top: 65%;
  animation-duration: 2.0s;
  animation-delay: .8s;
  opacity: .3;
}

.loading-bg span:nth-child(7) {
  top: 76%;
  animation-duration: 1.6s;
  animation-delay: 2.1s;
  opacity: .4;
}

.loading-bg span:nth-child(8) {
  top: 88%;
  animation-duration: 2.7s;
  animation-delay: .4s;
  opacity: .2;
  height: 2px;
}

@keyframes railPass {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(260vw);
  }
}

/* コンテンツ */
.loading-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.loading-logo {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .88;
}

/* SVG スピナー */
.loading-ring-wrap {
  width: 64px;
  height: 64px;
}

.loading-ring {
  width: 100%;
  height: 100%;
}

.loading-arc {
  stroke-dasharray: 54 109;
  transform-origin: 30px 30px;
  animation: spinArc 1.1s linear infinite;
}

@keyframes spinArc {
  to {
    transform: rotate(360deg);
  }
}

/* プログレスバー */
.loading-bar-wrap {
  width: 200px;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .1);
}

.loading-bar {
  width: 0%;
  height: 100%;
  border-radius: 2px;
  background: var(--orange);
  transition: width .25s ease;
}

.loading-text {
  font-size: .7rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
}


/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */
header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  height: 72px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

/* ロゴ */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 38px;
}

.logo-text {
  font-size: .95rem;
  font-weight: bold;
  letter-spacing: .03em;
  line-height: 1.3;
  color: var(--blue);
}

/* PC ナビ */
#main-nav {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translateX(-50%);
}

#main-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 10px;
  border-radius: 2px;
  font-size: .82rem;
  font-weight: bold;
  letter-spacing: .04em;
  line-height: 1.3;
  white-space: nowrap;
  color: var(--text);
  transition: background .18s, color .18s;
}

#main-nav a span {
  margin-top: 2px;
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--gray);
  transition: color .18s;
}

#main-nav a:hover {
  background: var(--blue);
  color: var(--white);
}

#main-nav a:hover span {
  color: rgba(255, 255, 255, .7);
}

#main-nav .btn-contact {
  padding: 8px 18px;
  border-radius: 3px;
  font-size: .78rem;
  letter-spacing: .1em;
  background: var(--blue);
  color: var(--white);
  transition: background .18s;
}

#main-nav .btn-contact:hover {
  background: var(--blue-dark);
}

/* ハンバーガーボタン */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform-origin: center;
  transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ════════════════════════════════════════════
   DRAWER
════════════════════════════════════════════ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  opacity: 0;
  background: rgba(0, 0, 0, .45);
  pointer-events: none;
  transition: opacity .35s;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  width: 300px;
  padding: 88px 0 40px;
  background: var(--blue-dark);
  box-shadow: -4px 0 24px rgba(0, 0, 0, .3);
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4, 0, .2, 1);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
}

.drawer-close span {
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .7);
}

.drawer-close span:nth-child(1) {
  transform: rotate(45deg);
}

.drawer-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.drawer-nav a {
  padding: 14px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .88rem;
  font-weight: bold;
  letter-spacing: .04em;
  line-height: 1.3;
  color: rgba(255, 255, 255, .85);
  transition: background .18s, color .18s;
}

.drawer-nav a span {
  display: block;
  margin-top: 3px;
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .4);
}

.drawer-nav a:hover {
  background: rgba(255, 255, 255, .07);
  color: var(--white);
}

.drawer-nav a:hover span {
  color: rgba(255, 255, 255, .6);
}

.drawer-nav .drawer-contact {
  margin: 24px 40px 0;
  padding: 14px 20px;
  border-radius: 2px;
  border-bottom: none;
  font-size: .82rem;
  letter-spacing: .15em;
  text-align: center;
  background: var(--orange);
  color: var(--white);
}

.drawer-nav .drawer-contact:hover {
  background: #d4740a;
}


/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: #0a1f55;
}

/* オレンジ装飾ライン（下部） */
#hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 6px;
  background: var(--orange);
}

/* 動画オーバーレイ */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 動画背景 */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* コンテンツ */
.hero-inner {
  position: absolute;
  top: 50%;
  left: 64px;
  z-index: 5;
  max-width: 680px;
  transform: translateY(-50%);
}

.hero-en {
  margin-bottom: 14px;
  font-size: .72rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}

#hero h1 {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 20px;
  font-size: 2.8rem;
  font-weight: bold;
  letter-spacing: .04em;
  line-height: 1.6;
  color: var(--white);
  background: rgba(0, 0, 0, .62);
}

#hero h1 span {
  color: var(--orange);
}

.hero-desc {
  display: inline-block;
  padding: 10px 20px;
  font-size: .88rem;
  line-height: 2;
  color: rgba(255, 255, 255, .92);
  background: rgba(0, 52, 138, .75);
}

/* SCROLL インジケーター */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .68rem;
  letter-spacing: .25em;
  color: rgba(255, 255, 255, .55);
  transform: translateX(-50%);
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, .4);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    opacity: .2;
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    opacity: .2;
    transform: scaleY(1);
    transform-origin: bottom;
  }
}


/* ════════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════ */
#stats {
  position: relative;
  z-index: 6;
  margin-top: -131px;
  background: rgba(0, 52, 138, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, .15);
  text-align: center;
  color: var(--white);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: bold;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--white);
}

.stat-num .count {
  display: inline-block;
  min-width: 1.8ch;
  text-align: right;
}

.stat-num span:not(.count) {
  font-size: 1.6rem;
}

.stat-label {
  margin-top: 8px;
  font-size: .75rem;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .65);
}

.stat-note {
  margin-top: 4px;
  font-size: .68rem;
  color: rgba(255, 255, 255, .4);
}


/* ════════════════════════════════════════════
   SECTION COMMON
════════════════════════════════════════════ */
.section-wrap {
  padding: 96px 32px;
}

.section-wrap.bg-gray {
  background: var(--bg);
}

.section-wrap.bg-blue {
  background: var(--blue);
}

.section-wrap.bg-dark {
  background: var(--blue-dark);
}

.section-wrap.bg-white {
  background: var(--white);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.sec-head {
  margin-bottom: 56px;
}

.sec-en {
  margin-bottom: 8px;
  font-size: .7rem;
  font-weight: bold;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--orange);
}

.sec-title {
  font-size: 1.7rem;
  font-weight: bold;
  letter-spacing: .04em;
  color: var(--blue);
}

.sec-title.white {
  color: var(--white);
}

.sec-border {
  width: 40px;
  height: 3px;
  margin-top: 14px;
  background: var(--orange);
}


/* ════════════════════════════════════════════
   代表挨拶
════════════════════════════════════════════ */
.greeting-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 72px;
  align-items: start;
}

.greeting-text h3 {
  margin-bottom: 28px;
  padding-left: 16px;
  border-left: 4px solid var(--orange);
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--blue);
}

.greeting-text p {
  margin-bottom: 16px;
  font-size: .92rem;
  color: #444;
}

.greeting-sign {
  margin-top: 28px;
  font-size: .875rem;
  text-align: right;
  color: var(--gray);
}

.greeting-photo {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 3/4;
}

.greeting-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ════════════════════════════════════════════
   行動指針
════════════════════════════════════════════ */
.values-tag {
  margin-bottom: 48px;
  font-size: 1rem;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .6);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.value-card {
  padding: 40px 32px;
  border-top: 3px solid var(--orange);
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  transition: background .2s, opacity .6s ease, transform .6s ease;
}

.value-card:hover {
  background: rgba(255, 255, 255, .1);
}

.vc-num {
  margin-bottom: 16px;
  font-size: .68rem;
  letter-spacing: .3em;
  color: var(--orange);
}

.vc-title {
  margin-bottom: 6px;
  font-size: 1.2rem;
  font-weight: bold;
}

.vc-sub {
  margin-bottom: 20px;
  font-size: .75rem;
  font-style: italic;
  color: rgba(255, 255, 255, .4);
}

.vc-img {
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 3px;
  aspect-ratio: 3/2;
}

.vc-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.value-card:hover .vc-img img {
  transform: scale(1.04);
}

.vc-body {
  font-size: .875rem;
  line-height: 2;
  color: rgba(255, 255, 255, .78);
}


/* ════════════════════════════════════════════
   会社概要
════════════════════════════════════════════ */
.company-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}

.co-table {
  width: 100%;
  border-collapse: collapse;
}

.co-table tr {
  border-bottom: 1px solid var(--border);
}

.co-table tr:first-child {
  border-top: 1px solid var(--border);
}

.co-table th {
  width: 200px;
  padding: 22px 24px;
  font-size: .875rem;
  font-weight: bold;
  vertical-align: top;
  text-align: left;
  white-space: nowrap;
  color: var(--blue);
}

.co-table td {
  padding: 22px 24px;
  font-size: .9rem;
  color: #444;
}

.co-table td strong {
  display: block;
  margin-top: 14px;
  font-weight: bold;
  color: var(--text);
}

.co-table td strong:first-child {
  margin-top: 0;
}

.company-photo {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border-radius: 4px;
}

.company-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-maps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.company-map {
  margin-top: 0;
}

.company-map-label {
  margin-bottom: 8px;
  font-size: .78rem;
  font-weight: bold;
  letter-spacing: .04em;
  color: var(--blue);
}

.company-map iframe {
  display: block;
  width: 100%;
  border-radius: 4px;
}


/* ════════════════════════════════════════════
   FULL WIDTH BANNER
════════════════════════════════════════════ */
.full-banner {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.full-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.full-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 20, 60, .45);
}

.full-banner-catch {
  padding-left: 20px;
  border-left: 4px solid var(--orange);
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: .12em;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}


/* ════════════════════════════════════════════
   沿革
════════════════════════════════════════════ */
.history-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 72px;
}

.history-ja {
  margin-left: 1em;
}

/* タイムライン */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.tl-item {
  position: relative;
  padding-bottom: 36px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 52, 138, .12);
}

.tl-year {
  margin-bottom: 6px;
  font-size: .8rem;
  font-weight: bold;
  letter-spacing: .1em;
  color: var(--orange);
}

.tl-desc {
  font-size: .9rem;
  line-height: 1.9;
  color: #444;
}

/* 受賞歴 */
.awards-box {
  padding: 36px;
  border-radius: 4px;
  background: var(--bg);
}

.awards-head {
  margin-bottom: 24px;
  padding-left: 12px;
  border-left: 3px solid var(--orange);
  font-size: .95rem;
  font-weight: bold;
  color: var(--blue);
}

.aw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}

.aw-table thead tr {
  background: var(--blue);
  color: var(--white);
}

.aw-table th {
  padding: 10px 16px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: left;
}

.aw-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: #444;
}

.aw-table tr:last-child td {
  border-bottom: none;
}

.aw-table tbody tr:nth-child(even) td {
  background: var(--white);
}

.aw-best {
  font-weight: bold;
  color: var(--orange);
}


/* ════════════════════════════════════════════
   軌道工とは
════════════════════════════════════════════ */
.track-lead {
  max-width: 720px;
  margin-bottom: 56px;
  font-size: .95rem;
  line-height: 2.1;
  color: #444;
}

.track-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.track-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  background: var(--white);
  transition: box-shadow .2s, opacity .6s ease, transform .6s ease;
}

.track-card:hover {
  box-shadow: 0 6px 24px rgba(0, 52, 138, .1);
}

.tc-num {
  margin-bottom: 16px;
  font-size: .68rem;
  letter-spacing: .25em;
  color: var(--blue);
}

.track-card h3 {
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: bold;
  color: var(--blue);
}

.tc-img {
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 3px;
  aspect-ratio: 3/2;
}

.tc-img img,
.tc-img video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.track-card:hover .tc-img img,
.track-card:hover .tc-img video {
  transform: scale(1.04);
}

.track-card p {
  font-size: .875rem;
  line-height: 1.95;
  color: #555;
}


/* ════════════════════════════════════════════
   採用情報
════════════════════════════════════════════ */
.recruit-head {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--orange);
}

.recruit-sub {
  margin-bottom: 48px;
  font-size: .92rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, .72);
}

.recruit-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.salary-box {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
}

.sb-label {
  margin-bottom: 12px;
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

.sb-main {
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--orange);
}

.sb-ex {
  margin-bottom: 20px;
  font-size: .875rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, .8);
}

.sb-list {
  list-style: none;
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
}

.sb-list li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.sb-list li::before {
  content: '—　';
  color: var(--orange);
}

.features-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feat-item {
  padding: 20px 24px;
  border-left: 3px solid var(--orange);
  font-size: .875rem;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .07);
}

.feat-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: .95rem;
  letter-spacing: .03em;
  color: var(--white);
}


/* ════════════════════════════════════════════
   お問い合わせ CTA
════════════════════════════════════════════ */
#contact-cta {
  padding: 80px 32px;
  text-align: center;
  background: var(--bg);
}

.cta-title {
  margin-bottom: 12px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--blue);
}

.cta-sub {
  margin-bottom: 36px;
  font-size: .9rem;
  color: var(--gray);
}

.btn-primary {
  display: inline-block;
  padding: 16px 48px;
  border-radius: 2px;
  font-size: .9rem;
  font-weight: bold;
  letter-spacing: .12em;
  background: var(--blue);
  color: var(--white);
  transition: background .18s;
}

.btn-primary:hover {
  background: var(--blue-dark);
}


/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
footer {
  background: #0d1e3e;
  color: rgba(255, 255, 255, .55);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 32px 48px;
}

.footer-brand img {
  height: 32px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: .7;
}

.footer-brand p {
  font-size: .8rem;
  line-height: 1.9;
}

.footer-col h4 {
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.footer-col address {
  font-style: normal;
  font-size: .8rem;
  line-height: 2;
}

.footer-col address strong {
  display: block;
  margin-top: 14px;
  font-size: .78rem;
  color: rgba(255, 255, 255, .7);
}

.footer-col address strong:first-child {
  margin-top: 0;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
}

.footer-col nav a {
  display: block;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: .8rem;
}

.footer-col nav a:last-child {
  border-bottom: none;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .72rem;
  text-align: center;
}


/* ════════════════════════════════════════════
   アニメーション
════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ════════════════════════════════════════════
   PAGE TOP ボタン
════════════════════════════════════════════ */
.page-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  /* 初期状態：非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s, visibility .3s, background .18s;
}

.page-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover {
  background: #d6760a;
}

.page-top span {
  font-size: .58rem;
  font-weight: bold;
  letter-spacing: .1em;
  line-height: 1;
}


/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* Header */
  .header-inner {
    padding: 0 20px;
  }

  #main-nav {
    display: none;
  }

  /* Hero */
  #hero {
    height: 100svh;
  }

  .hero-inner {
    top: auto;
    bottom: 60px;
    left: 20px;
    transform: none;
    max-width: calc(100% - 40px);
  }

  #hero h1 {
    font-size: 1.8rem;
  }

  .hero-desc {
    font-size: .82rem;
  }

  /* Stats */
  #stats {
    margin-top: 0;
    background: var(--blue);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
  }

  /* Sections */
  .section-wrap {
    padding: 64px 20px;
  }

  /* Grids → 1カラム */
  .greeting-grid,
  .company-layout,
  .company-maps,
  .history-layout,
  .recruit-layout {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .track-cards {
    grid-template-columns: 1fr;
  }

  /* 会社概要 */
  .company-photo {
    position: static;
  }

  /* 代表挨拶 */
  .greeting-photo {
    display: none;
  }

  /* Banner */
  .full-banner {
    height: 180px;
  }

  .full-banner-catch {
    font-size: 1rem;
    padding-left: 14px;
  }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
  }

  /* Page Top ボタン */
  .page-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
}