
.main {
    background-color: #f5f5f5;
    padding-bottom: 50px;
    font-size: 14px;
    height: auto;
}

.container > .main {
    overflow: visible;
    flex: 1 0 auto;
}

.part0 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.part0 .btn-fav {
    color: #808080;
}

.part0 .btn-fav:hover {
    color: #e60012;
}

.part1, .part2, .part3 {
    background-color: #fff;
}

.total-count{
    text-align: right;
    margin-bottom: 8px;
}

.main .part1 {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;

    padding-top: 45px;
    padding-bottom: 60px;
}

.part1 .search-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.part1 .search-line {
    width: 800px;

    display: flex;
    align-items: stretch;
}

.part1 .search-line input {
    appearance: none;
    border: none;
    background-color: #ebebeb;

    padding: 8px 14px;
    line-height: 26px;

    width: calc(100% - 180px);
    flex: 0 0 auto;
}

.part1 .search-line button {
    width: 180px;
    flex: 0 0 auto;
    text-align: center;
}

.main .part2 {
    margin-bottom: 10px;
    display: flex;
    height: 60px;
    align-items: stretch;
    font-size: 18px;
    margin-top: 0;
}

.part2 .type-list {
    flex: 0 0 auto;
    justify-self: flex-start;

    display: flex;
}

.part2 .type {
    position: relative;

}

.part2 .type-inner {
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100%;
    border-bottom: 3px solid transparent;
    border-bottom: 3px solid #e6001200;
    white-space: nowrap;
}

.part2 .type-inner.active,
.part2 .expanded .type-inner,
.part2 .type-inner:hover {
    border-bottom-color: #e60012;
    color: #e60012
}

.part2 .type.expandable span::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    width: 10px;
    height: 7px;
    background: url("../images/icons/angle_down.svg") center/contain no-repeat;
}

.part2 .type.expandable .active span::after,
.part2 .type.expandable:hover span::after {
    background-image: url("../images/icons/angle_down_red.svg");
}

.part2 .type.expandable.expanded span::after {
    background-image: url("../images/icons/angle_up_red.svg");
}

.part2 .drop-down-links {
    position: absolute;
    z-index: 320;
    width: 100%;
    top: 100%;
    font-size: 14px;
    padding-bottom: 9px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-30px);
    transition: .3s cubic-bezier(0, .7, .3, 1)
}

.part2 .type.expanded .drop-down-links {
    transform: none;
    opacity: 1;
    visibility: visible;
}

.part2 .drop-down-links a {
    display: block;
    line-height: 24px;
    padding: 8px 16px;
}

.part2 .drop-down-links a:hover {
    background-color: #ebebeb;
}

.part3 {
    padding: 22px 30px 30px;
    min-height: 200px;
    color: #4c4c4c;
}

.tri-title.type-title {
    font-size: 20px;
    margin-bottom: 16px;
}

.tri-title.title-sub {
    font-size: 16px;
    margin-bottom: 12px;
}

.result-link {
    border-top: 1px solid #e6e6e6;
    display: block;
    position: relative;
    padding: 10px 32px 10px 16px;
}

.result-link::after {
    content: "";
    width: 7px;
    height: 10px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 20px;
    background: url("../images/icons/angle_right_red.svg") center/contain no-repeat;
}

.result-link:last-of-type {
    border-bottom: 1px solid #e6e6e6;
}

.result-title {
    color: #333333;
    font-size: 16px;
    margin-bottom: 4px;
}

.result-desc {
    color: #666666;
}

.result-link .result-title {
    color: inherit;
}

.result-link.thick {
    padding-top: 15px;
    padding-bottom: 15px;
}

.result-list {
    margin-bottom: 20px;
}

.part3.faq .result:hover {
    z-index: 260;
    position: relative;
}


.part3.faq .result {
    border-top: 1px solid #e6e6e6;
    margin-bottom: 0;
}

.part3.faq .result .col2 {
    border-right: 0;
    flex: 1 0 auto;
}

.part3.faq .result:last-of-type {
    border-bottom: 1px solid #e6e6e6;
}

@media (max-width: 960px) {
    .part1 .search-line {
        width: 100%;
    }

    .part1 .search-line input {
        width: calc(100% - 15% - 80px);
    }

    .part1 .search-line button {
        width: calc(15% + 80px);
    }

    .main .part1 {
        padding-left: 30px;
        padding-right: 30px;
        margin-bottom: 30px;
    }

    .main .part2 {
        font-size: 16px;
    }

    .result-link::after{
        right: 10px;
    }
}

.part2 .type-list-mobile {
    display: none;
}

@media (max-width: 750px) {
    .main .part1 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main .part2{
        display: block;
    }

    .part3 {
        padding: 20px;
    }

    .part1 .search-title {
        font-size: 20px;
    }

    .result-link {
        padding-left: 0;
    }

    .part2 .type-list-mobile {
        display: flex;
        overflow: visible;
    }

    .part2 .type-list-pc {
        display: none;
    }
    .part2 .type-list{
        height: 60px;
    }

    .part2{
        background: transparent;
    }

    .part3.faq .result{
        margin-bottom: 20px;
    }

    .faq .result-header .col2{
        border-top: none;
        border-bottom: 1px solid #e6e6e6;
    }

    .faq .result-list{
        margin-left: -20px;
        margin-right: -20px;
    }
}