@charset "UTF-8";
:root {
  --inner-scale: 1;
  --vw-base: calc(1440 / var(--inner-scale));
  --inner: 1280;
  --inner-1305: 1305;
  --fz-ratio: 1; /* font-size倍率 */
}
@media screen and (max-width: 1024px) {
  :root {
    --inner-scale: calc(0.9 / (1280 / 1440));
    --fz-ratio: 1.57;
  }
}
@media screen and (max-width: 767px) {
  :root {
    --vw-base: 375;
    --inner-scale: 1;
    --inner: 343;
    --fz-ratio: 1;
  }
}

/*------------------------------
header
------------------------------*/
header {
  padding: min( 9 * 100vw / var(--vw-base) , 9/var(--vw-base) * 1440px ) min( 5 * 100vw / var(--vw-base) , 5/var(--vw-base) * 1440px );
  top: 0;
  left: 0;
  width: 100%;
  transition: background 0.3s;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3000;
  background: #1F1D1D;
  background: #E8E8E8;
}
@media screen and (max-width: 1024px) {
  header {
    padding: min( 10 * 100vw / var(--vw-base) , 10/var(--vw-base) * 1440px ) 0;
  }
}

@media (min-width: 768px) {
  .header__inner {
    width: 100%;
    padding: 0 0;
    transition: background 0.3s;
    background: transparent;
  }
}
@media screen and (max-width: 1024px) {
  .header__inner {
    padding: 2.6666666667vw;
    transition: background 0.3s;
    background: transparent;
  }
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  width: min( 375 * 100vw / var(--vw-base) , 375/var(--vw-base) * 1440px );
}
@media screen and (max-width: 1024px) {
  .header__logo {
    width: 40vw;
  }
}
@media (max-width: 767px) {
  .header__logo {
    width: min( 250 * 100vw / var(--vw-base) , 250/var(--vw-base) * 1440px );
  }
}

.header__nav {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 1024px) {
  .header__nav {
    display: none;
  }
}

.header__menu {
  display: flex;
}
.header__menu li {
  position: relative;
}
.header__menu li:nth-child(n+2) {
  margin-left: min( 40 * 100vw / var(--vw-base) , 40/var(--vw-base) * 1440px );
  position: relative;
}
.header__menu li:nth-child(n+2)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(min( 40 * 100vw / var(--vw-base) , 40/var(--vw-base) * 1440px ) * -1);
  transform: translateY(-50%) rotate(135deg);
  background: #1D2088;
  width: min( 40 * 100vw / var(--vw-base) , 40/var(--vw-base) * 1440px );
  height: min( 1 * 100vw / var(--vw-base) , 1/var(--vw-base) * 1440px );
}
.header__menu li a {
  display: inline-block;
  font-size: min( (16 * 100vw / var(--vw-base)) * var(--fz-ratio) , 16/var(--vw-base) * 1440px );
  font-weight: 600;
  line-height: normal;
  color: #1D2088;
  padding: 1em;
}
@media screen and (max-width: 1024px) {
  .header__menu li a {
    padding: 0 0.5em;
  }
}

