:root {
  --ikinari-ai-primary: #0059cc;
}

.product-navi {
  background-color: var(--ikinari-ai-primary);
  box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.08);
  z-index: 100;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  height: 4.4rem;
  min-height: 4.4rem;
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .product-navi {
    height: 5rem;
    min-height: 5rem;
  }
}
.product-navi * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.product-navi .triangle {
  width: 0.6rem;
  height: 0.4rem;
  -webkit-clip-path: polygon(50% 100%, 100% 0, 0 0);
          clip-path: polygon(50% 100%, 100% 0, 0 0);
  background-color: #ffffff;
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.4rem;
  transition: transform 0.3s ease;
}
.product-navi__inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  max-width: var(--sn-container-min, 120rem);
  margin-inline: auto;
  padding: 0 2.4rem;
  height: 100%;
}
.product-navi__logo {
  display: flex;
  align-items: center;
  height: 100%;
}
.product-navi__logo img {
  height: 2.8rem;
  width: auto;
  display: block;
}
@media (min-width: 1024px) {
  .product-navi__logo img {
    height: 3.4rem;
  }
}
.product-navi__menu {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 4rem;
  height: 100%;
}
@media screen and (max-width: 599px) {
  .product-navi__menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto;
    background-color: var(--ikinari-ai-primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  .product-navi__menu.open {
    max-height: 50rem;
    overflow-y: auto;
    padding: 1.6rem 2.4rem;
  }
}
.product-navi__menu-each {
  position: relative;
  height: 100%;
  display: flex;
  align-items: stretch;
}
.product-navi__menu-each > a,
.product-navi__menu-each > label {
  background: none;
  border: none;
  font-family: inherit;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
  letter-spacing: 0.05em;
  position: relative;
}
.product-navi__menu-each > a:hover,
.product-navi__menu-each > label:hover {
  opacity: 0.8;
}
@media screen and (min-width: 600px) {
  .product-navi__menu-each > a::after,
.product-navi__menu-each > label::after {
    content: "";
    display: block;
    width: 0;
    height: 0.3rem;
    background-color: #ffffff;
    transition: width 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  .product-navi__menu-each > a:hover::after,
.product-navi__menu-each > label:hover::after {
    width: 100%;
  }
}
@media screen and (min-width: 600px) {
  .product-navi__menu-each.current > a::after {
    width: 100%;
    background-color: #ffffff;
  }
}
@media screen and (max-width: 599px) {
  .product-navi__menu-each {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
    padding: 0.8rem 0;
    height: auto;
    display: block;
  }
  .product-navi__menu-each:last-child {
    border-bottom: none;
  }
  .product-navi__menu-each > a,
.product-navi__menu-each > label {
    justify-content: center;
    width: 100%;
    font-size: 1.5rem;
    padding: 1.2rem 0;
    height: auto;
  }
}
.product-navi__submenu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.product-navi__menu-other {
  position: relative;
}
@media screen and (min-width: 600px) {
  .product-navi__menu-other > a:hover::after,
.product-navi__menu-other > label:hover::after {
    width: 0;
  }
  .product-navi__menu-other:hover .product-navi__menu-other-inner, .product-navi__menu-other:focus-within .product-navi__menu-other-inner {
    max-height: 40rem;
    opacity: 1;
  }
  .product-navi__menu-other:hover .triangle, .product-navi__menu-other:focus-within .triangle {
    transform: rotate(180deg);
  }
}
@media screen and (max-width: 599px) {
  .product-navi__menu-other .product-navi__submenu-toggle:checked ~ .product-navi__menu-other-inner {
    max-height: 35rem;
    opacity: 1;
    margin-top: 0.8rem;
    padding: 0.4rem 0;
  }
  .product-navi__menu-other .product-navi__submenu-toggle:checked ~ label .triangle {
    transform: rotate(180deg);
  }
}
.product-navi__menu-other-inner {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.12);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  list-style: none;
  border-radius: 1.2rem;
  width: 28rem;
  padding: 0.8rem 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.product-navi__menu-other-inner a {
  color: var(--color-sn-text-high, #1a1a1a);
  text-decoration: none;
  white-space: nowrap;
  display: block;
  padding: 1.4rem 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-align: left;
}
.product-navi__menu-other-inner a:hover {
  background-color: #f0f7ff;
  color: var(--ikinari-ai-primary);
}
@media screen and (max-width: 599px) {
  .product-navi__menu-other-inner {
    position: static;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.12);
    border-radius: 0.8rem;
    width: 100%;
    padding: 0;
    border: none;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
  }
  .product-navi__menu-other-inner a {
    color: #ffffff;
    text-align: center;
    font-size: 1.4rem;
    padding: 1.2rem;
    font-weight: 400;
  }
  .product-navi__menu-other-inner a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }
}
.product-navi__menu-other-each {
  border-bottom: 1px solid #f2f2f2;
}
.product-navi__menu-other-each:last-child {
  border-bottom: none;
}
@media screen and (max-width: 599px) {
  .product-navi__menu-other-each {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 2.4rem;
  height: 2.4rem;
  position: relative;
  touch-action: manipulation;
  z-index: 110;
  align-self: center;
}
.menu-toggle span {
  display: block;
  height: 0.2rem;
  width: 100%;
  background-color: #ffffff;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 0.2rem;
}
.menu-toggle span:last-child {
  margin-bottom: 0;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(0.7rem) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-0.7rem) rotate(-45deg);
}
@media screen and (max-width: 599px) {
  .menu-toggle {
    display: block;
  }
}