/*contact*/

#contact {
    width:80%;
    max-width:900px;
    margin: 6vw auto 9vw;
}
ul.contact_step {
    display: flex;
    justify-content: center;
    font-weight: 700;
    padding-top: 20px;
}
ul.contact_step li {
    list-style-type: none;
    position: relative;
    padding: 0 50px;
    font-size: 2rem;
    color:#ccc;
}
ul.contact_step li.current {
    color:#4d4d4d;
}
.current::before {
    content: "";
    width: 9px;
    height: 9px;
    background: #4d4d4d;
    position: absolute;
    top: -20px;
    left: 50%;
    z-index: 1;
    margin-left: -5px;
}
ul.contact_step li:nth-child(1)::after ,
ul.contact_step li:nth-child(2)::after {
    content: "";
    width: 1px;
    height: 40px;
    background: #4d4d4d;
    position: absolute;
    top: 50%;
    right: 0;
    transform-origin: center center;
    transform: translateY(-50%) rotate(44.79deg);
}
#contact_wrap {
    width:100%;
    margin:60px auto;
}
#contact_wrap dl {
    width:100%;
    display: flex;
    flex-wrap: wrap;
}
#contact_wrap dl dt {
    position: relative;
    width: 30%;
    padding:22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    border-bottom:1px solid #ccc;
}
#contact_wrap dl dt:nth-child(9) {
    align-items:inherit;
}
#contact_wrap dl dt::after {
    content:'必須';
    font-size: 1.3rem;
    padding:2px 10px;
    color:#fff;
    background-color: #4d4d4d;
    position:absolute;
    top: 50%;
    right: 0%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
#contact_wrap dl dt:nth-child(9)::after {
    align-items:inherit;
    top: 30px;
    right: 0%;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
}
#contact_wrap dl dt label {
    padding:10px 0;
}
#contact_wrap dl dd {
    width: 70%;
    padding:22px;
    border-bottom:1px solid #ccc;
}
.redText {
    color:red;
}
input[type="text"],input[type="tel"] ,input[type="email"],textarea {
	width:100%;
    padding:1rem;
    border:1px solid #ccc;
}
.btn_area_c {
    text-align: center;
    margin-top:5rem;
}
.btn_area2_c {
    width:70%;
    margin:5rem auto;
    display: flex;
    justify-content:space-around;
}
.text_w {
    width:100%;
}
.send_text {
    width:600px;
    margin:100px auto 300px;
    text-align: center;
}
#send h3 {
    font-size:2rem;
}

/*-----------------レスポンシブ-------------------*/
@media screen and (max-width:768px){
    #contact {
        width:88%;
        max-width:900px;
        margin-top:clamp(20px,30vw,30px);
        margin-bottom:clamp(40px,55vw,60px);
        margin-right:auto;
        margin-left:auto;
    }
    ul.contact_step {
        display: flex;
        justify-content: center;
        font-weight: 700;
        margin-top:clamp(20px,30vw,30px);
    }
    ul.contact_step li {
        list-style-type: none;
        position: relative;
        padding-right:clamp(10px,14vw,15px);
        padding-left:clamp(10px,14vw,15px);
        font-size: 1.5rem;
        color:#ccc;
    }
    ul.contact_step li.current {
        color:#4d4d4d;
    }
    .current::before {
        content: "";
        width: 9px;
        height: 9px;
        background: #4d4d4d;
        position: absolute;
        top: -20px;
        left: 50%;
        z-index: 1;
        margin-left: -5px;
    }
    ul.contact_step li:nth-child(1)::after ,
    ul.contact_step li:nth-child(2)::after {
        content: "";
        width: 1px;
        height: 40px;
        background: #4d4d4d;
        position: absolute;
        top: 50%;
        right: 0;
        transform-origin: center center;
        transform: translateY(-50%) rotate(44.79deg);
    }
    #contact_wrap {
        width:100%;
        margin-top:clamp(20px,30vw,30px);
        margin-bottom:0;
        margin-right:auto;
        margin-left:auto;
    }
    #contact_wrap dl {
        width:100%;
        display: flex;
        flex-direction: column;
        flex-wrap: no-wrap;
    }
    #contact_wrap dl dt {
        position: relative;
        width:100%;
        padding-top:clamp(5px,8vw,10px);
        padding-bottom:0;
        padding-left:0;
        padding-right:0;
        font-weight: 700;
        display: flex;
        align-items: center;
        border-bottom:none;
    }
    #contact_wrap dl dt:nth-child(9) {
        align-items:inherit;
    }
    #contact_wrap dl dt::after {
        content:'必須';
        font-size: 1.3rem;
        padding:2px 10px;
        color:#fff;
        background-color: #4d4d4d;
        position:absolute;
        top: 60%;
        right: 0%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
    }
    #contact_wrap dl dt:nth-child(9)::after {
        align-items:inherit;
        top: 30%;
        right: 0%;
        transform: translateY(0);
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
    }
    #contact_wrap dl dt label {
        padding:10px 0;
    }
    #contact_wrap dl dd {
        width: 100%;
        padding-top:0;
        padding-bottom:clamp(5px,8vw,10px);
        padding-left:0;
        padding-right:0;
        border-bottom:1px solid #ccc;
    }
    .redText {
        color:red;
    }
    input[type="text"],input[type="tel"] ,input[type="email"],textarea {
        width:100%;
        padding:1rem;
        border:1px solid #ccc;
    }
    .btn_area_c {
        text-align: center;
        margin-top:5rem;
    }
    .btn_area2_c {
        width:100%;
        margin:5rem auto;
        display: flex;
        flex-direction: column;
        justify-content:center;
    }
    .text_w {
        width:100%;
    }
    .send_text {
        width:100%;
        margin:100px auto 300px;
        text-align: center;
    }
    #send h3 {
        font-size:2rem;
    }
    .btn_blue,
    a.btn_blue {
      color: #fff;
      width:100%;
      background-color: #4169e1;
      border:2px solid #4169e1;
      padding-top: min(1.5vw, 20px);
      padding-bottom: min(1.5vw, 20px);
      padding-right: min(6.3vw, 80px);
      padding-left: min(6.3vw, 80px);
      font-family: 'Roboto', YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
      letter-spacing: .3rem;
      transition: all .5s;
    }
    .btn_blue:hover,
    a.btn_blue:hover {
      color: #4169e1;
      background: #fff;
      border:2px solid #4169e1;
      cursor: pointer;
    }
    
}