@font-face {
    font-family: 'Aldrich Regular';
    src: url('font/Aldrich-Regular.woff') format('woff');
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-attachment: fixed;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

body {
    font-family: 'M PLUS Rounded 1c', 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
    z-index: 1;
    min-height: 100vh;
}

body * {
    z-index: 0;
}

button {
    font-family: 'Meiryo', 'Hiragino Kaku Gothic ProN', sans-serif;
}

h2 {
    white-space: nowrap;
}

.page-container {
    width: min(840px, calc(100% - 40px));
    padding: 20px 0;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-container:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    width: 840px;
    height: 100vh;
    background-color: #22211ff8;
}

main {
    z-index: 1;
}

header {
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(840px, 100%);
    background-color: #3b3f44;
    padding: 5px 0;
    color: #fff;
}

footer {
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(840px, 100%);
    background-color: #3b3f44;
    padding: 15px 0;
    color: #fff;
}

.top {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 5px;
    opacity: 1;
    animation: top-animation 2s forwards;
}

@keyframes top-animation {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
}

.col6 {
    flex: 1 0 60%;
}

.col4 {
    flex: 1 0 40%;
}

.artwork-container {
    position: relative;
    width: 500px;
    height: 500px;
    margin: auto;
}

.artwork-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.artwork-chara {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: artwork-chara-animation 1.75s forwards 1.2s;
}

.artwork-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: artwork-full-animation 2.5s forwards 2.75s;
}

