@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Homemade+Apple&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Aoboshi+One&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


*,
*::before,
*::after {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-size: 1rem;
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

header {
  position: relative;
}

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

.menu-icon:checked+label,
.menu-icon:not(:checked)+label {
  position: fixed;
  top: 32px;
  right: 31px;
  display: block;
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 10;
}

.menu-icon:checked+label:before,
.menu-icon:not(:checked)+label:before {
  position: absolute;
  content: '';
  display: block;
  width: 30px;
  height: 20px;
  z-index: 20;
  top: 0;
  left: 0;
  border-top: 3px solid #ececee;
  border-bottom: 3px solid #ececee;
  transition: border-width 100ms 1500ms ease,
    top 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1),
    height 100ms 1600ms cubic-bezier(0.23, 1, 0.32, 1),
    background-color 200ms ease,
    transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-icon:checked+label:after,
.menu-icon:not(:checked)+label:after {
  position: absolute;
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  z-index: 20;
  top: 10px;
  right: 4px;
  background-color: #ececee;
  margin-top: -1px;
  transition: width 100ms 1750ms ease,
    right 100ms 1750ms ease,
    margin-top 100ms ease,
    transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-icon:checked+label:before {
  top: 10px;
  transform: rotate(45deg);
  height: 3px;
  background-color: #ececee;
  border-width: 0;
  transition: border-width 100ms 340ms ease,
    top 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
    height 100ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
    background-color 200ms 500ms ease,
    transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
}

.menu-icon:checked+label:after {
  width: 30px;
  height: 3px;
  margin-top: 0;
  right: 0;
  transform: rotate(-45deg);
  transition: width 100ms ease,
    right 100ms ease,
    margin-top 100ms 500ms ease,
    transform 200ms 1700ms cubic-bezier(0.23, 1, 0.32, 1);
}


.nav {
  position: fixed;
  top: 10px;
  right: 15px;
  display: block;
  width: 65px;
  height: 65px;
  padding: 0;
  margin: 0;
  z-index: 7;
  overflow: hidden;
  box-shadow: 0 6px 15px 0 rgba(0, 0, 0, 0.3);
  background-color: #1f377d;
  border: solid 2px #fff;
  animation: border-transform 7s linear infinite;
  transition: top 350ms 1100ms cubic-bezier(0.23, 1, 0.32, 1),
    right 350ms 1100ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 250ms 1100ms ease,
    width 650ms 400ms cubic-bezier(0.23, 1, 0.32, 1),
    height 650ms 400ms cubic-bezier(0.23, 1, 0.32, 1);
}


@keyframes border-transform {

  0%,
  100% {
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  }

  14% {
    border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%;
  }

  28% {
    border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%;
  }

  42% {
    border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%;
  }

  56% {
    border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%;
  }

  70% {
    border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%;
  }

  84% {
    border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%;
  }
}

.menu-icon:checked~.nav {
  animation-play-state: paused;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 200%;
  height: 200%;
  transition: top 350ms 700ms cubic-bezier(0.23, 1, 0.32, 1),
    right 350ms 700ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 250ms 700ms ease,
    width 750ms 1000ms cubic-bezier(0.23, 1, 0.32, 1),
    height 750ms 1000ms cubic-bezier(0.23, 1, 0.32, 1);
}

.sp {
  display: none !important;
}

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


  .nav ul {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    z-index: 6;
    text-align: center;
    transform: translateY(-50%);
    list-style: none;
  }

  .nav ul li {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    margin: 8px 0;
    text-align: center;
    list-style: none;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 250ms linear;
  }

  .nav ul li:nth-child(1) {
    transition-delay: 600ms;
  }

  .nav ul li:nth-child(2) {
    transition-delay: 550ms;
  }

  .nav ul li:nth-child(3) {
    transition-delay: 500ms;
  }

  .nav ul li:nth-child(4) {
    transition-delay: 450ms;
  }

  .nav ul li:nth-child(5) {
    transition-delay: 400ms;
  }

  .nav ul li:nth-child(6) {
    transition-delay: 350ms;
  }

  .nav ul li:nth-child(7) {
    transition-delay: 300ms;
  }

  .nav ul li:nth-child(8) {
    transition-delay: 250ms;
  }

  .nav ul li:nth-child(9) {
    transition-delay: 200ms;
  }

  .nav ul li:nth-child(9) {
    transition-delay: 150ms;
  }

  .nav ul li:nth-child(9) {
    transition-delay: 100ms;
  }

  .nav ul li:nth-child(9) {
    transition-delay: 50ms;
  }


  .nav ul li a {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 4vh;
    text-transform: uppercase;
    line-height: 1.7;
    font-weight: 100;
    display: inline-block;
    position: relative;
    color: #ececee;
    transition: all 250ms linear;
  }

  .nav ul li a::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }

  .nav ul li:nth-of-type(1) a::before {
    background-image: url(icon/MENU-W.svg);
    background-size: 15px 15px;
    margin-right: 0.2rem;
    transform: translateY(4px);
    padding-left: 2px;
  }

  .nav ul li:nth-of-type(2) a::before {
    background-image: url(icon/good-W.svg);
    background-size: 23px 23px;
    transform: translate(-3px, 2px);
  }

  .nav ul li:nth-of-type(3) a::before {
    display: inline-block;
    background-image: url(icon/cost-W.svg);
    background-size: 28px 28px;
    transform: translateY(3px);
    margin-right: 0.7rem;
  }

  .nav ul li:nth-of-type(4) a::before {
    background-image: url(icon/type-W.svg);
    background-size: 20px 20px;
    transform: translate(2px, 5px);
  }

  .nav ul li:nth-of-type(5) a::before {
    background-image: url(icon/UP-W.svg);
    background-size: 18px 18px;
    transform: translate(-2px, 5px);
  }

  .nav ul li:nth-of-type(6) a::before,
  .nav ul li:nth-of-type(7) a::before,
  .nav ul li:nth-of-type(8) a::before {
    background-image: url(icon/exam-W.svg);
    background-size: 24px 24px;
    transform: translate(-2px, 4px);
  }

  .nav ul li:nth-of-type(9) a::before {
    background-image: url(icon/event-W.svg);
    background-size: 24px 24px;
    transform: translateY(3px);
    margin-right: 0.4rem;
  }

  .nav ul li:nth-of-type(10) a::before {
    background-image: url(icon/cong-W.svg);
    background-size: 28px 28px;
    transform: translateY(3px);
    margin-right: 0.5rem;
  }

  .nav ul li:nth-of-type(11) a::before {
    background-image: url(icon/campaign-w.svg);
    background-size: 28px 28px;
    transform: translateY(3px);
    margin-right: 0.5rem;
  }




  .nav ul li a:hover {
    text-decoration: none;
    color: #ffeba7;
  }

  .nav ul li:nth-of-type(1) a:hover::before {
    background-image: url(icon/MENU-O.svg);
  }

  .nav ul li:nth-of-type(2) a:hover:before {
    background-image: url(icon/good-O.svg);
  }

  .nav ul li:nth-of-type(3) a:hover:before {
    background-image: url(icon/cost-O.svg);
  }

  .nav ul li:nth-of-type(4) a:hover:before {
    background-image: url(icon/type-O.svg);
  }

  .nav ul li:nth-of-type(6) a:hover:before,
  .nav ul li:nth-of-type(7) a:hover:before,
  .nav ul li:nth-of-type(8) a:hover:before {
    background-image: url(icon/exam-O.svg);
  }

  .nav ul li:nth-of-type(5) a:hover:before {
    background-image: url(icon/UP-O.svg);
  }

  .nav ul li:nth-of-type(9) a:hover:before {
    background-image: url(icon/event-O.svg);
  }

  .nav ul li:nth-of-type(10) a:hover:before {
    background-image: url(icon/cong-O.svg);
  }

  .nav ul li:nth-of-type(11) a:hover:before {
    background-image: url(icon/campaign-O.svg);
  }



  .nav ul li a:after {
    display: block;
    position: absolute;
    top: 50%;
    content: '';
    height: 1vh;
    margin-top: 2vh;
    width: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.5;
    transition: width 250ms linear;
  }

  .nav ul li a:hover:after {
    width: 100%;
  }


  .menu-icon:checked~.nav ul li {
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 350ms ease,
      transform 250ms ease;
  }

  .menu-icon:checked~.nav ul li:nth-child(1) {
    transition-delay: 1400ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(2) {
    transition-delay: 1480ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(3) {
    transition-delay: 1560ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(4) {
    transition-delay: 1640ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(5) {
    transition-delay: 1720ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(5) {
    transition-delay: 1800ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(6) {
    transition-delay: 1880ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(7) {
    transition-delay: 1960ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(8) {
    transition-delay: 2040ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(9) {
    transition-delay: 2120ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(10) {
    transition-delay: 2200ms;
  }

  .menu-icon:checked~.nav ul li:nth-child(11) {
    transition-delay: 2280ms;
  }


  main {
    width: 100%;
    height: auto;
    position: relative;
    opacity: 0;
  }

  .bg-white {
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding-bottom: 7rem;
  }

}

main {
  width: 100%;
  height: auto;
  position: relative;
  background-color: #f8f8f8;
  opacity: 0;
}

.bg-white {
  width: 100%;
  height: 100%;
  background-color: #fff;
  padding-bottom: 7rem;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 25px 25px;
}

.root-container {
  width: 100vw;
  height: 100%;
  display: grid;
  place-items: center;
  display: none;
  opacity: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
}

.show.root-container {
  display: block;
  opacity: 1;
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
}

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

  .root-container,
  .show.root-container {
    display: none;
  }

  .sp {
    display: block !important;
  }

}


.contents-container {
  width: 95vw;
  max-width: 1980px;
  margin: 0 auto;
  text-align: center;
}


ul.contents {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  box-sizing: border-box;
  transform: translateY(0);
}

ul.contents li.content {
  width: 18%;
  box-sizing: border-box;
}

ul.contents li+li {
  margin-left: 12px;
}

ul.contents li:nth-child(-n+5) {
  margin-bottom: 12px;
}

ul.contents li:nth-of-type(6) {
  margin-left: 0;
}

.content a {
  display: block;
  position: relative;
  overflow: hidden !important;
  transition: all ease 0.3s;
  border-radius: 8px;
  border: solid 2px #fff;
}

.content a:hover {
  transform: translateY(-3px);
}

.content a .img {
  width: 100%;
  height: 30vh;
}

.content a .text {
  width: 70%;
  height: 70%;
  background-color: rgba(11, 115, 224, 0.8);
  border-radius: 50%;
  position: absolute;
  bottom: -25%;
  right: -25%;
}

.content a .text h2 {
  color: #fff;
  text-align: center;
  margin-left: -28%;
  padding-top: 4vh;
  padding-right: 2px;

}

.content:nth-of-type(5) a .text h2,
.content:nth-of-type(6) a .text h2,
.content:nth-of-type(7) a .text h2,
.content:nth-of-type(8) a .text h2,
.content:nth-of-type(10) a .text h2 {
  padding-top: 20%;
}

.content:nth-of-type(10) a .text h2 {
  letter-spacing: 0;
}

.content a:hover .text {
  background-color: #E2EFFD;
  background: linear-gradient(to right, #E2EFFD, #fff);
}

.content a:hover .text h2 {
  color: #001E62;
  font-weight: bold;
  text-shadow: 2px 2px 6px #ccc;
}

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

  .content a .text {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #001E62;
    width: 100%;
    height: auto !important;
    transition: all ease 1s;
    border: solid #001E62;
    border-width: 1px 0 0 0;
    box-sizing: border-box;
    border-radius: 0 0 8px 8px;
  }

  .content a:hover .text {
    background-color: #E2EFFD;
    background: linear-gradient(to right, #E2EFFD, #fff);
  }

  .content a .text h2,
  .content a .text p {
    width: 100%;
  }

  .content a .text h2 {
    font-size: 1.8rem;
    color: #fff;
    padding: 6px 0;
    margin-left: 0 !important;
    padding-top: 3px !important;
    padding-right: 0 !important;
    padding-bottom: 3px !important;
  }

  .content a:hover .text h2 {
    color: #001E62;
  }

  .content:nth-of-type(5) a .text h2,
  .content:nth-of-type(6) a .text h2,
  .content:nth-of-type(7) a .text h2,
  .content:nth-of-type(8) a .text h2,
  .content:nth-of-type(10) a .text h2 {
    padding-top: 3px;
  }

  .pconly {
    display: none !important;
  }

}




.content a .img {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: contrast(120%), brightness(150%);
  ;
}

.content:nth-of-type(1) a .img {
  background-image: url(img/P8230007.jpg);
}

.content:nth-of-type(2) a .img {
  background-image: url(img/09.jpg);
}

.content:nth-of-type(3) a .img {
  background-image: url(img/01.png);
  background-color: #aaa;
}

.content:nth-of-type(4) a .img {
  background-image: url(img/02.png);
}

.content:nth-of-type(5) a .img {
  background-image: url(img/05.png);
}

.content:nth-of-type(6) a .img {
  background-image: url(img/06.webp);
}

.content:nth-of-type(7) a .img {
  background-image: url(img/04.png);
}

.content:nth-of-type(8) a .img {
  background-image: url(img/10.jpg);
}

.content:nth-of-type(9) a .img {
  background-image: url(img/cong.jpg);
}

.content:nth-of-type(10) a .img {
  background-image: url(img/818d9842b2d8d57a435dbd19c79b84f02.jpg);
}

@media only screen and (max-width: 1024px) {
  .content a .img {
    width: 100%;
    height: 30vh;
    max-height: 250px;
  }
}

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

  ul.contents{
    top: 54% !important;
  }

  .content a .text h2{
    font-size: min(calc(34 / 840 * 100vw), 1.3rem); 
    padding: 4px 0 !important;
  }

}

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


  ul.contents li.content {
    width: 45%;
  }

  .content a .img {
    width: auto;
    height: 12vh;
  }

  ul.contents li+li {
    margin-left: 12px;
  }

  ul.contents li {
    margin-bottom: 10px !important;
  }

  ul.contents li:nth-child(-n+5) {
    margin-bottom: 0;
  }

  ul.contents li:nth-of-type(6) {
    margin-left: 10px !important;
  }

  ul.contents li:nth-of-type(odd) {
    margin-left: 0 !important;
  }


  .content a .text h2 {
    font-size: min(calc(22 / 599 * 100vw), 2rem);
    padding: 4px 0 !important;
  }


}

.content:nth-of-type(3) a .img .icon {
  width: 100px;
  height: auto;
  position: absolute;
  left: 2%;
  top: 2%;
}

.content a .img .g-icon {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  background-repeat: no-repeat;
  background-size: 30px 30px;
  background-position: center center;
  box-sizing: border-box;
  padding: 8px;
  border-radius: 10px;
  position: absolute;
  top: 2%;
  left: 2%;
}

.content:nth-of-type(1) a .img .g-icon {
  background-image: url(icon/good.svg);
}

.content:nth-of-type(2) a .img .g-icon {
  background-image: url(icon/cost.svg);
}

.content:nth-of-type(4) a .img .g-icon {
  background-image: url(icon/UP.svg);
}

.content:nth-of-type(5) a .img .g-icon {
  background-image: url(icon/exam.svg);
}

.content:nth-of-type(6) a .img .g-icon {
  background-image: url(icon/exam.svg);
}

.content:nth-of-type(7) a .img .g-icon {
  background-image: url(icon/exam.svg);
}

.content:nth-of-type(8) a .img .g-icon {
  background-image: url(icon/event.svg);
  transform: scale(1.2);
}

.content:nth-of-type(9) a .img .g-icon {
  background-image: url(icon/cong.svg);
  transform: scale(1.4);
}

.content:nth-of-type(10) a .img .g-icon {
  background-image: url(icon/campaign.svg);
  transform: scale(1.2);
}

@media only screen and (max-width: 599px) {
  .content a .img .g-icon {
    width: 30px;
    height: 30px;
    background-size: 20px 20px;
  }
}

.contents-title {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  position: absolute;
  top: 8vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.contents-title h1 {
  font-size: 3rem;
  position: relative;
}

.contents-title span {
  display: block;
  font-size: 4.3rem;
  color: #E2EFFD;
  font-family: "Homemade Apple", cursive;
  font-weight: bold;
  transform: translateY(-3rem);
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.container {
  max-width: 1200px;
  width: 95%;
  height: auto;
  margin: 0 auto;
  text-align: center;
}



.pankuzu {
  max-width: 1200px;
  width: 95%;
  height: auto;
  margin: 0 auto;
  display: flex;
  margin-top: 1rem;
}

.pankuzu li {
  font-size: 1.5rem;
}

.pankuzu li+li {
  margin-left: 1.2rem;
}

.pankuzu li.here {
  color: #1f377D;
  font-weight: 700;
}

.pankuzu li a {
  position: relative;
  padding: 0 3px;
  transition: all ease .3s;
  display: block;
}

.pankuzu li a:hover {
  font-weight: bold;
}

.pankuzu li a::before {
  content: "";
  display: inline-block;
  width: 100%;
  height: 2px;
  background-color: #001E62;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: all ease .3s;
}

.pankuzu li a:hover::before {
  transform: scale(1, 1);
}


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

  .pankuzu li {
    font-size: calc(21 / 599 * 100vw);
  }

  .pankuzu li+li {
    margin-left: 0.8rem;
  }


  .contents-title {
    top: 20vh !important;
  }

  .contents-title h1 {
    font-size: 2.5rem;
    margin-top: -4rem;
  }

  .contents-title span {
    font-size: 3rem;
    top: 20px;
  }

}

.container {
  max-width: 1200px;
  width: 95%;
  height: 350px;
  margin: 0 auto;
  padding-top: 13rem;
}

@media only screen and (max-width: 599px){
  .container{
    height: 250px;
  }
}

.top-banner {
  width: 100%;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  z-index: 4;
}

.top-banner video {
  display: block;
  width: 90%;
  height: auto;
  max-width: 600px;
  margin: auto;
  padding-bottom: 20vh;
}

.glass-container {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.try-san {
  position: absolute;
  bottom: 0;
  right: -45%;
  z-index: 5;
  width: 32vw;
  height: auto;
}

.glass {
  width: 100vw;
  height: 20px;
  background-image: url(img/glass.png);
  background-repeat: repeat-x;
  background-size: contain;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 6;
}

.congratulations{
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}

.congratulations video{
  width: 100%;
  height: auto;
  opacity: 0.5;
}

.congratulations video,
.top-banner video{
  filter: drop-shadow(0px 0px rgba(0,0,0,0));
  outline: none;
  border: none;
}



@media only screen and (max-width: 599px){
 
  .top-banner{
    transform: translate(-50%, -50%);
  }

}

@media only screen and (max-width: 1180px) {
  .try-san {
    right: -40%;
  }

  .top-banner video {
    padding-bottom: 12vh !important;
    padding-top: 3rem;
  }

}

@media only screen and (max-width: 840px) {
  .top-banner video {
    padding-bottom: 10vh !important;
    padding-top: 3rem;
  }

  .try-san {
    position: absolute;
    bottom: 0;
    right: -45%;
    z-index: 3;
    width: 40vw;
    height: auto;
  }

}

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

  .top-banner video {
    padding-bottom: 7vh !important;
    padding-top: 1rem;
  }

}

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

  main {
    position: relative;
  }

  .contents {
    transform: translateY(5rem) !important;
  }


  .try-san {
    width: 250px;
    height: auto;
    right: -70%;
  }

}


@media only screen and (max-width: 599px) {
  .container {
    padding-top: 8rem;

  }



  .top-banner {
    padding-top: 7rem;
    padding-bottom: 2rem;
  }

  .top-banner_image {
    width: 100%;
    padding-top: 3rem;
  }

  .top-banner_text {
    width: 90%;
    margin: 0 auto;
    padding-top: 0;
  }

  p.exp {
    width: 90%;
    margin: 0 auto;
    font-size: 1.8rem;
    line-height: 1.7;
    text-align: justify;
    padding-top: 2rem;
  }

}

p.class-name {
  font-size: 2rem;
  position: absolute;
  top: 6vh;
  right: 10%;
}

@media only screen and (max-width: 599px) {
  p.class-name {
    left: 6%;
    top: 6vh;
  }
}

h1.school-name{
  color: #1f377d;
  font-size: 4.6rem;
  text-shadow: 2px 2px 6px #ccc;
}

.site-container {
  width: 85%;
  margin: 3rem auto 0 !important;
  height: 80vh; /* 高さを調整 */
  border: 1px solid #ccc;
  overflow: hidden; /* 余白を隠す */
  position: relative;
  box-shadow: 2px 2px 6px #ccc;
}


.site-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  margin: 0; /* 余白をなくす */
  padding: 0; /* パディングをなくす */
  overflow: hidden !important;
  display: block;
  pointer-events: none;
}

.site-container img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

a.session-btn:nth-of-type(1){
  display: block;
	text-align: center;
	text-decoration: none;
	width: auto;
	margin: auto;
	padding: 1rem 4rem;
  font-size: 1.8rem;
	font-weight: bold;
	color: #27acd9;
  background: #fff;
	border-bottom: 2px solid #27acd9;
	border-radius: 100vh;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
	-webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
	transition: 0.5s;
  position: absolute;
  bottom: 15%;
  left: 2%;
}


a.session-btn:nth-of-type(2){
  display: block;
	text-align: center;
	text-decoration: none;
	width: auto;
	margin: auto;
	padding: 1rem 4rem;
  font-size: 1.8rem;
	font-weight: bold;
	color: #27acd9;
  background: #fff;
	border-bottom: 2px solid #27acd9;
	border-radius: 100vh;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
	-webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
	transition: 0.5s;
  position: absolute;
  bottom: 3%;
  left: 2%;
}


a.session-btn:hover{
  color: #fff;
	background: #27acd9;
	border-bottom: 2px solid #fff;
	transform: translateY(2px);
}

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

  h1.school-name{
    font-size: 2.2rem;
  }

  .site-container{
    width: 98%;
  }
}

.outline{
  width: 85%;
  margin: 3rem auto 0;
  border: solid 1px #ccc;
  box-shadow: 2px 2px 6px #ccc;
}

.outline img{
  display: block;
}

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

  .outline{
    width: 98%;
  }

}

.subject-ttitle{
  position: relative;
}

.earth {
  width: 12%; /* .subject-contentに対する% */
  height: auto; 
  position: absolute;
  top: 2%;
  right: 12%;
}

.earth video{
    filter: drop-shadow(0px 0px rgba(0,0,0,0));
    outline: none;
    border: none;
}

#movie4 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 599px){
  .earth {
    width: 25%; /* .subject-contentに対する% */
    height: auto; 
    position: absolute;
    top: 5%;
    right: 8%;
  }
}

/*===============================================
学校情報
================================================*/
#subjects {
  width: 95%;
  height: auto;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box !important;
  margin-top: 2rem;

}

.subject-container {
  width: 100%;
  height: auto;
  border: solid 1px #ccc;
  box-shadow: 2px 2px 6px #ccc;
  background-color: #fff;
}

.subject-content {
  width: 98%;
  margin: auto;
  padding: 3rem 0 7rem;
  position: relative;
}

.subject-title h2 {
  text-align: center;
  font-size: 4rem;
  position: relative;
  z-index: 2;
  margin-bottom: 8rem;
  padding-top: 3rem;
}

.subject-title h2 span {
  display: block;
  font-size: 5.3rem;
  color: #E2EFFD;
  font-family: "Homemade Apple", cursive;
  font-weight: bold;
  position: absolute;
  top: 7rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

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

  .subject-content {
    padding: 5rem 0;
  }

  .subject-title h2 {
    font-size: 2.3rem;
    margin-bottom: 5rem;
  }

  .subject-title h2 span {
    font-size: 2.8rem;
    top: 20px;
    line-height: 1;
  }
}

h3.sub-title {
  width: 85%;
  margin: auto;
  text-align: justify;
  font-size: 2.2rem;
  font-weight: 700;
  color: #5a90e0;
  text-align: center;
  line-height: 1.7;
}

h3.sub-title span.sub {
  display: block;
  font-size: 1.8rem;
  font-weight: 400;
  color: #555;
  margin-bottom: 1rem;
}

@media only screen and (max-width: 599px) {
  h3.sub-title {
    width: 95%;
    margin: auto;
    text-align: center;
  }

  h3.sub-title span {
    text-align: justify;
  }


}

.subject-content-container {
  width: 85%;
  margin: auto;
  margin-top: 2rem;
  position: relative;
}

@media only screen and (max-width: 599px) {
  .subject-content-container {
    width: 98%;
  }
}

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

  

  .subject-title h2{
    margin-bottom: 5rem !important;
    font-size: 2.7rem;
  }

  .subject-title h2 span {
    font-size: 3.2rem;
    top: 7rem;
    line-height: 1;
}


}

.btn{
  text-align: center;
}

.btn a {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 250px;
	height: 60px;
	color: #eee;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
	transition: 0.3s;
  background-color: #5a90e0;
	border: 1px solid transparent;
	border-radius: 35px;
  margin: 4rem auto 0;
}

.btn a:hover {
	color: #f2f2f2;
  background-color: #3293e7;
}

.btn a::before {
	content: '';
	position: absolute;
	top: -5px;
	left: -5px;
	width: 100%;
	height: 100%;
	background-color: transparent;
	border: 1px solid #333;
	border-radius: 35px;
}

.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  border: solid 2px #001E62;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 7;
}

.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #001E62;
  border-right: 3px solid #001E62;
  transform: translateY(20%) rotate(-45deg);
}

@media (hover: hover) and (pointer: fine) {

  .pagetop:hover,
  .pagetop:hover .pagetop__arrow {
    border-color: #3293e7;
  }
}

.pagetop2 {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 87px;
  background: #fff;
  border: solid 2px #001E62;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 7;
}

.pagetop__arrow2 {
  font-weight: bold;
  color: #001E62;
}

@media (hover: hover) and (pointer: fine) {

  .pagetop2:hover,
  .pagetop2:hover .pagetop__arrow2 {
    border-color: #3293e7;
    color: #3293e7;
  }
}