@charset "UTF-8";
/* =========================================================================
   トレンドソフト開発株式会社 コーポレートサイト
   ========================================================================= */

:root {
  /* ===== 配色方針 =====
     白を基調とし、アクセントは明るいコーポレートブルー。
     国内の同業大手(ISB / SDEV 等)の実配色を調査して基準にしている。
       ISB : #397bdf / #3c72b9 / 背景 #f7f9fc / 本文 #1d1d1d / 副 #47bdd9
       SDEV: #0275d8 / #172882 / 背景 #eceeef / 本文 #292b2c
     フッターを含め濃色の面は一切使わない(ユーザー指摘により全廃)。
     --navy-* は見出しの文字色専用で、背景の塗りには使わないこと。
     グラデーションは写真の可読性確保を除き使用しない。 */
  --brand: #1961b5;         /* 主アクセント(白地の文字としてAA準拠) */
  --brand-strong: #0f4a92;  /* ホバー */
  --brand-light: #397bdf;   /* 罫線・下線・図の強調 */
  --brand-cyan: #47bdd9;    /* 副アクセント(ごく限定的に) */
  --brand-tint: #eaf2fc;    /* 淡い面 */

  --navy-900: #12233b;      /* 見出しの文字色(面の塗りには使わない) */
  --navy-800: #1b3253;

  --ink: #1d1d1d;
  --ink-2: #4f5a66;
  --ink-3: #78828e;

  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-soft-2: #eef2f7;
  --line: #e4e9f0;
  --line-strong: #ccd4de;

  --shadow-1: 0 1px 2px rgba(24, 40, 66, .05), 0 2px 6px rgba(24, 40, 66, .04);
  --shadow-2: 0 4px 12px rgba(24, 40, 66, .09), 0 14px 30px rgba(24, 40, 66, .08);

  --r-sm: 3px;
  --r-md: 5px;
  --r-lg: 8px;

  --header-h: 76px;
  --wrap: 1180px;

  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
          "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, -apple-system, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-locked { overflow: hidden; }

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

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

h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 3000;
  padding: 10px 18px; border-radius: var(--r-sm);
  background: var(--brand); color: #fff; font-weight: 700;
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

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

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.icon { width: 1em; height: 1em; flex: none; }

/* -------------------------------------------------------------------------
   ボタン
   ------------------------------------------------------------------------- */
/* ボタンは単色のみ。グラデーションは使用しない。 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 15px 30px; border: 1px solid transparent; border-radius: var(--r-sm);
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2;
  cursor: pointer; text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-sm { padding: 11px 22px; font-size: .87rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); }

.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-outline { background: #fff; border-color: var(--line-strong); color: var(--brand); }
.btn-outline:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 濃色の面に置く白ボタン */
.btn-light { background: #fff; border-color: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-tint); border-color: var(--brand-tint); }

/* -------------------------------------------------------------------------
   ヘッダー
   ------------------------------------------------------------------------- */
/* ヘッダーは白地・本文は黒。国内の同業大手はいずれも白ヘッダー。 */
.site-header {
  /* ドロワー(1020)より前面に置く。こうしないと開いている間ハンバーガーが押せない。 */
  position: fixed; inset: 0 0 auto 0; z-index: 1030; height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 2px 12px rgba(24, 40, 66, .1); }
.header-inner {
  max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); min-width: 0; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-text strong { font-size: 1.1rem; letter-spacing: .04em; color: var(--navy-900); }
.brand-text small { font-size: .655rem; color: var(--ink-3); letter-spacing: .06em; white-space: nowrap; }

.nav-desktop { display: flex; align-items: center; gap: 30px; }

/* メニューのリンク。
   ※ セレクタは必ず `.nav-desktop ul a` に限定すること。
     `.nav-desktop a` にすると詳細度(0,1,1)がボタン側の `.nav-cta`(0,1,0)を上回り、
     お問い合わせボタンの余白と高さの指定が打ち消されて表示が崩れる。 */
.nav-desktop ul { display: flex; align-items: center; gap: 26px; }
.nav-desktop ul a {
  position: relative; display: block; padding: 8px 0;
  font-size: .93rem; font-weight: 600; color: var(--ink);
  transition: color .18s ease;
}
.nav-desktop ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--brand-light); transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav-desktop ul a:hover { color: var(--brand); }
.nav-desktop ul a:hover::after,
.nav-desktop ul a.is-current::after { transform: scaleX(1); }
.nav-desktop ul a.is-current { color: var(--brand); }

/* お問い合わせボタン */
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 26px; border-radius: var(--r-sm);
  background: var(--brand); color: #fff;
  font-size: .9rem; font-weight: 700; line-height: 1; white-space: nowrap;
  transition: background-color .18s ease;
}
.nav-cta:hover { background: var(--brand-strong); color: #fff; }

/* ハンバーガー(モバイル) */
.nav-switch {
  position: absolute; top: 0; left: 0; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.nav-btn {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-right: -8px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-btn-bars { position: relative; display: block; width: 24px; height: 16px; }
.nav-btn-bars i {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--ink); transition: transform .26s ease, opacity .18s ease;
}
.nav-btn-bars i:nth-child(1) { top: 0; }
.nav-btn-bars i:nth-child(2) { top: 7px; }
.nav-btn-bars i:nth-child(3) { top: 14px; }

/* -------------------------------------------------------------------------
   モバイルドロワー
   ※ .nav-switch / .nav-scrim / .nav-drawer は body 直下の兄弟。
     header の内側に入れると backdrop-filter 等で fixed が壊れるため分離している。
   ------------------------------------------------------------------------- */
.nav-scrim {
  position: fixed; inset: 0; z-index: 1010;
  background: rgba(4, 10, 20, .55);
  opacity: 0; visibility: hidden; transition: opacity .26s ease, visibility .26s ease;
}
.nav-drawer {
  position: fixed; z-index: 1020;
  top: 0; right: 0; bottom: 0; width: min(84vw, 360px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  padding: calc(var(--header-h) + 20px) 24px 30px;
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -14px 0 40px rgba(24, 40, 66, .18);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  transform: translateX(102%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  visibility: hidden;
}

.nav-switch:checked ~ .nav-scrim { opacity: 1; visibility: visible; }
.nav-switch:checked ~ .nav-drawer { transform: translateX(0); visibility: visible; }
.nav-switch:checked ~ .site-header .nav-btn-bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-switch:checked ~ .site-header .nav-btn-bars i:nth-child(2) { opacity: 0; }
.nav-switch:checked ~ .site-header .nav-btn-bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer-list li + li { border-top: 1px solid var(--line); }
.drawer-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 17px 2px; color: var(--ink); font-weight: 600; font-size: 1.02rem;
}
.drawer-list a .icon { width: 18px; height: 18px; color: var(--brand); }

.drawer-foot { display: grid; gap: 14px; }
.drawer-tel {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: var(--navy-900); font-weight: 700; font-size: 1.02rem;
}
.drawer-tel .icon { color: var(--brand); }

@media (max-width: 940px) {
  .nav-desktop { display: none; }
  .nav-btn { display: flex; }
}

/* -------------------------------------------------------------------------
   ヒーロー
   ------------------------------------------------------------------------- */
/* 白地に写真を重ねる明るい構成。写真は3枚をゆっくり切り替え、
   さらに緩やかに拡大させて動きを出す(CSSのみで完結させJSに依存しない)。 */
.hero {
  position: relative; overflow: hidden; background: #fff;
  padding: calc(var(--header-h) + 84px) 0 76px;
}
.hero-photo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  animation: heroFade 21s linear infinite;
}
.hero-slide:nth-child(1) { animation-delay:   0s; }
.hero-slide:nth-child(2) { animation-delay:   7s; }
.hero-slide:nth-child(3) { animation-delay:  14s; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 45%;
  animation: heroZoom 21s ease-out infinite;
  animation-delay: inherit;
}
@keyframes heroFade {
  0%     { opacity: 0; }
  4%     { opacity: 1; }
  33.3%  { opacity: 1; }
  38%    { opacity: 0; }
  100%   { opacity: 0; }
}
@keyframes heroZoom {
  0%   { transform: scale(1.0); }
  38%  { transform: scale(1.08); }
  100% { transform: scale(1.08); }
}
/* 文字の可読性を確保するための白幕(機能目的) */
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(98deg, #fff 0%, rgba(255,255,255,.96) 34%, rgba(255,255,255,.72) 56%, rgba(255,255,255,.2) 100%);
}
@media (max-width: 900px) {
  .hero-photo::after { background: rgba(255, 255, 255, .9); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; }
  .hero-slide:nth-child(1) { opacity: 1; }
  .hero-slide:nth-child(2), .hero-slide:nth-child(3) { opacity: 0; }
  .hero-slide img { animation: none; }
}

.hero-inner { position: relative; max-width: 40em; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 20px; padding-left: 13px;
  border-left: 4px solid var(--brand-light);
  font-size: .76rem; font-weight: 700; letter-spacing: .18em; color: var(--brand);
}
.hero h1 {
  font-size: clamp(1.8rem, 4.6vw, 2.85rem); color: var(--navy-900);
  line-height: 1.44; letter-spacing: .005em; margin-bottom: .7em; font-weight: 700;
}
.hero h1 .accent { color: var(--brand); }
.hero-lead { font-size: 1.03rem; color: var(--ink-2); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-facts {
  position: relative; margin-top: 62px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); overflow: hidden;
}
.hero-fact { background: rgba(255, 255, 255, .94); padding: 24px 26px; }
.hero-fact .icon { width: 22px; height: 22px; color: var(--brand); margin-bottom: 10px; }
.hero-fact strong { display: block; font-size: 1.01rem; margin-bottom: 5px; color: var(--navy-900); }
.hero-fact span { font-size: .84rem; color: var(--ink-2); line-height: 1.75; display: block; }

@media (max-width: 900px) {
  .hero { padding: calc(var(--header-h) + 46px) 0 54px; }
  .hero-facts { margin-top: 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* -------------------------------------------------------------------------
   セクション共通
   ------------------------------------------------------------------------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
/* かつての濃色セクション。白ベースの方針に合わせ淡い青の面に変更している。 */
.section-dark { background: var(--brand-tint); }
@media (max-width: 700px) { .section { padding: 60px 0; } }

.eyebrow {
  font-size: .74rem; font-weight: 800; letter-spacing: .16em;
  color: var(--brand); margin: 0 0 12px;
}

.sec-head { max-width: 42em; margin-bottom: 46px; }
.sec-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-title {
  font-size: clamp(1.4rem, 3.2vw, 1.95rem); letter-spacing: .005em; color: var(--navy-900);
  padding-bottom: 16px; position: relative;
}
.sec-head.is-center .sec-title::after { left: 50%; transform: translateX(-50%); }
.sec-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 46px; height: 3px; background: var(--brand-light);
}
.sec-lead { margin-top: 18px; color: var(--ink-2); }
.lead-text { color: var(--ink-2); }

/* 出現アニメーション。スクロールに応じて下から浮かび上がらせる。 */
.reveal { opacity: 0; transform: translateY(30px); }
.js-on .reveal {
  transition: opacity .7s cubic-bezier(.22,.7,.25,1) var(--d, 0ms),
              transform .7s cubic-bezier(.22,.7,.25,1) var(--d, 0ms);
}
.js-on .reveal.is-in { opacity: 1; transform: none; }
html:not(.js-on) .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* -------------------------------------------------------------------------
   グリッド / カード
   ------------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  display: block; height: 100%; padding: 30px 26px 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card-link-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--brand-light); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 20px; border-radius: 14px;
  background: var(--brand-tint); border: 1px solid var(--line);
  color: var(--brand);
}
.card-icon .icon { width: 26px; height: 26px; }
.card-title { font-size: 1.08rem; margin-bottom: .5em; }
.card-text { font-size: .93rem; color: var(--ink-2); }
.card-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-size: .87rem; font-weight: 700; color: var(--brand);
}
.card-more .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.card-link-block:hover .card-more .icon { transform: translateX(4px); }

