*,
*::before,
*::after {
  margin: 0;
  padding: 0;
}

a {
  color: #000;
  text-decoration: none;
}

/* マウスが乗った時（ホバー時）のスタイル */
a:hover {
  text-decoration: none; /* 下線を表示する */
  /* または、色を少しグレーにする場合は以下（お好みで選んでください） */
  /* color: #cccccc; */
}

:root {
  --red: #c0202a;
  --red-dark: #8b1219;
  --ink: #0d0d0d;
  --ink-70: #4a4a4a;
  --ink-40: #999;

  --white: #ffffff;
  --gold: #b8943c;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

/* HEADER */
header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 24px;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-decoration: none;
}
.logo span {
  color: var(--red);
}
nav {
  display: flex;
  gap: 2rem;
}
nav a {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-70);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
nav a:hover,
nav a.active {
  color: var(--red);
}

/* HERO */
.hero {
  position: relative;
  height: 72vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* checkerboard placeholder pattern */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, #1a1a1a 25%, transparent 25%),
    linear-gradient(-45deg, #1a1a1a 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1a1a1a 75%),
    linear-gradient(-45deg, transparent 75%, #1a1a1a 75%);
  background-size: 32px 32px;
  background-position:
    0 0,
    0 16px,
    16px -16px,
    -16px 0px;
  background-color: #161616;
  opacity: 0.9;
}
.hero-bg .ph-label {
  position: relative;
  z-index: 1;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
  line-height: 1.8;
}
/* Replace .ph-label with <img class="hero-img"> for real photo */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.08) 55%,
    transparent 100%
  );
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem 3.5rem;
}
.hero-eyebrow {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero h1 strong {
  font-weight: 700;
}
.hero-sub {
  margin-top: 1rem;
  max-width: 440px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.85;
}

/* BREADCRUMB */
.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  font-size: 11.5px;
  color: var(--ink-40);
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a {
  color: var(--ink-40);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--red);
}

/* SECTION WRAPPER */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}
.section-head {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 1.25rem;
}
.section-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  color: rgba(0, 0, 0, 0.1);
  line-height: 1;
}
.section-en {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  display: block;
  margin-bottom: 3px;
}
.section-ja {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* PHOTO CARD GRID */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 1000px) {
  .photo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 640px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

.photo-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.28s;
}
.photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.11);
}

/* PHOTO PLACEHOLDER */
.card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  flex-shrink: 0;
}
.card-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}
.photo-card:hover .card-photo img {
  transform: scale(1.05);
}
.card-photo .ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ph-bg, #1a1a1a);
}
.card-photo .ph svg {
  opacity: 0.25;
}
.card-photo .ph-hint {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  text-align: center;
  line-height: 1.6;
}
.card-photo .color-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent, var(--red));
}

/* CARD BODY */
.card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card-cat {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent, var(--red));
  font-weight: 500;
}
.card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.card-desc {
  font-size: 12.5px;
  color: var(--ink-70);
  line-height: 1.75;
  flex: 1;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 0.5rem;
}
.ctag {
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--tag-bg, #f0ede8);
  color: var(--tag-color, var(--ink-70));
  font-weight: 500;
}

/* per-card accent colors */
.card-car {
  --accent: #1a56a0;
  --ph-bg: #0d1f3c;
  --tag-bg: #e6f0fb;
  --tag-color: #1a56a0;
}
.card-trade {
  --accent: var(--gold);
  --ph-bg: #2a1f08;
  --tag-bg: #f5edd6;
  --tag-color: #8b6a1a;
}
.card-wholesale {
  --accent: #1a7a4a;
  --ph-bg: #0b2117;
  --tag-bg: #e3f5ec;
  --tag-color: #1a7a4a;
}
.card-apparel {
  --accent: #7a3a9a;
  --ph-bg: #21103a;
  --tag-bg: #f2e8f8;
  --tag-color: #7a3a9a;
}

/* SILICON SECTION */
.silicon-wrap {
  background: var(--ink);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.silicon-wrap::after {
  content: "SILICON";
  font-family: "Bebas Neue", sans-serif;
  font-size: 200px;
  letter-spacing: -0.02em;
  color: rgba(127, 183, 229, 0.025);
  position: absolute;
  right: -10px;
  bottom: -20px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.silicon-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.silicon-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
@media (max-width: 800px) {
  .silicon-top {
    grid-template-columns: 1fr;
  }
}

/* main silicon photo */
.silicon-main-photo {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.silicon-main-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.silicon-main-photo .ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #1a0a0c;
}
.silicon-main-photo .ph svg {
  opacity: 0.2;
}
.silicon-main-photo .ph .ph-hint {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  text-align: center;
  line-height: 1.7;
}
.silicon-main-photo .ph-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
}

.silicon-text {
  color: var(--white);
}
.silicon-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 4px 13px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.silicon-text h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.silicon-text p {
  font-size: 14px;
  font-weight: 300;
  color: #ffffffb2;
  line-height: 1.85;
}

/* silicon sub grid */
.silicon-sub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.feature-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--red);
}

.feature-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  padding: 20px;
}

