/* === デザイン変数 (一文機工ブランドカラー) === */
:root {
  --primary-green: #005b2f;
  --accent-light-green: #81b031;
  --bg-light: #f8f9fa;
  --text-dark: #333;
  --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* === ベーススタイル === */
body {
  margin: 0;
  font-family: 'M PLUS 1p', "Helvetica", sans-serif;
  /* green2.png CSS再現：深緑グラデーション＋菱形グリッド＋ゴールドライン */
  background:
    /* ゴールドライン1（左下→右上・細め） */
    linear-gradient(
      135deg,
      transparent 30%,
      rgba(220, 150, 30, 0.40) 30.15%,
      rgba(220, 150, 30, 0.40) 30.35%,
      transparent 30.5%
    ),
    /* ゴールドライン2（やや右寄り） */
    linear-gradient(
      135deg,
      transparent 48%,
      rgba(200, 130, 25, 0.28) 48.1%,
      rgba(200, 130, 25, 0.28) 48.25%,
      transparent 48.35%
    ),
    /* 菱形グリッド（横方向） */
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 38px,
      rgba(255, 255, 255, 0.035) 38px,
      rgba(255, 255, 255, 0.035) 39px
    ),
    /* 菱形グリッド（縦方向） */
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 38px,
      rgba(255, 255, 255, 0.035) 38px,
      rgba(255, 255, 255, 0.035) 39px
    ),
    /* ベースグラデーション */
    linear-gradient(
      135deg,
      #031f1e 0%,
      #052e2b 30%,
      #074039 55%,
      #052e2b 75%,
      #031f1e 100%
    );
  background-attachment: fixed;
  background-size: auto, auto, 55px 55px, 55px 55px, cover;
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 15px;
}

/* === 共通タイトル・見出し === */
.page-title {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  color: #ffffff;
  margin: 36px 16px 24px;
  letter-spacing: 0.25em;
  position: relative;
  padding-bottom: 16px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.page-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(to right, #81b031, #f0c040);
  margin: 12px auto 0;
  border-radius: 2px;
}

h2 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--primary-green);
  border-left: 5px solid;
  border-image: linear-gradient(to bottom, #81b031, #005b2f) 1;
  padding-left: 14px;
  letter-spacing: 0.05em;
}

/* === コンテンツセクション (共通の白背景ボックス) === */
.content-section {
  background-color: rgba(255, 255, 255, 0.92);
  border: none;
  margin: 32px auto;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  max-width: 960px;
  width: calc(100% - 32px);
  box-sizing: border-box;
  color: var(--text-dark);
}

/* === テーブル関連 === */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 10px;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eee;
}

th, td {
  padding: 16px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
  color: var(--text-dark);
}

thead th {
  background-color: var(--primary-green);
  color: #fff;
  text-align: center;
}

/* --- モデル欄（筐体画像 + モデル名） --- */
.col-model-header {
  width: 22%;
  text-align: center;
  background-color: #fcfcfc;
  vertical-align: middle;
}

.model-thumb {
  display: block;
  width: 100%;
  max-width: 90px;
  height: 80px;        /* 高さを固定して各行を揃える */
  object-fit: contain; /* アスペクト比を保ちつつ収める */
  margin: 0 auto 8px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.model-name-text {
  display: block;
  font-weight: bold;
  color: var(--primary-green);
  font-size: 15px;
}

/* 現場イメージ列 */
.col-image {
  width: 35%;
  padding: 12px;
}

.usage-img {
  width: 100%;
  height: 120px;       /* 全行の高さを統一 */
  object-fit: cover;   /* 均一なサイズ感に */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: block;
}

/* --- スペック比較表専用 --- */
.spec-table tbody th {
  background: #f2f2f2;
  width: 25%;
  font-weight: bold;
  text-align: left;
}

.spec-table td {
  width: 25%;
  text-align: center;
  background: #fff;
}

.highlight {
  color: var(--primary-green);
  font-weight: bold;
}

/* === フォーム & CTA要素 (既存スタイル維持) === */
form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; margin-bottom: 8px; }
label { font-size: 14px; font-weight: bold; margin-bottom: 4px; }
input, textarea {
  font-size: 14px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}
textarea {
  min-height: 150px;
  resize: vertical;
}

.cta {
  background-color: var(--primary-green);
  color: #fff;
  padding: 12px;
  border-radius: 24px;
  font-size: 14px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  width: 100%;
  max-width: 280px;
  margin: 8px auto 0;
  cursor: pointer;
  border: none;
}

