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

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

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

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


@media screen and (min-width:641px )
{

	#contents .container_message {
		width:100%;
		background: url("../img/header_bg.jpg");
		background-attachment: fixed;
		background-size:cover;
	}
	
	#contents  .header_message_inner{
		max-width:1080px;
		width:100%;
		height:auto;
		margin: 0 auto;
		padding-bottom: 2em;
		text-align: center;
		position:relative;
	}
	
	#contents .header_message_text{
        padding:1em 0 0 0;
        margin:0 auto;
        text-align:center;
        letter-spacing: 0.1vw;
		font-family: "times-new-roman", sans-serif;
		font-weight: 700;
		font-style: normal;
		font-size:min(1.75vw,26px);
		color:#fff;
    }
	#contents  .mainImageMSG{
		background-image:url("../img/top_message.png");
		padding-top: 28.74%;
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center center;
		margin: 0 auto;
		position: relative;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
	}

	
	#contents .msg_btnWrap{
        margin:2em auto;
        text-align: center;

    }

    #contents .msg_btn {
        background: rgba(0,0,0,0.0);
		color:#b23746;
        padding: 16px 40px;
        font-size:min(3vw,24px);
        font-weight: bold;
        text-decoration: none;
        transition-property: opacity;
        -webkit-transition-property: opacity;
        transition-duration: 0.5s;
        -webkit-transition-duration: 0.5s;
        margin: 0 auto;
    }

	/*注意事項*/
	
	#contents .coution_area{
		font-size:14px;
		color:#fff;
		padding:0;
		margin:0 0 40px 0;
		border: 0;
		line-height: 1.25em;
		text-align:center;
	}
	
	#contents .coution_area p{
		color:#222;
	}
	
	
	/*メールフォーム*/
	
	#contents .contactForm{
		max-width:700px;
		height:auto;
		margin:30px auto 0 auto;
		padding:1vw;
		text-align:left;
		border:0px;
		border-radius: 2vw;
		background:#fff;
	}
	#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: #b23746;
	    color: #fdf3ee;
        text-decoration: none;
        transition-property: opacity;
        -webkit-transition-property: opacity;
        transition-duration: 0.5s;
        -webkit-transition-duration: 0.5s;
        border-radius: 25px;
	}
	#contents .corner{
		width:100%;
		height:auto;
		margin:0 auto;
		padding: 2.5vw 0 2.5vw 0;
		position: relative;
	}
	#contents .corner .message_area{
		height:70vh;
		margin: 0;
	}
	#contents .corner .message_area .description {
		margin: 30px 0 80px 0;
		color: #b23746;
		text-align: center;
		font-size: 1.0rem;
	}
	#contents .corner .message_area .description p.head {
		font-size: 2.5em;
		color:#b23746;
	}
	#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 #222;
        border-radius: 4px;
        outline: none;
	}
 #contents  .contactForm .coution_area{
		font-size:14px;
		padding:0;
		line-height: 1.5em;
        color:#fff;
	}
	#contents  .contactForm .thanks{
		margin: 60px auto 100px auto;
		font-size: 24pt; 
		text-align: center;
		color:#0b4b66;
		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;
		border:1px solid #f09;
		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 .container_message {
		width:100%;
		padding-bottom: 3vw;
	}
	#contents .header_message_text{
        padding:1em 0 0 0;
        margin:0 auto;
        text-align:center;
        letter-spacing: 0.1vw;
		font-size:4vw;
		color:#fdf3ee;
		font-family: "times-new-roman", sans-serif;
		font-weight: 700;
		font-style: normal;
    }
	
	#contents  .mainImageMSG{
		background-image:url("../img/top_message.png");
		padding-top: 35%;
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center center;
		margin: 0 auto;
		position: relative;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
	}	
	#contents .container {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	}

	#contents .header_inner{
		position:relative;
		width:100%;
		height:auto;
		margin:0 10%;
		text-align: center;
	}

 
	#contents .corner{
		width:100%;
		height:auto;
		margin:0 auto;
		padding: 5vw 0;
		position: relative;
		background: #fdf3ee;

	}
	#contents .corner .contactForm{
		width:80%;
		height:auto;
		margin:0 auto;
		padding:2vw 5% 0 5%;
		background:#fff;
		border-radius: 4vw;
	}
	#contents .contactForm  input, select, textarea {
		padding:4px;
        margin: 0 0 10px 0;
		font-size:14px;
        box-sizing: border-box;
        transition: 0.3s;
        border: 1px solid #000;
        border-radius: 4px;
        outline: none;
	}
    #contents .contactForm label{
        font-size:16px;
        font-weight:bold;
        margin:20px 0 0 0;
    }
    #contents .entry_text{
        font-size:16px;
        font-weight:bold;
        margin:0;
    }
	input#submit_button {
		width: 100px;
		height: 50px;
		margin:20px 0;
		padding: 0px;
		font-size:4vw;
        font-weight: bold;
        background:#b23746;
        color:#fdf3ee;
	}
    #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_btnWrap{
        max-width:640px;
        margin:0;
		padding-bottom: 40px;
        text-align: center;
    }
    #contents .msg_btn {
		color:#b23746;
        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:#fff;
		padding:0;
		margin:30px 0 40px 0;
		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: 60vh;
		margin: 0;
		padding:0;
	}
	#contents .corner .message_area .description {
    margin: 0 0 8vw 0;
	padding: 4vw;
    color: #b23746;
    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;
		color:#b23746;
	}
	#contents .contactForm li.labeltxt{
		width:  100%;
		font-size: 1.0rem;
		margin-bottom:5px;
	}
}