@charset "UTF-8";

/* ==========================================================================
   1. Reset & Variables (基本設定と変数)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  margin: 0;
}
ul[role='list'], ol[role='list'] {
  list-style: none;
  padding: 0;
}
body {
  min-height: 100vh;
  line-height: 1.5;
}
h1, h2, h3, h4, button, input, label {
  line-height: 1.1;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}
img, picture {
  max-width: 100%;
  display: block;
}
input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
}
button {
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

:root {
  --container-width: 1100px;

  /* カラー */
  --color-bg-dark: #111111;
  --color-bg-light: #2c2c2c;
  --color-accent: #cc0000;
  --color-text-main: #e0e0e0;
  --color-text-muted: #999999;
  --color-white: #ffffff;

  /* 金属光沢用グラデーション変数 */
  --metallic-gradient: linear-gradient(to bottom,
      #ffffff 0%,
      #f0f0f0 30%,
      #cccccc 50%,
      #999999 51%,
      #eeeeee 75%,
      #ffffff 100%);

  /* フォント */
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Oswald', sans-serif;
}

body {
  background-color: #000000;
  color: var(--color-text-main);
  font-family: var(--font-jp);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-white);
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  opacity: 0.7;
}
.en-text {
  font-family: var(--font-en);
}
.is-center {
  text-align: center !important;
}

/* ==========================================================================
   2. Wrapper (全体コンテナ・外枠)
   ========================================================================== */
.l-container {
  max-width: var(--container-width);
  margin: 0 auto;
  border-left: 1px solid var(--color-accent);
  border-right: 1px solid var(--color-accent);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .l-container {
    width: 100%;
  }
}

/* ==========================================================================
   3. Header & Navigation (ヘッダー・ナビ)
   ========================================================================== */
.l-header {
  background-color: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.33);
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-logo .logo-img {
  /* 万が一clampが効かない古いブラウザ向けの保険 */
  width: 150px;
  width: clamp(100px, 13.6vw, 150px);
  height: auto;
  /* Flexbox内で画像が勝手に拡大・縮小されるのを完全に防ぐ */
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

.site-title {
  font-family: var(--font-en);
  font-size: clamp(1.25rem, 100vw / 1100px * 2rem, 2rem);
  font-weight: 600;
  background: var(--metallic-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.8));
}

