main {
    font-family: var(--Dot);
    background-color: #E2F0F2;
    padding-bottom: 5rem;
}

.sec_flex {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 3.5rem;
    padding-top: 5rem;
}

.sec_title {
    font-size: 3.2rem;
    font-weight: 400;
}

.sec_img {
    width: 3.5rem;
    object-fit: contain;
    margin-right: 1rem;
}

/* 枠組み */
.sec_border {
    background-color: var(--white);
    padding: 20px;
    padding-bottom: 6rem;
    width: 110rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    border-left: solid .6rem var(--blue);
    border-right: solid .6rem var(--blue);
    margin-bottom: 5.1rem;
}

.sec_border::after {
    content: "";
    background-image: url(../img/border_dot.png);
    background-repeat: no-repeat;
    position: absolute;
    top: -1.9rem;
    left: 0;
    width: 100%;
    height: 2.1rem;
    background-size: contain;
}

.sec_border::before {
    content: "";
    background-image: url(../img/border_dot.png);
    background-repeat: no-repeat;
    position: absolute;
    bottom: -1.9rem;
    left: 0;
    width: 100%;
    height: 2.1rem;
    background-size: contain;
    transform: rotateX(180deg);
}

.foam_text {
    font-size: clamp(15px, 2rem, 20px);
    font-weight: 400;
}

.form_flex {
    display: flex;
    justify-content: space-between;
    border-bottom: solid 1px var(--blue);
    padding-bottom: 1.5rem;
    margin-bottom: 3rem;
}

.form_flex:last-child {
    border-bottom: none;
}

.foam_area {
    display: flex;
    gap: 3.3rem;
}

input,
textarea,
select,
button {
    background-color: #CBCBCB;
    padding: 1.5rem 1rem;
    font-size: clamp(15px, 2rem, 20px);
    font-weight: 400;
}

.text_area {
    width: 25rem;
    max-width: 250px;
}

.text_area01 {
    max-width: 533px;
    width: 53.3rem;
    max-height: 300px;
}

.button {
    background-image: url(../img/button_before.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: max-content;
    width: 22.1rem;
    height: 7rem;
    margin: 0 auto;
    position: relative;
}

.button:hover {
    background-image: url(../img/button_after.png);
}

.button_text {
    padding: 2rem;
    display: block;
    font-size: 2rem;
    color: var(--blue);
}

.button_text::before {
    content: "▶";
    margin-right: 1rem;
}

.has-spinner {
    background-color: #ffffff00;
    padding: 2rem;
    display: block;
    font-size: 2rem;
    color: var(--blue);
    width: 100%;
}

.button::before {
    content: "▶";
    margin-right: 1rem;
    display: block;
    font-size: 2rem;
    color: var(--blue);
    content: "▶";
    margin-right: 1rem;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 111;
    left: 20%;
}

@media screen and (min-width: 1500px) {
    .sec_border::after {
        top: -1.3rem;
    }

    .sec_border::before {
        bottom: -1.3rem;
    }
}


input:focus {
    outline: none;
    border: 2px solid var(--blue);
}

select:focus {
    outline: none;
    border: 2px solid var(--blue);
}

textarea:focus {
    outline: none;
    border: 2px solid var(--blue);
}

@media screen and (max-width: 699.98px) {
    .sec_border {
        width: 33.5rem;
        padding: 3rem 1.2rem 5rem;
        border-left: solid .2rem var(--blue);
        border-right: solid .2rem var(--blue);
        justify-content: center;
        gap: 2.5rem 0;
        margin-bottom: 3rem;
    }


    .sec_border::after {
        top: -0.5rem;
    }

    .sec_border::before {
        bottom: -0.5rem;
    }

    .form_flex {
        flex-direction: column;
    }

    .foam_area {
        flex-direction: column;
        gap: 1rem;
    }

    .text_area {
        width: 100%;
        min-width: 100%;
    }
    .text_area01{
        width: 100%;
        min-width: 100%;
    }
    .foam_text:first-child{
        margin-bottom: 1rem;
    }

}