@charset "UTF-8";

/* ============================================================
   吉拓株式会社 コーポレートサイト
   style.css  ―  骨組み（レスポンシブ対応）
   ------------------------------------------------------------
   目次
   00. Design Tokens（カラー・タイポ・余白）
   01. Reset / Base
   02. Layout Utilities
   03. Components（ボタン・カード・タグ 等）
   04. Header / Global Navigation
   05. Hero（ファーストビュー）
   06. Clients（取引先ロゴ）
   07. Services（事業内容）
   08. Company（会社概要）
   09. Works（実績・導入事例）
   10. News（お知らせ）
   11. Sustainability
   12. Recruit（採用情報）
   13. Contact（お問い合わせ）
   14. Footer
   15. Responsive（@media）
   ============================================================ */


/* ============================================================
   00. Design Tokens
   ============================================================ */
:root {
  /* --- Color：白 × 深い紺 を基調に、誠実さ・清潔感を表現 --- */
  --navy-900: #05182f;   /* 最も濃い紺（フッター・コントラスト用） */
  --navy-800: #0b2545;   /* ベースカラー（見出し・背景） */
  --navy-700: #13355f;
  --navy-600: #1d4e89;   /* アクセント（リンク・ボタン） */
  --navy-500: #3a6ea5;
  --navy-100: #e8eef6;   /* 淡い紺（背景ティント） */
  --navy-050: #f4f7fb;

  --white:    #ffffff;
  --gray-050: #f7f8fa;
  --gray-100: #eceef2;
  --gray-300: #ccd2dc;
  --gray-500: #7a838f;
  --gray-700: #4a525c;
  --ink:      #1a1f26;   /* 本文テキスト */

  --accent:   #b8935a;   /* ゴールド系アクセント（ごく少量） */

  /* --- Typography --- */
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --font-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-en: "Helvetica Neue", Arial, sans-serif;

  /* --- Layout --- */
  --container: 1180px;
  --container-narrow: 900px;
  --gutter: 24px;
  --header-h: 80px;

  /* --- Effects --- */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(11, 37, 69, .08);
  --shadow-md: 0 6px 24px rgba(11, 37, 69, .10);
  --shadow-lg: 0 16px 48px rgba(11, 37, 69, .14);
  --ease: cubic-bezier(.2, .7, .3, 1);
}


/* ============================================================
   01. Reset / Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "palt" 1;
  overflow-wrap: break-word;
}

body.is-nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
a:hover { color: var(--navy-600); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

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

.skip-link {
  position: absolute;
  left: 0; top: -100px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--navy-800);
  color: var(--white);
}
.skip-link:focus { top: 0; color: var(--white); }

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


/* ============================================================
   02. Layout Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 112px; }
.section--tint { background: var(--navy-050); }
.section--navy { background: var(--navy-800); color: var(--white); }

.section__head { max-width: var(--container-narrow); margin-bottom: 56px; }
.section__en {
  margin-bottom: 10px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--navy-600);
}
.section--navy .section__en,
.section__head--invert .section__en { color: var(--navy-100); }

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .04em;
  color: var(--navy-800);
}
.section--navy .section__title { color: var(--white); }

.section__lead {
  margin-top: 22px;
  font-size: 16px;
  color: var(--gray-700);
}
.section--navy .section__lead { color: rgba(255, 255, 255, .82); }

.section__more { margin-top: 48px; text-align: center; }

.sub-title {
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-300);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy-800);
}

.txt-en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--gray-500);
}
.txt-link { color: var(--navy-100); text-decoration: underline; }

.pc-only { display: inline; }
.sp-only { display: none; }


/* ============================================================
   03. Components
   ============================================================ */

/* --- Button --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 34px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--navy-600); color: var(--white); }
.btn--primary:hover { background: var(--navy-700); color: var(--white); }

.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }

.btn--ghost {
  border-color: rgba(255, 255, 255, .7);
  color: var(--white);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: var(--white); color: var(--navy-800); }

.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn--lg { min-height: 64px; padding: 0 56px; font-size: 16px; }

.link-arrow { font-size: 14px; font-weight: 700; color: var(--navy-600); white-space: nowrap; }
.link-arrow::after { content: " →"; }

/* --- Card grid --- */
.cards { display: grid; gap: 28px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 36px 30px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.card__icon {
  width: 52px; height: 52px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-700);
}
.card__icon svg { width: 26px; height: 26px; stroke-linecap: round; stroke-linejoin: round; }

.card__num {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy-100);
}
.card__title {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy-800);
}
.card__text { font-size: 15px; color: var(--gray-700); }

