html {
    font-size: 100%;
}

/* Base styles */
body {
    background-color: #2A1A1A;
    color: #FFFFFF;
    font-family: "YuMincho", "Yu Mincho", "游明朝", "游明朝体", "Hiragino Sans", "ヒラギノ角ゴシック", "Yu gothic medium", "游ゴシック medium", "YuGothic", "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    margin: 0;
    padding: 0;
    z-index: 1;
}

:root {
    --meincolor: #2A1A1A;
    --primary-color: #ED1C24;
    --secondary-color: #FFFFFF;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background-color: var(--meincolor);
    color: var(--secondary-color);
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50px;
    position: fixed;
    opacity: 0;
    animation: fadein2 3s 2s forwards;
    z-index: 2;
}

header h1 img {
    max-width: 80px;
    height: auto;
    margin-left: 15%;
}

/* Navigation menu */
nav {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

nav ul li {
    margin: 0 2%;
}

nav ul li a {
    color: #ED1C24;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

@media screen and (max-width: 600px) {
    nav ul li a {
        font-size: 0.8rem;
    }
}

nav ul li a:hover {
    text-decoration: underline;
}

#main-visual .main-visual-logo {
    background-image: url(image/P1036774.jpg);
    background-size: cover;
    background-position: center; 
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    opacity: 0;
    animation: fadein2 3s forwards;
    
}

#main-visual .main-visual-logo img  {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: fadein2 3s 1S forwards;
}

@media screen and (max-width: 600px) {
    #main-visual .main-visual-logo img {
        width: 80vw;
    }
    
}

#tarot {
    display: flex;
    margin: 5% auto;

}

@media screen and (max-width: 600px) {
    #tarot {
        display: block;
    }
}

#tarot .tarot-block1 {
    flex-basis: 70%;
}

#tarot .tarot-block1 h2 {
    font-size: 4rem;
    text-align: center;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

@media screen and (max-width: 600px) {
    #tarot .tarot-block1 h2 {
        font-size: 2rem;
    }
}

#tarot .tarot-block1 h2 p {
    font-size: 1.5rem;
    text-align: center;
    margin: 0;
}

@media screen and (max-width: 600px) {
    #tarot .tarot-block1 h2 p {
        font-size: 1rem;
    }
}

#tarot .tarot-block1 .tarot-text {
    text-align: center;
}

#tarot .tarot-block1 .tarot-text p {
    font-size: 1.2rem;
    text-align: left;
    display: inline-block;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

@media screen and (max-width: 600px) {
    #tarot .tarot-block1 .tarot-text p {
        font-size: 0.8rem;
        padding: 0 5%;
    }
}

#tarot .tarot-block1 .tarot-movie {
    text-align: center;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

#tarot .tarot-block1 .tarot-movie iframe {
    width:40vw;
    aspect-ratio: 16 / 9;
}

@media screen and (max-width: 600px) {
    #tarot .tarot-block1 .tarot-movie iframe {
        width: 80vw;
    }
}

#tarot .tarot-block2 {
    flex-basis: 30%;
    margin-top: 5%;
    padding: auto;
}

@media screen and (max-width: 600px) {
    #tarot .tarot-block2 .master-img {
        text-align: center;
    }
}

#tarot .tarot-block2 img {
    width: 20vw;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

@media screen and (max-width: 600px) {
    #tarot .tarot-block2 img {
        width: 70vw;
        aspect-ratio: 4 / 3;
        margin: auto 5%;
    }
}

@media screen and (max-width: 600px) {
    .master-text {
        text-align: center;
        padding: 0% 5%;
    }
}

@media screen and (max-width: 600px) {
    .master-text p a {
        color: blue;
        font-weight: bolder;
    }
    
}

#tarot .tarot-block2 p {
    font-size: 1.2rem;
    text-align: left;
    display: inline-block;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

@media screen and (max-width: 600px) {
    #tarot .tarot-block2 p {
        font-size: 0.8rem;
    }
}

#tarot .tarot-block2 .tarot-instagram {
    text-align: left;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

@media screen and (max-width: 600px) {
    #tarot .tarot-block2 .tarot-instagram {
        text-align: center;
    }
}

#magic {
    margin: 10% auto; 
}

#magic .magic-title {
    text-align: center;
    margin-top: 10%;
}

#magic .magic-title h2 {
    font-size: 4rem;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

@media screen and (max-width: 600px) {
    #magic .magic-title h2 {
        font-size: 2rem;
        margin-bottom: 0;
    }
}

#magic .magic-title h2 p {
    font-size: 1.5rem;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

@media screen and (max-width: 600px) {
    #magic .magic-title h2 p {
        font-size: 1rem;
        margin-bottom: 0;
    }
}

#magic .magic-text {
    text-align: center;
}

#magic .magic-text p {
    font-size: 1.2rem;
    text-align: left;
    display: inline-block;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

@media screen and (max-width: 600px) {
    #magic .magic-text p {
        font-size: 0.8rem;
    }
}