@keyframes artwork-chara-animation {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes artwork-full-animation {
    0% {
        opacity: 1;
        filter: blur(3px) brightness(1.3);
    }
    100% {
        opacity: 1;
        filter: blur(0) brightness(1);
    }
}

.splash {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: #1e1e1e;
    animation: splash-animation 0.7s forwards 1.3s;
    display: block;
    overflow: hidden;
    z-index: 10;
}

@keyframes splash-animation {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.splash .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    margin-top: -80px;
    margin-left: -100px;
}

header .logo {
    width: 150px;
    display: block;
    fill: #000;
}

.content {
    width: 100%;
}

section, .section {
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    line-height: 3rem;
}

h1, h3 {
    text-align: center;
    position: relative;
}

h1 {
    font-weight: normal;
    font-size: 3rem;
    margin-top: 10px;
    margin-bottom: 4px;
}

h3 {
    font-size: 1.8rem;
    line-height: 2.5rem;
    font-weight: normal;
    margin-top: 5px;
    margin-bottom: 4px;
}

.decorated::before,
.decorated::after {
    content: "";
}

.jacket {
    display: block;
    width: 300px;
    max-width: 100%;
}

.column {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    width: 90%;
}

.column-item {
    flex: 1 0 40%;
}

.lyrics-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.lyrics {
    flex: 1 0 45%;
    font-size: 1rem;
    line-height: 1.75rem;
    text-align: left;
    max-width: 45%;
}

.lyrics .artist {
    text-align: center;
    font-size: 1rem;
    line-height: 1.5rem;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 15px;
}

.lyrics-body {
    background: rgba(255, 255, 255, 0.75);
    padding: 12px 20px;
    border-radius: 5px;
    width: 90%;
    margin-bottom: 10px;
}

.fade-in {
    opacity: 0;
    transition: opacity 1s;
}

.album-header {
    margin-top: 20px;
    margin-bottom: 40px;
}

.album-title-logo {
    width: 300px;
}

.album-description {
    margin-top: 40px;
    font-size: 1.2rem;
    line-height: 1.75rem;
}

.album-theme {
    color: #f38d00;
    font-size: 1.75rem;
    font-weight: bold;
}

h2 {
    font-family: 'Aldrich Regular', sans-serif;
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
    position: relative;
    margin-top: 35px;
    background-color: #f38d00;
}

h2:before, h2:after {
    display: inline-block;
    content: "";
    height: 40px;
    width: 100px;
    transform: translateY(26%);
    margin-left: .9em;
    margin-right: .9em;
    background-image: url("h2.png");
    background-repeat: no-repeat;
    background-size: contain;
}

.track-container {
    position: relative;
    display: inline-block;
    width: min(600px, 100%);
    margin-bottom: 40px;
    text-align: left;
    border: 2px solid #f38d00;
    padding: 20px 0 10px 0;
}

.track-container .plyr {
    margin: 0 12px;
}

.track-info {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 10px;
}

.track-title {
    font-size: 1.2rem;
    text-align: left;
    white-space: nowrap;
    line-height: 1.5rem;
}

.track-artist {
    font-size: 1rem;
    text-align: right;
    line-height: 1.5rem;
}

.track-number {
    font-family: 'Aldrich Regular', sans-serif;
    color: #f38d00;
    margin-right: 10px;
}

.track-control {
    width: 100%;
    height: 40px;
    cursor: default;
    text-align: left;
    margin-bottom: 10px;
    margin-left: 60px;
}

.track-control-item {
    font-size: 16px;
    min-width: 80px;
    height: 40px;
    display: inline-block;
    margin: 0px;
    background: #333;
    transition: 0.1s;
    line-height: 40px;
    text-align: center;
    padding: 0 10px;
    color: #fff;
    border-radius: 5px;
}

.track-control-item i {
    color: #f38d00;
}

.track-control-item:hover {
    background: #f38d00;
    color: #fff;
    cursor: pointer;
}

.track-control-item:hover i {
    color: #fff;
}

.track-control-item,
.track-control-item:link,
.track-control-item:hover,
.track-control-item:visited {
    text-decoration: none;
}

.text-shadow {
    filter: drop-shadow(0 0 3px #fff);
}

.download-button {
    display: inline-block;
    background-color: #f38d00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    margin-bottom: 15px;
    transition: 0.1s;
    text-decoration: none;
    line-height: normal;
}

.download-button:hover {
    background-color: #f5ac47;
    text-decoration: none;
}

.download-button:disabled {
    background-color: #d5d8d9;
    cursor:not-allowed !important;
    text-decoration: none;
}

.popup-dl {
    text-align: center;
}

.popup-dl-content {
    padding: 60px 40px;
    background: #ffbd6066;
    border-radius: 4px;
    margin-bottom: 15px;
}

.popup-dl-title {
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: left;
}

.popup-dl-description {
    margin-bottom: 20px;
}

.popup-dl-form {
    text-align: center;
}

.popup-dl-content .download-button {
    padding: 10px 10px;
    font-size: 0.8rem;
    height: 40px;
}

.popup-dl-content .text-box {
    padding: 3px 7px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 2px solid #ccc;
    min-width: 300px;
    height: 40px;
    font-size: 14px;
}

.popup-close-text {
    cursor: pointer;
    color: #eee;
}

i {
    margin-right: 0.5em;
}

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

a:hover {
    text-decoration: underline;
}

section:last-of-type {
    margin-bottom: 30px;
}

.blinking {
    animation: blinking-animation 0.05s infinite;
}

.blinking-shaking {
    animation: blinking-shaking-animation 0.05s infinite;
}

.lity-content:after {
    /*元々あるシャドウを消す*/
    box-shadow: none;
}

.lity-close {
    display: none;
}

@keyframes blinking-shaking-animation {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    50% {
        opacity: 0.8;
        transform: translateX(1px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes blinking-animation {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

@keyframes blinking-animation-weak {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 1;
    }
}

.popup-lyrics {
    text-align: center;
}

.popup-lyrics img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
}

@media screen and (orientation: portrait) {
    .page-container:before {
        background-color: #22211ff2;
        height: 150vh;
    }
    .page-container {
        width: 100%;
    }
    .track-container {
        width: calc(100% - 40px);
    }
    header {
        width: 100%;
    }
    footer {
        width: 100%;
    }
    .artwork-container {
        margin-bottom: 30px;
    }
    .album-title-logo {
        width: 350px;
    }
}

iframe {
    border-width: 0px;
}

.description {
    font-size: 16px;
    line-height: 40px;
}

.announcement {
    font-size: 12px;
    line-height: 24px;
    padding: 15px;
    background: rgba(255, 111, 125, 0.25);
    border-radius: 4px;
    margin-bottom: 10px;
}

#dl-all-songs-form .text-box {
    min-width: 320px;
}

#dl-all-songs-form .download-button {
    min-width: 300px;
}

.background-marquee {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -1;
    overflow: hidden;
    transform: rotate(-22deg);
    transform-origin: center;
    pointer-events: none;
}

.marquee {
    position: absolute;
    width: 20000px;
    height: 150px;
    background-image: url('marquee.png');
    background-repeat: repeat-x;
    background-size: contain;
}

.marquee:nth-child(odd) {
    animation: marquee-left 200s linear infinite;
}

.marquee:nth-child(even) {
    animation: marquee-right 200s linear infinite;
}

@keyframes marquee-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes marquee-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

.background-marquee .marquee {
    top: calc(var(--i) * 138px);
}

.loading-icon {
    position: absolute;
    top: calc(50% - 1px);
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    animation: fade-in-animation 0.1s ease-out forwards, loading-icon-move 0.4s ease-out forwards 0.4s, loading-icon-zoom 0.6s ease-out forwards 0.85s;
}

.loading-album-title {
    position: absolute;
    top: calc(50% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    opacity: 1;
    animation: fade-out-animation 0.1s ease-out forwards 0.4s, loading-icon-move 0.4s ease-out forwards 0.4s;
}

@keyframes loading-icon-move {
    0% {
        left: 50%;
    }
    100% {
        left: calc(50% - 150px);
    }
}

@keyframes loading-icon-zoom {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    10% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    20% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 0;
    }
}

.loading-bar {
    position: absolute;
    top: calc(50% - 7px);
    left: calc(50% + 50px);
    transform: translateX(-50%);
    width: 300px;
    height: 8px;
    background-color: #333;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    animation: fade-in-animation 0.1s ease-out forwards 0.7s;
}

@keyframes fade-in-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fade-out-animation {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.loading-bar-progress {
    height: 100%;
    width: 0;
    background-color: #f38d00;
    animation: loading-progress-animation 0.4s ease-out forwards 0.9s;
}

@keyframes loading-progress-animation {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

:root {
    --plyr-audio-controls-background: #22211f00;
    --plyr-audio-control-color: #fff;
    --plyr-color-main: #f38d00;
}
