/* universal */

body {
    position: relative;
}

section {
    margin: 2rem 0;
}

textarea {
    resize: vertical;
}

.center {
    text-align: center;
}

p {
    font-size: 1.1em;
    line-height: 1.7em;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333333;
}

.container {
    max-width: 768px;
}

button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}

.section-border {
    background: #f5f4f2;
    color: #fff;
    margin: 0 calc(50% - 50vw);
    padding: 4px;
}

/* header */

.nav-area {
    border-bottom: 1px solid #e6e4e1;
}

.navbar {
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .navbar {
        height: auto;
    }
}

.header_logo img {
    width: 15rem;
}

/* footer */

footer {
    margin: 45px 10px 100px 10px;
    border-top: 1px solid #eaeaea;
    color: #777;
    font-size: 0.8rem;
}

footer a {
    color: #555;
}

footer a:hover {
    color: #222;
}

footer small {
    float: right;
}

footer ul {
    list-style: none;
    margin-right: 10px;
}

footer ul li {
    float: left;
    margin-left: 15px;
}

/* top */

.description p {
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 10px;
    text-align: center;
}

.channel_input_area {
    display: flex;
    justify-content: center;
}

.channel_input_area p {
    margin: -8px 10px;
    font-size: 30px;
}

.channel_input_block {
    position: relative;
}

.channel_input {
    width: 10rem;
    text-align: center;
    height: 49px;
}

.results {
    position: absolute;
    background-color: #fff;
    width: 10rem;
}

.result_item_wrap {
    padding: 5px;
    width: 10rem;
}

.result_item {
    border: 1px solid #ccc;
    border-radius: 30px;
    padding: 5px;
    text-align: left;
    width: 9rem;
    display: flex;
}

.result_item .channel_icon {
    width: 25px;
    margin: 0px;
}

.result_item span {
    white-space: nowrap;
    overflow: hidden;
}

.result_item .bi-x-circle {
    cursor: pointer;
    margin-left: auto;
}

.suggest_item {
    border: 1px solid #ccc;
    border-radius: 1px;
    text-align: left;
    display: flex;
    align-items: center;
    word-break: break-all;
    cursor: pointer;
}

.suggest_item .channel_icon {
    margin: 6px;
    width: 35px;
    height: 35px;
}


.channel {
    width: 10rem;
    margin: 0 40px;
    display: flex;
    flex-direction: column;
}

.channel p {
    line-height: 20px;
}

.rank {
    display: flex;
    flex-direction: column;
}

.rank_title {
    display: flex;
    font-size: 2rem;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
}

.rank_title::before,
.rank_title::after {
    background-color: #c0c0c0;
    content: "";
    height: 2px;
    width: 80px;
    margin: 0 20px;
}

.want_to_see_count {
    font-size: 1.5rem;
    line-height: 10px;
}

.want_to_see_count span {
    font-size: 1rem;
    margin-left: 5px;
}

.rank_item {
    display: inline-block;
    margin-bottom: 10px;
}

.rank_item:hover {
    opacity: 0.8;
}

.rank_item .channel_icon {
    width: 5rem;
}

.rank_item p {
    margin: 0;

}

.rank_item .and {
    margin: 5px 0 auto 0;
    font-size: 3rem;
}

.channel_icon {
    width: 10rem;
    border-radius: 50%;
    margin: 0 auto 0 auto;
    border: solid 1px #707070;
}

@media (max-width: 991px) {
    .channel {
        margin: 5px 0;
    }

    .channel_icon {
        width: 8rem;
    }

    .channel p {
        font-size: 18px;
        line-height: 20px;
    }
}

.result {
    display: flex;
    justify-content: center;
}

.result_detail {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.result_detail .channel {
    width: 7rem;
}

.result_detail .channel .channel_icon {
    width: 5rem;
}

.result_detail .channel p {
    font-size: 14px;

}

.balloon {
    position: relative;
    display: inline-block;
    margin: 1.5em 0;
    padding: 7px 10px;
    min-width: 120px;
    max-width: 100%;
    color: #555;
    font-size: 14px;
    background: #FFF;
    border: solid 1px #555;
    box-sizing: border-box;
    border-radius: 10px;
    line-height: 15px;
}

.balloon span {
    font-size: 24px;
}

.balloon:before {
    content: "";
    position: absolute;
    bottom: -28px;
    left: 50%;
    margin-left: -16px;
    border: 15px solid transparent;
    border-top: 14px solid #FFF;
    z-index: 2;
}

.balloon:after {
    content: "";
    position: absolute;
    bottom: -29px;
    left: 50%;
    margin-left: -15px;
    border: 14px solid transparent;
    border-top: 14px solid #555;
    z-index: 1;
}

.want_to_see {
    font-size: 1.5rem;
}

.and {
    font-size: 4rem;
    margin: 18px 0 auto 0;
    color: #707070;
}

.btn_area {
    margin-top: 1.5rem;
}

.btn_area a {
    width: 90%;
    margin: 0;
}

.share_btn {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
}

.share_btn img {
    width: 18px;
    margin: 0 5px 5px 0;
}

.want_to_see_btn span {
    font-size: 2rem;
}


.want_to_see_btn {
    border: solid 1px #000;
    border-radius: 8px;
    box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
    overflow: visible;
    white-space: nowrap;
    text-align: center;
    min-width: 10rem;
}

.want_to_see_btn:active {
    box-shadow: inset 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
}

.twitter-account {
    font-size: 0.7rem;
}

.twitter_account_ico {
    border-radius: 50%;
}

/* policy */

h1.policy-main-title {
    font-size: 1.9rem;
    margin-top: 40px;
}

.policy-page {
    max-width: 40rem;
    padding: 1rem;
    margin: 0 auto;
}

.policy-section {
    margin-top: 2rem;
}

.policy-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.policy-section p {
    font-size: 1rem;
}