/* --- Tag --- */
.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--navy-100);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy-700);
}

/* --- Check list --- */
.check-list { display: grid; gap: 10px; margin-top: 26px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: .62em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--navy-600);
  border-bottom: 2px solid var(--navy-600);
  transform: rotate(-45deg);
}

/* --- Image placeholder（写真差し替え用） --- */
.img-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  background:
    repeating-linear-gradient(-45deg, var(--gray-050) 0 12px, var(--gray-100) 12px 24px);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.img-placeholder--portrait { aspect-ratio: 4 / 5; }

/* --- Table --- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }


/* ============================================================
   04. Header / Global Navigation
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), background-color .3s var(--ease),
              border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--gray-100);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  line-height: 1.25;
}
/* ブランドマーク（iFUTURE）と社名の区切り */
.logo__mark {
  height: 26px;
  width: auto;
  flex-shrink: 0;
}
.logo__text {
  display: block;
  padding-left: 16px;
  border-left: 1px solid var(--gray-300);
}
.logo__ja {
  display: block;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--navy-800);
}
.logo__en {
  display: block;
  margin-top: 3px;
  font-family: var(--font-en);
  font-size: 9.5px;
  letter-spacing: .08em;
  color: var(--gray-500);
}

.gnav__list { display: flex; align-items: center; gap: 30px; }
.gnav__list > li > a {
  position: relative;
  display: block;
  padding-block: 6px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--navy-800);
}
.gnav__list > li:not(.gnav__cta) > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--navy-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.gnav__list > li:not(.gnav__cta) > a:hover::after { transform: scaleX(1); }
.gnav__cta > a { color: var(--white); }

/* --- Hamburger --- */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 96;              /* ドロワー(.gnav)より前面に置き、閉じるボタンを常に触れるようにする */
  width: 44px; height: 44px;
  flex-shrink: 0;
}
.nav-toggle__bar {
  position: absolute;
  left: 10px;
  width: 24px; height: 2px;
  background: var(--navy-800);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 15px; }
.nav-toggle__bar:nth-child(2) { top: 21px; }
.nav-toggle__bar:nth-child(3) { top: 27px; }
/* 開いているときは紺色のドロワー上に重なるため、線を白へ反転 */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: var(--white); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 24, 47, .45);
}


/* ============================================================
   05. Hero
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(100svh, 900px);
  padding-top: var(--header-h);
  color: var(--white);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(5, 24, 47, .92) 0%, rgba(5, 24, 47, .72) 42%, rgba(5, 24, 47, .25) 100%),
    linear-gradient(to top, rgba(5, 24, 47, .85) 0%, rgba(5, 24, 47, 0) 45%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 80px;
}

.hero__eyebrow {
  margin-bottom: 26px;
  padding-left: 54px;
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .85);
}
.hero__eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: .8em;
  width: 40px; height: 1px;
  background: rgba(255, 255, 255, .6);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.6vw, 68px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .05em;
  text-shadow: 0 2px 24px rgba(5, 24, 47, .4);
}

.hero__lead {
  max-width: 640px;
  margin-top: 30px;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 2.1;
  color: rgba(255, 255, 255, .9);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

/* --- Key Data --- */
.hero__stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .22);
  background: rgba(5, 24, 47, .5);
  backdrop-filter: blur(6px);
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.stats__item {
  padding: 26px 12px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .16);
}
.stats__item:first-child { border-left: 0; }

.stats__num {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--white);
}
.stats__num small { font-size: .55em; margin-left: 2px; }
.stats__label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .78);
}


/* ============================================================
   06. Clients（取引先ロゴ）
   ============================================================ */
.clients { padding-block: 56px; border-bottom: 1px solid var(--gray-100); }
.clients__title {
  margin-bottom: 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  color: var(--gray-500);
}
.clients__note { margin-top: 24px; text-align: center; font-size: 14px; }
.clients__note a { color: var(--navy-600); font-weight: 700; text-decoration: underline; }

