@charset "utf-8";
/* ==========================================================================
   株式会社セット 公式サイト 共通スタイル（2026 リニューアル / site.css）

   対象: index.html（トップ） / company.htm（企業情報） / service.htm（事業内容）
   ・HTML5 + UTF-8 + レスポンシブ。JavaScript は使用しない。
   ・旧 _files/*.css（import.css / add_top.css / flexslider.css）は読み込まない。
     旧デザインのまま残す design.htm が使っているため、旧 CSS は削除しないこと。
   ・ブランド色 #000040 は logo_set.png の実測値（最多出現ピクセル 920px）。
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. トークン
   -------------------------------------------------------------------------- */
:root {
  /* ブランド（濃紺）— #000040 がロゴ実測色 */
  --brand-950: #04081c;
  --brand-900: #000040;
  --brand-800: #0b1550;
  --brand-700: #152268;
  --brand-600: #24357e;

  /* アクセント */
  --accent: #4c9bf0;
  --accent-soft: #9cc8ff;
  --cyan: #38c6e0;

  /* 文字・面・罫 */
  --ink: #0e1526;
  --body: #3b4761;
  --muted: #6b7794;
  --line: #dde3ee;
  --line-soft: #edf1f7;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;

  /* 版面 */
  --maxw: 1120px;
  --gut: 24px;

  --font-sans: "IBM Plex Sans", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Courier New", monospace;

  --shadow-card: 0 1px 2px rgba(14, 21, 38, .04), 0 12px 28px rgba(14, 21, 38, .06);
  --shadow-lift: 0 2px 4px rgba(0, 0, 64, .08), 0 22px 48px rgba(0, 0, 64, .16);
}

/* --------------------------------------------------------------------------
   1. リセット
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--body);
  background: var(--bg);
  font-feature-settings: "palt" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--accent); }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 読み上げ専用 */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand-900); color: #fff; padding: 10px 18px;
}
.skip-link:focus { left: 0; color: #fff; }

/* 住所の番地・建物名など、途中で折り返したくないまとまり
   （狭い画面で「１１－１ / ７」のように分断されるのを防ぐ） */
.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   2. 版面
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 64px 0; }

