/* カスタマイズ用CSS */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@700;900&display=swap');

/* ==========================================================================
   BONNET DAMPER.com — ヘッダー（Block/header2.twig 用）
   ========================================================================== */
.bd-header {
  box-sizing: border-box;
}
.bd-header * {
  box-sizing: border-box;
}
.bd-header ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bd-header a {
  text-decoration: none;
  color: inherit;
}

.bd-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  background: #111111;
  color: #ffffff;
}

.bd-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bd-logo-h {
  margin: 0;
  line-height: 0;
}

.bd-logo img {
  height: 46px;
  display: block;
}

.bd-tagline {
  font-size: 11px;
  color: #999999;
  border-left: 1px solid #444444;
  padding-left: 16px;
  white-space: nowrap;
}

.bd-utility {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
}

.bd-utility li a {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.bd-utility svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
}

.bd-nav {
  background: #111111;
  border-top: 1px solid #2a2a2a;
}

.bd-nav ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.bd-nav a {
  display: block;
  padding: 14px 4px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 2px solid transparent;
}

.bd-nav a:hover,
.bd-nav a.is-active {
  color: #e2091b;
  border-bottom-color: #e2091b;
}

.bd-navsp {
  display: none;
  align-items: center;
}

.bd-navsp .ec-headerNavSP {
  cursor: pointer;
}

.bd-navsp .ec-headerNavSP i {
  color: #ffffff;
  font-size: 22px;
}

@media (max-width: 700px) {
  .bd-header-top {
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 60px;
  }
  .bd-tagline {
    display: none;
  }
  .bd-utility {
    gap: 16px;
    margin-left: auto;
  }
  .bd-nav {
    display: none;
  }
  .bd-navsp {
    display: flex;
  }
}

/* ==========================================================================
   BONNET DAMPER.com — カート（デフォルト Block/cart.twig の見た目だけ上書き。
   ec-cartNavi* のクラス名・DOM構造はEC-CUBE標準JS/AJAXが参照するため変更しない）
   ========================================================================== */
.bd-cart-li {
  position: relative;
}

.bd-cart-li .ec-cartNaviWrap {
  position: relative;
}

.bd-cart-li .ec-cartNavi {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 0;
  width: auto;
  min-width: 0;
  height: auto;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.bd-cart-li .ec-cartNavi__icon {
  font-size: 18px;
  color: #ffffff;
}

.bd-cart-li .ec-cartNavi__icon::after {
  content: "カート";
  font-size: 12px;
  margin-left: -2px;
  color: #ffffff;
}

.bd-cart-li .ec-cartNavi.is-active .ec-cartNavi__icon::after {
  content: "";
  margin-left: 0;
}

.bd-cart-li .ec-cartNavi__badge {
  background-color: #e2091b;
  top: -8px;
  left: 58%;
}

.bd-cart-li .ec-cartNavi__label {
  display: none;
}

.bd-cart-li .ec-cartNaviIsset,
.bd-cart-li .ec-cartNaviNull {
  top: calc(100% + 16px);
  width: 320px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  color: #222222;
}

.bd-cart-li .ec-cartNaviNull__message {
  background-color: #f4f4f5;
  color: #222222;
}

.bd-cart-li .ec-cartNaviIsset__action .ec-blockBtn--action {
  background-color: #e2091b;
  border-color: #e2091b;
}

@media (max-width: 700px) {
  .bd-cart-li {
    margin-left: auto;
  }
  .bd-cart-li .ec-cartNavi__icon::after {
    content: "";
    margin-left: 0;
  }
  .bd-cart-li .ec-cartNaviIsset,
  .bd-cart-li .ec-cartNaviNull {
    width: 280px;
    right: 0;
  }
}

/* ==========================================================================
   BONNET DAMPER.com — ヒーロー（Block/hero.twig 用）
   ========================================================================== */
.bd-hero {
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background: #000000;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 620px;
}
.bd-hero * {
  box-sizing: border-box;
}

.bd-hero-bg-slider {
  position: absolute;
  inset: 0;
}

.bd-hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.bd-hero-bg-slide.is-active {
  opacity: 1;
}

.bd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.15) 100%);
}

.bd-hero-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@keyframes bd-hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bd-hero-label,
.bd-hero-title,
.bd-hero-features {
  animation: bd-hero-fade-up 0.8s ease both;
}

.bd-hero-label {
  color: #e2091b;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  animation-delay: 0.1s;
}

.bd-hero-title {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 24px;
  letter-spacing: 0;
  animation-delay: 0.25s;
}

.bd-hero-features {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  animation-delay: 0.45s;
}

.bd-hero-feature {
  text-align: center;
  font-size: 12px;
  width: 78px;
}

