@charset 'utf-8';

/* ==========================================================================

	catalog

   ========================================================================== */

.img1 {
    margin-top: 6rem;
    width: 40%;
}
.img2 {
    margin-top: 6rem;
    width: 80%;
}
@media only screen and (max-width: 812px) {
 .img1 {
    margin-top: 4rem;
    width: 70%;
}
.img2 {
    margin-top: 4rem;
    width: 100%;
}
}
/*--------------------------------
	リンク
--------------------------------*/

#second_title + section {
    padding-top: 100px;
    padding-bottom: 0;
}

.contact_box {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
	justify-content: center;
    margin-top: 5em;
    text-align: center;
}

.contact_box > div {
    position: relative;
    width: 385px;
    margin: 0 10px;
    padding: 20px;
    border: 1px solid #DBDBDB;
}

.contact_box > div em {
    display: block;
}

.contact_box > div strong {
    display: block;
    margin: 10px auto;
    font-size: 2.5rem;
}

.contact_box > div small {
    display: block;
    font-size: 1.4rem;
}


.contact_box > div svg {
    position: absolute;
    top:calc(50% - 12px);
    right:5%;
    width: 16px;
    height: 24px;
}

@media only screen and (min-width: 813px) {
    .contact_box > div:first-of-type:hover {
        opacity: 0.7;
    }
    .contact_box > div:hover svg {
        transform:translate3d(5px, 0, 0);
    }
}

@media only screen and (max-width: 812px) {
    #second_title + section {
        padding-top: 50px;
    }

    .contact_box {
        margin-top: 3em;
    }

    .contact_box > div {
        width: 100%;
        margin: 0 auto;
        padding: 10px;
    }

    .contact_box > div:nth-of-type(1) {
        margin-bottom: 20px;
    }

    .contact_box > div em {
        display: block;
    }

    .contact_box > div strong {
        margin: 0 auto;
        font-size: 2rem;
    }

    .contact_box > div small {
        font-size: 1.2rem;
    }

    .contact_box > div svg {
        right:3%;
    }
}


/*--------------------------------
	フォーム基本レイアウト
--------------------------------*/

.contact main section:not(#second_title) .container {
    min-width: 0;
}

.contact main .container form {
    width: 900px;
    margin: 5em auto 0;
}

.contact main .container form .required {
	margin: 0 0 40px 0;
    text-align: left;
	font-size:1.2rem;
	color:#999;
}

.contact main .container form dl {
    width: 100%;
    text-align: left;
    margin-bottom: 90px;
}

.contact main .container form dl:after {
    content: "";
    display: block;
    clear: both;
}

.contact main .container form dl dt {
	width:14em;
	float:left;
	clear:both;
	margin:0 2em 2em 0;
	font-size: 1.6rem;
}

.contact main .container form dl dt :last-of-type {
	margin-bottom:0;
}

.contact main .container form dl dt i {
	margin: 0 0 0 5px;
    font-style: normal;
}

.contact main .container form dl dd {
	width:calc(100% - 16em);
	float:right;
    margin:0 0 2em 0;
	font-size: 1.6rem;
}

.contact main .container form dl dd:last-of-type {
    margin-bottom:0;
}

.contact main .container form div.questionnaire {
    background-color: #ebebeb;
    padding: 5rem;
    margin-bottom: 90px;
}

.contact main .container form div.questionnaire label {
    display: inline-block;
    margin-right: 2em;
}
.contact main .container form div.questionnaire label + input {
    display: inline-block;
    margin-left: -1em;
    width: 15rem;
}

.contact main .container form div.questionnaire p {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 1.8rem;
}
.contact main .container form div.questionnaire dl + p {
    margin-top: 3.5rem;
}
.contact main .container form div.questionnaire dl {
    margin-bottom: 0;
}
.contact main .container form div.questionnaire dl dt {
	width:18em;
	float:left;
	clear:both;
	margin:0 2em 2em 0;
	font-size: 1.6rem;
}

.contact main .container form div.questionnaire dl dd {
	width:calc(100% - 20em);
	float:right;
    margin:0 0 2em 0;
	font-size: 1.6rem;
}


