﻿
#IndexBox #IndexBox-Inner{ background: url(../images/contact/h2_title.jpg) no-repeat 0 0; background-size: 50% auto; }

.SubIndex{ max-width: 960px; margin: 45px auto 0 auto; text-align: center; }


#TelBox{ margin: 20px auto 50px; max-width: 960px; text-align: center; }

#TelBox .msg{ font-size: 14px; }

#TelBox .tel{
    display: inline-block;
    background: url(../images/icon/icon_contact_tel.png) no-repeat 0 50%;
    padding-left: 27px;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0;
    color: #e60012;
    font-weight: bold;
    text-decoration: none;
    margin-top: 25px;
}


.ContactFormBox{
    max-width: 980px;
    margin: 0 auto;
}

#ContactBoxForm .msg{
    text-align: center;
    margin-bottom: 40px;
    font-size: 14px;
}

    #ContactBox input,
    #ContactBox textarea{
        border: none;
        background-color: #ffffff;
        width: 100%;
        padding: 10px 7px;
        font-family:"Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, Verdana, "ＭＳ Ｐゴシック", "MS P Gothic", san-serif;
    }
    

    #ContactBox input[type=checkbox]{
        width: auto;
    }

    #ContactBox textarea{
        height: 137px;
        padding: 10px 10px;
    }



    #ContactBox{ padding: 0 0 0 0; }

    #ContactBoxInner{
        max-width: 980px;
        background-color: #ffffff;
        margin: 30px auto 0 auto;
        overflow: hidden;
        display: table;
        table-layout: fixed;
    }

    #ContactBoxForm{
        padding: 20px;
        position: relative;
    max-width: 960px;
    margin: 0 auto;
    }

    .contactFormL{ float: left;  width: 49%; }
    .contactFormR{ float: right; width: 49%; }


    #ContactBox dl{
        display: table;
        margin-bottom: 12px;
        width: 100%;
    }
    #ContactBox dl:last-child{
        margin-bottom: 0;
    }
    
    #ContactBox dl dt{ font-size: 14px; line-height: 26px; margin-bottom: 5px; display: table-cell; width: 240px; vertical-align: top; padding-top: 5px; padding-right: 15px; }

    #ContactBox dl dt .nec{
        float: right;
    }

    #ContactBox dl dd{ display: table-cell;}

    #ContactBoxForm .error{
        color: #cc0000;
    }
    
    
    #ContactMessage{ margin-bottom: 35px; }
    #ContactMessage .message{ font-size: 20px; line-height: 36px; text-align: center; }
    #ContactMessage .caution{ display: table; margin: 15px auto 0 auto; }
    
    
    
    /* 個人情報保護方針の同意 */
    #ContactBoxForm p.privacy{ margin: 10px 0 0 0; padding: 7px 0; }
    #ContactBoxForm p.privacy a{ text-decoration: underline; }
    #ContactBoxForm p.privacy label{ display: block; cursor: pointer; }


    .btnSend{
        display: block;
        margin: 0 auto;
        margin-top: 15px;
    }
    .btnSend p{
        width: 200px;
        display: block;
        margin: 0 auto;
        position: relative;
    }
    
    
    .btnSend a{
        display: block;
        padding: 10px 0;
        text-align: center;
        text-decoration: none;
        outline: none;
        position: relative;
      background-color: #ffffff;
      border: #c46b22 3px solid;
      color: #c46b22;
        z-index: 2;
      -webkit-transition: all .3s;
      transition: all .3s;
    }
    
    
    .btnSend a:hover {
        border: #c46b22 3px solid;
        background-color: #c46b22;
        color: #ffffff;
    }
    
    
    .btnSend .loading{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(../images/icon/icon_form_loader.gif) no-repeat 50% 50% rgba(237, 237, 237, 0.9);
    }


    #ContactBoxFormComplete{
        top: 0;
        left: 0;
        width:100%;
        height: 100%;
        z-index: 100;
    }


    #ContactBoxFormComplete #ContactBoxFormCompleteInner{
        display: table;
        width:100%;
        height: 100%;
    }
    #ContactBoxFormComplete #ContactBoxFormCompleteInner p{
        display: table-cell;
        vertical-align: middle;
        padding: 0 20px;
        text-align: center;
    }

    #ContactBoxFormComplete #ContactBoxFormCompleteInner p span.tit{
        display: block;
        text-align: center;
        font-size: 20px;
        margin-bottom: 20px;
    }


    #ContactBoxFormComplete #ContactBoxFormCompleteInner a{
        display: block;
        width: 120px;
        padding: 7px 10px;
        margin: 30px auto 0 auto;
        border: #999999 2px solid;
      border-radius: 25px;
    }
    #ContactBoxFormComplete #ContactBoxFormCompleteInner a span{
        background: url(../images/icon/icon_form_close.svg) no-repeat 0 50%;
        background-size: 12px auto;
        display: block;
    }











#ContactBox dl dd.selectBox{ margin-top: 2px; display: table; width: 100%; table-layout: fixed; }
#ContactBox dl dd.selectBox input { display: none; }
#ContactBox dl dd.selectBox label{
	display: table-cell;
	cursor: pointer;
	margin: 0;
	padding: 10px 0;
	background: #efefef;
	color: #869198;
	font-size: 12px;
	text-align: center;
	line-height: 1;
	transition: .2s;
    border-right: #cccccc 1px dotted;
}

#ContactBox dl dd.selectBox label:first-of-type{ border-radius: 3px 0 0 3px; }
#ContactBox dl dd.selectBox label:last-of-type{ border-radius: 0 3px 3px 0; border-right: none; }
#ContactBox dl dd.selectBox input[type="radio"]:checked + label { background-color: #c46b22; color: #fff; }


