@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');

*,
*::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/cong-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/cong-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/cong-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/cong-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;
}

.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;
}



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



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

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

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

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(9) 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(9) 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/13.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/04.png);
}

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

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

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

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

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

.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(9) a .text h2,
.content:nth-of-type(10) a .text h2{
  padding-top: 25%;
}

@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/cong.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/cong.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;
  }
}



.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);
}

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

.top-banner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-banner_image {
  width: 50%;
  position: relative;
}

.top-banner_image img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1);
}

.top-banner_text{
  width: 48%;
  height: auto;
}

.top-banner_text .image1{
  width: 55%;
  height: auto;
  display: block;
  margin: auto;
  padding-bottom: 3rem;
  transform: translateY(-3rem);
}

.top-banner_text .image2{
  width: 95%;
  height: auto;
  display: block;
  margin: auto;
}


p.exp {
  width: 48%;
  font-size: 1.7rem;
  font-family: "Noto Serif JP", serif;
  margin: 0 auto;
  letter-spacing: 0.2rem;
  line-height: 2;
  text-align: left;
}

.line {
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  color: #1f377D;
  background: linear-gradient(transparent 60%, #FFE14F 60%);
}



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

  }



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

  .top-banner_image {
    width: 100%;
  }

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

  .top-banner_text .image1{
    padding-bottom: 0;
  }

  .top-banner_text .image2{
    transform: translateY(-1rem);
  }

}

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

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


/*===============================================
成績があがる理由
================================================*/
#reasons{
  width: 95%;
  height: auto;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box !important;
  margin-top: 2rem;

}
/*タブボタン*/
.tabbox{
  width: 100%;
  height: auto;
  box-sizing: border-box !important;
  text-align: center;
  position: sticky;
  top: -1px;
  width: 100%;
  z-index: 5;
}

.tabbox input{
  display: none;
}

.tab{
  display: inline-block;
  border-width: 1px 1px 0 1px;
  border-style: solid;
  border-color: #ccc;
  border-radius: 0.75em 0.75em 0 0;
  font-size: 1.7rem;
  font-weight: 500;
  color: #555;
  background-color: #e0e0e0;
  width: 24%;
  height: 45px;
  text-align: center;
  line-height: 45px;
  box-sizing: border-box !important;
  margin: 0 !important;
  cursor: pointer;
  transition: all ease 0.3s;
}

.tab:hover {
  color: #333;
  font-weight: 500;
  background-color: #fff;
}

.tab.active{
  color: #001E62;
  background-color: #fff;
  font-weight: 600;
  border-color: #001E62;
  border-width: 2px;
}
.reason{
  display: none;
  transition: all 0.5s ease-in-out;
}

.reason.active{
  display: block;
}

@media only screen and (max-width: 1024px){
  .tab{
    font-size: min(calc(18 / 1024 * 100vw), 1.8rem);
  }
}

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

  .tabbox{
    position: static;
  }

  .tab{
    font-size: calc(16 / 599 * 100vw);
    line-height: 1.4;
    padding-top: 1.3vh;
  }
}

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

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

h2.reason-title{
  text-align: center;
  font-size: 3rem;
  position: relative;
  z-index: 2;
  margin-bottom: 4rem;
}
h2.reason-title span{
  display: block;
  font-size: 4.3rem;
  color: #E2EFFD;
  font-family: "Homemade Apple", cursive;
  font-weight: bold;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

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

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

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

  h2.reason-title span {
    font-size: 2.8rem;
    top: 20px;
  }
}

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

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

/*==================================================
ダイアログ学習法
==================================================*/

.dialog-container{
  width: 85%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
}

