/**
 * Front Page Specific Styles
 *
 * フロントページ専用のCSS。style.cssから分離して軽量化。
 * front-page.phpでのみ読み込む。
 */

/* CTA Buttons — ベースは非表示（モバイル: motion.cssで表示、PC: 下記メディアクエリで表示） */
.cta-buttons {
    display: none;
}

/* Front Page: Hero (PC Layout Only — モバイル/タブレットはstyle.cssで定義) */
@media (min-width: 1024px) {
    .hero-section {
        display: grid;
        grid-template-columns: 40% 60%;
        min-height: 100vh;
        align-items: center;
        margin-bottom: 6rem;
        position: relative;
        /* Container unification: Align with site-wide .container */
        max-width: var(--container-max-width);
        margin-left: auto;
        margin-right: auto;
        padding: 0 2rem;
    }

    /* PC版: hero-contentとhero-visualをグリッド配置 */
    .hero-content {
        grid-column: 1;
        grid-row: 1;
    }

    .hero-visual {
        grid-column: 2;
        grid-row: 1;
        height: calc(100vh - var(--header-safe-zone));
        margin-top: 5rem;
        overflow: hidden;
        border-radius: 1.5rem;
    }

    /* PC版: CTA Buttons — Charcoal Outlined Pill */
    .cta-buttons {
        display: flex;
        gap: 1.5rem;
        justify-content: flex-start;
        margin-top: 2rem;
        padding-left: 10%; /* .hero-copy と左端を揃える */
    }

    .cta-btn.glass-pill {
        padding: 0.8rem 2.5rem;
        border-radius: var(--radius-pill);
        border: 1px solid var(--text-color);
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        color: var(--text-color);
        font-family: var(--font-ui);
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: lowercase;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .cta-btn.glass-pill:hover {
        background: var(--text-color);
        color: var(--bg-color);
        transform: none;
    }
}

.hero-copy {
    padding: 0 10%;
}

.hero-date {
    display: block;
    margin-bottom: 2rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

.main-copy {
    font-size: 1.5rem;
    /* Reverted to original per v2 spec - PC keeps original size */
    font-weight: 500;
    line-height: 1.8;
    /* Reverted to original */
    margin-bottom: 3rem;
    white-space: pre-wrap;
}


/* CLS防止: pictureタグにも同じスタイルを適用 */
.hero-visual picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
}

/* =========================================
   Scroll Down Indicator (Bauhaus Modern)
   ========================================= */
.scroll_down {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll_down a {
    display: block;
    color: #FFFFFF;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: lowercase;
    padding-top: 60px;
    /* Space for graphic */
    position: relative;
    transition: opacity 0.3s ease;
}

.scroll_down a:hover {
    opacity: 0.8;
    /* Adjusted for white text */
}

/* Arrow */
.scroll_down a:before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    width: 6px;
    height: 6px;
    border: 1px solid #FFFFFF;
    border-width: 0 0 1px 1px;
    transform: translateX(-50%) rotate(-45deg);
    z-index: 2;
}

/* Static Circle */
.scroll_down a:after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 44px;
    height: 44px;
    border: 1px solid #FFFFFF;
    border-radius: 100%;
    transform: translateX(-50%);
}

/* Ripple Animation (on span) */
.scroll_down a span {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    pointer-events: none;
}

.scroll_down a span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    border: 1px solid #FFFFFF;
    opacity: 0;
    animation: scrollCircle 5s infinite;
    /* Gentle Motion (Ma) */
}

@keyframes scrollCircle {
    0% {
        transform: scale(1);
        opacity: 0;
    }

    30% {
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* PC: Scroll Indicator Color Override */
@media (min-width: 1024px) {
    .scroll_down a {
        color: var(--text-color);
    }

    .scroll_down a:before {
        border-color: var(--text-color);
    }

    .scroll_down a:after {
        border-color: var(--text-color);
    }

    .scroll_down a span::before {
        border-color: var(--text-color);
    }
}
