@font-face {
    font-family: "cinecaption";
    src: url("../assets/font/cinecaption226.ttf") format(truetype);
    font-display: swap;
}

body {
    font-family: "cinecaption";
    background-image: url("../assets/image/betty_to_aozora_background.jpg");
    background-size: 30px;
    background-repeat: repeat;
    margin-bottom: 30px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background-color: #fff;
    z-index: 4;
}

.loader-wrapper {
    position: fixed;
    inset: 0;
    background: #f0faff;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.soap-spinner {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #d3f3ff, #ffffff);
    border: 3px solid #bce0f2;
    animation: rotateSoap 1.5s linear infinite;
    box-shadow: 0 0 12px rgba(179, 229, 252, 0.6);
}

@keyframes rotateSoap {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-message {
    margin-top: 16px;
    color: #444;
    font-size: 16px;
}

a,
div {
    -webkit-tap-highlight-color: transparent;
}

p {
    margin: 0;
}

.title {
    white-space: nowrap;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    font-size: 23px;
    color: #000;
}

.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: #FAFAD2;
    color: #333;
    transition: right 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    z-index: 11;
}

.menu.open {
    right: 0;
}

.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    cursor: pointer;
    z-index: 20;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu ul {
    list-style-type: none;
    padding: 0;
    margin-top: 80px;
    cursor: pointer;
}

.menu li {
    padding: 20px 0;
    border-bottom: 1px solid #444;
}

.menu li a {
    color: #333;
    text-decoration: none;
    display: block;
}

.logo {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translate(-50%);
    width: 150px;
    height: 150px;
}

#logo-watermark {
    display: none;
}


@media screen and (min-width: 960px) {
    header {
        height: 70px;
    }

    .logo {
        justify-self: center;
        width: 200px;
        height: 200px;
        z-index: 3;
    }

    .title {
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 140px;
        font-size: 20px;
    }
}