@charset "UTF-8";

/*-----------ヘッダー常時固定-----------*/
@media screen and (min-width: 901px) {
header {
    position: fixed !important;
    top: 0;
}
body.scrolled header:not(.nofixed) {
    top: 0;
    opacity: 1;
}
}
@media screen and (max-width: 900px) {
header, header.over, header.nofixed {
    position: fixed !important;
}
}

/*-----MV動画調整-----*/
#mv_outer {
    border-top: 0 !important;
}
#mv .mv_mp4 {
    max-height: 100% !important;
    min-height: 400px;
}
#mv.mv_mp4_contain .mv_mp4 video {
    height: calc(100svh - 60px) !important;
    max-height: 100% !important;
    min-height: 400px;
    object-fit: cover;
}
@media screen and (max-width: 700px) {
#mv.mv_mp4_contain .mv_mp4 video {
    height: calc(100svh - 180px) !important;
}
}
@media screen and (max-width: 600px) {
#mv.mv_mp4_contain .mv_mp4 video {
    height: calc(100svh - 160px) !important;
}
}
@media screen and (max-width: 400px) {
#mv.mv_mp4_contain .mv_mp4 video {
    height: calc(100svh - 150px) !important;
}
}

/*-----MVテキスト調整-----*/
body:not(.edit_view ).done #mv.mv_mp4_pv .mv_text {
    transition: initial; 
    opacity: 1;
    align-items: flex-end;
}
#mv .mv_text>div {
    width: fit-content;
    margin-top: auto;
    margin-left: unset;
    bottom: 30px;
    left: 30px;
}
#mv_outer #mv .mv_text div p.static {
    font-size: 4rem;
    line-height: 1.5;
    padding-top: 0;
    text-align: left;
    text-shadow: 0 0 2px #111, 0 0 2px #111, 0 0 2px #111, 0 0 2px #111, 0 0 2px #111, 0 0 2px #111, 0 0 2px #111, 0 0 2px #111, 0 0 2px #111;
}
@media screen and (max-width: 800px) {
#mv .mv_text {
    align-items: flex-end;
}
#mv_outer #mv .mv_text div p.static {
    font-size: 2.5rem;
}
}

/*-----フィルター付与-----*/
header h1,
header .header_contents .header_col1 .tel,
header .header_contents .header_col1 .btn .translate a,
header .header_contents .header_col2,
header nav ul.nav_1st>li>a,
header .burger li.sp_translate a,
header .sp_menu a div {
    filter: drop-shadow(1px 1px 1px #fff) drop-shadow(-1px 1px 1px #fff) drop-shadow(1px -1px 1px #fff) drop-shadow(-1px -1px 1px #fff);
}