/* 写真つきカード */
.card-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-thumb {
  position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--bg-soft);
}
.card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.6,.2,1);
}
.card-link-block:hover .card-thumb img { transform: scale(1.05); }
.card-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 26, 46,0) 46%, rgba(11, 26, 46,.5) 100%);
}
.card-thumb-icon {
  position: absolute; z-index: 1; left: 16px; bottom: 14px;
  width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.94); color: var(--brand);
  box-shadow: 0 4px 12px rgba(11, 26, 46,.3);
}
.card-thumb-icon .icon { width: 21px; height: 21px; }
.card-photo-body { display: block; padding: 24px 24px 26px; }
/* アスペクト比未対応ブラウザ向けの保険 */
@supports not (aspect-ratio: 1 / 1) {
  .card-thumb { height: 200px; }
}

/* テキスト + 図版の2カラム */
.split {
  display: grid; gap: 50px; align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
}
.split.is-reverse .split-media { order: -1; }
.split-body .sec-head { margin-bottom: 26px; }
.split-media img { width: 100%; }
.photo-rounded {
  border-radius: var(--r-md); box-shadow: var(--shadow-2);
  aspect-ratio: 16 / 10; object-fit: cover;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.is-reverse .split-media { order: 0; }
  .split-media { max-width: 460px; margin: 0 auto; }
}

