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

/* =======================================
	お問合わせバナー
======================================= */
p.banner_text{
	padding-top:8px;
	font-size:60%;
	text-align:center;
	font-weight:700;
}
.banner_big_text{
	font-size:182%;
}
	
.auto-popup {
    position: fixed;
	z-index:9999;
    right: 3em;
    bottom: -12em;
    opacity: 0;
    text-decoration: none;
    transition: bottom 500ms cubic-bezier(0.105, 0.295, 0.400, 1.275) 0ms,
        opacity 500ms cubic-bezier(0.105, 0.295, 0.400, 1.275) 0ms,
        box-shadow 200ms ease 0ms,
        transform 200ms ease 0ms;
}
.auto-popup-active {
    bottom: 2em;
    opacity: 1;
	border-radius:20px;
}
.auto-popup:hover {
    box-shadow: 0em 0em 0.3em 0em rgba(0, 0, 0, 0.5);
    transform: translate(0.1em, 0.1em);
}
.auto-popup-close {
    position: absolute;
    right: -0.5em;
    top: -0.5em;
    background-color: #000000;
    width: 2em;
    height: 2em;
    border-radius: 1em;
    transform: rotate(45deg);
    cursor: pointer;
    transition: transform 200ms ease 0ms,
        background-color 200ms ease 0ms;
}
.auto-popup-close:hover {
    background-color: #ff0000;
    transform: rotate(135deg);
}
.auto-popup-close-line:nth-child(odd) {
    position: absolute;
    width: 60%;
    height: 10%;
    left: 20%;
    top: 45%;
    background-color: #ffffff;
}
.auto-popup-close-line:nth-child(even) {
    position: absolute;
    width: 10%;
    height: 60%;
    left: 45%;
    top: 20%;
    background-color: #ffffff;
}


/*  mainvisual */
#mainvisual{
	width:100%;
	height:100vh;
	background-size: cover;
	background: #003567;
}

.header-logo{
	text-align: center;
	z-index: 10;
	position: absolute;
	width: 100%;
	bottom: 0px;
}
.header-logo img{
	width:90px;
	display:block;
	margin: 0 auto;	
}

.header-logo h1{
	color: #fff;
	padding-bottom: 10px;
	font-size: 35px;
}

/*.scroll a {
  display: inline-block;
  position: absolute;
  right: 50px;
  bottom: 0;
  z-index: 2;
  padding: 10px 10px 110px;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
}
*/
.scroll a::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 1px;
    height: 80px;
    background: #fff;
    animation: sdl 2s cubic-bezier(1, 0, 0, 1) infinite;}	


@keyframes sdl {
  0% {
    opacity: 1;
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  30% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  30.1%, 70% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    opacity: 0;
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}













/*   news  */

#news{
	position: relative;
    padding: 70px 0;
	width: 100%;	
}
#news a{
	color: #333;	
}

.topic{
    display: flex;
    margin: 5% auto;
    justify-content: center;}

.topic-title{
	border-right: 3px solid #003567;
    width: 15%;
    margin-right: 10px;
    text-align: center;
    padding-bottom: 30px;}
.scroll{
	display: inline-block;
  position: absolute;
  right: 50%;
  bottom: 0px;
  z-index: 2;
  padding: 10px 10px 110px;
  overflow: hidden;
  color: #fff;
  font-size: 9px;
  font-family: 'Josefin Sans', sans-serif;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;

	height: 90px;
	padding: 10px 5px;	
}
.scroll a{
    width: 100%;
    height: 90px;
    color: #fff !important;
    font-size: 130%;
    font-weight: bold;
	font-family: 'Shippori Mincho', serif;	
}

.topic-title h2{
	padding-top: 40px;
    font-size: 200%;
    color: #003567;	
}

.topic-title span{
	font-size: 110%;
    color: #003567;	
}

.readmore-btn{
    margin: 30px auto 0;
}
.readmore-btn a{
	width: 130px;
    background: #003567;
    padding: 8px 15px;
    color: #fff !important;
    font-size: 100%;
	letter-spacing: 2px;
	font-weight: bold;
}
.readmore-btn a:hover{
	background: #fff;
	border: 1px solid #003567;

	color: #003567 !important;	
}

.topic-list{
    margin: 10px 10px 10px 30px;
    width: 50%;
}

.topic-list > li > ul{
	border-bottom: 1px dashed #003567;
	margin: 5px;
}

.topic-list > li > ul a > li.date{
	font-size: 90%;
	padding-left: 5px;
}
.topic-list > li > ul a >li.text{
	font-size: 110%;
    padding: 5px;
}

.topic-list > li > ul a >li:hover{
	color: #F90;	
}


.banners{
	width: 1100px;
	display: flex;
	justify-content: center;
	margin:10px auto 60px;
}

.banners img{
	width: 480px;
	height:140px;
	object-fit: contain;
}

.banners-subsidy{
	position: relative;
	width: 480px;
	height: 140px;
	margin: 0 auto;
	display: block;
	overflow: hidden;
	cursor: pointer;	
}
.banners-subsidy img{
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
	display: block;
	-webkit-transition: .4s ease-in-out;
	transition: .4s ease-in-out;
}