.global-nav .nav-list {
  display: flex;
  gap: 30px;
  font-size: 1.25rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 100;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.hamburger {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.hamburger::before {
  content: '';
  top: -8px;
  left: 0;
}
.hamburger::after {
  content: '';
  top: 8px;
  left: 0;
}

@media (max-width: 768px) {
  .l-header {
    padding: 15px;
  }
  .header-logo a {
    gap: 10px;
  }
  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
  }
  .menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .global-nav {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background-color: #000000;
    padding: 40px 20px;
    z-index: 99;
    border-bottom: 2px solid var(--color-accent);
  }

  .global-nav.is-active {
    display: block;
  }
  .global-nav .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
}

/* ==========================================================================
   4. Global Components (共通コンポーネント)
   ========================================================================== */
.l-main {
  flex: 1;
  background: radial-gradient(circle at top center, #3a3a3a 0%, #151515 100%);
  padding: 40px 20px;
}

@media (max-width: 768px) {
  .l-main {
    padding: 30px 15px;
  }
}

.l-grid {
  display: grid;
  gap: 24px;
  margin: 30px 0;
}

.l-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.l-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.l-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .l-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .l-grid-2, .l-grid-3, .l-grid-4 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.category-section {
  margin-bottom: 60px;
}

.category-header {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #666666 0%, #000000 100%);
  height: 50px;
  margin-top: 30px;
  margin-bottom: 25px;
  padding-right: 20px;
}

.category-icon {
  position: absolute;
  left: 0;
  top: -15px;
  bottom: -15px;
  width: 80px;
  height: calc(100% + 30px);
  object-fit: contain;
}

.category-title {
  padding-left: 90px;
  flex: 1;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.category-btn {
  background-color: transparent;
  border: 1px solid var(--color-white);
  padding: 5px 20px;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.category-btn:hover {
  background-color: var(--color-white);
  color: #000;
}

.category-header.no-btn .category-title {
  padding-right: 20px;
}

/* シリーズごとのリード文（外枠） */
.category-lead {
  margin-top: -5px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-main);
}

.category-lead p {
  margin-bottom: 1.2em;
}

.category-lead p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .category-title {
    font-size: 1.2rem;
    padding-left: 70px;
  }
  .category-icon {
    width: 60px;
  }
}

.product-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  display: block;
  text-align: center;
}

.product-thumb {
  aspect-ratio: 1 / 1;
  background: linear-gradient(to bottom, #000000 0%, #333333 100%);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid #222;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-img {
  transform: scale(1.15);
}

.img-shadow {
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 1)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

.product-name {
  font-size: 0.95rem;
  color: var(--color-text-main);
  transition: color 0.3s;
}

.product-card:hover .product-name {
  color: var(--color-white);
}

@media (max-width: 992px) {
  .product-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .product-grid-4, .product-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* ==========================================================================
   5. Footer (フッター)
   ========================================================================== */
.l-footer {
  background-color: #000000;
  border-top: 2px solid;
  /* 左から右へ：黒 → 赤 → 黒 のグラデーションを描画 */
  border-image: linear-gradient(to right, #000000 0%, var(--color-accent) 50%, #000000 100%) 1;
  padding: 40px 20px 30px;
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-info .logo-img {
  height: 25px;
  width: auto;
  margin-bottom: 20px;
}

.company-address {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
}

.footer-nav ul, .footer-sub-nav ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-sub-nav ul {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .l-footer {
    padding: 40px 15px 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links {
    align-items: center;
  }
  .footer-nav ul, .footer-sub-nav ul {
    justify-content: center;
  }
}

/* ==========================================================================
   6. Top page (トップページ固有)
   ========================================================================== */
.hero-section {
  margin-bottom: 60px;
  width: 100%;
}

.swiper {
  width: 100%;
  aspect-ratio: 21 / 9;
  background-color: #000;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
  color: var(--color-accent);
}

.swiper-pagination-bullet {
  background-color: var(--color-white);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: var(--color-accent);
  opacity: 1;
}

.bottom-split-section {
  margin-top: 60px;
  align-items: stretch;
}

.split-left,
.split-right {
  display: flex;
  flex-direction: column;
}

.news-area {
  flex: 1;
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid #333;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.news-list li {
  border-bottom: 1px dotted #555;
  padding-bottom: 15px;
}

.news-list time {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.news-list a {
  font-size: 0.95rem;
}

.news-more {
  text-align: right;
  margin-top: 20px;
}

.news-more a {
  font-size: 1.1rem;
  color: var(--color-accent);
}

/* ==========================================================================
   7. Common Layouts (下層ページ共通)
   ========================================================================== */

.breadcrumbs {
  padding: 15px 20px 0;
  font-size: 0.85rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs li:not(:last-child)::after {
  content: '>';
  color: var(--color-text-muted);
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-white);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--color-white);
}

.hero-static {
  width: 100%;
  aspect-ratio: 21 / 9;
  background-color: #000;
  overflow: hidden;
}

.hero-static img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header {
  margin-bottom: 60px;
}

.page-title {
  font-family: var(--font-en);
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 20px;
}

.page-title small {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-left: 15px;
  font-weight: normal;
  vertical-align: baseline;
  letter-spacing: 0.05em;
}

.page-lead {
  color: var(--color-text-main);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.page-header:has(.page-lead:empty) .page-title,
.page-title:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .page-title small {
    display: block;
    /* スマホでは長くなるため改行させる */
    margin-left: 0;
    margin-top: 5px;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   8. Product Details (製品詳細ページ)
   ========================================================================== */

.product-hero-bg {
  width: 100%;
  aspect-ratio: 21 / 9;
  background: radial-gradient(circle at center, #888888 0%, #444444 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 15px;
}

.product-hero-bg img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}

.product-hero-bg img.is-fading {
  opacity: 0;
}

.product-thumbnails-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.product-thumbnails {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.thumb-btn {
  width: 80px;
  height: 80px;
  background: linear-gradient(to bottom, #000000 0%, #333333 100%);
  border: 2px solid transparent;
  padding: 5px;
  transition: border-color 0.3s;
}

.thumb-btn:hover,
.thumb-btn.is-active {
  border-color: var(--color-accent);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-title-area {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.product-category {
  font-size: 1rem;
  color: var(--color-accent);
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}

.product-title-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.product-title-wrap .product-name {
  font-size: 2.5rem;
  margin: 0;
  line-height: 1;
}

.product-marks {
  display: flex;
  gap: 10px;
  margin-bottom: 2px;
}

.product-marks img {
  height: 35px;
  width: auto;
}

.product-details {
  font-size: 0.95rem;
  line-height: 1.8;
}

.product-description {
  margin-bottom: 40px;
}

.product-description p {
  font-size: 1.5em;
  font-weight: 600;
}

.product-description ul {
  list-style-type: square;
}

/* Product Details: Spec Container & Size Chart */
.product-spec-container {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
  align-items: flex-end;
}

.product-spec-container.al-start {
  align-items: flex-start;
}

.product-spec-main {
  width: 66.666%;
}

.product-size-chart {
  width: 33.333%;
}

.size-chart-title {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 5px;
}

.size-chart-wrapper {
  width: 100%;
  overflow-x: auto;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
  text-align: center;
  min-width: 320px;
}

.size-table th,
.size-table td {
  border: 1px solid #666;
  padding: 4px 1px;
  color: var(--color-white);
  vertical-align: middle;
}

/* 左端の行ラベル */
.size-table .label {
  background-color: #333;
  text-align: left;
  padding-left: 5px;
  font-weight: normal;
  width: 60px;
}

/* SIZE行、Metric行のデフォルト背景色（黒） */
.size-table tr:not(:first-child) td {
  background-color: #000000;
}

/* SHELL行の各カラー設定 */
.size-table .bg-shell-d {
  background-color: #E1912D;
}
.size-table .bg-shell-d {
  background-color: #995a1c;
}
/* オレンジ */
.size-table .bg-shell-e {
  background-color: #D16E39;
}
.size-table .bg-shell-e {
  background-color: #8a4222;
}
/* 赤茶 */
.size-table .bg-shell-f {
  background-color: #AE1439;
}
.size-table .bg-shell-f {
  background-color: #731026;
}
/* 赤 */
.size-table .bg-shell-g {
  background-color: #7a0e28;
}
.size-table .bg-shell-g {
  background-color: #4d0b1a;
}
/* ★非対応サイズ（グレーアウト）の設定 */
.size-table td.is-disabled {
  background-color: #111111 !important;
  color: #555555 !important;
}

.spec-list {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.spec-row {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 0;
}

.spec-row dt {
  width: 200px;
  font-weight: bold;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.spec-row dd {
  flex: 1;
  color: var(--color-white);
}

.spec-row.is-fullwidth dd {
  width: 100%;
  color: var(--color-white);
}

/* Size Chartの上　*/

.product-caution {
  border: 1px solid var(--color-accent);
  padding: 15px;
  margin-bottom: 30px;
}

.product-caution-img {
  margin-bottom: 15px;
}

.product-caution-img img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.product-caution p {
  font-size: 0.875rem;
  color: var(--color-text-main);
  line-height: 1.3;
}

/* SKU */

.product-variations {
  margin-top: 60px;
}

.product-variations .section-title {
  font-size: 1.5rem;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.variation-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;
}

.variation-table th,
.variation-table td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 15px;
  text-align: center;
}

.variation-table th {
  background-color: #222;
  color: var(--color-white);
}

.variation-table tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}

/* テーブルの左端見出しセル（rowspan用）の背景色を固定 */
.variation-table tbody td.row-header {
  background-color: #222222 !important;
}

@media (max-width: 768px) {
  .product-title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .product-marks {
    width: 100%;
    justify-content: flex-start;
  }
  .product-title-wrap .product-name {
    font-size: 2rem;
  }
  .spec-row {
    flex-direction: column;
    gap: 5px;
  }
  .spec-row dt {
    width: 100%;
  }
  .thumb-btn {
    width: 60px;
    height: 60px;
  }

  .product-spec-container {
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
  }
  .product-spec-main,
  .product-size-chart {
    width: 100%;
  }
}

/* ==========================================================================
   9. Text Pages & Policies (テキストベースのページ・サイトポリシー)
   ========================================================================== */
/* 文章を読みやすくするため、全体の幅を800pxに制限して中央寄せ */
.l-content-area {
  max-width: 800px;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 60px;
}

/* テキストページ用の中見出し（左に赤いアクセントライン） */
.content-title {
  font-size: 1.4rem;
  color: var(--color-white);
  border-left: 4px solid var(--color-accent);
  padding-left: 15px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.content-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-main);
}

.content-text p {
  margin-bottom: 1.5em;
}

.content-text p:last-child {
  margin-bottom: 0;
}

/* リスト（箇条書き）のスタイル */
.content-text ul {
  list-style: disc;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.content-text li {
  margin-bottom: 0.5em;
}

/* ==========================================================================
   10. Dealers (取扱店一覧)
   ========================================================================== */
.region-block {
  margin-bottom: 60px;
}

.region-title {
  font-size: 1.75rem;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.region-lead {
  margin-top: -20px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-main);
}

.dealer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ディーラーカード */
.dealer-card {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* グリッド内で高さを揃える */
}

/* ★県名バッジ */
.dealer-pref {
  display: inline-block;
  align-self: flex-start;
  background-color: #AE1439;
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 12px 5px;
  margin-bottom: 15px;
  border-radius: 2px;
  line-height: 1;
}

.dealer-name {
  font-size: 1.125rem;
  color: var(--color-white);
  margin-bottom: 15px;
  border-bottom: 1px dashed #444;
  padding-bottom: 10px;
  line-height: 1.4;
}

.dealer-info {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-main);
  margin-bottom: 20px;
}

.dealer-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.85rem;
  color: var(--color-white);
  background-color: #333;
  padding: 8px 25px;
  transition: all 0.3s;
}

.dealer-link:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

/* スマホ・タブレット対応 */
@media (max-width: 992px) {
  .dealer-grid {
    grid-template-columns: repeat(2, 1fr);
    /* タブレットは2列 */
  }
}

@media (max-width: 768px) {
  .region-lead {
    margin-top: -20px;
    margin-bottom: 25px;
    font-size: 0.9rem;
  }
  .dealer-grid {
    grid-template-columns: 1fr;
    /* スマホ時は1列に */
    gap: 20px;
  }
}

/* ==========================================================================
   11. Accessories & Parts (シールド・パーツ類共通)
   ========================================================================== */
.parts-section {
  margin-bottom: 80px;
}

.parts-section-title {
  font-family: var(--font-en);
  font-size: 1.75rem;
  color: var(--color-white);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 10px;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}

/* 4列で画像を並べるグリッド（シールド等のカラバリ用） */
.parts-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

/* パーツ単体のカードデザイン */
.parts-card {
  background-color: #111111;
  border: 1px solid #333333;
  padding: 20px;
  text-align: center;
  transition: border-color 0.3s;
}

.parts-card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  object-fit: contain;
  /* 画像が暗い背景に映えるよう、薄く影を落とす */
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
}

.parts-name {
  font-size: 1.1rem;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.parts-notes {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 15px;
  list-style: none;
  padding-left: 0;
}

.parts-notes li {
  margin-bottom: 5px;
  padding-left: 1.2em;
  text-indent: -1.2em;
}

.parts-notes li::before {
  content: "※";
  margin-right: 0.2em;
}

/* 仕様解説ブロック（DSAFなどの説明用） */
.spec-explain-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spec-explain-item {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 30px;
  display: flex;
  gap: 40px;
  align-items: center;
}

.spec-explain-text {
  flex: 1;
}

.spec-explain-text h4 {
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 15px;
  border-left: 4px solid var(--color-accent);
  padding-left: 12px;
  white-space: nowrap;
}

.spec-explain-text h4 small {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: normal;
  margin-left: 5px;
}

.spec-explain-text p {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 1.6;
}

.spec-explain-img {
  width: 250px;
  flex-shrink: 0;
}

.spec-explain-img img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  border-radius: 4px;
}

.spec-explain-img .note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .parts-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    /* スマホでは2列 */
    gap: 15px;
  }

  .spec-explain-text h4 {
    font-size: 1.15rem;
  }

  .spec-explain-item {
    flex-direction: column;
    /* スマホでは縦並び */
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
  }

  .spec-explain-img {
    width: 100%;
  }
}

/* ==========================================================================
   エアロパーツ用レイアウト・白背景画像対策
   ========================================================================== */
.aero-block {
  margin-bottom: 80px;
}

.aero-title {
  font-size: 1.5rem;
  color: var(--color-white);
  border-left: 4px solid var(--color-accent);
  padding-left: 15px;
  margin-bottom: 20px;
}

.aero-title small {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-left: 10px;
  font-weight: normal;
}

/* 画像とテーブルを分けるコンテナ */
.aero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 画像を並べるグリッド */
.aero-gallery {
  display: grid;
  gap: 20px;
}
.aero-gallery.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.aero-gallery.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.aero-gallery.grid-1 {
  grid-template-columns: minmax(auto, 400px);
}

.aero-img-card {
  text-align: center;
}

/* ★白背景画像を馴染ませる魔法のパネル */
.white-panel {
  background-color: #ffffff;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
}

/* ★横長の画像など、元の比率を維持したいパネル用の追加クラス */
.white-panel.is-auto {
  aspect-ratio: auto;
}

.white-panel img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* 画像の白背景を透過させ、パネルの白と完全に同化させる */
  mix-blend-mode: multiply;
}

/* 黒グラデーションパネル（特定の箇所用） */
.black-panel {
  background: linear-gradient(to bottom, #000000 0%, #333333 100%);
  border: 1px solid #222;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
}

.black-panel img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* 画像を浮かび上がらせるシャドウ */
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.8));
}

/* 中間濃度のグレーグラデーションパネル */
.gray-panel {
  background: radial-gradient(circle at center, #777777 0%, #444444 100%);
  border: 1px solid #555;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
}

.gray-panel img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.6));
}

/* 余白なし・背景なし・画像そのままの比率で表示するパネル */
.plain-panel {
  width: 100%;
  display: block;
  margin-bottom: 10px;
  /* 下のテキストとの最低限の隙間だけ確保 */
}

.plain-panel img {
  width: 100%;
  /* 割り当てられた左右幅いっぱいに広げる */
  height: auto;
  /* 画像本来のアスペクト比をそのまま維持する */
  display: block;
}

/* ティアオフシールドなどの横長用 */
.black-panel.is-auto {
  aspect-ratio: auto;
  padding: 30px;
}

.aero-img-card p {
  font-size: 0.9rem;
  color: var(--color-text-main);
  font-weight: bold;
}

.aero-apply-models {
  font-size: 0.9rem;
  color: var(--color-accent);
  margin-bottom: 10px;
  font-weight: bold;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .aero-gallery.grid-2,
  .aero-gallery.grid-3 {
    grid-template-columns: 1fr;
    /* スマホでは全て1列に */
  }
}

/* ==========================================================================
   OTHER PARTS 専用：ピボットキット・特殊レイアウト（上段3色 / 下段4色）
   ========================================================================== */
/* 12分割のグリッドシステムを使用して、3列と4列を混在させる */
.pivot-gallery-7 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-bottom: 50px;
  width: 100%;
}

/* 上段3色：12 ÷ 3 = 4カラム分を使用（少し大きく表示される） */
.pivot-gallery-7 .aero-img-card:nth-child(1),
.pivot-gallery-7 .aero-img-card:nth-child(2),
.pivot-gallery-7 .aero-img-card:nth-child(3) {
  grid-column: span 4;
}

/* 下段4色：12 ÷ 4 = 3カラム分を使用（少し小さく表示される） */
.pivot-gallery-7 .aero-img-card:nth-child(n+4) {
  grid-column: span 3;
}

.pivot-gallery-7 .white-panel {
  aspect-ratio: 1 / 1;
  padding: 20px;
}

.pivot-gallery-7 p {
  font-size: 0.9rem;
  margin-top: 10px;
  color: var(--color-text-main);
  font-weight: bold;
}

/* スマホ表示 */
@media (max-width: 768px) {
  .pivot-gallery-7 {
    grid-template-columns: repeat(2, 1fr);
    /* スマホではシンプルな2列に */
    gap: 15px;
  }
  .pivot-gallery-7 .aero-img-card {
    grid-column: span 1 !important;
    /* カラム指定を解除 */
  }
  .pivot-gallery-7 .white-panel {
    padding: 15px;
  }
  .pivot-gallery-7 p {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
  HELMET BAG
  ==========================================================================
*/
/* 製品説明部分の調整 */
.bag-desc {
  margin-bottom: 25px;
  min-height: 3em;
  /* 2製品でテキスト量が違っても高さを揃えやすくする */
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-form {
  margin-top: 40px;
  background-color: #111;
  padding: 40px;
  border: 1px solid #333;
}

.form-group {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 1px dashed #333;
  padding-bottom: 30px;
}

.form-group:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.form-label {
  width: 200px;
  flex-shrink: 0;
  color: var(--color-white);
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  padding-top: 10px;
}

.form-label .req {
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  padding: 0px 6px 3px;
  border-radius: 2px;
  margin-left: 10px;
  font-weight: normal;
}

.form-label .opt {
  background-color: #666;
  color: var(--color-white);
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 10px;
  font-weight: normal;
}

.form-control-wrap {
  flex: 1;
}

.form-control-wrap input[type="text"],
.form-control-wrap input[type="email"],
.form-control-wrap input[type="tel"],
.form-control-wrap textarea {
  width: 100%;
  background-color: #000;
  border: 1px solid #444;
  color: var(--color-white);
  padding: 12px 15px;
  font-size: 1rem;
  border-radius: 2px;
  transition: border-color 0.3s;
}

.form-control-wrap textarea {
  resize: vertical;
  min-height: 200px;
}

.form-control-wrap input:focus,
.form-control-wrap textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-submit {
  margin-top: 50px;
  text-align: center;
}

.btn-submit {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-jp);
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  padding: 15px 60px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.3s;
}

.btn-submit:hover {
  background-color: #a30000;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .contact-form {
    padding: 20px;
  }
  .form-group {
    flex-direction: column;
    margin-bottom: 25px;
    padding-bottom: 25px;
  }
  .form-label {
    width: 100%;
    margin-bottom: 10px;
    align-items: center;
    padding-top: 0;
  }
  .btn-submit {
    width: 100%;
    padding: 15px 0;
  }
}

/* ==========================================================================
   送信完了ページ
   ========================================================================== */
.thanks-wrap {
  text-align: center;
  padding: 60px 20px;
  background-color: #111;
  border: 1px solid #333;
  margin-top: 40px;
}

.thanks-message {
  font-size: 1.25rem;
  line-height: 2;
  color: var(--color-white);
  margin-bottom: 50px;
}

.btn-home {
  display: inline-block;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  font-family: var(--font-jp);
  font-size: 1rem;
  padding: 15px 50px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-home:hover {
  background-color: var(--color-white);
  color: #000;
  opacity: 1;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .thanks-wrap {
    padding: 40px 15px;
  }
  .thanks-message {
    font-size: 1.05rem;
    text-align: left;
  }
  .btn-home {
    width: 100%;
    display: block;
  }
}