/*Theme Name: iecon Version: 1.0*/

/**************************************************** Top */
/**************************** Image */
#header_image {width: 100%; position: relative;}
#header_image img {width: 100%;}
#header_image p {width: 100%; font-size: 24px; color: #fff; font-weight: 600;
position: absolute; top: 50%; left: 50%; text-align: center;
-ms-transform: translate(-50%,-50%);-webkit-transform: translate(-50%,-50%);transform: translate(-50%,-50%); margin:0; padding:0; z-index: 100;}

/**************************** News overwrite */
#news_overwrite {width: 1000px; padding: 30px; box-sizing: border-box; margin: 80px auto 0; display: table; background-color: #f2f2f2;}
#news_overwrite p {margin: 0; padding: 0!important;}
#news_overwrite a {text-decoration: underline;}
#news_overwrite strong {font-weight: 600;}
#news_overwrite em {font-style: italic;}

/**************************** Content */
#top {width: 100%; margin-bottom: 20px; display: table;}

#top_left {width: 65%; margin-right: 3%; float: left;}
#top_right {width: 32%; float: left;}

#top h1 {font-size: 1.3em; font-weight: 600; padding-bottom: 10px;}
#top h2, #top h3, #top h4 {font-weight: bold; position: relative;}
#top h2 {font-size: 1.2em; padding: 0 0 20px 25px;}
#top h3, #top h4 {font-size: 1.0em;padding: 0 0 10px 20px;}

#top h2:before, #top h3:before, #top h4:before {background: #e01e26; content: ""; left: 0; position: absolute;}
#top h2:before {width: 20px; height: 20px; top: 3px;}
#top h3:before, #top h4:before {width: 15px; height: 15px; top: 7px;}

.oneblock {white-space: nowrap;}

