/*!***************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scss/header.scss ***!
  \***************************************************************************************************************/
@charset "UTF-8";
/**
* @mixin heightControl
* @param {Number} $height - 高さの値（デフォルトは100）
* 
* ビューポートの高さに基づいて要素の高さを設定します。
* モバイルブラウザの動的なビューポート高さに対応するためにdvh単位を使用します。
*/
.header {
  position: sticky;
  z-index: 9000;
  top: 0;
  left: 0;
  width: 100vw;
}
.header.home {
  position: fixed;
}
.header__inner {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 0;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.6s ease;
}
.header__inner::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0);
  transition: background-color 0.6s ease;
}
.header__inner.open::after, .header__inner.scrolled::after {
  background-color: var(--fd-white);
}
.header__inner.shadow {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}
@media (max-width: 1023.99px) {
  .header.home .header__inner::after {
    background-color: var(--fd-white);
  }
}
.header__logo-image {
  display: block;
  width: auto;
  height: 20px;
}
.header__menu-toggle {
  color: var(--fd-dark-gray);
  font-size: 16px;
  font-weight: bold;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  line-height: 1;
}
@media (min-width: 1024px) {
  .header__menu-toggle {
    display: none !important;
    visibility: hidden;
    height: 0;
    overflow: hidden;
  }
}
.header__menu-icons {
  width: 15px;
  height: 15px;
  position: relative;
  z-index: 0;
  margin-right: 5px;
}
.header__menu-icon {
  display: block;
  width: 15px;
  height: 3px;
  background: var(--fd-dark-blue);
  position: absolute;
  z-index: 0;
}
.header__menu-icon--first {
  top: 0;
  left: 0;
}
.header__menu-icon--second {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.header__menu-icon--third {
  bottom: 0;
  left: 0;
}
@media not all and (min-width: 1024px) {
  .header__nav {
    position: absolute;
    z-index: -10;
    top: 0;
    left: 0;
    width: 100vw;
    height: 0;
    overflow: hidden;
    padding-top: 0;
    background: var(--fd-dark-blue);
    transition: height 0.3s ease, padding-top 0.3s ease;
  }
  .header__nav.open {
    padding-top: 90px;
    height: 100dvh;
  }
  .header__nav-list {
    width: 225px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .header__nav .menu-item {
    position: relative;
    z-index: 0;
    line-height: 1;
  }
  .header__nav .menu-item a {
    color: var(--fd-light-gray);
  }
  .header__nav .menu-item.current-menu-item::before {
    content: "";
    display: block;
    width: 5px;
    height: 16px;
    background: var(--fd-light-gray);
    position: absolute;
    z-index: 1;
    top: 50%;
    left: -10px;
    transform: translate(-100%, -50%);
  }
}
@media (hover: hover) {
  .header__nav .menu-item {
    transform: scale(1);
    transition: transform 0.3s ease;
  }
  .header__nav .menu-item:hover {
    transform: scale(1.05);
  }
}
.header__nav-extras {
  margin: 25px auto 0;
  padding: 25px 0 0;
  border-top: solid 1px var(--fd-light-gray);
  width: 225px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
@media (min-width: 1024px) {
  .header__nav-extras {
    display: none !important;
    visibility: hidden;
    height: 0;
    overflow: hidden;
  }
}

@media (min-width: 1024px) {
  .header {
    top: 40px;
    transition: top 0.6s ease, filter 0.3s ease;
  }
  .header.scrolled, .header.shadow {
    top: 0;
  }
  .header.scrolled .header__nav, .header.shadow .header__nav {
    filter: drop-shadow(0 0 5px rgba(15, 27, 58, 0.5333333333));
  }
  .header__inner {
    padding: 20px 40px;
    height: auto;
  }
  .header__inner::after {
    background: rgba(255, 255, 255, 0);
  }
  .header__inner.scrolled .header__nav .menu-item a, .header__inner.shadow .header__nav .menu-item a {
    color: var(--fd-dark-blue);
  }
  .header__logo-image {
    height: 30px;
  }
  .header.home .header__logo img {
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.2));
  }
  .header__nav {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0)) !important;
  }
  .header__nav-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    align-items: center;
  }
  .header__nav-list .menu-item {
    line-height: 1;
  }
  .header__nav-list .menu-item a {
    font-weight: bold;
    color: var(--fd-light-gray);
    transition: color 0.3s ease;
  }
  .header__nav-list.sub a {
    color: var(--fd-dark-blue);
  }
}
@media (min-width: 1280px) {
  .header__nav-list {
    gap: 40px;
  }
}
.wrapper.sub {
  position: relative;
  z-index: 0;
}
.wrapper.sub::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  width: 51vw;
  height: 51vw;
  background: linear-gradient(135deg, var(--fd-light-blue) 0%, var(--fd-dark-blue) 100%);
  clip-path: polygon(0% 0%, 20% 0%, 100% 80%, 100% 100%);
  transition: clip-path 0.6s ease;
}
@media (min-width: 1024px) {
  .wrapper.sub::before {
    clip-path: polygon(0% 0%, 80px 0%, 100% calc(100% - 80px), 100% 100%);
  }
}
@media (min-width: 1280px) {
  .wrapper.sub::before {
    clip-path: polygon(0% 0%, 100px 0%, 100% calc(100% - 100px), 100% 100%);
  }
}
#particles-js {
  position: fixed;
  z-index: -10;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}
