/* ============================================
   CONSTRUCTION TRUST TEMPLATE
   総合建設業のコーポレート — 紺 × 白 × 細い金の線
============================================ */

:root {
  --navy: #0f2a4a; /* 紺（メイン） */
  --navy-deep: #0a1d34; /* 紺（濃・フッター／上帯） */
  --navy-soft: #2c4a6e; /* 紺（淡・補助） */
  --gold: #b8975a; /* 金（細い線・番号だけに使う差し色） */
  --gold-pale: #e8dcc4;
  --sky: #9cc3e0; /* 水色（紺地の上の小さな文字） */
  --white: #ffffff;
  --paper: #f5f6f8; /* うすい灰（セクションの地） */
  --ink: #1d2733; /* 本文 */
  --muted: #5f6b78;
  --line: #d9dee5;
  --font-title: "Noto Serif JP", serif; /* 見出し */
  --font-body: "Noto Sans JP", sans-serif; /* 本文 */
  --container: 1180px;
  --header-h: 112px; /* 上帯 + ヘッダー本体 */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  letter-spacing: 0.04em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 0;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
}
.skip-link:focus {
  top: 8px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sp-only {
  display: none;
}

/* ---------- ボタン（角は落とさない） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.btn::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.btn:hover::after {
  width: 28px;
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-deep);
}
.btn--line {
  border-color: var(--navy);
  color: var(--navy);
}
.btn--line:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn--gold:hover {
  background: #c9ab72;
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.btn--ghost:hover {
  background: var(--white);
  color: var(--navy);
}
.btn--wide {
  width: 100%;
  min-height: 56px;
}

/* ============================================
   HEADER
============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.header.is-scrolled {
  box-shadow: 0 2px 14px rgba(15, 42, 74, 0.08);
}

.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.06em;
  transition:
    margin-top 0.3s,
    opacity 0.3s;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 32px;
}
.topbar__tel a {
  color: var(--white);
  font-weight: 500;
}
.topbar__tel span {
  margin-left: 12px;
  color: var(--sky);
}
.header.is-scrolled .topbar {
  margin-top: -32px;
  opacity: 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  flex-shrink: 0;
}
.logo__mark {
  width: 40px;
  height: 40px;
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-family: var(--font-title);
}
.logo__kabu {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.logo__name {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__list {
  display: flex;
  gap: 24px;
}
.nav__list a {
  position: relative;
  display: block;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__list a:hover::after {
  transform: scaleX(1);
}
.nav__cta {
  display: flex;
  gap: 8px;
}
.nav__cta .btn {
  min-height: 44px;
  padding: 0 16px;
  font-size: 13px;
}
.nav__cta .btn::after {
  display: none;
}
.nav__tel {
  display: none;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  z-index: 120;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 1.5px;
  background: var(--navy);
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-toggle span:nth-child(1) {
  top: 17px;
}
.nav-toggle span:nth-child(2) {
  top: 23px;
}
.nav-toggle span:nth-child(3) {
  top: 29px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================
   HERO（左に紺のパネル、右に写真）
============================================ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: min(720px, calc(100svh - 112px));
  background: var(--navy);
  color: var(--white);
}
.hero__photo {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  overflow: hidden;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 写真の左端を紺へなじませる細い帯 */
.hero__photo::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--gold);
  z-index: 1;
}
.hero__panel {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 56px 140px max(32px, calc((100vw - var(--container)) / 2 + 32px));
}
.hero__since {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--sky);
}
.hero__since::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.hero__title {
  margin: 28px 0 28px;
  font-family: var(--font-title);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.1em;
}
.hero__title span {
  display: block;
}
.hero__lead {
  max-width: 30em;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
/* 写真の下端にかかる実績の帯 */
.hero__facts {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  background: var(--white);
  color: var(--navy);
  z-index: 2;
}
.hero__facts div {
  padding: 22px 36px;
  border-left: 1px solid var(--line);
}
.hero__facts div:first-child {
  border-left: 0;
}
.hero__facts dt {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.hero__facts dd {
  font-family: var(--font-title);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
}
.hero__facts small {
  margin-left: 4px;
  font-size: 14px;
}

/* ヒーローは読み込み時に一度だけフェード（JSで .is-ready） */
.js .hero__panel > *,
.js .hero__facts {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.js .hero.is-ready .hero__panel > *,
.js .hero.is-ready .hero__facts {
  opacity: 1;
  transform: none;
}
.js .hero.is-done .hero__panel > *,
.js .hero.is-done .hero__facts {
  opacity: 1;
  transform: none;
  transition: none;
}
.js .hero.is-ready .hero__panel > :nth-child(2) {
  transition-delay: 0.1s;
}
.js .hero.is-ready .hero__panel > :nth-child(3) {
  transition-delay: 0.2s;
}
.js .hero.is-ready .hero__panel > :nth-child(4) {
  transition-delay: 0.3s;
}
.js .hero.is-ready .hero__facts {
  transition-delay: 0.4s;
}

/* ============================================
   NEWS
============================================ */
.news {
  border-bottom: 1px solid var(--line);
}
.news__inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.news__title {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  padding-top: 6px;
  border-top: 2px solid var(--navy);
  align-self: start;
}
.news__list li {
  display: grid;
  grid-template-columns: 110px 84px 1fr;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}
.news__list li:first-child {
  padding-top: 0;
}
.news__list time {
  font-family: var(--font-title);
  color: var(--muted);
  letter-spacing: 0.06em;
}
.news__list a:hover {
  color: var(--navy-soft);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.tag {
  display: inline-block;
  padding: 0 8px;
  border: 1px solid var(--gold);
  color: #8a6d38;
  font-size: 12px;
  text-align: center;
  line-height: 1.9;
}
.tag--navy {
  border-color: var(--navy);
  color: var(--navy);
}

/* ============================================
   セクション共通・見出し
============================================ */
.section {
  padding: 120px 0;
}

.sec-head {
  margin-bottom: 48px;
}
.sec-head__no {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.sec-head__no::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--gold);
}
.sec-head__title {
  margin-top: 14px;
  font-family: var(--font-title);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
  color: var(--navy);
}
.sec-head--light .sec-head__title {
  color: var(--white);
}
.sec-head--row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: end;
  column-gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.sec-head--row .sec-head__no {
  grid-column: 1;
  grid-row: 1;
}
.sec-head--row .sec-head__title {
  grid-column: 1;
  grid-row: 2;
}
.sec-head__note {
  grid-column: 3;
  grid-row: 1 / 3;
  max-width: 34em;
  justify-self: end;
  font-size: 14px;
  color: var(--muted);
}

.sub-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 80px 0 28px;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.sub-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ============================================
   MESSAGE（代表挨拶）
============================================ */
.message__grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}
.message__catch span,
.recruit__catch span {
  display: inline-block;
}
.message__catch {
  margin-bottom: 32px;
  font-family: var(--font-title);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1.7;
  color: var(--navy);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.message__body > p:not(.message__catch) {
  margin-bottom: 1.4em;
  font-size: 15.5px;
  text-align: justify;
}
.message__sign {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 36px;
  font-family: var(--font-title);
}
.message__sign span {
  font-size: 14px;
  color: var(--muted);
}
.message__sign strong {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--navy);
}
.message__photo {
  position: relative;
  margin-top: 40px;
}
.message__photo::before {
  content: "";
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.message__photo img {
  width: 100%;
  aspect-ratio: 9 / 11;
  object-fit: cover;
}
.message__photo figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   BUSINESS（事業内容）
============================================ */
.business {
  background: var(--paper);
}
.biz-main {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  margin-top: 64px;
  background: var(--white);
}
.biz-main__photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.biz-main__text {
  padding: 52px 48px;
}
.biz-main--reverse .biz-main__photo {
  order: 2;
}
.biz-main--reverse {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.biz-main__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--navy);
}
.biz-main__label span {
  font-weight: 400;
  color: var(--muted);
}
.biz-main h3 {
  margin: 14px 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gold);
  font-family: var(--font-title);
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--navy);
}
.biz-main__text > p:not(.biz-main__label) {
  font-size: 15px;
}
.biz-main__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin-top: 20px;
  font-size: 14px;
}
.biz-main__list li {
  padding-left: 16px;
  position: relative;
}
.biz-main__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 7px;
  height: 1px;
  background: var(--navy);
}

