/*
Theme Name: 山鐵鋼材
Theme URI: https://yamatatsu-kokai.jp
Author: 有限会社山鐵鋼材
Description: 有限会社山鐵鋼材 公式ホームページテーマ
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: yamatatsu
*/

/* ═══════════════════════════════════════
   CSS変数
═══════════════════════════════════════ */
:root {
  --bg-base:    #f0f1f3;
  --bg-white:   #ffffff;
  --bg-panel:   #e8eaed;
  --bg-dark:    #1c2230;
  --bg-dark2:   #242d3e;
  --border-lt:  #d0d4db;
  --border-dk:  #2e3849;
  --text-main:  #1a1f2e;
  --text-sub:   #4a5568;
  --text-muted: #8a95a3;
  --text-white: #f0f2f5;
  --text-dk-sub:#9aa5b4;
  --accent:     #1565c0;
  --accent2:    #1e88e5;
  --accent-lt:  #e8f0fe;
  --silver:     #7a8592;
}

/* ═══════════════════════════════════════
   リセット・ベース
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg-base); color: var(--text-main); font-family: 'Noto Sans JP', sans-serif; font-weight: 400; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-lt); }
::-webkit-scrollbar-thumb:hover { background: var(--silver); }

/* ═══════════════════════════════════════
   ヘッダー
═══════════════════════════════════════ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bg-dark); border-bottom: 1px solid var(--border-dk);
  padding: 0 56px; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; flex-shrink: 0; background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: #fff; clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%); }
.logo-ja { font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0.05em; display: block; line-height: 1.2; }
.logo-en { font-family: 'Rajdhani', sans-serif; font-size: 10px; font-weight: 500; color: var(--text-dk-sub); letter-spacing: 0.15em; text-transform: uppercase; }
.logo-img-wrap { height: 40px; max-width: 120px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; }
.logo-img { display: block; height: 100%; width: 100%; object-fit: contain; object-position: left center; }
#site-footer .logo-img-wrap { height: 38px; max-width: 120px; }

/* ─── ナビ ─── */
#site-nav { display: flex; align-items: center; gap: 24px; }
#site-nav a { font-size: 12px; font-weight: 500; color: var(--text-dk-sub); text-decoration: none; letter-spacing: 0.06em; transition: color 0.2s; position: relative; white-space: nowrap; }
#site-nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--accent2); transform: scaleX(0); transition: transform 0.2s; }
#site-nav a:hover { color: #fff; }
#site-nav a:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--accent) !important; color: #fff !important; padding: 10px 20px; font-size: 12px !important; letter-spacing: 0.1em; border: 1px solid transparent; transition: all 0.2s !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: transparent !important; border-color: var(--accent2) !important; color: var(--accent2) !important; }

/* ─── ハンバーガー ─── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dk-sub); transition: all 0.3s; }
.mobile-nav { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--bg-dark); border-bottom: 1px solid var(--border-dk); padding: 20px 24px; z-index: 999; flex-direction: column; gap: 16px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 14px; color: var(--text-dk-sub); padding: 8px 0; border-bottom: 1px solid var(--border-dk); }
.mobile-nav a:last-child { border-bottom: none; }

/* ═══════════════════════════════════════
   ボタン
═══════════════════════════════════════ */
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; padding: 15px 34px; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-decoration: none; border: 1px solid transparent; transition: all 0.25s; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%); }
.btn-primary:hover { background: transparent; border-color: var(--accent2); color: var(--accent2); }
.btn-outline-light { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--text-dk-sub); padding: 15px 34px; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-decoration: none; border: 1px solid var(--border-dk); transition: all 0.25s; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-accent { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; padding: 13px 28px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-decoration: none; border: 1px solid transparent; transition: all 0.25s; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%); }
.btn-accent:hover { background: transparent; border-color: var(--accent2); color: var(--accent2); }

