
article{
    padding: 4rem 0;
}
article section{
    width: clamp(48rem, 90%, 68.75rem);
    margin: 0 auto;
}
article h2{
    margin: 0 auto 3rem;
}
.contact--title{
    width: 18rem;
}
.consultation--title{
    width: 27rem;
}
article h3{
    font-size: 1.5rem;
    text-align: center;
    font-weight: normal;
    border-bottom: 2px solid;
    border-image:var(--main-gradation) 1;
    padding-bottom: .5rem;
    margin-bottom: 1rem;
}

dl{
    margin: 4rem auto 2rem;
    display: grid;
    grid-template-columns: 20rem auto;
}
dl dt{
    text-align: center;
    border-bottom: 1px solid var(--main-color);
    padding: 2rem 3rem 2rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
dl dd{
    border-bottom: 1px solid;
    border-image:var(--main-gradation-primary) 1;
    padding: 2rem 0;
    display: flex;
}
dt span{
    background: var(--main-color);
    color: var(--clear-color);
    font-size: .8rem;
    text-align: center;
    padding: .5rem 1rem;
    border-radius: .5rem;
    margin-left: 1rem;
}
form a{
    display: inline;
    color: var(--main-color);
    text-decoration: underline;
}

input,
textarea {
    -webkit-transition: all 0.5s ease-out 0s;
    -moz-transition: all 0.5s ease-out 0s;
    -ms-transition: all 0.5s ease-out 0s;
    -o-transition: all 0.5s ease-out 0s;
    transition: all 0.5s ease-out 0s;
    font-size: 1.1rem;
}
input[type="text"],
input[type="email"],
input[type="tel"]{
    border: 1px solid rgba(var(--text-color-opacity),.5);
    padding: .5rem 1rem;
    box-shadow: none;
}
input[name="your-name"],
input[name="your-tel"]{
    width: 12rem;
}
input[name="kana"],
input[name="school"]{
    width: 15rem;
}
input[name="gakunen"]{
    width: 3rem;
}
input[name="zip"]{
    width: 10rem;
}
input[name="your-email"],
input[name="address"]{
    width: 100%;
}

textarea {
    resize: vertical;
    border: 1px solid rgba(var(--text-color-opacity),.5);
    padding: 1rem;
    width: 100%;
    height: 10rem;
}
input[type="submit"] {
    padding: 1rem 0;
    border: 1px solid rgba(var(--text-color-opacity),.3);
    border-radius: .5rem;
    font-size: 13px;
    background: var(--clear-color);
    color: var(--text-color);
    width: 10rem;
    margin-top: 3rem;
}
.selectbox {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.selectbox::after {
    position: absolute;
    right: 15px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox select {
    appearance: none;
    min-width: 5rem;
    height: 2.8em;
    padding: .4em calc(.8em + 30px) .4em .8em;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background-color: #fff;
    color: #333333;
    font-size: 1em;
    cursor: pointer;
}

@media (max-width: 767px){
    article section{
        width: 90%;
    }
    dl{
        display: block;
    }
    dl dt{
        border-bottom: none;
        justify-content: flex-start;
        padding: 2rem 0 0 0;
    }
    dl dd{
        padding: 1rem 0 2rem;
    }
}