.biz-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  border-top: 1px solid var(--navy);
}
.biz-sub li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 28px 24px 28px 0;
  border-bottom: 1px solid var(--line);
}
.biz-sub li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.biz-sub img {
  width: 96px;
  height: 96px;
  object-fit: cover;
}
.biz-sub h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.biz-sub p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ============================================
   WORKS（施工実績）
============================================ */
.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 40px 0 32px;
  border: 1px solid var(--navy);
  width: fit-content;
  max-width: 100%;
}
.works-filter__btn {
  min-height: 44px;
  padding: 0 24px;
  border: 0;
  border-left: 1px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background-color 0.25s,
    color 0.25s;
}
.works-filter__btn:first-child {
  border-left: 0;
}
.works-filter__btn[aria-pressed="true"] {
  background: var(--navy);
  color: var(--white);
}
.works-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 32px;
  margin-top: 40px;
}
.works-filter:not([hidden]) + .works-list {
  margin-top: 0;
}
.work[hidden] {
  display: none !important;
}
.work figure {
  overflow: hidden;
}
.work img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.work:hover img {
  transform: scale(1.03);
}
.work__body {
  padding-top: 18px;
}
.work__cat {
  display: inline-block;
  padding: 0 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.work h3 {
  margin: 10px 0 12px;
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--navy);
}
.work dl {
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.work dl div {
  display: grid;
  grid-template-columns: 4em 1fr;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.work dt {
  color: var(--muted);
}
.work__award {
  margin-top: 10px;
  font-size: 13px;
  color: #8a6d38;
}
.work__award::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  vertical-align: 1px;
}

/* ============================================
   SAFETY（紺地）
============================================ */
.safety {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.safety__bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
}
.safety__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.safety__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px 72px;
}
.safety__record {
  grid-column: 1;
  padding: 32px 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.safety__record-label {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--sky);
}
.safety__record-num {
  font-family: var(--font-title);
  font-size: clamp(56px, 7vw, 88px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.safety__record-num span {
  margin-left: 6px;
  font-size: 24px;
}
.safety__record-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.safety__list {
  grid-column: 2;
  grid-row: 1 / 3;
  counter-reset: safety;
}
.safety__list li {
  position: relative;
  padding: 26px 0 26px 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  counter-increment: safety;
}
.safety__list li:first-child {
  padding-top: 0;
}
.safety__list li::before {
  content: counter(safety, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--gold);
}
.safety__list li:first-child::before {
  top: -4px;
}
.safety__list h3 {
  font-family: var(--font-title);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
}
.safety__list p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
}

/* ============================================
   COMPANY（会社概要・沿革）
============================================ */
.company__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 72px;
  align-items: start;
}
.spec {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--navy);
  font-size: 15px;
}
.spec th,
.spec td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec th {
  width: 9.5em;
  background: var(--paper);
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
}
.spec__qual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
  gap: 2px 20px;
}
.spec__qual li {
  white-space: nowrap;
}
.spec__qual b {
  font-weight: 700;
  color: var(--navy);
}

