@charset "utf-8";

/* 
Base style
*/
body {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    font-family: 'Noto Sans JP', system-ui, -apple-system,
                 BlinkMacSystemFont, 'Segoe UI',
                 'Hiragino Kaku Gothic ProN',
                 'Yu Gothic', Meiryo, sans-serif;
}

a {
    color: #333;
    text-decoration: none;
}

/* 
hero 
*/
.hero {
    width: 100%;
    height: 100vh;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.video-container {
    position: absolute;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.video-container>.news-animation {
    position: absolute;
    left: 0;
    top: 33%;
    transform: translate(-12%, -78%) scale(1.001);
    width: 76vw;
    height: auto;
    object-fit: cover;
    z-index: 2;
    display: block;
    filter: drop-shadow(0px 0px #3e3e3e);
}

.video-container>.glass-animation {
    display: none;
    position: absolute;
    top: -20vw;
    left: 90%;
    transform: translateX(-50%);
    width: 75vw;
    height: auto;
    object-fit: cover;
    object-position: center 10%;

    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 0 #fff);
    aspect-ratio: auto 160 / 90;
}

h1 {
    font-size: 8vw;
    margin: 34.5vh auto auto 2vw;
}

#hero-link {
    display: flex;
    font-size: 3vw;
    font-weight: bold;
    margin: 1vw auto auto 2vw;
    align-items: center;
}

@media (max-width: 768px) {
    .video-container>.news-animation {
        width: 117vw;
        transform: translate(-15%, -75%) scale(0.940);
    }
    h1 {
        font-size: 12vw;
    }
}
@media (max-width: 450px) {
    .video-container>.news-animation {
        width: 145vw;
        transform: translate(-12%, -75%) scale(1.001);
    }
    h1 {
        font-size: 16vw;
    }
}

/* 
scroll 
*/
.scroll {
    height: 40vw;
    position: relative;
    display: flex;
    /* 中央寄せ用 */
    justify-content: center;
    /* 横方向中央 */
    align-items: center;
    /* 縦方向中央 */
}

#scroll-indicator {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* 中央揃え */
    font-size: 1vw;
    letter-spacing: 0.3vw;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: Arial, sans-serif;
    color: #3e3e3e;
    opacity: 0;
    animation: fadeInOut 1.7s ease-in-out infinite;
    /* 位置調整は flex でやるので absolute は不要 */
}

#scroll-indicator::after {
    content: "";
    display: block;
    width: 0.18vw;
    height: 2vw;
    /* ← ラインを長くした（調整可能） */
    margin-left: 0;
    background: #3e3e3e;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
@media (max-width: 768px) {
    #scroll-indicator {
        font-size: 2vw;
    }
}
@media (max-width: 450px) {
    #scroll-indicator {
        font-size: 3vw;
    }
}

/*
news
*/
.news {
    margin: 0 auto;
    position: relative;
}
.news-contents {
    padding: 0 15vw 10vw 15vw;
    margin: 0 auto;
}
.news-item {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #3e3e3e;
    padding: 1vw 0;
    margin-right: 3vw;
}
.news-item img {
    width: 13vw;
    height: auto;
    margin-right: 1vw;
}

.news-content {
    flex: 1;
    display: flex;
}

.category {
    font-size: 1.4vw;
    margin: 0;
    width: 12vw;
    text-align: center;
}

.news-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: left;
}

.date {
    font-size: 1.4vw;
    margin: 0 auto 0 0;
}

.text {
    font-size: 1.4vw;
    margin-bottom: 1vw;
    line-height: 1.5;
}

.link {
    text-decoration: none;
    color: #3e3e3e;
    font-size: 1.4vw;
    display: inline-block;
    margin-top: 0.5vw;
    font-weight: 500;
}

.more {
    text-align: right;
    margin-top: 4vw;
    margin-right: 4vw;
}

.more a {
    text-decoration: none;
    color: #3e3e3e;
    font-size: 1em;
    font-size: 2.5vw;
}
@media (max-width: 768px) {
    .news-contents {
        padding: 0 5vw 10vw 5vw;
    }
    .news-item img {
        width: 18vw;
    }
    .category {
        font-size: 2.5vw;
    }
    .date {
        font-size: 2.5vw;
    }
    .text {
        font-size: 2vw;
    }
    .link {
        font-size: 2vw;
    }
}
@media (max-width: 450px) {
    .news-item img {
        width: 25vw;
    }
    .news-details {
        padding-left: 3vw;
    }
    .category {
        font-size: 3.4vw;
    }
    .date {
        font-size: 3.4vw;
    }
    .text {
        font-size: 3vw;
    }
    .link {
        font-size: 3vw;
    }
}

/* fade-in base */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
    transition-delay: 0.3s;
}

/* visible state */
.fade-in.is-visible {
    opacity: 1;
}