@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>.monolog-animation {
    position: absolute;
    left: 0;
    top: 34%;
    transform: translate(-18%, -81%) scale(1.001);
    width: 68vw;
    height: auto;
    object-fit: cover;
    z-index: 2;
    display: block;
    filter: drop-shadow(0px 0px #000);
}

.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>.monolog-animation {
        width: 100vw;
        transform: translate(-18%, -81%) scale(1.001);
    }

    h1 {
        font-size: 12vw;
    }
}

@media (max-width: 450px) {
    .video-container>.monolog-animation {
        width: 133vw;
        transform: translate(-18%, -80%) 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: #000;
    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;
    }
}

/*
search
*/
.search {
    width: 95%;
    padding: 10px 0;
    display: flex;
    align-items: center;
    max-width: 1180px;
    margin: auto;
}

.search-form {
    background: #fff;
    border-bottom: 1px solid #3e3e3e;
    display: flex;
    margin: auto;
    padding: 15px 0;
    width: 100%;
}

.search-input {
    border: none;
    outline: none;
    padding: 10px 10px;
    font-size: 28px;
    flex-grow: 1;
}

.search-button {
    background: none;
    border: none;
    cursor: pointer;
}

.search-button>img {
    width: 3vw;
    height: auto;
    max-width: 50px;
}

/* fade-in base */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
    transition-delay: 0.3s;
}

/* visible state */
.fade-in.is-visible {
    opacity: 1;
}

.article-section {
    width: 95%;
    margin: 30px auto 30px;
    max-width: 1180px;
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.section-head h2 {
    font-size: 28px;
    font-weight: 700;
}

.section-head span {
    font-size: 14px;
    color: #666;
}

/* Pickup */
.pickup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.pickup-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.pickup-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pickup-content {
    position: absolute;
    inset: 0;
    padding: 24px;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.2),
            transparent);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.pickup-content h3 {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.meta {
    font-size: 12px;
    opacity: 0.85;
    display: flex;
    gap: 12px;
}

/* Latest */
.latest-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.latest-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.latest-item img {
    width: 240px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
}

.latest-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .search-form {
        padding: 5px 0;
    }
    .search-input {
        font-size: 20px;
    }
    .pickup-grid {
        grid-template-columns: 1fr;
    }

    .latest-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .latest-item img {
        width: 90%;
        height: auto;
    }
}