@charset "UTF-8";
/* CSS Document */
#contactBack{
    background-image: url('../images/contact-back.jpg');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
    height: 400px; 
}
.contact{
	padding: 5vh 0;
	width: 100%;
}
.contact table{
	width: 100%;
	font-weight: 300;
}
.contact td{
	padding: 0.5em 0;
}
.contactFormRow1{
	width: 15%;
}
.contactFormRow2{
	font-weight: 300;
	width: 10%;
}
.contactFormName input{
	background: #fff;
	border-radius: 0.2em;
	border: solid 1px #E2E2E2;
	padding: 0.5em 2%;
	border-radius: 0.2em;
	width: 80%;
}
.contactFormOther{
	width: 70%;
}
.contactFormOther input{
	background: #fff;
	border-radius: 0.2em;
	border: solid 1px #E2E2E2;
	padding: 0.5em 2%;
	border-radius: 0.2em;
	width: 96%;
}
.contactFormAddress1{
	width: 70%;
}
.contactFormAddress1 input{
	background: #fff;
	border-radius: 0.2em;
	border: solid 1px #E2E2E2;
	padding: 0.5em 2%;
	border-radius: 0.2em;
	width: 40%;
}
.contactFormAddress2{
	width: 70%;
}
.contactFormAddress2 input{
	background: #fff;
	border-radius: 0.2em;
	border: solid 1px #E2E2E2;
	padding: 0.5em 2%;
	border-radius: 0.2em;
	width: 96%;
}

.mandatory{
	font-weight: 300;
	padding: 0em 0.25em;
	background:#fff;
	color: #ff143d;
	border: solid 1px #ff143d;
}
.any{
	font-weight: 300;
	padding: 0em 0.25em;
	background:#fff;
	color: #000;
	border: solid 1px #000;
}
.contactFormContents{
	width: 70%;
}
.contactFormContents textarea{
	background: #fff;
	border-radius: 0.2em;
	border: solid 1px #E2E2E2;
	padding: 0.5em 2%;
	border-radius: 0.2em;
	width: 96%;
	height: 10em;
	display: block;
}

#policy {
	font-weight: 200;
	font-size: 1em;
	line-height: 1.9em;
	overflow-y: scroll;
	height:100px;
	width:95%;
	background: #fff;
	padding: 2.5%;
	text-align:justify;
	margin:0 0 1em 0;
}
.contactPolicy{
	padding: 1em 0;
}
#confirmation {
	text-align: center;
	padding: 5vh 0 0 0;
}
#confirmation a{
	font-size: 1.5em;
	background-color: #ff143d;
	color:#fff;
	border-radius: 2em;
	margin: 0 0 0 1em;
	border: solid 1px #ff143d;
	padding: 0.5em 2em;
}
#confirmation a:hover{
	color:#ff143d;
	background-color:#fff;
	border: solid 1px #ff143d;
	transition-duration: 0.3s;
}

#main2 {
    border-radius: 20px;
    font-size: 30px;
    margin: 0 auto;
    padding: 150px 0 50px;
}
#main2 img{
	width: 45%;
	margin: 0 auto;
}
#main2 p{
	line-height: 1.9em;
}
#green4 {
    margin: 50px auto 20px;
    color: #ff143d;
    font-size: 50px;
    font-weight: 200;
    letter-spacing: 5px;
}
#green5 {
    margin: 20px auto;
    color: #3cbedc;
    font-size: 20px;
    font-weight: 200;
    letter-spacing: 10px;
}
#gray {
    margin: 20px;
    text-align: center;
    color: #9a9a9a;
    font-size: 20px;
    font-weight: 700;
}
#gray2 {
    margin: 70px auto 20px;
    text-align: center;
    font-size: 30px;
    color: #9a9a9a;
    font-weight: 700;
}
@media screen and (max-width: 768px) {
	.contact td{
		display: block;
	}
	.contactFormRow1{
		width: 100%;
	}
	.contactFormRow2{
		width: 100%;
	}
	.contactFormOther{
		width: 100%;
	}
	.contactFormAddress1{
		width: 100%;
	}
	.contactFormAddress2{
		width: 100%;
	}
	.contactFormContents{
		width: 100%;
	}

}

/* レイアウト関連 */
.flexLayout{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
.flexLayoutTop{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
.flexLayoutCenter{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack:center;
	    -ms-flex-pack:center;
	        justify-content:center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
.flexLayoutReverse{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack:  justify;
	    -ms-flex-pack:  justify;
	        justify-content:  space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	    -ms-flex-direction: row-reverse;
	        flex-direction: row-reverse;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
.centerPosition{
	position: absolute;
	top:50%;
	left:50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit-transform: translateY(-50%) translateX(-50%);
}
.longLayout {
	width: 80vw;
	padding: 0 10vw;
}
.shortLayout{
	width: 65vw;
	padding: 0 17.5vw;	
}
@media screen and (min-width: 1920px) {
	.longLayout {
		width: 65vw;
		padding: 0 17.5vw;
	}
	.shortLayout{
		width: 50vw;
		padding: 0 25vw;	
	}	
}
@media screen and (min-width: 2560px) {
	.shortLayout{
		width: 40vw;
		padding: 0 30vw;	
	}	
}
@media screen and (max-width: 1366px) {
	.shortLayout{
		width: 80vw;
		padding: 0 10vw;	
	}
}
@media screen and (max-width: 414px) {
	.longLayout{
		width: 90vw;
		padding: 0 5vw;
	}
	.shortLayout{
		width: 90vw;
		padding: 0 5vw;	
	}
}
@media screen and (max-width: 768px) {
	.flexLayout{
		display: block;
	}
	.flexLayoutReverse{
		display: block;
	}
	.flexLayoutTop{
		display:block;
	}
}