@charset "utf-8";

/* ----------------------------------------------------------
    リセット / 新要素設定
------------------------------------------------------------- */
html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, blockquote, pre, code, form, fieldset, legend, table, th, td, caption, a, article, aside, nav, section, figure, figcaption, footer, header, main, audio, canvas, video, menu, details {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 100%;
    vertical-align: baseline;
}
fieldset, legend, img { border: 0; }
article, aside, nav, section, figure, figcaption, footer, header, main, menu, details { display: block; }
video, audio, canvas {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* ----------------------------------------------------------
    ベース
------------------------------------------------------------- */
html {
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
body {
    background: #fff;
    color: #222;
    font: 14px/1.4 Helvetica, Arial, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "游ゴシック", YuGothic, sans-serif;
    -moz-font-feature-settings: "pkna";
    -webkit-font-feature-settings: "pkna";
    font-feature-settings: "pkna";
    letter-spacing: .01em;
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
}

/* ----------------------------------------------------------
    要素
------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    max-height: 100%;
    font-weight: normal;
    -moz-font-feature-settings: "palt";
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
    line-height: 1.2;
    color: #222;
}
p {
    max-height: 100%;
    margin: 0 0 1em;
}
ul {
    max-height: 100%;
    list-style: none;
}
ol {
    max-height: 100%;
    list-style: none;
}
dt {
    max-height: 100%;
    font-weight: bold;
}
dd { max-height: 100%; }
hr {
    display: block;
    height: 1px;
    margin: 1em 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #ccc;
}
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}
pre {
    font-family: monospace, serif;
    white-space: pre-wrap;
    word-wrap: break-word;
}

figure { margin: 0 0 1em; }

a { color: #04c; }
a:link, a.visited { text-decoration: underline; }
a:hover, a.active { text-decoration: none; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

img { vertical-align: middle; }

address, cite, em, dfn, i, var { font-style: normal; }
em { font-weight: bold; }
strong, b { font-weight: bold; }
code, samp, kbd { font-family: monospace, sans-serif; }
abbr {
    border: 0;
    font-variant: normal;
}
abbr[title], dfn[title] {
    cursor: help;
    border-bottom: 1px dotted;
}
sup { vertical-align: text-top; }
sub { vertical-align: text-bottom; }
del { text-decoration: line-through; }
mark {
    background-color: #ff0;
    color: #333;
    font-style: italic;
    font-weight: bold;
}
br { *letter-spacing: 0; }


table {
    border-collapse: collapse;
    border-spacing: 0;
}
th, td {
    font-weight: normal;
    text-align: left;
}
th { font-weight: bold; }
caption {
    font-weight: normal;
    text-align: left;
}

/* ----------------------------------------------------------
    フォーム系
------------------------------------------------------------- */
input, textarea, select {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    *font-size: 14px;
}
input, button {
    line-height: normal;
    vertical-align: middle;
}

input[type=text],
input[type=password],
textarea {
    width : 410px ;
    padding: 5px;
    background: #fff;
    border: 1px solid #ddd;
    -moz-box-shadow: inset 3px 3px 0 0 rgba(0,0,0,0.03);
    -webkit-box-shadow: inset 3px 3px 0 0 rgba(0,0,0,0.03);
    box-shadow: inset 3px 3px 0 0 rgba(0,0,0,0.03);
}
input[type=text]:focus,
input[type=password]:focus,
textarea:focus { border: 1px solid #209dd9; }

input[type=button] { cursor: pointer; }

.box__ttl input[type=button] {
    margin-right: 5px;
    height: 26px;
    line-height: 26px;
}

input[type=submit] {
    padding: 5px 8px;
    cursor: pointer;
}

input[type=checkbox] { cursor: pointer; }

input[type=submit]:disabled,
input[type=button]:disabled,
input[type=checkbox]:disabled { cursor: default; }

textarea {
    width : 410px ;
    overflow: auto;
    vertical-align: top;
}
select {
    padding: 2px;
    line-height: normal;
    background: #fff;
}
label { cursor: pointer; }
legend {
    *margin-left: -7px;
    color: #333;
}

/* ----------------------------------------------------------
    汎用
------------------------------------------------------------- */
/* マージン系 */
.m0 { margin: 0 !important; }
.m5 { margin: 5px !important; }
.m10 { margin: 10px !important; }
.m15 { margin: 15px !important; }
.m20 { margin: 20px !important; }
.m25 { margin: 25px !important; }
.m30 { margin: 30px !important; }
.m35 { margin: 35px !important; }
.m40 { margin: 40px !important; }
.m44 { margin: 44px !important; }
.m40 { margin: 40px !important; }
.mt0 { margin-top: 0 !important; }
.mt5 { margin-top: 5px !important; }
.mt10 { margin-top: 10px !important; }
.mt15 { margin-top: 15px !important; }
.mt20 { margin-top: 20px !important; }
.mt25 { margin-top: 25px !important; }
.mt30 { margin-top: 30px !important; }
.mt35 { margin-top: 35px !important; }
.mt40 { margin-top: 40px !important; }
.mt45 { margin-top: 45px !important; }
.mt50 { margin-top: 50px !important; }
.mb0 { margin-bottom: 0 !important; }
.mb5 { margin-bottom: 5px !important; }
.mb10 { margin-bottom: 10px !important; }
.mb15 { margin-bottom: 15px !important; }
.mb20 { margin-bottom: 20px !important; }
.mb25 { margin-bottom: 25px !important; }
.mb30 { margin-bottom: 30px !important; }
.mb35 { margin-bottom: 35px !important; }
.mb40 { margin-bottom: 40px !important; }
.mb45 { margin-bottom: 45px !important; }
.mb50 { margin-bottom: 50px !important; }
.ml0 { margin-left: 0 !important; }
.ml5 { margin-left: 5px !important; }
.ml10 { margin-left: 10px !important; }
.ml15 { margin-left: 15px !important; }
.ml20 { margin-left: 20px !important; }
.ml25 { margin-left: 25px !important; }
.ml30 { margin-left: 30px !important; }
.ml35 { margin-left: 35px !important; }
.ml40 { margin-left: 40px !important; }
.ml45 { margin-left: 45px !important; }
.ml50 { margin-left: 50px !important; }
.mr0 { margin-right: 0 !important; }
.mr5 { margin-right: 5px !important; }
.mr10 { margin-right: 10px !important; }
.mr15 { margin-right: 15px !important; }
.mr20 { margin-right: 20px !important; }
.mr25 { margin-right: 25px !important; }
.mr30 { margin-right: 30px !important; }
.mr35 { margin-right: 35px !important; }
.mr40 { margin-right: 40px !important; }
.mr45 { margin-right: 45px !important; }
.mr50 { margin-right: 50px !important; }

/* パディング系 */
.p0 { padding: 0 !important; }
.p5 { padding: 5px !important; }
.p10 { padding: 10px !important; }
.p15 { padding: 15px !important; }
.p20 { padding: 20px !important; }
.p25 { padding: 25px !important; }
.p30 { padding: 30px !important; }
.p35 { padding: 35px !important; }
.p40 { padding: 40px !important; }
.p45 { padding: 45px !important; }
.p50 { padding: 50px !important; }
.pt0 { padding-top: 0 !important; }
.pt5 { padding-top: 5px !important; }
.pt10 { padding-top: 10px !important; }
.pt15 { padding-top: 15px !important; }
.pt20 { padding-top: 20px !important; }
.pt25 { padding-top: 25px !important; }
.pt30 { padding-top: 30px !important; }
.pt35 { padding-top: 35px !important; }
.pt40 { padding-top: 40px !important; }
.pt45 { padding-top: 45px !important; }
.pt50 { padding-top: 50px !important; }
.pb0 { padding-bottom: 0 !important; }
.pb5 { padding-bottom: 5px !important; }
.pb10 { padding-bottom: 10px !important; }
.pb15 { padding-bottom: 15px !important; }
.pb20 { padding-bottom: 20px !important; }
.pb25 { padding-bottom: 25px !important; }
.pb30 { padding-bottom: 30px !important; }
.pb35 { padding-bottom: 35px !important; }
.pb40 { padding-bottom: 40px !important; }
.pb45 { padding-bottom: 45px !important; }
.pb50 { padding-bottom: 50px !important; }
.pl0 { padding-left: 0 !important; }
.pl5 { padding-left: 5px !important; }
.pl10 { padding-left: 10px !important; }
.pl15 { padding-left: 15px !important; }
.pl20 { padding-left: 20px !important; }
.pl25 { padding-left: 25px !important; }
.pl30 { padding-left: 30px !important; }
.pl35 { padding-left: 35px !important; }
.pl40 { padding-left: 40px !important; }
.pl45 { padding-left: 45px !important; }
.pl50 { padding-left: 50px !important; }
.pr0 { padding-right: 0 !important; }
.pr5 { padding-right: 5px !important; }
.pr10 { padding-right: 10px !important; }
.pr15 { padding-right: 15px !important; }
.pr20 { padding-right: 20px !important; }
.pr25 { padding-right: 25px !important; }
.pr30 { padding-right: 30px !important; }
.pr35 { padding-right: 35px !important; }
.pr40 { padding-right: 40px !important; }
.pr45 { padding-right: 45px !important; }
.pr50 { padding-right: 50px !important; }

/* 幅指定(%) */
.w5per { width: 5% !important; }
.w10per { width: 10% !important; }
.w15per { width: 15% !important; }
.w20per { width: 20% !important; }
.w25per { width: 25% !important; }
.w30per { width: 30% !important; }
.w35per { width: 35% !important; }
.w40per { width: 40% !important; }
.w45per { width: 45% !important; }
.w50per { width: 50% !important; }
.w55per { width: 55% !important; }
.w60per { width: 60% !important; }
.w65per { width: 65% !important; }
.w70per { width: 70% !important; }
.w75per { width: 75% !important; }
.w80per { width: 80% !important; }
.w85per { width: 85% !important; }
.w90per { width: 90% !important; }
.w95per { width: 95% !important; }
.w100per { width: 100% !important; }

/* フロート */
.fl { float: left !important; }
.fr { float: right !important; }

/* テキスト系 */
.tal { text-align: left !important; }
.tar { text-align: right !important; }
.tac { text-align: center !important; }
.breakAll { word-break: break-all !important; }

/* 表示系 */
.dispN { display: none !important; }
.dispI { display: inline !important; }
.dispIB { display: inline-block !important; }
.dispB { display: block !important; }
.dispF { display: flex !important; }

/* フォント系 */
.fontNormal { font-weight: normal !important; }
.fontBold { font-weight: bold !important; }
.font10 { font-size: 10px !important; }
.font12 { font-size: 12px !important; }
.font14 { font-size: 14px !important; }

/* カラー系 */
.colorBlack { color: #000; }

/* Clearfix */
.clear, .cf { clear: both; }
.clearfix:before, .clearfix:after,
.cf:before, .cf:after {
    content: " ";
    display: table;
}
.clearfix:after, .cf:after { clear: both; }
.clearfix, .cf { *zoom: 1; }

/* ボタンを囲うclassタグ */
.button_box {
	clear : both ;
	padding : 8px ;
	text-align : center ;
}

/* 左詰の文字を表示するためのclassタグ */
.left_txt {
	text-align : left;
}

/* 説明文を表示するためのタグ */
#txt_explain {
	color: #000000;
}

/* ----------------------------------------------------------
    メインコンテンツ
------------------------------------------------------------- */
#wrapper {
    width : 100% ;
    margin: 0px auto 0;
    -webkit-box-shadow: 0 1px 0px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 0px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.2);
    background : #ffffff;
    border-left : 0px solid #ffffff ;
    border-right : 0px solid #ffffff ;
    border-bottom : 0px solid #ffffff ;
}

#header { padding: 0px 20px 40px; }

.red_txt {
    color: #ff3333;
}

/* 説明文を表示するためのタグ */
#txt_explain {
    color: #000000;
}