@media only screen and (max-width: 812px) {

    .contact main .container form {
        width: 100%;
        margin: 3em auto 0;
    }

    .contact main section:not(#second_title) .container {
        width: 100%;
        margin: 0 auto;
    }

    .contact main .container form .required {
        font-size:1.1rem;
        margin: 0 0 15px 0;
    }

    .contact main .container form dl {
        margin-bottom: 30px;
    }

    .contact main .container form dl dt  {
        width: 100%;
        float:none;
        margin:0 0 5px 0;
        font-size: 1.4rem;
    }

    .contact main .container form dl dt i {
        font-size: 1.3rem;
    }

    .contact main .container form dl dd {
        width: 100%;
        float:none;
        margin:0 0 20px 0;
        font-size: 1.4rem;
    }

    .contact main .container form div.questionnaire {
        padding: 2rem;
        margin-bottom: 30px;
    }

    .contact main .container form div.questionnaire p {
        margin-bottom: 2rem;
        font-size: 1.6rem;
    }

    .contact main .container form div.questionnaire dl dt {
        width: 100%;
        float:none;
        margin:0 0 5px 0;
        font-size: 1.4rem;
    }

    .contact main .container form div.questionnaire dl dd {
        width: 100%;
        float:none;
        margin:0 0 20px 0;
        font-size: 1.4rem;
    }

    .contact main .container form div.questionnaire dl dd:last-of-type {
        margin:0 0 0 0;
    }

    .contact main .container form div.questionnaire dl dd.budget label {
        display: block;
        margin-right: 0;
    }


}


/*--------------------------------
    フォーム要素スタイル
--------------------------------*/

.contact main .container form input[type="text"],
.contact main .container form input[type="email"],
.contact main .container form input[type="tel"],
.contact main .container form input[type="number"],
.contact main .container form input[type="date"] {
    width:100%;
	display: inline-block;
	border: solid 1px #ccc;
	background-color: #fff;
    padding:6px 10px;
    outline: none;
}

/* 幅調整上書き */

.contact main .container form input.zip,
.contact main .container form input.num {
    width:6em;
}

.contact main .container form input[type="file"] {
    outline: none;
    font-size: 1.3rem;
    line-height: 1;
}

.contact main .container form input[type="file"] + img {
    margin-top: 15px;
}

/* 画像削除ボタン */

.contact main .container form .uploadedFile {
    font-size: 14px;
    text-align: left;
}

.contact main .container form .uploadedFile .buttonClearFile {
    display: inline-block;
    font-size: 13px;
    text-align: center;
    color: #000;
    background-color: #efefef;
    border: 1px solid #000;
    padding: 0 0.3em;
    border-radius: 2px;
    margin-left: 0.5em;
}

@media print, screen and (min-width: 812px) {
    .contact main .container form uploadedFile .buttonClearFile:hover {
        font-size: 13px;
        background-color: #ddd;
        cursor: pointer;
    }
}

/* safariハック */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .contact main .container form input[type="file"] {
        border: none;
    }
}
*/

.contact main .container form input[type="radio"] {
    display: inline-block;
    border: solid 1px #ccc;
    vertical-align:middle;
    position:relative;
    top:-1px;
    margin-right: 10px;
    cursor: pointer;
}