/* 数字つきの特徴 */
.reasons { display: grid; gap: 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; gap: 22px; } }
.reason { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; }
.reason-num {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1.05rem;
}

.reason h3 { font-size: 1.06rem; margin-bottom: .4em; }
.reason p { font-size: .93rem; color: var(--ink-2); }


/* チェックリスト */
.checks li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 15px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.checks li:first-child { padding-top: 0; }
.checks li:last-child { border-bottom: 0; padding-bottom: 0; }
.checks .mark {
  width: 28px; height: 28px; border-radius: 50%; margin-top: 3px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand);
}
.checks .mark .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.checks h3 { font-size: 1.2rem; margin-bottom: .45em; color: var(--navy-900); }
.checks p { font-size: .96rem; color: var(--ink-2); }
@media (max-width: 700px) { .checks h3 { font-size: 1.08rem; } }

/* -------------------------------------------------------------------------
   下層ページ見出し
   ------------------------------------------------------------------------- */
.page-head {
  position: relative; overflow: hidden;
  padding: calc(var(--header-h) + 46px) 0 52px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
/* 淡色の見出しは装飾なし。写真版(.has-photo)のみ写真を敷く。 */
.page-head-deco { display: none; }
.crumbs { font-size: .8rem; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs-sep { margin: 0 8px; color: var(--line-strong); }
.page-title { font-size: clamp(1.6rem, 4.2vw, 2.4rem); letter-spacing: -.01em; }
.page-lead { margin-top: 16px; max-width: 44em; color: var(--ink-2); }
.page-head .card-icon { margin-bottom: 18px; background: #fff; box-shadow: var(--shadow-1); }

/* 写真を敷いた見出し(白基調・写真は右側に淡く見せる) */
.page-head.has-photo {
  background: #fff; border-bottom: 1px solid var(--line);
  padding-bottom: 52px;
}
.page-head-photo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.page-head-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-head-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(98deg, #fff 0%, rgba(255,255,255,.97) 36%, rgba(255,255,255,.76) 58%, rgba(255,255,255,.28) 100%);
}
@media (max-width: 900px) {
  .page-head-photo::after { background: rgba(255, 255, 255, .93); }
}
.page-head.has-photo .container { position: relative; }
.page-head.has-photo .card-icon { background: var(--brand-tint); border-color: var(--brand-tint); }

/* 帯状の写真(会社概要など) */
.photo-band { position: relative; height: 300px; overflow: hidden; background: var(--bg-soft); }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .photo-band { height: 190px; }
  .page-head { padding: calc(var(--header-h) + 28px) 0 34px; }
}

/* -------------------------------------------------------------------------
   ステップ / タイムライン
   ------------------------------------------------------------------------- */
.steps { counter-reset: step; }
.step {
  position: relative; padding: 0 0 34px 62px; counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid var(--brand); color: var(--brand);
  font-weight: 800; font-size: .82rem; z-index: 1;
}
.step::after {
  content: ""; position: absolute; left: 21px; top: 42px; bottom: 0; width: 2px;
  background: var(--line-strong);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.08rem; margin-bottom: .35em; }
.step p { color: var(--ink-2); font-size: .95rem; }




/* -------------------------------------------------------------------------
   対応範囲(タグの羅列)
   ------------------------------------------------------------------------- */
.cat-card {
  background: #fff; border: 1px solid var(--line); padding: 26px 24px 24px; height: 100%;
}
.cat-title {
  font-size: 1.06rem; color: var(--navy-900); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--brand-light);
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li {
  padding: 7px 13px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--r-sm); font-size: .86rem; color: var(--ink-2); line-height: 1.5;
}

/* -------------------------------------------------------------------------
   採用情報
   ------------------------------------------------------------------------- */
.jobs { display: grid; gap: 26px; }
.job { border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-1); }
.job-head {
  display: flex; align-items: center; gap: 15px;
  padding: 20px 26px; background: var(--bg-soft);
  border-bottom: 1px solid var(--line); border-left: 4px solid var(--brand-light);
}
.job-head h3 { font-size: 1.22rem; color: var(--navy-900); }
.job-icon {
  flex: none; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: var(--brand);
}
.job-icon .icon { width: 21px; height: 21px; }
.job-body { padding: 28px 26px 30px; }
.job-body > p { color: var(--ink-2); font-size: .95rem; margin-bottom: 1.1em; }
.job-body > p:last-of-type { margin-bottom: 0; }
.job-req { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.job-req-head {
  font-weight: 700; font-size: .92rem; margin-bottom: 10px;
  padding-left: 11px; border-left: 3px solid var(--brand);
}
.job-req-head.is-sub { border-left-color: var(--line-strong); color: var(--ink-2); }

/* 点つきの箇条書き */
.dot-list li {
  position: relative; padding-left: 1.1em; margin-bottom: .45em;
  font-size: .93rem; color: var(--ink-2); line-height: 1.8;
}
.dot-list li:last-child { margin-bottom: 0; }
.dot-list li::before {
  content: ""; position: absolute; left: 0; top: .82em;
  width: 5px; height: 5px; background: var(--brand);
}

/* -------------------------------------------------------------------------
   表(会社概要)
   ------------------------------------------------------------------------- */
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 22px 18px; border-bottom: 1px solid var(--line); }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--line); }
.spec th { width: 220px; font-weight: 700; font-size: .93rem; color: var(--ink-2); background: var(--bg-soft); }
.spec td { font-size: .98rem; }
.spec ul li { padding-left: 1.15em; position: relative; }
.spec ul li::before {
  content: ""; position: absolute; left: 0; top: .78em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
@media (max-width: 680px) {
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: 100%; }
  .spec tr { border-bottom: 1px solid var(--line); padding: 16px 0; }
  .spec tr:first-child { border-top: 1px solid var(--line); }
  .spec th, .spec td { border: 0; padding: 0; background: none; }
  .spec th { font-size: .8rem; color: var(--ink-3); margin-bottom: 4px; }
}

