/* Yahoo!ショッピング A案 2026-07-25
   top.css の末尾に追記する差分。既存の商品検索・車種検索・各コンテンツは変更しない。 */

:root {
  --at-ink: #05080c;
  --at-navy: #06111d;
  --at-navy-2: #03101a;
  --at-yellow: #ffca00;
  --at-white: #f7f7f5;
}

header {
  background: var(--at-navy);
}

.header_section {
  background: var(--at-ink);
  border-bottom: 4px solid var(--at-yellow);
  padding: 0 3.5vw;
}

.header_section h1 {
  color: rgba(255, 255, 255, 0.82);
}

.header_menu ul li {
  border-left-color: rgba(255, 255, 255, 0.22);
}

.smp_wrap {
  background: var(--at-navy);
}

.logo img {
  width: min(360px, 35vw);
  padding: 24px 0;
}

.megamenu {
  max-width: none;
  background: var(--at-navy-2);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 4px solid var(--at-yellow);
}

.megamenu > ul {
  max-width: 1200px;
  margin: 0 auto;
}

.megamenu > ul > li {
  width: 200px;
  margin: 22px 0 24px;
}

.megamenu > ul > li > a > img {
  box-sizing: border-box;
  width: 72px;
  height: 72px;
  padding: 8px;
  border: 2px solid rgba(255, 202, 0, 0.72);
  border-radius: 50%;
  object-fit: contain;
}

.megamenu > ul > li > a > p {
  margin-top: 10px;
  color: var(--at-white);
  font-size: 14px;
}

.megamenu > ul > li:last-child > a > p {
  color: var(--at-yellow);
}

.h-96 {
  height: 31.6667vw !important;
  min-height: 400px;
  max-height: 608px;
}

.main_visual img {
  object-position: center;
}

.main_logo {
  display: none;
}

.main_visual::after {
  content: "";
  position: absolute;
  right: 4vw;
  bottom: 18px;
  width: 52px;
  height: 3px;
  background: var(--at-yellow);
  pointer-events: none;
}

@media screen and (max-width: 480px) {
  .header_section {
    border-bottom-width: 3px;
    padding: 0 10px;
  }

  .header_section h1 {
    padding: 8px 4px;
    letter-spacing: 0.5px;
  }

  .smp_wrap {
    min-height: 82px;
    align-items: center;
  }

  .logo img {
    width: 280px;
    max-width: 72vw;
    padding: 20px 0;
  }

  .sp-menu-btn_02 .line {
    background: var(--at-white);
  }

  .sp-menu-btn_02 span:nth-child(2) {
    background: var(--at-yellow);
  }

  .h-96 {
    height: 384px !important;
    min-height: 0;
    max-height: none;
  }

  .mySlides img {
    content: url("hero_sp_a_0725.jpg");
    object-position: center top;
  }

  .main_visual::after {
    right: 18px;
    bottom: 13px;
    width: 34px;
    height: 2px;
  }

  .search {
    background: #f5f5f3;
  }
}
