@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&family=Bebas+Neue&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

a {
  text-decoration: none !important; /* 下線を消す */
  color: inherit !important; /* 親要素の文字色をそのまま引き継ぐ */
}

/* マウスを置いた時（ホバー時）の挙動も制御する場合 */
a:hover {
  text-decoration: none !important;
  color: inherit !important;
  /* もしマウスを置いた時だけ少し変化させたいなら、opacity（透明度）などがおすすめ */
  opacity: 0.8;
}

.banner-wrap {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.banner {
  width: 1200px;
  height: 300px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.banner:hover .bg-img {
  transform: scale(1.05);
}

/* 左黒グラデーション：文字エリアを黒く、右に画像を浮き上がらせる */
.overlay-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.97) 28%,
    rgba(0, 0, 0, 0.85) 45%,
    rgba(0, 0, 0, 0.4) 65%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 60px;
  gap: 32px;
}

.number {
  font-family: "Bebas Neue", sans-serif;
  font-size: 80px;
  line-height: 1;
  min-width: 64px;
  letter-spacing: -2px;
  opacity: 0.5;
}

.text-block {
  flex: 1;
  max-width: 600px;
}

.category-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 5px;
  font-weight: 400;
}

.category-name {
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.25;
}

.accent-line {
  height: 2px;
  width: 36px;
  margin-bottom: 9px;
  transition: width 0.4s ease;
}

.banner:hover .accent-line {
  width: 68px;
}

.catchcopy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
  line-height: 1.7;
}

.tags {
  display: flex;
  gap: 6px;
  margin-top: 11px;
  flex-wrap: wrap;
}

.tag {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 2px;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.arrow-wrap {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  font-size: 18px;
  color: #fff;
}

.banner:hover .arrow-wrap {
  transform: translateX(5px);
}

/* ===== 各バナー個別設定 ===== */

/* 1. ガソリン・HV：スポーツカーのエンジンルーム */
.b1 .bg-img {
  background-image: url("https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1200&q=80");
  background-position: center 40%;
}
.b1 .accent-line {
  background: #c8860a;
}
.b1 .tag {
  background: #c8860a;
}
.b1 .number {
  color: #c8860a;
}

/* 2. EV：電気自動車・充電 */
.b2 .bg-img {
  background-image: url("https://images.unsplash.com/photo-1593941707882-a5bba14938c7?w=1200&q=80");
  background-position: center 50%;
}
.b2 .accent-line {
  background: #1a7fc1;
}
.b2 .tag {
  background: #1a7fc1;
}
.b2 .number {
  color: #1a7fc1;
}

/* 3. 水素：工場・クリーンエネルギー */
.b3 .bg-img {
  background-image: url("https://images.unsplash.com/photo-1518640467707-6811f4a6ab73?w=1200&q=80");
  background-position: center 50%;
}
.b3 .accent-line {
  background: #2e9e5a;
}
.b3 .tag {
  background: #2e9e5a;
}
.b3 .number {
  color: #2e9e5a;
}

/* 4. 重機：建設現場のショベル */
.b4 .bg-img {
  background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1200&q=80");
  background-position: center 60%;
}
.b4 .accent-line {
  background: #b84a1a;
}
.b4 .tag {
  background: #b84a1a;
}
.b4 .number {
  color: #b84a1a;
}

/* 5. ロボット：産業用ロボットアーム */
.b5 .bg-img {
  background-image: url("https://images.unsplash.com/photo-1485827404703-89b55fcc595e?w=1200&q=80");
  background-position: center 30%;
}
.b5 .accent-line {
  background: #7040c8;
}
.b5 .tag {
  background: #7040c8;
}
.b5 .number {
  color: #7040c8;
}
.php-output {
  color: #333 !important; /* 文字色 */
  font-family:
    "Yu Gothic Medium", "Yu Gothic", "YuGothic", sans-serif !important; /* 游ゴシック指定 */
  font-weight: 500 !important; /* 適切な太さ */
}
