@charset "UTF-8";
.menu_t1 {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Helvetica, "MS Pゴシック", "MS PGothic", sans-serif;
}

@media screen and (max-width: 800px) {
  .menu_t1 {
    border-top: solid 1px #D3D3D3;
  }
}

@media print, screen and (min-width: 801px) {
  .menu_t1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.menu_t1, .menu_t1 a {
  color: #333333;
  text-decoration: none;
}

.menu_t1 a:hover, .menu_t1 a:focus {
  text-decoration: underline;
}

.menu_t1 img {
  vertical-align: bottom;
}

@media print, screen and (min-width: 801px) {
  .menu_t1-item {
    width: 20.83333%;
    margin-left: 5.55556%;
    position: relative;
  }
  .menu_t1-item:nth-of-type(4n+1) {
    margin-left: 0;
  }
}

.menu_t1-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

@media screen and (max-width: 800px) {
  .menu_t1-label {
    font-size: 15px;
    border-bottom: solid 1px #D3D3D3;
  }
}

@media print, screen and (min-width: 801px) {
  .menu_t1-label {
    font-size: 13px;
    border-bottom: 1px solid #ececec;
  }
}

.menu_t1-label::after {
  content: '';
  width: 20px;
  height: 12px;
  text-align: center;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
 /* 矢印URL */
  background-image: url("https://spopia.itembox.design/item/images/accordion_menu/ic-angle-down-gray.svg");
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (max-width: 800px) {
  .menu_t1-label::after {
    right: 10px;
  }
}

@media print, screen and (min-width: 801px) {
  .menu_t1-label::after {
    right: 0;
  }
}

.menu_t1-item.on .menu_t1-label {
  color: #0053a5;
}

.menu_t1-item.on .menu_t1-label::after {
  /* ON時 矢印URL */
  background-image: url("https://spopia.itembox.design/item/images/accordion_menu/ic-angle-down-blue.svg");
}

@media screen and (max-width: 800px) {
  .menu_t1-thumbnail {
    width: 38px;
    margin-left: 5px;
  }
}

@media print, screen and (min-width: 801px) {
  .menu_t1-thumbnail {
    width: 50px;
  }
}

.menu_t1-thumbnail img {
  width: 100%;
}

@media screen and (max-width: 800px) {
  .menu_t1-thumbnail img {
    margin: 5px 0;
  }
}

@media print, screen and (min-width: 801px) {
  .menu_t1-thumbnail img {
    margin: 10px 0;
  }
}

.menu_t1-name {
  padding: 0 20px 0 10px;
}

@media screen and (max-width: 800px) {
  .menu_t1-name {
    width: calc(100% - 50px);
  }
}

@media print, screen and (min-width: 801px) {
  .menu_t1-name {
    width: calc(100% - 50px);
  }
}

@media print, screen and (min-width: 801px) {
  .menu_t1-label:hover, .menu_t1-label:focus {
    opacity: 0.8;
  }
}

/* サブメニュー */
.sub_menu {
  max-height: 0;
  background-color: #fff;
  z-index: -1;
  overflow: hidden;
  visibility: hidden;
  transition: 0.4s;
  /* 2列目・3列目のサブメニュー 位置 */
  /* 4列目のサブメニュー 位置 */
  /* オープン時 */
}

@media print, screen and (min-width: 801px) {
  .sub_menu {
    margin-top: -1px;
    position: absolute;
    opacity: 0;
  }
}

@media print, screen and (min-width: 801px) {
  .sub_menu-inner {
    display: flex;
    justify-content: flex-start;
    padding: 30px 20px;
    border: 1px solid #ececec;
  }
}

.sub_menu.o-1col {
  width: 100%;
}

@media print, screen and (min-width: 801px) {
  .sub_menu.o-2col {
    width: 200%;
  }
}

@media print, screen and (min-width: 801px) {
  .sub_menu.o-3col {
    width: 300%;
  }
}

@media print, screen and (min-width: 801px) {
  .sub_menu.o-2col .sub_menu-inner .sub_menu-col {
    width: 50%;
  }
}

@media print, screen and (min-width: 801px) {
  .sub_menu.o-3col .sub_menu-inner .sub_menu-col {
    width: 33.33333%;
  }
}

.sub_menu ul {
  padding: 0;
  list-style: none;
}

@media screen and (max-width: 800px) {
  .sub_menu ul {
    margin: 0;
    font-size: 14px;
  }
}

@media print, screen and (min-width: 801px) {
  .sub_menu ul {
    margin: 1em;
    font-size: 12px;
  }
}

@media screen and (max-width: 800px) {
  .sub_menu ul > li {
    border-bottom: solid 1px #D3D3D3;
    background-color: #f5f4f5;
  }
}

@media print, screen and (min-width: 801px) {
  .sub_menu ul > li {
    margin: 10px 0;
  }
}

@media screen and (max-width: 800px) {
  .sub_menu ul > li a {
    padding: 10px 10px 10px 20px;
    display: block;
    position: relative;
  }
  .sub_menu ul > li a::after {
    content: '>';
    color: #0053a5;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
  }
  .sub_menu ul > li a:hover, .sub_menu ul > li a:focus {
    text-decoration: none;
  }
}

@media print, screen and (min-width: 801px) {
  .sub_menu ul > li a {
    font-size: 13px;
  }
}

@media print, screen and (min-width: 801px) {
  .menu_t1-item:nth-of-type(4n+3) .sub_menu {
    right: 0;
  }
}

@media print, screen and (min-width: 801px) {
  .menu_t1-item:nth-of-type(4n+2) .sub_menu.o-2col, .menu_t1-item:nth-of-type(4n+2) .sub_menu.o-3col,
  .menu_t1-item:nth-of-type(4n+3) .sub_menu.o-2col,
  .menu_t1-item:nth-of-type(4n+3) .sub_menu.o-3col {
    left: 50%;
    transform: translateX(-50%);
  }
}

.menu_t1-item:nth-of-type(4n) .sub_menu {
  right: 0;
}

@media screen and (max-width: 800px) {
  .menu_t1-item.on .sub_menu {
    max-height: 2000px;
    visibility: visible;
    z-index: 100;
  }
}

@media print, screen and (min-width: 801px) {
  .menu_t1-item.on .sub_menu {
    max-height: 500px;
    visibility: visible;
    z-index: 100;
    opacity: 1;
  }
}