/* 連絡先カード */
.contact-cards .card { display: flex; flex-direction: column; }
.contact-big {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.35rem; font-weight: 800; letter-spacing: .01em; color: var(--brand);
  margin-bottom: 6px; word-break: break-all;
}
.contact-big .icon { width: 22px; height: 22px; color: var(--brand); }
.contact-note { font-size: .86rem; color: var(--ink-3); }

/* -------------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line); background: #fff;
}
.faq summary {
  display: flex; align-items: flex-start; gap: 14px; cursor: pointer;
  padding: 24px 18px; font-weight: 700; font-size: 1.01rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; margin-left: auto; margin-top: .45em;
  width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .q-mark {
  flex: none; width: 26px; height: 26px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; font-size: .8rem; font-weight: 800;
}
.faq .faq-body {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px;
  padding: 0 18px 26px; color: var(--ink-2); font-size: .95rem;
}
.faq .a-mark {
  flex: none; width: 26px; height: 26px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand); font-size: .8rem; font-weight: 800;
}

/* -------------------------------------------------------------------------
   フォーム
   ------------------------------------------------------------------------- */
.form-wrap { max-width: 720px; }
.field { margin-bottom: 26px; }
.field > label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 9px; }
.tag-req, .tag-opt {
  display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 4px;
  font-size: .7rem; font-weight: 700; vertical-align: 2px;
}
.tag-req { background: #dc2626; color: #fff; }
.tag-opt { background: var(--bg-soft); color: var(--ink-3); border: 1px solid var(--line); }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm);
  transition: border-color .18s ease, box-shadow .18s ease;
}
textarea { min-height: 170px; resize: vertical; line-height: 1.75; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31, 78, 121, .16);
}
.err-msg { margin-top: 7px; color: #dc2626; font-size: .86rem; font-weight: 600; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #dc2626; }
.form-note { font-size: .87rem; color: var(--ink-3); margin-top: 4px; }
.form-note a { color: var(--brand); text-decoration: underline; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.notice { padding: 17px 20px; border-radius: var(--r-sm); margin-bottom: 28px; font-size: .95rem; }
.notice-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.notice-ok { background: #f0fdfa; border: 1px solid #99f6e4; color: #0f766e; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 完了画面 */
.result { max-width: 640px; margin: 0 auto; text-align: center; }
.result-mark {
  width: 78px; height: 78px; margin: 0 auto 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint); border: 1px solid var(--line);
  color: var(--brand);
}
.result-mark .icon { width: 38px; height: 38px; stroke-width: 2.4; }

/* -------------------------------------------------------------------------
   CTA
   ------------------------------------------------------------------------- */
.cta-section { padding: 0 0 88px; }
.section-soft + .cta-section, .cta-section.on-soft { background: var(--bg-soft); padding-top: 0; }
@media (max-width: 700px) { .cta-section { padding-bottom: 60px; } }
.cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px;
  padding: 46px 44px; border-radius: var(--r-lg); color: #fff;
  background: var(--brand);
}
.cta-body h2 { font-size: clamp(1.25rem, 2.8vw, 1.6rem); margin-bottom: .35em; }
.cta-body p { color: rgba(255, 255, 255, .76); font-size: .95rem; max-width: 32em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 13px; }
@media (max-width: 700px) {
  .cta { padding: 34px 24px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
}

/* -------------------------------------------------------------------------
   関連リンク
   ------------------------------------------------------------------------- */
.pill-links { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: #fff; font-size: .92rem; font-weight: 600;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}
.pill .icon { width: 18px; height: 18px; color: var(--brand); }
.pill:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

/* -------------------------------------------------------------------------
   本文(規約など)
   ------------------------------------------------------------------------- */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.18rem; margin: 2.2em 0 .7em; padding-left: 14px; border-left: 4px solid var(--brand); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-2); margin-bottom: 1.1em; }
.prose ul { margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 1.2em; color: var(--ink-2); margin-bottom: .4em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
}
.prose .sign { color: var(--ink-3); font-size: .88rem; margin-top: 2.4em; }
.prose a { color: var(--brand); text-decoration: underline; }
.prose a:hover { color: var(--brand-strong); }
/* 会社概要の表内リンク(電話・メール) */
.spec td a { color: var(--brand); text-decoration: underline; }
.spec td a:hover { color: var(--brand-strong); }

/* サイトマップ */
.sitemap-cols { display: grid; gap: 34px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 800px) { .sitemap-cols { grid-template-columns: 1fr; } }
.sitemap-cols h2 { font-size: 1.02rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--brand-light); }
.sitemap-cols li { border-bottom: 1px solid var(--line); }
.sitemap-cols li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 2px; font-size: .95rem;
}
.sitemap-cols li a .icon { width: 15px; height: 15px; color: var(--brand); }
.sitemap-cols li a:hover { color: var(--brand); }

