.s-main {
    position: relative;
    max-width: 100%;
    width: 500px;
    margin: 0 auto;
}

.main {
    position: relative;
    max-width: 100%;
    width: 500px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
    box-sizing: border-box;
    z-index: 1002;
}

.main--nopd {
    padding: 0 !important;
}

@media screen and (max-width: 500px) {
    .main {
        padding: 18px;
    }
}

@media (max-width: 1199px) {

    .sidebar,
    .contact-form {
        display: none;
    }

    /* .contact .btn-contact{
        font-size: 14px;
        height: 62px;
        padding: 10px;
    } */

}

@media screen and (max-width: 500px) {
    .contact .btn-contact {
        font-size: 14px;
        height: 62px;
        width: 99%;
        padding: 10px;
    }
}

.heading {
    color: #FFD700;
    font-family: "Bebas", sans-serif;
    font-size: 90px;
    line-height: 1;
    position: absolute;
    top: 0;
    right: 17px;
    writing-mode: vertical-lr;
    letter-spacing: 0;
    font-weight: 400;
}

@media screen and (max-width: 500px) {
    .heading {
        font-size: 79px;
        right: 11px;
    }

    .flow .heading {
        font-size: 72px;
    }

    .contact .heading {
        font-size: 61px;
    }
}

.heading--center {
    writing-mode: unset;
    position: static;
    text-align: center;
}

.heading--black {
    color: #000;
}

.heading--white {
    color: #fff;
}

.heading--yellow {
    color: #FFD700;
}

.heading--uppercase {
    text-transform: uppercase;
}

.heading--left {
    top: -4px;
    left: 26px;
    right: auto;
}

@media screen and (max-width: 500px) {
    .professional .heading--left {
        left: 21px;
        font-size: 80px;
    }

    .merit .heading--left {
        top: 2px;
        left: 20px;
        font-size: 71px;
    }
}

.sub-heading {
    font-size: 20px;
    line-height: 1.4375;
    padding-top: 11px;
    width: 100%;
    text-align: center;
    font-weight: 700;
}

@media screen and (max-width: 500px) {
    .sub-heading {
        font-size: 18px;
        letter-spacing: 0.15em;
        line-height: 1.2;
    }

    .plan .sub-heading {
        line-height: 1.6;
    }

    .flow .sub-heading {
        padding-top: 7px;
    }

    .contact .sub-heading {
        padding-top: 7px;
    }
}

.pb-85 {
    padding-bottom: 85px;
}

/* About Us */
.aboutus {
    background-color: #FFD700;
    display: flex;
    overflow: hidden;
}

.aboutus .main {
    margin: 0 0 0;
}

@media screen and (max-width: 500px) {
    .aboutus .main {
        margin: 65px 0 0;
        box-shadow: none;
    }
}

.aboutus .inner {
    box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    margin: -1px auto 0;
    width: 500px;
    max-width: 100%;
}

.about-section {
    padding-bottom: 40px;
    position: relative;
    z-index: 1;
}

.about-section .title {
    font-size: 20px;
    line-height: 1.6;
    margin-top: 36px;
    margin-bottom: 20px;
    padding: 20px 24px;
    font-weight: 700;
    position: relative;
    letter-spacing: 0.15em;
    font-feature-settings: "palt";
}

@media screen and (max-width: 500px) {
    .about-section .title {
        font-size: 18px;
        margin-top: 13px;
        margin-left: 3px;
        padding: 17px 20px
    }
}

.about-section .title:before {
    content: "";
    display: block;
    background-color: #FFD700;
    position: absolute;
    height: 72px;
    width: 72px;
    z-index: -1;
    top: 0;
    left: 0;
}

@media screen and (max-width: 500px) {
    .about-section .title:before {
        height: 64px;
        width: 64px;
    }
}

.about-section .content p {
    letter-spacing: 0.1em;
    font-size: 16px;
    line-height: 2;
    font-feature-settings: "palt";
    font-weight: 400;
}

@media screen and (max-width: 500px) {
    .about-section .content p {
        margin-top: 45px;
        line-height: 2.1;
        font-size: 14px;
    }

    .about-section .content p br {
        display: none;
    }
}

.aboutus .illustration {
    margin: 6px -12px 0;
}

@media screen and (max-width: 500px) {
    .aboutus .illustration {
        margin: 21px -6px 0 -7px;
    }
}

