@charset "utf-8";

/* CSS INFORMATION -====================================================
File name : topics.css
Description : トピックス一覧、トピックス詳細ページ用CSS
===================================================================== */


/* ********************************************************************
        トピックス一覧
******************************************************************** */

.topics {
    padding: calc(160 / 750 * 100%) 0;
}

.topics_list li {
    margin-bottom: 3em;
}

.topics_list li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(80 / 690 * 100%);
    height: .2em;
    background-color: var(--red);
}

.topics_list li dd {
    padding: 1em 0;
}

.topics_list li dd p {
    margin-bottom: .2em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.topics_list li dt::before {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 0;
    height: 0;
    border-left: 2.5em solid transparent;
    border-bottom: 2.5em solid #fff;
    z-index: 2;
}

.topics_list li dd span {
    font-family: var(--font_en);
    color: var(--red3);
    font-size: 2rem;
    line-height: 1.6;
}

.topics_list li a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

@media screen and (min-width: 768px) {
    .topics {
        padding: calc(140 / 1400 * 100%) 0;
    }
    .topics_list {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        width: calc(960 / 1200 * 100%);
        margin: 0 auto;
    }
    .topics_list li {
        width: calc(300 / 960 * 100%);
        padding-bottom: 1em;
    }
    .topics_list li:not(:nth-child(3n)) {
        margin-right: calc(30 / 960 * 100%) !important;
    }
    .topics_list li::before {
        width: 2.1em;
    }
    .topics_list li:hover::before {
        width: 100%;
    }
    .topics_list li dt {
        overflow: hidden;
    }
    .topics_list li img,
    .topics_list li::before {
        -webkit-transition: .5s ease;
        -o-transition: .5s ease;
        transition: .5s ease;
    }
    .topics_list li:hover img {
        -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
    }
    .topics_list li dd {
        padding: 1em 0 1.2em;
    }
    .topics_list li dd p {
        height: 6.3em;
        min-height: 65px;
        max-height: 100px;
        overflow: hidden;
    }
    .topics_list li dd span {
        position: absolute;
        left: 0;
        bottom: 0;
        font-size: 1.3rem;
    }
}

@media screen and (min-width: 1400px) {
    .topics {
        padding: 140px 0;
    }
}


/* ********************************************************************
        トピックス詳細
******************************************************************** */

.topics_wrap {
    margin-bottom: calc(100 / 690 * 100%);
}

.topics_wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url(../images/harry/harry1.png) no-repeat center/contain;
    width: calc(111 / 690 * 100%);
    padding-top: calc(111 / 690 * 100%);
    margin-top: calc(-90 / 690 * 100%);
}

.topics_wrap h3 {
    background-color: var(--red);
    color: #fff;
    padding: calc(40 / 690 * 100%) calc(50 / 690 * 100%);
    font-weight: bold;
    margin-bottom: .5em;
}

.topics_wrap .date {
    font-family: var(--font_en);
    font-size: 2rem;
    color: var(--red3);
    letter-spacing: .05em;
    padding: .3em calc(50 / 690 * 100%);
}

.topics_box {
    padding: calc(50 / 690 * 100%) calc(50 / 690 * 100%) calc(135 / 690 * 100%);
}

.topics_box::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    background: url(../images/harry/harry5.png) no-repeat center/contain;
    width: calc(125 / 690 * 100%);
    padding-top: calc(91 / 690 * 100%);
}

.topics_box>*:not(:last-child) {
    margin-bottom: 1.8em;
}

a.topics_link1 {
    border: .15em solid var(--red);
    line-height: 1;
    text-align: center;
    padding: 1em;
    border-radius: 2em;
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.25);
}

.b {
    font-weight: bold;
}

.center {
    text-align: center;
    display: inline-block;
}

.story_sns_share {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: var(--yellow);
    padding: calc(42 / 690 * 100%) calc(50 / 690 * 100%);
}

.story_sns_share dt {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    font-size: 2rem;
}

.story_sns_share_list {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: calc(260 / 750 * 100vw);
    margin-left: calc(39 / 750 * 100vw);
}

.story_sns_share_list li {
    width: calc(80 / 260 * 100%);
    background-color: #fff;
}

.story_sns_share_list a {
    padding: calc(20 / 80 * 100%);
}

.topics .btn1 {
    margin-top: calc(100 / 690 * 100%);
}

.topics .btn1::before {
    display: none;
}

@media screen and (min-width: 768px) {
    .topics_wrap {
        width: calc(1000 / 1200 * 100%);
        margin: 0 auto calc(80 / 1200 * 100%);
    }
    .topics_wrap::before {
        width: calc(111 / 1000 * 100%);
        padding-top: calc(111 / 1000 * 100%);
        margin-top: calc(-90 / 1000 * 100%);
    }
    .topics_wrap h3 {
        font-size: 1.8rem;
        margin-bottom: 0;
        padding: calc(30 / 1000 * 100%) calc(60 / 1000 * 100%);
    }
    .topics_wrap .date {
        font-size: 1.3rem;
        padding: .3em calc(60 / 1000 * 100%);
    }
    .topics_box {
        padding: calc(25 / 1000 * 100%) calc(60 / 1000 * 100%) calc(80 / 1000 * 100%);
    }
    .topics_box::before {
        width: calc(125 / 1000 * 100%);
        padding-top: calc(91 / 1000 * 100%);
    }
    .topics_photo {
        width: calc(600 / 880 * 100%);
        margin-left: auto;
        margin-right: auto;
    }
    a.topics_link1 {
        width: calc(400 / 880 * 100%);
        margin-left: auto;
        margin-right: auto;
        padding: .8em;
    }
    .topics_link1:hover {
        background-color: var(--red);
        color: #fff;
    }
    .story_sns_share {
        padding: calc(30 / 1000 * 100%) calc(60 / 1000 * 100%);
    }
    .story_sns_share dt {
        font-size: 1.4rem;
    }
    .story_sns_share_list {
        width: calc(150 / 1400 * 100vw);
        margin-left: calc(30 / 1400 * 100vw);
    }
    .story_sns_share_list li {
        width: calc(44 / 150 * 100%);
    }
    .story_sns_share_list a {
        padding: calc(12 / 44 * 100%);
    }
    .story_sns_share_list a::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
        width: calc(21 / 44 * 100%);
        padding-top: calc(21 / 44 * 100%);
        -webkit-transition: .3s;
        transition: .3s;
        opacity: 0;
    }
    .story_sns_share_list img {
        -webkit-transition: .3s;
        transition: .3s;
    }
    .twitterShare a::before {
        background: url(../images/common/btn_sns1_h.png) no-repeat center/contain;
    }
    .facebookShare a::before {
        background: url(../images/common/btn_sns4_h.png) no-repeat center/contain;
    }
    .lineShare a::before {
        background: url(../images/common/btn_sns3_h.png) no-repeat center/contain;
    }
    .story_sns_share_list a:hover {
        background-color: var(--red2);
    }
    .story_sns_share_list a:hover::before {
        opacity: 1;
    }
    .story_sns_share_list a:hover img {
        opacity: 0;
    }
    .topics .btn1 {
        margin-top: calc(80 / 1200 * 100%);
    }
}

@media screen and (min-width: 1400px) {
    .story_sns_share_list {
        width: 150px;
        margin-left: 30px;
    }
}