@charset "UTF-8";
/* CSS Document */

body{
	background-color: #E5E5E5;
	font-family: "A-OTF 秀英角ゴシック銀 Std"
}
.topimg{
	width:100%;
	height: auto;
	position: absolute;
}
.sptop{
	display: none;
}
.tablet{
    display: none;
}

.top2{
	padding: 15px 0px;
	position: relative;
    top:0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 95%;
    height: 28vw;
}

.top_title{
	width: 17%;
    margin: 0 auto;
    position: absolute;
    top: 3.6VW;
    left: 0;
    right: 0;
}
.focus_top_title{
    width: 34%;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
}

.fgs_top_title{
    width: 24%;
    margin: 0 auto;
    position: absolute;
    top: 1.6VW!important;
    left: 0;
    right: 0;
}
.fg{
   width: 32%!important;
}
.sp_title{
    top: 5.6VW;
}

.top_right{
	position: absolute;
	top: 0;
	right: 0;
}
.top_left{
	position: absolute;
	top: 0;
	left: 0;
}
.button4_Box{
	padding: 24px 0 5px;
    width: 100%;
}
.button4_Box div{
	width: 90%;
	margin: 0 auto;
}
.Hs_Math_Box{
	position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 60%;
    height: 200px;
    background: rgba(0,0,0,0.3);
}
.Hs_Math_Box h1{
    font-family: "A-OTF モアリア Std";
	font-size: 100px;
	 color: #fff;
	 width: 430px;
	 margin: 0 auto;
	text-align: center;
	 padding: 50px;
}
.TopButton{
	margin: 0 auto;
}
.botton_flex{
	display: flex;
	justify-content: center;
	}
.botton_flex span{
	display: flex;
}
.TopButton{
	width: 100%;
	margin: 0 autO 10px;
	display: flex;
   justify-content: center;
}

.button4{
	margin: 10px 5px 10px
}

.button4 a{
	font-size: 13px;
	font-family: "07やさしさゴシック手書き";
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	position: relative;
	width: 110px;
	margin: auto;
	padding: 1.73rem 4rem;
	font-weight: bold;
	color: #fff;
	background: #79CC76;
	transition: 0.3s ease-in-out;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
.button4 a{
        padding: 1.73rem 4rem;
        width: 132px;
    }
}

.button4 a:hover {
	background: #50874D;
	color: #fff;
}
.button4 a:hover::before {
  top: 0;
  left: 0;
}

.button4 .fgs_button{
    background: #BE9D60;
}
.button4 .fgs_button:hover{
    background:  #665C4F;
}
.pc{
	padding:100px 0;
}
.contents{
	position: relative;
	width: 100%;
	margin: 0 auto;
}
.contents h2{
    min-width: 500px;
	font-size: 40px;
	text-align: center;
	color: #000;
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
	font-family: "07やさしさゴシック手書き";}

.contents h2:before{
  content: url(../image/deco.png);
  transform: scale(0.7);
  display: inline-block;
  width: 100%;
  height: 67px;
}


.buttonType2 a{
	margin: 9% 0px;
	font-size: 13px;
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	position: relative;
	width: 200px;
	padding: 15px 10px;
	font-weight: bold;
	color: #515E70;
	background-color: #F5F5F5;
	border: 1px solid #515E70;
	box-shadow: 2px 2px #515E70;
	transition: 0.3s ease-in-out;
}
.pdd0 a{
	padding: 10px 4rem;
	line-height: 27px;
}
.pdd_Top0 a{
    padding: 10px 3rem!important;
    width: 164px!important;
    line-height: 27px;
    }

.pdd5 a{
	padding: 8px 10px;
}
.buttonType2 a:hover {
	box-shadow: none;
	transform: translate(5px, 5px);
	color: #fff;
	background-color: #18499F;
}

footer p{
	text-align: center;
	color: #fff;
    background-color: #0098D9;
	font-size: 18px;
	padding: 5px 0;
}
footer p.fgs_footer{
     background-color: #BE9D60;
}
footer p.st_footer{
    background-color: #000;
}
.sp{display: none;}

.listBox{
		display: flex;
		justify-content: center;
	}
