.reasons {
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 768px) {
    .reasons {
        padding-top: 40px;
        padding-bottom: 40px;
        padding-left: 32px;
        padding-right: 32px;
    }
}

.reasons__title {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}

@media (min-width: 768px) {
    .reasons__title {
        width: 564px;
        gap: 24px;
        margin-left: auto;
        margin-right: auto;
    }
}

.reasons__title::after {
    content: "";
    position: absolute;
    inset: -6px 0;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    pointer-events: none;
}

.reasons__title > p {
    color: #1C1C1C;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 900;
    line-height: 33.6px;
}

@media (min-width: 768px) {
    .reasons__title > p {
        font-size: 30px;
        line-height: 140%;
    }
}

.reasons__description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 8px;
    padding-top: 16px;
}

@media (min-width: 768px) {
    .reasons__description {
        margin-top: 24px;
        margin-bottom: 24px;
        padding-top: 16px;
    }
}

.reasons__description__speech__bubble {
    position: relative;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 4px;
    background-color: #0046FF;
    color: #FFF;
    text-align: center;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 19.2px;
}

@media (min-width: 768px) {
    .reasons__description__speech__bubble {
        font-size: 18px;
    }
}

.reasons__description__speech__bubble::after {
    position: absolute;
    content: "";
    top: calc(100% - 6px);
    left: 50%;
    transform: translateX(-50%);
    height: 11px;
    width: 17px;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    background-color: #0046FF;
}

.reasons__description__text {
    color: #1C1C1C;
    text-align: center;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-family: "Noto Sans JP";
    font-size: 21px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
}

@media (min-width: 768px) {
    .reasons__description__text {
        font-size: 28px;
        line-height: 140%;
    }
}

.reasons__description__text__blue {
    color: #0046FF;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-family: "Noto Sans JP";
    font-size: 30px;
    font-style: normal;
    font-weight: 900;
    line-height: 30px;
}

@media (min-width: 768px) {
    .reasons__description__text__blue {
        font-size: 36px;
        line-height: 140%;
    }
}

.reasons__list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
}

@media (min-width: 768px) {
    .reasons__list {
        display: grid;
        grid-template-columns: repeat(2, 348px);
        justify-content: center;
        padding-top: 0;
    }
}

.reasons__list__item {
    display: flex;
    width: 100%;
    gap: 16px;
    border-radius: 8px;
    border: 2px solid #1C1C1C;
    background-color: #FFF8DC;
}

@media (min-width: 768px) {
    .reasons__list__item {
        box-sizing: border-box;
        height: 176px;
        width: 348px;
    }

    .early__hiring.reasons__list__item {
        gap: 12px;
    }
}

.reasons__list__item > img {
    width: 120px;
    height: 100%;
}

@media (min-width: 768px) {
    .reasons__list__item > img {
        width: 132px;
    }
}

.reasons__list__item__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-right: 16px;
}

@media (min-width: 768px) {
    .reasons__list__item__content {
        gap: 14px;
    }
}

.reasons__list__item__content__heading {
    color: #FFF;
    width: fit-content;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 14px;
    border-radius: 2px;
    background-color: #1C1C1C;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 8px;
}

.reasons__list__item__content__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #1C1C1C;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 14px;
}

@media (min-width: 768px) {
    .reasons__list__item__content__text {
        gap: 10px;
        line-height: 100%;
    }
}

.reasons__list__item__content__text__red {
    color: #F85C07;
    font-feature-settings: 'pwid' on, 'palt' on;
    font-family: "Noto Sans JP";
    font-size: 32px;
    font-style: normal;
    font-weight: 900;
    line-height: 36px;
}

@media (min-width: 768px) {
    .reasons__list__item__content__text__red {
        font-size: 34px;
        line-height: 34px;
    }

    .early__hiring .reasons__list__item__content__text__red {
        font-size: 32px;
        line-height: 32px;
    }
}

.reasons__list__item__content__text__third__line {
    color: #1C1C1C;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

@media (min-width: 768px) {
    .reasons__list__item__content__text__third__line {
        font-size: 16px;
        line-height: 16px;
    }
}