/* ═══════════════════════════════════════
   ヒーロー
═══════════════════════════════════════ */
/* ════════════════════════════════════════
   ヒーロー — 案A 斜め分割レイアウト
════════════════════════════════════════ */
.hero-section {
  min-height: 100vh; background: var(--bg-dark);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden; padding-top: 70px;
}
/* 右半分：やや暗い背景（斜め切り） */
.hero-section::before {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 47%;
  background: #0b0e17;
  clip-path: polygon(6% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}
/* 右半分：斜めストライプ */
.hero-section::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 47%;
  background: repeating-linear-gradient(-55deg, transparent, transparent 6px, rgba(30,136,229,0.045) 6px, rgba(30,136,229,0.045) 7px);
  clip-path: polygon(6% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}

/* 斜め境界のアクセントライン */
.hero-diagonal-line {
  position: absolute; top: 0; bottom: 0;
  left: calc(53% - 2px); width: 3px;
  background: linear-gradient(to bottom, transparent 0%, var(--accent2) 25%, var(--accent2) 75%, transparent 100%);
  transform: skewX(-3deg);
  z-index: 3; pointer-events: none;
}

/* 左上アクセントバー */
.hero-left-bar {
  position: absolute; left: 0; top: 15%; height: 60%;
  width: 4px; background: linear-gradient(to bottom, transparent, var(--accent2), transparent);
  z-index: 3;
}

/* ボディ：左コンテンツ＋右統計を横並びに */
.hero-body {
  flex: 1 1 0; display: flex; position: relative; z-index: 2; min-height: 0;
}

/* 左：テキストコンテンツ */
.hero-content {
  flex: 0 0 56%; display: flex; flex-direction: column;
  justify-content: center; padding: 40px 60px 40px 80px;
}
.hero-company-name { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.45); letter-spacing: 0.18em; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.hero-company-name::before { content: ''; display: block; width: 18px; height: 1px; background: rgba(255,255,255,0.3); }
.hero-eyebrow { font-family: 'Rajdhani', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent2); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ''; display: block; width: 30px; height: 1px; background: var(--accent2); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(21,101,192,0.2); border: 1px solid rgba(30,136,229,0.35); color: var(--accent2); font-size: 11px; font-weight: 700; padding: 5px 14px; letter-spacing: 0.05em; margin-bottom: 16px; }
.hero-badge::before { content: '★'; font-size: 9px; }
.hero-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(52px, 6vw, 84px); line-height: 1.0; color: #fff; letter-spacing: 0.04em; margin-bottom: 10px; }
.hero-title .accent-text { color: var(--accent2); }
.hero-subtitle { font-size: 13.5px; font-weight: 300; color: var(--text-dk-sub); margin-bottom: 32px; line-height: 2.1; max-width: 480px; }
.hero-subtitle strong { color: #c8d6e8; font-weight: 500; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* スライドショー */
.hero-slides { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-slides::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(18,22,35,0.96) 0%, rgba(18,22,35,0.85) 40%, rgba(18,22,35,0.55) 65%, rgba(18,22,35,0.25) 100%); z-index: 1; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.8s ease-in-out; filter: brightness(0.45) saturate(0.75); }
.hero-slide.active { opacity: 1; }

/* スライドドット */
.hero-progress { position: relative; display: flex; gap: 8px; z-index: 3; margin-top: 28px; }
.hero-dot { width: 24px; height: 3px; background: rgba(255,255,255,0.2); cursor: pointer; transition: background 0.3s, width 0.3s; }
.hero-dot.active { background: var(--accent2); width: 44px; }