/* === モバイル対応 === */
@media (max-width: 600px) {
  .content-section { padding: 24px 16px; margin: 24px auto; }
  h2 { font-size: 1.2rem; }

  /* スマホでは比較表をカード形式に変換 */
  .compare-table-v3 thead { display: none; }
  .compare-table-v3,
  .compare-table-v3 tbody,
  .compare-table-v3 tr,
  .compare-table-v3 td { display: block; width: 100%; box-sizing: border-box; }
  .compare-table-v3 tr {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    background: #fff;
  }
  .compare-table-v3 .col-model-header {
    width: 35%;
    background: #f5f9f5;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: none;
    border-right: 1px solid #eee;
  }
  .compare-table-v3 .col-model-header .model-thumb {
    max-width: 70px;
    height: 65px;
  }
  .compare-table-v3 .col-desc {
    width: 65%;
    padding: 14px 12px;
    font-size: 13px;
    line-height: 1.6;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
  }
  .compare-table-v3 .col-image {
    width: 100%;
    padding: 0;
  }
  .compare-table-v3 .usage-img {
    width: 100%;
    height: 160px;
    border-radius: 0 0 12px 12px;
  }

  /* スペック表 — 横スクロールを維持しつつ文字を調整 */
  .spec-table th,
  .spec-table td { font-size: 12px; padding: 10px 8px; }
  .spec-table tbody th { width: 28%; }
}

html { scroll-behavior: smooth; }
/* === index_sp.php 専用スタイル === */

.header-divider {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.2);
  margin: 0 auto 16px;
  width: 100%;
}

.hero-copy {
  text-align: center;
  margin: 24px auto;
  max-width: 960px;
  padding: 0 16px;
  box-sizing: border-box;
}

.hero-copy img {
  max-width: 100%;
  height: auto;
}

/* アイコングリッド */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px 16px;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  text-decoration: none;
  color: var(--primary-green);
  padding: 24px 12px 20px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid transparent;
}

.icon-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border-bottom: 3px solid var(--accent-light-green);
}

.icon-fa {
  font-size: 2.4rem;
  color: var(--primary-green);
  margin-bottom: 10px;
  display: block;
  text-align: center;
  transition: color 0.3s ease;
}

.icon-item:hover .icon-fa {
  color: var(--accent-light-green);
}

.icon-item h3 {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  color: var(--primary-green);
  word-break: keep-all;
}

.icon-item img {
  display: block;
  width: 100%;
  max-width: 80px;
  height: 68px;
  object-fit: contain;
  margin: 0 auto 10px;
  border-radius: 4px;
}

.icon-fa {
  font-size: 2.2rem;
  color: var(--primary-green);
  margin-bottom: 10px;
  display: block;
  text-align: center;
  transition: color 0.3s ease;
}

.icon-item:hover .icon-fa {
  color: var(--accent-light-green);
}



/* アイコングリッドとお知らせ欄の余白 */
/* お知らせボックス */
.notice-box {
  max-width: 960px;
  margin: 32px auto 32px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 20px 24px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  width: calc(100% - 32px);
  box-sizing: border-box;
}

.notice-box h4 {
  margin-top: 0;
  font-size: 16px;
  color: var(--primary-green);
  border-left: 4px solid var(--accent-light-green);
  padding-left: 8px;
}

.notice-box ul {
  padding-left: 16px;
  margin: 0;
}

.notice-box li {
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.notice-box a {
  color: var(--primary-green);
  text-decoration: none;
}

.notice-box a:hover {
  text-decoration: underline;
}

/* 企業紹介セクション（背景直置き） */
.intro-section {
  text-align: center;
  padding: 48px 28px;
  margin: 0 auto 32px;
  max-width: 960px;
  width: calc(100% - 32px);
  box-sizing: border-box;
}

.intro-catch {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.6;
  margin: 0 0 16px;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, #f0d060 0%, #c8a030 40%, #e0b840 60%, #a08020 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-body {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* 旧intro-box（後方互換・他ページで使用の場合） */
.intro-box {
  background-color: rgba(255, 255, 255, 0.95);
  text-align: center;
  padding: 28px 28px 24px;
  margin: 0 auto 32px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  max-width: 960px;
  width: calc(100% - 32px);
  box-sizing: border-box;
}

/* CTAボタン群 */
.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 auto 48px;
  max-width: 960px;
  width: calc(100% - 32px);
}

/* スマホ追加調整 */
@media (max-width: 600px) {
  .icon-grid {
    gap: 12px;
    padding: 16px 12px;
    max-width: 100%;
  }
  .icon-item {
    padding: 10px 6px;
  }
  .icon-item img {
    max-width: 52px;
    height: 46px;
  }
  .icon-item h3 {
    font-size: 11px;
  }
  .notice-box, .intro-box {
    width: calc(100% - 24px);
    padding: 16px;
  }
  .intro-section {
    padding: 32px 20px;
  }
  .intro-catch {
    font-size: 18px;
    letter-spacing: 0.04em;
  }
  .intro-body {
    font-size: 13px;
  }
}

/* === product_sp.php 専用スタイル === */

.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 24px auto;
  max-width: 720px;
  padding: 0 16px;
  box-sizing: border-box;
}

