﻿/*---------------------------------------------
 動画
--------------------------------------------*/
.video_text{
    font-size: 3rem;
}
.video_wrap{
    width: 80vw;
    height: 46vw;
    margin-bottom: 100px;
    border-radius: 20px;
}
 .video_wrap video{
     border-radius: 20px;
 }
 
/* タブレット */
@media screen and (max-width: 768px){
    .video_wrap{
        width: 88vw;
        height: 50vw;
    }
    .video_wrap video{
        width: 88vw;
        height: 50vw;
        position: relative;
        left: 50%;
        -webkit-transform: translate(-50%, 0%);
        -ms-transform: translate(-50%, 0%);
        transform: translate(-50%, 0%);
    }
}

/* スマホ */
@media screen and (max-width: 667px){
    .video_wrap{
        width: 90vw;
        height: 56vw;
        overflow: hidden;
        margin-bottom: 50px;
        border-radius: 15px;
    }
    .video_wrap video{
        width: 90vw;
        border-radius: 15px;
    }
}

/*---------------------------------------------
 テンプレート ・CMS・下層ページ 
--------------------------------------------*/
.overlay ul li a.bg_color1{display: none;}
header{background-color: #35a8d4;}
.menu{max-width: 350px;width: 25%;}
.menu .logo{
    padding: 0px;
    padding-top: 0px;
    background-color: transparent;
}
.menu .logo a img{width: 100%!important;}
.more_txt2{
    color: #0e2849;
    font-weight: bold;
}
.cms_link_box:nth-child(2) a{
    color: #0e2849;
    font-weight: bold;
}
.cms_link_box:nth-child(1) a:hover{color: #fff;}
.yoyaku_1,.yoyaku_2{
    display: block;
    width: 45%;
    padding: 10px 0px;
    text-align: center;
    border-radius: 5px;
    margin: 20px auto 0;
    transition: all 0.3s;
    box-shadow: 1px 2px 5px #ccc;
}
.yoyaku_1{
    background-color: #fee101;
    color: #0e2849;
    font-weight: bold;
}
.yoyaku_2{
    background-color: #35a8d4;
    color: #fff;
    font-weight: bold;
}
.yoyaku_1:hover,.yoyaku_2:hover{
    letter-spacing: 0.3em;
    opacity: 0.7;
}

#catch{background-color: #aae8f7;}
#catch .box .title{font-size: 1.7em; font-weight: bold;}
#catch .box{
    width: 70%!important;
    margin: 20px auto;
    border-radius: 15px;
}
#catch .txt{font-weight: bold;
    color: #0087bb;
}
#catch .list{
    padding: 10px;
    background-color: #fff;
    font-weight: bold;
    color: #424242;
    font-size: 1.4em;
    margin: 15px 0;
    border-radius: 10px;
}
#catch .list i{
    color: #fee101;
    background-color: #35a8d4;
    border-radius: 50%;
    padding: 6px 5px 4px;
}


#contents{
    padding-top: 150px;
    background-color: #aae8f7;
}
#contents .box h3{font-size: 1.7em;}
#contents .box .box_item .sub_title{
    font-size: calc(3rem);
    position: absolute;
    top: -10px;
    left: -30px;
    transform: rotate(-25deg);
    -moz-transform: rotate(-25deg);
    -webkit-transform: rotate(-25deg);
}
#contents .box figure{width: 38%!important;}
#contents .box:nth-child(even) figure{margin-left: 60%;width: 40%!important;}
#contents .box.con2{margin-top: 150px;}
#contents .box.con3{margin-top: 150px;}
#contents .box:nth-child(3) figure{border-radius: 10px;border: 5px solid #fff;}
#contents .box:nth-child(4) figure{border-radius: 10px;border: 5px solid #fff; margin-left: 62%;}
#contents .box .box_item.item_1{margin: 50px auto;}
#contents .box:nth-child(2) figure{border-radius: 10px;border: 5px solid #fff;margin: 0 auto;width: 50%!important;}

#page_title{
    background-size: 100%;
    background-attachment: scroll;
    background-position-y: bottom;
    
        background-color: #6dc2e3;
}
.flow_type3 .cate_img1{max-height: 450px;}
.flow_type3 .cate_img1 img{height: auto!important; width: 100%!important;}

.footer_con{width: 100%!important;}
.footer_tel{display: none;}

