﻿body {
    font-size: 15px;
    line-height: 1.8;
}

.nonePC {
	display: none;
}

#header {
    margin: 0 auto;
	width: 100%;
	overflow: hidden;
	height: 490px;
  	position: relative;
}

#header img {
	position: absolute;
	top: 15px;
	left: 50%;
	margin-left: -50%;
}

#header a {
    position: absolute;
    top: 5px;
    right: 20px;
    display: block;
    width: 300px;
}
#header a img {
    position: initial;
    width: 100%;
    height: auto;
    margin: 0;
}
#header .tel {
    display: none;
}

#bg01 {
	background: url(../../img/bg01.gif) repeat;
	padding-bottom: 30px;
}

#bg02 {
	background: url(../../img/bg02.jpg) repeat;
}

.inner {
    margin: 0 auto;
	text-align: center;
}

.tc {
    margin: 0 auto;
	text-align: center;
}

#bg01 .inner {
    margin: 0 auto;
	text-align: center;
	width: auto;
}

#promise {
	background-color: #ebebeb;
	padding: 70px 0 50px;
    font-size: 18px;
    line-height: 1.7;
}
#promise .inner {
    width: 830px;
    margin: 0 auto 60px;
	text-align: left;
	background-color: #fff;
	padding: 65px;
}
#promise .subTit {
	margin-bottom: 20px;
}
#promise .fl {
	float: left;
	width: 420px;
}
#promise .fl2 {
	float: left;
	width: 440px;
	margin-top: 10px;
}
#promise .fl3 {
	float: left;
	width: 425px;
	margin-top: 10px;
}

#promise .fr {
	float: right;
}

#promise .fr2 {
	float: right;
	margin-top: 10px;
}

#promise .fr3 {
	float: right;
	width: 400px;
	margin-top: 10px;
}

.contactBtn {
	text-align: center;
    margin: 0 auto;
}

#blueBg {
	background-color: #0071a9;
	text-align: center;
}

#greyBg {
	background-color: #ebebeb;
	text-align: center;
    font-size: 18px;
    line-height: 1.7;
	padding: 30px 0;
	margin-top: 40px;
}

#greyBg p {
	margin-top: 20px;
}

.tel {
	text-align: center;
}

.main {
    max-width: 970px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 0 50px;
    position: relative;
    z-index: 40;
}


/* @group フォーム */
.form-input input[type=text]:-ms-input-placeholder {
    color: #9a9a9a;
}
.form-pagetitle {
	text-align: center;
	margin: 70px 0 30px;
}
.form-text-thanks {
    margin: 30px 0;
	text-align: center;
}
.form-text-thanks span {
    font-size: 24px;
    font-weight: bold;
	margin-bottom: 30px;
}
.form-step {
    list-style: outside none none;
    margin: 20px 0 0;
    padding: 0;
    width: 100%;
}
.form-step-item {
    height: 0;
    overflow: hidden;
    text-indent: -9999px;
    white-space: nowrap;
}
.form-step-image {
    margin: 0;
	text-align: center;
}
.form-table {
    border-bottom: 2px solid #ccc;
    border-right: 2px solid #ccc;
    margin: 30px auto 0;
    width: 776px;
}
.form-table .th, .form-table .td {
    border-left: 2px solid #ccc;
    border-top: 2px solid #ccc;
    box-sizing: border-box;
    font-size: 18px;
    text-align: left;
    vertical-align: top;
}

/* 追加css */

#form-sc h2 {
    font-family: "A-OTF UD新ゴ Pr6N", A-OTF Shin Go Pro, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.form-sec.cta{
    background-color: #f5f5f5;
    padding: 24px 0;
}

#form-sc input{
    background-color: #fff;
}

#form-sc .form-checkbox-cols input[type=checkbox]:checked{
    background: #0071a9 none repeat scroll 0 0;
}

#form-sc .form-checkbox-cols input[type=checkbox]:checked:after{
    background-image: url(https://cleverlyhome.tokyo/wp-content/themes/lightning-child/images/common/sprite.png);
}

.form-checkbox-cols input[type=checkbox]{
    background-color: #fff;
}

.form-table .th {
    display: inline-block;
}

.form-table {
    border-bottom: 2px solid #ccc;
    border-right: 2px solid #ccc;
}

form .btn-contact input {
    background: #fff ;
    border: 1px solid;
    margin-inline: auto;
}

.form-table tbody tr .th{
    background-color: #979797 !important;
}

span.mwform-checkbox-field-text,
span.mwform-radio-field-text {
    display: inline-block;
    transform: translateY(4px);
}

.btn-contact {
    background: none !important;
}

.btn-cols .btn-contact input {
    width: 270px;
    height: 70px;
    font-size: 28px;
}

@media screen and (max-width: 600px) {
	.hidden-sp {
		display: none;
	}
}

