/* ========================
part
======================== */
/* see more link*/
.see-more-link {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.see-more-link a {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.see-more-link a::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 8px;
    border-color: transparent transparent transparent #61C1BE;
    position: relative;
    left: 10px;
}

.see-more-link a:hover {
    transition: 0.3s;
    opacity: 0.7;
}

@media screen and (max-width: 767px), print {
    .see-more-link a {
        font-size: 14px;
        left: 8px;
    }
}

/* ========================
slide
======================== */
.slide {
    position: relative;
}

.controls {
    z-index: 2;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.controls .prev,
.controls .next {
    pointer-events: auto;
}

.controls.controls--disabled {
    display: none;
}

/* ========================
top
======================== */
.top {
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 40px;
}

@media screen and (max-width: 767px), print {
    .top {
        padding-bottom: 30px;
    }
}

/* slide-banners*/
.banner img {
    width: 100%;
}

.banner a {
    z-index: 1000;
}

/* ========================
new books
======================== */
/* slide */
.new-books {
    padding-left: 5px;
    padding-right: 5px;
}

.new-books .controls {
    top: -20%;
}

.new-books .prev {
    margin-left: -15px;
}

.new-books .next {
    margin-right: -15px;
}

@media screen and (max-width: 767px), print {
    .new-books {
        padding-left: 0px;
        padding-right: 0px;
        margin-top: 10px;
    }

    .new-books .controls {
        display: none;
    }
}

/* grid layout*/
@media screen and (max-width: 767px), print {
    .book-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* book-card */
.book-card {
    padding-right: 10px;
    padding-left: 10px;
}

@media screen and (max-width: 767px), print {
    .book-card {
        margin-bottom: 30px;
    }
}

.book-card .title {
    position: relative;
    font-weight: bold;
    margin-top: 15px;
    font-size: 18px;
    text-align: start;
    height: 60px;
    overflow: hidden;
    -webkit-line-clamp: 3;
}

.book-card .title .volume {
    position: absolute;
    right: 0;
    bottom: -1px;
    padding-left: 2em;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%);
}

_::-webkit-full-page-media, _:future, :root .book-card .title .volume {
    bottom: 0;
}

.book-card img {
    width: 100%;
}

.book-card .release-date {
    margin-top: 5px;
    margin-bottom: 15px;
    color: #777777;
    text-align: start;
    font-size: 14px;
}

.book-card .authors {
    height: 62px;
    word-break: break-word;
    margin-bottom: 20px;
}

.book-card .authors {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    font-size: 14px;
    text-align: start;
    overflow: hidden;
}

.book-card a {
    margin-bottom: 10px;
    font-size: 16px;
}

/* ========================
youtube
======================== */
.youtube-list {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.youtube-item {
    width: calc((100% / 3) - 30px);
}

@media screen and (max-width: 767px), print {
    .youtube-list {
        flex-flow: column;
        gap: 0px;
    }

    .youtube-item {
        padding-left: 0px;
        padding-right: 0px;
        width: 100%;
    }
}

.youtube-item {
    display: block;
    position: relative;
}

.youtube-item .thumbnail {
    width: 100%;
}

.youtube-item .info {
    text-align: start;
    font-size: 16px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #FFF;
    background-image: url('../images/common/background.png');
    opacity: 0;
    transition: all .2s linear;
}

.youtube-item:hover .info {
    opacity: 0.9;
}

.youtube-item .public-date {
    margin-bottom: 2em;
}

@media screen and (max-width: 767px), print {
    .youtube-item .info {
        color: #2D2D2D;
        position: static;
        opacity: 1;
        background: transparent;
        width: auto;
        height: auto;
    }

    .youtube-item .public-date {
        margin-bottom: 1em;
    }
}

/* ========================
special sites
======================== */
.special-sites {
    padding-left: 5px;
    padding-right: 5px;
}

.special-sites .prev {
    margin-left: -15px;

}

.special-sites .next {
    margin-right: -15px;
}

@media screen and (max-width: 767px), print {
    .special-sites {
        padding-left: 0px;
        padding-right: 0px;
    }

    .special-sites .controls {
        display: none;
    }
}

@media screen and (max-width: 767px), print {
    .site-list {
        display: grid;
        gap: 5px;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* special-site */
.special-site {
    padding: 4px;
}

.special-site img {
    width: 100%;
}

.special-site a {
    display: block;
    border: 4px solid #61C1BE;
    border-radius: 4px;
}

/* ========================
upcoming-twitter-container
======================== */
.upcoming-twitter-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 20px;
}

@media screen and (max-width: 767px), print {
    .upcoming-twitter-container {
        display: block;
    }
}

.upcoming-twitter-container .twitter-timeline {
    padding-left: 10px;
    padding-right: 10px;
}

.upcoming-twitter-container .twitter-follow-button {
    margin-top: 10px;
}

/* ========================
upcoming books
======================== */
.upcoming-books {
    height: 480px;
    padding-left: 20px;
    padding-right: 20px;
    overflow: scroll;
    overflow-x: hidden;
}

.upcoming-book {
    text-align: start;
    border-bottom: 1px solid #61C1BE;
    margin-bottom: 15px;
}

.upcoming-book:last-child {
    margin-bottom: 0px;
    border-bottom: none;
}

.upcoming-book .title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.upcoming-book .author {
    font-size: 12px;
    margin-bottom: 25px;
}

.upcoming-book .release-date {
    font-size: 12px;
    margin-bottom: 15px;
}
