@charset "utf-8";
/*
Theme Name: CANON child
Theme URI:https://tcd-theme.com/tcd109
Description:WordPressテーマ「CANON」の子テーマ
Template:canon_tcd109
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/

/*
  ここから下にCSSを追記してください。
*/
:is(.post_content, .post_content .tcdce-body) .aligncenter {
    /* display: block; */
    margin: 0 auto 2em;
    text-align: center;
}


#custom-kv {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}
#custom-kv .kv-video iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;
	min-height: 100vh;
	min-width: 177.77vh;
	transform: translate(-50%, -50%);
	pointer-events: none;
}
.kv-text h2{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	z-index: 2;
	font-size:40px;
	font-family: var(--tcd-font-type1);
	font-weight: 600;
	width: 100%;
	text-align: center;
}


@media screen and (max-width: 800px) {
.kv-text h2{
	font-size: 24px!important;
    }
}
@media screen and (max-width: 1200px) {
.kv-text h2{
	font-size: 32px!important;
    }
}