.contact main .container form input[type="checkbox"] {
    display: none;
 }

 /*ボックス枠のCSS*/
 .contact main .container form label.agree_check {
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.agree_check:after {
   position: absolute;
   content: "";
   display: block;
   top: 50%;
   left: 0;
   margin: -15px 0 0 -2px;
   width: 30px;
   height: 30px;
   border: 1px solid #CCCCCC;
 }

.agree_check {
   position: relative;
   padding: 0 0 0 40px;
 }

.agree_check:hover:after {
   border-color: #000;
}
.agree_check:after,
.agree_check:before{
position: absolute;
content: "";
display: block;
top: 50%;
}
/*チェックマークの追加*/
.agree_check:before {
    left:8px;
    top: 3px;
    width: 10px;
    height: 18px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
    opacity: 0;
}
/*チェックボックスがチェックされた時に動作する内容*/
.agree_check.checked:before {
    opacity: 1;
}

.contact main .container form input[type="submit"] {
    outline:0;
}

.contact main .container form button {
    outline:0;
}

.contact main .container form textarea {
    display: block;
    width:100%;
    height:200px;
    border: solid 1px #ccc;
    background-color: #fff;
    padding:6px 10px;
    outline: none;
    /* リサイズ禁止 */
    resize: none;
}

.contact main .container form label {
    display: block;
	margin:0 0 5px 0;
	cursor: pointer;
    color: #707070;
}

.contact main .container form label:last-of-type {
	margin-bottom:0;
}


/* セレクト */

.contact main .container form .selectWrapper {
    width:50%;
    display: inline-block;
    border: 1px solid #ccc;
    margin: 0 auto;
    position: relative;
}

.contact main .container form .selectWrapper::after {
    content: '';
    width: 6px;
    height: 6px;
    border-bottom: solid 2px #666;
    border-right: solid 2px #666;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 12px;
    margin-top: -5px;
    z-index: 2;
    pointer-events: none;
}

.contact main .container form .selectWrapper select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    position: relative;
    z-index: 1;
    border: none;
    outline: none;
    width: 100%;
    height: 2.5em;
    padding: 0 40px 0 10px;
    background-color: #fff;
    font-size: 1.4rem;
    color: #000;
}

.contact main .container form .selectWrapper select::-ms-expand {
    display: none;
}

/* placeholder色変更 */

.contact main .container form input::placeholder				{ color: #ccc; }
.contact main .container form input::-webkit-input-placeholder	{ color: #ccc; } /* webkit */
.contact main .container form input:-ms-input-placeholder		{ color: #ccc; } /* IE */
.contact main .container form input::-ms-input-placeholder		{ color: #ccc; } /* Egde */

.contact main .container form textarea::placeholder				    { color: #ccc; }
.contact main .container form textarea::-webkit-input-placeholder	{ color: #ccc; } /* webkit */
.contact main .container form textarea:-ms-input-placeholder		{ color: #ccc; } /* IE */
.contact main .container form textarea::-ms-input-placeholder		{ color: #ccc; } /* Egde */


@media only screen and (max-width: 812px) {

    .contact main .container form input[type="text"],
    .contact main .container form input[type="email"],
    .contact main .container form input[type="tel"],
    .contact main .container form input[type="number"],
    .contact main .container form input[type="date"] {
        width: 100%;
        padding: 4px 2%;
        /* iOSの拡大阻止 */
        font-size: 16px;
        /* デフォルトスタイルリセット */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 0px;
        -moz-border-radius: 0px;
        -webkit-border-radius: 0px;
    }

    .contact main .container form input.zip,
    .contact main .container form input.num {
        width:5em;
    }

    .contact main .container form textarea {
        width: 100%;
        padding: 4px 2%;
        /* iOSの拡大阻止 */
        font-size: 16px;
        /* デフォルトスタイルリセット */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 0px;
        -moz-border-radius: 0px;
        -webkit-border-radius: 0px;
    }


    .contact main .container form input[type="radio"],
    .contact main .container form input[type="checkbox"] {
        top:-2px;
    }

    .contact main .container form input[type="radio"]:checked,
    .contact main .container form input[type="checkbox"]:checked {
        background-color: #666 !important; /* スマホのみ色変え エラー時に上書きされないように */
    }

    .contact main .container form input[type="submit"] {
        /* デフォルトスタイルリセット */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        -moz-border-radius: 0px;
        -webkit-border-radius: 0px;
        border-radius: 0px;
    }

    /* セレクト */

    .contact main .container form .selectWrapper {
        width: 100%;
    }

    .contact main .container form .selectWrapper select {
        /* iOSの拡大阻止 */
        font-size: 16px;
        /* transform: scale(0.9); */
        /* transform-origin: top left; */
        /* width: 111%; */
    }

}


/*--------------------------------
    メッセージ
--------------------------------*/

.contact main .container .message {
	margin: 0 auto 5em;
    font-size: 1.6rem;
    letter-spacing: 0;
    text-align: center;
}

@media only screen and (max-width: 812px) {
    .contact main .container .message {
        font-size: 1.5rem;
    }
}

.contact main .container .message.required-text {
	margin: 0 auto 5em 2em;
}

@media only screen and (max-width: 812px) {
    .contact main .container .message.required-text {
        margin: 0 auto;
        display: block;
        text-align: left;
    }
}

/*--------------------------------
    プライバシーポリシー
--------------------------------*/

/* 本文 */

.contact main .container form #privacypolicy .privacypolicy_cnt {
    height: 200px;
    line-height: 1.8;
    color: #666;
    padding: 20px;
    margin-bottom: 50px;
    border: solid 1px #ccc;
    overflow-y: scroll;
}

.contact main .container form #privacypolicy .privacypolicy_cnt {
    font-size: 1.4rem;
}
.contact main .container form #privacypolicy .privacypolicy_cnt h3 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 20px;
}

.contact main .container form #privacypolicy .privacypolicy_cnt > p {
    margin-bottom: 40px;
}

.contact main .container form #privacypolicy .privacypolicy_cnt > ol {
    margin-bottom: 40px;
}

.contact main .container form #privacypolicy .privacypolicy_cnt > ol > li {
    margin-bottom: 30px;
    counter-increment: privacyNumber;
}

.contact main .container form #privacypolicy .privacypolicy_cnt > ol > li:last-child {
    margin-bottom: 0;
}

.contact main .container form #privacypolicy .privacypolicy_cnt > ol > li span {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact main .container form #privacypolicy .privacypolicy_cnt > ol > li span:before {
    content: counter(privacyNumber) ".";
}

