/*
Theme Name: KeyGo Original Theme
Author: Original
Version: 1.0.0
*/

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@100;300;400;500;700;800;900&display=swap');

@font-face {
    font-family: 'LightNovel POP';
    src: url('./assets/webfonts/LightNovelPOPv2.woff2') format('woff2');
}


/*  ----------------------------------------------------------

font-size

----------------------------------------------------------  */

html {
    font-size: 14px;
}

@media screen and (max-width: 1280px) {
    html {
        font-size: 1.09vw;
    }
}

@media screen and (max-width: 767px) {
    html {
        font-size: 2.051vw;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 2.67vw;
    }
}

/*  ----------------------------------------------------------

base

----------------------------------------------------------  */

:root {
    --subfont: "LightNovel POP", sans-serif;
}

body {
    color: #000;
    background-color: #fff;
    font-family: "M PLUS 1p", sans-serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #000;
    text-decoration: none;
    transition: 0.5s;
}

a:hover {
    opacity: 0.7;
}

.ctrl {
    display: inline-block;
}

ul li {
    list-style: none;
}

* {
    box-sizing: border-box;
}

.contents-width {
    max-width: 85.71rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.youtube-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube-wrapper iframe {
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 768px) {
    a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
    }
}


/*  ----------------------------------------------------------

fade

----------------------------------------------------------  */

.fade {
    opacity: 0;
    transform: translateY(2rem);
}

