/* Reset Box-Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Font */
html {
    font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
    letter-spacing: .05rem;
}

h2 {
    font-size: 2rem;
    font-family: 'Noto Serif JP', serif;
    text-align: center;
}

h2.page-title {
    margin-bottom: 40px;
}

.column-topics * {
    color: #fff;
    text-align: center;
}

.footer-text {
    text-align: center;
}

/* HyperLink */
a,
.uk-breadcrumb a {
    color: #bf0077;
    text-decoration: none;
}

a:hover,
.uk-breadcrumb a:hover {
    color: #bf0077;
}

.uk-breadcrumb a:hover {
    text-decoration: underline;
}

.column-topics a:hover,
.footer-text a,
.footer-text a:hover {
    color: inherit;
}

.column-topics a,
.footer-text a {
    text-decoration: underline;
}

.column-topics a:hover,
.footer-text a:hover {
    text-decoration: none;
}

.footer-text a.footer-icon:hover {
    opacity: 0.5;
}

a:hover img {
    opacity: 0.7;
}

.uk-card {
    transition: .2s;
}

a:hover .uk-card {
    transform: scale(1.05);
}

/* Button */
button,
.link-button,
*[type="submit"] {
    display: block;
    margin: 0 auto;
    padding: 0 30px;
    overflow: visible;
    border: 1px solid transparent;
    border-radius: 0;
    box-sizing: border-box;
    background-color: #bf0077;
    color: #fff;
    font: inherit;
    font-size: .875rem;
    line-height: 38px;
    text-decoration: none !important;
    text-align: center;
    text-transform: uppercase;
    -webkit-appearance: none;
    vertical-align: middle;
    transition: .1s ease-in-out;
    transition-property: color, background-color, border-color;
    cursor: pointer;
}

button:hover,
button:focus,
.link-button:hover,
.link-button:focus,
*[type="submit"]:hover,
*[type="submit"]:focus {
    border: 1px solid #bf0077;
    background-color: #fff;
    color: #bf0077;
}

button:active,
.link-button:active,
*[type="submit"]:active {
    border: 1px solid transparent;
    background-color: #bf0077;
    color: #fff;
}

.column-topics .link-button {
    background-color: transparent;
    border: 1px solid #fff;
}

.column-topics .link-button:hover,
.column-topics .link-button:focus {
    background-color: #fff;
    color: #bf0077;
}

.column-topics .link-button:active {
    background-color: transparent;
    color: #fff;
}

/* Header */
.header {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
}

.header .log-in-button {
    width: calc(100vw * 0.125);
}

@media screen and (min-width: 496px) {
    .header .log-in-button {
        width: 61px;
    }
}

@media screen and (min-width: 1200px) {
    .header {
        padding: 10px;
    }

    .home .header {
        animation-name: SlideIn1;
        animation-duration: 2.5s;
    }
}

@keyframes SlideIn1 {
    0% {
        top: -71px;
    }

    80% {
        top: -71px;
    }

    100% {
        top: 0;
    }
}

/*Footer */
.footer {
    padding: 6px 32px;
}

.home .footer {
    background-color: #fff;
}

.footer-text {
    color: #fff;
}

.home .footer-text {
    color: #bf0077;
}

.footer-icon {
    margin-left: 10px;
    font-size: 1.25rem;
}

.footer-username {
    margin-left: 10px;
}

@media screen and (min-width: 1200px) {
    .footer {
        background: #8c8fbd;
    }

    .home .footer {
        position: absolute;
        bottom: 2rem;
        left: 0;
        width: 100%;
    }
}

@media screen and (max-width: 1199px) {
    .footer {
        background: #bf0077;
    }

    .home .footer {
        padding: 120px 20px 20px 20px;
    }
}

/* Index */
.column-logo {
    background-color: #fff;
}

@media screen and (min-width: 1200px) {

    .column-logo,
    .column-topics {
        position: relative;
        height: 100vh;
    }

    .column-topics {
        overflow: hidden;
        /*赤いボックスの底辺をカット*/
    }

    .column-topics::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: -2;
        transform-origin: left top;
        transform: rotate(-12deg);
        width: 100%;
        height: 100%;
        margin-left: 3vw;
        background: #c4c7ff;
        animation-name: SlideDown1;
        animation-duration: 1.5s;
    }

    .column-topics::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
        transform-origin: left bottom;
        transform: rotate(15deg);
        width: 100%;
        height: 150%;
        background: #bf0077;
        animation-name: SlideDown2;
        animation-duration: 2s;
    }

    .column-topics .topics {
        position: absolute;
        /*uk-position-center はスマホのときに表示されない*/
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 10vh 10vw 10vh 20vw;
    }
}

@keyframes SlideDown1 {
    0% {
        top: 150%;
    }

    66% {
        top: 150%;
    }

    100% {
        top: 0;
    }
}

@keyframes SlideDown2 {
    0% {
        bottom: 150%;
    }

    75% {
        bottom: 150%;
    }

    100% {
        bottom: 0;
    }
}

