@charset "utf-8";

/*============================================================
    IKUYO NAKAMA ARCHITECT/ASSOCIATES 2ND LAYER
  ============================================================ */
/*
layout.css
color:#524439　 link #A86000;
color2:#7e5948  lighter #8c6351
background: #e1e1db/225,225,219　lighter #e7e7e2, #F5F5F3
background2: #c4bfb6  darker #beb8ae;
background3: #cdc9c1   lighter #d6d2cc
point color :#8B7661; #659D9E;

/*--------------------------------------------------
   MAILFORM
 --------------------------------------------------*/  
/* ---- CONTENT----*/

#contact p{
width: 80%;
font-size: 0.96rem;
margin:40px auto;
text-align: left;
}


@media screen and (max-width: 767px) {
#contact p{
 width: 90%;
	margin:auto;
	padding: 0px 10px 10px !important;
}
}

/* -------- MAILFORM -------- */
#mailform-sp{
width: 92%;
margin:40px auto;
background-color: #EDEDEA;
border-radius: 0px;
}

form#mail_form * {
	margin: 0 ;
	padding: 0;
}

form#mail_form {
	maax-width: 920px;
	margin: 10px auto 40px;
	padding: 10px 5px;
	border-radius: 7px;
 font-size: 0.94rem !important;
	line-height: 1.8;
	text-align: left;
}

form#mail_form dl {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

form#mail_form dl dt {
	clear: both;
	width: 24%;
	float: left;
	border-top: 1px solid #cccccc;
	padding: 16px 0 16px;
	font-size: 0.94rem !important;
 letter-spacing: 0.03em;
	text-align: right;
	overflow: hidden;
}

form#mail_form dl dd {
	width: 76%;
	float:left;
	font-size: 0.94rem !important;
	border-top: 1px solid #cccccc;
	padding: 15px 10px 20px 5%;
}

form#mail_form dl dd input{
	float: left;
	margin-right:10px;
	line-height: 2.2;
}
form#mail_form dl dt:first-child,
form#mail_form dl dt:first-child + dd {
	border: none;
}

form#mail_form dl dt span{
	display: block;
	font-size: 82%;
	color: #AF5909;
}

.cf{
    color: #333333 !important;
    font-size:90%;
}


/* -- for JavaScript ここから -------------------------------------------------------------------------------- */

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	display: inline-block;
	float: left;
	color:#D94D16;
	padding: 4px 2px 0px 20px;
	border-radius: 3px;
	font-size: 140% !important;
}

form#mail_form dl dt span.optional {
	display: none;
}

form#mail_form dl dt span.required {
	border: 0px solid #D94D16;
}

form#mail_form dl dt span.optional {
	background: #337ab7;
	border: 1px solid #2e6da4;
}

form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#mail_form dl dd span.error_match {
	display: block;
	font-size:90%;
	color: #D94D16;
	margin-top: 3px;
}


span.loading {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border-top: 5px solid rgba( 255, 255, 255, 0.2 );
	border-right: 5px solid rgba( 255, 255, 255, 0.2 );
	border-bottom: 5px solid rgba( 255, 255, 255, 0.2 );
	border-left: 5px solid #ffffff;
	-webkit-transform: translateZ( 0 );
	-ms-transform: translateZ( 0 );
	transform: translateZ( 0 );
	-webkit-animation: load-circle 1.0s linear infinite;
	animation: load-circle 1.0s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -30px;
	margin-left: -30px;
}

@-webkit-keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}

@keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}
/* -- for JavaScript ここまで ----------------------------------------- */


form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] {
	max-width: 90%;
	padding: 0 2%;
	border: 1px solid #B1A594;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 100%;
	font-family: inherit;
	margin-top: 7px;
}

form#mail_form input[type="text"]:focus,
form#mail_form input[type="email"]:focus,
form#mail_form input[type="tel"]:focus,
form#mail_form textarea:focus {
	box-shadow: 0px 0px 5px #55ccff;
	border: 1px solid #55ccff;
	background: #ffffff;
}

form#mail_form ul li input[type="radio"],
form#mail_form ul li input[type="checkbox"] {
	margin-right: 10px;
	margin-top: 10px;
}

form#mail_form input[type="text"]:focus,
form#mail_form input[type="email"]:focus,
form#mail_form input[type="tel"]:focus,
form#mail_form textarea:focus {
	box-shadow: 0px 0px 5px #55ccff;
	border: 1px solid #55ccff;
	background: #ffffff;
}

form#mail_form ul li:first-child input[type="radio"],
form#mail_form ul li:first-child input[type="checkbox"] {
	margin-top: 0px;
}

/*-- select -- */
form#mail_form select {
	font-size: 100%;
	font-family: inherit;
	margin-top: 10px;
}

.selectbox-002 {
    position: relative;
}

.selectbox-002::before,
.selectbox-002::after {
    position: absolute;
    content: '';
    pointer-events: none;
}

.selectbox-002::before {
    right: 0;
    display: inline-block;
	   margin-top: 0.8em;
    width: 2.8em;
    height: 2.8em;
    border-radius: 0 3px 3px 0;
    background-color: #FEC103;
    content: '';
}

.selectbox-002::after {
    position: absolute;
    top: 50%;
    right: 1.4em;
    transform: translate(50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    content: '';
}

.selectbox-002 select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 230px;
    height: 2.8em;
    padding: .4em 3.6em .4em 1.0em !important;
    border: 1px solid #31a2d5 !important;
    border-radius: 3px;
    color: #666666;
    font-size: 1em;
    cursor: pointer;
}