.contact main .container form #privacypolicy .privacypolicy_cnt > ol > li ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-top: 10px;
}

.contact main .container form #privacypolicy .privacypolicy_cnt > ol > li ul li {
    margin-bottom: 5px;
}

.contact main .container form #privacypolicy .privacypolicy_cnt > ol > li ul li:last-child {
    margin-bottom: 0;
}

.contact main .container form #privacypolicy .privacypolicy_cnt > address {
    padding-bottom: 20px;
}

.contact main .container form #privacypolicy .privacypolicy_cnt > address:before {
    display: block;
    content: "";
    width: 20%;
    margin-bottom: 1em;
    border-bottom: solid 1px #000000;
}

@media only screen and (max-width: 812px) {
    .contact main .container form #privacypolicy .privacypolicy_cnt {
        font-size: 13px;
    }

    .contact main .container form #privacypolicy .privacypolicy_cnt h3 {
        font-size: 16px;
    }
}

/* チェックボックス */

.contact main .container form #privacypolicy .privacypolicy_checkbox {
    text-align: center;
    margin-bottom: 50px;
}

/*--------------------------------
	内容確認ボタン
--------------------------------*/

.contact main .container form .confirmBtn {
	position: relative;
	display: block;
    width:310px;
	height:60px;
	margin: 0 auto;
}

.contact main .container form .confirmBtn input {
	display:block;
	width: 100%;
	height: 100%;
	padding: 0 5%;
	font-size:1.6rem;
	text-align: left;
	border: 1px solid #DBDBDB;
	background-color:transparent;
	color:#000;
	cursor: pointer;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}


.contact main .container form .confirmBtn svg {
	position: absolute;
	right: 5%;
	top: calc(50% - 8px);
    width:16px;
    height:16px;
    display: inline-block;
    vertical-align: middle;
    fill:#666;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    will-change: transform;

    /* flex: flex-grow flex-shrink flex-basis; */
    -ms-flex:0 0 auto;
    flex:0 0 auto;
    max-width:100%;
}

@media only screen and (min-width: 813px) {
	.contact main .container form .confirmBtn:hover svg {
        fill:#DBDBDB;
        -webkit-transform:translate3d(5px, 0, 0);
        transform:translate3d(5px, 0, 0);
    }
}


@media only screen and (min-width: 813px) {
    .contact main .container form .confirmBtn input:hover {
        color:#fff;
        background-color: #000;
    }
}

.contact main .container form .confirmBtn input:disabled {
    opacity: 1;
    color: #ccc;
    cursor: default;
    pointer-events: none;
}

@media only screen and (max-width: 812px) {

    .contact main .container form .confirmBtn {
        width: 100%;
        min-width:0;
        height:50px;
    }

}


