@charset "utf-8";
/* =======================================================
* max-width: 1199px
* ======================================================= */
@media screen and (max-width: 1199px) {
    .header-inner {
        box-sizing: border-box;
        padding: 0 20px;
    }

    main .header-contents {
        background-position: calc(100% - 30%), center;
    }
    .about-container .main-description {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .step-contents {
        display: block;
        max-width: 540px;
    }

    .step-inner {
        padding: 43px 54px !important;
    }

    .step-inner + img {
        width: 100%;
    }

    .point-container {
        padding: 80px 20px;
    }

    .message-container {
        padding: 25px 20px 35px;
    }

    .message-container .flex-block {
        box-sizing: border-box;
        justify-content: center;
        flex-wrap: wrap;
    }

    .plan-table-wrapper {
        box-sizing: border-box;
        padding: 0 20px;
    }

    .qa-container {
        padding: 80px 20px;
    }

    .container,
    .top-visual-text {
        box-sizing: border-box;
        padding: 0 20px;
    }
}

/* =======================================================
* max-width: 915px
* ======================================================= */
@media screen and (max-width: 915px) {
    footer .flex-center {
        padding: 10px 20px 35px;
    }

    footer img {
        position: relative;
        left: -28px;
        margin: 0;
    }

    .footer-contents {
        text-align: center;
        padding: 0;
    }

    .footer-contents .contents-modal {
        padding-top: 23px;
    }

    .footer-contents .open-modal-btn {
        height: 55px;
        border-radius: 50px;
        line-height: 1.2;
    }
}

/* =======================================================
* max-width: 768px
* ======================================================= */
@media screen and (max-width: 768px) {
    .br {
        display: block;
    }

    .sp-none {
        display: none;
    }
    
    .pc-none {
        display: block;
    }

    header {
        padding: 15px 20px;
    }

    header .header-contents .contents-modal:last-of-type {
        display: none;
    }

    main .header-contents img.pc-none {
        width: 100%;
    }

    .header-inner {
        top: 0;
        transform: translateX(-50%);
        padding-top: 30px;
    }

    main .header-contents .header-inner + .pc-none {
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        padding-bottom: 8px;
    }

    main .header-contents .header-inner + .pc-none .contents-modal {
        padding-bottom: 17px;
    }

    section:nth-of-type(odd),
    .example-container {
        padding: 40px 20px;
    }

    .question-container .flex-center,
    .point-container .flex-center {
        gap: 20px;
    }

    .question-contents img {
        width: 100%;
    }

    .about-container .main-description {
        top: 2%;
        transform: translateX(-50%);
    }

    .about-container h2,
    .about-container .main-description .txt-marker {
        padding-bottom: 3%;
    }

    .step-container h2 + img {
        margin: 0 auto 25px;
    }

    .step-inner {
        padding: 30px 20px !important;
    }

    .step-inner .flex-block {
        gap: 15px;
        padding-bottom: 25px;
    }

    .point-container {
        padding: 40px 20px;
    }

    .flow-container img {
        padding: 0;
        margin-top: 32px;
    }

    .example-container .flex-center {
        padding: 20px 0;
    }

    .example-container .step-contents {
        width: 100%;
    }

    .message-container img {
        width: 100%;
    }

    .program-container {
        padding: 40px 0;
    }

    .plan-table {
        table-layout: fixed;
    }

    .plan-table thead th:nth-of-type(2) img {
        top: -25%;
    }

    .plan-table thead th:nth-child(1),
    .plan-table tbody th:nth-child(1) {
        width: 24%;
    }

    .plan-table thead th:nth-child(2),
    .plan-table tbody td:nth-child(2) {
        width: 38%;
    }

    .plan-table thead th:nth-child(3),
    .plan-table tbody td:nth-child(3) {
        width: 38%;
    }

    .qa-container h2 {
        padding-bottom: 20px;
    }

    footer p {
        padding: 25px 0;
    }

    .modal {
        width: 100%;
    }

    .modal-content {
        width: 80%;
    }
}

/* =======================================================
* max-width: 440px
* ======================================================= */
@media screen and (max-width: 440px) {
    header .header-contents .open-modal-btn {
        width: 170px;
    }

    .header-inner ul {
        padding: 30px 0;
    }

    .plan-table thead th:nth-of-type(2) img {
        width: 80%;
    }

    .toast {
        width: 70%;
    }
}

/* =======================================================
* max-width: 375px
* ======================================================= */
@media screen and (max-width: 375px) {

}

