@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@600&display=swap');

a:link{
	color:#22a1b7;
	text-decoration:none;
}

a:visited{
	color:#22a1b7;
	text-decoration:none;
}

a:hover{
	color:#22a1b7;
	text-decoration:none;
}

.thx_postion{
	position: absolute;
	bottom: 0;
}
.bg_img{
	background:#fff;
	position: relative;
}


@media screen and (min-width:641px )
{
    #contents .msg_btnWrap{
        max-width:1080px;
        margin:4vw auto 2vw auto;
        text-align: center;
    }
    #contents .msg_btn {
        color: #22a1b7;
        font-size: 1.0rem;
        font-weight: bold;
        text-decoration: none;
        margin:0 auto;
    }

	/*メールフォーム*/
	
	#contents .contactForm{
		max-width:700px;
		height:auto;
		margin:30px auto 0 auto;
		padding:1vw;
		text-align:left;
		border:0px;
		border-radius: 2vw;
		background: linear-gradient(90deg, rgb(198, 234, 218), rgb(200, 245, 255));
		color:#222;
	}
	#contents .contactForm ul {
		display: flex;
		flex-flow: row wrap;
		align-items: center;
	}
	#contents .contactForm li.labeltxt {
		width:  230px;
		padding-right: 30px;
		text-align: right;
		font-size: 1.0rem;
	}
	#contents .contactForm div.sectionhead {
		margin: 50px 0 20px 10px;
		font-size: 1.0rem;
		font-weight: bold;
	}
    #contents .cntPs{
        width:100%;
        text-align: center;
        margin:20px 0;
    }
	input#submit_button {
	    width: 100px;
	    height: 50px;
	    margin: 20px 0 0 0;
	    padding: 0px;
	    font-size: 32px;
	    font-weight: bold;
	    background: #22a1b7;
		color: #fff;
        text-decoration: none;
        transition-property: opacity;
        -webkit-transition-property: opacity;
        transition-duration: 0.5s;
        -webkit-transition-duration: 0.5s;
	}
	#contents .hsT{
		width:100%;
		background-image:url("../img/topImg_pc1.jpg");
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center center;
		padding-top: 60.9375%;
		position: relative;
		margin-top: -20%;
	}
	#contents .header_inner_msg{
		width:80%;
		height:auto;
		margin: 20% 10% 0 10%;
		text-align: center;
		position: absolute;
		top:2vw;
	}
	#contents .mainImage{
		width:80%;
		height:0;
		margin:0 10%;
		padding-top: 35.0256%;
		background-image:url(../img/topImg_pc2.png);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center center;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
	}
	
	@media screen and (min-width:1281px){
		#contents .hsT{
			width:100%;
			background-image:url("../img/topImg_pc1.jpg");
			background-repeat: no-repeat;
			background-size: cover;
			background-position: center center;
			padding-top: 780px;
			position: relative;
			margin-top: -250px;
			text-align: center;
		}
		#contents .header_inner_msg{
			width:100%;
			height:auto;
			margin: 210px auto 0 auto;
			text-align: center;
			position: absolute;
		}
		#contents .mainImage{
			width:820px;
			background-image:url("../img/topImg_pc2.png");
			background-repeat: no-repeat;
			background-size: contain;
			background-position: center center;
			padding-top: 445px;
			top:0;
			margin:0 auto;
		}
		
	}

	#contents .corner{
		width:100%;
		height:auto;
		margin:0 auto 0 auto;
		padding: 2.5vw 0 2.5vw 0;
	}
	#contents .corner .message_area .description {
    margin: 30px 0 80px 0;
    color: #222;
    text-align: center;
    font-size: 1.0rem;
	}
	#contents .corner .message_area .description p.head {
		font-size: 2.5em;
		color:#22a1b7;
	}
	#contents .contactForm .formTable{
		margin:0 auto;
	}
	#contents .contactForm .formTable th{
		padding:0 0 20px 0;
		font-size:16px;
	}
	#contents .contactForm .formTable td{
		padding:0 0 20px 0;
		font-size:16px;
	}
	#contents .contactForm .formTable .btns{
		margin:0 20px;
	}
	#contents .contactForm  input, select, textarea {
		width: 330px;
		padding:6px;
        margin: 8px 0;
		font-size:14px;
        box-sizing: border-box;
        transition: 0.3s;
        border: 1px solid #fff;
        border-radius: 4px;
        outline: none;
	}
	#contents  .contactForm .coution_area{
		font-size:14px;
		padding:0;
		line-height: 1.5em;
        color:#22a1b7;
	}
	#contents  .contactForm .thanks{
		margin: 60px auto 100px auto;
		font-size: 24pt; 
		text-align: center;
		color:#22a1b7;
		line-height:1.5em;
	}
	#contents .top_btn a:link{
		width:640px;
		height:44px;
		margin: 0 auto 20px auto;
		padding:0 0 20px 0;
		display:block;
		text-align:center;
		box-sizing: border-box;
	}
	#contents .top_btn a:hover{
		filter: alpha(opacity=50);
		-moz-opacity:0.50;
		opacity:0.50;
	}
}
	
	
/* スマートフォン用 */