.list_0{
    width: 40%;
    margin: 0 auto;
    padding:5px 6%;
}
.list_40-42{
    width: 36%;
    margin: 0 auto;
    padding:5px 6%;
}
.list_40-42 li{
    width: 150px;
    margin: 0 auto;
}
.list_40-{
    width: 26%;
    margin: 0 auto;
    padding:5px 6%;
}
.TopListBox{
	margin: 55px 0 0;
}
.list-wrapper {  
  display: block;
  position: relative;
  margin: 15px auto;
  padding: 10px 0;
  width: 430px;
  height:43px;
  background: #f1f1f1;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  }

.list{
  position: relative;
  box-sizing: border-box;
  margin: -10px 0px;
  padding: 5px 0;
  height: 63px;
  width: 63px;
  color: white;
  background: #18499F;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}
.fgs_list{
    background: #A3A19F;
}
.red .list{
   position: relative;
  box-sizing: border-box;
  margin: -10px 0px;
  padding: 5px 0;
  height: 63px;
  width: 63px;
  color: white;
  background: #ce0514;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);  
}

.list h3{
  margin: 0px 0;
  padding: 0 30px 0 15px;
  border-top: dashed 1px #FFF;
  border-bottom: dashed 1px #FFF;
  font-size: 20px;
  line-height: 46px;
}

.list p a{
    width: 336px;
    color: #18499F;
    margin: 0 0 0 62px;
	padding:5px 0;
    position: absolute;
    top: 12px;
	text-decoration: none;
	font-family: "07やさしさゴシック手書き";
	font-size: 18px;
	text-align: center;
}
.fgs_list p a{
    color: #6D6D6D;
}
.red .list p a{
    color: #9E1919;
}

.list p a:hover{
	color: #36D9FF;
}
.fgs_list p a:hover{
	color: #BD9C60;
}

.list:after {
  position: absolute;
  content: '';
  z-index: 1;
  top: 0;
  right: 0;
  width: 0px;
  height: 0px;
  border-width: 30px 15px 30px 0px;
  border-color: transparent #f1f1f1 transparent transparent;
  border-style: solid;
}

.list:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px #102E5B;
}
.fgs_list:before{
  border-right: solid 20px #3D3D3D;  
}
.red .list:before{
    border-right: solid 20px #540309;
}
.none{
  visibility: hidden;
}

.iframeWrap {
     position: relative;
     padding-bottom: 56.25%;
     height: 0;
     overflow: hidden;
     width: 1280px;
     margin: 0 auto;
}

.iframeWrap iframe {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
}

.t40-42{
        padding:100px 0;
    }

@media (max-width: 1350px) {
.tablet{
	display: block;
    width:100%;
    margin: 10px auto;
    padding: 120px 0;
    max-width: 950px;
	}
.pc{
    display: none;
    }
.sp{
    display: none;
    }
.list p a{
    width: 28vw;  
    min-width: 350px;
    }
}


@media (max-width: 1100px) {
.tablet{
    display: block;
    padding: 70px 0;
    width:100%;
	}
.sp{
    display: none;    
    }
.pc{
      display: none;
	}
.t40-42{
        padding:85px 0;
    }
.t40-42 .listBox{
        display: block;
    }
.t40-42 .list-wrapper{
     margin: 15px auto;
    }
.button4_Box{
    width:85%!important;
    margin: 0 auto;
    }
.button4_Box div{ 
    width:100%!important; 
    }

.pdd0 a
    {
    padding:10px 2rem!important;    
    }
.pdd_Top0 a {
    padding: 10px 3rem!important;
    line-height:27.3px;
 }
.s a{
      padding: 1.75rem 4rem;  
    }
.list_0{
    width: 33%;
    margin: 0 auto;
    padding: 5px 0; 
    }
.TopButton{
	 margin: 0 auto !important;
	}
.button4{
	margin: 15px 5px;
	}
.list-wrapper{
	margin: 15px 15px;
	}
.list p a{
        width:305px!important;
    }
}

@media (max-width: 980px) {
.tablet{
    display: none;
	}
.pc{
    display: none;
    }
.sp{
    display: block;
    padding: 10px 0;
	}
.t40-42{
        padding:40px 0;
    }
.t40-42 .TopListBox{
        padding: 10px 0 10px!important;
    }
    .list_0{
        width: 306px!important;
    }
.pdd0 a{
    padding:10px 4rem!important;    
    }

.listBox{
    display: block;
    }
.list p a {
     width:315px!important;
	 margin: 0 0 0 86px!important;
     min-width:250px!important;
	}
.listB p a{
    margin: 0 0 0 64px!important;
    width:257px!important;
    }
.TopListBox{
        margin: 0!important;
    }
.list-wrapper{
      margin: 15px auto;
    }
	.top2{
		padding: 20px 0px!important;
		top:0!important;
		width: 88%!important;
	}
	.top_title{
		top:12px!important;
        width: 20%!important;
	}
	.button4_Box{
    padding:26px 0!important;
	}
	.button4{
     margin: 10px 5px!important;
	}
	.botton_flex span{
		display: block;
	}
	.contents h2{
		top:0!important;
	}
	.contents{
	padding: 125px 0 15px;
	min-width: 500px;
	}
	.contents h2{
		font-size: 3rem;
	}
}
@media (max-width: 600px) {
    .sptop{
        display: block!important;
    } 
   .top{display: none!important;
        display: block;
    } 
    .sptopimg,
    .button4_Box{
        min-width: 490px!important;
    }
    .list_40-{
        width:45%!important;
    }
footer p{
          font-size: 13px!important;  
    }
.none{
        display: none!important;
    }
}