@charset "utf-8";

/* ==========================================================================
   ▼ カラー変数設定
   ========================================================================== */
:root {
  --brand-red: #e60012;         /* ビニプロメインレッド */
  --brand-navy: #1a2b4c;        /* ビニプロネイビー */
  --brand-dark: #222222;        /* テキスト基本色 */
  --bg-gray: #f4f5f7;           /* パネル背景グレー */
  --card-bg: #ffffff;           /* カード背景色 */
  --border-line: #dcdfe6;       /* 境界線 */
  --text-muted: #666666;        /* 補足テキスト */

  /* ▼ 一括変更用：CTA・ボタンホバー共通ブルー */
  --accent-blue: #094699;
  --accent-blue-dark: #062c60;
  --accent-blue-bg: #e5f3fe;
}

/* ==========================================================================
   ▼ ベーススタイル
   ========================================================================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  color: var(--brand-dark);
  background: #fdfdfe;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ヘッダー */
.site-header {
  background: var(--card-bg);
  border-bottom: 3px solid var(--brand-red);
  padding: 12px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.header-inner img {
  height: 36px;
  width: auto;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tel-box {
  text-align: right;
}

.tel-number {
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-dark);
}

.tel-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.tel-time {
  font-size: 10px;
  color: var(--text-muted);
}

/* モック風カテゴリバー */
.nav-bar-mock {
  background: #2b303a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 16px;
  text-align: center;
  letter-spacing: 0.05em;
}

/* レイアウト */
.container {
  max-width: 860px;
  margin: 32px auto 48px;
  padding: 0 16px;
}

.main-card {
  background: var(--card-bg);
  border: 1px solid var(--border-line);
  border-radius: 8px;
  padding: 40px 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* バッジ・ロゴ横並びエリア */
.integration-header-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.notice-badge {
  display: inline-block;
  background: #fff3f3;
  border: 1px solid var(--brand-red);
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.integration-logos {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 6px;
  padding: 8px 14px;
}

.logo-satellite {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
}

.arrow-symbol {
  font-size: 16px;
  color: var(--brand-red);
  line-height: 1;
}

.logo-main {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* 見出し・リード文 */
h1 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.4;
  color: var(--brand-navy);
  font-weight: 900;
  border-bottom: 2px solid var(--brand-red);
  padding-bottom: 16px;
}

.lead-text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ==========================================================================
   ▼ メインCTA（変数によるカラー管理）
   ========================================================================== */
.cta-box {
  background: var(--accent-blue-bg);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  margin: 32px 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(440px, 100%);
  padding: 10px 24px;
  background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
  color: #ffffff;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  transition: opacity 0.2s ease, filter 0.2s ease;
  border: 1px solid var(--accent-blue-dark);
}

.cta-btn:hover {
  filter: brightness(1.05);
  opacity: 0.85;
}

.cta-btn::after {
  content: "▶";
  font-size: 14px;
}

.cta-url {
  display: block;
  margin-top: 10px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================================================
   ▼ 主要製品グリッド
   ========================================================================== */
.sub-heading {
  font-size: 18px;
  color: var(--brand-navy);
  margin: 36px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-heading::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 20px;
  background: var(--brand-red);
  border-radius: 2px;
}

.sub-desc {
  font-size: 14px;
  color: #333333;
  margin: 0 0 16px;
}

.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: 8px;
  text-decoration: none;
  padding: 12px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  border-color: var(--brand-navy);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-card-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.product-card-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #eaecef;
  border: 1px solid #edf0f5;
}

.product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-meta {
  flex-grow: 1;
  min-width: 0;
}

.product-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 4px;
  line-height: 1.35;
  display: block;
}

.product-desc {
  font-size: 11px;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-btn {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: var(--brand-navy);
  padding: 7px 10px;
  border-radius: 4px;
  display: block;
  width: 100%;
  text-align: center;
  transition: background 0.2s ease;
  margin-top: auto;
}

.product-card:hover .card-btn {
  background: var(--accent-blue);
}

/* ==========================================================================
   ▼ 省スペース型：部材・関連製品リンク
   ========================================================================== */
.parts-sub-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 28px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.parts-sub-heading::before {
  content: "■";
  color: var(--brand-navy);
  font-size: 12px;
}

.parts-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.part-card-compact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-line);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.part-card-compact:hover {
  background: #ffffff;
  border-color: var(--brand-navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.part-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 4px;
  line-height: 1.35;
}

.part-card-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0 0 8px;
}

.part-card-link-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-navy);
  text-align: right;
  display: block;
}

.part-card-compact:hover .part-card-link-text {
  color: var(--accent-blue);
}

/* ==========================================================================
   ▼ お問い合わせ・サポートエリア
   ========================================================================== */
.support-section {
  margin-top: 36px;
  font-size: 14px;
}

.support-section h3 {
  font-size: 16px;
  color: var(--brand-navy);
  margin: 0 0 8px;
}

.support-section p a {
  color: var(--brand-navy);
  font-weight: bold;
}

.support-section p a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

.contact-section {
  margin-top: 18px;
  background: var(--bg-gray);
  border: 1px solid var(--border-line);
  border-radius: 8px;
  padding: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-item {
  background: var(--card-bg);
  border: 1px solid var(--border-line);
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contact-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-tel-link {
  font-size: 19px;
  font-weight: 900;
  color: var(--brand-dark);
  text-decoration: none;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-tel-link .tel-icon {
  width: 17px;
  height: 17px;
}

.contact-form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 240px;
  padding: 10px 16px;
  background: var(--brand-navy);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.contact-form-btn:hover {
  background: var(--accent-blue);
}

.contact-sub-text {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   ▼ 運営会社情報ブロック
   ========================================================================== */
.company-info-block {
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid var(--border-line);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.6;
}

.company-info-title {
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-info-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.company-info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 12.5px;
}

.company-info-list span {
  display: inline-block;
}

.company-info-list a {
  color: var(--brand-dark);
  text-decoration: none;
}

.company-info-list a:hover {
  color: var(--brand-red);
  text-decoration: underline;
}

.thanks-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-line);
  color: #333333;
  font-size: 13.5px;
}

/* フッター */
footer {
  margin-top: 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
}

/* ==========================================================================
   ▼ レスポンシブ調整
   ========================================================================== */
@media (max-width: 768px) {
  .product-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .parts-cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 8px;
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 4px;
  }

  .header-inner img {
    height: 26px;
  }

  .tel-number {
    font-size: 13px;
    white-space: nowrap;
    gap: 3px;
  }

  .tel-icon {
    width: 12px;
    height: 12px;
  }

  .tel-time {
    font-size: 8px;
    letter-spacing: -0.05em;
    white-space: nowrap;
  }

  .integration-header-row {
    gap: 10px;
  }

  .integration-logos {
    padding: 6px 10px;
    gap: 8px;
  }

  .logo-satellite,
  .logo-main {
    height: 25px;
  }

  .arrow-symbol {
    font-size: 13px;
  }

  .main-card {
    padding: 20px 14px;
  }

  h1 {
    font-size: 18px;
  }

  .cta-btn {
    font-size: 16px;
    padding: 14px;
  }

  .product-cards-grid,
  .parts-cards-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-item {
    padding: 14px 10px;
  }

  .contact-tel-link {
    font-size: 18px;
  }

  .company-info-list {
    flex-direction: column;
    gap: 4px;
  }
}