@media screen and (max-width: 1199px) {
    .column-logo {
        position: relative;
        height: 90vh;
    }

    .column-logo::before {
        content: "";
        position: absolute;
        /*スクロールバーの分はみ出るのを防止するため left は使わない*/
        bottom: 0;
        right: 0;
        z-index: 1;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 100vw 120px 0;
        border-color: transparent transparent #c4c7ff transparent;
    }

    .column-logo::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 2;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 0 80px 100vw;
        border-color: transparent transparent #bf0077 transparent;
    }

    .column-topics {
        position: relative;
        background-color: #bf0077;
    }

    .topics {
        padding: 5vh 10vw 5vh 10vw;
    }

    .column-topics::before {
        content: "";
        position: absolute;
        bottom: -80px;
        right: 0;
        z-index: 1;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 80px 0 0 100vw;
        border-color: #c4c7ff transparent transparent transparent;
    }

    .column-topics::after {
        content: "";
        position: absolute;
        bottom: -120px;
        right: 0;
        z-index: 2;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 120px 100vw 0 0;
        border-color: #bf0077 transparent transparent transparent;
    }

    .column-topics .live-title {
        font-weight: bold;
    }
}

/* Page, Single, Archive */
body:not(.home) .main {
    min-height: calc(100vh - 36px);
    /* コンテンツが少ない場合 */
}

.section-logo {
    background: #fff;
}

.section-content {
    padding-top: 40px;
    padding-bottom: 120px;
    background: #fff;
}

@media screen and (min-width: 496px) {
    .logo-text {
        width: 400px;
    }
}

@media screen and (max-width: 495px) {
    .logo-text {
        width: calc(100vw * 0.82);
    }
}

@media screen and (min-width: 1200px) {
    body:not(.home) .main {
        position: relative;
        overflow: hidden; // 赤いボックスの右辺をカット
    }

    body:not(.home) .main::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: -2;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, #c4c7ff, 90%, #8c8fbd);
    }

    body:not(.home) .main::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        width: 150%;
        height: 100%;
        transform-origin: left top;
        transform: rotate(-12deg) translate(-3vw, -3vw);
        background: #bf0077;
    }

    .logo-text {
        margin: 10px 0 0 -40px;
    }
}

@media screen and (max-width: 1199px) {
    body:not(.home) .main {
        position: relative;
    }

    body:not(.home) .main::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        z-index: 2;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 100vw 80px 0;
        border-color: transparent transparent #bf0077 transparent;
    }

    .section-logo {
        margin: 0;
        padding: 0;
    }
}

/* Card */
.uk-card-default {
    box-shadow: 0 0 6px 1px rgba(0, 0, 0, .15);
}

.category-label {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 99;
    background: #bf0077;
    font-size: 0.675rem;
}

/* Form */
.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus {
    border-color: #bf0077;
}

.input[name="email-confirm"] {
    margin-top: 5px;
}

.pointer-events-none {
    pointer-events: none;
}

.swpm-fb-profile-update-success #form_success {
    color: #bf0077;
}

/* Player */
.mejs-container,
.mejs-container .mejs-controls {
    border-radius: 100px !important;
}

.mejs-controls .mejs-time-rail .mejs-time-current {
    background: #bf0077 !important;
}

/* Page Navi */
.wp-pagenavi a,
.wp-pagenavi span {
    display: inline-block;
    margin: 2px;
    padding: 8px 15px;
    border: solid 1px #ccc;
    border-radius: 25px;
    background-color: #fff;
    color: #999;
    transition: 0.2s ease-in-out;
}

.wp-pagenavi a:hover {
    border-color: #f1cbe3;
    background-color: #f1cbe3;
    color: #bf0077;
    text-decoration: none;
}

.wp-pagenavi span.current {
    border-color: #bf0077;
    background-color: #bf0077;
    color: #fff;
}

.wp-pagenavi {
    margin-top: 40px;
    text-align: center;
}

.wp-pagenavi .extend {
    border: none;
}

.wp-pagenavi .pages {
    display: none;
}

/* Comment */
.comment-wrapper .uk-accordion-content {
    padding: 25px;
    border: 1px solid #ccc;
    background-color: #fafafa;
}

.comment-wrapper .says,
.comment-wrapper .comment-reply-title {
    display: none;
}

.comment-wrapper .fn {
    font-style: normal;
    font-weight: bold;
}

.comment-wrapper .comment-meta,
.comment-wrapper .comment-meta a {
    color: #999;
    font-size: 0.9rem;
    pointer-events: none;
}

.comment-wrapper .comment {
    padding: 0 0 20px 0;
}

.comment p {
    margin: 3px 0 0 0;
}

.sce-seperator,
.sce-timer {
    display: none;
}

.sce-edit-comment,
.sce-textarea {
    margin-top: 5px;
}

.sce-textarea textarea {
    padding: 4px 10px;
    width: 100%;
    border: 1px solid #e5e5e5;
    color: #666;
    font: inherit;
}

.sce-textarea button {
    display: inline-block;
    margin: 10px 10px 0 0;
}