@media screen and (min-width: 992px){
    .form-table tbody tr .th,
    .form-table tbody tr .td{
    display: table-cell;
}

.form-sec.cta{
    padding: 48px 0;
}

.form-table tbody tr .th{
    width: 30%;
}
}

/* ここで追加css終わり */

@media only screen and (min-width: 768px) and (max-width: 992px) {
.form-table .th, .form-table .td {
    font-size: 15px;
}
}
.form-table .th {
    background: #979797;
    font-weight: normal;
    padding: 16px;
    width: 30%;
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
.form-table .th {
    width: 40%;
}
}
.form-table .td {
    padding: 16px;
    width: 70%;
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
.form-table .td {
    width: 60%;
}
}
.form-table-title {
    display: inline-block;
    margin: 0;
    width: 70%;
}
.form-table-required, .form-table-arbitrary {
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    float: right;
    font-size: 12px;
    height: 18px;
    line-height: 18px;
    margin: 8px 0 0;
    padding: 0 10px;
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
.form-table-required, .form-table-arbitrary {
    margin-top: 4px;
}
}
.form-table-required {
    background: #dd1718 none repeat scroll 0 0;
}
.form-table-arbitrary {
    background: #999 none repeat scroll 0 0;
}
.form-table-description {
    font-size: 13.5px;
    margin: 15px 0 0;
}
.form-disabled {
    display: none;
}
.form-footer-title {
    background: gray none repeat scroll 0 0;
    color: #fff;
    font-size: 20px;
    font-weight: normal;
    margin: 60px 0 0;
    padding: 3px 20px;
}
.form-footer-text {
    margin: 25px 0 0;
}
.form-footer-link {
    color: #723912;
    text-decoration: none;
}
.mw_wp_form .form-table .error {
    color: #dd1718;
    font-size: 12px;
    margin: 4px 0 0 -4px;
}
.form-address-item-text {
    display: inline-block;
    line-height: 1.2;
    margin: 0;
    vertical-align: middle;
    width: 115px;
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
.form-address-item-text {
    width: 100px;
}
}
.form-address-item-body {
    display: inline-block;
    padding: 4px 0 0;
    vertical-align: middle;
    width: 385px;
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
.form-address-item-body {
    width: 300px;
}
}
.form-address-item + .form-address-item {
    margin-top: 20px;
}
.form-renovation-group {
    position: relative;
}
.form-renovation-group label {
    display: block;
    width: 100%;
}
.mw_wp_form .form-renovation-group .vertical-item {
    display: inline-block;
    margin: 0 0 4px;
    width: 100px;
}
.mw_wp_form .form-renovation-group .vertical-item:first-child {
    display: block;
    width: 100%;
}
.form-renovation-group .form-input {
    bottom: -4px;
    display: block;
    left: 100px;
    margin: 0;
    position: absolute;
    width: 380px;
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
.form-renovation-group .form-input {
    width: 240px;
}
}
.form-input {
    width: 100%;
}
.form-input input[type="text"] {
    -moz-appearance: none;
    border: 1px solid #ccc;
    border-radius: 0;
    box-sizing: border-box;
    line-height: 1.4;
    padding: 8px 8px 4px;
    width: 100%;
}
.form-input input[type="text"]::-moz-placeholder {
    color: #9a9a9a;
}
.form-input-postalcode input[type="text"] {
    display: inline-block;
    margin: 0 4px;
    vertical-align: middle;
    width: 105px;
}
.form-checkbox {
    border: 1px solid #333;
    box-sizing: border-box;
    display: inline-block;
    height: 14px;
    position: relative;
    vertical-align: 0;
    width: 14px;
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
.form-checkbox {
    vertical-align: -2px;
}
}
.mw_wp_form .horizontal-item + .horizontal-item {
    display: block;
    margin-left: 0 !important;
    margin-top: 5px;
    margin-bottom: 10px;
}
.form-checkbox-cols label {
    display: block;
}
.form-checkbox-cols input[type="radio"], .form-checkbox-cols input[type="checkbox"], .form-checkbox-event input[type="radio"], .form-checkbox-event input[type="checkbox"], .form-renovation-group input[type="radio"], .form-renovation-group input[type="checkbox"] {
    -moz-appearance: none;
    border: 1px solid #333;
    box-sizing: border-box;
    display: inline-block;
    height: 14px;
    margin: 0;
    position: relative;
    vertical-align: 0;
    width: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
@media only screen and (min-width: 768px) and (max-width: 992px) {
.form-checkbox-cols input[type="radio"], .form-checkbox-cols input[type="checkbox"], .form-checkbox-event input[type="radio"], .form-checkbox-event input[type="checkbox"], .form-renovation-group input[type="radio"], .form-renovation-group input[type="checkbox"] {
    vertical-align: -2px;
}
}
.form-checkbox-cols input[type="radio"]:checked, .form-checkbox-cols input[type="checkbox"]:checked, .form-checkbox-event input[type="radio"]:checked, .form-checkbox-event input[type="checkbox"]:checked, .form-renovation-group input[type="radio"]:checked, .form-renovation-group input[type="checkbox"]:checked {
    background: #0071a9 none repeat scroll 0 0;
    border-color: #0071a9;
}
.form-checkbox-cols input[type="radio"]:checked::after, .form-checkbox-cols input[type="checkbox"]:checked::after, .form-checkbox-event input[type="radio"]:checked::after, .form-checkbox-event input[type="checkbox"]:checked::after, .form-renovation-group input[type="radio"]:checked::after, .form-renovation-group input[type="checkbox"]:checked::after {
    background-image: url(../../img/sprite.png);
    background-position: -327px -40px;
    content: "";
    display: block;
    height: 8px;
    left: 2px;
    position: absolute;
    top: 2px;
    width: 9px;
}
.form-checkbox-cols input[type="radio"], .form-checkbox-cols input[type="checkbox"], .form-checkbox-event input[type="radio"], .form-checkbox-event input[type="checkbox"] {
    margin: 0 8px 0 0;
}
.form-renovation-group input[type="radio"], .form-renovation-group input[type="checkbox"] {
    margin: 0 4px 0 0;
}
.form-select {
    border: 1px solid #ccc;
    width: 258px;
}
.mw_wp_form_confirm .form-select {
    border: 0 none;
}
.form-select select {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 0 none;
    border-radius: 0;
    box-sizing: border-box;
    padding: 0 8px;
    width: 100%;
}
.form-textarea {
    height: 168px;
    width: 100%;
}
.form-textarea textarea {
    border: 1px solid #ccc;
    box-sizing: border-box;
    height: 100%;
    padding: 8px 20px;
    resize: none;
    width: 100%;
}
.form-error-description {
    color: #dd1718;
    font-size: 24px;
    font-weight: bold;
    margin: 25px 0 0;
}
.form-error-text {
    color: #dd1718;
    font-size: 12px;
    margin: 4px 0 0 -4px;
}
div.check-contact span:nth-child(3) {
	display: block;
	margin-left: 0;
}
/* @end */


/* @group ポップアップ */

.popup-leave.is-disabled {
    display: none;
}
.popup-leave-overlay {
    background: #000 none repeat scroll 0 0;
    height: 100%;
    left: 0;
    opacity: 0.6;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}
.popup-leave-body {
    background: #fff none repeat scroll 0 0;
    height: 270px;
    left: 50%;
    margin: -135px 0 0 -235px;
    position: fixed;
    text-align: center;
    top: 50%;
    width: 470px;
    z-index: 1000;
}
.popup-leave-text {
    font-size: 18px;
    font-weight: bold;
    margin: 80px 0 0;
}
.popup-leave-btn {
    background: #0071a9 none repeat scroll 0 0;
    border-radius: 8px;
    box-shadow: 0 4px 0 #3a2701;
    color: #fff;
    display: block;
    font-size: 21px;
    height: 56px;
    line-height: 56px;
    margin: 20px auto 0;
    text-decoration: none;
    width: 270px;
}
.icon-close {
    cursor: pointer;
    background-image: url(../../img/sprite.png);
    background-position: -252px -170px;
    width: 34px;
    height: 34px;
}
.popup-leave .icon-close {
    display: block;
    position: absolute;
    right: 25px;
    top: 25px;
}
.icon-close.is-rounded {
    background-image: url(../../img/sprite.png);
    background-position: -104px -160px;
    width: 45px;
    height: 45px;
}
.alpha-effect:hover {
    opacity: .5;
    filter: alpha(opacity=50);
}
/* @end */


/* @group ボタン */

.btn-cols {
    text-align: center;
}
.btn-cols-item {
    display: inline-block;
}
.btn-cols-item:empty {
    display: none;
}
.btn-cols-item + .btn-cols-item {
    margin-left: 80px;
}
.btn-cols-item:empty + .btn-cols-item {
    margin-left: 0;
}

.btn-contact {
    border: 0 none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 30px;
    height: 90px;
    line-height: 90px;
    margin-top: 40px;
    text-decoration: none;
}
.btn-contact.is-small {
    font-size: 28px;
    height: 90px;
    line-height: 70px;
    width: 350px;
}
.btn-contact input {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 0 none;
    display: block;
    height: 100%;
    padding: 0;
    text-align: center;
    width: 100%;
	cursor: pointer;
}
.btn-contact {
    background: #e52726 none repeat scroll 0 0;
}

/* @end */



/* @group フッター */

#footer {
	border-top: 1px solid #1a1a1a;
	text-align: center;
	padding: 10px 0 30px;
}

/* @end */