@import url('https://fonts.googleapis.com/css2?family=BIZ+UDGothic:wght@400;700&family=BIZ+UDPGothic:wght@400;700&family=Inter:wght@100..900&display=swap');

body{
    margin: 0px;
    width: 100%;
    font-family: "Inter", "BIZ UDPGothic", sans-serif;
}

.top {
    width: 100%;
    height: 100dvh;
    background-image:  url("../img/top_background.png"), url("../img/top_uwuzu_back.png"); /* 背景画像の順序に注意 */
    background-size: cover; /* 背景画像のサイズ調整 */
    text-align: center;
    position: relative;
    overflow: hidden;
}
.top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200dvw;
    height: 400dvh;
    background-color: #FFC832;
    transform: translateX(-35%) translateY(-35%) rotate(45deg);
    animation: op 2s ease-in-out forwards;
}
@keyframes op {
    0% {
        transform: translateX(-35%) translateY(-35%) rotate(45deg);
    }
    40% {
        transform: translateX(-55%) translateY(-65%) rotate(45deg);
    }
    100% {
        transform: translateX(-150%) translateY(-95%) rotate(45deg);
    }
}
  

.top img{
    width: 8%;
    height: auto;
    top: 10%;
    left: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
    background-color: #FFC832;
    padding: 16px;
    border-radius: 15px;
    z-index: 9999;
}
.top .bigmoji{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);

    margin: 0px auto;
    text-align: center;
    width: 400px;
    height: 400px;

    background-color: #FFC832;
    border-radius: 25px;
}
.top .bigmoji h1{
    height: 256px;
    line-height: 256px;
    color: #FFFAE6;
    font-size: 256px;
    margin: 32px auto 0px auto;
}
.top .bigmoji h1 span{
    font-size: 128px;
}
.top .bigmoji p{
    color: #FFFAE6;
    font-size: 40px;
    margin: 0px;
}
.top .smallmoji{
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.top .smallmoji p{
    background-color: #FFC832;
    padding: 16px;
    border-radius: 15px;
    color: #FFFAE6;
    font-size: 24px;
    margin: 12px;
}
.kyokai{
    width: 100%;
    height: 16px;
    background-color: #FFC832;
    color: #FFFAE6;
}
main{
    margin: 32px auto;
    width: 100%;
    height: fit-content;
}
main .about_it{
    padding: 64px 0px;
    text-align: center;
}
main .about_it h1{
    font-size: 48px;
    color: #252525;
}
main .about_it p{
    font-size: 18px;
    color: #252525;
}
main .about_it h1:hover span{
    display:inline-block;
    vertical-align: top;
    animation: cycling 500ms;
}
@keyframes cycling {
    from {
      animation-timing-function: ease-in-out;
      transform: scale(1.0, 1.0) translate(0%, 0%) rotate(0deg) skew(0deg, 0deg);
      opacity: 1;
    }
    50%{
        animation-timing-function: ease-in-out;
        transform: scale(1.5, 1.5) translate(0%, 0%) rotate(-15deg) skew(0deg, 0deg);
        opacity: 1;
    }
    to {
      animation-timing-function: ease-out;
      transform: scale(1.0, 1.0) translate(0%, 0%) rotate(0deg) skew(0deg, 0deg);
      opacity: 1;
    }
}

main .count_uwuzu{
    margin: 32px auto;
    text-align: center;
    width: 80%;
}
main .count_uwuzu .flexbox{
    margin: 64px auto;
    display: flex;
    justify-content: space-between;
}
main .count_uwuzu .flexbox div{
    width: 30%;
    height: fit-content;
}
main .count_uwuzu .flexbox div h1 span{
    margin: 32px auto;
    line-height: 128px;
    font-size: 128px;
    color: #FFC832;
}
main .count_uwuzu .flexbox div h1 .tani{
    font-size: 64px;
}
main .count_uwuzu .flexbox div p{
    font-size: 32px;
    font-weight: bold;
    color: #252525;
}

main .history_uwuzu{
    margin: 32px auto;
    width: 1080px;
    height: fit-content;
    text-align: center;
}
main .history_uwuzu .timeline{
    width: 100%;
    height: fit-content;
}
main .history_uwuzu .timeline .items{
    width: 100%;
    height: fit-content;
    display: flex;
    text-align: left;
    margin: 32px auto;
}
main .history_uwuzu .timeline .items .date{
    width: 30%;
    font-size: 32px;
    font-weight: bold;
    color: #252525;
}
main .history_uwuzu .timeline .items .right{
    width: 70%;
    max-height: 70dvh;
    overflow: hidden;
}
main .history_uwuzu .timeline .items .right img{
    background: linear-gradient(45deg, #CCC 25%, transparent 25%, transparent 75%, #CCC 75%), linear-gradient(45deg, #CCC 25%, transparent 25%, transparent 75%, #CCC 75%);
    background-color: #FFF;
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;

    max-width: calc(100% - 32px);
    width: 100%;
    max-height: 75%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    border: solid 1px #252525;
    margin: 0px 16px;
}
main .history_uwuzu .timeline .items .right .flexbox{
    display: flex;
    width: auto;
    justify-content: space-between;
    margin: 0px 16px;
    max-height: 75%;
    height: auto;
}
main .history_uwuzu .timeline .items .right .flexbox img{
    background: linear-gradient(45deg, #CCC 25%, transparent 25%, transparent 75%, #CCC 75%), linear-gradient(45deg, #CCC 25%, transparent 25%, transparent 75%, #CCC 75%);
    background-color: #FFF;
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;

    max-width: calc(50% - 16px);
    width: 50%;
    object-fit: contain;
    border-radius: 15px;
    border: solid 1px #252525;
    margin: 0px;
}

main .history_uwuzu .timeline .items .right .text{
    padding: 0px 16px;
}
main .history_uwuzu .timeline .items .right .text h1{
    font-size: 32px;
    font-weight: bold;
    color: #252525;
    margin: 16px auto;
}
main .history_uwuzu .timeline .items .right .text p{
    font-size: 16px;
    font-weight: normal;
    color: #252525;
    margin: 8px auto;
}
main .future_uwuzu{
    margin: 32px auto;
    width: 1080px;
    height: fit-content;
    text-align: center;
}
main .future_uwuzu .next_update{
    width: fit-content;
    margin: 32px auto;
    text-align: center;
}
main .future_uwuzu .next_update .items{
    width: calc(100% - 2px);
    height: fit-content;
    max-height: 50dvh;
    overflow: hidden;
    display: flex;
    text-align: left;
    margin: 32px auto;
}
main .future_uwuzu .next_update .items img{
    background: linear-gradient(45deg, #CCC 25%, transparent 25%, transparent 75%, #CCC 75%), linear-gradient(45deg, #CCC 25%, transparent 25%, transparent 75%, #CCC 75%);
    background-color: #FFF;
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;

    width: 65%;
    max-height: 75%;
    object-fit: cover;
    border-radius: 15px;
    border: solid 1px #252525;
}
main .future_uwuzu .next_update .items .text{
    width: fit-content;
    height: 35%;
    margin: 0px auto 0px 16px;
    text-align: left;
}
main .future_uwuzu .next_update .items .text h1{
    font-size: 32px;
    font-weight: bold;
    color: #252525;
    margin: 16px auto;
}
main .future_uwuzu .next_update .items .text p{
    font-size: 16px;
    font-weight: normal;
    color: #252525;
    margin: 8px auto;
}

main .uwuzu_hajimeru{
    margin: 32px auto;
    width: 1080px;
    height: fit-content;
    text-align: center;
}
main .uwuzu_hajimeru .linkbox{
    display: flex;
}
main .uwuzu_hajimeru .linkbox a{
    background-color: #ffc832;
    border: none;
    border-radius: 50px;
    color: #FFFAE6;
    cursor: pointer;
    display: block;
    font-size: 20px;
    font-weight: bold;
    margin: 12px auto;
    padding: 11px 22px;
    text-align: center;
    text-decoration: none;
    transition: .3s ease-out;
    width: fit-content;
    box-shadow: 0 0px 16px 0 rgba(0, 0, 0, .05);
}
main .uwuzu_hajimeru .linkbox a:hover{
    background-color: #FFFAE6;
    color: #FFC832;
    box-shadow: 0 0px 32px 0 rgba(0, 0, 0, .15);
}

footer {
    width: 1080px;
    height: 32px;
    background-color: #252525;
    border-radius: 50px;
    margin-top: 48px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
    display: flex;
    text-align: left;
    padding-left: 16px;
}
footer a{
    font-size: 16px;
    font-family: 'BIZ UDGothic', sans-serif;
    font-weight: normal;
    color: #FFC832;
    text-decoration: none;
    margin: 0px;
    margin-right: 8px;
    line-height: 32px;
}

@media screen and (max-width: 1080px) {
    .top::before {
        width: 400dvw;
        height: 400dvh;
    }
    .top img{
        width: auto;
        height: 10%;
        top: 25%;
        left: 50%;
        transform: translate(-50%,-50%);
        position: absolute;
        background-color: transparent;
    }
    .top .bigmoji{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);

        width: 100%;
        height: 100dvh;

        background-color: transparent;
        animation: op_blur 2s ease-in-out forwards;
        backdrop-filter: blur(0px) saturate(100%);
    }
    @keyframes op_blur {
        0% {
            backdrop-filter: blur(0px) saturate(100%);
        }
        100% {
            backdrop-filter: blur(15px) saturate(200%);
        }
    }
    .top .bigmoji h1{
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%,-50%);

        margin-top: 8px;
        color: #252525;
    }
    .top .bigmoji p{
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%,-50%);

        color: #252525;
    }
    .top .smallmoji{
        position: absolute;
        bottom: 0%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: calc(100% - 32px);
    }
    .top .smallmoji p{
        background-color: #FFC832;
        padding: 8px;
        border-radius: 15px;
        font-size: 20px;
    }

    main .about_it{
        margin: 32px;
        width: calc(100% - 64px);
    }
    main .about_it h1{
        font-size: 32px;
    }
    main .about_it p{
        font-size: 20px;
    }

    main .count_uwuzu{
        margin: 32px;
        width: calc(100% - 64px);
    }
    main .count_uwuzu h1{
        font-size: 32px;
    }
    main .count_uwuzu p{
        font-size: 20px;
    }
    main .count_uwuzu .flexbox{
        margin: 64px auto;
        display: block;
    }
    main .count_uwuzu .flexbox div{
        width: 100%;
        height: fit-content;
    }
    main .count_uwuzu .flexbox div h1 span{
        margin: 32px auto;
        line-height: 100px;
        font-size: 100px;
    }
    main .count_uwuzu .flexbox div h1 .tani{
        font-size: 32px;
    }
    main .count_uwuzu .flexbox div p{
        font-size: 20px;
    }

	main .history_uwuzu{
        margin: 32px;
        width: calc(100% - 64px);
    }

    main .history_uwuzu .timeline .items{
        display: block;
        text-align: center;
        margin: 32px auto;
    }
    main .history_uwuzu .timeline .items .date{
        width: 100%;
        font-size: 32px;
        font-weight: bold;
        text-align: left;
        margin-bottom: 16px;
    }
    main .history_uwuzu .timeline .items .right{
        width: 100%;
        max-height: 70dvh;
    }
    main .history_uwuzu .timeline .items .right img{
        max-width: 100%;
        width: 100%;
        max-height: 75%;
        height: auto;

        border: none;
        margin: 0px 0px;
    }
    main .history_uwuzu .timeline .items .right .flexbox{
        display: flex;
        width: auto;
        justify-content: space-between;
        margin: 0px 0px;
        max-height: 75%;
        height: auto;
    }
    main .history_uwuzu .timeline .items .right .flexbox img{
        max-width: calc(50% - 8px);
        width: 50%;
        border: none;
        margin: 0px;
    }
    
    main .history_uwuzu .timeline .items .right .text{
        padding: 0px 16px;
    }
    main .history_uwuzu .timeline .items .right .text h1{
        font-size: 32px;
    }
    main .history_uwuzu .timeline .items .right .text p{
        font-size: 16px;
    }

    main .future_uwuzu{
        margin: 32px;
        width: calc(100% - 64px);
    }
    main .future_uwuzu .next_update .items{
        width: 100%;
        max-width: fit-content;
        max-height: fit-content;
        display: block;
        text-align: center;
        margin: 32px auto;
    }
    main .future_uwuzu .next_update .items img{
        width: 100%;
        max-height: 75%;
        border: none;
    }
    main .future_uwuzu .next_update .items .text{
        text-align: center;
        height: fit-content;
        margin: 0px;
    }
    main .future_uwuzu .next_update .items .text h1{
        font-size: 32px;
    }
    main .future_uwuzu .next_update .items .text p{
        font-size: 16px;
    }

    main .uwuzu_hajimeru{
        margin: 32px;
        width: calc(100% - 64px);
    }

    main .uwuzu_hajimeru .linkbox{
        display: block;
    }
    main .uwuzu_hajimeru .linkbox a{
        width: calc(100% - 64px);
    }

    footer {
        width: calc(100% - 64px);
    }
}