/* セクション見出し（[ 01 ] SERVICE ＋ 和文大見出し） */
.sec-head { margin-bottom: 40px; }
.sec-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; color: var(--accent); text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-eyebrow::after {
  content: ""; flex: 1 1 auto; height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.sec-title {
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1.35; font-weight: 700;
  color: var(--ink); letter-spacing: .01em;
}
.sec-lead { margin-top: 16px; max-width: 46em; color: var(--body); }

/* --------------------------------------------------------------------------
   3. ヘッダ／グローバルナビ
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 16px; min-height: 74px;
}
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { width: 300px; height: auto; }

.gnav { display: flex; align-items: center; gap: 4px; }
.gnav a {
  position: relative; display: inline-block; padding: 10px 14px;
  font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.gnav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.gnav a:hover::after,
.gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--brand-700); }

/* お問い合わせ（ナビの外に置く。狭い画面でもここだけは常に見えるようにするため） */
.header-cta {
  flex: none; padding: 11px 20px; border-radius: 2px;
  background: var(--brand-900); color: #fff;
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background .25s ease;
}
.header-cta:hover { background: var(--brand-700); color: #fff; }

/* --------------------------------------------------------------------------
   4. ヒーロー（深藍の面 ＋ 写真 ＋ 設計図グリッド）
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(158deg, var(--brand-700) 0%, var(--brand-900) 54%, var(--brand-950) 100%);
}
/* 写真は文字焼き込みのない領域（元 top02.png の y=108-250）を切り出したもの。
   原寸が 900x142 と小さいため cover で引き伸ばさず、原寸比のまま下端に敷いて上端をぼかす。 */
.hero::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: -2;
  height: min(62%, 400px);
  background: url("hero.jpg") center bottom / 100% auto no-repeat;
  opacity: .42;
  filter: brightness(.66) contrast(1.06);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .5) 48%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .5) 48%, #000 100%);
}
/* 設計図のようなグリッド（業務システム屋のモチーフ） */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(156, 200, 255, .10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(156, 200, 255, .10) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(120% 90% at 78% 22%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 78% 22%, #000 0%, transparent 72%);
}
.hero__inner {
  position: relative;
  min-height: clamp(440px, 50vw, 580px);
  display: flex; flex-direction: column; justify-content: center;
  /* .wrap と併用しているので左右は必ず var(--gut) を維持する
     （0 にすると max-width が効かない幅で本文が画面端に貼り付く。実測で確認） */
  padding: 84px var(--gut) 0;
}
.hero__eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; color: var(--accent-soft); text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; margin-bottom: 26px;
}
.hero__eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--accent);
}
.hero__title {
  font-size: clamp(30px, 5vw, 56px); font-weight: 700; line-height: 1.32;
  letter-spacing: .015em; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 32, .45);
}
.hero__title span { display: block; }
.hero__title span + span { padding-left: clamp(0px, 4vw, 56px); }
.hero__lead {
  margin-top: 26px; max-width: 40em; font-size: clamp(15px, 1.4vw, 17px);
  line-height: 2; color: rgba(255, 255, 255, .86);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* 実績の数字 */
.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 72px);
  margin-top: clamp(40px, 6vw, 68px);
  padding: 26px 0 44px; border-top: 1px solid rgba(156, 200, 255, .22);
}
.stat__num {
  display: block; font-size: clamp(34px, 4.6vw, 52px); font-weight: 700;
  line-height: 1.1; color: #fff; letter-spacing: -.01em;
}
.stat__num small { font-size: .46em; font-weight: 600; margin-left: .18em; color: var(--accent-soft); }
.stat__label {
  display: block; margin-top: 8px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .1em; color: rgba(206, 226, 255, .94);
}

/* 下層ページの見出し帯 */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--brand-900); color: #fff; padding: 62px 0 56px;
}
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(110deg, rgba(0, 0, 64, .96) 0%, rgba(4, 8, 28, .9) 55%, rgba(21, 34, 104, .82) 100%),
    url("hero.jpg") center 70% / cover no-repeat, var(--brand-900);
}
.page-head__eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em;
  color: var(--accent-soft); text-transform: uppercase; margin-bottom: 12px;
}
.page-head__title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.3; color: #fff;
}
.page-head__lead { margin-top: 16px; max-width: 44em; color: rgba(255, 255, 255, .82); }

/* パンくず */
.breadcrumb {
  padding: 14px 0; font-size: 13px; color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "／"; margin-right: 8px; color: var(--line); }

/* --------------------------------------------------------------------------
   5. ボタン
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border: 1px solid transparent; border-radius: 2px;
  font-size: 15px; font-weight: 600; letter-spacing: .02em; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn::after {
  content: "→"; font-family: var(--font-mono); font-size: 13px;
  transition: transform .25s ease;
}
.btn:hover::after { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: #04122a; }
.btn--primary:hover { background: #6cb0ff; color: #04122a; }
.btn--ghost { border-color: rgba(255, 255, 255, .42); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn--dark { background: var(--brand-900); color: #fff; }
.btn--dark:hover { background: var(--brand-700); color: #fff; }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--brand-700); color: var(--brand-700); }

/* --------------------------------------------------------------------------
   6. カード（事業の柱）
   -------------------------------------------------------------------------- */
/* minmax() の最小値は必ず min(100%, …) で包む。
   素の minmax(248px,1fr) だと版面より広い画面幅を要求してしまい、
   320px 端末で横スクロールが出る（service.htm の業種グリッドで実測） */
.card-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 248px), 1fr));
}
.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 3px;
  padding: 30px 26px 32px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__no {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; color: var(--accent);
}
.card__title {
  margin: 12px 0 12px; font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--ink);
}
.card__text { font-size: 14.5px; line-height: 1.9; color: var(--body); }
.card > * { position: relative; z-index: 1; }