#footer {
    margin-top: 40px;
    padding: 15px 0;
    background: #222;
    color: #fff;
    text-align: center;
    font-size: 12px;
}

#main { padding: 0px; }

.xf-section { margin-bottom: 40px; }
.xf-section:last-child { margin-bottom: 0; }
.xf-section__ttl {
    padding: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    color:#fff;
    background : #ffffff;
    
    font-size: 18px;
}
.xf-section__body { padding: 0 0px; }

.block { margin-bottom: 15px; }
.block:last-child { margin-bottom: 0; }
.block__ttl {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}
.block__body {}

.table {
    width: 100%;
    margin-bottom: 15px;
    border-top: 0px solid #ccc;
    border-left: 0px solid #ccc;
}
.table th {
    padding: 0px;
    background : #ffffff;
    color: #111111;
    border-right: 0px solid #ccc;
    border-bottom: 0px solid #ccc;
    font-weight: 400;
    font-size: 13px;
}
.table td {
    padding: 15px;
    background: #fff;
    border-right: 0px solid #ccc;
    border-bottom: 0px solid #ccc;
    color: #222;
    font-size: 13px;
}

/* =========================================================
   ひさご電材 コーポレートサイト 共通スタイル
   全ページ共通で読み込む。色・余白・部品はここで一括管理。
   ========================================================= */

