@charset "utf-8";

/* ============================================================
       db.css を読み込んだ上での追加スタイル
    ============================================================ */

/* --- シリーズナビ --- */

body {
  overflow-x: hidden;
}

.series-nav {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 3px solid #003366;
  flex-wrap: wrap;
}
.series-nav a {
  flex: 1;
  min-width: 130px;
  padding: 12px 6px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: bold;
  color: #444;
  background: #f4f4f4;
  text-decoration: none !important;
  color: #444 !important;
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  transition:
    background 0.2s,
    color 0.2s;
  line-height: 1.5;
}
.series-nav a:last-child {
  border-right: 1px solid #ddd;
}
.series-nav a:hover {
  background: #e0eaf4;
  color: #003366 !important;
}
.series-nav a.active {
  background: #003366;
  color: #fff !important;
  border-color: #003366;
}
.series-nav .flag {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 2px;
  display: inline-block !important;
  visibility: visible !important;
  text-indent: 0 !important; /* 文字飛ばし設定を解除 */
  color: initial !important; /* 色の制限を解除 */
  padding: 5px;
}

.lp-hero {
  background-image: url("https://toyoking.co.jp/products/images/dbhp002.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  width: 100% !important; /* コンテナ内でも幅を100%にする */
}

/* --- アンカー補正 --- */
.anchor-target {
  scroll-margin-top: 80px;
}

/* --- セクション区切り --- */
.section-divider {
  max-width: 1200px;
  margin: 50px auto 0;
  border: none;
  border-top: 3px solid #e8e8e8;
}

/* --- ブランドヘッダー --- */
.brand-header {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand-badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.3;
  color: #fff;
  padding: 8px;
}
.brand-badge.norma {
  background: linear-gradient(135deg, #2c3e50, #4a6fa5);
}
.brand-badge.jcs-hg {
  background: linear-gradient(135deg, #1a5c38, #2e8b57);
}
.brand-badge.jcs-ht {
  background: linear-gradient(135deg, #7b1010, #c0392b);
}
.brand-badge.jubilee {
  background: linear-gradient(135deg, #5a3e00, #c8860a);
}
.brand-badge.tbolt {
  background: linear-gradient(135deg, #1a2a5e, #2d4ba8);
}
.brand-badge .flag-lg {
  font-size: 1.7rem;
  display: block;
  margin-bottom: 4px;
}
.brand-info h2 {
  font-size: 1.9rem;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.5;
}
.brand-info .brand-tagline {
  font-size: 1.3rem;
  color: #555;
  line-height: 1.6;
}
.brand-info .cert-badge {
  display: inline-block;
  font-size: 1rem;
  background: #f0f4ff;
  border: 1px solid #b0c4de;
  color: #003366;
  padding: 2px 8px;
  border-radius: 20px;
  margin: 6px 0px 30px 0px;
  font-weight: bold;
}
.brand-info .cert-badge + .cert-badge {
  margin-left: 6px;
}

/* --- 特徴グリッドカード --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 20px auto 28px;
  padding: 0 16px;
}
.feature-card {
  background: #f9f9f9;
  border-left: 4px solid #003366;
  padding: 18px 16px;
  border-radius: 0 6px 6px 0;
}
.feature-card.green {
  border-left-color: #2e8b57;
}
.feature-card.red {
  border-left-color: #c0392b;
}
.feature-card.gold {
  border-left-color: #c8860a;
}
.feature-card.navy {
  border-left-color: #2d4ba8;
}
.feature-card h4 {
  font-size: 1.3rem;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.feature-card h4 .ico {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feature-card p {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

/* --- 材質比較バー --- */
.material-compare {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto 28px;
  padding: 20px 20px;
}
.material-compare h4 {
  font-size: 0.88rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
.material-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.material-label {
  width: 76px;
  font-size: 0.78rem;
  font-weight: bold;
  color: #333;
  flex-shrink: 0;
}
.material-bar-wrap {
  flex: 1;
  min-width: 80px;
  padding-top: 16px;
}
.material-bar {
  height: 10px;
  border-radius: 5px;
}
.material-bar.sus316 {
  background: linear-gradient(90deg, #2e8b57, #5cb85c);
  width: 100%;
}
.material-bar.sus304 {
  background: linear-gradient(90deg, #2c5f8a, #4a90d9);
  width: 84%;
}
.material-bar.sus430 {
  background: linear-gradient(90deg, #8a6c2c, #c9992e);
  width: 65%;
}
.material-bar.sus301 {
  background: linear-gradient(90deg, #6b3fa0, #9b59b6);
  width: 80%;
}
.material-desc {
  font-size: 0.75rem;
  color: #777;
  min-width: 120px;
  flex: 1.2;
}

/* --- コンテナ幅補正（db.cssの .feature-box が width:1200px 固定のため） --- */
.lp-container {
  max-width: 1200px;
  overflow-x: hidden;
  padding: 0 16px;
  box-sizing: border-box;
}

.lp-container span {
  color: rgb(137, 136, 136);
  padding-top: 20px;
}

.feature-box {
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

/* --- 仕様テーブル幅補正 --- */
.spec-table {
  width: 100%;
  max-width: 1200px;
}

/* --- 購入ボタン色バリエーション --- */
.btn-buy.green {
  background: #1a5c38;
}
.btn-buy.green:hover {
  background: #0f3d25;
}
.btn-buy.red2 {
  background: #c0392b;
}
.btn-buy.red2:hover {
  background: #922b21;
}
.btn-buy.gold {
  background: #b8730a;
}
.btn-buy.gold:hover {
  background: #8a5407;
}
.btn-buy.navy {
  background: #2d4ba8;
}
.btn-buy.navy:hover {
  background: #1a2e70;
}

/* --- 「その他も取扱中」ミニカードセクション --- */
.also-section {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 16px;
}
.also-section .also-heading {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  border-left: 4px solid #003366;
  padding-left: 12px;
  margin-bottom: 20px;
}
.also-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.also-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.also-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}
.also-card .also-img-wrap {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
  font-size: 3rem;
}
.also-card h4 {
  font-size: 0.82rem;
  font-weight: bold;
  color: #1a1a1a;
  padding: 10px 8px 6px;
  margin: 0;
  line-height: 1.4;
}
.also-card .also-sub {
  font-size: 0.72rem;
  color: #777;
  padding: 0 8px 6px;
  display: block;
}
.also-card .also-link {
  display: block;
  background: #555;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.also-card .also-link:hover {
  background: #d32f2f;
}

/* --- スタッフブログ --- */
.blog-latest {
  max-width: 1200px;
  margin: 48px auto;
  padding: 0 16px;
}
.blog-latest h3 {
  font-size: 1.1rem;
  font-weight: bold;
  padding-left: 10px;
  margin-bottom: 16px;
  color: #333;
  border-left: 3px solid #003366;
}
.blog-latest-grid {
  display: flex;
  gap: 16px;
}
.blog-latest-card {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 14px;
  background: #fff;
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-latest-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.blog-latest-card .blg-date {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 6px;
}
.blog-latest-card .blg-title {
  font-size: 0.9rem;
  font-weight: bold;
  color: #005599;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-latest-card .blg-desc {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.5;
  flex: 1;
}
.blog-latest-more {
  text-align: right;
  margin-top: 10px;
}
.blog-latest-more a {
  font-size: 0.82rem;
  color: #005599;
  text-decoration: none;
}
.blog-latest-more a:hover {
  text-decoration: underline;
}

/* --- 固定バナー --- */
.fixed-banner {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
}
.fixed-banner-right-side {
  right: 0;
}
.fixed-banner-right-side .pc-img {
  display: block;
  width: 120px;
  height: auto;
}
.fixed-banner-right-side .sp-img {
  display: none;
}
.fixed-banner-left {
  left: 0;
}
.fixed-banner-left .banner-img {
  width: 100px;
  height: auto;
}
.tothetopfixed {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10000;
  width: 50px;
  height: 50px;
  background-color: #005599;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}
.tothetopfixed::after {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  transform: rotate(45deg);
  margin-top: 5px;
}

.brand-badge img {
  width: 70px;
  height: auto;
}

.product-headline {
  wdisplay: block;
  width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(90deg, #1a1a2e, #1eadf1);
  padding: 12px 24px;
  border-left: 5px solid #f0a500;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.list_block li {
  color: #2693ff;
}

#footer .list_block {
  width: 280px;
  float: left;
  padding: 30px 10px;
  line-height: 1.5;
  margin: 0 auto;
}

/* ============================================================
       レスポンシブ補足
    ============================================================ */
@media screen and (max-width: 768px) {
  .series-nav a {
    min-width: 100px;
    font-size: 0.72rem;
    padding: 8px 4px;
  }
  .brand-header {
    flex-direction: column;
    gap: 12px;
  }
  .brand-badge {
    width: 72px;
    height: 72px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
  .also-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-latest-grid {
    flex-direction: column;
  }
  .fixed-banner-left {
    display: none !important;
  }
  .fixed-banner-right-side {
    top: auto !important;
    bottom: 10px !important;
    right: 10px !important;
    left: auto !important;
    transform: none !important;
  }
  .fixed-banner-right-side .pc-img {
    display: none !important;
  }
  .fixed-banner-right-side .sp-img {
    display: block !important;
    width: 100px;
    height: auto;
  }
  .tothetopfixed {
    right: 15px !important;
    bottom: 95px !important;
    width: 45px;
    height: 45px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .lp-container {
    padding: 0;
  }

  .spec-table {
    width: 100%;
    max-width: 100%;
    margin: 0px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .fixed-banner-right-side,
  .fixed-banner-left {
    display: none !important;
  }
}