/* 業種チップ（トップページ：対応業種を一覧で見せる） */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  display: inline-flex; align-items: baseline; gap: 9px;
  padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.tag b {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .08em; color: var(--accent);
}

/* --------------------------------------------------------------------------
   7. 定義テーブル（会社概要）
   -------------------------------------------------------------------------- */
.spec { border-top: 1px solid var(--line); }
.spec tr { border-bottom: 1px solid var(--line); }
.spec th, .spec td {
  padding: 20px 8px; text-align: left; vertical-align: top; font-size: 15.5px;
}
.spec th {
  width: 210px; font-weight: 600; color: var(--ink);
  letter-spacing: .04em; white-space: nowrap;
}
.spec td { color: var(--body); }
.spec td a { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   8. 業種グリッド（事業内容）
   -------------------------------------------------------------------------- */
.field-grid {
  display: grid; gap: 18px; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.field {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 3px; padding: 26px 24px 24px;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.field:hover { border-color: var(--brand-600); box-shadow: var(--shadow-card); }
.field__no {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; color: var(--accent);
}
.field__name {
  margin: 8px 0 14px; font-size: 17.5px; font-weight: 700; color: var(--ink); line-height: 1.5;
}
.field__list li {
  position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.85; color: var(--body);
}
.field__list li + li { margin-top: 4px; }
.field__list li::before {
  content: ""; position: absolute; left: 2px; top: .78em;
  width: 7px; height: 1px; background: var(--accent);
}

/* --------------------------------------------------------------------------
   9. 画面デザインの導線（既存サービスへの誘導）
   -------------------------------------------------------------------------- */
.promo {
  display: grid; gap: 34px; align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  background: linear-gradient(120deg, var(--brand-900) 0%, var(--brand-700) 100%);
  color: #fff; border-radius: 4px; padding: 46px 46px 48px;
  position: relative; overflow: hidden;
}
.promo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(156, 200, 255, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(156, 200, 255, .09) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(100% 100% at 100% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(100% 100% at 100% 0%, #000, transparent 70%);
}
.promo > * { position: relative; z-index: 1; }
.promo__eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em;
  color: var(--accent-soft); text-transform: uppercase; margin-bottom: 14px;
}
.promo__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.45; color: #fff; }
.promo__text { margin-top: 16px; color: rgba(255, 255, 255, .84); font-size: 15px; }
.promo__note {
  margin-top: 14px; font-size: 13px; color: rgba(156, 200, 255, .9);
}
.promo__steps { display: grid; gap: 12px; }
.promo__step {
  display: flex; gap: 14px; align-items: baseline;
  padding: 14px 16px; border: 1px solid rgba(156, 200, 255, .26); border-radius: 2px;
  background: rgba(255, 255, 255, .04);
}
.promo__step b {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--accent); letter-spacing: .1em; flex: none;
}
.promo__step span { font-size: 14px; color: rgba(255, 255, 255, .9); line-height: 1.7; }

/* --------------------------------------------------------------------------
   10. お問い合わせ
   -------------------------------------------------------------------------- */
.contact {
  display: grid; gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
}
.contact__box {
  border: 1px solid var(--line); border-radius: 3px; padding: 30px 28px; background: #fff;
}
.contact__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  color: var(--accent); text-transform: uppercase;
}
.contact__value { margin-top: 10px; font-size: 16px; color: var(--ink); line-height: 1.8; }
.contact__value strong { font-size: 19px; font-weight: 700; }
.contact__note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* --------------------------------------------------------------------------
   11. フッター
   -------------------------------------------------------------------------- */
.site-footer { background: var(--brand-950); color: rgba(255, 255, 255, .7); padding: 56px 0 28px; }
.site-footer__top {
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between;
  padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer__name { font-size: 19px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.site-footer__tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  color: var(--accent-soft); text-transform: uppercase; margin-top: 8px;
}
.site-footer__addr { margin-top: 16px; font-size: 14px; line-height: 1.9; font-style: normal; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: flex-start; }
.site-footer__nav a { color: rgba(255, 255, 255, .82); font-size: 14px; }
.site-footer__nav a:hover { color: var(--accent-soft); }
.site-footer__copy {
  margin-top: 24px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .06em; color: rgba(255, 255, 255, .5);
}

/* --------------------------------------------------------------------------
   12. ページ読み込み時の演出（段差付きフェード）
   -------------------------------------------------------------------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.reveal { animation: rise .72s cubic-bezier(.22, .8, .28, 1) both; }
.reveal-1 { animation-delay: .05s; }
.reveal-2 { animation-delay: .16s; }
.reveal-3 { animation-delay: .27s; }
.reveal-4 { animation-delay: .38s; }
.reveal-5 { animation-delay: .49s; }

/* --------------------------------------------------------------------------
   13. レスポンシブ
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .promo { grid-template-columns: 1fr; padding: 36px 28px 38px; }
  .contact { grid-template-columns: 1fr; }
  .spec th { width: 150px; }
}
@media (max-width: 760px) {
  :root { --gut: 18px; }
  .section { padding: 62px 0; }
  /* .wrap の左右パディングを消さないこと（消すと .gnav の負マージンが
     そのまま body の外へ出て横スクロールが発生する。実測で確認） */
  .site-header__inner {
    flex-wrap: wrap; gap: 10px;
    padding: 12px var(--gut) 4px; min-height: 0;
  }
  .brand img { width: 196px; }
  .header-cta { padding: 9px 15px; font-size: 13px; }
  /* ナビは 2 段目に回して全項目を見せる。項目が増えたときだけ横スクロールする */
  .gnav {
    order: 3; flex: 0 0 100%;
    margin: 6px calc(var(--gut) * -1) 0; padding: 0 var(--gut) 6px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; border-top: 1px solid var(--line-soft);
  }
  .gnav::-webkit-scrollbar { display: none; }
  .gnav a { padding: 11px 9px; font-size: 13.5px; }
  .gnav a::after { left: 9px; right: 9px; }
  .hero__inner { min-height: 0; padding: 56px var(--gut) 0; }
  /* 画面が短いぶん写真と数字が重なるため、写真をさらに落として可読性を優先する */
  .hero::before { opacity: .28; }
  /* 狭い画面ではキャッチの 2 行目のインデントを外し、字送りを詰めて 1 行に収める
     （インデントを残すと「いつまでもお客様のお側 / に。」と割れる。実測で確認） */
  .hero__title { font-size: clamp(20px, 6.3vw, 30px); }
  .hero__title span + span { padding-left: 0; }
  /* 数字 3 つを 1 行に収めるため、間隔とラベルを詰める */
  .hero__stats { gap: 18px 18px; padding-bottom: 34px; }
  .stat { min-width: 0; }
  .stat__label { font-size: 11px; letter-spacing: .06em; }
  /* ボタン 2 つを 1 行に収める */
  .btn { padding: 13px 20px; font-size: 14px; }
  .spec th, .spec td { display: block; width: auto; padding: 0 4px; }
  .spec th { padding-top: 18px; font-size: 13.5px; color: var(--muted); }
  .spec td { padding-bottom: 18px; }
  .card { padding: 26px 22px 28px; }
  .site-footer__copy { font-size: 10.5px; letter-spacing: .02em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important; transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   14. 印刷
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .gnav, .hero__actions, .promo, .btn, .breadcrumb { display: none !important; }
  body { color: #000; font-size: 11pt; line-height: 1.6; }
  .hero, .page-head, .site-footer { background: #fff !important; color: #000 !important; }
  .hero::before, .hero::after, .page-head::before { display: none !important; }
  .hero__title, .page-head__title, .stat__num { color: #000 !important; text-shadow: none !important; }
  .section { padding: 12pt 0; }
  .card, .field, .contact__box { border: 1px solid #999; box-shadow: none !important; }
  a { color: #000; }
}
