@charset "utf-8";

#inner-content, .stk_header, .stk_header[data-fixheader=true]::before, body:not(.page-template-page-wide) #footer, .h_layout_pc_left_normal:not(.page-template-page-wide) #breadcrumb, .h_layout_pc_left_normal #viral-header, .h_layout_pc_center_normal:not(.page-template-page-wide) #breadcrumb, .h_layout_pc_center_normal #viral-header,
.main_bg {
  box-shadow: 0px 3px 0px 0px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

/* header ヘッダー */
.l-header {
  background-color: #005ba4;
  position: relative;
  margin-bottom: 94px;
}

@media screen and (max-width: 959px) {
  .l-header {
    margin-bottom: 65px;
  }
}
@media screen and (max-width: 481px) {
  .l-header {
    margin-bottom: 58px;
  }
}


.l-header__inner {
  max-width: 1216px;
  margin: 0 auto;
  padding: 10px 25px 61px;
}

@media screen and (max-width: 959px) {
  .l-header__inner {
    /*padding: 13px 0 55px 16px;*/
    padding: 18px 0 65px 18px;
  }
}
@media screen and (max-width: 481px) {
  .l-header__inner {
    padding: 14px 0 45px 14px;
  }
}

.l-header__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

@media screen and (max-width: 959px) {
  .l-header__main {
    align-items: center;
    padding-right: 16px;
  }
}

.l-header__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.l-header__description {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 2px;
}

@media screen and (max-width: 959px) {
  .l-header__description {
    display: block;
    max-width: calc(100vw - 58px);
    overflow: hidden;
    font-size: 6px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.l-header__logo {
  display: block;
  line-height: 1;
}
.l-header__logo span {
  color: #fff;
  font-size: 12px;
  font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","BIZ UDPGothic",Meiryo,sans-serif;
}
@media screen and (max-width: 959px) {
  .l-header__logo span {
    display: none;
  }
}
.l-header__logo img {
  display: block;
  width: 285px;
  height: auto;
  margin-top: 3px;
}

@media screen and (max-width: 959px) {
  .l-header__logo img {
    width: min(40.5vw, 200px);
  }
}

.l-header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  padding-top: 2px;
}


.l-header__link {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-right: 20px;
  margin-bottom: 0;
}
.l-header__link li {
  line-height: 1;
}
.l-header__link a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #fff;
  font-size: 10px;
}

.l-header__link img {
  width: 10px;
}

.l-header__search form,
.l-header__search .search-form {
  display: flex;
  width: 260px;
  height: 40px;
  border-radius: 2px;
}

 {
  flex: 1;
  border-radius: 0;
  font-size: 12px;
  padding: 12px;
  border: none;
  border-radius: 2px 0 0 2px;
  font-weight: bold;
}


.l-header__search button[type="submit"] {
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #3c3c3c !important;
  border-radius: 0 2px 2px 0;
  padding: 8px;
  border: none;
}

.l-header__search button[type="submit"] img {
  width: 20px;
}

.l-header__gnav {
  background-color: #fff;
  border-radius: 6px;
  position: absolute;
  bottom: -42px;
  width: calc(100% - 50px);
  max-width: 1166px;
  box-shadow: 0px 3px 0px 0px rgba(0,0,0,0.1);
}

@media screen and (max-width: 959px) {
  .l-header__gnav {
    width: calc(100% - 32px);
    bottom: -40px;
  }
}

@media screen and (max-width: 768px) {
  .l-header__gnav {
    width: calc(100% - 16px);
    border-radius: 6px 0 0 6px;
    max-width: none;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

.l-header__gnav__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 20px 0;
}

@media screen and (max-width: 959px) {
  .l-header__gnav__list {
    min-width: 520px;
    padding: 13px 0;
  }
}
@media screen and (max-width: 768px) {
  .l-header__gnav__list {
    padding: 13px 0 7px;
  }
}
.l-header__gnav__item {
  border-left: 1px solid #e6e6e7;
  position: relative;
}


.l-header__gnav__item:first-child {
  border-left: 0;
}

.l-header__gnav__item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  letter-spacing: 0.064em;
  line-height: 1;
  font-weight: 600;
  text-align: center;
  color: #3c3c3c;
  font-weight: bold;
  font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","BIZ UDPGothic",Meiryo,sans-serif;
}
.l-header__gnav__item a br {

  display: none;
}
@media screen and (max-width: 1200px) {
  .l-header__gnav__item a {
    font-size: 13px;
  }
}
@media screen and (max-width: 959px) {
  .l-header__gnav__item a {
    font-size: 12px;
    padding-left: 15px;
    padding-right: 15px;
    line-height: 1.4;
    white-space: nowrap;
    gap: 3px;
  }
  .l-header__gnav__item span br {
    display: block;
  }
}
@media screen and (max-width: 820px) {
  .l-header__gnav__item a {
    /*font-size: 10px;*/
  }
}
@media screen and (max-width: 768px) {
  .l-header__gnav__item a {
    width: 26vw;
  }
}
@media screen and (max-width: 481px) {
  .l-header__gnav__item a {
    font-size: 10px;
  }
}
.l-header__gnav__item img {
  width: 19px;
  height: 20px;
  object-fit: contain;
}
.l-header__gnav__item:nth-child(4) img {
  width: 21px;
  height: 22px;
}
/* 横スクロールナビ：内側スクロール用 */
.l-header__gnav__scroll {
  width: 100%;
}

/* PCではボタン非表示 */
.l-header__gnav__button {
  display: none;
}

@media screen and (max-width: 768px) {

  /* nav本体はボタン配置用の箱にする */
  .l-header__gnav {
    overflow: hidden;
  }

  /* 実際に横スクロールするのはこの要素 */
  .l-header__gnav__scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  @media screen and (max-width: 768px) {
    .l-header__gnav__scroll::after {
      content: "";
      width: 54px;
      height: 100%;
      background-image: linear-gradient(
      to right,
      transparent 0%,
      transparent 10%,
      rgba(255, 255, 255, 1) 100%
      );
      position: absolute;
      right: 0;
      bottom: 0px;
    }
  }
  .l-header__gnav__scroll::-webkit-scrollbar {
    display: none;
  }

  /* 右ボタンに隠れないように少し余白を足す */
  .l-header__gnav__list {
    padding-right: 46px;
  }

  .l-header__gnav__button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 19px;
    height: 19px;
    border: none;
    border-radius: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    line-height: 1;
    background: none !important;
  }
  .l-header__gnav__button img{
    width: 19px;
    height: 19px;
    display: block;
    position: absolute;
  }
  .l-header__gnav__button--prev {
      left: 3px;
  }
  .l-header__gnav__button--prev img {
    transform:rotate(180deg);
  }
  .l-header__gnav__button--next {
    right: 6px;
  }

  .l-header__gnav__button.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}


