@import url('reset.css');
@import url('font.css');
@import url('info.css');

h1,div,p,span{
    font-family: kinto-sans;
}



html{
    width: 100%;
    height: 100%;
}

body{
    position: relative;
    background-color: #393939;
    width: 100%;
    height: 100vh;
}
/* 背景動画のスタイル */
.video-background {
    mix-blend-mode: multiply;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* 背景として後ろに配置 */
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 動画のアスペクト比を維持して画面全体をカバー */
    object-position: center;

    /*
        グラデーションマスク (Webkit対応) 
        波の動画に対するグラデーションとして最適
        mix-blend-mode: luminosity;←bodyタグにこれも入れる
        -webkit-mask-image: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.15) 5%,
            rgba(0, 0, 0, 0.1) 10%,
            rgba(0, 0, 0, 0.1) 15%,
            rgba(0, 0, 0, 0.05) 20%,
            rgba(0, 0, 0, 0) 40%
        );
        -webkit-mask-size: 100% 100%;
        mask-image: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.15) 5%,
            rgba(0, 0, 0, 0.1) 10%,
            rgba(0, 0, 0, 0.1) 15%,
            rgba(0, 0, 0, 0.05) 20%,
            rgba(0, 0, 0, 0) 40%
        );
        mask-size: 100% 100%;
    */
}

.content{
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: visible;
    overflow-x: clip;
}

.logo-wrapper{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blk-background{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: -1;
    width: 100%;
    height: 100%;
    background-color: #292929;
    /* 中央から外側に向かうグラデーションマスク */
    -webkit-mask-image: radial-gradient(
        circle closest-side,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.6) 20%,
        rgba(0, 0, 0, 0.5) 30%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.3) 55%,
        rgba(0, 0, 0, 0.2) 65%,
        rgba(0, 0, 0, 0.06) 85%,
        rgba(0, 0, 0, 0.01) 95%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-size: 100% 100%;
    mask-image: radial-gradient(
        circle closest-side,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.6) 20%,
        rgba(0, 0, 0, 0.5) 30%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.3) 55%,
        rgba(0, 0, 0, 0.2) 65%,
        rgba(0, 0, 0, 0.06) 85%,
        rgba(0, 0, 0, 0.01) 95%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-size: 100% 100%;
}

.rotating-image-1 {
    opacity:0.8;
    top: 10%; /* 少し余白を追加 */
    left: 40%;
    width: 30%; /* 画像のサイズ調整 */
    max-width:230px;
    animation: reverse-rotate 120s linear infinite; /* アニメーション適用 */
}

.rotating-image-2{
    opacity:0.8;
    top: 25%; /* 少し余白を追加 */
    left: 20%;
    width: 20%; /* 画像のサイズ調整 */
    max-width: 120px;
    animation: rotate 80s linear infinite; /* アニメーション適用 */
}

.rotating-image-3{
    opacity:0.5;
    top: 90%; /* 少し余白を追加 */
    left: 70%;
    width: 70%; /* 画像のサイズ調整 */
    max-width: 430px;
    animation: reverse-rotate 200s linear infinite; /* アニメーション適用 */
}

.rotating-image-1,.rotating-image-2,.rotating-image-3{
    position: absolute;
    filter: invert(1);
    z-index: -1;
}

/* 回転アニメーション */
@keyframes rotate {
    from {
        transform: translate(-50%,-50%) rotate(0deg);
    }
    to {
        transform: translate(-50%,-50%) rotate(360deg);
    }
}

@keyframes reverse-rotate {
    from {
        transform: translate(-50%,-50%) rotate(0deg);
    }
    to {
        transform: translate(-50%,-50%) rotate(-360deg); /* 時計回りではなく反時計回りに回転 */
    }
}

.section-wrapper{
    margin:0 auto; max-width: 1000px; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; padding:15% 5%; gap: 50px;
}

.image-info-card-mask{
    padding:5% 0 ; width:100%; display: flex; justify-content: center; align-items: center; background-color: #151515;
    mask-image: url('../assets/img/image-info-card-mask.png');
    mask-repeat: no-repeat; 
    mask-position: center; 
    mask-size: 100% 100%;

    -webkit-mask-image: url('../assets/img/image-info-card-mask.png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: 100% 100%;
}


/* タブレット用 (769px〜1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
}

/* PC用 (1025px以上) */
@media screen and (min-width: 1025px) {
    .logo-wrapper{
        width:66.6%;
    }
    .rotating-image-1 {
        top: 20%; /* 少し余白を追加 */
        left: 80%;
        width: 30%; /* 画像のサイズ調整 */
        max-width:230px;
    }
    
    .rotating-image-2{
        top: 35%; /* 少し余白を追加 */
        left: 70%;
        width: 20%; /* 画像のサイズ調整 */
        max-width: 120px;
    }
    
    .rotating-image-3{
        top: 75%; /* 少し余白を追加 */
        left: 85%;
        width: 70%; /* 画像のサイズ調整 */
        max-width: 500px;
    }
    .section-wrapper{
        padding:5% 5%;
    }
}