@charset "utf-8";

/* common */
html {
  font-size: 16px;
}
body {
  font-size: 16px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  line-height: 1.7;
  color: #1E2C5B;
}
.inner {
  width: 1200px;
  margin: 0 auto;
}
li {
  list-style: none;
}
h1 {
  font-size: 18px;
  background: url(../images/logo.png) no-repeat center left/contain;
  padding-left: 50px;
}
h2 {
  font-size: 40px;
  color: #eee;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 20px;
}
img {
  vertical-align: bottom;
}
a {
  text-decoration: none;
  color: #1E2C5B;
}
.target {
  opacity : 0;
  transform: translateY(20px);
  transition: 1s;
}
.is-active {
	opacity: 1;
  transform: translateY(0);
}

/* wrapper */
#wrapper {
  max-width: 100%;
}

/* header */
header {
  padding: 10px 0;
  margin: 20px 0 60px;
}
header .bg-h {
  background-color: rgba(255, 255, 255, 0.5);
  width:1060px;
  height: 50px;
  border-radius: 0 30px 30px 0px;
  position: absolute;
  left: 0;
  top: 30px;
  z-index: -1;
}
header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header ul {
  display: flex;
  gap: 32px;
}
header ul a:hover {
  color: #FFDD80;
}
header .reserve {
  background-color: #FFDD80;
  border-radius: 40px;
  box-shadow: 2px 2px 2px rgba(170, 170, 170, 0.5);
  padding: 10px 20px;
  transition: 0.25s all linear;
}
header .reserve:hover {
  background-color: #1E2C5B;
  color: #FFDD80;
}

/* top */
.top-view {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -2;
  width: 100%;
}
#top span {
  background: rgba(62, 83, 152, 0.9);
  padding: 0 30px 0 5px;
}
#top ul {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 36px;
}
#top li {
  border: 1px solid #3E5398;
  border-radius: 5px;
  padding: 5px 10px;
  background-color: rgba(255, 255, 255, 0.5);
}
#top .top-reserve {
  position: relative;
  left: 450px;
  width: 150px;
  height: 150px;
  background-color: rgba(255, 221, 128, 0.8);
  border-radius: 50%;
  box-shadow: 2px 2px 2px rgba(170, 170, 170, 0.5);
  text-align: center;
  transition: 0.25s all linear;
}
#top .top-reserve a {
  display: block;
  padding: 50px 0;
}
#top .top-reserve:hover {
  transform: translate(5px, 5px);
  opacity:0.8;
	transition:0.3s;
}

/* news */
#recent {
  margin-top: 20%;
  height: 671.5px;
  background: #E6E7EB;
  padding: 40px 0;
  position: relative;
  z-index: -3;
}
#recent .line-r {
  position: absolute;
  left: 80px;
  top: -10px;
  z-index: 2;
}
#recent .inner {
  display: flex;
  justify-content: space-between;
}
#recent .news, .course {
  position: relative;
}
#recent .title01 {
  position: absolute;
  top: -20px;
  left: 80px;
  z-index: 2;
}
#recent .title02 {
  position: absolute;
  top: -20px;
  left: 50%;
  z-index: 2;
  transform: translate(-50%);
}
#recent .news-bg {
  padding: 60px;
  background: #fff;
  min-width: 50%;
  height: 445px;
  border-radius: 0 20px 20px 0;
  position: absolute;
  top: 40px;
}
#recent .news-bg::after {
  content: "";
  width: 103%;
  height: 100%;
  border: 1px solid #3E5398;
  border-radius: 0 20px 20px 0;
  position: absolute;
  top: 20px;
  left: 0;
  z-index: -2;
}
#recent dl {
  padding: 60px 80px 20px;
  position: relative;
}
#recent .course dl {
  background: #fff;
  border-radius: 20px;
}
#recent .course dl::after {
  content: "";
  width: 100%;
  height: 100%;
  border: 1px solid #3E5398;
  border-radius: 20px;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: -2;
}
#recent dl span {
  background: #A9CEFF;
  border-radius: 10px;
  padding: 0 10px;
}
#recent .news dl span {
  margin-left: 20px;
}
#recent .news dd {
  padding: 16px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid #ccc;
}
#recent .news dd:nth-of-type(3) {
  margin-bottom: 16px;
}
#recent .course dt,
#recent .course dd {
  padding-bottom: 16px;
}
#recent .news dt,
#recent .course dt {
  font-size: 0.8em;
}
#recent .course dd:nth-of-type(2n) {
  margin-bottom: 40px;
  border-bottom: 1px solid #ccc;
  font-size: 0.8em;
}
#recent .course dd:last-child {
  border: none;
}