.bd-hero-feature__ico {
  width: 56px;
  height: 56px;
  border: 1px solid #e2091b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.bd-hero-feature__ico svg {
  width: 24px;
  height: 24px;
  stroke: #e2091b;
  fill: none;
}

.bd-hero-dots {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 24px 16px;
}

.bd-hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bd-hero-dot:hover {
  background: rgba(255,255,255,0.7);
}

.bd-hero-dot.is-active {
  background: #e2091b;
  transform: scale(1.3);
}

.bd-hero-strip {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.55);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 12px 24px;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-align: center;
}

@media (max-width: 700px) {
  .bd-hero {
    min-height: 560px;
  }
  .bd-hero-inner {
    padding: 20px;
  }
  .bd-hero-title {
    font-size: 34px;
  }
  .bd-hero-features {
    gap: 16px;
  }
}

/* ==========================================================================
   BONNET DAMPER.com — 共通パーツ（見出し・ボタン・リンクなど、複数ブロックで使い回す）
   ========================================================================== */
.bd-sec-heading {
  box-sizing: border-box;
  text-align: center;
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111111;
}

.bd-sec-heading--left {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  margin: 0;
}

.bd-sec-heading .icon-inline,
.bd-sec-heading svg {
  width: 22px;
  height: 22px;
  vertical-align: -4px;
  margin-right: 2px;
  stroke: #e2091b;
  fill: none;
}

.bd-sec-heading__brandmark {
  width: 32px;
  height: 32px;
  vertical-align: -8px;
  fill: #e2091b;
  stroke: none;
}

.bd-sec-heading--left svg {
  fill: #f0b400;
  stroke: none;
  width: 20px;
  height: 20px;
  margin-right: 0;
}

.bd-sec-sub {
  text-align: center;
  color: #666666;
  font-size: 14px;
  margin: 0 0 32px;
}

.bd-link-more {
  font-size: 13px;
  color: #111111;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bd-btn-outline {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #e5e5e5;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.bd-btn-outline--auto {
  width: auto;
  display: inline-flex;
}

.bd-btn-outline:hover {
  opacity: 0.75;
}

.bd-card-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

@media (max-width: 1080px) {
  .bd-card-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .bd-card-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .bd-sec-heading {
    font-size: 22px;
  }
}

/* ==========================================================================
   BONNET DAMPER.com — 車種から探す（Block/find_vehicle.twig 用）
   ========================================================================== */
.bd-find {
  box-sizing: border-box;
  padding: 56px 0;
  background: #ffffff;
}
.bd-find * {
  box-sizing: border-box;
}

.bd-find-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bd-find-search {
  display: flex;
  max-width: 640px;
  margin: 0 auto 32px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}

.bd-find-search input {
  flex: 1;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  outline: none;
}

.bd-find-search button {
  background: #e2091b;
  border: none;
  color: #ffffff;
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.bd-find-search button svg {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  fill: none;
}

.bd-maker-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.bd-maker-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 14px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.bd-maker-card:hover {
  border-color: #e2091b;
}

.bd-maker-card img {
  width: 100%;
  max-width: 64px;
  height: auto;
  display: block;
}

.bd-maker-card span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #111111;
}

.bd-find-more {
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 1080px) {
  .bd-maker-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 700px) {
  .bd-maker-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   BONNET DAMPER.com — 人気車種（Block/popular_models.twig 用）
   ========================================================================== */
.bd-popular {
  box-sizing: border-box;
  padding: 56px 0 64px;
  background: #ffffff;
}
.bd-popular * {
  box-sizing: border-box;
}

.bd-popular-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bd-popular-head {
  margin-bottom: 20px;
}

.bd-model-card {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  text-decoration: none;
  color: inherit;
}

.bd-model-thumb {
  aspect-ratio: 4 / 3;
  background: #f4f4f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bd-model-thumb svg {
  width: 56%;
  stroke: #999999;
  fill: none;
}

.bd-model-info {
  padding: 10px 12px;
}

.bd-model-name {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
}

.bd-model-code {
  font-size: 11px;
  color: #666666;
}

.bd-popular-more {
  text-align: right;
  margin-top: 16px;
}

/* ==========================================================================
   BONNET DAMPER.com — ボンネットダンパーとは？（Block/about_damper.twig 用）
   ========================================================================== */
.bd-about {
  box-sizing: border-box;
  background: #111111;
  color: #ffffff;
  padding: 64px 0;
}
.bd-about * {
  box-sizing: border-box;
}

.bd-about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.bd-about-text h2 {
  font-size: 26px;
  margin: 0 0 12px;
}

.bd-about-text > p {
  color: #999999;
  font-size: 14px;
  margin: 0 0 32px;
}

.bd-about-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.bd-about-list li {
  text-align: center;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bd-about-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.bd-about-ico svg {
  width: 22px;
  height: 22px;
  stroke: #e2091b;
  fill: none;
}

.bd-about-label {
  display: block;
}

.bd-about-sub {
  display: block;
  color: #999999;
  font-size: 11px;
  margin-top: 4px;
}

.bd-about-image {
  border-radius: 8px;
  overflow: hidden;
}

.bd-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1080px) {
  .bd-about-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .bd-about-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   BONNET DAMPER.com — 選ばれる理由（Block/why_chosen.twig 用）
   ========================================================================== */
.bd-why {
  box-sizing: border-box;
  padding: 64px 0;
  background: #f4f4f5;
}
.bd-why * {
  box-sizing: border-box;
}

.bd-why-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bd-why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.bd-why-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px 16px;
  text-align: center;
}

.bd-why-ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fdeceb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.bd-why-ico svg {
  width: 24px;
  height: 24px;
  stroke: #e2091b;
  fill: none;
}

.bd-why-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: #111111;
}