.aboutus .illustration img {
    width: 100%;
}


/* Professional Section */
.professional {
    background-color: #F2E900;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-top: -1px;
}

@media screen and (max-width: 500px) {
    .professional {
        margin-top: 15px;
        background-color: transparent;
    }
}

.professional .main:before {
    content: "";
    display: block;
    background-color: #F2E900;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 1px;
    left: 0;
    clip-path: polygon(0 13.25%, 100.1% 0, 100.1% 100.1%, 0 100.1%);
    z-index: 0;
}

@media screen and (max-width: 500px) {
    .professional .main:before {
        clip-path: polygon(0 9.98%, 100.1% 0, 100.1% 100.1%, 0 100.1%);
    }
}

@media screen and (max-height: 850px) {
    .contact-form .form input {
        height: 30px;
    }

    .contact-form .form textarea {
        height: 70px;
    }
}

.professional .content {
    margin: -12px 0 34px 30.5%;
    position: relative;
    z-index: 2;
    font-feature-settings: "palt";
}

@media screen and (max-width: 500px) {
    .professional .content {
        margin: 39px 0px 24px 26.5%;
    }
}

.professional .content p {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 2;
    font-feature-settings: 'palt';
}

@media screen and (max-width: 500px) {
    .professional .content p {
        font-size: 14px;
        letter-spacing: 0.15em;
        line-height: 2.1;
    }
}


/* Plan */
.plan {
    background-color: #FFD700;
    overflow: hidden;
}

.plan .main {
    padding-top: 93px;
}

@media screen and (max-width: 500px) {
    .plan .main {
        padding-top: 55px;
    }
}

.plan .main--1 {
    padding-bottom: 32px;
}

@media screen and (max-width: 500px) {
    .plan .main--1 {
        padding-bottom: 24px;
    }
}

.plan-form {
    z-index: inherit;
}

.plan .top-content {
    margin-top: 29px;
}

@media screen and (max-width: 500px) {
    .plan .top-content {
        margin-top: 27px;
    }
}

.plan .top-content p {
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.15em;
    font-feature-settings: "palt";
}

@media screen and (max-width: 500px) {
    .plan .top-content p {
        font-size: 14px;
        line-height: 2.1;
        letter-spacing: 0.15em;
    }
}

.plan .redirect {
    display: flex;
    justify-content: start;
    gap: 20px;
    margin-top: 10px;
}

@media screen and (max-width: 500px) {
    .plan .redirect {
        gap: 25px;
        margin-top: 28px;
    }
}

.plan .redirect ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan .redirect li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.15em;
    color: #1A0DAB;
    font-feature-settings: 'palt';
}

@media screen and (max-width: 768px) {
    .plan .redirect li a {
        font-size: 14px;
        letter-spacing: 0.11em;
        line-height: 2.1;
    }
}

.plan .redirect-item {
    padding-top: 30px;
    padding-bottom: 60px;
}

@media screen and (max-width: 768px) {
    .plan .redirect-item {
        padding-top: 31px;
        padding-bottom: 47px;
    }
}

.plan .redirect-item .item {
    position: relative;
    padding: 19px;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .plan .redirect-item .item {
        position: relative;
        padding: 14px;
    }
}

.plan .redirect-item .item:not(:first-child) {
    margin-top: 16px;
}

@media screen and (max-width: 500px) {
    .plan .redirect-item .item:not(:first-child) {
        margin-top: 36px;
    }
}

.plan .redirect-item .item .border {
    position: absolute;
    width: 32px;
    aspect-ratio: 1/1;
    border: 1px solid #000;
}

@media screen and (max-width: 768px) {
    .plan .redirect-item .item .border {
        width: 24px;
    }
}

.plan .redirect-item .item .border.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.plan .redirect-item .item .border.top-right {
    right: 0;
    top: 0;
    border-left: none;
    border-bottom: none;
}

.plan .redirect-item .item .border.bot-left {
    bottom: 0;
    left: 0;
    border-top: none;
    border-right: none;
}

.plan .redirect-item .item .border.bot-right {
    bottom: 0;
    right: 0;
    border-top: none;
    border-left: none;
}

.plan .redirect-item .item .item-content {
    border: 1px solid #000;
}

.plan .item-content .content {
    padding: 40px 40px 36px;
    margin-top: 0;
}

.bottom-br {
    display: none;
}

@media screen and (max-width: 500px) {
    .bottom-br {
        display: block;
    }
}

