@charset "utf-8";

.content-wrap{
    display: table;
    height: calc(100% - 64px);
    position: relative;
}
.content-inner{
    display: table-cell;
    vertical-align: middle;
    position: relative;
    width: 40%;
}
.clickme {
    position: absolute;
    bottom: 10px;
    width: 40px;
    left: 50%;
    animation: mousemove 1.6s ease-in-out infinite;
}
.clickme a{
    color: #231815;
    text-decoration: none;
}
.clickme span{
    font-size: 0.9rem;
}
@keyframes mousemove{
    0%{bottom:14px;}
    50%{bottom:5px;}
   100%{bottom:14px;}
}
/*========= 背景動画設定のCSS ===============*/
/*header設定*/
.content-wrap{
    position: relative;/*h1の中央寄せ配置の起点とするためのrelative*/
    height: calc(100vh - 64px);/*高さを全画面にあわせる*/
    display: flex;
} 
#video-area{
    position: fixed;
    z-index: -1;/*最背面に設定*/
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
}

#video {
    /*天地中央配置*/
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 199.9999999995vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: 112.5vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
    min-height: 100%;
    min-width: 100%;
}

/*見出し設定*/
.site-title-area{
    /*要素の配置*/
    position:absolute;
    /*要素を天地中央寄せ*/
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    /*見た目の調整*/
    color:#000;
    background: rgba(255,255,255,0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 50%;
    height: calc(100vh - 27px);
    padding: 5rem;
}
.site-title-area h1{
    width: 100%;
    margin: 0 auto 2rem;
}
.site-title-area h1 img{
    max-width: 100%;
}
/*========= レイアウトのためのCSS ===============*/

#container{
	background:#fff;
	padding:300px 0;
	text-align: center;
}
@media only screen and (max-device-width: 768px) and (orientation: portrait) {
    .clickme{
        top: 90%;
    }
    .site-title-area{
        width: 80%;
    }
    .site-title-area p{
        font-size: 2rem;
        line-height: 1.6;
    }
}
@media only screen and (max-device-height: 580px) {
    .site-title-area{
        width: 80%;
        padding: 2rem 1rem 1rem;
    }
    .site-title-area h1{
        max-width: 50%;
        margin-bottom: 0;
    }
    .clickme{
        bottom: 0px;
    }
}