#hamburger-menu {
  width: min(5.3vw, 25px);
}


.is-drawer-open {
  overflow: hidden;
}

.l-header-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}

.l-header-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.l-header-drawer__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.68);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.l-header-drawer.is-open .l-header-drawer__overlay {
  opacity: 1;
}

.l-header-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, calc(100vw - 20px));
  height: 100%;
  overflow-y: auto;
  background-color: #fff;
  padding: 33px 40px 40px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  -webkit-overflow-scrolling: touch;
  font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","BIZ UDPGothic",Meiryo,sans-serif;
  font-weight: bold;
}

.l-header-drawer.is-open .l-header-drawer__panel {
  transform: translateX(0);
}

.l-header-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.l-header-drawer__logo img {
  width: 208px;
}
@media screen and (max-width: 959px) {
  .l-header-drawer__logo img {
    width: 148px;
  }
}

.l-header-drawer__close {
  width: 20px;
  cursor: pointer;
  display: block;
  line-height: 1;
}



.l-header-drawer__search {
  margin-bottom: 38px;
}

.l-header-drawer__search form {
  display: flex;
  width: 275px;
  height: 30px;
  border-radius: 4px;
}

.l-header-drawer__search input[type="text"] {
  flex: 1;
  font-size: 12px;
  padding: 8px 13px;
  border: none;
  border-radius: 4px 0 0 4px;
  background-color: #f6f6f6;
  font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","BIZ UDPGothic",Meiryo,sans-serif;
  font-weight: bold;
}


.l-header-drawer__search button[type="submit"] {
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #3c3c3c !important;
  border-radius: 0 4px 4px 0;
  padding: 4px;
  border: none;
}

.l-header-drawer__search button img {
  width: 14px;
}

.l-header-drawer__block + .l-header-drawer__block {
  margin-top: 38px;
}

.l-header-drawer__title {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
}

.l-header-drawer__category {
  border-top: 1px solid #e6e6e7;
  margin-left: 0;
}

.l-header-drawer__category li {
  border-bottom: 1px solid #e6e6e7;
}

.l-header-drawer__category a {
  display: grid;
  grid-template-columns: 20px auto;
  align-items: center;
  gap: 9px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 16px;
  color: #3c3c3c;;
}

.l-header-drawer__category img {
  width: 18px;
  height: 18px;
}

.l-header-drawer__category span:has(img) {
  display: flex;
  align-items: center;
  justify-content: center;
}


.l-header-drawer__area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-header-drawer__area a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background-color: #f9f9f9;
  color: #3c3c3c;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}
.dropdown-memu__wrapper {
  position: absolute;
  width: 100%;
  top: 40px;
  height: 100%;
  padding-bottom: 50px;
  z-index: 2;
}
@media screen and (max-width: 959px) {
  .dropdown-memu__wrapper {
    display: none;
  }
}
.dropdown-memu {
  display: none;
  top: 1.85em;
  grid-template-columns: 1fr 1fr;
  gap: 0 4px;
  border-radius: 6px;
  box-shadow: 3px 3px 0px 0px rgba(0,0,0,0.1);
  padding: 0.7em .7em;
}
@media screen and (min-width: 768px) {
}
@media screen and (min-width: 960px) {
  .l-header-drawer {
    display: none;
  }
  .l-header__gnav__item:has(.dropdown-memu):hover .dropdown-memu {
    display: grid;
  }
  .dropdown-memu {
    top: 1.85em;
  }
  .dropdown-memu li a {
    color: #3c3c3c;
    padding: 10px 0 8px;
    background: #f9f9f9;
  }
  .dropdown-memu li a:hover {
    color: #0075BE;
  }

}

@media screen and (max-width: 374px) {
  .l-header-drawer__panel {
    padding-right: 30px;
    padding-left: 30px;

  }
}

.l-header__search input[type="text"] {
  font-size: 12px;
  font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","BIZ UDPGothic",Meiryo,sans-serif;
  width: calc(100% - 60px);
  font-weight: bold;
  padding-left: 1em;
  color: #a9a9a9;
}