.banners-hover{
	opacity: 0;	
}
.banners-hover:hover{
	opacity: 1;	
}


/* greeting */

#greeting{
	/*margin: 100px auto;	*/
}

#greeting h2{
	text-align: center;
	color: #003567;
	font-size: 34px;
}

#greeting p{
	width: 55%;
    margin: 60px auto;
    line-height: 32px;
    font-size: 110%;
    letter-spacing: 2px;}

.courses ul{
    width: 1100px;
    margin: 0 auto;
    justify-content: center;
    display: flex;}
.courses ul li{
	width: 350px;
	height: 270px;
	margin: 0 5px;
	position: relative;	
}
.courses-title {
    width: 350px;
    position: absolute;
    top: 40%;
    /* left: 120px; */
    z-index: 10;
    text-align: center;
    padding: 10px;
    background: rgba(0, 53, 103, .7);
}


.zoom-with-text-link h3{
	font-size: 200%;
	text-shadow:1px 1px 0 #003567,
				-1px 1px 0 #003567,
				1px -1px 0 #003567,
				-1px -1px 0 #003567;
	color: #fff;	
}
.zoom-with-text-link h4{
	color: #fff;
	padding-bottom: 5px;
}

.zoom-with-text {
    max-width: 350px;/* 幅を指定 */
}
.zoom-with-text-image {
    overflow: hidden;
    position: relative;
    height: 270px;
    width: 350px;
	}
.zoom-with-text-link {
background: rgba(0, 53, 103, .7);
    flex-direction: column;
    /* align-items: center; */
    color: #fff;
    text-align: center;
    display: flex;
    font-size: 90%;
    font-weight: 600;
    /* height: 100%; */
    justify-content: center;
    left: 0;
    position: absolute;
    text-decoration: none;
    top: 40%;
    width: 100%;
    z-index: 2;
}

.zoom-with-text-photo {
    display: block;
    left: 0;
    position: absolute;
    top: 0;
    transition: all .2s ease-in-out;
    z-index: 1;
}
.zoom-with-text-link:hover {
    text-shadow: 0 0 35px rgba(0,0,0,.4);
}
.zoom-with-text-link:hover +.zoom-with-text-photo {
    transform: scale3d(1.1,1.1,1); /* hover時の倍率を指定 */
}


/* blog */

#blog{
	margin: 100px auto;
	width:100%;	
}
#blog .content{
	text-align: center;
	width: 1100px;
	margin: 0 auto;	
}

#blog h2{
	color: #003567;
	font-size: 200%;	
}
#blog h3{
	color: #003567;
	font-size: 90%;	
}

.blog-title{
	text-align: center;
	position: relative;
  line-height: 1.4;
  padding:0.25em 1em;
  display: inline-block;	
}
.blog-title:before{
  border-left: solid 1px #003567;
  border-top: solid 1px #003567;
  top:0;
  left: -3px;
}

.blog-title:after{
  border-right: solid 1px #003567;
  border-bottom: solid 1px #003567;
  bottom:0;
  right: -12px;
}

.blog-title:before,
.blog-title:after{
  content:'';
  width: 30px;
  height: 30px;
  position: absolute;
  display: inline-block;
}

.blog-box{
	padding: 50px 0;	
}

.blog-list{
	display: flex;
	justify-content: space-evenly;	
}

.blog-list > li > ul >li:first-of-type{
	margin: 0;
    padding: 0;
}

.blog-list > li > ul a>li:first-of-type img {
    object-fit: cover;
    border-radius: 50%;
    width: 250px;
    height: 250px;
}

.blog-list > li >ul {
	position: relative;
    width: 250px;
    height: 250px;
	overflow: hidden;
}

.blog-text{
   position:    absolute;
    border-radius: 50%;
    width: 250px;
    height: 250px;
   top: 0;
   left: 0;
   color: #fff;
   background-color:    rgba(0,0,0,0.65);
   /*透明にして表示させない*/
   opacity: 0;
   /*ホバーの動き方*/
   transition: .3s ease-in-out;	
       display: flex;
    flex-direction: column;
    padding: 30% 10px;
}

.blog-text:hover,
.blog-list > li> ul:hover{
	/*不透明にして表示*/
  opacity: 1;
  /*padding-topで上からスライド*/
}

.blog-text .date{
	font-size: 120%;	
}
.blog-text .text{
    font-size: 120%;
    padding-top: 10px;
}
.blog-btn{
	margin: 60px auto;	
}

.blog-btn a{
	font-size: 20px;
  font-weight: bold;
	background: #003567;	
	color: #fff;
  position: relative;
  z-index: 1;
  display: inline-block;
  transition: .3s;  
  padding: 15px 30px;
    text-decoration: none;
  color: #FFF;
 outline: 1px solid;
  outline-color: #003567;
  outline-offset: 0px;
}

.blog-btn a:hover{
 animation: light .8s infinite;
 }
@keyframes light {
  100% { 
    outline-color: transparent;
    outline-offset: 12px;
  }
}