/* タブレット */
@media screen and (max-width: 768px){
    .menu{display: block; max-width: 230px;}
    .menu .logo{
        padding-top: 7px;
        display: none;
    }
    .yoyaku_1,.yoyaku_2{width: 100%;}
    #catch .box{width: 85%!important;}
    #contents{padding-top: 90px;}
    #contents .contents_wrap{width: 100%!important;}
    #contents .box figure,#contents .box:nth-child(even) figure{width: 90%!important; margin: 0 auto;}
    #contents .box .box_item{margin-top: 25px;}
    
    #page_title{margin-top: 70px;}
    .flow_type3 .cate_img1{max-height: 300px;}
}
/* スマホ */
@media screen and (max-width: 667px){
    header.clone-nav{padding: 0;padding-top: 5px;}
    header .logo, header .logo img{height: 60px!important;}
    .menu{width: 50%;}
    .menu .logo{padding-top: 20px;}
    .top_loader .loader_txt.top_text{
    max-width: 180px;
}
    .top_loader .loader_txt{ max-width: 160px;}
    .top_loader .logo{
    width: 80%!important;
}
    #contents{padding-top: 50px;}
    #contents .box.con2,#contents .box.con3{margin-top: 70px;}
    #catch .box{width: 94%!important;}
    #catch .list{justify-content: space-between}
    #catch .list .list_icon{width: 10%;}
    #catch .list .list_text{width: 85%;}
    #catch .box .title{font-size: 1.5em;letter-spacing: 0em;}
    
    #page_title{    margin-top: 60px;}
}

/*動く背景*/
#catch,#page_title{
	background-image: url('./Dup/img/dec01.png')!important;
	background-size: 200px;
	background-position: top 0 left 0;
	background-repeat: repeat;
	animation: bgloop 20s linear infinite;
}
@keyframes bgloop {
	0% {background-position: top 0 left 0;}
	100% {background-position: top -400px left 400px;}
}
/*flow_type3*/
.flow_type3 .cate{counter-reset: box;}
.flow_type3 .cate_box{counter-increment: box;}
.flow_type3 .box_item{padding-top: 60px;}
.flow_type3 .box_title1{z-index: 0}
.flow_type3 .box_title1::before, .flow_type3 .box_title1::after{
	position: absolute;
	content: "";
	display: block;
	pointer-events: none
}
.flow_type3 .box_title1::before {
	content: "0"counter(box);
	font-size: 86px;
	color: #d6f7fe;
	left: 0;
	top: -70px;
	z-index: -1;
}
.flow_type3 .box_title1::after{
	width: 100%;
	height: 1px;
	bottom: 0;
	left: 0;
	background-color: #222
}
/*-------- スマートフォン --------*/
@media screen and (max-width: 667px){
.flow_type3 .box_title1::before{
	left: auto;
	right: 0;
	top: -50px
}
.flow_type3 .box_item {
    padding-top: 36px;
}
}
/* --------------------------------------------
 メインイメージ 
---------------------------------------------*/
.menu{
    top: 0px;
    left: 0px;
    transform: translateY(0%) translateX(0%);
    -webkit- transform: translateY(0%) translateX(0%);
}
.main_img img{
    position: absolute;
    width: auto;
	height: 100%;
	top: 50%;
	left: 50%;
    transform: translate(-50%,-50%);
    vertical-align: bottom;
}
@media screen and (min-width: 1550px){
    .main_img img{
        width: 100%;
        height: auto;
    }
}
/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){
    .main_img img{
        width: 100%;
        height: auto;
    }
    .main_img{
        height: 80vh;
        max-height: 600px;
    }
}


/*--------------------------------------------
 全体 
----------------------------------------------*/
.linkStyle{
	color:#35a8d4;
	text-decoration: underline;
	transition: all 0.5s;
}
.linkStyle:hover{
	color:#35a8d4;
	opacity: 0.7;
	text-decoration: none;
}
.box_txt1 a{color: #35a8d4;font-weight: bold;transition: all 0.3s;}
.box_txt1 a:hover{opacity: 0.7;}

.txt_color1,.hvr_txt_color1:hover{color: #35a8d4;} 
/*.txt_color2,.hvr_txt_color2:hover{color: #f4f3f2;} */
.txt_color3,.hvr_txt_color3:hover{color: #fee101;} 
/*.txt_color4,.hvr_txt_color4:hover{color: #eae4df;} */
/*.txt_color5,.hvr_txt_color5:hover{color: #f2ede7;}*/ 

.bg_color1,.hvr_bg_color1:hover{background-color: #35a8d4;}
/*.bg_color2,.hvr_bg_color2:hover{background-color: #f4f3f2;}*/
.bg_color3,.hvr_bg_color3:hover{background-color: #fee101;} 
/*.bg_color4,.hvr_bg_color4:hover{background-color: #eae4df;} */
/*.bg_color5,.hvr_bg_color5:hover{background-color: #f2ede7;}*/ 

.border_color1,.hvr_border_color1:hover{border-color: #35a8d4;}
/*.border_color2,.hvr_border_color2:hover{border-color: #f4f3f2;}*/
.border_color3,.hvr_border_color3:hover{border-color: #fee101;}
/*.border_color4,.hvr_border_color4:hover{border-color: #eae4df;}*/
/*.border_color5,.hvr_border_color5:hover{border-color: #f2ede7;}*/

/* タブレット */
@media screen and (max-width: 768px){}
/* スマホ */
@media screen and (max-width: 667px){}