@charset "UTF-8"; 
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

* {
  cursor: none !important;
}

body {
    font-family:"Roboto Mono";
    display: block;
    cursor: none;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

body.fade-in {
    opacity: 1;
}

img {
    max-width: 100%;
    height: auto;
}
:root {
    --p2: 1;
    --p1: 0.8495101498151154;
    --background-color:#2A353D;
}

.cursor {
    display: none;
}

@media screen and (min-width:769px) {
    .cursor {
        display: flex;
        position: absolute;
        pointer-events: none;
        z-index: 9999;
        mix-blend-mode: difference;
    }

    .cursor__ball {
        transition: transform 0.2s ease-out;
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(-50%, -50%);
    }

    .cursor__ball--small {
        opacity: 1;
    }

    .cursor__ball--big {
        opacity: 1;
        transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1); 
    }

    .cursor__ball--small svg circle {
        fill: #ffffff; /* 小さいボールの色を黒に変更 */
    }

    .cursor__ball--big svg circle {
        fill: #ffffff;
    }

    .hoverable {
        cursor: none;
        color: #ffffff;
        mix-blend-mode: difference;
        text-decoration: none;
        font-size: 50px;
        transition: transform 0.3s ease;
    }
    .hoverable:hover .cursor .cursor__ball--big {
        transform: translate(-50%, -50%) scale(2);
        opacity: 1;
    }

    .hoverable:hover {
        transform: scale(2.2);
    }
}

.topbtntop {
    display: flex;
    width: 20%;
    height: auto;
    justify-content: center;
    position: absolute;
    left: 2vw;
    bottom: 7.4vw;
    mix-blend-mode: difference;
    z-index: 10;
}

.topbtnbottom {
    display: flex;
    width: 20%;
    height: auto;
    justify-content: center;
    position: absolute;
    left: 2vw;
    bottom: 6vw;
    mix-blend-mode: difference;
    z-index: 10;
}

.topbtntop a{
    background-image: url(../images/commom/topbtntop.png);
    background-position: center;
    background-size: cover;
    display: flex;
    width: 15.5vw;
    height: 1.6vw;
}

.topbtnbottom a{
    background-image: url(../images/commom/topbtnbottom.png);
    background-position: center;
    background-size: cover;
    display: flex;
    width: 15.5vw;
    height: 1.6vw;
}

@media screen and (min-width:769px) {

    .topbtntop {
        bottom: 4.1vw;
    }
    .topbtnbottom {
        bottom: 3.1vw;
    }

    .topbtntop a{
        width: 10vw;
        height: 1vw;
        transform: translateX(0);
        transition: .5s;
    }

    .topbtnbottom a{
        width: 10vw;
        height: 1vw;
        transform: translateX(0);
        transition: .5s;
    }

    .topbtntop a:hover{
        transform: translateX(-10px);
    }

    .topbtnbottom a:hover {
         transform: translateX(10px);
    }
}

/* footer */
footer {
    display: flex;
    width: 100%;
    height: auto;
    padding: 3vw;
    gap: 3vw;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    z-index: 1;
}


.contact {
    display: flex;
    width: 100%;
    height: auto;
    gap: 1vw;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1;
}

.contactlist {
    display: flex;
    width: auto;
    height: auto;
    padding: 0 5vw;
    gap: 2.4vw;
}

.contactlist a {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
}

.contact p {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
}

.footer_list {
    display: flex;
    width: 100%;
    height: auto;
    gap: 3vw;
    padding: 0 5vw;
    flex-direction: row;
    justify-content: flex-end;
}

.footer_item {
    display: flex;
    width: auto;
    height: auto;
    justify-content: center;
}

.footer_item a {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
}

@media screen and (min-width:769px) {

    .contact {
        flex-direction: unset;
        justify-content: flex-end;
    }
   
    .contactlist a {
        font-size: 1.4rem;
        letter-spacing: 1rem;
        transition: .8s;
    }
    
    .contactlist a:hover {
        filter: blur(4px);
    }

    .contact p {
        font-size: 1.4rem;
        letter-spacing: 1rem;
    }

    .footer_item a {
        transition: .8s;
    }

    .footer_item a:hover {
        filter: blur(4px);
    }

    .footer_item a {
        font-size: 1.4rem;
        letter-spacing: 1rem;
    }

}

/* copy */

.copy {
    font-size: 1.2rem;
    letter-spacing: 1rem;
    writing-mode: vertical-rl;
    mix-blend-mode: difference;
    position: fixed;
    top: 30%;
    right: 2%;
    z-index: 1000;
}
@media screen and (min-width:769px) {
    .copy {
        font-size: 1.7rem;
        letter-spacing: 1rem;
    }
}
