@charset "UTF-8";
/* ==========================================================================
   TSM — Type Soo Mine
   配色は「水」を基調にした濃紺 × シアン。1枚ものの原案を引き継いでいる。
   インライン style は使わない（CSP で禁止しているため）。
   ========================================================================== */

:root {
  --navy: #0B2545;
  --abyss: #071A33;
  --cyan: #1FA8DC;
  --cyan-deep: #1683B0;
  --pale: #EAF4FA;
  --mist: #9FBAD0;
  --ink: #13202E;
  --body: #37424C;
  --muted: #4B5D6C;
  --faint: #6A7A87;
  --line: #D4E2EC;
  --head-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: #fff;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: break-word;
}

html[lang="en"] body { font-family: Inter, "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif; }

h1, h2, h3 { font-family: Sora, "Noto Sans JP", sans-serif; line-height: 1.35; font-weight: 700; }
.mono { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

a { color: var(--cyan-deep); }
a:hover, a:focus-visible { color: var(--cyan); }
img { max-width: 100%; height: auto; display: block; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--navy); color: #fff; padding: 10px 18px; text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 780px; }

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */

.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  height: var(--head-h);
  background: rgba(7, 26, 51, 0);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-head.is-solid {
  background: rgba(7, 26, 51, .95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}

.head-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 22px;
  height: var(--head-h); display: flex; align-items: center; gap: 20px;
}
.head-logo { display: block; flex: none; }
.head-logo img { height: 24px; width: auto; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.site-nav ul { list-style: none; display: flex; gap: 20px; }
.site-nav a {
  color: #DDEBF5; text-decoration: none; font-size: 13.5px; font-weight: 500;
  letter-spacing: .02em; white-space: nowrap;
}
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .1em;
  color: #BFE0F2 !important; border: 1px solid rgba(255, 255, 255, .35);
  padding: 5px 11px; text-decoration: none;
}
.lang-switch:hover, .lang-switch:focus-visible { border-color: #fff; color: #fff !important; }

.nav-cta {
  background: var(--cyan); color: #04121F !important; font-weight: 700; font-size: 13.5px;
  padding: 8px 16px; text-decoration: none; white-space: nowrap;
}
.nav-cta:hover, .nav-cta:focus-visible { background: #46BFEC; }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: none; border: 1px solid rgba(255, 255, 255, .35); cursor: pointer;
  position: relative;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 20px; height: 2px; background: #fff; content: "";
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { top: -6px; left: 0; }
.nav-toggle-bar::after { top: 6px; left: 0; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--head-h) 0 auto 0;
    background: rgba(7, 26, 51, .98); flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 22px 24px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .site-nav ul a { display: block; padding: 13px 0; font-size: 15px; }
  .nav-actions { margin-top: 18px; }
  .nav-cta { flex: 1; text-align: center; }
}

/* --------------------------------------------------------------------------
   ヒーロー
   -------------------------------------------------------------------------- */

.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--abyss);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 51, .78) 0%, rgba(7, 26, 51, .55) 38%, rgba(7, 26, 51, .93) 100%),
    url(../img/hero-field.jpg) center 28% / cover no-repeat;
}
.hero-inner { position: relative; padding-top: 140px; padding-bottom: 84px; }
.hero-logo { height: 40px; width: auto; margin-bottom: 26px; }

.eyebrow {
  font-family: "IBM Plex Mono", monospace; font-size: 12.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; line-height: 1.8;
}
.eyebrow.dark { color: var(--cyan-deep); }