@media screen and (max-width: 500px) {
    .plan .item-content .content {
        padding: 29px 32px 33px;
    }
}

.plan .item-content .content hr {
    padding: 0;
    margin: 0 0 28px;
    border-bottom: 1px solid #000;
}

@media screen and (max-width: 500px) {
    .plan .item-content .content hr {
        margin: 0 0 19px;
    }
}

@media screen and (max-width: 500px) {
    .plan .item-content .content .bottom {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }
}

.plan .redirect-item .item .title {
    position: relative;
    background-color: #231800;
    line-height: 1.2;
    text-align: center;
    padding: 12px 2px;
    font-size: 24px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0;
    margin-top: 2px;
    font-weight: 500;
}

@media screen and (max-width: 500px) {
    .plan .redirect-item .item .title {
        width: 100%;
        font-size: 16px;
        padding: 9px 4px;
        letter-spacing: 0.1em;
        line-height: 1.33;
    }
}

.plan .redirect-item .item .title::after {
    content: "";
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    width: 15px;
    aspect-ratio: 2/1;
    background: #231800;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    transform: translateX(-50%);
}

.plan .redirect-item .item .title_2 {
    font-size: 32px;
    line-height: 1;
    color: #000;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: center;
    padding-top: 36px;
    font-weight: 400;
    font-feature-settings: "palt";
}

@media screen and (max-width: 500px) {
    .plan .redirect-item .item .title_2 {
        font-size: 24px;
        line-height: 1;
        padding-top: 28px;
    }
}

.plan .redirect-item .item .title_3 {
    font-size: 20px;
    line-height: 1;
    color: #000;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: center;
    padding-top: 7px;
    font-weight: 400;
}

@media screen and (max-width: 500px) {
    .plan .redirect-item .item .title_3 {
        font-size: 14px;
    }
}

.plan .redirect-item .item .user {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding-top: 25px;
    padding-bottom: 34px;
}

@media screen and (max-width: 500px) {
    .plan .redirect-item .item .user {
        padding-top: 17px;
        padding-bottom: 19px;
        gap: 10px;
    }
}

.plan .redirect-item .item .user.align-left {
    justify-content: flex-start;
}

.plan .redirect-item .item .user .user-item {
    text-align: center;
    width: calc((100% - 15px * 2) / 3);
    position: relative;
    padding-bottom: 5px;
}

@media screen and (max-width: 500px) {
    .plan .redirect-item .item .user .user-item {
        width: calc((100% - 10px * 2) / 3);
    }
}

.plan .redirect-item .item .user .user-item--full {
    width: 100%;
}

.plan .redirect-item .item .user .user-item .name {
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    margin-top: 8px;
}

.plan .redirect-item .item .user .user-item .name--ls0 {
    letter-spacing: 0;
}

@media screen and (max-width: 500px) {
    .plan .redirect-item .item .user .user-item .name {
        font-size: 12px;
        margin-top: 9px;
    }
}

.plan .redirect-item .item .user .user-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: contain;
}

@media screen and (max-width: 500px) {
    .plan .redirect-item .item .user .user-item img {
        width: 74px;
        height: 74px;
    }
}

.plan .item-content .content .bottom p {
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0.11em;
    font-weight: 400;
    font-feature-settings: 'palt';
}

@media screen and (max-width: 500px) {
    .plan .item-content .content .bottom p {
        font-size: 14px;
        line-height: 1.8;
    }
}

/*price*/

.price {
    background: #F2E900;
    overflow: hidden;
}

.price .main {
    position: relative;
    background-color: #F2E900;
}

.price--heading {
    top: -4px;
}

@media screen and (max-width: 500px) {
    .price--heading {
        font-size: 67px;
        right: 13px;
        top: -2px;
    }
}

.price .desc {
    max-width: 324px;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 0.11em;
    font-weight: 400;
    font-feature-settings: "palt";
}

@media screen and (max-width: 500px) {
    .price .desc {
        max-width: 264px;
        font-size: 14px;
        line-height: 1.9;
        letter-spacing: 0.15em;
    }
}

.price .title {
    max-width: 324px;
    font-size: 20px;
    line-height: 29px;
    letter-spacing: 0.15em;
    font-weight: 700;
    padding-bottom: 10px;
    padding-top: 35px;
}