.fade.is-animation {
    animation: fade 0.5s ease;
    animation-fill-mode: both;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/*  ----------------------------------------------------------

header

----------------------------------------------------------  */

.header-top {
    background-color: #000;
}

.header-top__inner {
    display: flex;
    align-items: flex-end;
    padding: 3rem 0 2rem;
}

.header-logo {
    margin-right: 3rem;
}

.header-logo h1 {
    color: #fff;
    font-family: "Anton", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.header-catch p {
    color: #fff;
    font-family: var(--subfont);
    font-size: 1.5rem;
    font-weight: 700;
}

.header-kiyaku {
    margin-left: auto;
}

.header-kiyaku p {
    background-color: #b4b4b4;
    color: #fff;
    font-size: 1.1rem;
    padding: 0.5rem 1.1rem 0.5rem 0.5rem;
    border-radius: 2rem;
}

.header-kiyaku span {
    background-color: #222;
    display: inline-block;
    padding: 0 0.3em;
    border-radius: 50%;
    margin-right: 0.6rem;
}

.header-nav {
    background-color: #a6a6a6;
    padding: 1.8rem 2rem;
}

.header-nav__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.header-nav__list a {
    color: #fff;
}

@media screen and (max-width: 767px) {
    .header-top__inner {
        flex-wrap: wrap;
        padding: 1rem 0 1.2rem;
    }

    .header-catch {
        order: -1;
        margin-bottom: 0.5rem;
    }

    .header-catch p {
        font-size: 1.3rem;
    }

    .header-nav {
        padding: 1.4rem 2rem;
    }
}

@media screen and (max-width: 480px) {
    .header-catch {
        margin-bottom: 0.7rem;
    }

    .header-catch p {
        font-size: 1rem;
        font-weight: 500;
    }
}

/*  ----------------------------------------------------------

footer

----------------------------------------------------------  */

.footer-sns {
    background-color: #b4b4b4;
    width: 100%;
}

.footer-sns__list {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-sns__list a {
    display: flex;
    text-align: center;
    width: 12rem;
    height: 12rem;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: #fff;
}

.footer-sns__list .facebook a {
    background-color: #1877f2;
}

.footer-sns__list .x-twitter a {
    background-color: #000;
}

.footer-sns__list .youtube a {
    background-color: #DA1725;
}

.footer-sns__list .instagram a {
    background-image: linear-gradient(to right, #4C64D3, #CF2E92);
}

.footer-sns__list .tiktok a {
    background-color: #000;
}

.footer-links {
    background-color: #222;
    padding: 3rem 0 2rem;
}

.footer-links__main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo p {
    color: #fff;
    font-family: "Anton", sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.footer-catch p {
    text-align: center;
    color: #fff;
    font-family: var(--subfont);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
}

.footer-links__nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.2;
}

.footer-links__nav ul li:not(:last-child) {
    border-right: 1px solid #fff;
    padding-right: 1rem;
    margin-right: 1rem;
}

.footer-links__nav ul li a {
    color: #fff;
}

.footer-copyright {
    background-color: #000;
}

.footer-copyright p {
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

@media screen and (max-width: 767px) {
    .footer-sns__list a {
        width: 8.8rem;
        height: 8.8rem;
        font-size: 4rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-sns__list a {
        width: 6.5rem;
        height: 6.5rem;
        font-size: 3rem;
    }

    .footer-links__main {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .footer-links__nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links__nav ul li:not(:last-child) {
        border-right: 0;
        padding-right: 0;
        margin-right: 0;
    }
}

/*  ----------------------------------------------------------

music

----------------------------------------------------------  */

.music-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 1.5rem;
    background-color: #fff;
}

.music-posts__item {
    padding: 1rem;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);
}

.music-posts__artist {
    color: #717171;
    font-size: 1.1rem;
    letter-spacing: 0;
}

.music-posts__title {
    font-family: var(--subfont);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0;
}

.music-posts__mood,
.music-posts__mood a {
    color: #717171;
    font-size: 0.9rem;
}

.music-posts__dlnum {
    color: #717171;
    font-weight: 700;
    letter-spacing: 0;
}

.music-posts__dllink {
    margin-top: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.music-posts__dllink a {
    display: inline-block;
    border: 1px solid #000;
}

.music-posts__dllink a .icon {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 0.4rem 0.6rem;
}

.music-posts__dllink a .name {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0 0.3rem 0 0.7rem;
    display: inline-block;
}

.music-posts__dllink a .time {
    color: #717171;
    padding: 0 0.5rem 0 0;
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0;
}

.music-posts__more {
    margin-top: 2rem;
    text-align: center;
}

.music-posts__more a {
    display: inline-block;
    background-color: #fff;
    padding: 1.4rem 2.5rem;
    font-family: var(--subfont);
    font-size: 1.3rem;
    font-weight: 500;
    border-radius: 3rem;
}

@media screen and (max-width: 767px) {
    .music-posts {
        grid-template-columns: repeat(1, 1fr);
    }

    .music-posts__dllink {
        justify-content: flex-start;
        gap: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .music-posts__title {
        font-size: 1.6rem;
    }
}

/*  ----------------------------------------------------------

top

----------------------------------------------------------  */

.top-ttl {
    font-family: var(--subfont);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
}

.top-recommend {
    background-color: #000;
    padding: 3rem 0;
}

.top-recommend .top-ttl {
    color: #fff;
}

.top-popular {
    background-color: #b4b4b4;
    padding: 3rem 0;
}

.top-new {
    background-color: #fff;
    padding: 3rem 0;
}

.top-new .music-posts__more a {
    background-color: #000;
    color: #fff;
}

/*  ----------------------------------------------------------

page

----------------------------------------------------------  */

.page-title {
    padding: 1.5rem 0;
}

.page-title h1 {
    font-family: var(--subfont);
    font-weight: 700;
    font-size: 2.2rem;
}

.page-contents {
    background-color: #000;
    padding: 5rem 0;
}

.page-contents .sub-ttl {
    color: #fff;
    font-family: var(--subfont);
    font-weight: 400;
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.page-contents p {
    color: #fff;
    font-family: var(--subfont);
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.page-contents a {
    color: #fff;
    text-decoration: underline;
}

.page-contents ol {
    list-style-position: inside;
    list-style-type: decimal;
    margin-bottom: 1rem;
}

.page-contents ol li {
    color: #fff;
    font-family: var(--subfont);
    font-weight: 400;
    font-size: 1rem;
}

@media screen and (max-width: 480px) {
    .page-contents {
        padding: 2rem 0 3rem;
    }
}

/*  ----------------------------------------------------------

archive

----------------------------------------------------------  */

.page-archive {
    background-color: #000;
    padding: 5rem 0;
}

.archive-ttl {
    font-family: var(--subfont);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    color: #fff;
}

.archive-control {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.archive-bottom__pagination {
    display: inline-block;
    margin-top: 3rem;
}

.sort {
    display: flex;
    gap: 2px;
    background-color: #fff;
}

.sort-link a {
    background-color: #ccc;
    display: block;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
}

.pagination-wrapper {
    display: flex;
    align-items: center;
    background-color: #a6a6a6;
    gap: 2px;
}

.pagination {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.pagination a,
.pagination span {
    padding: 0.3rem 0.5rem;
    background-color: #eee;
    text-decoration: none;
}

.pagination .current {
    background-color: #f7e91b;
}

.pagination-info {
    background-color: #eee;
    padding: 0.3rem 0.6rem;
}

@media screen and (max-width: 480px) {
    .page-archive {
        padding: 3rem 0;
    }

    .archive-control {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .pagination-wrapper {
        font-size: 1.2rem;
    }
}

/*  ----------------------------------------------------------

single

----------------------------------------------------------  */

.single-bread {
    background-color: #ebeaf2;
    color: #666;
    padding: 1.5rem 0;
}

.single-bread a {
    color: #666;
    text-decoration: underline;
}

.single-bread__ttl {
    display: block;
    color: #000;
    margin-top: 0.8rem;
    font-size: 2.8rem;
    font-weight: 900;
}

.single-contents {
    padding: 5rem 0;
}

.single-main {
    display: flex;
    gap: 4rem;
}

.single-main__youtube {
    width: 50%;
    flex-basis: 50%;
    flex-shrink: 0;
}

.single-main__info {
    flex-grow: 1;
}

.single-main__ttl {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.single-main__cat {
    margin-bottom: 1rem;
}

.single-main__cat th,
.single-main__cat td {
    border-bottom: 0.5rem solid #fff;
    padding: 0.6rem 0.8rem;
}

.single-main__cat th {
    background-color: #ececec;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    width: 8.5rem;
}

.single-main__cat th i {
    margin-right: 0.5rem;
}

.single-main__cat td a {
    color: #11adea;
}

.single-main__dlnum {
    color: #717171;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0;
}

.single-main__dlnum .number {
    font-size: 1.4em;
    margin-right: 0.3rem;
}

.single-main__dllink {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.single-main__dllink a {
    display: inline-block;
    border: 1px solid #000;
}

.single-main__dllink a .icon {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 0.4rem 0.6rem;
}

.single-main__dllink a .name {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0 0.3rem 0 0.7rem;
    display: inline-block;
}

.single-main__dllink a .time {
    color: #717171;
    padding: 0 0.5rem 0 0;
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0;
}

.single-main__share--ttl {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.single-main__share--links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.single-main__share--links a,
.single-main__share--links span {
    font-size: 2rem;
    display: flex;
    width: 3rem;
    height: 3rem;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
}

.single-main__share--x a {
    background-color: #000;
    color: #fff;
}

.single-main__share--fb a {
    background-color: #1877f2;
    color: #fff;
}

.single-main__share--line a {
    background-color: #06c755;
    color: #fff;
}

.single-main__share--copy span {
    color: #717171;
    cursor: pointer;
}

.single-about {
    margin-top: 2rem;
}

.single-about__ttl {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.single-about__text {
    font-weight: 500;
}

.single-recommend {
    margin-top: 3rem;
}

.single-recommend__ttl {
    font-size: 2rem;
}

@media screen and (max-width: 767px) {
    .single-main {
        flex-direction: column;
    }

    .single-main__youtube {
        width: auto;
        flex-basis: auto;
    }
}

@media screen and (max-width: 480px) {
    .single-contents {
        padding: 3rem 0;
    }

    .single-main {
        gap: 2rem;
    }
}

/*  ----------------------------------------------------------

search

----------------------------------------------------------  */

.search-section {
    background-color: #222;
    padding: 3rem 0;
}

.search-section__heading h2 {
    font-family: var(--subfont);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #fff;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.search-form__content {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.search-form__genre,
.search-form__keyword {
    padding: 1rem;
    font-size: 1.3rem;
    border: 0;
    border-radius: 0.3rem;
    background-color: #a6a6a6;
    color: #fff;
    outline: none;
}

.search-form__genre {
    flex-basis: 6rem;
    flex-shrink: 0;
}

.search-form__keyword {
    flex-grow: 1;
}

.search-form__keyword::placeholder {
    color: #fff;
}

.search-form__submit {
    font-family: "M PLUS 1p", sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    padding: 1rem 3rem;
    background-color: #fff;
    color: #222;
    border: none;
    border-radius: 3rem;
    cursor: pointer;
    transition: 0.5s;
}

.search-form__submit:hover {
    opacity: 0.5;
}

.search-mood {
    margin-top: 2rem;
}

.search-mood__body {
    background-color: #fff;
    padding: 1.2rem;
    border-radius: 0.3rem;
}

.search-mood__title {
    font-size: 1.4rem;
    color: #222;
    text-align: center;
    cursor: pointer;
}

.search-mood__list {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-mood__link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #efefef;
    color: #333;
    border-radius: 2rem;
    font-size: 1rem;
}

@media screen and (max-width: 767px) {
    .search-form__submit .text {
        display: none;
    }
}

@media screen and (max-width: 480px) {

    .search-form__genre,
    .search-form__keyword {
        font-size: 1rem;
    }

    .search-form__genre {
        flex-basis: 4rem;
        flex-shrink: 0;
    }

    .search-form__submit {
        font-size: 1.1rem;
        padding: 0 1.2rem;
    }

    .search-mood__body {
        padding: 1rem;
    }

    .search-mood__title {
        font-size: 1.2rem;
    }
}