/*
Theme Name: Lightning Child
Theme URI: http://example.com/lightning-child
Description: Child theme for the Lightning theme
Author: Your Name
Author URI: http://example.com
Template: lightning
Version: 1.0.0
*/

/* 親テーマのスタイルをインポート */
@import url("../lightning/style.css");

.page-header {
    position: relative;
    width: 100%;
    /* height: 500px; 必要に応じて高さを調整 */
    overflow: hidden;
    z-index: 1; /* 確実に前面に表示するための設定 */
}

@media (min-width: 992px) {
    .page-header {
        height: 372px; /* 必要に応じて高さを調整 */
    }
}

@media screen and (max-width: 992px){
    .page-header {
        height: 308px; /* 必要に応じて高さを調整 */
    }
}

.page-header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* 背景として表示するための設定 */
}
.page-header-inner {
    position: relative;
    z-index: 1;
    color: #fff; /* 必要に応じて色を変更 */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    padding: 0 1rem;
    z-index: 1; /* 文字のz-indexを下げる */
    position: relative; /* z-indexを有効にするためにpositionを設定 */
}
.contact-page-header .page-header-title {
    color: black;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: flex;
    align-items: left;
    justify-content: left;
}

#play-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 10000;
    position: relative;

#play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

@media (min-width: 768px) {
    .video-overlay {
        display: none;
    }
}