@media screen and (max-width:640px )
{
/*	.pc { display: none !important; }
	.sp { display: block !important; }*/

	/*トップ*/
	#contents .corner{
		width:100%;
		height:auto;
		margin:3vw auto 0 auto;
		padding: 0;
	}
	#contents .corner .contactForm{
		width:90%;
		height:auto;
		margin:0 auto;
		padding:2vw 0 1vw 0;
		color:#222;
		background: linear-gradient(90deg, rgb(198, 234, 218), rgb(200, 245, 255));
	}
	#contents .contactForm  input, select, textarea {
		padding:4px;
        margin: 0 0 10px -10px;
		font-size:14px;
        box-sizing: border-box;
        transition: 0.3s;
        border: 1px solid #fff;
        border-radius: 4px;
        outline: none;
	}
    #contents .contactForm label{
        font-size:16px;
        font-weight:bold;
        margin:20px 0 0 -10px;
    }
    #contents .entry_text{
        font-size:16px;
        font-weight:bold;
        margin:0;
    }
	input#submit_button {
		width: 70%;
		height: 50px;
		margin:20px auto 20px auto;
		padding: 0px;
		font-size:4vw;
        font-weight: bold;
        background:#22a1b7;
        color:#fff;
	}
	#contents .hsT{
		width:100%;
		height:0;
		background-image:url("../img/topImg_sp1.jpg");
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center;
		padding-top: 178.125%;
		position: relative;
		margin-top:-55%;
	}
	#contents .header_inner_msg{
		width:80%;
		height:auto;
		margin: 80% 10% 0 10%;
		text-align: center;
		position: absolute;
		top:0;
	}
	#contents .mainImage{
		width:90%;
		height:0;
		margin:-7% auto 0 auto;
		padding-top: 86.36%;
		background-image:url(../img/topImg_sp2.png);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center center;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
	}
	
    #contents .cntPs{
        width:100%;
        text-align: center;
        margin:20px 0;
    }
	#contents .btt_btn{
		width: 370px;
		height: 58px;
		margin: 30px auto;
		padding: 0;
		border:1px #22a1b7 solid;
		box-sizing: border-box;
	}
    #contents .msg_btnWrap{
        max-width:640px;
        margin:5em 0 0 0;
		padding-bottom: 40px;
        text-align: center;

    }
    #contents .msg_btn {
        color: #22a1b7;
        font-size: 4.5vw;
        font-weight: bold;
        padding: 0;
		margin: 0;
        text-decoration: none;
        transition-property: opacity;
        -webkit-transition-property: opacity;
        transition-duration: 0.5s;
        -webkit-transition-duration: 0.5s;
		box-sizing: border-box;
    }	
	#contents .coution_area{
		font-size:12px;
		color:#22a1b7;
		padding:0;
		margin:30px 0 40px -40px;
		border: 0;
		line-height: 1.25em;
		text-align:center;
	}
	#contents .coution_area p{
		color:#22a1b7;
	}
	#contents .contactForm div.sectionhead {
		margin: 50px 0 20px 10px;
		font-size: 1.0rem;
		font-weight: bold;
	}
	#contents .corner .message_area{
		height: auto;
		margin: 0;
		padding:0;
	}
	#contents .corner .message_area .description {
    margin: 0 0 80px 0;
	padding: 4vw;
    color: #222;
    text-align: center;
    font-size: 1.0rem;
	}

	#contents .corner .message_area .description p.head {
		font-size: 2.5em;
		color:#22a1b7;
	}
	#contents .contactForm ul {
		display: flex;
		flex-flow: row wrap;
		align-items: center;
	}
	#contents .contactForm li input, select, textarea{
		width:  100%;
		text-align: left;
		font-size: 1.0rem;
		margin-bottom:10px;
	}
	#contents .contactForm li.labeltxt{
		width:  100%;
		font-size: 1.0rem;
		margin-bottom:5px;
	}
}