.selectbox-002 select:focus {
    outline: 1px solid #31a2d5 !important;
}
/*-- select //-- */


form#mail_form textarea {
	display: block;
	width: 90%;
	max-width: 90%;
	height: 200px;
	margin-top:15px;
	padding: 7px 2%;
	resize: vertical;
	border: 1px solid #B1A594;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 100%;
	font-family: inherit;
}


form#mail_form ul {
	list-style-type: none;
}

form#mail_form ul li label:hover {
	cursor: pointer;
}


form#mail_form input#company {
	width: 60%;
}

form#mail_form input#name_1,
form#mail_form input#name_2,
form#mail_form input#read_1,
form#mail_form input#read_2,
form#mail_form input#postal,
form#mail_form input#purpose,
form#mail_form input#schedule {
	width: 30%;
}

form#mail_form input#mail_address,
form#mail_form input#mail_address_confirm {
	width: 68%;
}
form#mail_form input#phone{
	width: 58%;
}

form#mail_form input#postal + a {
	display: inline-block;
	padding: 7px 15px;
	border: 1px solid #46b8da;
	border-radius: 3px;
	background: #5bc0de;
	font-size: 100%;
	color: #ffffff;
	text-decoration: none;
}

form#mail_form input#postal + a:hover {
	cursor: pointer;
	background: #31b0d5;
	border: 1px solid #269abc;
}

form#mail_form input#address {
	width: 90%;
}

/* ---- SUBMIT BUTTOM ---- */
form#mail_form .submit-space {
	width: 970px;
	width: 100%;
	margin: 20px auto;
	padding: 40px 0;
	text-align:center !important;
}
form#mail_form .submit-space p#form_submit {
	margin: auto;
	text-align:center
}

form#mail_form input[type="button"] {
 width: 380px;
 margin:auto;
	padding: 10px 20px;
	border-radius: 10px;
	font-size: 100%;
 color:#5e4126;
	letter-spacing: 0.07em;
 font-weight: 500;
 background: #c4bfb6;
	border: #5e4126 solid 0.9px;
	-webkit-appearance: none;
	text-align: center;
}
@media screen and (max-width: 767px) {
form#mail_form input[type="button"] {
 width: 80%;
}
}
form#mail_form input[type="button"]:hover {
	cursor: pointer;
	color: #ffffff;
	background: #705445;
	border: 1px solid #705445;
}

form#mail_form input#form_submit_button {
	margin: auto;
}





/* -- responsive --------------------------------------------------------------------------- */

/* 1000pixel start */
@media screen and ( max-width: 1000px ) {

form#mail_form {
	width: 98%;
	font-size: 100%;
}

form#mail_form dl {
	overflow: visible;
}

form#mail_form dl dt {
	width: auto;
	float: none;
	text-align: left;
	border-top: 0;
	padding: 15px 0 5px 10px;
	font-weight: nomal;
}

form#mail_form dl dd {
	width: auto;
	float: none;
	border-top: none;
	padding: 0px 0 20px 10px;
}

form#mail_form dl dt span {
	font-weight: normal;
}

.selectbox-002::before {
    right: 0;
    display: inline-block;
	   margin-top: 0.1em;
    width: 3.4em;
    height: 3.6em;
    border-radius: 0 3px 3px 0;
    background-color: #FEC103;
    content: '';
}
.selectbox-002::after {
    position: absolute;
    top: 50%;
    right: 1.8em;
	}
	
	
/* -- for JavaScript ここから -------------------------------------------------------------------------------- */

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	padding: 1px 0px 0px 5px;
}


/* -- for JavaScript ここまで ------------------------------------------------------------------------- */


form#mail_form input#name_1,
form#mail_form input#name_2,
form#mail_form input#read_1,
form#mail_form input#read_2{
width: 42%;
}

form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] {
	margin-top: 0px;
}

form#mail_form input#postal + a {
	padding: 6px 15px 5px;
}

form#mail_form input#form_submit_button {
	margin-left: 0;
}

form#mail_form select {
	font-size: 16px;
	margin-top: 0;
}

form#mail_form input#purpose,
form#mail_form input#schedule {
	width: 50%;
}

.remarks{
text-align: left !important;
margin:-10px 0 10px 0px !important;
}
}




/*--------------------------------------------------
 THANKS MAIL
--------------------------------------------------*/  
.thanks-box{
max-width:760px;
margin:70px auto 80px;
padding:30px 50px 30px;
background-color: #F0F0EC;
border-radius: 15px;
}

#contact h2 {
	margin: 5px auto 20px !important;
	font-size: 160%;
	color: #7e5948;
	text-align: center;
}
#contact .thanks-box p{
width: 100%;
font-size: 1rem; 
margin:15px 0 15px;
line-height:1.8;
text-align:left;
}

#contact .thanks-box .en1 {
font-size: 60%;
color:#875647;
}
#contact .thanks-box .en2 {
font-size: 88%;
color:#875647;
}
@media screen and (max-width: 767px) {
.thanks-box{
margin:40px auto 70px;
padding:30px 15px 50px;
margin-right:13px;
margin-left:13px;
}
#contact .thanks-box p{
font-size: 96% !important;
margin:10px 0 5px !important;
}
#contact .thanks-box .en2 {
font-size: 90% !important;
}
}
