/* バブルアニメーション */
.clip {
  clip-path: border-box;
  position: absolute;
  inset: 0;
  z-index: -1;
}
.bg_bubbles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.bg_bubble {
  position: absolute;
  opacity: 0.6;
  will-change: transform;
}

.bg_bubble img {
  display: block;
  width: 100%;
  height: auto;
}

/* 各バブルのサイズ設定 */
.bg_bubble1 img {
  width: 600px;
  height: auto;
}

.bg_bubble2 img {
  width: 850px;
  height: auto;
}

.bg_bubble3 img {
  width: 500px;
  height: auto;
}

.bg_bubble4 img {
  width: 1000px;
  height: auto;
}

/* 各バブルに異なるアニメーションを適用 */
.bg_bubble1 {
  top: 5%;
  left: 2%;
  animation: float1 20s ease-in-out infinite;
}

.bg_bubble2 {
  top: 70%;
  right: 5%;
  animation: float2 25s ease-in-out infinite;
}

.bg_bubble3 {
  bottom: 10%;
  left: 8%;
  animation: float3 30s ease-in-out infinite;
}

.bg_bubble4 {
  top: 40%;
  right: 3%;
  animation: float4 22s ease-in-out infinite;
}

@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(120px, -150px) rotate(5deg);
  }

  50% {
    transform: translate(-80px, -200px) rotate(-3deg);
  }

  75% {
    transform: translate(150px, -120px) rotate(4deg);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(-180px, 120px) rotate(-4deg);
  }

  66% {
    transform: translate(140px, -180px) rotate(6deg);
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(160px, 180px) rotate(3deg);
  }

  50% {
    transform: translate(-120px, 130px) rotate(-5deg);
  }

  75% {
    transform: translate(100px, -150px) rotate(4deg);
  }
}

@keyframes float4 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  30% {
    transform: translate(-150px, -130px) rotate(-3deg);
  }

  60% {
    transform: translate(170px, 160px) rotate(5deg);
  }
}