/* 右：写真エリア（ヘッダー高さ分上に伸ばして隙間をなくす） */
.hero-right-col {
  flex: 0 0 45%; position: relative; z-index: 2; overflow: hidden;
  clip-path: polygon(7% 0%, 100% 0%, 100% 100%, 0% 100%);
  margin-top: -70px;  /* ヘッダー分の padding-top を打ち消す */
}
.hero-right-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.88) saturate(0.85);
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 8s ease;
  transform: scale(1.06);
}
.hero-right-slide.active {
  opacity: 1;
  transform: scale(1);
}
/* 写真左端のグラデーションで左コンテンツと自然になじむ */
.hero-right-col::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 60px;
  background: linear-gradient(to right, var(--bg-dark), transparent);
  z-index: 1; pointer-events: none;
}
/* 写真下部のグラデーション（統計バーとなじむ） */
.hero-right-col::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, rgba(12,16,25,0.7), transparent);
  z-index: 1; pointer-events: none;
}

/* 統計バー（フル幅・下部固定） */
.hero-stats {
  position: relative; flex-shrink: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(10,14,22,0.95);
  border-top: 1px solid var(--border-dk); z-index: 4;
}
.stat-item {
  padding: 22px 32px; border-right: 1px solid var(--border-dk); position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: transparent; transition: background 0.3s; }
.stat-item:hover::before { background: var(--accent2); }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 38px; color: #fff; line-height: 1; display: flex; align-items: baseline; gap: 4px; }
.stat-unit { font-size: 15px; color: var(--accent2); }
.stat-label { font-size: 10px; color: var(--silver); letter-spacing: 0.08em; margin-top: 5px; }

/* ═══════════════════════════════════════
   セクション共通
═══════════════════════════════════════ */
.section-base { padding: 110px 80px; }
.section-base.bg-white { background: var(--bg-white); }
.section-base.bg-light { background: var(--bg-base); }
.section-base.bg-dark  { background: var(--bg-dark); }
.section-header { margin-bottom: 60px; }
.section-tag { font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.section-tag::before { content: ''; display: block; width: 26px; height: 1px; background: var(--accent); }
.section-tag.on-dark { color: var(--accent2); }
.section-tag.on-dark::before { background: var(--accent2); }
.section-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px, 4vw, 56px); color: var(--text-main); letter-spacing: 0.05em; line-height: 1.1; }
.section-title span { color: var(--accent); }
.section-title.on-dark { color: #fff; }
.section-title.on-dark span { color: var(--accent2); }
.section-desc { font-size: 13.5px; color: var(--text-sub); max-width: 560px; margin-top: 18px; line-height: 2; }
.section-desc.on-dark { color: var(--text-dk-sub); }

/* ═══════════════════════════════════════
   お問い合わせ CTA
═══════════════════════════════════════ */
.cta-section { background: var(--bg-dark); border-top: 1px solid var(--border-dk); padding: 100px 80px; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0, transparent 10px, rgba(30,136,229,0.025) 10px, rgba(30,136,229,0.025) 11px); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(21,101,192,0.2); border: 1px solid rgba(30,136,229,0.3); color: var(--accent2); font-size: 11px; font-weight: 700; padding: 5px 14px; letter-spacing: 0.05em; margin-bottom: 16px; }
.cta-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(36px, 4vw, 58px); color: #fff; letter-spacing: 0.04em; line-height: 1.1; margin-bottom: 14px; }
.cta-desc { font-size: 13px; color: var(--text-dk-sub); line-height: 2; max-width: 460px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; flex-shrink: 0; }
.cta-tel { font-family: 'Bebas Neue', sans-serif; font-size: 38px; color: #fff; letter-spacing: 0.05em; display: flex; align-items: center; gap: 10px; }
.cta-hours { font-size: 11px; color: var(--silver); letter-spacing: 0.08em; }
.cta-address { font-size: 11px; color: var(--silver); margin-top: 8px; line-height: 1.8; }

/* ═══════════════════════════════════════
   取扱鋼材・加工タブ
═══════════════════════════════════════ */
.biz-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border-lt); margin-bottom: 52px; }
.biz-tab { padding: 14px 36px; font-size: 14px; font-weight: 700; color: var(--text-muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; letter-spacing: 0.05em; transition: color 0.2s, border-color 0.2s; user-select: none; display: flex; align-items: center; gap: 8px; }
.biz-tab:hover { color: var(--text-main); }
.biz-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.biz-tab .tab-count { font-family: 'Rajdhani', sans-serif; font-size: 11px; font-weight: 600; background: var(--accent-lt); color: var(--accent); border: 1px solid rgba(21,101,192,0.2); padding: 1px 7px; border-radius: 20px; }
.biz-tab.active .tab-count { background: var(--accent); color: #fff; }
.biz-panel { display: none; }
.biz-panel.active { display: block; }

/* 鋼材タグ */
.steel-intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.steel-intro-card { background: var(--bg-white); border: 1px solid var(--border-lt); overflow: hidden; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.steel-intro-card:hover { border-color: var(--accent2); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(21,101,192,0.1); }
.steel-intro-photo { height: 180px; overflow: hidden; }
.steel-intro-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.88) saturate(0.85); transition: filter 0.4s, transform 0.4s; display: block; }
.steel-intro-card:hover .steel-intro-photo img { filter: brightness(1) saturate(1); transform: scale(1.04); }
.steel-intro-body { padding: 18px 20px; }
.steel-intro-name { font-size: 14px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.steel-intro-note { font-size: 11.5px; color: var(--text-sub); line-height: 1.8; }
.steel-tag-area { background: var(--bg-panel); border: 1px solid var(--border-lt); padding: 24px 28px; margin-bottom: 28px; }
.steel-tag-area-title { font-family: 'Rajdhani', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); margin-bottom: 14px; }
.steel-tags-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.steel-tag { font-size: 12px; font-weight: 500; background: var(--bg-white); border: 1px solid var(--border-lt); color: var(--text-main); padding: 8px 16px; transition: all 0.2s; cursor: default; }
.steel-tag:hover { background: var(--accent-lt); border-color: var(--accent2); color: var(--accent); }
.steel-special-box { display: flex; align-items: center; gap: 16px; background: var(--accent-lt); border: 1px solid rgba(21,101,192,0.2); padding: 16px 22px; flex-wrap: wrap; }
.steel-special-box .label { font-family: 'Rajdhani', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); flex-shrink: 0; }
.steel-special-box .val { font-size: 13px; color: var(--text-sub); line-height: 1.8; flex: 1; }