.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.logo-marquee:hover .logo-marquee__track { animation-play-state: paused; }
.logo-marquee__track img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- ロゴ一覧グリッド --- */
.client-list { margin-top: 96px; }
.client-list__note { margin-top: -18px; margin-bottom: 34px; font-size: 13px; color: var(--gray-500); }
.client-group + .client-group { margin-top: 44px; }
.client-group__title {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy-700);
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
/* 罫線は box-shadow で描画（余りのセルに背景色が出ないようにするため） */
.logo-grid li {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: 18px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--gray-100);
}
.logo-grid img {
  max-height: 46px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .62;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.logo-grid li:hover img { filter: grayscale(0); opacity: 1; }


/* ============================================================
   07. Services
   ============================================================ */
.card--service { text-align: left; }

.strength {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 88px;
  padding: 56px;
  background: var(--navy-050);
  border-radius: var(--radius-lg);
}
.strength__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.strength__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.strength__title {
  margin: 12px 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 600;
  line-height: 1.6;
  color: var(--navy-800);
}
.strength__text { font-size: 15px; color: var(--gray-700); }


/* ============================================================
   08. Company
   ============================================================ */
.greeting {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 96px;
}
.greeting__figure { position: sticky; top: calc(var(--header-h) + 32px); }
.greeting__caption { margin-top: 18px; }
.greeting__role { display: block; font-size: 13px; letter-spacing: .06em; color: var(--gray-500); }
.greeting__name {
  display: block;
  margin-top: 2px;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--navy-800);
}
.greeting__title {
  margin: 12px 0 26px;
  font-family: var(--font-serif);
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.65;
  color: var(--navy-800);
}
.greeting__body p + p { margin-top: 22px; }
.greeting__body p { color: var(--gray-700); }

.philosophy { margin-bottom: 88px; }
.card--philosophy { background: var(--white); }

.history { margin-bottom: 88px; }
.timeline { position: relative; padding-left: 8px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 1px;
  background: var(--gray-300);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 0 0 34px 40px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 3px; top: 9px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--navy-600);
  box-shadow: 0 0 0 4px var(--navy-050);
}
.timeline__year {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--navy-600);
}
.timeline__body h4 { margin-bottom: 4px; font-size: 17px; font-weight: 700; color: var(--navy-800); }
.timeline__body p { font-size: 15px; color: var(--gray-700); }

.table-def { background: var(--white); border-top: 1px solid var(--gray-300); }
.table-def th,
.table-def td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-300);
  font-size: 15px;
  text-align: left;
  vertical-align: top;
}
.table-def th {
  width: 220px;
  font-weight: 700;
  color: var(--navy-800);
  background: var(--navy-050);
  white-space: nowrap;
}
.table-def td { color: var(--gray-700); }

.certs { margin-top: 88px; }
.cert-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}
.cert-list li {
  position: relative;
  padding: 14px 18px 14px 46px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
}
.cert-list li::before {
  content: "";
  position: absolute;
  left: 18px; top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--navy-600);
  box-shadow: inset 0 0 0 3px var(--white);
}


/* ============================================================
   09. Works
   ============================================================ */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.filter__btn {
  padding: 10px 22px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.filter__btn:hover { border-color: var(--navy-600); color: var(--navy-600); }
.filter__btn.is-active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

.work {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.work:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.work[hidden] { display: none; }

.work__media { overflow: hidden; background: var(--gray-100); }
.work__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.work:hover .work__media img { transform: scale(1.05); }

.work__body { padding: 26px 26px 30px; }
.work__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.work__year { font-family: var(--font-en); font-size: 13px; color: var(--gray-500); }
.work__title {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--navy-800);
}
.work__text { font-size: 14px; color: var(--gray-700); }


/* ============================================================
   10. News
   ============================================================ */
.news-list { border-top: 1px solid var(--gray-300); }
.news-item { border-bottom: 1px solid var(--gray-300); }
.news-item__link {
  display: grid;
  grid-template-columns: 130px 130px 1fr;
  align-items: center;
  gap: 20px;
  padding: 26px 8px;
  transition: background-color .25s var(--ease);
}
.news-item__link:hover { background: var(--white); }
.news-item__date {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--gray-500);
}
.news-item__cat {
  justify-self: start;
  padding: 3px 14px;
  border: 1px solid var(--navy-600);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-600);
  white-space: nowrap;
}
.news-item__title { font-size: 16px; font-weight: 500; color: var(--navy-800); }


/* ============================================================
   11. Sustainability
   ============================================================ */
.sustain {
  padding-block: 96px;
  background: var(--navy-800);
  color: var(--white);
}
.sustain__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
}
.sustain__title {
  margin: 12px 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.6;
}
.sustain__text { font-size: 15px; color: rgba(255, 255, 255, .82); }

.sustain__stats { display: grid; gap: 18px; }
.sustain__stats li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 26px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
}
.sustain__stats strong {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
}
.sustain__stats span { font-size: 13px; color: rgba(255, 255, 255, .78); }


/* ============================================================
   12. Recruit
   ============================================================ */
.recruit__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}
.card--point { background: var(--navy-050); border-color: transparent; }