.on480 {
  display: none;
}
@media screen and (max-width: 480px) {
  .on480 {
    display: block;
  }
  .off480 {
    display: none;
  }
}
.container {
  max-width: 1600px;
  width: calc(1160 / 1366 * 100%);
  margin-inline: auto;
}
@media screen and (max-width: 1024px) {
  .container {
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media screen and (max-width: 480px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

main {
  overflow: hidden;
}
main.has_wh {
  padding-top: 98px;
}
@media screen and (max-width: 480px) {
  main.has_wh {
    padding-top: 56px;
  }
}
.l-header.fixed-header {
  border-radius: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  top: 0 !important;
  padding: 25px 0;
  transition: all 0.3s ease;
}
.l-header.fixed-header .p-header {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 40px;
  padding-top: 0;
  background-color: transparent;
}

.body-wrapper:not(.page-7) .l-header.fixed-header.change-color {
  background-color: rgb(255, 255, 255);
}

.c-wrapper {
  width: 100%;
  max-width: 100%;
}

.header_right {
  display: flex;
  align-items: center;
  gap: 26px;
}

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

.p-header__nav {
  margin-top: 0;
  margin-right: 0 !important;
  ul {
    gap: 0;
    background-color: transparent;
    border-radius: 0;
    padding-top: 0;
  }
}

.p-header__nav2 {
  flex: 1;
  position: static;
}
.p-header__nav2 ul li {
  width: 100% !important;
}
.p-header__nav2 ul li a {
  padding: 0 14px !important;
  height: 48px;
  color: #fff;
  border-radius: 4px !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none !important;
}
.p-header__nav2 ul li a span {
  font-size: 12px;
}
.p-header__nav2 ul li a img {
  width: 11px;
}

.p-header__nav ul li {
  margin-right: 3.3333333333vw;
}
@media (min-width: 1367px) {
  .p-header__nav ul li {
    margin-right: 48px;
  }
}
.p-header__nav ul li:hover a:before {
  transform: translateY(-50%) rotate(180deg);
}

.p-header__nav ul li a {
  padding-bottom: 0;
  font-size: 14px;
}

.p-header__nav ul li a:hover {
  color: #F19FC3;
  opacity: 1;
}

.p-header__logo {
  max-width: 250px;
  padding-left: 0 !important;
}

.p-header__nav li:hover .ac-menu {
  border-radius: 8px;
  overflow: hidden;
}

.p-header__logo:has(.jhm_link) {
  width: 22.3529411765%;
}

.p-header__logo:has(.aie_link) {
  width: 25.6617647059%;
}

.p-header__logo a picture {
  max-width: none !important;
  width: 100%;
}

.p-header__nav li .ac-menu.p2 .school-box:first-child {
  width: 100% !important;
}

.p-header__nav li .ac-menu .school-box .common-list {
  flex-wrap: wrap;
  flex: 1;
  padding: 32px !important;
  gap: 16px 32px !important;
}

.p-header__nav li .ac-menu .school-box .common-list .list-item {
  width: fit-content !important;
}

.p-header__nav li .ac-menu .school-box .common-list .list-item a {
  color: #333333 !important;
  padding: 0 !important;
  border: none !important;
}
.p-header__nav li .ac-menu .school-box .common-list .list-item a span {
  font-weight: bold;
  display: block;
  width: fit-content;
  margin-top: 6px;
  position: relative;
}
.p-header__nav li .ac-menu .school-box .common-list .list-item a span:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -34px;
  width: 15px;
  height: 7px;
  background-image: url(../img/common/arrow_right2.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.p-header__nav li .ac-menu .school-box .common-list .list-item a img {
  width: 13.17715959vw;
}
@media (min-width: 1367px) {
  .p-header__nav li .ac-menu .school-box .common-list .list-item a img {
    width: 180px;
  }
}

.p-header__burger {
  position: relative;
  display: block;
  background-color: #fff;
  border: 1px solid #333333;
  border-radius: 3px;
  width: 61px;
  height: 48px;
  transition: .5s;
}
.p-header__burger:hover {
  background-color: #DEDEDE;
}
.p-header__burger div {
  background-color: #333333;
  height: 3px;
  width: 20px;
  right: calc(50% - 9px);
}
.p-header__burger div:first-child {
  transform: translateY(-7px);
}
.p-header__burger div:last-child {
  transform: translateY(7px);
}

.p-header__nav li .ac-menu {
  width: fit-content !important;
  background-image: unset !important;
  background-color: #fff !important;
}

.p-header__nav li .ac-menu.p2 .school-box {
  padding: 0 !important;
}

.p-header__nav li .ac-menu.p2 .school-box.i .list-name {
  background-color: #C5EDFF;
  padding: 32px;
}
.p-header__nav li .ac-menu.p2 .school-box.i .list-name p {
  font-weight: bold;
  letter-spacing: 0;
  font-size: 20px;
  color: #333333;
}
.p-header__nav li .ac-menu.p2 .school-box.i .list-name .link-name {
  font-weight: 500;
  border-bottom: 1px solid #333333;
  display: block;
  position: relative;
  padding-right: 16px;
}
.p-header__nav li .ac-menu.p2 .school-box.i .list-name .link-name::before {
  content: "";
  width: 11px;
  height: 5px;
  background-image: url(../img/common/arrow_right.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.p-header__nav li a:has(+ .ac-menu) {
  position: relative;
}
.p-header__nav li a:has(+ .ac-menu)::before {
  content: "";
  width: 15px;
  height: 10px;
  background-image: url(../img/common/icon_drop.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  position: absolute;
  right: -21px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.l-header.fixed-header {
    position: relative;
    min-width: 0 !important;
  }
.l-drawer {
  display: block;
}
.have_curtain .p-header__nav, .have_curtain .p-header__nav2, .have_curtain .p-header__logo {
  visibility: hidden;
  opacity: 0;
}
.have_curtain header.change-color {
  background-color: transparent !important;
}
.have_curtain header {
  pointer-events: none;
}
.have_curtain .p-header__burger {
  pointer-events: auto;
}

@media screen and (max-width: 1260px) {
  .p-header__nav,
  .p-header__nav2 {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .p-header__burger div {
    height: 3px;
    width: 18px;
  }
  .p-header__inner {
    height: 100%;
  }
  .p-header__logo:has(.aie_link) {
    width: 350px !important;
  }
}
@media screen and (max-width: 480px) {
  .l-header.fixed-header {
    padding: 12px 0 !important;
  }
  .l-header.fixed-header .p-header {
    padding: 0 12px !important;
  }
  .l-header.fixed-header .p-header__logo:has(.aie_link) {
    width: 203px !important;
  }
  .l-header.fixed-header .p-header__burger {
    width: 40px;
    height: 32px;
  }
}

/*# sourceMappingURL=header.css.map */