@media screen and (max-width: 500px) {
    .price .title {
        padding-bottom: 5px;
        padding-top: 44px;
        font-size: 16px;
    }
}

.price .content {
    padding-top: 40px;
    position: relative;
}

@media screen and (max-width: 500px) {
    .price .content {
        padding-top: 20px;
    }
}

.price .content table {
    background: #fff;
    width: 100%;
    border-collapse: collapse;
    border: 4px solid #000;
}

@media screen and (max-width: 500px) {
    .price .content table {
        border: 3px solid #000;
    }
}

.price .content table .note {
    font-size: 14px;
    display: block;
}

@media screen and (max-width: 500px) {
    .price .content table .note {
        font-size: 12px;
        line-height: 1.56;
    }
}

.price .content table .unit,
.price .content table .price,
.price .content table .tax_1 {
    display: inline;
}

.price .content table .unit {
    font-size: 20px;
    line-height: 61px;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 500px) {
    .price .content table .unit {
        font-size: 14px;
        line-height: 23px;
    }
}

.price .content table .price {
    font-size: 27px;
    line-height: 1;
    letter-spacing: 0.05em;
    background: #fff;
}

@media screen and (max-width: 500px) {
    .price .content table .price {
        font-size: 20px;
        line-height: 2.29;
    }
}

.price .content table .tax_1 {
    font-size: 12px;
    line-height: 29px;
}

@media screen and (max-width: 500px) {
    .price .content table .tax_1 {
        font-size: 10px;
        line-height: 2.15;
    }
}

.price .content table .tax_2 {
    font-size: 10px;
}

.price .content table th,
.price .content table td {
    border-bottom: 2px solid #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    padding: 8px 5px 8px 16px;
    vertical-align: middle;
}

@media screen and (max-width: 500px) {

    .price .content table th,
    .price .content table td {
        font-size: 14px;
        line-height: 1.34;
        padding: 6.5px 5px 6.5px 16px;
    }
}

.price .content table th {
    width: 120px;
    background-color: #DCDDDD;
    text-align: left;
}

@media screen and (max-width: 500px) {
    .price .content table th {
        width: 104px;
    }
}

.price .content .detail {
    width: 100%;
    padding-left: 42px;
    padding-top: 50px;
    padding-bottom: 78px;
}

@media screen and (max-width: 500px) {
    .price .content .detail {
        padding-left: 11px;
        padding-top: 34px;
        padding-bottom: 27px;
    }
}

.white-underline {
    display: inline;
    box-shadow: inset 0 -8px 0 white;
    font-weight: 500;
}

.price .content .detail li {
    font-size: 18px;
    line-height: 1.61;
    font-weight: 400;
    max-width: 406px;
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-feature-settings: "palt";
}

@media screen and (max-width: 500px) {
    .price .content .detail li {
        font-size: 14px;
        line-height: 1.69;
        font-weight: 500;
        padding-left: 23px;
        margin-bottom: 8px;
    }
}

.price .content .detail li::before {
    content: '';
    width: 22px;
    height: 215px;
    background: url(../images/price/check.png) no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
    left: 0;
    top: 7px;
}

@media screen and (max-width: 500px) {
    .price .content .detail li::before {
        width: 17px;
        height: 17px;
    }
}

.price .content .message-pop-active {
    display: block !important;
}

.price .content .message-pop {
    display: none;
    position: absolute;
    bottom: 5px;
    left: -280px;
    opacity: 0;
}

.price .content .message {
    width: 305px;
    min-height: 138px;
    color: #000;
    background: #fff;
    border-radius: 50%;
    text-align: center;
    position: relative;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    padding: 30px 20px;
    font-feature-settings: "palt";
}

@media screen and (max-width: 1035px) {
    .price .content .message {
        display: none;
    }
}

.price .content .message::after {
    content: "";
    position: absolute;
    background: url(../images/price/message.svg);
    background-size: contain;
    width: 44px;
    height: 40px;
    right: 6px;
    top: 85px;
    display: block;
}



/* Problem */
.problem {
    background: #FFD700;
    overflow: hidden;
}

.problem-image-bg {
    width: 100%;
    background: #fff;
}

.problem .main {
    padding: 0;
}

.problem .main .content {
    padding: 23px 25px 85px;
    background: #fff;
}

@media screen and (max-width: 500px) {
    .problem .main .content {
        padding: 16px 18px 58px;
    }
}