.dialog-flow{
  width: 58%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.dialog-box{
  width: 45%;
  height: auto;
}

.dialog-box p{
  font-size: 1.6rem;
  text-align: center;
  font-weight: bold;
  color: #3293e7;
}

.arrow{
  width: 8%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
}

.dialog-image{
  width: 39%;
  height: auto;
}

@media only screen and (max-width: 599px){
  
  .dialog-container{
    width: 95%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .dialog-flow{
    width: 100%;
  }

  .dialog-image{
    width: 90%;
    margin: auto;
    margin-top: 2rem;
  }

}

p.exp{
  width: 85%;
  margin: auto;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
  line-height: 1.6;
  text-align: justify;
  color: #555;
}

p.exp span.line{
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-color: #ffe14f;
  text-decoration-thickness: 8px;
  text-underline-offset: -3px;
  color: #001E62;
  font-weight: bold;
}

@media only screen and (max-width: 599px){
  p.exp{
    width: 95%;
  }
}

/*=============================================
エピソード反復法
==============================================*/

#episode h3.sub-title{
  text-align: center;
}

.episode-container{
  width: 85%;
  height: auto;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3.5rem;
}

.episode-image{
  width: 60%;
  height: auto;
}

.episode-text{
  width: 37%;
  font-size: 1.7rem;
  letter-spacing: 0.1rem;
  line-height: 1.6;
  text-align: justify;
  color: #555;
}

.episode-text p span.line{
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-color: #ffe14f;
  text-decoration-thickness: 8px;
  text-underline-offset: -3px;
  color: #001E62;
  font-weight: bold;
}

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

  .episode-container{
    width: 95%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .episode-image,
  .episode-text{
    width: 100%;
    height: auto;
  }

  .episode-text{
    padding-top: 3rem;
  }

}

/*=========================================
習熟・習得・演習サイクル
==========================================*/

#cycle h3.sub-title{
  text-align: center;
}

.cycle-container{
  width: 75%;
  height: auto;
  margin: auto;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.cycle-container img{
  width: 90%;
  height: auto;
  margin: auto;
}

@media screen and (max-width: 599px){
  .cycle-container{
    width: 100%;
  }

  .cycle-container img{
    width: 95%;
  }
}

/*=======================================
性格別学習法
========================================*/

/*
.type-container{
  width: 85%;
  height: auto;
  margin: auto;
  padding: 4rem 0;
}

.type-container img{
  width: 100%;
  height: auto;
  margin: auto;
}

p.type-check{
  font-size: 1.7rem;
  color: #001E62;
  font-weight: 600;
  text-align: center;
}

.check-btn{
  display: block;
  width: 300px;
  height: auto;
  margin: auto;
  padding-bottom: 3rem;
}

@media only screen and (max-width: 599px){
  .type-container{
    width: 95%;
    margin: auto;
  }
}
*/

/*============================================
トライ式AI教材
=============================================*/

#aiprogram{
  background-color: rgba(245,235,204,0.2);
}

#aiprogram h3.sub-title{
  text-align: center;
}
.aiprogram-container{
  width: 85%;
  margin: auto;
}

.program-box1{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: solid #ccc;
  border-width: 1px 0 1px 0;
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.box1-image{
  width: 50%;
  height: auto;
}

.box1-text{
  width: 46%;
}

.box1-text p{
  font-size: 1.8rem;
  line-height: 1.7;
  text-align: justify;
}

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

  .aiprogram-container{
    width: 95%;
  }

  .program-box1{
    flex-direction: column;
  }

  .box1-image,
  .box1-text{
    width: 100%;
  }

  .box1-text p{
    font-size: 1.7rem;
  }

}

.program-boxes{
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  background-color: #fff;
  padding: 25px 8px 30px;
  box-sizing: border-box;
  border-radius: 0 0 10px 10px;
}

.program-box2{
  width: 31%;
  height: auto;
  border: dotted #ccc;
  border-width: 0 1px 0 1px;
}

.box2-image,
.box2-text{
  width: 95%;
  margin: auto;
}

.program-box2:nth-child(3) .box2-image{
  padding: 8px 0;
}



.box2-title{
  font-size: 1.5rem;
  text-align: center;
  color: #001E62;
  line-height: 1.2;
  padding: 1rem 0;
}

.box2-title span{
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
}

.box2-exp{
  font-size: 1.7rem;
  text-align: justify;
  width: 98%;
  margin: auto;
}

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

  .program-boxes{
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .program-box2{
    width: 100%;
    border-width: 1px 0 1px 0;
    padding: 1.5rem 0;
  }

  .program-box2:nth-child(3) .box2-image{
    padding: 0;
  }



}


.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;
  }
}