.history {
  position: sticky;
  top: 110px;
  padding: 40px 32px;
  border: 1px solid var(--line);
  margin-top: 112px;
}
.history__title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: 0.14em;
}
.history__list {
  position: relative;
}
.history__list::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--gold);
}
.history__list li {
  position: relative;
  display: grid;
  grid-template-columns: 4em 1fr;
  gap: 4px 12px;
  padding: 0 0 18px 24px;
  font-size: 14px;
  line-height: 1.75;
}
.history__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--white);
  border: 1px solid var(--gold);
}
.history__list span {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--navy);
}

/* ============================================
   RECRUIT（採用情報）
============================================ */
.recruit {
  padding-top: 0;
  background: var(--paper);
}
.recruit__hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--navy-deep);
}
.recruit__hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.recruit__hero-text {
  position: relative;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 64px;
}
.recruit__hero .sec-head {
  margin-bottom: 20px;
}
.recruit__catch {
  font-family: var(--font-title);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
}
.recruit__intro {
  max-width: 760px;
  margin: 0 0 0 auto;
  padding: 48px 0 0;
  font-size: 15.5px;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.jobs {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14.5px;
}
.jobs th,
.jobs td {
  padding: 16px 18px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.jobs thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.1em;
  border-color: var(--navy);
}
.jobs tbody th {
  white-space: nowrap;
  color: var(--navy);
  font-weight: 700;
}

.terms {
  margin-top: 24px;
  background: var(--white);
  border-top: 1px solid var(--navy);
}
.terms div {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.terms dt {
  font-weight: 700;
  color: var(--navy);
}

.voices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.voice {
  background: var(--white);
  border-top: 3px solid var(--navy);
  display: flex;
  flex-direction: column;
}
.voice img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.voice blockquote {
  flex: 1;
  padding: 24px 24px 12px;
  font-size: 14.5px;
}
.voice figcaption {
  padding: 0 24px 24px;
  font-size: 13px;
  color: var(--muted);
}
.voice figcaption strong {
  display: block;
  font-family: var(--font-title);
  font-size: 16px;
  color: var(--navy);
}
/* 2人目だけ一段下げて、3枚の均一感を崩す */
.voice:nth-child(2) {
  margin-top: 48px;
}

.day {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid var(--navy);
  border-left: 1px solid var(--line);
  background: var(--white);
}
.day li {
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.day time {
  display: block;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}
.day p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.7;
}

/* ---------- フォーム共通 ---------- */
.form-block {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 56px;
  margin-top: 96px;
  padding: 56px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}
.form-block__head h3 {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.form-block__head p {
  font-size: 14.5px;
  color: var(--muted);
}

.form__row {
  margin-bottom: 20px;
  border: 0;
}
.form__row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form label,
.form legend {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
}
.form em {
  margin-left: 6px;
  padding: 0 6px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-style: normal;
  vertical-align: 2px;
}
.form input:not([type="radio"]),
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #b9c2cd;
  border-radius: 0;
  background: var(--white);
  font-size: 16px;
}
.form textarea {
  resize: vertical;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(15, 42, 74, 0.15);
}
.form .is-invalid {
  border-color: #b3402d !important;
  background: #fdf5f3 !important;
}
.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.radios label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}
.radios input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}
.radios--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10em, 1fr));
  gap: 0 16px;
}
.radios.is-invalid {
  outline: 1px solid #b3402d;
  outline-offset: 4px;
}
.form__msg {
  margin-top: 14px;
  min-height: 1.9em;
  font-size: 14px;
  color: var(--navy);
}