.table-job { border-top: 2px solid var(--navy-800); }
.table-job th {
  padding: 16px 20px;
  background: var(--navy-050);
  border-bottom: 1px solid var(--gray-300);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  color: var(--navy-800);
}
.table-job td {
  padding: 20px;
  border-bottom: 1px solid var(--gray-300);
  font-size: 15px;
  vertical-align: middle;
}
.table-job tbody tr:hover { background: var(--navy-050); }


/* ============================================================
   13. Contact
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}

.form { display: grid; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form__field { display: grid; gap: 10px; }
.form__field > label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}
.req {
  padding: 2px 9px;
  border-radius: 3px;
  background: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--white);
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  font-family: inherit;
  font-size: 16px;   /* 16px未満だとiOSで自動ズームするため */
  line-height: 1.6;
  color: var(--white);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.form input::placeholder,
.form textarea::placeholder { color: rgba(255, 255, 255, .45); }
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--white);
  background: rgba(255, 255, 255, .13);
  outline: none;
}
.form select { appearance: none; background-image: none; }
.form select option { color: var(--ink); }
.form textarea { resize: vertical; min-height: 160px; }

.checkbox { display: flex; align-items: center; gap: 12px; font-size: 15px; cursor: pointer; }
.checkbox input { width: 20px; height: 20px; accent-color: var(--navy-500); flex-shrink: 0; }

.form__submit { margin-top: 8px; }

.contact__info {
  padding: 40px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
}
.contact__info-title {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .7);
}
.contact__info-title:not(:first-child) { margin-top: 34px; }
.contact__tel {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
}
.contact__tel a:hover { color: var(--navy-100); }
.contact__hours { margin-top: 4px; font-size: 13px; color: rgba(255, 255, 255, .72); }
.contact__address { font-size: 15px; color: rgba(255, 255, 255, .86); }


/* ============================================================
   14. Footer
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  padding-block: 72px;
}
.footer__logo {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--white);
}
.footer__en {
  margin-top: 6px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .5);
}
.footer__desc { margin-top: 20px; font-size: 14px; line-height: 1.9; }

.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col-title {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--white);
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { font-size: 14px; }
.footer__col a:hover { color: var(--white); }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.copyright {
  padding-block: 22px;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .55);
}

.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 1px solid rgba(255, 255, 255, .28);   /* 紺色セクション上でも輪郭が見えるように */
  color: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--navy-600); color: var(--white); }
.to-top svg { width: 20px; height: 20px; stroke-linecap: round; stroke-linejoin: round; }


/* ============================================================
   15. Responsive
   ============================================================ */

/* ---------- ~1180px：タブレット横 ---------- */
@media (max-width: 1180px) {
  .gnav__list { gap: 20px; }
  .gnav__list > li > a { font-size: 14px; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .strength { gap: 40px; padding: 40px; }
}

/* ---------- ~1024px：タブレット（ナビをドロワーへ） ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 68px; }

  .section { padding-block: 80px; }
  .section__head { margin-bottom: 44px; }

  /* --- Drawer navigation --- */
  .nav-toggle { display: block; }
  .gnav {
    position: fixed;
    top: 0; right: 0;
    z-index: 95;
    width: min(340px, 84vw);
    height: 100dvh;
    padding: calc(var(--header-h) + 24px) 28px 40px;
    background: var(--navy-800);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }
  .gnav.is-open { transform: translateX(0); }
  .gnav__list { display: block; }
  .gnav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .gnav__list > li > a {
    padding: 18px 4px;
    font-size: 16px;
    color: var(--white);
  }
  .gnav__cta { border-bottom: 0 !important; margin-top: 28px; }
  .gnav__cta > a { width: 100%; }

  /* --- Layout --- */
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .strength { grid-template-columns: 1fr; gap: 36px; }
  .greeting { grid-template-columns: 260px 1fr; gap: 40px; margin-bottom: 72px; }
  .greeting__figure { position: static; }
  .sustain__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact { grid-template-columns: 1fr; gap: 44px; }
  .recruit__points { grid-template-columns: 1fr; gap: 20px; }
  .footer__inner { grid-template-columns: 1fr; gap: 44px; padding-block: 56px; }
}

