@charset "UTF-8";

/*******************************
 
MessageCss
代表挨拶で利用するCSS
 
*******************************/

/*------メイン画像------*/
/*#main-img{
	background: url("../img/main_img.jpg") no-repeat center top;
    background-size: cover;
    padding: 15% 0 12%;
	text-align: left;
}*/
#main-img{
	position: relative;
	z-index: -1;
}
#main-img img{
    width: 100%;
    max-width: none;
}
#main-img p{
	color: #fff;
	font-size: 28px;
}
#main-img .main-ttl{
	text-align: left;
	position: absolute;
	bottom: 20%;
    left: 15%;
}
#main-img p.message-cat{
	font-size: 36px;
	font-weight: 500;
	margin-bottom: 30px;
}
#main-img p.message-name{
	font-size: 16px;
	margin-top: 30px;
}
#main-img span{
    font-size: 6.8rem;
    font-weight: bold;
    color: #fff;
}
@media screen and (max-width: 767px){
    #main-img{
        padding: 15% 0;
    }
    #main-img span{
        font-size: 2rem;
    }
	#main-img .main-ttl{
		position: unset;
		background-color: #4fb6c5;
		padding: 5%;
		text-align: center;
	}
	#main-img p.message-cat {
		font-size: 21px;
	}
	#main-img p {
		font-size: 2.4rem;
	}
}



/*------sec01------*/
.sec01{
    margin-bottom: 90px;
}
.sec01 .inner{
	display: block;
    max-width: 850px;
	margin: auto;
}
.sec01 h2{
    font-size: 6rem;
    font-weight: bold;
}
.sec01 .img{
    margin: 40px auto;
}
.sec01 h3{
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 20px;
}
.sec01 p{
    line-height: 2.2;
}

@media screen and (max-width: 767px){
    .sec01{
        margin-bottom: 40px;
    }
	.sec01 .inner{
		margin: 0 8%;
	}
    .sec01 h2{
        font-size: 3.4rem;
    }
    .sec01 .img{
        margin: 20px auto;
    }
    .sec01 h3{
        font-size: 2.4rem;
        margin-bottom: 10px;
    }
    .sec01 p{
        line-height: 1.8;
    }
}


/*------sec02------*/
.sec02{
    position: relative;
    max-width: 1200px;
    margin: 0 auto 90px;
}
.sec02 .inner{
    display: block;
    width: 36%;
    margin: auto;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
}
.sec02 h3{
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 25px;
}
.sec02  p{
    line-height: 2.2;
}
.flex-box{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    justify-content: center;
}

@media screen and (max-width: 767px){
	.sec02{
	    margin: 0 8% 40px;
	}
	.sec02 .inner{
		width: 100%
	}
    .sec02 h3 {
        font-size: 2rem;
        margin: 15px 0;
    }
	.flex-box{
    	display: block;
	}
}


/*------sec03------*/
.sec03{
    margin-bottom: 90px;
}
.sec03 .inner{
	display: block;
    max-width: 850px;
	margin: 0 auto;
}
.sec03 img{
    margin: 20px auto 0;
}
.sec03 h3{
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 20px;
}
.sec03 p{
    line-height: 2.2;
}

@media screen and (max-width: 767px){
    .sec03{
	    margin: 0 8% 40px;
	}
	.sec03 h3 {
        font-size: 2rem;
        margin: 15px 0;
    }
    .sec03 p{
        text-align: left;
        line-height: 1.8;
    }
}
