html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-image: url("bg_back.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

body {
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
    font-style: normal;
    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;
    font-family: "Grenze", serif;
    font-weight: 400;
    font-style: normal;
    position: relative;
    text-align: center;
    font-size: 2rem;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.page-container {
    width: min(840px, calc(100% - 40px));
    padding: 20px 0 0 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: #0f0303f0;
}

main {
    z-index: 1;
}

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

footer {
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(840px, 100%);
    background-color: #3a060b;
    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%;
}

.top-content {
    margin-bottom: 20px;
    text-align: center;
}

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

.artwork-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(3px) brightness(1.3);
    animation: artwork-full-animation 1s forwards 1.5s;
}

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

.splash {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background: #000;
    animation: splash-animation 0.5s forwards;
    animation-delay: 0.75s;
    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: 400px;
    margin-top: -80px;
    margin-left: -200px;
    animation: splash-logo-animation 1s forwards 0s, blinking-animation 0.05s infinite, splash-logo-blur-animation 0.5s forwards 0.5s;
}

@keyframes splash-logo-animation {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes splash-logo-blur-animation {
    0% {
        filter: blur(0) brightness(1);
    }
    100% {
        filter: blur(10px) brightness(1.3);
    }
}

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%;
}

.demo-youtube-embed {
    width: 540px;
    aspect-ratio: 16 / 9;
    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: 100%;
}

.album-description {
    margin-top: 20px;
    font-size: 1.6rem;
    line-height: 2.4rem;
}

.album-theme {
    color: #df343a;
    font-size: 2.0rem;
    font-weight: bold;
}

.track-container {
    position: relative;
    display: inline-block;
    width: min(600px, 100%);
    margin-bottom: 40px;
    text-align: left;
    background-color: #ffffff08;
    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-size: 1.2rem;
    color: #d95459;
    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;
    transition: 0.1s;
    line-height: 40px;
    text-align: center;
    padding: 0 10px;
    color: #fff;
    border-radius: 5px;
    border: 2px solid #d9545980;
}

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

.track-control-item:hover {
    background: #d95459;
    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: #d95459;
    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: #d9545980;
    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: #404040a0;
    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;
}

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;
}

.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: #956a48;
    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: #956a48;
}

section.section-border {
    position: relative;
    border-image: url("section_border.png") 68 68 68 68 fill / 68px 68px 68px 68px;
    border-width: 68px;
    border-style: solid;
    border-color: transparent;
    max-width: calc(100% - 80px * 2);
    margin: 10px 0;
    font-size: 1.25rem;
}

section.section-border h2 {
    position: absolute;
    top: -66px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    -webkit-text-stroke: 20px #120404;
    -moz-text-stroke: 20px #120404;
    paint-order: stroke;
    border-radius: 10px;
    padding: 0 10px;
}

#noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.08;
}

.staff-list-item-heading {
    display: inline-block;
    background: #d9545920;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1.0rem;

    text-align: left;
    min-width: 200px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.staff-list-item-name {
    display: inline-block;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: left;
    min-width: 400px;
}

.footer-chara {
    width: 100%;
    max-width: 100%;
    height: auto;
    opacity: 0.04;
    transition: opacity 0.2s ease-out;
    position: sticky;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

@media screen and (orientation: portrait) {
    .page-container:before {
        width: 100%;
        height: 150vh;
    }
    .page-container {
        width: 100%;
    }
    .track-container {
        width: calc(100% - 40px);
    }
    .track-title {
        font-size: 1rem;
    }
    .track-artist {
        font-size: 0.9rem;
    }
    header {
        width: 100%;
    }
    footer {
        width: 100%;
    }
    .staff-list-item-heading {
        width: 100%;
        margin-top: 10px;
    }
    .staff-list-item-name {
        margin-bottom: 10px;
        text-align: center;
    }
    .staff-list {
        margin-bottom: -20px;
    }
}