/* ---- カラー・基本設定（ここを変えると全体に反映） ---- */
:root {
  --ink:      #111417;  /* 見出し・濃い文字 */
  --body:     #111111;  /* 本文 */
  --muted:    #333333;  /* 補助テキスト */
  --faint:    #999999;  /* ラベル・薄い文字 */
  --line:     #ececec;  /* 境界線 */
  --line-2:   #e6e8ea;  /* カード枠線 */
  --bg:       #ffffff;  /* 背景（白） */
  --bg-gray:  #f6f6f5;  /* 薄グレー背景 */
  --bg-green:  #178717;  /* グリーン背景 */
  --bg-soft:  #fafafa;  /* お問い合わせ背景 */
  --footer:   #666666;  /* フッター背景 */
  --maxw:     1360px;   /* コンテンツ最大幅 */
  --maxw-hf: 2000px; /*ヘッダー最大幅 */
}

/* ---- リセット ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #111; color: #fff; }
img { max-width: 100%; display: block; }
input, textarea, select, button { font-family: inherit; }
a { color: var(--bg-green); text-decoration: none; }
a:hover { color: var(--body); }

.mono { font-family: "IBM Plex Mono", monospace; }
.font-mincho { font-family: "Shippori Mincho", serif; }

/* ---- アニメーション ---- */
@keyframes h2-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes h2-fade { from { opacity: 0; } to { opacity: 1; } }
.rise-1 { animation: .8s ease .1s both h2-rise; }
.rise-2 { animation: .8s ease .2s both h2-rise; }
.rise-3 { animation: .8s ease .3s both h2-rise; }
.fade-1 { animation: 1s ease .35s both h2-fade; }

