/* Yahoo!ショッピング header refinement A / 2026-07-27
   Existing destinations and menu content are preserved. */

.site_header {
  position: relative;
  z-index: 50;
  background: #05080c;
  color: #f7f7f5;
}

.site_header .header_section {
  min-height: 34px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  align-items: center;
  background: #030507;
  border-bottom: 2px solid #ffca00;
}

.site_header .header_section h1 {
  padding: 9px 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 1.7px;
}

.site_header .header_section h1::before {
  content: "ONLINE STORE / ";
  color: #ffca00;
  font-weight: 800;
}

.site_header .header_menu ul li {
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.site_header .header_menu ul li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.site_header .header_menu ul li a {
  position: relative;
  padding: 9px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site_header .header_menu ul li a::after {
  content: "↗";
  margin-left: 8px;
  color: #ffca00;
}

.site_header .header_menu ul li a:hover {
  color: #fff;
  background: rgba(255, 202, 0, 0.08);
}

.site_header .smp_wrap {
  position: relative;
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #06111d;
  background-size: 28px 28px;
}

.site_header .smp_wrap::before,
.site_header .smp_wrap::after {
  position: absolute;
  top: 50%;
  color: rgba(255, 255, 255, 0.42);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  transform: translateY(-50%);
}

.site_header .smp_wrap::before {
  left: max(24px, calc((100vw - 1200px) / 2));
  content: "TIRE & WHEEL";
}

.site_header .smp_wrap::after {
  right: max(24px, calc((100vw - 1200px) / 2));
  content: "SELECT SHOP / OKAZAKI";
}

.site_header .logo {
  position: relative;
  z-index: 1;
  width: 100%;
}

.site_header .logo a {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.site_header .logo img {
  display: block;
  width: min(320px, 32vw);
  margin: 0 auto;
  padding: 17px 0;
}

.site_header .megamenu {
  max-width: none;
  background: #030b13;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 3px solid #ffca00;
}

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

.site_header .megamenu > ul > li {
  position: relative;
  width: 20%;
  margin: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.site_header .megamenu > ul > li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.site_header .megamenu > ul > li::before {
  position: absolute;
  top: 9px;
  left: 11px;
  z-index: 2;
  color: rgba(255, 202, 0, 0.6);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1px;
}

.site_header .megamenu > ul > li:nth-child(1)::before { content: "01"; }
.site_header .megamenu > ul > li:nth-child(2)::before { content: "02"; }
.site_header .megamenu > ul > li:nth-child(3)::before { content: "03"; }
.site_header .megamenu > ul > li:nth-child(4)::before { content: "04"; }
.site_header .megamenu > ul > li:nth-child(5)::before { content: "05"; }

.site_header .megamenu > ul > li > a {
  display: grid;
  min-height: 82px;
  grid-template-columns: 52px auto;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 14px;
  transition: background-color 0.2s ease;
}

.site_header .megamenu > ul > li > a::after {
  position: absolute;
  right: 12px;
  bottom: 8px;
  content: "↘";
  color: rgba(255, 202, 0, 0.55);
  font-size: 10px;
}

.site_header .megamenu > ul > li:last-child > a::after {
  content: "↗";
}

.site_header .megamenu > ul > li:hover > a {
  background: rgba(255, 202, 0, 0.075);
}

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

.site_header .megamenu > ul > li > a > p {
  margin: 0;
  color: #f7f7f5;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: left;
  white-space: nowrap;
}

.site_header .megamenu > ul > li:last-child > a > p {
  color: #ffca00;
}

.site_header .submenu {
  top: 76px;
  left: 0;
  margin-top: 6px;
  overflow: hidden;
  background: #07111b;
  border: 1px solid rgba(255, 202, 0, 0.46);
  border-radius: 0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.site_header .submenu::after {
  display: none;
}

.site_header .submenu ul {
  gap: 5px;
  padding: 9px;
}

.site_header .submenu ul li {
  min-width: 108px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #0b1722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
}

.site_header .submenu ul li a {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.5px;
  text-align: left;
}

.site_header .submenu ul li a:hover {
  color: #ffca00;
  background: rgba(255, 202, 0, 0.08);
}

.mobile_quick {
  display: none;
}

@media screen and (max-width: 767px) {
  .site_header .header_section {
    display: block;
    min-height: 28px;
    padding: 0 8px;
    border-bottom-width: 2px;
  }

  .site_header .header_section h1 {
    overflow: hidden;
    padding: 7px 0 6px;
    font-size: 8px;
    line-height: 1.35;
    letter-spacing: 0.75px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site_header .header_section h1::before {
    content: "ONLINE STORE / ";
  }

  .site_header .header_rt,
  .site_header .megamenu {
    display: none;
  }

  .site_header .smp_wrap {
    min-height: 72px;
    height: 72px;
    justify-content: flex-start;
    padding: 0 14px;
    overflow: visible;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site_header .smp_wrap::before,
  .site_header .smp_wrap::after {
    display: none;
  }

  .site_header .logo {
    width: auto;
  }

  .site_header .logo a {
    margin: 0;
  }

  .site_header .logo img {
    width: 230px;
    max-width: 66vw;
    padding: 12px 0;
  }

  .site_header .header-container_02 {
    display: block;
  }

  .site_header .sp-menu-btn_02 {
    top: 12px;
    right: 7px;
    width: 58px;
    height: 48px;
    padding: 0;
  }

  .site_header .sp-menu-btn_02 .line {
    right: 13px;
    height: 3px;
    border-radius: 0;
  }

  .site_header .sp-menu-btn_02 span:nth-child(1) {
    top: 8px;
    width: 28px;
  }

  .site_header .sp-menu-btn_02 span:nth-child(2) {
    top: 16px;
    width: 19px;
    background: #ffca00;
  }

  .site_header .sp-menu-btn_02 .menu_label {
    position: absolute;
    right: 12px;
    bottom: 4px;
    width: auto;
    height: auto;
    color: rgba(255, 255, 255, 0.74);
    background: transparent;
    font-size: 7px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.4px;
  }

  .site_header .sp-menu-btn_02.active {
    position: fixed;
    top: 16px;
    right: 12px;
  }

  .site_header .sp-menu-btn_02.active span:nth-child(1),
  .site_header .sp-menu-btn_02.active span:nth-child(2) {
    top: 15px;
    width: 28px;
    background: #fff;
  }

  .site_header .sp-menu-btn_02.active .menu_label {
    bottom: 2px;
    color: #ffca00;
  }

  .site_header .header__navi_02 {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    z-index: 100;
    width: min(90vw, 390px);
    min-height: 100svh;
    height: 100svh;
    padding: 90px 14px 30px;
    overflow-y: auto;
    background:
      linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
      #050d16;
    background-size: 26px 26px;
    border-left: 2px solid #ffca00;
    box-shadow: -18px 0 48px rgba(0, 0, 0, 0.48);
    transform: translateX(110%);
    transition: transform 0.35s ease;
  }

  .site_header .header__navi_02::before {
    position: absolute;
    top: 30px;
    left: 18px;
    content: "PRODUCT MENU";
    color: #ffca00;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
  }

  .site_header .header__navi_02.active {
    min-height: 100svh;
    height: 100svh;
    padding: 90px 14px 30px;
    transform: translateX(0);
  }

  .site_header .smp_menu_container {
    display: block;
  }

  .site_header .smp_menu_contents {
    margin: 0 0 8px !important;
    border: 0;
  }

  .site_header .smp_menu_contents > button {
    display: grid;
    width: 100%;
    min-height: 56px;
    grid-template-columns: 32px 1fr 20px;
    align-items: center;
    padding: 0 15px;
    background: #08131e !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 2px solid rgba(255, 202, 0, 0.82);
    border-radius: 0;
  }

  .site_header .smp_menu_contents > button::before {
    grid-column: 1;
    color: rgba(255, 202, 0, 0.72);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
  }

  .site_header .smp_menu_contents:nth-child(1) > button::before { content: "01"; }
  .site_header .smp_menu_contents:nth-child(2) > button::before { content: "02"; }
  .site_header .smp_menu_contents:nth-child(3) > button::before { content: "03"; }
  .site_header .smp_menu_contents:nth-child(4) > button::before { content: "04"; }
  .site_header .smp_menu_contents:nth-child(5) > button::before { content: "05"; }

  .site_header .smp_menu_contents > button > p,
  .site_header .smp_menu_contents > button > a {
    grid-column: 2;
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 1.2px;
    text-align: left;
    text-decoration: none;
  }

  .site_header .smp_menu_contents > button > svg {
    grid-column: 3;
    width: 16px;
    height: 16px;
    color: #ffca00;
  }

  .site_header .header__navi_02 .submenu {
    position: static;
    width: 100%;
    margin: 0;
    overflow: visible;
    background: #07111b;
    border: 0;
    box-shadow: none;
  }

  .site_header .header__navi_02 .submenu::after {
    display: none;
  }

  .site_header .accordion_menu ul {
    display: grid;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: none !important;
    gap: 0;
    padding: 6px 0 8px;
    text-align: left;
  }

  .site_header .accordion_menu ul li {
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }

  .site_header .accordion_menu ul li:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site_header .accordion_menu ul li a {
    display: block;
    min-height: 42px;
    padding: 12px 10px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.2px;
  }

  .mobile_quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #03070b;
    border-bottom: 2px solid #ffca00;
  }

  .mobile_quick a {
    display: flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.6px;
    text-decoration: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile_quick a:last-child {
    color: #ffca00;
    border-right: 0;
  }

  .mobile_quick i {
    color: #ffca00;
    font-size: 11px;
  }
}