.feature-icon {
  color: var(--red);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white) !important;
  border: none !important;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.feature-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-list li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  padding-left: 1rem;
  position: relative;
  line-height: 1.6;
}
.feature-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 10px;
}

.feature-cta {
  text-align: center;
  margin: 40px 0px;
}
.lineup-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s;
}
.lineup-btn:hover {
  background: var(--red);
  color: var(--white);
}

.silicon-sub-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.silicon-sub-card:hover {
  border-color: rgba(192, 32, 42, 0.5);
  transform: translateY(-3px);
}
.sub-photo {
  aspect-ratio: 3/2;
  position: relative;
  overflow: hidden;
}
.sub-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.silicon-sub-card:hover .sub-photo img {
  transform: scale(1.07);
}
.sub-photo .ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sub-ph, #1a1a1a);
}
.sub-photo .ph svg {
  opacity: 0.22;
}
.sub-body {
  padding: 0.9rem 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
}
.sub-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}
.sub-desc {
  font-size: 11.5px;
  color: hsla(0, 2%, 80%, 0.735);
  line-height: 1.65;
}

/* accessories bar */
.accessories-bar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.acc-label {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  white-space: nowrap;
}
.acc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.acc-pill {
  font-size: 11.5px;
  padding: 4px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: white;
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.6);
}

/* CONTACT */
.contact-bar {
  padding: 3.5rem 2rem;
  text-align: center;
}
.contact-bar h3 {
  font-size: 21px;
  font-weight: 700;
  color: #1a56a0;
  margin-bottom: 0.5rem;
}
.contact-bar p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.75rem;
}
.btn {
  display: inline-block;
  background: var(--white);
  color: #1a56a0;
  font-size: 13.5px;
  font-weight: 700;
  padding: 13px 36px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.btn:hover {
  opacity: 0.88;
}

/* FOOTER */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  padding: 2rem;
  font-size: 11.5px;
  letter-spacing: 0.05em;
}
footer strong {
  color: rgba(255, 255, 255, 0.65);
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */

/* タブレット横向き〜小デスクトップ (〜1024px) */
@media (max-width: 1024px) {
  .banner-wrap,
  .banner {
    width: 100%;
  }
  .silicon-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .silicon-main-photo {
    aspect-ratio: 16/9;
  }
  .silicon-sub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* タブレット縦向き (〜768px) */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hero {
    height: 56vh;
    min-height: 360px;
  }
  .hero-content {
    padding: 0 1.25rem 2.5rem;
  }
  .hero-sub {
    display: none;
  }

  .breadcrumb {
    padding: 0.75rem 1.25rem;
  }

  .section-wrap {
    padding: 2.5rem 1.25rem;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .card-body {
    padding: 1rem 1rem 1.25rem;
  }
  .card-title {
    font-size: 14px;
  }
  .card-desc {
    font-size: 12px;
  }

  /* 既存バナーCSS対応 */
  .banner {
    height: auto;
    min-height: 200px;
  }
  .content {
    padding: 1.5rem 1.25rem;
    gap: 16px;
  }
  .number {
    font-size: 52px;
    min-width: 44px;
  }
  .category-name {
    font-size: 24px;
  }
  .catchcopy {
    font-size: 12px;
  }

  .silicon-wrap {
    padding: 3rem 1.25rem;
  }
  .silicon-wrap::after {
    font-size: 100px;
  }
  .silicon-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .silicon-main-photo {
    aspect-ratio: 16/9;
  }
  .silicon-sub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .silicon-text h2 {
    font-size: 26px;
  }

  .accessories-bar {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
  }

  .contact-bar {
    padding: 2.5rem 1.25rem;
  }
  .contact-bar h3 {
    font-size: 18px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* スマートフォン (〜480px) */
@media (max-width: 480px) {
  .hero {
    height: 50vh;
    min-height: 300px;
  }
  .hero-content {
    padding: 0 1rem 2rem;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }
  .card-photo {
    aspect-ratio: 16/8;
  }

  .content {
    padding: 1.25rem 1rem;
    gap: 12px;
  }
  .number {
    font-size: 40px;
    min-width: 36px;
    letter-spacing: -1px;
  }
  .category-name {
    font-size: 20px;
    margin-bottom: 5px;
  }
  .catchcopy {
    font-size: 11.5px;
  }
  .tags {
    margin-top: 8px;
  }
  .tag {
    font-size: 9.5px;
    padding: 2px 8px;
  }
  .arrow-wrap {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .silicon-sub-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .silicon-text h2 {
    font-size: 22px;
  }
  .silicon-text p {
    font-size: 13px;
  }
  .sub-photo {
    aspect-ratio: 16/7;
  }

  .acc-tags {
    gap: 5px;
  }
  .acc-pill {
    font-size: 11px;
    padding: 3px 10px;
  }

  footer {
    font-size: 11px;
    padding: 1.5rem 1rem;
    line-height: 1.8;
  }

  .silicon-sub-grid {
    grid-template-columns: 1fr;
  }
}

/* 極小端末 (〜360px) */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 28px;
  }
  .category-name {
    font-size: 18px;
  }
  .number {
    font-size: 34px;
  }
  .card-title {
    font-size: 13.5px;
  }
}
