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

a:link{
	color:#245e8e;
	text-decoration:none;
}

a:visited{
	color:#245e8e;
	text-decoration:none;
}

a:hover{
	opacity: 0.5;
}

.thx_postion{
	position: absolute;
	bottom: 0;
}
.bg_img{
	background:url("../img/w_bg.jpg")repeat;
	position: relative;
}
@media screen and (min-width:769px )
{
    #contents .msg_btn{
        color: #245e8e;
		font-size:min(2.25vw,21px);
        font-weight: bold;
        text-decoration: none;
        margin:0 auto 30px auto;
		text-align: center;
    }
    #contents .msg_btn a:hover{
		opacity: 0.5;
    }

	/*メールフォーム*/
	
	#contents .contactForm{
		max-width:700px;
		height:auto;
		margin:30px auto 0 auto;
		padding:1vw;
		text-align:left;
		border:0px;
		border-radius: 2vw;
		background-color:#f7dc58;
		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: 300px;
	    height: 50px;
	    margin: 20px 0 0 0;
	    padding: 0px;
	    font-size: 32px;
	    font-weight: bold;
	    background: #245e8e;
		color: #fff;
		border: none;
		border-radius: 25px;
		font-size: 21px;
	}
	input#submit_button:hover{
	    background:#67859D;
		color: #fff;
	}
	#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:0 10%;
		text-align:center;
		position:absolute;
		top:50%;
		transform:translateY(-25%);
	}
	#contents .mainImage{
		width:93.833%;
		height:0;
		margin:0 0 0 3%;
		padding-top: 39.082%;
		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:1201px){
		#contents .hsT{
			width:100%;
			background-image:url("../img/topImg_pc1.jpg");
			background-repeat: no-repeat;
			background-size: cover;
			background-position: center center;
			padding-top: 740px;
			position: relative;
			margin-top: -240px;
			text-align: center;
		}
		#contents .header_inner_msg{
			width:100%;
			height:auto;
			margin:0 auto;
			text-align:center;
		}
		#contents .mainImage{
			width:900px;
			background-image:url("../img/topImg_pc2.png");
			background-repeat: no-repeat;
			background-size: contain;
			background-position: center center;
			padding-top: 375px;
			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:#222;
	}
	#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:not([type="submit"]),
	#contents .contactForm textarea {
		width: 330px;
		padding:12px;
        margin: 8px 0;
		font-size:14px;
        box-sizing: border-box;
        transition: 0.3s;
        border: 1px solid #fff;
        border-radius: 12px;
        outline: none;
	}
	#contents .contactForm select{
		width:180px;
		padding:12px 35px 12px 12px;
		margin: 8px 0;
		font-size:14px;
		box-sizing: border-box;
		border: 1px solid #666;
		border-radius: 12px;
		background:#666;
		color:#fff;
		font-weight:600;
		outline:none;

		/* デフォルト矢印を削除 */
		appearance: none;
		-webkit-appearance: none;
		-moz-appearance: none;

		/* ▼を追加 */
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: right 12px center;
		background-size: 12px;
	}	
	#contents  .contactForm .coution_area{
		font-size:14px;
		padding:0;
		line-height: 1.5em;
        color:#222;
	}
	#contents  .contactForm .thanks{
		margin: 60px auto 100px auto;
		font-size: 24pt; 
		text-align: center;
		color:#245e8e;
		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:768px )
{
/*	.pc { display: none !important; }
	.sp { display: block !important; }*/

	/*トップ*/
	#contents .corner{
		width:100%;
		height:auto;
		margin:3vw auto 0 auto;
		padding: 0;
		text-align: left;
	}
	#contents .corner .contactForm{
		width:90%;
		height:auto;
		margin:0 auto;
		padding:2vw 0 0 0;
		color:#222;
	}
	#contents .contactForm input:not([type="submit"]),
	#contents .contactForm textarea {
		padding:12px;
        margin: 0 0 10px -10px;
		font-size:14px;
        box-sizing: border-box;
        border: 1px solid #245e8e;
        border-radius: 12px;
		background:#F4F8FC;
        outline: none;
	}
	#contents .contactForm select{
		width:180px;
		padding:12px 35px 12px 12px;
		margin: 0 0 10px -10px;
		font-size:14px;
		box-sizing: border-box;
		border: 1px solid #245e8e;
		border-radius: 12px;
		background:#245e8e;
		color:#fff;
		font-weight:600;
		outline:none;

		/* デフォルト矢印を削除 */
		appearance: none;
		-webkit-appearance: none;
		-moz-appearance: none;

		/* ▼を追加 */
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: right 12px center;
		background-size: 12px;
	}	

    #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: #245e8e;
        color:#fff;
		border: none;
		border-radius: 25px;
	}
	input#submit_button:hover{
	    background:#67859D;
		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 center;
		padding-top: 178.125%;
		position: relative;
		margin-top:-95%;
	}
	#contents .header_inner_msg{
		width:90%;
		height:auto;
		margin: 0 5% 0 5%;
		text-align: center;
		position: absolute;
		top:65%;
	}
	#contents .mainImage{
		width:100%;
		height:0;
		margin:-7% auto 0 auto;
		padding-top: 40.391%;
		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 #f09 solid;
		box-sizing: border-box;
	}
    #contents .msg_btn {
        color: #245e8e;
		font-size: 3vw;
        font-weight: bold;
        padding: 0;
		margin: 0 0 8vw 0;
    }	
    #contents .msg_btn a:hover{
		opacity: 0.5;
    }
	#contents .coution_area{
		font-size:12px;
		color:#fff;
		padding:0;
		margin:30px 0 40px -40px;
		border: 0;
		line-height: 1.25em;
		text-align:center;
	}
	#contents .coution_area p{
		color:#222;
	}
	#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;
	}
	#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;
	}
}