p {
    margin: 0;
}
.main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 864px;
    padding: 80px 0px 100px;
    border-radius: 10px;
}
.main-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.main-top-btnbox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
}
.main-top-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 14px 20px 20px;
    width: 272px;
    line-height: 160%;
    font-weight: 500;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #333;
    box-sizing: border-box;
}

.main-top-btn:hover {
    opacity: 0.75;
    cursor: pointer;
}

.main-top-btn:nth-child(n + 4) {
    margin-top: -6px;
}
.main-top-btnbox._sp {
    display: none;
}
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}
.main-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.main-item-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
}
.main-item-box {
    width: 100%;
    border-bottom: 1px solid #949494;
}
.main-item-title {
    letter-spacing: 0.02em;
    line-height: 150%;
    font-size: 20px;
    font-weight: bold;
}
.main-item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 170%;
    padding: 16px;
    gap: 24px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.main-item-arrow {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: url("./downarrow.svg");
}
.main-item-arrow:hover {
    cursor: pointer;
}
.main-item-head._choose {
    color: #0031d8;
    background: #f2f2f2;
}
.main-item-head._choose .main-item-arrow {
    background: url("./uparrow.svg");
}
.main-item-txtbox {
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease;
}
.main-item-txt {
    letter-spacing: 0.02em;
    line-height: 170%;
    padding: 16px 16px 32px 16px;
}
.main-totop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: center;
    color: #0031d8;
    z-index: 500;
    font-size: 14px;
}
.main-totop:hover {
    cursor: pointer;
}
.main-totop-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0031d8 url("./arrow_down_white.svg") no-repeat center/20px;
    rotate: 180deg;
    margin-bottom: 10px;
}
@media screen and (max-width: 960px) {
    .main {
        width: 100%;
        padding: 60px 16px 100px;
        box-sizing: border-box;
        gap: 60px;
    }
    .main-top-btnbox {
        display: none;
    }
    .main-top-btnbox._sp {
        display: flex;
    }
    .common-menu-icon {
        background: url(./arrow_right.svg) no-repeat center/18px;
    }
    .common-menu-icon._blue {
        background: url(./arrow_right_blue.svg) no-repeat center/18px;
    }
    .main-item-box {
        width: 100%;
        border-bottom: 1px solid #ccc;
    }
    .main-item-title {
        font-size: 18px;
    }
}