/* 代表メッセージ */
.message-body { max-width: 46em; }
.message-body p { color: var(--ink-2); margin-bottom: 1.5em; font-size: 1.01rem; }
.message-sign { margin-top: 2.4em; text-align: right; }
.message-sign small { display: block; font-size: .82rem; color: var(--ink-3); margin-bottom: 4px; }
.message-sign strong { font-size: 1.2rem; }

/* 404 */
.notfound { padding: calc(var(--header-h) + 90px) 0 110px; text-align: center; }
.notfound .code {
  font-size: clamp(3.6rem, 14vw, 6.4rem); font-weight: 800; line-height: 1;
  color: var(--brand); margin-bottom: .25em;
}

/* -------------------------------------------------------------------------
   フッター
   ------------------------------------------------------------------------- */
/* フッターも白ベース。濃色の面は使わない。 */
.site-footer {
  background: var(--bg-soft); color: var(--ink-2);
  border-top: 3px solid var(--brand); padding: 62px 0 0;
}
.footer-top {
  display: grid; gap: 44px; padding-bottom: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; gap: 34px; } }
.footer-name { color: var(--ink); font-weight: 700; font-size: 1.06rem; margin-bottom: 14px; }
.footer-addr { font-size: .88rem; color: var(--ink-2); line-height: 1.9; margin-bottom: 18px; }
.footer-contact { display: grid; gap: 9px; }
.footer-contact a {
  display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 700;
  color: var(--ink); width: fit-content; word-break: break-all;
}
.footer-contact .icon { color: var(--brand); flex: none; }
.footer-contact a:hover { color: var(--brand); }

.footer-cols { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 620px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-col-head {
  color: var(--ink); font-weight: 700; font-size: .9rem; margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--line-strong);
}
.footer-col li { margin-bottom: 2px; }
.footer-col a { font-size: .875rem; color: var(--ink-2); line-height: 2.05; }
.footer-col a:hover { color: var(--brand); text-decoration: underline; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  padding: 20px 0; border-top: 1px solid var(--line-strong);
  font-size: .8rem; color: var(--ink-3);
}
