/*============================================================================================*/
/* Professional4 Custom Styles */
/*============================================================================================*/

/* CSS変数でフォントを上書き */
:root,
.elementor-kit-5 {
    --e-global-typography-primary-font-family: 'Noto Serif JP', serif !important;
    --e-global-typography-secondary-font-family: 'Noto Serif JP', serif !important;
    --e-global-typography-text-font-family: 'Noto Serif JP', serif !important;
    --e-global-typography-accent-font-family: 'Noto Serif JP', serif !important;
}

/* フォント統一 */
body,
html,
h1, h2, h3, h4, h5, h6,
p, a, span, small, em, strong,
input, select, textarea, button,
.elementor-heading-title,
.elementor-widget-text-editor p,
.elementor-widget-text-editor,
.ekit-menu-nav-link,
.dropdown-item,
.elementor-button,
.elementor-icon-list-text,
[class*="elementor"] {
    font-family: 'Noto Serif JP', serif !important;
}

/* ヒーロー動画セクション */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-section .video-pc,
.hero-video-section .video-sp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    object-fit: cover;
}

/* PC: video-pc表示、video-sp非表示 */
.hero-video-section .video-pc {
    display: block;
}
.hero-video-section .video-sp {
    display: none;
}

/* オーバーレイ */
.hero-video-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* コンテンツ */
.hero-video-section .hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-video-section .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    font-family: 'Noto Serif JP', serif;
    color: #fff !important;
}

.hero-video-section .hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    color: #fff !important;
}

/* スマホ: video-sp表示、video-pc非表示 */
@media (max-width: 767px) {
    .hero-video-section .video-pc {
        display: none;
    }
    .hero-video-section .video-sp {
        display: block;
        left: 0;
        transform: translateY(-50%);
        width: 100%;
        min-width: unset;
        height: auto;
        min-height: 100%;
    }
    .hero-video-section .hero-content h1 {
        font-size: 2rem;
    }
    .hero-video-section .hero-content p {
        font-size: 1rem;
    }
}