/* =========================================================
   レイアウト部品
   ========================================================= */

/* 中央寄せコンテナ */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}

/* セクションの縦余白 */
.section { padding-top: clamp(80px, 10vw, 160px); padding-bottom: clamp(80px, 10vw, 160px); }
.section-gray { background: var(--bg-gray); }

/* セクション見出しブロック */
.section-head { max-width: 720px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-title {
  font-size: clamp(22px, 2.8vw, 33px);
  font-weight: 700; letter-spacing: -.01em; line-height: 1.3;
  margin: 0 0 18px;
}
.section-lead { font-size: 16px; color: var(--muted); font-weight: 400; line-height: 2; margin: 0; }

/* アンカー用オフセット（固定ヘッダー分） */
section[id] { scroll-margin-top: 88px; }

/* ボタン */
.btn {
  display: inline-block; text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 15px 32px; border-radius: 2px;
  border: 1px solid transparent;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-green { background: var(--bg-green); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: #d2d6da; }
.btn-lg { padding: 16px 40px; }

/* 下線リンク */
.link-underline {
  text-decoration: none; color: var(--ink);
  font-size: 15px; font-weight: 500;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
  white-space: nowrap;
}

/* 写真プレースホルダー */
.ph {
  display: flex; align-items: center; justify-content: center;
  background: #ffffff;
}
.ph-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: .1em; color: #a6abb0;
}

/* =========================================================
   ヘッダー / ナビ（CSSのみのハンバーガーメニュー）
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw-hf); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px); height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { text-decoration: none; display: flex; align-items: center; }
.logo img { height: 22px; width: auto; display: block; }

/* ヘッダー直下の全幅写真 */
.full-photo { width: 100%; aspect-ratio: 21 / 6; margin-top: 72px; }

.site-nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); }
.site-nav > a { text-decoration: none; color: #3c4147; font-size: 14px; font-weight: 500; }
.site-nav > a.is-active { color: var(--ink); font-weight: 700; }
.site-nav > a.is-cta { color: #fff; background: var(--ink); padding: 10px 20px; border-radius: 2px; }

.nav-toggle { display: none; }
.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav-burger {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; width: 44px; height: 44px; margin: 0 -10px 0 0; cursor: pointer;
  }
  .nav-burger span {
    display: block; width: 22px; height: 2px; background: #111417;
    transition: transform .24s ease, opacity .18s ease;
  }
  .site-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 26px rgba(0,0,0,.06);
    padding: 4px 0 10px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: opacity .24s ease, transform .24s ease;
  }
  .site-nav > a {
    padding: 15px clamp(20px,5vw,40px); margin: 0; border-radius: 0;
    background: transparent; color: #3c4147; font-weight: 500; font-size: 15px;
    border-top: 1px solid #f2f2f2;
  }
  #nav-toggle:checked ~ .site-nav { opacity: 1; transform: translateY(0); pointer-events: auto; }
  #nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  #nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =========================================================
   ヒーロー
   ========================================================= */
.hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(112px, 13vw, 180px) clamp(20px, 4vw, 56px) 0; }
.hero-title {
  font-size: clamp(22px, 2.8vw, 33px); font-weight: 700; line-height: 1.35;
  letter-spacing: -.01em; margin: 0 0 24px; max-width: 18em;
}
.hero-lead {
  font-size: clamp(14px, 1.2vw, 16px); line-height: 2; color: var(--body);
  font-weight: 300; max-width: 36em; margin: 0 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(48px, 6vw, 80px); }