/* 加工サービス */
.service-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-2card { background: var(--bg-white); border: 1px solid var(--border-lt); padding: 36px 32px; position: relative; overflow: hidden; transition: background 0.3s, border-color 0.3s; }
.service-2card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent2)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s; }
.service-2card:hover { background: var(--accent-lt); border-color: rgba(21,101,192,0.2); }
.service-2card:hover::before { transform: scaleX(1); }
.s2-header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.s2-icon { width: 52px; height: 52px; flex-shrink: 0; border: 1px solid var(--border-lt); background: var(--bg-panel); display: flex; align-items: center; justify-content: center; font-size: 24px; transition: background 0.3s, border-color 0.3s; }
.service-2card:hover .s2-icon { background: rgba(30,136,229,0.1); border-color: var(--accent2); }
.s2-num { font-family: 'Rajdhani', sans-serif; font-size: 11px; color: var(--text-muted); letter-spacing: 0.2em; margin-bottom: 2px; }
.s2-name { font-size: 16px; font-weight: 700; color: var(--text-main); }
.s2-desc { font-size: 13px; color: var(--text-sub); line-height: 2; margin-bottom: 16px; }
.s2-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.s2-tag { font-size: 10.5px; background: var(--bg-panel); border: 1px solid var(--border-lt); color: var(--text-sub); padding: 3px 9px; }

