@charset "UTF-8";

:root {
  --bg-dark: #0b0f2b;
  --bg-hero-start: #0d1228;
  --bg-hero-end: #050810;
  --bg-light: #ffffff;
  --text: #ffffff;
  --text-dark: #1c2230;
  --text-muted: #4c5466;
  --accent: #ffffff;
  --border: #d9dde6;
  --section-spacing: 56px;
  --element-gap: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Overpass", "Montserrat", "Lato", sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.7;
}

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

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

.container {
  width: min(1000px, 88%);
  margin: 0 auto;
}

/* 垂直方向のスペース: セクション間を一貫して十分に */
.section {
  padding: var(--section-spacing) 0;
}

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

.section--map {
  padding-top: 0;
}

#company.section {
  padding-bottom: 12px;
}

/* タイポグラフィ: タイトルは大きく太く、サブタイトル・本文は小さめ */
.section__eyebrow {
  text-align: center;
  font-weight: 700;
  margin: 0 0 12px;
  font-size: clamp(16px, 1.5vw, 22px);
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

#business .section__eyebrow {
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.2;
  margin-bottom: 18px;
}

.section__title {
  text-align: center;
  margin: 0 0 12px;
  font-size: clamp(34px, 3.9vw, 52px);
  font-weight: 700;
  line-height: 1.4;
}

.section__lead {
  text-align: center;
  margin: 0 0 var(--element-gap);
  color: var(--text-muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
}

.hero {
  position: relative;
  min-height: clamp(500px, 62vh, 680px);
  color: var(--text);
  background: linear-gradient(
    180deg,
    var(--bg-hero-start) 0%,
    var(--bg-hero-end) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 15, 43, 0.16) 0%,
    rgba(5, 8, 16, 0.42) 100%
  );
}

.hero__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 50% 50%,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 30% 40%,
      rgba(100, 150, 255, 0.04) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(100, 150, 255, 0.03) 0%,
      transparent 45%
    );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.hero__logo {
  width: min(220px, 26vw);
}