.junleBox input {
	display: none;
}

.junleBox span{ width: 141px !important; margin: 0 4px 0 0 !important; display: inline-block; }
.junleBox span:last-child{ margin: 0 !important; }
.junleBox label{
	display: block;
	float: left;
	cursor: pointer;
	width: 139px;
	margin: 0;
	padding: 10px 0;
	border: #999999 1px solid;
	color: #999999;
	font-size: 12px;
	text-align: center;
	line-height: 1;
	transition: .2s;
}

.junleBox input[type="checkbox"]:checked + label {
	background-color: #c46b22;
	color: #fff;
}












    
    
    
    
    
    #ContactBox-Confirm{
        display: table;
        width: 100%;
        position: fixed;
        height: 100%;
        z-index: 999999;
        top: 0;
        left: 0;
        background: rgba(0,0,0,0.3);
        
    }
    
    #ContactBox-Confirm-Inner{
        display: table-cell;
    vertical-align: middle;
    width: 500px;
    margin: 0 auto;
    }
    
    #ContactBox-Confirm-MessageBox{
        background-color: #ffffff;
      border-radius: 5px;
        padding: 30px 15px;
        
    }
    
    
    #ContactBox-Confirm-MessageBox .ContactBox-Confirm-message{
        text-align: center;
        font-size: 16px;
        font-weight: bold;
    }
    
    #ContactBox-Confirm-MessageBox ul{ display: table; width: 100%; table-layout: fixed; margin-top: 15px; }
    #ContactBox-Confirm-MessageBox ul li{ display: table-cell; padding: 0 10px; }
    #ContactBox-Confirm-MessageBox ul li:first-child{ padding: 0 5px 0 0; }
    #ContactBox-Confirm-MessageBox ul li:last-child{ padding: 0 0 0 5px; }

    #ContactBox-Confirm-MessageBox ul li span{
        text-align: center;
        padding: 10px 0;
        display: block;
        cursor: pointer;
        color: #ffffff;
        border-radius: 5px;
        transition: 0.3s ease-in-out;
        -o-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        -webkit-transition: 0.3s ease-in-out;
    }

    #ContactBox-Confirm-MessageBox ul li span.button-y{ background-color: #a38365; }
    #ContactBox-Confirm-MessageBox ul li span.button-y:hover{ background-color: #b39375; }
    
    #ContactBox-Confirm-MessageBox ul li span.button-n{ background-color: #666666; }
    #ContactBox-Confirm-MessageBox ul li span.button-n:hover{ background-color: #767676; }
    
    














    #ContactBoxFormPrivacy{
        width:100%;
        background: #ffffff;
        overflow: auto;
        height: 300px;
        border: #aaaaaa 1px solid;
        margin: 25px 0 10px 0;
    }


    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner{
        display: table;
        width:96%;
        height: 100%;
        padding: 2%;
    }

    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner .tit{
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 10px;
    }
    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner .msg{
        margin-bottom: 10px;
        text-align: left;
    }
    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner dl{
        margin-bottom: 12px;
        display: inherit;
    }

    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner dl dt{
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 5px;
    display: inherit;
        width: auto;
    }
    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner dl dd{
        padding-left: 12px;
    display: inherit;
    }
    
    

    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner a.btnClose{
        display: block;
        width: 120px;
        padding: 7px 10px;
        margin: 30px auto 0 auto;
        border: #999999 2px solid;
      border-radius: 25px;
        text-align: center;
        font-size: 14px;
    }
    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner a.btnClose span{
        background: url(../images/icon/ico_form_close.svg) no-repeat 0 50%;
        background-size: 12px auto;
        display: block;
    }


    #ContactBoxFormPrivacyTxts{
        width: 100%;
    margin:0 auto;
    padding:0;
    }
    
    




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


    #IndexBox #IndexBox-Inner{ background: none !important; }
    #IndexBox .InderBox-Title{ height: inherit; background-color: transparent; }
    #IndexBox .InderBox-Title-Inner h2{ font-size: 16px; }
    #IndexBox .InderBox-Title-Inner .text{ font-size: 12px; text-align: left; }
    #IndexBox .InderBox-Title{ width: 100%; float: inherit; }


    #PhotoBox #PhotoBox-Inner ul li{
        padding: 0;
        width: 33%;
        margin-bottom: .5%;
    }

    
    #PhotoBox #PhotoBox-Inner ul li:not(:nth-child(3n)){
        margin-right: 0.5%;
    }

    #PhotoBox #PhotoBox-Inner ul li a{
        display: block;
        overflow: hidden;	/*拡大時にはみ出た部分を隠す*/
        width: 100%;	/*画像の幅*/
        height: 100%;	/*画像の高さ*/
        position: relative;
        object-fit: cover;
        aspect-ratio: 1 / 1;
        
    }
    
    #PhotoBox #PhotoBox-Inner ul li a{
        width: 100%;	/*画像の幅*/
        height: 100%;	/*画像の高さ*/
        object-fit: cover;

    }





    #ContactBoxForm{ padding: 20px 15px; }
    #ContactBoxForm .msg{ text-align: left; }

    .midashi-image img{ width: 100%; }
    .InderBox-Title-Inner{ display: block; padding-top: 25px; }



    #ContactBox dl,
    #ContactBox dl dt,
    #ContactBox dl dd{ display: block; }

    #ContactBox dl dt{width: 100%;  }


    .btnSend p{ width: 100%; }

}