@import url(about_common.css);

dl#contactForm{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 4rem auto;
}

#contactForm dd,
#contactForm dt{
    border-bottom: 1px solid #ccc;
    padding: 1rem;
    margin: 0.25rem auto;
    line-height: 2;
}

#contactForm dd input#zip{
    max-width: 15rem;
    margin-left: 1rem;
}

#contactForm dd input[type="checkbox"]{
    margin-right: 1rem;
}

#contactForm dd input[type="email"],
#contactForm dd input[type="number"],
#contactForm dd input[type="text"]{
      width: 100%;
    max-width: 100%;
}
#contactForm dd input{
    margin: auto;
    padding: 3px 0.5rem;
    text-align: left;
  
}

#contactForm dt{
    flex: 0 0 32%;
    text-align: left;
    white-space: nowrap;
}

#contactForm dd{
    flex: 0 0 68%;
    text-align: left;
}

input#zip{
    max-width: 15rem;
    display: inline-block;
    margin-left: 1rem;
}
#contactForm dd input#address{
    margin-top: 1rem;
}

#contactForm textarea{
    font-size: 1.75rem;
    line-height: 1.5;
    padding: 0.75rem;
    min-height: 12rem;
}

#contactBtnWrap button.btn-default{
    background-color: #dedede;
}

#contactBtnWrap button.btn{
    margin: auto 10%;
    width: 80%;
}

#contactBtnWrap button.btn,
#confirmBtn{
    font-size: 1.5rem;
    padding: 0.5rem 4rem;
}
main#main #telContactTable th{
    padding-left: 1rem;
    padding-right:1rem;
    width:30%;
    white-space: nowrap;
}

main#main #telContactTable td{
    background-color: white;
}

form + div.mt80{
    margin-top: 12rem;
}



/* お問い合わせフォーム  from old_fdc_site*/

#formarrow{
    display: flex;
    overflow: hidden;
    padding: 0px;
    width: 100%;
}

#formarrow li{
    width: 33.3333%;
    margin: 0px;
    padding: 0px;
    list-style-type: none !important;
}

#formarrow a{
    display: block;
height: 4rem;
    line-height: 4rem;
    background: #ddd;
    font-size: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #444;
    position: relative;
}

#formarrow .currentarrow a{
    background: #33956F;
    color: white;
}

#formarrow a::before{
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -6rem;
    border-width: 6rem 0 6rem 6rem;
    border-style: solid;
    border-color: #ddd #ddd #ddd transparent;
    left: -6rem;
}

#formarrow .currentarrow a::before{
    border-color: #33956F #33956F #33956F transparent;
}

#formarrow a::after{
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -6rem;
    border-top: 6rem solid transparent;
    border-bottom: 6rem solid transparent;
    border-left: 6rem solid #ddd;
    right: -6rem;
}

#formarrow .currentarrow a::after{
    border-left-color: #80b4e7;
}

#formarrow .currentarrow{
    font-weight: bold;
    background: none;
}

#formarrow .currentarrow::after,
#formarrow .currentarrow::before{
    content: normal;
}

#formarrow li:first-child a::before{
    border-width: 0;
}

#formarrow li:last-child a::after{
    border-width: 0;
}


.hissu{
    color: red;
    font-weight: bold;
}

#douiWrap{
/*    display: flex;
    flex-wrap: wrap;
    flex-direction:  column;*/
    position: relative;
    width: 100%;
}

#douiWrap label.error{
color: red;
    width: fit-content;
    position: absolute;
    top: 0;
    right: 0;
}

input#doui.error{
    filter: drop-shadow(1px 2px 2px red);

}

input#doui{
    
    min-width: 1rem;
    margin: auto;
    padding: 0;
}

dl#contactForm,
form#contactFormObj{
    overflow: hidden;
}
#contactBtnWrap img{
    margin: auto;
}

#successContact{
height: 10rem;
    line-height: 3rem;
    padding: 1.5rem;
}

@media (max-width: 1112px) and (orientation: portrait){
/*@media (max-width: 767px) {*/
    #contactAttn{
        margin-left: 2rem;
        margin-top: 2rem;
    }
    #contactAttn li{
        margin-top: 1rem;
    }
        
    
    #formarrow a{
        font-size: 1.2rem;
    }
    
    #contactForm{
        border-bottom:1px solid #ccc;
    }
    #contactForm dd{
        border-bottom: none;
        padding-top: 0;
    }
    #contactForm dt{
        font-size: 1.2rem;
        border-bottom: none;
        border-top:1px solid #ccc;
        padding-bottom: 0.25rem;
    }
    
    #contactForm dt,
    #contactForm dd{
        display: block;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        text-align: left;
    }
    
        #contactForm dd a,
        #contactForm dd label{
            font-size: 1rem;
        }
        
        main#main #telContactTable >tbody td:not(.not100)  {
            padding:1rem 7px 2rem 10px
        }

        main#main #telContactTable >tbody th:not(.not100),
        main#main #telContactTable >tbody td:not(.not100) {
            display: block;
            width: 100%;
        }
        #douiWrap label.error{
            top:2rem;
        }
        
        #confrimChecking.currentarrow a{
            padding-right: 1rem;
        }
        
        #contactBtnWrap div+div{
            margin-top: 1rem;
        }
        #contactBtnWrap {
            margin-bottom: 8rem;
        }
        
        main#main #telContactTable >tbody th:not(.not100), main#main #telContactTable >tbody td:not(.not100){
 width: auto;
display: revert-layer;
        }
        main#main #telContactTable >tbody td:not(.not100){ padding: 1rem; }
}