.hero__title {
  margin: 0;
  font-size: clamp(56px, 7.4vw, 92px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.02;
  white-space: nowrap;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

.hero__subtitle {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 34px);
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* 図・アイコングリッド: 中央揃え、要素間の余白を統一 */
.image-grid {
  display: grid;
  gap: var(--element-gap);
  margin-top: 10px;
}

.image-grid--1 {
  grid-template-columns: 1fr;
}

.image-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.image-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fields-grid {
  row-gap: 22px;
}

.tech-grid {
  row-gap: 22px;
}

.tech-grid .fields-item img {
  width: 50%;
}

.fields-item {
  margin: 0;
  text-align: center;
}

.fields-item img {
  width: 60%;
  margin: 0 auto;
}

.fields-item figcaption {
  margin-top: 8px;
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
}

.business-diagram-image {
  width: 70%;
  margin: 0 auto;
}

.fields-more {
  margin: 18px 0 0;
  text-align: center;
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--text-muted);
}

/* 会社概要: 2列レイアウト、項目名と値は左揃え、薄いグレーで区切り */
.info-list {
  margin: 10px auto 0;
  max-width: 760px;
}

.info-list__row {
  display: grid;
  grid-template-columns: 170px 140px minmax(0, 1fr);
  gap: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.info-list__row:last-child {
  border-bottom: none;
}

.info-list dt {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 24px;
  line-height: 1.35;
  margin: 0;
  padding: 4px 0;
}

.info-list dd {
  margin: 0;
  color: var(--text-dark);
  font-size: 24px;
  line-height: 1.35;
  padding: 4px 0;
  grid-column: 3;
}

.info-list__image {
  width: 32%;
  max-width: 280px;
  height: auto;
}

.info-list__row--representative .info-list__image {
  width: 58%;
  max-width: 58%;
}

.info-list__row--representative dd {
  font-size: clamp(26px, 2.3vw, 42px);
  line-height: 1.35;
  padding: 2px 0;
}

.info-list__row--representative dd .info-list__image {
  width: min(72%, 10.5em) !important;
  max-width: calc(24px * 9) !important;
}

.map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
  filter: grayscale(1);
}

/* フッター: ヒーローと同色のダーク背景、スローガン統合 */
.site-footer {
  background: #e6e7ea;
  color: var(--text-dark);
  text-align: center;
}

.footer-top {
  background: #ffffff;
  padding: 26px 0 24px;
}

.footer-bottom {
  background: #d6d7db;
  padding: 18px 0 20px;
}

.footer-slogan {
  margin: 0;
  font-size: clamp(34px, 3.9vw, 52px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  opacity: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  font-size: clamp(12px, 1.2vw, 18px);
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-copy {
  margin: 0;
  font-size: clamp(11px, 1vw, 16px);
  opacity: 0.95;
}

.recruit__image {
  margin: 0 auto;
  width: min(760px, 92%);
}

@media (max-width: 900px) {
  :root {
    --section-spacing: 44px;
    --element-gap: 16px;
  }
  .section__eyebrow {
    font-size: clamp(15px, 2.2vw, 20px);
  }
  #business .section__eyebrow {
    font-size: clamp(24px, 4vw, 34px);
    margin-bottom: 14px;
  }
  .section__title {
    font-size: clamp(28px, 4.6vw, 40px);
  }
  .section__lead {
    font-size: clamp(16px, 2.8vw, 22px);
  }
  #company.section {
    padding-bottom: 8px;
  }
  .section--map {
    padding-top: 0;
  }
  .hero {
    min-height: 500px;
  }
  .hero__content {
    gap: 14px;
  }
  .hero__logo {
    width: min(180px, 34vw);
  }
  .hero__title {
    font-size: clamp(44px, 7vw, 68px);
    letter-spacing: 0.025em;
  }
  .hero__subtitle {
    font-size: clamp(18px, 3.2vw, 26px);
  }
  .footer-slogan {
    font-size: clamp(28px, 4.6vw, 40px);
  }
  .footer-links {
    font-size: clamp(12px, 1.6vw, 16px);
  }
  .footer-copy {
    font-size: clamp(11px, 1.3vw, 14px);
  }
  .image-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .image-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .info-list__row {
    grid-template-columns: 150px 110px minmax(0, 1fr);
  }
  .info-list dt,
  .info-list dd {
    font-size: 20px;
    padding: 3px 0;
  }
  .info-list__image {
    width: 42%;
    max-width: 42%;
  }
  .info-list__row--representative .info-list__image {
    width: 56%;
    max-width: 56%;
  }
  .info-list__row--representative dd {
    font-size: clamp(24px, 3vw, 36px);
  }
}

@media (max-width: 700px) {
  .info-list__row {
    grid-template-columns: 1fr;
  }
  :root {
    --section-spacing: 30px;
    --element-gap: 14px;
  }
  .section {
    padding: var(--section-spacing) 0;
  }
  #company.section {
    padding-bottom: 10px;
  }
  .section--map {
    padding-top: 4px;
  }
  .section__eyebrow {
    font-size: 14px;
    margin-bottom: 8px;
  }
  #business .section__eyebrow {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .section__title {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .section__lead {
    font-size: 16px;
  }
  .hero {
    height: 500px;
    min-height: 500px;
  }
  .hero__content {
    gap: 12px;
  }
  .hero__logo {
    width: 140px;
  }
  .hero__title {
    font-size: clamp(38px, 10vw, 46px);
    letter-spacing: 0.02em;
    line-height: 1.05;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  }
  .hero__subtitle {
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  }
  .footer-top {
    padding: 20px 0 18px;
  }
  .footer-bottom {
    padding: 14px 0 16px;
  }
  .footer-slogan {
    font-size: 26px;
    letter-spacing: 0.03em;
  }
  .footer-links {
    font-size: 11px;
    gap: 6px;
  }
  .footer-copy {
    font-size: 10px;
  }
  .image-grid--2,
  .image-grid--3 {
    grid-template-columns: 1fr;
  }
  .business-diagram-image {
    width: 90%;
  }
  .image-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fields-grid {
    row-gap: 14px;
  }
  .tech-grid {
    row-gap: 14px;
  }
  .fields-item figcaption {
    margin-top: 6px;
    font-size: 18px;
  }
  .fields-more {
    margin-top: 12px;
    font-size: 15px;
  }
  .info-list dt,
  .info-list dd {
    font-size: 17px;
    line-height: 1.5;
    padding: 2px 0;
  }
  .info-list dd {
    font-size: 22px;
  }
  .info-list dd {
    grid-column: auto;
  }
  .info-list__image {
    width: 46%;
    max-width: 46%;
  }
  .info-list__row--representative .info-list__image {
    width: 60%;
    max-width: 60%;
  }
  .info-list__row--representative dd {
    font-size: 22px;
    line-height: 1.4;
  }
}
