@charset "UTF-8";


/*---------------------------------------------------------------*\
$header menu
\*---------------------------------------------------------------*/

.header_menu {
  position: relative;
  width: 100%;
}

/* upper */
.header_menu .upper_content {
  height: 80px;
  padding: 0 0 0 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header_menu .logo {
  width: 90px;
}

.header_menu .logo img {
  width: 100%;
}

/* middle */
.header_menu .middle_content {
  display: flex;
  flex-wrap: wrap;
}

.header_menu .each_menu {
  width: calc((100%/3));
  height: 220px;
  position: relative;
  border-top: solid 1px rgba(0, 0, 0, .1);
  border-right: solid 1px rgba(0, 0, 0, .1);
}

.header_menu .each_menu:last-child {
  border-right: none;
  width: 100%;
}

.header_menu .each_menu>a {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header_menu .number {
  font-size: 10px;
  position: absolute;
  top: 10px;
  left: 10px;
  color: #888;
}

.header_menu .title_en {
  font-size: 12px;
}

.header_menu .title_jp {
  font-size: 16px;
  margin: 10px 0 0 0;
}

/* bottom */
.header_menu .bottom_content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 24px 16px;
  border-top: solid 1px rgba(0, 0, 0, .1);
}

.header_menu .copyright {
  font-size: 12px;
}


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

  /* upper */
  .header_menu .upper_content {
    padding: 0 16px;
  }

  .header_menu .each_menu {
    width: calc((100%/2));
    height: 180px;
  }
}


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

  /* upper */
  .header_menu .upper_content {
    height: 64px;
    padding: 0 20px;
  }

  .header_menu .logo {
    width: 90px;
  }

  .header_menu .modal__close {
    width: 64px;
    height: 64px;
  }

  /* middle */
  .header_menu .each_menu {
    height: 110px;
  }

  .header_menu .number {
    scale: .7;
    top: 6px;
    left: 6px;
  }

  .header_menu .title_en {
    font-size: 10px;
  }

  .header_menu .title_jp {
    font-size: 14px;
  }

  .header_menu .copyright {
    font-size: 10px;
  }
}


/* header menu - modal settings */
.header_menu .modal__overlay {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, .7);
  z-index: 100;
}

.header_menu .modal__container {
  width: 88%;
  max-width: 960px;
  max-height: auto;
  z-index: 200;
  position: relative;
  overflow: hidden;
}

.header_menu .modal__content {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header_menu .micromodal-slide[aria-hidden="false"] .modal__close {
  animation: fadeIn;
  animation-delay: 0.5s;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

.modal__close {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  border-left: solid 1px rgba(0, 0, 0, .1);
  right: 0;
  cursor: pointer;
  position: absolute;
  top: 0;
}

.square_btn {
  display: block;
  position: relative;
  width: 11px;
  height: 11px;
}

.square_btn::before, .square_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.5px;
  /* 棒の幅（太さ） */
  height: 16px;
  /* 棒の高さ */
  background-color: #000;
  /* バツ印の色 */
}

.square_btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.square_btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.micromodal-slide {
  visibility: hidden;
}

.micromodal-slide.is-open {
  visibility: visible;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn 0.4s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut 0.4s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn 0.4s cubic-bezier(0.73, 0.26, 0.25, 1.62);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut 0.4s cubic-bezier(.37, .41, .04, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}


/* animation */
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes mmslideIn {
  from {
    opacity: 0;
    transform: scale(1);
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes mmslideOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1);
  }
}


/*---------------------------------------------------------------*\
$header 
\*---------------------------------------------------------------*/

header {
  padding: 0 3%;
  margin: 0 auto;
  position: fixed;
  right: 0;
  left: 0;
  margin: auto;
  z-index: 2;
}

/* logo */
header .logo_header {
  width: 120px;
  height: 100px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header .menu_header {
  border-radius: 80px;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

/* PC main menu */
header .main_menu_pc {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 0 0 32px;
}

header .main_menu_pc li a {
  font-size: 14px;
  position: relative;
}

/* contact */
header .main_menu_pc .contact {
  width: 170px;
  height: 56px;
}

header .main_menu_pc .contact a {
  width: 100%;
  height: 100%;
  font-size: 14px;
  -webkit-transition: all .15s;
  transition: all .15s;
  transition: opacity .1s, transform .1s;

  &:hover {
    opacity: .9;
  }

  &:active {
    transform: scale(.9);
  }
}

/* SP main menu */
header .menu_header_sp {
  display: none;
}


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

  header .logo_header {
    height: 100px;
  }

  header .main_menu_pc {
    display: none;
  }

  header .menu_header_sp {
    display: flex;
    margin: auto;
    gap: 6px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    cursor: pointer;
  }

  header .menu_header_sp .dots {
    gap: 3px;
  }

  header .menu_header_sp .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #000;
  }

  header .menu_header_sp .text {
    font-size: 10px;
  }
}


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

  header.logo_header {
    width: 90px;
    height: 72px;
  }

  header .menu_header_sp {
    width: 48px;
    height: 48px;
    gap: 4px;
  }

  header .menu_header_sp .text {
    scale: .7;
  }
}