.header__submenu[class][class] {
  position: absolute;
  top: 115%;
  left: 50%;
  transform: translate(-50%, 0%);
  font-size: min( (14 * 100vw / var(--vw-base)) * var(--fz-ratio) , 14/var(--vw-base) * 1440px );
  background: #fff;
  padding: 1em;
  width: min( 210 * 100vw / var(--vw-base) , 210/var(--vw-base) * 1440px );
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  min-width: min( 180 * 100vw / var(--vw-base) , 180/var(--vw-base) * 1440px );
}
.header__submenu[class][class] a {
  font-size: min( (14 * 100vw / var(--vw-base)) * var(--fz-ratio) , 14/var(--vw-base) * 1440px );
  padding: 0;
  display: block;
  font-weight: 500;
}
.header__submenu[class][class] a:nth-child(n+2) {
  margin-top: 1.9em;
}
.header__submenu[class][class] a:not(:last-child) {
  border-bottom: 1px solid #C9C9C9;
}
@media screen and (min-width: 1025px) {
  .header__submenu[class][class] {
    padding: 0;
  }
  .header__submenu[class][class] a {
    color: #1D2088;
    padding: 0.9em 1em;
  }
  .header__submenu[class][class] a:nth-child(n+2) {
    margin-top: 0;
  }
  .header__submenu[class][class]:not(.act) {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  .header__submenu[class][class] {
    position: relative;
    top: unset;
    left: unset;
    transform: unset;
    width: 100%;
    background: transparent;
    font-size: 3.7333333333vw;
  }
  .header__submenu[class][class] a {
    font-size: 3.7333333333vw;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #C9C9C9;
  }
}

.header__contact {
  margin-left: min( 20 * 100vw / var(--vw-base) , 20/var(--vw-base) * 1440px );
}
.header__contact a {
  display: inline-block;
  font-size: min( (16 * 100vw / var(--vw-base)) * var(--fz-ratio) , 16/var(--vw-base) * 1440px );
  font-weight: 600;
  line-height: normal;
  color: #1D2088;
  background: #fff;
  border-radius: 50px;
  padding: 0.875em 3.125em;
}
@media (min-width: 768px) {
  .header__contact a {
    background: linear-gradient(84.2deg, #1D2088 18.18%, #4DC9E6 96.68%);
    color: #fff;
  }
}

.drawer-icon {
  z-index: 300;
  display: none;
  transition: transform 0.5s ease 0s;
  cursor: pointer;
}
@media screen and (max-width: 1024px) {
  .drawer-icon {
    display: block;
  }
}
.drawer-icon.is-active .drawer-icon__bar1 {
  transform: translateY(-50%) rotate(-45deg);
  top: 50%;
  background: #000;
}
.drawer-icon.is-active .drawer-icon__bar2 {
  display: none;
}
.drawer-icon.is-active .drawer-icon__bar3 {
  transform: translateY(-50%) rotate(45deg);
  top: 50%;
  background: #000;
}

.drawer-icon__bars {
  width: 5.8666666667vw;
  aspect-ratio: 22/20;
  display: block;
  position: relative;
  z-index: 400;
}
@media (max-width: 1024px) and (min-width: 768px) {
  .drawer-icon__bars {
    width: 3.7333333333vw;
  }
}

.drawer-icon__bar1,
.drawer-icon__bar2,
.drawer-icon__bar3 {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #1D2088;
  top: 0;
  left: 0;
}

.drawer-icon__bar1 {
  top: 0;
  transition: transform 0.3s;
}

.drawer-icon__bar2 {
  top: 50%;
  transform: translateY(-50%);
}

.drawer-icon__bar3 {
  top: 100%;
  transition: transform 0.3s;
  transform: translateY(-100%);
}

.drawer-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  background: #fff;
  padding: 13.3333333333vw 5.3333333333vw;
  z-index: 299;
  transform: translateX(105%);
  transition: transform 0.5s ease 0s;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain; /* scroll伝番防止 */
}
.drawer-content.is-active {
  transform: translateX(0);
}
@media screen and (min-width: 1025px) {
  .drawer-content {
    display: none;
  }
}

.drawer-menu li:nth-child(n+2) {
  margin-top: min( 25 * 100vw / var(--vw-base) , 25/var(--vw-base) * 1440px );
}
.drawer-menu li a {
  display: block;
  font-size: 4.2666666667vw;
  font-weight: 500;
  line-height: normal;
  color: #1F1D1D;
}

.drawer-contact {
  margin-top: min( 30 * 100vw / var(--vw-base) , 30/var(--vw-base) * 1440px );
}
.drawer-contact a {
  display: inline-block;
  font-size: 4.2666666667vw;
  font-weight: 600;
  line-height: normal;
  color: #1D2088;
  background: #fff;
  border: 1px solid #1D2088;
  border-radius: 13.3333333333vw;
  padding: 0.875em 3.125em;
}
/*# sourceMappingURL=header.css.map */