.problem .main .content .detail {
    display: flex;
    justify-content: center;
    gap: 8px;
}

@media screen and (max-width: 500px) {
    .problem .main .content .detail {
        gap: 6px;
    }
}

.problem .main .content .detail .item {
    width: 145px;
    aspect-ratio: 1/1;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    flex-direction: column;
}

.problem .main .content .detail .item p {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    font-weight: 400;
    font-feature-settings: 'palt';
}

@media screen and (max-width: 500px) {
    .problem .main .content .detail .item p {
        font-size: 12px;
        line-height: 21px;
    }
}


.problem .main .content .detail .item .item-ok {
    position: absolute;
    bottom: -12px;
    width: 69px;
    height: 32px;
    left: 50%;
    transform: translateX(-45%);
}

@media screen and (max-width: 500px) {
    .problem .main .content .detail .item .item-ok {
        width: 51px;
    }
}

.problem .main .content .title {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    background: url(../images/problem/prob-mes.png) no-repeat top;
    background-size: contain;
    height: 78px;
    width: 100%;
    font-size: 30px;
    line-height: 59px;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.problem .main .content .title span {
    font-size: 25px;
    letter-spacing: 0.1em;
    font-weight: 400;
}

@media screen and (max-width: 500px) {
    .problem .main .content .title {
        margin-top: 41px;
        height: 64px;
        width: 340px;
        font-size: 23px;
        line-height: 1.72;
        margin-left: 50%;
        transform: translateX(-50%);
    }

    .problem .main .content .title span {
        font-size: 18px;
        line-height: 2.2;
    }
}

.problem .main .content .descip {
    position: relative;
    display: flex;
    margin-top: 46px;
    width: 100%;
}

.problem .desc-user {
    margin-top: 15px;
}

@media screen and (max-width: 500px) {
    .problem .main .content .descip {
        margin-top: 31px;
        justify-content: center;
    }
}

.problem .main .content .descip .prob-user {
    width: 333px;
    z-index: 1002;
}

@media screen and (max-width: 500px) {
    .problem .main .content .descip .prob-user {
        width: 250px;
    }
}

.problem .main .content .descip .prob-user:before {
    content: "";
    display: block;
    background-color: #FFD700;
    position: absolute;
    height: 109px;
    width: 109px;
    z-index: -1;
    top: -25px;
    left: -26px;
}

@media screen and (max-width: 500px) {
    .problem .main .content .descip .prob-user:before {
        height: 82px;
        width: 90px;
        top: -18px;
    }
}

.problem .main .content .descip .prob-user .desc-user .u_2 span,
.problem .main .content .descip .prob-user .desc-user p {
    font-size: 45px;
    letter-spacing: 0.08em;
    line-height: 62px;
    -webkit-text-stroke: 0 black;
    color: #000;
    font-weight: 700;
    font-feature-settings: "palt";
    font-family: "NotoSansJP-Bold", sans-serif;
}

@media screen and (max-width: 500px) {

    .problem .main .content .descip .prob-user .desc-user .u_2 span,
    .problem .main .content .descip .prob-user .desc-user p {
        font-size: 34px;
        letter-spacing: 0.11em;
        line-height: 46px;
    }
}

.problem .main .content .descip .prob-user .desc-user .u_1 {
    letter-spacing: 0.1em;
    width: 350px;
    font-feature-settings: "palt";
}

.problem .main .content .descip .prob-user .desc-user .u_2 {
    letter-spacing: 0.08em;
    width: 350px;
    -webkit-text-stroke: 1px black;
    color: #fff;
    font-feature-settings: "palt";
}

@media screen and (max-width: 500px) {
    .problem .main .content .descip .prob-user .desc-user .u_2 {
        letter-spacing: 0.1em;
        width: 250px;
    }
}

.problem .main .content .descip .text-v1,
.problem .main .content .descip .text-v2 {
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.problem .main .content .descip .text-v1 {
    font-size: 30px;
    letter-spacing: 0.1em;
    color: #FFD700;
    background: #000;
    padding: 28px 10px 15px 10px;
    margin-top: 20px;
    margin-left: 27px;
    line-height: 1.2;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 500px) {
    .problem .main .content .descip .text-v1 {
        font-size: 22px;
        padding: 4px 8px 4px 7px;
        margin-top: 35px;
        margin-left: 20px;
        letter-spacing: 0.06em;
    }
}

.problem .main .content .descip .text-v2 {
    font-size: 25px;
    letter-spacing: 0.1em;
    line-height: 25px;
    margin-left: 16px;
    font-weight: 700;
}

@media screen and (max-width: 500px) {
    .problem .main .content .descip .text-v2 {
        font-size: 18px;
        margin-left: 8px;
    }
}

.problem .main .user-pop {
    position: absolute;
    bottom: 0;
    width: 225px;
    z-index: -1;
    left: -148px;
}

.pop-active {
    position: fixed !important;
    bottom: 0;
    top: unset !important;
    left: unset !important;
    right: 53%;
    transform: translateX(-53%);
}

@media screen and (max-width: 768px) {
    .problem .main .user-pop {
        display: none;
    }
}

.problem .main .user-pop img {
    width: 100%;
}



/* Merit */
.merit {
    background-color: #F2E900;
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-top: -1px;
}

.merit .main:before {
    content: "";
    display: block;
    background-color: #F2E900;
    height: 300px;
    width: 100%;
    position: absolute;
    top: 1px;
    left: 0;
    z-index: 0;
    clip-path: polygon(0 100px, 100.1% 0, 100.1% 100.1%, 0 100.1%);
}

@media screen and (max-width: 768px) {
    .merit .main:before {
        clip-path: polygon(0 77px, 105.1% 0, 100.1% 100.1%, 0 100.1%);
    }
}

.merit .content {
    position: relative;
    z-index: 2;
    font-feature-settings: "palt";
    padding-top: 158px;
    padding-bottom: 35px;
}

@media screen and (max-width: 768px) {
    .merit .content {
        padding-top: 115px;
        padding-bottom: 0px;
    }
}

.merit .content .title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.2;
    margin-left: 30.75%;
    margin-bottom: 20px;
}

@media screen and (max-width: 500px) {
    .merit .content .title {
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.15em;
        line-height: 1.5;
        margin-bottom: 13px;
    }
}

.merit .item {
    padding: 0 25px;
    margin-bottom: -1px;
    padding-bottom: 58px;
    position: relative;
}

@media screen and (max-width: 500px) {
    .merit .item {
        padding: 0 20px;
        margin-bottom: unset;
        padding-bottom: 60px;
    }
}

.merit .item:before {
    content: "";
    display: block;
    background-color: #F2E900;
    width: 100%;
    position: absolute;
    top: -4px;
    left: 0;
    z-index: 0;
}

.merit .item--odd:before {
    height: 100%;
    clip-path: polygon(0 96px, 100.1% 0, 100.1% 100.1%, 0 100.1%);
}

@media screen and (max-width: 500px) {
    .merit .item--odd:before {
        clip-path: polygon(0 76px, 104.1% 0, 100.1% 100.1%, 0 100.1%);
    }
}

.merit .item--even:before {
    height: 292px;
    clip-path: polygon(0 0, 100.1% 0, 100.1% 100.1%, 0 100.1%);
}

.merit .item--even2:before {
    height: 338px;
}

.merit .content .item-content {
    display: flex;
    justify-content: end;
    gap: 18px;
    z-index: 2;
    position: relative;
}

@media screen and (max-width: 500px) {
    .merit .content .item-content {
        gap: 11px;
    }
}

.merit .item--even .item-content {
    justify-content: start;
}

.merit .content .item-content .step p {
    height: 100%;
    font-size: 90px;
    font-family: "Bebas", sans-serif;
    color: #fff;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: end;
}

@media screen and (max-width: 500px) {
    .merit .content .item-content .step p {
        font-size: 67px;
    }
}

.merit .content .item-content .img-step img {
    width: 320px;
    height: 240px;
    border-radius: 8px;
    object-fit: cover;
}

@media screen and (max-width: 500px) {
    .merit .content .item-content .img-step img {
        width: 240px;
        height: 180px;
    }
}

.merit .content .item .item-desc {
    margin-top: 33px;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 500px) {
    .merit .content .item .item-desc {
        margin-top: 23px;
    }
}

.merit .content .item .item-desc .title {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0;
}

@media screen and (max-width: 500px) {
    .merit .content .item .item-desc .title {
        font-size: 18px;
        line-height: 1.44;
    }
}

.merit .content .item .item-desc .desc {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 500;
    margin-top: 15px;
}

.merit .content .item--even .item-desc .desc {
    margin-top: 20px;
}

@media screen and (max-width: 500px) {
    .merit .content .item .item-desc .desc {
        font-size: 14px;
        line-height: 26px;
        margin-top: 8px;
    }
}

.merit .user-pop2 {
    position: absolute;
    bottom: 0;
    width: 225px;
    z-index: -1;
    left: -145px;
}

@media screen and (max-width: 768px) {
    .merit .user-pop2 {
        display: none;
    }
}

.merit .user-pop2 img {
    width: 100%;
}




/* Flow */
.flow {
    background: #FFD700;
    overflow: hidden;
    margin-top: -1px;
}

.flow .main .content {
    padding-top: 40px;
    padding-bottom: 45px;
    position: relative;
}

@media screen and (max-width: 768px) {
    .flow .main .content {
        padding-top: 32px;
    }
}

.flow .main .content .title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 2;
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
}