.hero-image {
  position: relative; width: 100%; aspect-ratio: 21 / 9;
  border-radius: 3px; overflow: hidden; border: 1px solid #e6e6e6;
  background: repeating-linear-gradient(135deg,#ededed 0,#ededed 16px,#f6f6f6 16px,#f6f6f6 32px);
  display: flex; align-items: center; justify-content: center;
}
.hero-image .ph-label {
  font-size: 13px; letter-spacing: .14em;
  background: #fff; padding: 9px 16px; border-radius: 2px;
  box-shadow: 0 0 0 1px #eaeaea;
}

/* =========================================================
   数字（実績サマリー）
   ========================================================= */
.stats-band { border-top: 1px solid var(--line); margin-top: clamp(72px, 9vw, 140px); }
.stats {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) clamp(20px, 4vw, 56px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  border-radius: 3px; overflow: hidden;
}
.stat { background: #fff; padding: clamp(28px, 3vw, 44px); }
.stat-num { font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.stat-unit { font-size: .4em; font-weight: 400; color: var(--faint); margin-left: 8px; }
.stat-desc { font-size: 13px; color: var(--muted); margin-top: 14px; font-weight: 300; }

/* =========================================================
   できること（横並びリスト）
   ========================================================= */
.cap-list { border-top: 1px solid var(--line-2); }
.cap-row {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr) minmax(0,1.6fr);
  gap: clamp(12px, 2.5vw, 40px); align-items: center;
  padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line-2);
}
.cap-title { font-size: clamp(17px, 1.7vw, 21px); font-weight: 500; margin: 0; letter-spacing: -.005em; }
.cap-media { width: 100%; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; }
.cap-desc { font-size: 15px; color: var(--muted); font-weight: 400; margin: 0 0 14px; line-height: 1.9; }
.cap-equip-label { font-size: 14px; color: var(--faint); font-weight: 400; margin: 0 0 6px; letter-spacing: .02em; }
.cap-equip { font-size: 14px; color: var(--muted); font-weight: 400; margin: 0; line-height: 1.9; }
@media (max-width: 720px) { .cap-row { grid-template-columns: 1fr; gap: 12px; } }

/* =========================================================
   カード（対応業種・実績）
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 1.8vw, 28px); }
.cards-wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; }
.card-media { aspect-ratio: 3 / 2; }
.card-media-43 { aspect-ratio: 4 / 3; }
.card-body { padding: 26px 24px 30px; }
.card-body-sm { padding: 24px; }
.card-title { font-size: 21px; font-weight: 700; margin: 0 0 10px; }
.card-title-sm { font-size: 18px; line-height: 1.5; }
.card-desc { font-size: 14px; color: var(--muted); font-weight: 300; margin: 0; line-height: 1.9; }

/* 実績セクションの見出し行 */
.works-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: clamp(40px, 5vw, 64px);
}