.product-item {
  width: calc(50% - 32px);
  min-width: 140px;
  max-width: 200px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.product-item a {
  text-decoration: none;
}

.product-item img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 10px;
}

.product-item p {
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
  color: var(--primary-green);
  font-weight: bold;
  word-break: keep-all;
}

@media (max-width: 600px) {
  .product-list {
    gap: 16px;
    padding: 0 12px;
  }
  .product-item {
    width: calc(50% - 20px);
    min-width: 120px;
    padding: 12px;
  }
  .product-item img {
    height: 100px;
  }
  .product-item p {
    font-size: 13px;
  }
}

/* === coaster_sp.php 専用スタイル === */

.video-wrapper {
  width: 100%;
  margin: 16px auto 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.highlight {
  color: #E15A28;
  font-weight: bold;
}

/* === company_sp.php 専用スタイル === */

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

/* セクションヘッダー（ドット＋見出し） */
.section-header { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.section-header .dot { flex-shrink:0; width:10px; height:10px; border-radius:999px; background:var(--primary-green); }
/* section-header内のh2はborder-leftを非表示に */
.section-header h2 { border-left:none; padding-left:0; margin-bottom:0; }

/* 会社概要テーブル */
.table-wrap { overflow-x:auto; }
.table-wrap table { width:100%; border-collapse:collapse; border:none; border-radius:0; }
.table-wrap th, .table-wrap td { padding:12px 14px; border-bottom:1px solid #e6e6e6; vertical-align:top; }
.table-wrap th { white-space:nowrap; width:11em; background:#f3f6f5; font-weight:600; color:#444; text-align:left; }
.table-wrap a { color:var(--primary-green); }

/* 沿革リスト */
.history-list { list-style:none; padding:0; margin:0; }
.history-list li { padding:10px 12px; border-left:4px solid var(--primary-green); background:#fff; margin:8px 0; border-radius:8px; box-shadow:0 1px 2px rgba(0,0,0,.04); font-size:14px; }

/* 施設紹介グリッド */
.fac-lead { margin:6px 0 14px; color:#555; font-size:14px; }
.fac-icons { display:grid; grid-template-columns:repeat(auto-fill, minmax(130px,1fr)); gap:14px; }
.fac-icon { display:flex; flex-direction:column; align-items:center; gap:8px; background:#fff; border-radius:12px; padding:10px; text-decoration:none; color:#222; box-shadow:0 1px 4px rgba(0,0,0,.08); cursor:pointer; }
.fac-icon img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:8px; }
.fac-icon span { font-size:14px; font-weight:600; }
.fac-icon:focus { outline:3px solid #8ad; outline-offset:2px; }

/* モーダル */
.fac-modal { position:fixed; inset:0; background:rgba(0,0,0,.85); display:flex; align-items:center; justify-content:center; z-index:9999; }
.fac-modal[hidden] { display:none; }
.fac-modal img { max-width:92vw; max-height:82vh; border-radius:12px; box-shadow:0 8px 24px rgba(0,0,0,.5); background:#fff; }
.fac-close, .fac-prev, .fac-next { position:absolute; background:#fff; border:0; border-radius:999px; padding:10px 14px; font-size:20px; cursor:pointer; }
.fac-close { top:16px; right:16px; }
.fac-prev  { left:16px; }
.fac-next  { right:16px; }
.fac-caption { position:absolute; bottom:16px; left:50%; transform:translateX(-50%); color:#fff; background:rgba(0,0,0,.45); padding:6px 10px; border-radius:8px; font-size:13px; max-width:90vw; }

/* マップ */
.map-wrap { border-radius:12px; overflow:hidden; box-shadow:0 1px 4px rgba(0,0,0,.06); }

@media (max-width:600px) {
  .table-wrap th { width:auto; white-space:normal; }
  .fac-icons { grid-template-columns:repeat(auto-fill, minmax(100px,1fr)); gap:10px; }
  .fac-prev, .fac-next { top:50%; transform:translateY(-50%); }
}

/* === recruit_sp.php 専用スタイル === */

.job-title {
  font-size: 15px;
  color: var(--primary-green);
  border-left: 4px solid var(--accent-light-green);
  padding-left: 10px;
  margin: 20px 0 8px;
}

.job-listing ul {
  padding-left: 1.4em;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.recruit-table {
  border-radius: 0;
}

.recruit-table th {
  width: 30%;
  background: #f3f6f5;
  color: #444;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.recruit-table td {
  background: #fff;
  text-align: left;
}

@media (max-width: 600px) {
  .recruit-table th { white-space: normal; width: auto; }
}

/* === company_sp.php 特許・開発実績 === */
.patent-table thead th {
  background: var(--primary-green);
  color: #fff;
  font-weight: 700;
  padding: 8px 12px;
  text-align: left;
}

.patent-table td {
  padding: 6px 12px;
  font-size: 14px;
  vertical-align: top;
}

.patent-table td:first-child {
  white-space: nowrap;
  color: #666;
  width: 110px;
}

.patent-cert-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-green);
  margin: 32px 0 12px;
  padding-left: 10px;
  border-left: 4px solid var(--accent-green);
}

.patent-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  margin-top: 8px;
}

.patent-grid img {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
}

@media (max-width: 640px) {
  .patent-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 400px) {
  .patent-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* === company_sp.php 福利厚生 === */
.welfare-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.welfare-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  background: #fff;
  border: 1px solid #e8f0e8;
}

/* --- スライダー --- */
.welfare-slider {
  position: relative;
  width: 100%;
  background: #f0f0f0;
  overflow: hidden;
}

.welfare-slides {
  width: 100%;
}

.welfare-slides img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: none;
}

.welfare-slides img:first-child {
  display: block;
}

/* 左右ボタン */
.ws-prev,
.ws-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
  line-height: 1;
  padding: 0;
}

.ws-prev:hover,
.ws-next:hover {
  background: rgba(0,0,0,0.55);
}

.ws-prev { left: 8px; }
.ws-next { right: 8px; }

/* ドットインジケーター */
.ws-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.ws-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.ws-dot.active {
  background: #fff;
}

.welfare-body {
  padding: 16px;
}

.welfare-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-green);
  margin-bottom: 8px;
}

.welfare-desc {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  color: var(--text-dark);
}

/* PC幅：カードを横並びに */
@media (min-width: 768px) {
  .welfare-list {
    flex-direction: row;
    gap: 20px;
  }
  .welfare-card {
    flex: 1;
    min-width: 0;
  }
  .welfare-slides img {
    height: 240px;
  }
}

/* === contact_sp.php 専用スタイル === */

textarea {
  resize: vertical;
  min-height: 120px;
}

button.cta {
  background-color: var(--primary-green);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 24px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
  max-width: 280px;
  margin: 8px auto 0;
  display: block;
}

button.cta:hover {
  background-color: #007b3f;
}

.thanks {
  text-align: center;
  padding: 20px;
  font-size: 15px;
  color: #007b3f;
  background-color: #f0fff4;
  border: 1px solid #c6eed8;
  border-radius: 8px;
  line-height: 1.8;
}

/* === company_sp.php 専用スタイル === */

/* 会社概要テーブル（グローバルのtable/th/tdとは分離） */
.company-table { border: none; border-radius: 0; }
.company-table th {
  background: #f3f6f5;
  color: #444;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  width: 10em;
}
.company-table th, .company-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e6e6e6;
  vertical-align: top;
  font-size: 14px;
}
.company-table a { color: var(--primary-green); }

/* 沿革リスト */
.history-list { list-style: none; padding: 0; margin: 0; }
.history-list li {
  padding: 10px 12px;
  border-left: 4px solid var(--primary-green);
  background: #fff;
  margin: 8px 0;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  font-size: 14px;
  line-height: 1.6;
}

/* 施設グリッド */
.fac-lead { margin: 6px 0 14px; color: #555; font-size: 14px; }
.fac-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); gap: 14px; }
.fac-icon {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: #fff; border-radius: 12px; padding: 10px;
  text-decoration: none; color: #222;
  box-shadow: 0 1px 4px rgba(0,0,0,.08); cursor: pointer;
}
.fac-icon img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.fac-icon span { font-size: 14px; font-weight: 600; }

/* モーダル */
.fac-modal { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.fac-modal[hidden] { display: none; }
.fac-modal img { max-width: 92vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.fac-close, .fac-prev, .fac-next { position: absolute; background: #fff; border: 0; border-radius: 999px; padding: 10px 14px; font-size: 20px; cursor: pointer; }
.fac-close { top: 16px; right: 16px; }
.fac-prev  { left: 16px; top: 50%; transform: translateY(-50%); }
.fac-next  { right: 16px; top: 50%; transform: translateY(-50%); }
.fac-caption { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #fff; background: rgba(0,0,0,.45); padding: 6px 10px; border-radius: 8px; font-size: 13px; max-width: 90vw; white-space: nowrap; }

/* 福利厚生モーダル */
.welfare-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.welfare-modal[hidden] { display: none; }

.wm-img-wrap {
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wm-img-wrap img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  display: block;
}

.wm-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.wm-close:hover { background: rgba(255,255,255,0.3); }

.wm-prev, .wm-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.wm-prev { left: 16px; }
.wm-next { right: 16px; }
.wm-prev:hover, .wm-next:hover { background: rgba(255,255,255,0.3); }

.wm-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  background: rgba(0,0,0,.4);
  padding: 4px 12px;
  border-radius: 20px;
}

/* マップ */
.map-wrap { border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); }

@media (max-width: 600px) {
  .company-table th { width: auto; white-space: normal; }
  .fac-icons { grid-template-columns: repeat(auto-fill, minmax(100px,1fr)); gap: 10px; }
}

/* === raiden_sp.php イラスト === */
.raiden-illust-wrap {
  margin-top: 24px;
  background: #f8faf8;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.raiden-illust-title {
  font-size: 13px;
  color: #666;
  margin: 0 0 16px;
}
.raiden-illust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.raiden-illust-machine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.raiden-illust-label { font-size: 12px; color: #666; }
.raiden-illust-name  { font-size: 13px; font-weight: bold; color: var(--primary-green); }
.raiden-illust-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.raiden-illust-arrow-text { font-size: 11px; color: #81b031; font-weight: bold; line-height: 1.4; }
.raiden-illust-caption {
  margin-top: 16px;
  font-size: 13px;
  color: #333;
  background: #f0f9f4;
  border-radius: 8px;
  padding: 10px 14px;
  line-height: 1.7;
}

/* =====================
   製品ナビゲーション（raiden_sp）
   ===================== */
.product-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}
.product-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: #f5f9f5;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 16px 12px;
  flex: 1;
  max-width: 160px;
  transition: border-color 0.2s, transform 0.2s;
}
.product-nav-item:hover {
  border-color: var(--accent-light-green);
  transform: translateY(-2px);
}
.product-nav-item img {
  height: 64px;
  width: auto;
  object-fit: contain;
}
.product-nav-item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-green);
}

/* =====================
   製品詳細セクション（raiden_sp）
   ===================== */
.product-detail-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.product-detail-img {
  flex-shrink: 0;
  width: 160px;
  text-align: center;
}
.product-detail-img img {
  width: 100%;
  max-width: 160px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
}
.product-detail-intro {
  flex: 1;
  min-width: 0;
}
/* 現場イメージ：右側に配置 */
.product-detail-scene-img {
  flex-shrink: 0;
  width: 42%;
  max-width: 380px;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.product-detail-scene-img .product-scene-img {
  width: 100%;
  height: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  display: block;
}
.product-detail-label {
  font-size: 11px;
  color: var(--accent-light-green);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 6px;
  font-weight: 700;
}
.product-detail-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-green);
  margin: 0 0 4px;
  border-left: none;
  padding-left: 0;
  letter-spacing: 0.05em;
}
.product-detail-model {
  font-size: 14px;
  color: #888;
  font-weight: 400;
  margin-left: 8px;
}
.product-detail-catch {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin: 8px 0 12px;
  line-height: 1.6;
}
.product-detail-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin: 0 0 20px;
}
.product-detail-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.product-spec-item {
  background: #f5f9f5;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.spec-label {
  font-size: 11px;
  color: #888;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.spec-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-green);
}
.spec-value.highlight {
  color: var(--accent-light-green);
}

