@charset "UTF-8";

/* MV調整(2025/10/21) */
#mv,
#mv .mv_mp4,
#mv .mv_mp4 video{
	height: auto;
	max-height: initial !important;
}
#mv .mv_textimg {
    width: 100%;
    height: 100%;
    left: 0;
}
#mv .mv_textimg > div {
    left: 3%;
    bottom: 3%;
    width: 40%;
}
#mv .mv_textimg a {
    left: -1%;
}
@media screen and (max-width: 125vh){
	#mv.mv_mp4_cover {
		height: auto !important;
		min-height: 0 !important;
	}
}
@media screen and (max-height: 900px), screen and (max-width: 900px) {
    #mv .mv_textimg img {
        width: 100%;
    }
    #mv .mv_textimg a {
        width: 38%;
    }
}
@media screen and (max-width: 480px) {
    #mv .mv_textimg a {
        width: 38%;
    }
}

/* ご紹介パーツを縦書き変更(2025/10/23) */
@media only screen and (min-width: 901px) {
    #seo_w + div.composite_box01 .wrapper_item {
        display: block;
    }
    #seo_w + .composite_box01 .inner_item:nth-of-type(1):nth-last-of-type(2),
    #seo_w + .composite_box01 .inner_item:nth-of-type(2):nth-last-of-type(1) {
        width: 100%;
        margin-left: initial;
    }
    #seo_w + div.composite_box01 .inner_item > a {
        width: 80%;
        max-width: 800px;
    }
    #seo_w + div.composite_box01 .inner_item:nth-of-type(2) > a {
        width: 80%;
        margin-left: auto;
    }
    #seo_w + div.composite_box01.block_images_1 .inner_item_txt {
        display: block;
    }
    #seo_w + div .heading.block_header_4 .h,
    #seo_w + div .heading.block_header_4 p {
        text-align: center;
    }

    #seo_w + div .inner_item:first-child {
        margin-top: 0;
    }
    #img+section > .content_wrapper {
        margin-top: 0;
    }
}
@media screen and (min-width: 951px) {
    #seo_w + div .heading {
        -webkit-writing-mode: initial;
        -ms-writing-mode: initial;
        writing-mode: initial;
        text-orientation: initial;
        display: block;
        vertical-align: initial;
        text-align: center;
        width: 100%;
    }
    #seo_w + div .inner_item_txt>p {
        -webkit-writing-mode: initial;
        -ms-writing-mode: initial;
        writing-mode: initial;
        text-orientation: initial;
        display: block;
        vertical-align: initial;
        text-align: left;
        width: 100%;
        line-height: 1.9;
    }
    #seo_w + div.composite_box01.block_images_1 .inner_item_txt {
        height: auto;
    }
}