.box {width: 100%; padding: 30px 15px 0 30px; box-sizing: border-box; background-color: #f2f2f2; margin-bottom: 20px;}
.box:first-of-type {margin-top: 40px;}
.box ul {width: 100%; padding: 0 0 0 40px;}
.box li {list-style-type: disc;}
.box p {padding: 30px 30px 30px 0; box-sizing: border-box;}

.service {width: 100%; background-color: #abced8; padding: 30px  30px 20px 30px; box-sizing: border-box;}
.service ul li {padding-left: 30px; line-height: 1.6em;
background: url('../img/top/check.png') left 0px top 3px no-repeat;
background-size: 20px auto;
font-size: 1.1em; line-height: 1.8em; 
list-style-position: inside;}

/***************** recent estate */
.recent_estate {width: 100%; padding: 20px; box-sizing: border-box; background-color: #f2f2f2; margin-top: 15px;}
.recent_estate img {max-width: 100%; height: auto;}
.recent_estate li:first-of-type {padding-top: 8px;}
.recent_estate li:nth-child(2) {font-size: 0.9em; line-height: 1em;}

/**************************************************** iecon / akiya */
.picto h1 {font-size: 1.2em; font-weight: 600; padding-bottom: 20px;}

.title {position: relative; padding: 0.5em 1em; background: #666; color: #fff; font-size: 0.8em; font-weight: normal!important;}
.title::before {position: absolute; content: ''; top: 100%; left: 0; border: none; border-bottom: solid 10px transparent; border-right: solid 15px rgb(149, 158, 155);}
.picto h2 {padding-bottom: 40px;}
.sub_title {padding-left: 20px;}

.picto ul {width: 100%; padding-bottom: 40px; display: table;}
.picto li {float: left;}
.picto img {max-width: 332px; height: auto;}

.formbtn_ie, .formbtn_akiya  {color: #fff; padding: 5px 20px; clear: both;}
.formbtn_ie {background-color: #abced8;}
.formbtn_akiya {background-color: #abce96;}

/******************** transportation expenses */
.expenses {border: 1px solid #ccc; background-color: #f2f2f2; padding: 60px; margin-top:60px; box-sizing: border-box;}
.expenses h3 {font-weight: 600; padding-bottom: 20px;}
.expenses h4 {font-weight: 600; padding-bottom: 5px;}
.expenses p:first-of-type {padding-bottom: 40px;}

/******************** form */
.form_section {margin-bottom: 80px;}
.form_title {font-size: 1.6em; text-align: center; padding: 80px 0 60px;}
.form_title span {font-size: 0.8em; padding-left: 20px;}

.form dt {width: 150px; padding-top: 10px; margin: 0; float: left;}
.form dd {padding-top: 10px; margin-left: 150px;}

.wpcf7-list-item {width: 100%; display: table;}

.con {width: 100%; height: 26px; padding: 0; border:0; font-size: 16px; color: #000; background: #f2f2f2; margin-bottom: 10px;}
.mes {width: 100%; height: 160px; padding: 0; border: 0; font-size: 16px; color: #000; background-color: #f2f2f2; overflow-y: auto;
}

/**************************************************** Estate + Works */
.flex {display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; justify-content: flex-start; margin-bottom: 60px;}
.item {width: 32.33%; margin: 0 1% 4% 0; overflow: hidden; box-sizing: border-box; background-color: #f2f2f2; position: relative;}
.item:nth-child(3n) {border-right: 0%;}

.item_img {position: relative;}
.item img {max-width: 100%; height: auto; vertical-align: bottom; object-fit: cover; object-position: center center;}

.buysell, .rent {position: absolute; color: #fff; top: 0; right: 0; width: 0; height: 0; border-style: solid; border-width: 0 80px 80px 0;}
.buysell p, .rent p {font-size: 0.9em; width: 70px; padding: 10px 10px 0 0; text-align: right;}

.buysell {border-color: transparent #999 transparent transparent;}
.rent {border-color: transparent #333 transparent transparent;}

.item h1 {font-size: 1.1em; line-height: 1.2em; padding: 20px 20px 0 20px;}
.item h2 {font-size: 0.9em; margin-bottom: 10px; padding: 0 20px;}

.item dl {font-size: 0.9em; margin: 20px 20px 0 20px;}
.item dt {width: 80px; clear:both; float:left; border-top: 1px dotted #b3b3b3;}
.item dd {width: auto; margin: 0 0 0 80px; border-top: 1px dotted #b3b3b3;}

.estate_info {padding-bottom: 60px;}

.pdf {background-color: rgb(32, 12, 12); color: #fff; font-size: 0.8em; padding: 5px 25px;}
.pdf:hover {background-color: #666;}
.release {width: 100%; font-size: 0.8em; background-color: #d9d9d9; padding: 3px 20px; position: absolute; bottom: 0; margin-top: 60px;}

.item ul {font-size: 0.9em; margin: 0 20px 60px 20px; padding-top: 10px; border-top: 1px dotted #b3b3b3; line-height: 1.4em;}
.item li:nth-child(2) {padding-top: 10px;}

/**************************************************** Company */
#company h1 {font-size: 1.2em; padding-bottom: 40px;}
#company dl {margin: 0 0 30px 0; line-height: 2.4em;}
#company dt {width: 80px; clear:both; float:left; border-top: 1px dotted #b3b3b3;}
#company dd {width: auto; margin: 0 0 0 80px; border-top: 1px dotted #b3b3b3;}

#company h2 {font-size: 0.9em; padding: 30px 0 10px;}
.sq:first-of-type {width: 50%; margin-right: 2%; margin-bottom: 60px;}
.sq:nth-child(2) {width: 48%;}
.sq li span {padding-right: 10px;}

/***************** Access */
.access {width: 100%; padding: 80px 0 20px; display: table;}
.ggmap {position: relative; padding-bottom: 60%; height: 0;}
.ggmap iframe,
.ggmap object,
.ggmap embed {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}