.product-detail-cta {
  text-align: center;
  padding-top: 8px;
}

@media (max-width: 600px) {
  .product-nav { gap: 8px; }
  .product-nav-item { padding: 12px 8px; max-width: none; }
  .product-nav-item img { height: 48px; }
  .product-nav-item span { font-size: 12px; }

  .product-detail-header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .product-detail-img { width: 140px; }
  .product-detail-scene-img {
    width: 100%;
    max-width: none;
  }
  .product-detail-scene-img .product-scene-img {
    max-height: 200px;
  }
  .product-detail-name { font-size: 22px; }
  .product-detail-specs { grid-template-columns: repeat(2, 1fr); }
}

/* =====================
   ギャラリー（coaster_sp）
   ===================== */
.gallery-main {
  width: 75%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: block;
  margin: 0 auto 12px;
  transition: opacity 0.2s ease;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumbs img {
  width: calc(20% - 7px);
  min-width: 46px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.7;
}

.gallery-thumbs img.active,
.gallery-thumbs img:hover {
  border-color: var(--primary-green);
  opacity: 1;
}

/* =====================
   ヘッダー（header_sp）
   ===================== */
header {
  background: url("../images/common/head2.png") no-repeat left center;
  background-size: cover;
  text-align: left;
  padding: 0 40px;
  position: relative;
  height: 70px;
  display: flex;
  align-items: center;
}

header::before {
  display: none;
}

.header-logo-link {
  display: inline-block;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.header-company-name {
  display: block;
  font-size: clamp(18px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  background: linear-gradient(180deg, #f0d060 0%, #c8a030 40%, #e0b840 60%, #a08020 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}

header img.logo {
  display: none;
}

/* =====================
   ハンバーガーメニュー
   ===================== */
.nav-toggle {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  background: rgba(0, 91, 47, 0.85);
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px;
  z-index: 1000;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100%;
  background: #003d20;
  z-index: 2000;
  transition: right 0.3s ease;
  padding: 60px 0 24px;
  box-sizing: border-box;
  overflow-y: auto;
}

.nav-drawer.open {
  right: 0;
}

.nav-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-drawer ul li a {
  display: block;
  padding: 16px 24px;
  color: #f0f0f0;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-drawer ul li a:hover {
  background: rgba(255,255,255,0.08);
  color: #81b031;
}

.nav-drawer ul li a i {
  color: #81b031;
  width: 20px;
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1500;
}

.nav-overlay.open {
  display: block;
}

/* =====================
   ページサブタイトル（company_sp）
   ===================== */
.page-subtitle {
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.85);
  margin: -8px auto 20px;
  max-width: 540px;
  width: calc(100% - 32px);
  line-height: 1.7;
}

/* =====================
   開発中仕様リスト（coaster_sp）
   ===================== */
.spec-highlight {
  background: #f8faf8;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
}

.spec-highlight h3 {
  font-size: 14px;
  color: var(--primary-green);
  margin: 0 0 10px;
  font-weight: bold;
}

.spec-highlight ul {
  padding-left: 1.4em;
  margin: 0;
  font-size: 14px;
  line-height: 2;
}

/* =====================
   選び方ガイド（raiden_sp）
   ===================== */
.guide-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.guide-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8faf8;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
}

.guide-condition {
  flex: 1;
  color: var(--text-dark);
  line-height: 1.5;
}

.guide-arrow {
  color: var(--accent-light-green);
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
}

.guide-model {
  font-weight: bold;
  color: var(--primary-green);
  white-space: nowrap;
  flex-shrink: 0;
}

.guide-model a {
  color: var(--primary-green);
  text-decoration: underline;
}

/* =====================
   フォーム必須・任意ラベル・セレクト（contact_sp）
   ===================== */
.required {
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  background: #c0392b;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.optional {
  font-size: 11px;
  color: #888;
  background: #eee;
  padding: 1px 5px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

select {
  font-size: 14px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
}

/* =====================
   フッター（footer_sp）
   ===================== */
.site-footer {
  background-color: #1a1a1a;
  color: #ccc;
  margin-top: 40px;
  padding: 24px 20px 12px;
  font-size: 13px;
  line-height: 1.7;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* 会社情報 */
.footer-company {
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.footer-address {
  margin: 0 0 8px;
  font-size: 12px;
  color: #aaa;
}

.footer-tel {
  margin: 0;
}

.footer-tel a {
  color: #81b031;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.footer-tel a:hover {
  color: #a0d040;
}

.footer-tel a i {
  margin-right: 4px;
  font-size: 13px;
}

/* ナビゲーション */
.footer-nav {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.footer-nav ul li {
  width: 50%;
  box-sizing: border-box;
}

.footer-nav ul li a {
  display: block;
  padding: 8px 12px;
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s ease;
}

.footer-nav ul li a:hover {
  color: #81b031;
}

/* PC幅ではナビを横一列 */
@media (min-width: 601px) {
  .footer-nav ul li {
    width: auto;
  }
  .footer-nav ul li a {
    padding: 10px 16px;
    border-bottom: none;
  }
}

/* コピーライト */
.footer-copy {
  text-align: center;
  font-size: 11px;
  color: #777;
  padding-top: 4px;
}

/* =====================
   フォームエラー（contact_sp）
   ===================== */
.form-error {
  background: #fff0f0;
  border-left: 4px solid #c0392b;
  color: #c0392b;
  padding: 10px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-size: 14px;
}

/* =====================
   お知らせ一覧へリンク（index_sp）
   ===================== */
.notice-more {
  display: block;
  text-align: right;
  font-size: 13px;
  color: var(--primary-green);
  text-decoration: none;
  margin-top: 12px;
}

.notice-more:hover {
  text-decoration: underline;
}

/* =====================
   お知らせ一覧（news_sp）
   ===================== */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
  padding-top: 2px;
}

.news-tag {
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  background: var(--primary-green);
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.news-title {
  font-size: 14px;
  color: var(--primary-green);
  text-decoration: none;
  line-height: 1.6;
  flex: 1;
  min-width: 0;
}

.news-title:hover {
  text-decoration: underline;
}

/* =====================
   掲載履歴（press_sp）
   ===================== */
.press-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.press-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  align-items: flex-start;
}

.press-item:last-child {
  border-bottom: none;
}

.press-date {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
  padding-top: 2px;
}

.press-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.press-media {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-dark);
}

.press-company {
  font-size: 13px;
  color: #666;
}

.press-link {
  font-size: 13px;
  color: var(--primary-green);
  text-decoration: none;
  margin-top: 4px;
}

.press-link:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .news-item {
    gap: 8px;
  }
  .press-item {
    flex-direction: column;
    gap: 8px;
  }
}

/* =====================
   お知らせ本文付き（news_sp 案A）
   ===================== */
.news-full-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.news-full-item:last-child {
  border-bottom: none;
}

.news-full-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.news-full-title {
  font-size: 15px;
  font-weight: bold;
  color: var(--primary-green);
  margin-bottom: 10px;
  line-height: 1.5;
}

.news-full-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dark);
}

.news-full-body p {
  margin: 0 0 8px;
}

.news-full-body p:last-of-type {
  margin-bottom: 10px;
}

.news-full-link {
  display: inline-block;
  font-size: 13px;
  color: var(--primary-green);
  text-decoration: none;
  margin-top: 4px;
}

.news-full-link:hover {
  text-decoration: underline;
}

/* =====================
   お知らせ年区切り見出し（news_sp）
   ===================== */
.news-year-heading {
  font-size: 15px;
  font-weight: bold;
  color: var(--primary-green);
  border-bottom: 2px solid var(--accent-light-green);
  padding-bottom: 6px;
  margin: 24px 0 4px;
}

.news-year-heading:first-child {
  margin-top: 0;
}

/* =============================================
   パターンA：全画面スプラッシュスクリーン
   ============================================= */

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #0a1f14;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow: hidden;
}
.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* スプラッシュ背景 */
.splash-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0,91,47,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(129,176,49,0.15) 0%, transparent 50%),
    linear-gradient(160deg, #0a1f14 0%, #0d2a1a 40%, #061510 100%);
  z-index: 0;
}