/* ═══════════════════════════════════════
   強み
═══════════════════════════════════════ */
.strengths-layout { display: grid; grid-template-columns: 1fr; gap: 0; align-items: start; max-width: 860px; }
.strength-list { display: flex; flex-direction: column; }
.strength-item { display: flex; align-items: flex-start; gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--border-dk); cursor: default; }
.strength-item:first-child { border-top: 1px solid var(--border-dk); }
.strength-item.featured { background: rgba(21,101,192,0.08); margin: 0 -20px; padding: 28px 20px; border-left: 3px solid var(--accent2); }
.str-num { font-family: 'Bebas Neue', sans-serif; font-size: 32px; color: var(--border-dk); line-height: 1; flex-shrink: 0; width: 48px; transition: color 0.3s; }
.strength-item:hover .str-num { color: var(--accent2); }
.str-badge { display: inline-flex; background: rgba(21,101,192,0.25); border: 1px solid rgba(30,136,229,0.4); color: var(--accent2); font-size: 10px; font-weight: 700; padding: 2px 8px; letter-spacing: 0.08em; margin-bottom: 6px; }
.str-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.str-desc { font-size: 12.5px; color: var(--text-dk-sub); line-height: 2; }
.strengths-panel { background: var(--bg-dark2); border: 1px solid var(--border-dk); padding: 44px; position: relative; }
.strengths-panel::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--accent), var(--accent2)); }
.panel-heading { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: #fff; letter-spacing: 0.05em; margin-bottom: 32px; }
.kpi-list { display: flex; flex-direction: column; gap: 26px; }
.kpi-label { font-size: 10px; color: var(--silver); letter-spacing: 0.12em; margin-bottom: 6px; }
.kpi-val { font-family: 'Bebas Neue', sans-serif; font-size: 44px; color: #fff; line-height: 1; display: flex; align-items: baseline; gap: 6px; }
.kpi-val small { font-size: 16px; color: var(--accent2); }
.kpi-bar-wrap { margin-top: 10px; height: 3px; background: var(--border-dk); position: relative; }
.kpi-bar { position: absolute; top: 0; left: 0; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); animation: growBar 1.5s ease forwards; }
@keyframes growBar { from { width: 0; } }

/* ═══════════════════════════════════════
   機械設備
═══════════════════════════════════════ */
.equip-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.equip-photo-card { position: relative; overflow: hidden; background: var(--bg-dark2); border: 1px solid var(--border-lt); transition: transform 0.3s, box-shadow 0.3s; }
.equip-photo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.18); }
.equip-photo-img { width: 100%; height: 240px; object-fit: cover; display: block; filter: brightness(0.88) saturate(0.9); transition: filter 0.4s, transform 0.4s; }
.equip-photo-card:hover .equip-photo-img { filter: brightness(1) saturate(1); transform: scale(1.03); }
.equip-photo-body { padding: 20px 22px; background: var(--bg-white); border-top: 3px solid var(--accent); }
.equip-photo-name { font-size: 15px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.equip-photo-model { font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 600; color: var(--accent2); letter-spacing: 0.1em; text-transform: uppercase; }
.equip-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 48px; }
.equip-mini-item { overflow: hidden; position: relative; aspect-ratio: 1; }
.equip-mini-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85) saturate(0.8); transition: filter 0.3s, transform 0.4s; display: block; }
.equip-mini-item:hover .equip-mini-img { filter: brightness(1) saturate(1); transform: scale(1.06); }
.equip-mini-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 6px 10px; background: rgba(21,101,192,0.85); font-size: 10px; font-weight: 700; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0; transition: opacity 0.3s; }
.equip-mini-item:hover .equip-mini-label { opacity: 1; }
.equip-table-wrap { margin-top: 56px; }
.equip-table-title { font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid var(--border-lt); }
.equip-table { width: 100%; border-collapse: collapse; }
.equip-table tr { border-bottom: 1px solid var(--border-lt); }
.equip-table tr:hover td { background: var(--accent-lt); }
.equip-table td { padding: 12px 16px; font-size: 12.5px; vertical-align: middle; }
.equip-table td:first-child { color: var(--text-main); font-weight: 500; width: 38%; }
.equip-table td:nth-child(2) { font-family: 'Rajdhani', sans-serif; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: 0.05em; width: 32%; }
.equip-table-use { font-size: 11px; color: var(--text-sub); text-align: right; }
.equip-table-use:not(:empty)::before { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--accent2); border-radius: 50%; margin-right: 8px; vertical-align: middle; }