.flow .flow-item {
    position: relative;
    padding-top: 43px;
}

@media screen and (max-width: 500px) {
    .flow .flow-item {
        padding-top: 33px;
    }
}

.flow .flow-step {
    display: block;
    background: transparent;
    padding-left: 72px;
}

@media screen and (max-width: 500px) {
    .flow .flow-step {
        padding-left: 55px;
    }
}

.flow .flow-step .item {
    display: flex;
    gap: 38px;
    position: relative;
    align-items: center;
}

@media screen and (max-width: 500px) {
    .flow .flow-step .item {
        gap: 26px;
    }
}

.flow .line {
    width: 6.5px;
    position: absolute;
    top: 180px;
    left: 139px;
}

@media screen and (max-width: 500px) {
    .flow .line {
        top: 95px;
        left: 104px;
    }
}

.flow .border {
    width: 24px;
    position: absolute;
    left: -1px;
    top: 278px;
}

@media screen and (max-width: 500px) {
    .flow .border {
        width: 18.5px;
        top: 213px;
        height: 62.8%;
    }
}

.flow .flow-step .item .last {
    background: #FFD700;
    padding: 6px 16px;
}

@media screen and (max-width: 500px) {
    .flow .flow-step .item .last {
        padding: 2px 10px;
    }
}