/* 微細グリッドパターン */
.splash-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(129,176,49,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129,176,49,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* --- 右上：スキップボタン（常時固定） --- */
.splash-enter {
  position: absolute;
  top: clamp(16px, 3vh, 28px);
  right: clamp(16px, 3vw, 32px);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(180, 140, 30, 0.15);
  border: 1px solid rgba(200, 160, 40, 0.6);
  color: rgba(230, 190, 80, 0.95);
  padding: 8px 22px;
  border-radius: 40px;
  font-size: clamp(11px, 1.1vw, 13px);
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.12em;
  transition: all 0.3s ease;
}
.splash-enter:hover {
  background: rgba(180, 140, 30, 0.30);
  border-color: rgba(220, 180, 60, 0.9);
  color: #fff;
}
.splash-enter i {
  font-size: 10px;
  transition: transform 0.3s ease;
}
.splash-enter:hover i {
  transform: translateX(3px);
}

/* --- 中央：スライダー（flex:1で全高を使う） --- */
.splash-slider {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2vh, 24px) 0;
  box-sizing: border-box;
}

.splash-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s ease;
  padding: 0 24px;
  box-sizing: border-box;
  overflow: hidden;
}
.splash-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* キャッチコピースライド専用（クリック不可） */
.splash-slide-catch {
  cursor: default;
  gap: clamp(8px, 2vh, 20px);
}