/* ═══════════════════════════════════════
   会社沿革
═══════════════════════════════════════ */
.history-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.history-timeline { position: relative; padding-left: 40px; }
.history-timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--accent), var(--accent2), transparent); }
.history-item { position: relative; margin-bottom: 36px; }
.history-item::before { content: ''; position: absolute; left: -36px; top: 6px; width: 10px; height: 10px; background: var(--accent2); border: 2px solid var(--bg-dark); transform: rotate(45deg); }
.history-year { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: var(--accent2); letter-spacing: 0.08em; line-height: 1; margin-bottom: 6px; }
.history-desc { font-size: 14px; color: #fff; font-weight: 500; margin-bottom: 3px; }
.history-sub { font-size: 12.5px; color: var(--text-dk-sub); line-height: 1.8; }
.history-current { display: inline-flex; align-items: center; gap: 6px; background: rgba(21,101,192,0.2); border: 1px solid rgba(30,136,229,0.3); color: var(--accent2); font-size: 10px; font-weight: 700; padding: 3px 10px; letter-spacing: 0.08em; margin-top: 6px; }
.company-profile-box { background: var(--bg-dark2); border: 1px solid var(--border-dk); padding: 40px; position: relative; }
.company-profile-box::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--accent), var(--accent2)); }
.profile-tag { font-family: 'Rajdhani', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); margin-bottom: 22px; }
.profile-photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.profile-photo { position: relative; overflow: hidden; border-radius: 2px; height: 180px; box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85) saturate(0.9); transition: filter 0.4s, transform 0.5s; display: block; }
.profile-photo:hover img { filter: brightness(1) saturate(1); transform: scale(1.06); }
.profile-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,19,28,0.75) 0%, rgba(15,19,28,0.1) 45%, transparent 70%); pointer-events: none; }
.profile-photo-label { position: absolute; bottom: 12px; left: 14px; z-index: 1; font-size: 12px; font-weight: 700; color: #fff; letter-spacing: 0.08em; display: flex; align-items: center; gap: 6px; }
.profile-photo-label::before { content: ''; width: 5px; height: 5px; background: var(--accent2); border-radius: 50%; flex-shrink: 0; }
.profile-table { width: 100%; border-collapse: collapse; }
.profile-table tr { border-bottom: 1px solid var(--border-dk); }
.profile-table td { padding: 14px 0 14px 8px; font-size: 12px; }
.profile-table td:first-child { color: var(--silver); width: 35%; }
.profile-table td:last-child { color: #fff; font-weight: 500; }
.profile-table .tel-cell { color: var(--accent2); font-weight: 700; font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.05em; font-size: 20px; }

/* ═══════════════════════════════════════
   取引先
═══════════════════════════════════════ */
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-lt); border: 1px solid var(--border-lt); }
.partner-card { background: var(--bg-white); padding: 20px; text-align: center; font-size: 13px; font-weight: 500; color: var(--text-sub); transition: background 0.2s, color 0.2s; }
.partner-card:hover { background: var(--accent-lt); color: var(--accent); }

/* ═══════════════════════════════════════
   お知らせ + アクセス 横並び
═══════════════════════════════════════ */
.news-access-section { background: var(--bg-base); padding: 110px 80px; }
.news-access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* お知らせ列 */
.news-col-header { margin-bottom: 32px; }
.news-list { display: flex; flex-direction: column; }
.news-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border-lt); text-decoration: none; transition: padding-left 0.2s; }
.news-item:first-child { border-top: 1px solid var(--border-lt); }
.news-item:hover { padding-left: 8px; }
.news-date { font-family: 'Rajdhani', sans-serif; font-size: 13px; color: var(--text-muted); flex-shrink: 0; width: 90px; padding-top: 2px; }
.news-cat { background: var(--accent-lt); border: 1px solid rgba(21,101,192,0.2); color: var(--accent); font-size: 10px; font-weight: 700; padding: 2px 8px; flex-shrink: 0; height: fit-content; margin-top: 2px; }
.news-title-text { font-size: 13.5px; color: var(--text-main); line-height: 1.7; }
.news-item:hover .news-title-text { color: var(--accent); }

