@charset "UTF-8";
/* ==========================================================================
   関西機工｜プラント緊急対応LP — base.css
   トークンは Figma「基本コーディングルール」(10202:18934) の実測値が正
   ブレークポイント: SP = max-width:768px / PC = min-width:769px
   ========================================================================== */

/* --------------------------------------------------
   1. デザイントークン
   -------------------------------------------------- */
:root {
  /* ベース */
  --c-white: #FFFFFF;
  --c-base-green: #EDF6F1;
  --c-base-gray: #F6F7F6;

  /* メイン */
  --c-main: #137C3A;
  --c-line: #06C755;

  /* テキスト */
  --c-text: #1E1E1E;

  /* ライン */
  --c-border: #C0C0C0;
  --c-border-mid: #D1D1D1;
  --c-border-light: #E5E5E5;

  /* アクセント */
  --c-accent: #FF8300;
  --c-accent-yellow: #FCEE22;

  /* 書体 */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

  /* 画面幅 */
  --w-pc: 1440px;
  --w-wide: 1240px;
  --w-slim: 1040px;
  --sp-pad: 20px;

  /* 影 */
  --shadow-btn: 0 4px 12px rgba(0, 0, 0, 0.10);
}

/* --------------------------------------------------
   2. リセット
   -------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 500;
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1;               /* 行間は各要素で明示的にopt-in（カンプ一致のため） */
  /* カンプの全テキスト(164/165ノード)で PALT=1 が有効なため全体に適用。
     英数字ランに漏れる場合は .u-en で打ち消す */
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

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

img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }

button {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* フォーム要素は既定書体に落ちるため明示継承 */
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

table { border-collapse: collapse; border-spacing: 0; }

:focus-visible { outline: 2px solid var(--c-main); outline-offset: 2px; }

/* --------------------------------------------------
   3. コンテナ
   -------------------------------------------------- */
.l-wide,
.l-slim {
  width: 100%;
  margin-inline: auto;
}
.l-wide { max-width: var(--w-wide); }
.l-slim { max-width: var(--w-slim); }

@media (max-width: 768px) {
  .l-wide,
  .l-slim {
    max-width: none;
    padding-inline: var(--sp-pad);
  }
}

/* --------------------------------------------------
   4. タイポグラフィ（仕様書のテキストスタイル）
   -------------------------------------------------- */
/* PC値。SPは各定義の @media で上書き */
.t-h2 { font-size: 48px; font-weight: 700; line-height: 1.4; letter-spacing: 1.92px; color: var(--c-main); }
.t-h3 { font-size: 40px; font-weight: 700; line-height: 1.4; letter-spacing: 1.6px;  color: var(--c-main); }
.t-h4 { font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: 0.96px; color: var(--c-main); }
.t-h5 { font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: 0.8px;  color: var(--c-main); }

.t-body-l { font-size: 18px; font-weight: 500; line-height: 1.6; letter-spacing: 0.36px; }
.t-body-m { font-size: 16px; font-weight: 500; line-height: 1.6; letter-spacing: 0.32px; }
.t-body-s { font-size: 14px; font-weight: 500; line-height: 1.6; letter-spacing: 0.28px; }

.t-bold-m { font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: 0.64px; }
.t-bold-s { font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: 0.56px; }

@media (max-width: 768px) {
  .t-h2 { font-size: 32px; line-height: 1.6; letter-spacing: 0.64px; }
  .t-h3 { font-size: 20px; line-height: 1.6; letter-spacing: 0.4px; }
  .t-h4 { font-size: 18px; line-height: 1.6; letter-spacing: 0.36px; }
  .t-h5 { font-size: 16px; line-height: 1.6; letter-spacing: 0.32px; }

  .t-body-l { font-size: 16px; font-weight: 400; line-height: 1.6; letter-spacing: 0.64px; }
  .t-body-m { font-size: 15px; font-weight: 400; line-height: 1.6; letter-spacing: 0.6px; }
  .t-body-s { font-size: 14px; font-weight: 400; line-height: 1.6; letter-spacing: 0.56px; }
}

/* --------------------------------------------------
   5. 共通ボタン（部品語彙）
   -------------------------------------------------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: opacity .25s ease, transform .25s ease;
}
.c-btn:hover { opacity: .85; }

/* LINE（緑・塗り） */
.c-btn--line {
  background: var(--c-line);
  border: 2px solid var(--c-white);
  color: var(--c-white);
  box-shadow: var(--shadow-btn);
}

/* メール（白地・オレンジ枠） */
.c-btn--mail {
  background: var(--c-white);
  border: 2px solid var(--c-accent);
  color: var(--c-accent);
  box-shadow: var(--shadow-btn);
}

/* FVサイズ（20px / 高さ72） */
.c-btn--fv {
  min-height: 72px;
  padding: 12px 40px 12px 32px;
  font-size: 20px;
  letter-spacing: 0.4px;
}

/* CTAサイズ（16px） */
.c-btn--cta {
  min-height: 52px;
  padding: 6px 24px 6px 16px;
  font-size: 16px;
  letter-spacing: 0.32px;
}

.c-btn__icon {
  flex-shrink: 0;
  display: block;
}

/* --------------------------------------------------
   6. セクション見出し（共通語彙）
   flexにすると見出しが最小幅に縮んで折り返すため通常フロー＋text-alignで組む
   -------------------------------------------------- */
.sec-title {
  width: 100%;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1.92px;
  color: var(--c-text);
  text-align: center;
}
.sec-title__hl { color: var(--c-main); }

/* 下線はカンプ実測: 横方向グラデ #137C3A → #06C755 */
.sec-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 6px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-main) 0%, var(--c-line) 100%);
}

/* 左寄せ版（対応できる工事・職種） */
.sec-title--left { text-align: left; white-space: nowrap; }
.sec-title--left::after { margin-inline: 0 auto; }

/* 濃色背景版（3つの強み）: 下線は #C0C0C0 → #FFFFFF */
.sec-title--light { color: var(--c-white); }
.sec-title--light::after {
  background: linear-gradient(90deg, var(--c-border) 0%, var(--c-white) 100%);
}

@media (max-width: 768px) {
  .sec-title { font-size: 26px; letter-spacing: 0.52px; }
  .sec-title::after { width: 40px; height: 5px; margin-top: 14px; }
}

/* --------------------------------------------------
   7. ユーティリティ
   -------------------------------------------------- */
.u-en { font-feature-settings: normal; }

.u-marker {
  background: linear-gradient(transparent 62%, var(--c-accent-yellow) 62%);
}

/* 建物名など途中で折り返したくない語句 */
.u-nowrap { white-space: nowrap; }

.u-sp { display: none; }
@media (max-width: 768px) {
  .u-pc { display: none; }
  .u-sp { display: block; }
}

.u-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;
}