.splash-company {
  font-size: clamp(11px, 1.4vw, 16px);
  color: rgba(220, 180, 80, 0.7);
  letter-spacing: 0.45em;
  margin: 0 0 clamp(12px, 2vh, 24px);
  font-weight: 400;
}

.splash-catchcopy {
  font-size: clamp(16px, 2.4vw, 36px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  margin: 0;
  text-align: center;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  line-height: 1.6;
  white-space: nowrap;
  padding: 0 24px;
  box-sizing: border-box;
}

.splash-catchcopy-accent {
  font-size: clamp(28px, 4.2vw, 50px);
  font-weight: 700;
  background: linear-gradient(180deg, #f0d060 0%, #c8a030 40%, #e0b840 60%, #a08020 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 製品スライド：画像がスライダーエリアに追従 */
.splash-slide-image {
  flex: 1;
  min-height: 0;
  max-height: 65%;
  width: auto;
  max-width: min(380px, 70vw);
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.5)) drop-shadow(0 4px 16px rgba(129,176,49,0.2));
  margin-bottom: clamp(16px, 2.5vh, 28px);
  cursor: pointer;
  transition: transform 0.4s ease;
  opacity: 0;
}
.splash-slide.active .splash-slide-image {
  animation: splashFadeUp 0.9s ease 0.15s forwards;
}
.splash-slide:hover .splash-slide-image {
  transform: scale(1.04) translateY(-4px);
}

.splash-slide-name {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: clamp(4px, 0.8vh, 10px);
  flex-shrink: 0;
  background: linear-gradient(180deg, #f0d060 0%, #c8a030 40%, #e0b840 60%, #a08020 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
}
.splash-slide.active .splash-slide-name {
  animation: splashFadeUp 0.9s ease 0.35s forwards;
}

.splash-slide-desc {
  font-size: clamp(12px, 1.3vw, 16px);
  color: #d4b44a;
  letter-spacing: 0.05em;
  line-height: 1.6;
  flex-shrink: 0;
  opacity: 0;
}
.splash-slide.active .splash-slide-desc {
  animation: splashFadeUp 0.9s ease 0.5s forwards;
}

/* --- 下部：プログレスドット --- */
.splash-bottom {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(10px, 1.5vh, 18px) 24px clamp(24px, 5vh, 52px);
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

.splash-progress {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.splash-dot {
  width: 32px;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s;
}
.splash-dot:hover {
  background: rgba(255,255,255,0.35);
}
.splash-dot-fill {
  width: 0%;
  height: 100%;
  background: #81b031;
  border-radius: 2px;
  transition: width 0.1s linear;
}
.splash-dot.active .splash-dot-fill {
  width: 100%;
}
.splash-dot.done .splash-dot-fill {
  width: 100%;
  background: rgba(255,255,255,0.4);
}

/* キャッチコピースライドのアニメーション */
.splash-slide-catch .splash-company {
  opacity: 0;
}
.splash-slide-catch.active .splash-company {
  animation: splashFadeUp 0.9s ease 0.1s forwards;
}
.splash-slide-catch .splash-catchcopy {
  opacity: 0;
}
.splash-slide-catch.active .splash-catchcopy {
  animation: splashFadeUp 0.9s ease 0.35s forwards;
}

@keyframes splashFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* スマホ幅 */
@media (max-width: 480px) {
  .splash-catchcopy {
    font-size: clamp(13px, 4.2vw, 18px);
    letter-spacing: 0.03em;
    white-space: nowrap;
  }
}

body.splash-active {
  overflow: hidden;
}


/* =============================================
   トップページ：キャッチコピー（テキスト版）
   ============================================= */
.hero-catchcopy {
  text-align: center;
  margin: 28px auto 8px;
  max-width: 960px;
  padding: 0 16px;
  box-sizing: border-box;
}

.hero-catchcopy-text {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15em;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  line-height: 1.6;
}

.hero-accent {
  font-size: 36px;
  color: var(--accent-light-green);
  font-weight: 700;
}

@media (max-width: 600px) {
  .hero-catchcopy-text {
    font-size: 20px;
    letter-spacing: 0.1em;
  }
  .hero-accent {
    font-size: 28px;
  }
}

/* =============================================
   トップページ：製品カードセクション
   ============================================= */
.product-showcase {
  max-width: 960px;
  margin: 0 auto 32px;
  padding: 0 16px;
  box-sizing: border-box;
}

.product-showcase-title {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 28px 16px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid transparent;
  box-sizing: border-box;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  border-bottom-color: var(--accent-light-green);
}

.product-card-img {
  height: 100px;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
}

.product-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-green);
  margin: 0 0 4px;
  text-align: center;
}

.product-card-sub {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* =============================================
   トップページ：ナビグリッド（Font Awesome）
   ============================================= */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  max-width: 960px;
  margin: 0 auto 32px;
  padding: 0 16px;
  box-sizing: border-box;
}

.nav-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
  padding: 20px 8px 16px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-grid-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.nav-grid-item i {
  font-size: 1.6rem;
  color: var(--primary-green);
  margin-bottom: 8px;
  transition: color 0.3s;
}
.nav-grid-item:hover i {
  color: var(--accent-light-green);
}
.nav-grid-item span {
  font-size: 12px;
  color: var(--primary-green);
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .product-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .product-card {
    flex-direction: row;
    padding: 16px;
    gap: 16px;
  }
  .product-card-img {
    height: 70px;
    max-width: 100px;
    margin-bottom: 0;
  }
  .product-card-text { text-align: left; }
  .product-card-name { font-size: 15px; text-align: left; }
  .product-card-sub { text-align: left; }

  .nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 12px;
  }
  .nav-grid-item:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 5px);
    justify-self: center;
  }
  .nav-grid-item { padding: 14px 8px 12px; }
  .nav-grid-item i { font-size: 1.3rem; }
  .nav-grid-item span { font-size: 11px; }
}