/* アクセス列 */
.access-col-header { margin-bottom: 28px; }
.access-map-inline { width: 100%; height: 320px; border: 1px solid var(--border-lt); overflow: hidden; position: relative; margin-bottom: 20px; }
.access-map-inline iframe { width: 100%; height: 100%; border: 0; filter: grayscale(15%) contrast(1.05); transition: filter 0.3s; }
.access-map-inline:hover iframe { filter: grayscale(0); }
.access-details-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.access-item-inline { background: var(--bg-white); border: 1px solid var(--border-lt); padding: 12px 14px; transition: border-color 0.2s; }
.access-item-inline:hover { border-color: var(--accent2); }
.access-item-label { font-family: 'Rajdhani', sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.access-item-val { font-size: 12.5px; color: var(--text-main); line-height: 1.7; font-weight: 500; }
.access-item-val.tel-big { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 0.05em; color: var(--accent); }
.access-map-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; font-weight: 700; color: var(--accent); text-decoration: none; letter-spacing: 0.08em; transition: gap 0.2s; }
.access-map-btn:hover { gap: 12px; }
.access-map-btn::after { content: '→'; }

/* ═══════════════════════════════════════
   フッター
═══════════════════════════════════════ */
#site-footer { background: #111720; border-top: 1px solid var(--border-dk); padding: 68px 80px 36px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 48px; }
.footer-desc { font-size: 12px; color: var(--text-dk-sub); line-height: 2.1; max-width: 280px; margin-top: 16px; }
.footer-address-block { font-size: 11.5px; color: var(--text-dk-sub); line-height: 2.2; margin-top: 18px; }
.footer-address-block strong { color: #8a95a4; font-weight: 500; }
.footer-col-title { font-family: 'Rajdhani', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border-dk); }
.footer-nav-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-nav-list a { font-size: 12.5px; color: var(--text-dk-sub); text-decoration: none; transition: color 0.2s, padding-left 0.2s; display: block; }
.footer-nav-list a:hover { color: var(--text-white); padding-left: 4px; }
.footer-bottom { border-top: 1px solid var(--border-dk); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 11px; color: var(--silver); letter-spacing: 0.05em; }
.footer-policy-link { font-size: 11px; color: var(--silver); text-decoration: none; }
.footer-policy-link:hover { color: var(--text-white); }

/* ═══════════════════════════════════════
   投稿・アーカイブページ
═══════════════════════════════════════ */
.site-content { padding-top: 70px; }
.content-area { max-width: 900px; margin: 0 auto; padding: 80px 40px; }
.entry-title { font-family: 'Bebas Neue', sans-serif; font-size: 40px; color: var(--text-main); margin-bottom: 20px; letter-spacing: 0.05em; }
.entry-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.entry-content { font-size: 15px; line-height: 2; color: var(--text-sub); }
.entry-content h2 { font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--text-main); margin: 40px 0 16px; letter-spacing: 0.05em; }
.entry-content h3 { font-size: 18px; font-weight: 700; color: var(--text-main); margin: 32px 0 12px; }
.entry-content p { margin-bottom: 20px; }
.entry-content a { color: var(--accent); }
.post-card { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border-lt); text-decoration: none; transition: padding-left 0.2s; }
.post-card:first-child { border-top: 1px solid var(--border-lt); }
.post-card:hover { padding-left: 8px; }
.post-date { font-family: 'Rajdhani', sans-serif; font-size: 13px; color: var(--text-muted); flex-shrink: 0; width: 90px; padding-top: 2px; }
.post-category { background: var(--accent-lt); border: 1px solid rgba(21,101,192,0.2); color: var(--accent); font-size: 10px; font-weight: 700; padding: 2px 8px; flex-shrink: 0; height: fit-content; margin-top: 2px; }
.post-title-text { font-size: 13.5px; color: var(--text-main); line-height: 1.7; }
.post-card:hover .post-title-text { color: var(--accent); }

