@charset "utf-8";

.func-menu {
    max-width: 720px;
    margin: 0 auto 100px;
}

.func-menu__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.func-menu__item {
    position: relative;
    width: 30%;
    padding: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 0 0 2px #000;
    text-align: center;
}

.func-menu__item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    display: block;
    width: 20px;
    height: 10px;
    background: url(../images/common/icon_under_arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.func-menu__item span {
    font-size: 20px;
    font-weight: bold;
}

.func-cont {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 200px;
    padding: 0 20px;
}

.func-cont__item {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 40px;
    margin-bottom: 50px;
    padding: 30px;
    background-color: #F0F0F0;
    border-radius: 20px;
}

.func-cont__item__num {
    display: inline-block;
    margin-bottom: 25px;
    padding: 5px 10px;
    background-color: #DF433C;
    color: #fff;
    border-radius: 10px 0 10px 0;
}

.func-cont__item__title {
    margin-bottom: 30px;
    font-size: 40px;
}

.func-cont__item__left {
    width: 100%;
    max-width: 380px;
}

.func-cont__item__right {
    width: 100%;
    max-width: 580px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.func-cont__item:nth-of-type(4) .func-cont__item__right img {
    max-width: 300px;
}

.func-cont__item:nth-of-type(6) .func-cont__item__right img {
    max-width: 300px;
}

#item_1,
#item_2,
#item_3,
#item_4,
#item_5,
#item_6 {
    scroll-margin-top: 100px;
}

@media screen and (max-width: 767px) {
    .func-cont__item {
        display: block;
    }

    .func-cont__item__right {
        max-width: none;
        margin-bottom: 20px;
    }

    .func-cont__item__left {
        max-width: none;
    }

    .func-cont__item__title {
        font-size: 26px;
    }

    .func-cont__item__num {
        margin-bottom: 5px;
    }

    .func-cont__item__title {
        margin-bottom: 10px;
    }

    .func-menu__list {
        padding: 0 10px;
    }

    .func-menu__item {
        width: 47%;
    }
   
}