.hero h1 { font-size: clamp(32px, 6.4vw, 66px); max-width: 16ch; letter-spacing: -.01em; }
.hero-lead { max-width: 54ch; margin-top: 20px; font-size: clamp(15px, 1.9vw, 17.5px); color: #DDEBF5; }
.hero-meta { margin-top: 22px; font-size: 13px; color: #BFE0F2; letter-spacing: .04em; }

.hero-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 14px 28px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; transition: background-color .2s ease, color .2s ease;
}
.btn-primary { background: var(--cyan); color: #04121F; }
.btn-primary:hover, .btn-primary:focus-visible { background: #46BFEC; color: #04121F; }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; }

.hero-badge {
  display: inline-block; margin-top: 28px; padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, .38);
  font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .06em; color: #CFE3F0;
}

/* --------------------------------------------------------------------------
   セクション共通
   -------------------------------------------------------------------------- */

.sec { padding: 84px 0; }
.sec-pale { background: var(--pale); }

h2 { font-size: clamp(23px, 3.6vw, 37px); color: var(--navy); margin-bottom: 16px; letter-spacing: -.01em; }
h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.sub { color: var(--muted); max-width: 66ch; font-size: 15.5px; }
.sub-light { color: #CFE3F0; }
.note { margin-top: 26px; font-size: 13.5px; color: var(--mist); max-width: 72ch; }
.note-small { margin-top: 12px; font-size: 12px; color: var(--faint); max-width: 72ch; }

/* 数字 */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; margin-top: 44px; }
.stat-n { font-size: clamp(32px, 4.6vw, 48px); font-weight: 500; color: var(--navy); line-height: 1.1; }
.stat-n span { color: var(--cyan); font-size: .55em; margin-left: .15em; }
.stat-l { font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.75; }

/* 3ステップ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 40px; }
.step { background: #fff; padding: 28px 26px; border-top: 3px solid var(--cyan); }
.step-no { font-size: 12px; letter-spacing: .2em; color: var(--cyan); margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--body); }

.fig { margin-top: 40px; }
.fig img { width: 100%; }
figcaption { font-size: 12.5px; color: var(--faint); margin-top: 10px; font-style: italic; }

/* カード */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; margin-top: 40px; }
.card { border: 1px solid var(--line); background: #fff; padding: 26px 24px; }
.card p { font-size: 14.5px; color: var(--body); }
.card-accent { border-left: 3px solid var(--cyan); }

/* 導入効果 */
.impact { background: linear-gradient(180deg, var(--navy), var(--abyss)); color: #fff; }
.impact h2 { color: #fff; }
.gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 34px; margin-top: 42px; }
.gauge-n { font-size: clamp(54px, 8.4vw, 88px); color: var(--cyan); font-weight: 500; line-height: 1; }
.gauge-l { color: #CFE3F0; margin-top: 12px; font-size: 15px; }
.impact .note-small { color: #7E97AC; }

.photos { display: grid; gap: 14px; margin-top: 40px; }
.photos-2 { grid-template-columns: 1fr 1fr; }
.photos-3 { grid-template-columns: repeat(3, 1fr); }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 720px) {
  .photos-2, .photos-3 { grid-template-columns: 1fr; }
}

/* 現場の声 */
.voice { text-align: center; }
.voice blockquote { margin-top: 10px; }
.quote {
  font-family: Sora, "Noto Sans JP", sans-serif; font-weight: 600;
  font-size: clamp(19px, 3.1vw, 30px); color: var(--navy); line-height: 1.55;
  max-width: 28ch; margin: 0 auto;
}
.voice blockquote footer { margin-top: 18px; color: var(--muted); font-size: 14px; }
.voice .src { font-size: 12px; color: var(--faint); }
.survey { margin-top: 30px; font-size: 15px; color: var(--body); }
.survey b { color: var(--navy); }
.voice .note-small { margin-left: auto; margin-right: auto; }

/* ニュース */
.news { list-style: none; margin-top: 34px; border-top: 1px solid var(--line); }
.news li { border-bottom: 1px solid var(--line); }
.news a {
  display: flex; gap: 22px; padding: 20px 4px; text-decoration: none; color: var(--ink);
  align-items: baseline; flex-wrap: wrap;
}
.news a:hover, .news a:focus-visible { background: var(--pale); color: var(--navy); }
.news-date { flex: none; font-size: 12.5px; color: var(--cyan-deep); letter-spacing: .04em; min-width: 11em; }
.news-title { font-size: 15px; line-height: 1.7; }
.news-more { margin-top: 20px; font-size: 14px; }

/* パートナー */
.pills { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  font-family: "IBM Plex Mono", monospace; font-size: 12.5px; padding: 9px 15px;
  background: #fff; color: var(--navy); border: 1px solid var(--line);
}

/* お問い合わせ */
.contact { background: linear-gradient(160deg, var(--navy), var(--abyss)); color: #fff; text-align: center; }
.contact h2 { color: #fff; }
.contact .sub { margin: 0 auto; }
.contact-cta { margin-top: 32px; }
.contact-tel { margin-top: 24px; font-size: 15px; color: #CFE3F0; }
.contact-tel a { color: #fff; font-family: "IBM Plex Mono", monospace; font-size: 20px; text-decoration: none; }
.contact-tel .note-small { display: block; color: #7E97AC; margin-top: 4px; }
.contact-press {
  margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 13.5px; color: #AFC6D8;
}
.contact-press-label {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .14em;
  color: var(--cyan); margin-bottom: 8px;
}
.contact-press a { color: #fff; }

/* フッター */
.site-foot { background: var(--abyss); color: var(--mist); padding: 48px 0 40px; font-size: 13.5px; }
.foot-logos { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.foot-logos img { height: 30px; width: auto; }
.foot-x { color: #4B6377; }
.foot-tagline { font-size: 11.5px; letter-spacing: .12em; color: #7E97AC; }
.foot-body { margin-top: 10px; max-width: 70ch; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; }
.foot-links a { color: #CFE3F0; text-decoration: none; }
.foot-links a:hover, .foot-links a:focus-visible { color: #fff; text-decoration: underline; }
.foot-copy { margin-top: 20px; font-size: 12px; color: #6A8197; }
.foot-top { margin-top: 14px; font-size: 12.5px; }
.foot-top a { color: #CFE3F0; text-decoration: none; }

/* --------------------------------------------------------------------------
   追尾バナー / モバイル固定バー / モーダル
   JS が無効なときは hidden のまま。リンクは通常のページ遷移で動く。
   -------------------------------------------------------------------------- */

.cbanner {
  position: fixed; z-index: 880; top: 50%; right: 20px; width: 224px;
  transform: translateY(-50%);
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s;
}
.cbanner[hidden] { display: none; }
.cbanner.is-ready { opacity: 1; visibility: visible; }

.cbanner-link {
  display: block; padding: 18px 18px 14px;
  background: rgba(7, 26, 51, .94); border: 1px solid var(--cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4); color: #F2F8FC; text-decoration: none;
  transition: background-color .2s ease;
}
.cbanner-link:hover, .cbanner-link:focus-visible { background: #0E2E54; color: #fff; }
.cbanner-label {
  display: inline-block; padding: 1px 9px; background: var(--cyan); color: #04121F;
  font-size: 11px; font-weight: 500; letter-spacing: .2em;
}
.cbanner-body { display: block; margin-top: 12px; }
.cbanner-title { display: block; font-size: 15px; font-weight: 700; line-height: 1.5; }
.cbanner-sub { display: block; margin-top: 3px; color: #A9C4D8; font-size: 12px; line-height: 1.6; }
.cbanner-cta {
  display: flex; align-items: center; justify-content: space-between; margin-top: 12px;
  padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .15);
  color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.cbanner-cta::after {
  content: ""; width: 8px; height: 8px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s ease;
}
.cbanner-link:hover .cbanner-cta::after { transform: translateX(3px) rotate(45deg); }

.cbanner-close {
  position: absolute; top: -12px; right: -12px; width: 28px; height: 28px; padding: 0;
  border: 1px solid #4A6076; border-radius: 50%; background: var(--abyss); color: #CFE3F0;
  font-size: 16px; line-height: 24px; text-align: center; cursor: pointer;
}
.cbanner-close:hover, .cbanner-close:focus-visible { border-color: #fff; color: #fff; }

.cbar { position: fixed; z-index: 880; inset: auto 0 0 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 26, 51, .95); }
.cbar[hidden] { display: none; }
.cbar-link {
  display: block; text-align: center; background: var(--cyan); color: #04121F;
  font-weight: 700; font-size: 15px; padding: 13px; text-decoration: none;
}

@media (min-width: 861px) { .cbar { display: none !important; } }
@media (max-width: 860px) {
  .cbanner { display: none !important; }
  /* 固定バーがフッターを隠さないように、下に余白をとる */
  body { padding-bottom: 74px; }
}

/* モーダル */
.cmodal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cmodal[hidden] { display: none; }
.cmodal-backdrop { position: absolute; inset: 0; background: rgba(4, 12, 22, .75); }
.cmodal-panel {
  position: relative; width: min(860px, 100%); max-height: min(90vh, 900px);
  background: #0E0E10; color: #F5F5F3; display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); border: 1px solid #2A2A30;
}
.cmodal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid #2A2A30;
}
.cmodal-head h2 { font-size: 17px; color: #fff; margin: 0; }
.cmodal-head h2 .mono { font-size: 11px; letter-spacing: .18em; color: #8FA8BB; margin-left: 10px; }
.cmodal-close {
  width: 36px; height: 36px; border: 1px solid #44444C; background: none; color: #CFCFD4;
  font-size: 20px; line-height: 1; cursor: pointer;
}
.cmodal-close:hover, .cmodal-close:focus-visible { border-color: #fff; color: #fff; }
.cmodal-body { flex: 1; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; }
.cmodal-frame { width: 100%; height: 100%; min-height: 60vh; border: 0; display: block; background: #0E0E10; }
.cmodal-foot { padding: 12px 20px; border-top: 1px solid #2A2A30; font-size: 12.5px; }
.cmodal-foot a { color: var(--cyan); }

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

/* よくある質問 */
.faq { margin-top: 34px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 4px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; flex: none;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-weight: 500;
  color: var(--cyan-deep); line-height: 1.6;
}
.faq-item summary::after {
  content: "+"; flex: none; margin-left: auto;
  color: var(--cyan-deep); font-size: 22px; line-height: 1.1;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover .faq-q { color: var(--cyan-deep); }
.faq-q { font-size: 16px; margin: 0; line-height: 1.6; }
.faq-a { padding: 0 34px 22px 28px; }
.faq-a p { font-size: 14.5px; color: var(--body); }

@media print {
  .site-head, .cbanner, .cbar, .cmodal, .skip { display: none !important; }
  body { color: #000; }
}