.flow .flow-step .item:not(:last-child) {
    padding-bottom: 15px;
}

@media screen and (max-width: 500px) {
    .flow .flow-step .item:not(:last-child) {
        padding-bottom: 9px;
    }
}

.flow .flow-step .item img {
    width: 142px;
    height: 142px;
}

@media screen and (max-width: 500px) {
    .flow .flow-step .item img {
        width: 107px;
        height: 107px;
    }
}

.flow .flow-step .item .item-content p {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0.15em;
    font-weight: 500;
}

@media screen and (max-width: 500px) {
    .flow .flow-step .item .item-content p {
        font-size: 18px;
        top: 40px;
        line-height: 1.4;
    }
}

.flow .flow-step .item .item-content img {
    width: 19.5px;
    height: 72.5px;
    position: absolute;
    top: 100%;
    left: 208px;
    transform: translateY(-62%);
}

@media screen and (max-width: 500px) {
    .flow .flow-step .item .item-content img {
        width: 14.5px;
        height: 54px;
        top: 100%;
        left: 155px;
    }
}

/* Contact */
.contact {
    background: #FFD700;
    overflow: hidden;
}

.contact .contact-heading {
    top: 80px;
}

.contact .main .content {
    padding-top: 46px;
    position: relative;
}

@media screen and (max-width: 500px) {
    .contact .main .content {
        padding-top: 44px;
    }
}

.contact .contact-main-form .btn-form:hover {
    background-color: rgba(217, 12, 33, 0.7);
}

.contact .main:before {
    content: "";
    display: block;
    background-color: #F7F8F8;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 1px;
    left: 0;
    clip-path: polygon(0 98px, 100.1% 0, 100.1% 100.1%, 0 100.1%);
    z-index: 0;
}

@media screen and (max-width: 500px) {
    .contact .main:before {
        top: 2px;
        clip-path: polygon(0 73px, 100.1% 0, 100.1% 100.1%, 0 100.1%);
    }
}

.contact .main .content .title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 2;
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
}

.contact-main-form {
    margin-top: 53px;
    margin-bottom: 62px;
}

@media screen and (max-width: 500px) {
    .contact-main-form {
        margin-top: 38px;
        margin-bottom: 47px;
    }
}

.contact-main-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 9px;
}