/* ---------- ~768px：スマートフォン ---------- */
@media (max-width: 768px) {
  :root { --gutter: 20px; }

  body { font-size: 15px; line-height: 1.85; }

  .pc-only { display: none; }
  .sp-only { display: inline; }

  .section { padding-block: 64px; }
  .section__lead { font-size: 15px; }
  .sub-title { font-size: 18px; }

  .btn { width: 100%; min-height: 54px; }
  .btn--sm { width: auto; }
  .section__more .btn { width: auto; }

  /* --- Header --- */
  .logo { gap: 10px; }
  .logo__mark { height: 20px; }
  .logo__text { padding-left: 10px; }
  .logo__ja { font-size: 18px; }
  .logo__en { font-size: 8px; }

  /* --- Hero --- */
  .hero { min-height: auto; }
  .hero__inner { padding-block: 64px 56px; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(5, 24, 47, .78) 0%, rgba(5, 24, 47, .68) 50%, rgba(5, 24, 47, .9) 100%);
  }
  .hero__title { font-size: clamp(26px, 7vw, 34px); }
  .hero__eyebrow { padding-left: 0; font-size: 11px; }
  .hero__eyebrow::before { display: none; }
  .hero__lead { margin-top: 22px; line-height: 1.95; }
  .hero__actions { margin-top: 32px; gap: 12px; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item {
    padding: 18px 8px;
    border-top: 1px solid rgba(255, 255, 255, .16);
  }
  .stats__item:nth-child(odd) { border-left: 0; }
  .stats__item:nth-child(-n+2) { border-top: 0; }
  .stats__item:last-child { grid-column: 1 / -1; }

  /* --- Clients --- */
  .clients { padding-block: 40px; }
  .logo-marquee__track { gap: 36px; animation-duration: 34s; }
  .logo-marquee__track img { height: 24px; }
  .client-list { margin-top: 64px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid li { padding: 12px; }
  .logo-grid img { max-height: 32px; }

  /* --- Services --- */
  .cards--3,
  .cards--4 { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 28px 24px; }
  .strength { margin-top: 56px; padding: 28px 22px; }
  .strength__media { gap: 12px; }

  /* --- Company --- */
  .greeting { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .greeting__figure { max-width: 220px; }
  .philosophy,
  .history { margin-bottom: 56px; }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-left: 32px;
    padding-bottom: 28px;
  }
  .timeline__year { font-size: 19px; }

  .table-def th,
  .table-def td { display: block; width: auto; padding: 0; border-bottom: 0; }
  .table-def tr {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-300);
  }
  .table-def th {
    margin-bottom: 6px;
    background: transparent;
    font-size: 13px;
    color: var(--navy-600);
    white-space: normal;
  }
  .table-def td { font-size: 15px; }

  .certs { margin-top: 56px; }
  .cert-list { grid-template-columns: 1fr; gap: 8px; }
  .cert-list li { padding: 12px 16px 12px 42px; font-size: 14px; }

  /* --- Works --- */
  .filter { gap: 8px; margin-bottom: 28px; }
  .filter__btn { padding: 8px 16px; font-size: 13px; }
  .work__body { padding: 22px 20px 24px; }

  /* --- News --- */
  .news-item__link {
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
    padding: 20px 4px;
  }
  .news-item__title { grid-column: 1 / -1; font-size: 15px; }

  /* --- Sustainability --- */
  .sustain { padding-block: 64px; }
  .sustain__stats li { padding: 16px 20px; gap: 14px; }
  .sustain__stats strong { font-size: 25px; }

  /* --- Recruit（テーブルをカード表示に） --- */
  .table-job thead { display: none; }
  .table-job { border-top: 0; }
  .table-job,
  .table-job tbody,
  .table-job tr,
  .table-job td { display: block; width: 100%; }
  .table-job tr {
    margin-bottom: 14px;
    padding: 18px 20px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
  }
  .table-job td { padding: 0; border-bottom: 0; }
  .table-job td + td { margin-top: 8px; }
  .table-job td[data-label]:not([data-label=""])::before {
    content: attr(data-label) "：";
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-500);
  }
  /* 職種名はカードの見出しとして扱うため、ラベルは省略 */
  .table-job td[data-label="募集職種"] {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-800);
  }
  .table-job td[data-label="募集職種"]:not([data-label=""])::before { content: none; }

  /* --- Contact --- */
  .form__row { grid-template-columns: 1fr; gap: 22px; }
  .contact__info { padding: 28px 22px; }
  .contact__tel { font-size: 26px; }

  /* --- Footer --- */
  .footer__nav { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* ---------- ~480px：小型スマートフォン ---------- */
@media (max-width: 480px) {
  .hero__title { line-height: 1.45; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__nav { grid-template-columns: 1fr; }
  .sustain__stats li { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ---------- 印刷 ---------- */
@media print {
  .site-header, .nav-toggle, .to-top, .hero__media, .logo-marquee { display: none !important; }
  body { color: #000; }
}