/* question */
#question {
  margin-top: 168px;
}
#question h3 {
  text-align: center;
  position: relative;
  padding-bottom: 80px;
}
#question .bg01 {
  position: absolute;
  top: -30px;
  z-index: -2;
  width: 80.5%;
  height:100px;
  background: linear-gradient(to right, #CAE8EF, #FDFFD7) no-repeat;
}
#question .bg02 {
  position: absolute;
  top: -40px;
  z-index: -1;
  width: 80%;
  height:100px;
  border: 1px solid #3E5398;
}
#question .fukidashi01, .fukidashi02 {
  text-align: center;
  display: flex;
  gap: 60px;
  margin: 40px;
}
#question p {
  background: url(../images/fukidashi.png) no-repeat center center/contain;
  padding-top: 25px;
  width: 300px;
  height: 80px;
}
#question .fukidashi01 p {
  position: relative;
  left: 250px;
  z-index: 2;
}
#question .fukidashi02 p {
  position: relative;
  left: 150px;
  z-index: 2;
}
#question .q-img {
  text-align: right;
  position: relative;
  top: -250px;
}

/* answer */
#answer {
  background: #F7F7F7;
  width: 1320px;
  height: 855px;
  margin: 0 auto 168px;
  border-radius: 20px;
  padding: 60px 0;
  position: relative;
}
#answer .line-a {
  position: absolute;
  left: 50%;
  top: -50px;
  transform: translate(-50%);
}
#answer h3 {
  color: #F7F7F7;
  margin-bottom: 45px;
}
#answer .line-title {
  border: 2px solid #3E5398;
  width: 80px;
  margin-bottom: 45px;
}
#answer h3 span {
  background: rgba(62, 83, 152, 0.9);
  padding: 0 30px 0 60px;
}
#answer table {
  text-align: left;
  margin-bottom: 85px;
}
#answer th {
  font-size: 18px;
}
#answer th,
#answer td {
  padding-bottom: 16px;
  padding-right: 100px;
}
#answer th span {
  color: #FFDD80;
  font-size: 1.5em;
  margin-right: 8px;
}
#answer .more {
  background: #FFDD80;
  border-radius: 20px;
  box-shadow: 2px 2px 2px rgba(170, 170, 170, 0.5);
  padding: 10px 70px;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: -25px;
  transition: 0.25s all linear;
}
#answer .more:hover {
  background-color: #1E2C5B;
  color: #FFDD80;
}


/* support */
#support {
  background: #F7F7F7;
  width: 1320px;
  height: 553px;
  margin: 0 auto 168px;
  border-radius: 20px;
  padding: 60px 0;
  position: relative;
}
#support .title03 {
  position: absolute;
  top: -20px;
  left: 60px;
}
#support .support-box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
#support .support-box img {
  margin-bottom: 40px;
}
#support .support-box p:nth-child(2n) {
  font-size: 18px;
  padding-bottom: 40px;
  text-decoration: underline 3px #FFDD80;
  font-weight: bold;
}

/* banner */
#banner {
  text-align: center;
  margin-bottom: 168px;
}
#banner img:hover {
  transform: scale(1.05);
	transition: 0.3s;
}


/* footer */
footer {
  position: relative;
}
footer #soudankai .bg-f {
  position: absolute;
  top: -24px;
  left: 0;
  z-index: -1;
  background: linear-gradient(to right, #CAE8EF, #FDFFD7 65%, #fff) no-repeat;
  width: 100%;
  height: 300px;
}
footer #soudankai .box-f {
  height: 240px;
  padding: 24px 60px;
  display: flex;
  gap: 150px;
  align-items: center;
  margin-bottom: 168px;
}
footer #soudankai .text-right .reserve-f {
  background: #FFDD80;
  border-radius: 20px;
  box-shadow: 2px 2px 2px rgba(170, 170, 170, 0.5);
  padding: 8px 50px;
  transition: 0.25s all linear;
}
footer #soudankai .text-right .reserve-f:hover {
  background-color: #1E2C5B;
  color: #FFDD80;
}
footer #soudankai h4 {
  margin-bottom: 30px;
  text-decoration: underline 3px #FFDD80;
}
footer #soudankai .text {
  background-color: rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
}
footer #soudankai .text-right .hosoku {
  font-size: 14px;
  text-align: center;
  margin-bottom: 24px;
}
footer .logo-f {
  background: url(../images/logo.png) no-repeat left center/contain;
  padding-left: 46px;
  margin-bottom: 16px;
}
footer .info {
  background: #F7F7F7;
  width: 1320px;
  height: 105px;
  margin: 0 auto 60px;
  border-radius: 40px;
  padding: 16px 0;
}
footer .info .inner {
  display: flex;
  gap: 150px
}
footer #navi-f {
  background: #1E2C5B;
  color: #F8F8F8;
  text-align: center;
  padding: 16px;
}
footer #navi-f a {
  color: #F8F8F8;
}
footer #navi-f a:hover {
  color: #FFDD80;
}
footer #navi-f ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 14px;
  margin-bottom: 16px;
}
footer .copy {
  font-size: 12px;
}

.ptop {
	position: fixed;
	right: 50px;
	bottom: 50px;
  background: rgba(255, 221, 128, 0.8);
  border-radius: 50%;
}
.ptop:hover {
  transform: scale(1.1);
	transition: 0.3s;
}
.ptop a {
  display: block;
  padding: 20px;
}