/* =========================================================
   お問い合わせ帯
   ========================================================= */
.contact-band { border-top: 1px solid var(--line); background: var(--bg-soft); }
.contact-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 11vw, 160px) clamp(20px, 4vw, 56px); text-align: center; }
.contact-title { font-size: clamp(22px, 2.8vw, 33px); font-weight: 700; letter-spacing: -.01em; line-height: 1.35; margin: 0 0 24px; }
.contact-lead { font-size: clamp(14px, 1.2vw, 16px); color: var(--body); font-weight: 300; line-height: 2; max-width: 40em; margin: 0 auto 40px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 56px; }
.cert-list { display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cert {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--muted);
  border: 1px solid #e0e3e6; padding: 7px 14px; border-radius: 2px;
}

/* =========================================================
   フッター
   ========================================================= */
.site-footer { background: var(--footer); color: #fff; }
.footer-inner { max-width: var(--maxw-hf); margin: 0 auto; padding: clamp(32px, 4vw, 56px) clamp(20px, 4vw, 56px) 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid #23272b; }
.footer-label { font-size: 14px; font-weight: bold; color: #dddddd; margin-bottom: 12px; }
.footer-addr { font-size: 14px; color: #9aa0a6; line-height: 1.9; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; }
.footer-copy { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links > a { text-decoration: none; color: var(--faint); font-size: 13px; }

/* =========================================================
   下層ページ共通
   ========================================================= */

/* ページ見出し（会社情報・採用・お問い合わせ の先頭） */
.page-head { padding-top: clamp(120px, 14vw, 190px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-title { font-size: clamp(22px, 2.8vw, 33px); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; margin: 0 0 18px; }
.page-lead { font-size: clamp(14px, 1.2vw, 16px); color: var(--muted); font-weight: 400; line-height: 2; max-width: 40em; margin: 0; }

/* 区切り・帯 */
.line-top { border-top: 1px solid var(--line); }
.pad-block { padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }

/* ブロック小見出し（旧・英語ラベルの置き換え） */
.block-title { font-size: clamp(17px, 1.7vw, 21px); font-weight: 500; letter-spacing: -.005em; margin: 0 0 28px; }

/* 汎用CTA */
.cta { text-align: center; }
.cta-title { font-size: clamp(17px, 1.7vw, 21px); font-weight: 500; margin: 0 0 20px; }
.cta-lead { font-size: clamp(14px, 1.2vw, 16px); color: var(--body); font-weight: 300; line-height: 2; max-width: 34em; margin: 0 auto 32px; }

/* =========================================================
   会社情報ページ
   ========================================================= */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(40px, 5vw, 80px); }

/* 会社概要テーブル */
.spec { border-collapse: collapse; width: 100%; font-size: 15px; }
.spec tr { border-top: 1px solid var(--line); }
.spec tbody tr:last-child { border-bottom: 1px solid var(--line); }
.spec th { text-align: left; font-weight: 400; color: var(--body); padding: 18px 0; width: 34%; vertical-align: top; }
.spec td { padding: 18px 0; color: #3c4147; vertical-align: top; }

/* 拠点・認証リスト */
.info-row { border-top: 1px solid var(--line); padding: 18px 0; }
.info-row-end { border-bottom: 1px solid var(--line); }
.info-label { font-size: 14px; color: var(--body); margin-bottom: 8px; }
.info-text { font-size: 15px; color: #3c4147; line-height: 1.9; }
.note { font-size: 12px; color: var(--ink); margin-top: 10px; }

/* 地図プレースホルダー */
.map-ph {
  width: 100%; aspect-ratio: 24 / 9; border-radius: 3px; overflow: hidden;
  border: 1px solid #e0e0e0;
  background: repeating-linear-gradient(135deg,#e7e7e7 0 14px,#f1f1f1 14px 28px);
  display: flex; align-items: center; justify-content: center;
}
.map-ph .ph-label { background: var(--bg-soft); padding: 8px 16px; border-radius: 2px; letter-spacing: .12em; font-size: 12px; }

/* =========================================================
   採用ページ
   ========================================================= */
.media-21 {
  width: 100%; aspect-ratio: 21 / 9; border-radius: 3px; overflow: hidden;
  border: 1px solid #e0e0e0;
  background: repeating-linear-gradient(135deg,#e7e7e7 0 14px,#f1f1f1 14px 28px);
  display: flex; align-items: center; justify-content: center;
}
.media-21 .ph-label { background: #fff; padding: 8px 16px; border-radius: 2px; box-shadow: 0 0 0 1px #eaeaea; letter-spacing: .12em; font-size: 12px; }

.pos-list { border-top: 1px solid var(--line); }
.pos-row { display: grid; grid-template-columns: 88px 1fr; gap: clamp(16px, 3vw, 48px); align-items: start; padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.pos-no { font-family: "IBM Plex Mono", monospace; font-size: 14px; color: #b3b8bd; padding-top: 5px; }
.pos-main { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: clamp(12px, 2.5vw, 40px); align-items: baseline; }
.pos-title { font-size: clamp(17px, 1.7vw, 21px); font-weight: 500; margin: 0; }
.pos-desc { font-size: 15px; color: var(--body); font-weight: 400; margin: 0; line-height: 1.9; }

/* =========================================================
   お問い合わせページ
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: clamp(40px, 5vw, 88px); align-items: start; }

.form { display: grid; gap: 28px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.field { display: block; }
.field-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.req { color: #c0392b; }
.input { width: 100%; border: none; border-bottom: 1px solid #d2d6da; padding: 10px 2px; font-size: 16px; color: var(--ink); background: transparent; outline: none; }
.input:focus { border-bottom-color: #111417; }
.textarea { width: 100%; border: 1px solid #d2d6da; border-radius: 2px; padding: 14px; font-size: 16px; color: var(--ink); background: transparent; outline: none; resize: vertical; }
.textarea:focus { border-color: #111417; }
.btn-submit { cursor: pointer; color: #fff; background: var(--ink); border: none; font-size: 15px; font-weight: 500; padding: 16px 48px; border-radius: 2px; }
.btn-submit:hover { background: #000; }

.contact-aside { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 48px); }
.aside-block { margin-bottom: 28px; }
.aside-label { font-size: 13px; color: var(--faint); margin-bottom: 8px; }
.tel-big { text-decoration: none; color: var(--ink); font-size: 22px; font-weight: 700; letter-spacing: .01em; }
.aside-note { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 300; }
.aside-fax { font-size: 16px; color: #3c4147; }
.aside-end { border-top: 1px solid var(--line); padding-top: 24px; }

/* =========================================================
   スマホ向け：2カラムを縦積みに
   ========================================================= */
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  .info-grid { grid-template-columns: 1fr; }
  .cap-row { grid-template-columns: 1fr; gap: 8px; }
  .pos-main { grid-template-columns: 1fr; gap: 8px; }
  .table, .table tbody, .table tr, .table th, .table td {
    display: block;
    width: 100%;
  }
  .table th {
    padding: 15px 0 6px;
    white-space: normal;
  }
  .table td {
    padding: 0 0 15px;
  }
}