/* ═══════════════════════════════════════
   アニメーション
═══════════════════════════════════════ */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.fade-in { opacity: 0; transform: translateY(28px); animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }

/* ═══════════════════════════════════════
   レスポンシブ
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  #site-header { padding: 0 24px; }
  #site-nav { display: none; }
  .hamburger { display: flex; }

  /* ── スマホ Hero：B案（全画面写真＋下からテキスト） ── */
  /* セクションをちょうど100vhに固定 */
  .hero-section { height: 100vh; min-height: 0; padding: 0; overflow: hidden; }
  .hero-section::before, .hero-section::after { display: none; }
  .hero-diagonal-line { display: none; }
  .hero-slides { display: none; }
  /* hero-bodyはstatsを除いた残りの高さを占有 */
  .hero-body {
    flex: 1 1 0; min-height: 0; position: relative;
    display: flex; flex-direction: column; justify-content: flex-end;
  }
  /* テキストを下部に */
  .hero-content {
    flex: none; padding: 0 20px 22px; position: relative; z-index: 2;
  }
  .hero-company-name { margin-top: 0; font-size: 11px; }
  /* 右スライドを全画面背景に */
  .hero-right-col {
    position: absolute; inset: 0;
    flex: none; clip-path: none; margin-top: 0; z-index: 0;
  }
  .hero-right-col::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    z-index: 1;
    background: linear-gradient(to bottom,
      rgba(10,14,22,0.1) 0%,
      rgba(10,14,22,0.55) 45%,
      rgba(10,14,22,0.93) 70%,
      rgba(10,14,22,1) 85%
    );
  }
  .hero-right-col::after { display: none; }
  /* タイトル */
  .hero-title { font-size: clamp(34px, 9vw, 50px); margin-bottom: 8px; }
  .hero-subtitle { font-size: 12px; line-height: 1.85; margin-bottom: 18px; }
  /* ボタン：縦積み・全幅 */
  .hero-btns { flex-direction: column; gap: 8px; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline-light {
    clip-path: none; width: 100%; justify-content: center;
    padding: 13px 20px; font-size: 13px; border-radius: 2px;
  }
  .hero-progress { margin-top: 14px; }
  /* 統計バー */
  .hero-stats { grid-template-columns: 1fr 1fr; flex-shrink: 0; z-index: 2; }
  .stat-item { padding: 13px 16px; }
  .stat-num { font-size: 28px; }
  .stat-unit { font-size: 13px; }
  .stat-label { font-size: 9px; }
  .section-base { padding: 72px 24px; }
  .cta-section { padding: 72px 24px; }
  .cta-inner { flex-direction: column; }
  .biz-tab { padding: 12px 18px; font-size: 13px; }
  .steel-intro-grid { grid-template-columns: 1fr 1fr; }
  .service-2col { grid-template-columns: 1fr; }
  .strengths-layout { grid-template-columns: 1fr; }
  .equip-photo-grid { grid-template-columns: 1fr; }
  .equip-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .history-layout { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .news-access-section { padding: 72px 24px; }
  .news-access-grid { grid-template-columns: 1fr; gap: 60px; }
  .access-map-inline { height: 260px; }
  .access-details-inline { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  #site-footer { padding: 60px 24px 32px; }
  .content-area { padding: 60px 24px; }
}
@media (max-width: 600px) {
  .steel-intro-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .access-details-inline { grid-template-columns: 1fr; }
}
