@charset "utf-8";



.header {
  position: fixed;
  background-color: #000000;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: var(--default);
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(0.375rem, 0.299rem + 0.32vw, 0.688rem);
  background-color: #C10500;
}

.header.hide {
  transform: translateY(-100%);
}





.header .inner {
  padding: 23px 2% 16px 5%;
  display: flex;
  align-items: center;
  gap: 40px;

}

.header .h_menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  justify-content: flex-end;
}

.header .h_menu a,
.header .h_menu .parentlink>a {
  display: block;
  padding: 0 24px;
  border-right: 1px solid #FFF;
}

.header .h_menu>a:first-child {
  padding-left: 0;
}

.header .h_menu .tit-ja {
  font-weight: 400;
  font-size: clamp(0.875rem, 0.125rem + 0.94vw, 1.25rem);
  text-align: center;
  color: #fff;
}

.header .h_menu .tit-en {
  font-weight: 400;
  font-size: clamp(0.75rem, 0.5rem + 0.31vw, 0.875rem);
  text-align: center;
  color: #c10500;
}

.header.scroll-header .h_menu,
.header.has-fv .h_menu {
  color: #1f1f1f;
}

.header .h_menu .parentlink {
  position: relative;
}

.header .h_menu .parentlink::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 16px;
}

.header .h_menu .parentlink>a {

  gap: 5px;

}



.header .h_menu .childlink {
  position: absolute;
  left: 0;
  top: calc(100% + 16px);
  width: 213px;
  pointer-events: none;
}



.header .h_menu .parentlink .childlink a {
  clip-path: inset(0 100% 0 0);
  transition: .4s ease;
}

.header .h_menu .parentlink:hover .childlink a {
  clip-path: inset(0 0 0 0);
  pointer-events: auto;
}

.header .h_menu .parentlink:hover .childlink>a:nth-child(1) {
  transition-delay: 0.05s;
}

.header .h_menu .parentlink:hover .childlink>a:nth-child(2) {
  transition-delay: 0.15s;
}

.header .h_menu .parentlink:hover .childlink>a:nth-child(3) {
  transition-delay: 0.25s;
}

.header .h_menu .parentlink:hover .childlink>a:nth-child(4) {
  transition-delay: 0.35s;
}

.header .h_menu .childlink>a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 0;
  background-color: #FFF;
}

.header .h_menu .childlink .tit-ja {
  font-weight: 400;
  font-size: 14px;
  color: #000;
}

.header .h_menu .childlink>a:first-child {
  padding-top: 20px;
}


.header .contact-link {
  width: 36%;
  max-width: 297px;
  background-color: #C10500;
  border-radius: 3px;
}

.header .contact-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  padding: 10px 0;
}

.header .contact-link a p {
  font-weight: 500;
  font-size: clamp(0.5rem, 0.348rem + 0.65vw, 1.125rem);
  color: #fff;
}

.header .contact-link .arrow {
  width: clamp(0.438rem, 0.362rem + 0.32vw, 0.75rem);
  height: auto;
}




.h_logo {
  max-width: 235px;
  width: 26%;
  z-index: 99;
}

.h_logo img {
  width: 100%;
  height: auto;
}

.hamburger,
.navigation {
  display: none;
}




@media (max-width: 1280px) {
  .header .inner {
    gap: 20px;
    width: 95%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }

  .header .h_menu .tit-ja {
    font-size: 13px;
  }

  .header .h_menu a,
  .header .h_menu .parentlink>a {
    padding: 0 15px;
  }
}

@media (max-width: 1023px) {
  .header .contact-link {
    margin-left: auto;
  }


  .header .h_menu {
    display: none;
  }

  .header .contact-link {
    width: 28%;
  }



  .hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 21px;
    height: 15px;
    cursor: pointer;
    z-index: 100;
    position: relative;
  }

  .hamburger .line {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 1px;
    background-color: #fff;
    transition: var(--default);
  }

  .hamburger .line1 {
    top: 0;
  }

  .hamburger .line2 {
    top: 7px;
  }

  .hamburger .line3 {
    top: 15px;
  }

  .hamburger.active .line1 {
    top: 10px;
    transform: rotate(45deg);
  }

  .hamburger.active .line2 {
    opacity: 0;
  }

  .hamburger.active .line3 {
    top: 10px;
    transform: rotate(-45deg);
  }


  .navigation .menu-inner {
    padding: 16px 0 40px;
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }

  .navigation a {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #cecece;
    padding: 24px 0;
  }

  .navigation .parent-item>a {
    padding: 0;
    border-bottom: none;
  }

  .navigation .tit-ja {
    font-weight: 400;
    font-size: 20px;
    text-align: center;
    color: #000;
  }

  .navigation .tit-en {
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: #c10500;
  }



  .navigation {
    display: block;
    position: absolute;
    pointer-events: none;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    transition: all 0.8s;
    overflow: auto;
    background-color: #FFF;
    height: calc(100dvh - var(--header-height));
  }


  .parentlink {
    padding: 0;
    border-bottom: 1px solid #cecece;
  }

  .parentlink .childlink {

    max-height: 0;

    overflow: hidden;

    opacity: 0;

    visibility: hidden;

    transition:

      max-height 0.5s ease,

      opacity 0.35s ease,

      visibility 0.35s ease;

  }

  .parentlink.is-open .childlink {

    max-height: 1000px;

    opacity: 1;

    visibility: visible;

  }

  .parentlink .parent-item .arrow {

    transition: transform 0.35s ease;

  }

  .parentlink.is-open .parent-item .arrow {

    transform: rotate(180deg);

  }

  .parent-item {
    padding: 24px 0 8px;
    position: relative;
  }

  .parent-item .arrow {
    position: absolute;
    width: 22px;
    aspect-ratio: 1/1;
    top: 28px;
    right: 15%;
  }

  .childlink a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 12px;
    border-bottom: none;
    padding: 10px 0;
  }

  .childlink a:last-child {
    padding-bottom: 30px;
  }

  .navigation.active {
    right: 0;
    pointer-events: all;
  }
}

@media (max-width: 767px) {
  .header .inner {
    padding: 12px 0 5px;
  }

  .h_logo {
    max-width: 105px;
    width: 100%;
  }

  .header .contact-link {
    width: 39%;
  }






}





/* 管理画面用 */

.gjs-dashed .fixed-menu {
  top: 100px;
}


.gjs-dashed .navigation {
  right: 0;
  top: 200px;
  pointer-events: all;
}

.gjs-dashed .header .h_menu .parentlink .childlink a {
  clip-path: inset(0 0 0 0);
}