/* ============================================
   CONTACT
============================================ */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 72px;
}
.contact__side p {
  font-size: 15px;
}
.contact__tel {
  margin: 28px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact__tel span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.contact__tel a {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
}
.contact__note {
  font-size: 13px !important;
  color: var(--muted);
}

/* ============================================
   ACCESS
============================================ */
.access {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  background: var(--navy);
  color: var(--white);
}
.access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.6);
}
.access__info {
  padding: 64px 56px;
}
.access__info h2 {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gold);
}
.access__info dl div {
  display: grid;
  grid-template-columns: 5em 1fr;
  gap: 12px;
  padding: 10px 0;
  font-size: 14.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.access__info dt {
  color: var(--sky);
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer__name {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.footer__license {
  margin-top: 8px;
  font-size: 12px;
  color: var(--sky);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 4px 40px;
  align-content: start;
}
.footer__nav a {
  display: inline-block;
  padding: 6px 0;
}
.footer__nav a:hover {
  color: var(--white);
}
.footer__copy {
  padding: 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ============================================
   リビール（控えめなフェード）
============================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1180px) {
  .nav__cta .btn--line {
    display: none;
  }
  .nav__list {
    gap: 18px;
  }
  .message__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .message__grid .sec-head {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
}

@media (max-width: 1024px) {
  /* ---- モバイルメニュー ---- */
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    padding: 96px 32px 40px;
    background: var(--navy);
    color: var(--white);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-16px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0.3s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
  .nav__list a {
    padding: 14px 0;
    font-family: var(--font-title);
    font-size: 18px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }
  .nav__list a::after {
    display: none;
  }
  .nav__cta {
    flex-direction: column;
  }
  .nav__cta .btn,
  .nav__cta .btn--line {
    display: flex;
    min-height: 52px;
    font-size: 15px;
  }
  .nav__cta .btn--navy {
    background: var(--gold);
    color: var(--navy-deep);
  }
  .nav__cta .btn--line {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
  }
  .nav__tel {
    display: block;
    font-size: 13px;
    color: var(--sky);
  }
  .nav__tel a {
    display: block;
    font-family: var(--font-title);
    font-size: 28px;
    color: var(--white);
  }
  .nav-toggle[aria-expanded="true"] {
    position: fixed;
    top: 16px;
    right: 16px;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
  }
  .nav-toggle[aria-expanded="true"] span {
    background: var(--white);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero__photo {
    grid-column: 1;
    grid-row: 1;
    height: 52vw;
    min-height: 260px;
  }
  .hero__photo::before {
    inset: auto 0 0 0;
    width: auto;
    height: 4px;
  }
  .hero__panel {
    grid-column: 1;
    grid-row: 2;
    padding: 48px 32px;
  }
  .hero__facts {
    position: static;
    grid-row: 3;
    grid-template-columns: repeat(3, 1fr);
  }
  .hero__facts div {
    padding: 18px 16px;
  }

  .section {
    padding: 88px 0;
  }
  .sec-head--row {
    grid-template-columns: 1fr;
  }
  .sec-head__note {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    margin-top: 14px;
  }

  .biz-main,
  .biz-main--reverse {
    grid-template-columns: 1fr;
  }
  .biz-main--reverse .biz-main__photo {
    order: 0;
  }
  .biz-main__text {
    padding: 36px 32px;
  }
  .biz-sub {
    grid-template-columns: 1fr;
  }
  .biz-sub li,
  .biz-sub li + li {
    padding: 22px 0;
    border-left: 0;
  }

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

  .safety__grid {
    grid-template-columns: 1fr;
  }
  .safety__list {
    grid-column: 1;
    grid-row: auto;
    margin-top: 24px;
  }

  .company__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .history {
    position: static;
    margin-top: 0;
  }

  .voices {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .voice {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: 1fr auto;
  }
  .voice img {
    grid-row: 1 / 3;
    height: 100%;
  }
  .voice:nth-child(2) {
    margin-top: 0;
  }
  .day {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-block,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-block {
    padding: 40px 32px;
  }

  .access {
    grid-template-columns: 1fr;
  }
  .access__map iframe {
    min-height: 320px;
  }
  .access__info {
    padding: 48px 32px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }
  .container {
    padding: 0 20px;
  }
  .sp-only {
    display: inline;
  }
  html {
    scroll-padding-top: 72px;
  }

  .topbar {
    display: none;
  }
  .header__inner {
    min-height: 68px;
  }
  .logo__mark {
    width: 34px;
    height: 34px;
  }
  .logo__name {
    font-size: 20px;
  }

  .hero__panel {
    padding: 40px 20px 44px;
  }
  .hero__title {
    font-size: 32px;
    margin: 20px 0;
  }
  .hero__lead {
    font-size: 14.5px;
  }
  .hero__cta .btn {
    flex: 1 1 100%;
  }
  .hero__facts div {
    padding: 14px 10px;
  }
  .hero__facts dt {
    font-size: 11px;
    line-height: 1.5;
  }
  .hero__facts dd {
    font-size: 22px;
  }
  .hero__facts small {
    font-size: 12px;
  }

  .news__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news__title {
    justify-self: start;
    padding-right: 24px;
  }
  .news__list li {
    grid-template-columns: auto auto;
    justify-content: start;
    gap: 4px 12px;
  }
  .news__list a {
    grid-column: 1 / -1;
  }

  .section {
    padding: 72px 0;
  }
  .sec-head {
    margin-bottom: 32px;
  }

  .message__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .message__photo {
    margin: 0 0 0 14px;
  }

  .biz-main {
    margin-top: 40px;
  }
  .biz-main__text {
    padding: 28px 20px 32px;
  }
  .biz-main__list {
    grid-template-columns: 1fr;
  }
  .biz-sub li {
    grid-template-columns: 80px 1fr;
  }
  .biz-sub img {
    width: 80px;
    height: 80px;
  }

  .works-filter {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .works-filter__btn {
    padding: 0 8px;
  }
  .works-filter__btn:nth-child(3) {
    border-left: 0;
  }
  .works-filter__btn:nth-child(n + 3) {
    border-top: 1px solid var(--navy);
  }
  .works-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .safety__list li {
    padding-left: 48px;
  }

  /* 会社概要の表はスマホで縦積み */
  .spec,
  .spec tbody,
  .spec tr,
  .spec th,
  .spec td {
    display: block;
    width: 100%;
  }
  .spec th {
    padding: 10px 14px;
    border-bottom: 0;
  }
  .spec td {
    padding: 12px 14px 18px;
  }
  .history {
    padding: 32px 20px;
  }

  .recruit__hero {
    min-height: 380px;
  }
  .recruit__intro {
    padding-top: 36px;
  }
  .terms div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .voice {
    display: flex;
  }
  .voice img {
    aspect-ratio: 4 / 3;
  }
  .day {
    grid-template-columns: 1fr;
  }
  .day li {
    display: grid;
    grid-template-columns: 4em 1fr;
    gap: 12px;
    align-items: baseline;
    padding: 12px 14px;
  }
  .day time {
    font-size: 17px;
  }
  .day p {
    margin: 0;
  }

  .form-block {
    margin-top: 64px;
    padding: 32px 20px;
  }
  .form__row--half {
    grid-template-columns: 1fr;
  }
  .contact__tel a {
    font-size: 28px;
  }

  .access__info {
    padding: 40px 20px;
  }
  .footer__inner {
    flex-direction: column;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal],
  .js .hero__panel > *,
  .js .hero__facts {
    opacity: 1;
    transform: none;
  }
}