@media screen and (max-width: 500px) {
    .contact-main-form .form-group {
        margin-bottom: 0;
    }
}

.contact-main-form label {
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    ;
}

@media screen and (max-width: 500px) {
    .contact-main-form label {
        font-size: 14px;
        margin-bottom: 11px;
    }
}

.contact-main-form label span {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    background: #D90C21;
    padding: 3px 5px 5px;
    margin-left: 10px;
}

@media screen and (max-width: 500px) {
    .contact-main-form label span {
        font-size: 12px;
        margin-left: 6px;
        padding: 3px 3px;
    }
}

.contact-main-form input,
.contact-main-form textarea {
    border: 1px solid #fff;
    background: #fff;
    font-size: 16px;
    line-height: 1.75;
    font-family: inherit;
    margin-bottom: 20px;
    padding: 10px 20px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.contact-main-form input:focus,
.contact-main-form textarea:focus {
    border-color: #000;
}

.contact-main-form input {
    height: 50px;
}

@media screen and (max-width: 500px) {
    .contact-main-form input {
        height: 37px;
    }
}

.contact-main-form textarea {
    height: 290px;
    resize: none;
}

@media screen and (max-width: 500px) {
    .contact-main-form textarea {
        height: 215px;
    }
}

.contact-main-form .contract {
    background: #EFEFEF;
    height: 145px;
    padding: 10px;
    overflow-y: scroll;
    margin-top: 20px;
    scrollbar-width: inherit;
    scrollbar-color: #9FA0A0 transparent;
}

@media screen and (max-width: 500px) {
    .contact-main-form .contract {
        margin-top: 5px;
        height: 129px;
    }
}

.contact-main-form .contract::-webkit-scrollbar {
    width: 11px;
}

.contact-main-form .contract::-webkit-scrollbar-track {
    background: transparent;
}

.contact-main-form .contract::-webkit-scrollbar-thumb {
    background-color: #9FA0A0;
    border-radius: 10px;
}

.contact-main-form .contract::-webkit-scrollbar-button {
    display: none;
}

.contact-main-form .contract p {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.11em;
    font-feature-settings: "palt";
}

@media screen and (max-width: 500px) {
    .contact-main-form .contract p {
        font-size: 14px;
        line-height: 1.86;
    }
}

.contact-main-form .agree {
    display: flex;
    align-items: center;
    justify-content: start;
    padding-top: 36px;
    padding-bottom: 30px;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.11em;
}

@media screen and (max-width: 500px) {
    .contact-main-form .agree {
        padding-top: 30px;
        padding-bottom: 23px;
    }
}

.contact-main-form .agree input[type="checkbox"] {
    width: 16px;
    height: 16px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #000;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin: 2px 10px 0 -6px;
}

.contact-main-form .agree input[type="checkbox"]::after {
    content: "✓";
    color: #000;
    font-size: 16px;
    position: absolute;
    top: -1px;
    left: 2px;
    display: none;
    font-weight: 700;
}

.contact-main-form .agree input[type="checkbox"]:checked::after {
    display: block;
}

.footer {
    background: #EFEFEF;
    overflow: hidden;
}

.footer .footer-title {
    margin-bottom: 25px;
    text-align: center;
}

@media screen and (max-width: 500px) {
    .footer .footer-title {
        margin-bottom: 7px;
    }
}

.footer p {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 1.2;
    font-feature-settings: "palt";
}

@media screen and (max-width: 500px) {
    .footer p {
        font-size: 16px;
        line-height: 1.5
    }
}

.footer .main {
    text-align: center;
    padding-top: 75px;
    padding-bottom: 42px;
}

@media screen and (max-width: 500px) {
    .footer .main {
        padding-top: 52px;
        padding-bottom: 19px;
    }
}

.footer .footer-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer .footer-icon img {
    width: 290px;
    aspect-ratio: 1/1;
}

@media screen and (max-width: 500px) {
    .footer .footer-icon img {
        width: 222px;
    }
}

.footer .footer-end {
    background-color: #EFEFEF;
    position: relative;
    z-index: 1005;
    text-align: center;
    padding: 15px;
}

.footer .footer-end p {
    font-family: "Josefin Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1.5;
}

@media screen and (max-width: 500px) {
    .footer .footer-end {
        padding: 10px;
    }

    .footer .footer-end p {
        font-size: 10px;
        font-weight: 300;
        line-height: 2.9;
    }
}