@charset "utf-8";

.modal_menu {
  box-sizing: border-box;
  display: none;
  width: 100%;
  height: 100%;
  padding-top: 56px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 996;
  background-color: #fff;
  animation: fadeIn 0.15s ease;
}
.modal_menu_wrapper {
  overflow: scroll;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  height: calc(100% - 56px);
  padding: 40px 32px;
}
.modal_menu_inner_wrapper_left {
  width: 55%;
}
.modal_menu_inner_wrapper_right {
  width: 45%;
}
.modal_menu_inner_wrapper_bottom {
  width: 100%;
  margin-top: 32px;
}
.modal_menu_list {
  margin-top: 32px;
}
.modal_menu_list:first-child {
  margin-top: 0;
}
.modal_menu_list_item_link {
  font-size: 15px;
  line-height: 34px;
  white-space: nowrap;
}
.modal_menu_list_item_link.bold {
  margin-bottom: 4px;
  font-weight: 700;
}
.modal_menu_list_item_link.product {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 700;
}
.modal_menu_list_item_link_img {
  width: 22px;
  height: auto;
  margin-right: 12px;
}
.modal_menu_list_item_link_text {
  position: relative;
}
.modal_menu_list_item_link_text:after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: -2px;
  left: 0;
  background-color: #182127;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.15s ease;
}
.modal_menu_list_item_link.product .modal_menu_list_item_link_text:after {
  bottom: 5px;
}
.modal_menu_footer {
  width: 100%;
  height: 56px;
  background-color: #0e1a25;
}
.modal_menu_footer_wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 32px;
}
.modal_menu_footer_sns {
  display: flex;
  align-items: center;
}
.modal_menu_footer_sns_link {
  margin-right: 16px;
  transition: opacity 0.15s ease;
}
.modal_menu_footer_sns_link:last-child {
  margin-right: 0;
}
.modal_menu_footer_sns_link_img {
  width: 20px;
  height: auto;
}
.modal_menu_footer .lang_switch {
  margin-left: auto;
}
.modal_menu_footer .lang_switch_btn {
  box-sizing: border-box;
  justify-content: space-between;
  width: 148px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: border 0.15s ease;
}
.modal_menu_footer .lang_switch_btn_text {
  color: #fff;
}
.modal_menu_footer .lang_switch_btn_arrow::after,
.modal_menu_footer .lang_switch_btn_arrow::before {
  background-color: #fff;
}
.modal_menu_footer .lang_switch_list {
  bottom: 44px;
  right: 0;
  animation: fadeInUp 0.15s ease;
}
@media screen and (max-width: 1040px) {
  .modal_menu.active {
    display: block;
  }
}
@media screen and (min-width: 641px) {
  .modal_menu_list_item:hover .modal_menu_list_item_link_text:after {
    transform: none;
  }
  .modal_menu_footer_sns_link:hover {
    opacity: 0.6;
  }
  .modal_menu_footer .lang_switch_btn:hover {
    border: 1px solid rgba(255, 255, 255, 1);
    opacity: 1;
  }
}

@media screen and (max-width: 640px) {
  .modal_menu_list_item_link {
    font-size: 14px;
  }
  .modal_menu_wrapper {
    padding: 32px 20px;
  }
  .modal_menu_footer_wrapper {
    padding: 0 20px;
  }
}

@media screen and (max-width: 360px) {
  .modal_menu_inner_wrapper_left {
    order: 2;
    width: 100%;
  }
  .modal_menu_inner_wrapper_right {
    order: 1;
    width: 100%;
    margin-bottom: 32px;
  }
  .modal_menu_inner_wrapper_bottom {
    order: 3;
  }
}

@media screen and (max-width: 340px) {
  .modal_menu_footer_sns_link {
    margin-right: 14px;
  }
  .modal_menu_footer_sns_link_img {
    width: 18px;
  }
}

@keyframes fadeIn {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}