#magic .magic-movie {
    text-align: center;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

#magic .magic-movie iframe {
    width:40vw;
    aspect-ratio: 16 / 9;
}

@media screen and (max-width: 600px) {
    #magic .magic-movie iframe {
        width: 80vw;
    }
}

#magic .magic-img {
    display: flex;
    justify-content: center;
    margin-top: 2%;
}

@media screen and (max-width: 600px) {
    #magic .magic-img {
        text-align: center;
    }
}

#magic .magic-img a {
    margin: auto 2%;
}

#magic .magic-img img {
    width: 25vw;
    height: auto;
    object-fit: cover;
    margin: auto 2%;
    animation: zoomin 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

@media screen and (max-width: 600px) {
    #magic .magic-img img {
        width: 70vw;
        margin: auto 5%;
    }
}

#bar {
    margin-top: 10%;
}

#bar .bar-title {
    text-align: center;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 600px) {
    #bar .bar-title {
        display: block;
    }
    
}

#bar .bar-logo {
    flex-basis: 60%;
    margin: auto 0;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

#bar .bar-img a {
    margin: auto 2%;
}

#bar .bar-logo img {
    width: 30vw;
    object-fit: cover;
}

@media screen and (max-width: 600px) {
    #bar .bar-logo img {
        width: 70vw;
    }
}

#bar .bar-title-h2 {
    flex-basis: 40%;
    text-align: center;
    margin: auto 5%;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

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

#bar .bar-title-h2 h2 {
    font-size: 3rem;
    text-align: center
}

@media screen and (max-width: 600px) {
    #bar .bar-title-h2 h2 {
        font-size: 2rem;
    }
}

#bar .bar-title-h2  h2 p {
    font-size: 1.5rem;
    text-align: center;
}

@media screen and (max-width: 600px) {
    #bar .bar-title-h2  h2 p {
        font-size: 1rem;
    }
}

#bar .bar-text {
    text-align: center;
}

#bar .bar-text p {
    font-size: 1.2rem;
    text-align: left;
    display: inline-block;
    animation: fadein2 forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

@media screen and (max-width: 600px) {
    #bar .bar-text p {
        font-size: 0.8rem;
        padding: 0 10%;
    }

    #bar .bar-text p span {
        font-size: 0.9rem;
        font-weight: bold;
    }
}

#bar .bar-top-img {
    text-align: center; 
}

#bar .bar-top-img img {
    text-align: center;
    width: 50vw;
    height: auto;
    animation: zoomin 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

@media screen and (max-width: 600px) {
    #bar .bar-top-img img {
        width: 80vw;
    }
}

#bar .bar-img {
    display: flex;
    justify-content: center;
    margin-top: 2%;
}

#bar .bar-img img {
    width: 25vw;
    height: auto;
    object-fit: cover;
    margin: auto 2%;
    animation: zoomin 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-timeline: view(block);
    animation-range: cover 0% cover 50%;
}

#access {
    text-align: center;
    margin-top: 10%;
    background-image: url(image/P1036741.jpg);
    background-size: cover;
    background-position: center;
}

#access .access-title {
    display: flex;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.562);
}

@media screen and (max-width: 600px) {
    #access .access-title {
        display: block;
    }
}

#access .access-title h2 {
    font-size: 4rem;
    text-align: center;
    writing-mode: vertical-rl;
    margin-top: 5%;
}

@media screen and (max-width: 600px) {
    #access .access-title h2 {
        font-size: 2rem;
        writing-mode: horizontal-tb;
        margin-bottom: 0;
    }
}

#access .access-title iframe {
    width: 40vw;
    aspect-ratio: 800 / 450;
    margin: 0 5%;
    margin-top: 5%;
}

@media screen and (max-width: 600px) {
    #access .access-title iframe {
        width: 80vw;
    }
}

#access .access-text {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.562);
}

#access .access-text h3 {
    font-size: 2rem;
    text-align: center;
    text-align: left;
    display: inline-block;
}

@media screen and (max-width: 600px) {
    #access .access-text h3 {
        font-size: 1.5rem;
        text-align: center;
    }
}

#access .access-text p {
    font-size: 1.2rem;
    text-align: left;
    display: inline-block;
}

@media screen and (max-width: 600px) {
    #access .access-text p {
        font-size: 1rem;
        padding: 0 5%;
    }
}

@media screen and (max-width: 600px) {
    #access .access-text p a {
        color: blue;        
    }
    
}


#access .access-text p span {
    font-size: 1rem;
}

@media screen and (max-width: 600px) {
    #access .access-text p span {
        font-size: 0.8rem;
    }
}


footer {
    text-align: center;
    padding: 0;
    margin: 5% 0 0;
    width: 100%;
}

footer .footer-img img {
    width: 150px;
    height: auto;
}

@media screen and (max-width: 600px) {
    footer p {
        font-size: 0.8rem;
    }
    
}