/*--------------------------------
    戻るボタン + 送信ボタン
--------------------------------*/

.contact main .container form .contactBtnWapper {
    display: block;
    margin: 0 auto 5em;
    text-align: center;
}


/*--------------------------------
	戻るボタン
--------------------------------*/

.contact main .container form .backBtn {
	display:inline-block;
	vertical-align: top;
	width:150px;
	height:60px;
	line-height:58px;
	margin: 0 5px 0 0;
}

.contact main .container form .backBtn a {
	display: block;
	width: 100%;
	height: 100%;
	font-size:1.4rem;
	text-align: center;
}

.contact main .container form .backBtn a:link,
.contact main .container form .backBtn a:visited {
	background-color:#fff;
	border: 1px solid #DBDBDB;
	color:#333;
}

@media only screen and (min-width: 813px) {
    .contact main .container form .backBtn a:hover,
    .contact main .container form .backBtn a:active { color:#fff; background-color: #000; }
}

@media only screen and (max-width: 812px) {

    .contact main .container form .backBtn {
        display:block;
        width:100%;
        height:auto;
        line-height:2;
        margin: 0 auto 10px;
        text-align: left;
    }
    .contact main .container form .backBtn a {
        display: inline;
        width: auto;
        border:  none;
        -webkit-border-radius: 0;
        border-radius: 0;
    }

    .contact main .container form .backBtn a:link,
    .contact main .container form .backBtn a:visited {
        background-color:transparent;
        border: none;
    }

    .contact main .container form .backBtn a:link::before,
    .contact main .container form .backBtn a:visited::before {
        content: "« ";
    }

}


/*--------------------------------
	送信ボタン
--------------------------------*/

.contact main .container form .submitBtn {
	position: relative;
	display:inline-block;
	vertical-align: top;
    width:310px;
	height:60px;
	line-height:58px;
}

.contact main .container form .submitBtn input {
	display:block;
	width: 100%;
	height: 100%;
    padding: 0 5%;
	font-size:1.6rem;
	text-align: left;
	border: none;
	background-color:#fff;
	border: 1px solid #DBDBDB;
	color:#333;
	cursor: pointer;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

.contact main .container form .submitBtn svg {
	position: absolute;
	right: 5%;
	top: calc(50% - 8px);
    width:16px;
    height:16px;
    display: inline-block;
    vertical-align: middle;
    fill:#666;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    will-change: transform;

    /* flex: flex-grow flex-shrink flex-basis; */
    -ms-flex:0 0 auto;
    flex:0 0 auto;
    max-width:100%;
}

@media only screen and (min-width: 813px) {
	.contact main .container form .submitBtn:hover svg {
        fill:#DBDBDB;
        -webkit-transform:translate3d(5px, 0, 0);
        transform:translate3d(5px, 0, 0);
    }

    .contact main .container form .submitBtn input:hover {
        background-color: #000;
        color: #fff;
    }
}

@media only screen and (max-width: 812px) {

    .contact main .container form .submitBtn {
        width: 100%;
        min-width:0;
        height:50px;
        line-height:48px;
    }

}


/*--------------------------------
	トップに戻るボタン
--------------------------------*/

.contact main .container .topBtn {
    text-align: center;
    margin: 0 auto 5em;
}

.contact main .container .topBtn a {

}

@media only screen and (min-width: 813px) {
    .contact main .container .topBtn a:hover {
        background-color: #000;
        color: #fff;
    }
}

@media only screen and (max-width: 812px) {

    .contact main .container .topBtn {
        text-align: left;
    }

    .contact main .container .topBtn a {
    }

}


/*--------------------------------
	エラー
--------------------------------*/

.contact main .container form dl dd.error input,
.contact main .container form dl dd.error textarea,
.contact main .container form dl dd.error label,
.contact main .container form dl dd.error select {
	background-color:#ffe7e7;
}

.contact main .container form dl dd.error b {
	display: block;
	color:#f00;
	font-size:1.3rem;
	font-weight: normal;
	margin-top:0.3em;
}

@media only screen and (max-width: 812px) {

    .contact main .container form dl dd.error b {
        font-size:1.2rem;
        margin-top:0.2em;
    }

}