.bd-why-desc {
  font-size: 12px;
  color: #666666;
}

@media (max-width: 1080px) {
  .bd-why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .bd-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   BONNET DAMPER.com — 取付動画（Block/install_video.twig 用）
   ========================================================================== */
.bd-video-sec {
  box-sizing: border-box;
  padding: 0 0 64px;
  background: #f4f4f5;
}
.bd-video-sec * {
  box-sizing: border-box;
}

.bd-video-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bd-video-panel {
  background: #111111;
  color: #ffffff;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  align-items: center;
  gap: 32px;
  padding: 40px;
}

.bd-video-text h2 {
  font-size: 22px;
  margin: 0 0 10px;
}

.bd-video-text p {
  font-size: 13px;
  color: #999999;
  margin: 0 0 24px;
}

.bd-video-thumb {
  position: relative;
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, #2a2a2a, #0d0d0d);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bd-video-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e2091b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bd-video-play svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  margin-left: 3px;
}

@media (max-width: 1080px) {
  .bd-video-panel {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   BONNET DAMPER.com — 新着商品（Block/auto_new_item.twig 用）
   ========================================================================== */
.bd-new {
  box-sizing: border-box;
  padding: 64px 0;
  background: #ffffff;
}
.bd-new * {
  box-sizing: border-box;
}

.bd-new-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bd-new-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.bd-new-head h2 {
  font-size: 22px;
  margin: 0;
  color: #111111;
}

.bd-product-card {
  position: relative;
  display: block;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.bd-badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e2091b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  z-index: 2;
}

.bd-product-thumb {
  aspect-ratio: 4 / 3;
  background: #f4f4f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bd-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bd-product-info {
  padding: 12px;
}

.bd-product-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
  color: #111111;
}

.bd-product-cat {
  font-size: 11px;
  color: #666666;
  margin-bottom: 8px;
}

.bd-product-price {
  color: #e2091b;
  font-weight: 700;
  font-size: 15px;
}

.bd-product-tax {
  color: #666666;
  font-weight: 400;
  font-size: 11px;
}

/* ==========================================================================
   BONNET DAMPER.com — お店の特徴インフォバー（Block/info_bar.twig 用）
   ========================================================================== */
.bd-info-bar {
  box-sizing: border-box;
  background: #f4f4f5;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  padding: 28px 0;
}
.bd-info-bar * {
  box-sizing: border-box;
}

.bd-info-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bd-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bd-info-item svg {
  width: 28px;
  height: 28px;
  stroke: #e2091b;
  fill: none;
  flex-shrink: 0;
}

.bd-info-title {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
}

.bd-info-desc {
  font-size: 11px;
  color: #666666;
}

@media (max-width: 1080px) {
  .bd-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   BONNET DAMPER.com — フッター（Block/footer.twig 用）
   ========================================================================== */
.bd-footer {
  box-sizing: border-box;
  background: #111111;
  color: #999999;
  padding: 48px 0 0;
}
.bd-footer * {
  box-sizing: border-box;
}
.bd-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bd-footer a {
  color: inherit;
  text-decoration: none;
}

.bd-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bd-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2a2a2a;
}

.bd-footer-logo img {
  height: 22px;
  margin-bottom: 12px;
}

.bd-footer-desc {
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}

.bd-footer-col h3 {
  color: #ffffff;
  font-size: 13px;
  margin: 0 0 16px;
}

.bd-footer-col li {
  font-size: 12px;
  margin-bottom: 10px;
}

.bd-footer-col li a:hover {
  color: #ffffff;
}

.bd-sns-icons {
  display: flex;
  gap: 10px;
}

.bd-sns-icons a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bd-sns-icons svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.bd-footer-bottom {
  text-align: center;
  font-size: 11px;
  padding: 20px 0;
}

@media (max-width: 1080px) {
  .bd-footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .bd-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}