/**********
 共通
 ***********/
@media (min-width: 769px) {
    .full-none {
        display: none;
    }
}
@media (max-width: 768px) {
    .sp-none {
        display: none;
    }
    .order1 {
        order: 1 !important;
    }
    .order2 {
        order: 2 !important;
    }
}
.m-bottom-0 {
	margin-bottom: 0 !important;
}
#content .fixedmenu.pc {
    position: fixed;
    right: 0;
    bottom: 150px;
    z-index: 10;
    transition: opacity .5s ease;
}
#content .fixedmenu.pc .wp-block-uagb-info-box:not(:last-of-type) {
	border-bottom: 1px solid #fff;
}
#content .fixedmenu.sp .wp-block-uagb-container:not(:last-of-type) {
	border-right: 1px solid #fff;
}
#content .fixedmenu p {
	font-weight: bold;
	font-feature-settings: "palt";
	margin-bottom: 0;
}
#content .fixedmenu.pc {
	font-size: 11px;
	line-height: 1.5;
}
#content .fixedmenu.sp {
	font-size: 10px;
	line-height: 1.3;
}
footer #block-12 .uagb-block-5ca68bb8 {
	width: 100%;
	margin-bottom: 10px;
}

/**********
 ホーム
 ***********/
/* トップページのみヘッダーを透明に */
body.home .ast-primary-header-bar,
body.page-slug-test .ast-primary-header-bar {
    position: absolute; /* 動画の上に重ねる場合 */
    width: 100%;
    z-index: 10;
	
	/* 背景透明 */
    background: transparent;
}

/* サブページは通常ヘッダー */
body:not(.home):not(.page-slug-test) .ast-primary-header-bar {
    background-color: #ffffff;
}

/* トップページのヘッダー内文字を白に */
body.home .ast-primary-header-bar, body.page-slug-test .ast-primary-header-bar, 
body.home .ast-primary-header-bar a, body.page-slug-test .ast-primary-header-bar a, 
body.home .ast-primary-header-bar .main-header-menu a, body.page-slug-test .ast-primary-header-bar .main-header-menu a {
    color: #ffffff;
}
body.home .ast-primary-header-bar a svg,
body.page-slug-test .ast-primary-header-bar a svg {
	fill: #ffffff;
}
body.home .ast-builder-menu-1 .sub-menu .menu-item > .menu-link,
body.page-slug-test .ast-builder-menu-1 .sub-menu .menu-item > .menu-link {
	color: #333;
}
body.home .ast-builder-menu-1 .sub-menu .menu-item > .menu-link:hover,
body.page-slug-test .ast-builder-menu-1 .sub-menu .menu-item > .menu-link:hover {
	color: var(--ast-global-color-1);
}
body.home .uagb-container__video-wrap:before,
body.page-slug-test .uagb-container__video-wrap:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px; /* 上部80pxにグラデ */
	background: linear-gradient(to bottom, rgba(145,139,138,1) 0%, rgba(145,139,138,0) 100%);
	mix-blend-mode: multiply;
	pointer-events: none; /* クリックを邪魔しない */
	z-index: 2;
}
.fv-video-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.fv-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-logo {
  position: absolute;
  left: 0;
  bottom: 50px;
  width: 770px; /* ロゴの大きさ（調整可） */
  height: auto;
  max-width: 100%;
  z-index: 2;   /* 動画より前面に出す */
}

/* FVスライダー全体 */
.fv-slider-wrap {
  position: relative;
  width: 100%;
  height: 100vh;   /* ファーストビュー全面 */
  overflow: hidden;
}

/* Swiper本体をコンテナいっぱいに */
.fv-slider {
  width: 100%;
  height: 100%;
}

/* 各スライドの中の画像をカバー表示 */
.fv-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 余白が出ないようにトリミング */
  display: block;
}

/**********
 問い合わせ
 ***********/

/* 問い合わせフォームのu-visually-hiddenを隠す */
.u-visually-hidden{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}
/*フォーム関連*/
.wpcf7-form dl{
	margin-bottom: 5px;
}
.wpcf7-form dl dt p {
	font-weight: normal;
	font-size: 90%;
}
.wpcf7-form dl dd {
	margin: 0.5em 0 1.5em 0;
}
.wpcf7-form dl dd p {
	font-size: 90%;
	margin-top: 5px;
}
.wpcf7-form .terms {
    color: var(--ast-global-color-5);
    padding: 2px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    text-align: center;
	border-radius: 10px;
    margin-right: 15px;
}
.wpcf7-form .terms.require {
    background-color: #f15a24;
}
.wpcf7-form .terms.optional {
    background-color: #999;
}
.wpcf7-form .bold {
    font-weight: 600;
}
.wpcf7-form .wpcf7-form-control-wrap {
	display: inline-block;
}
.wpcf7-form .short-wrap .wpcf7-form-control-wrap {
	width: max-content;
}
.wpcf7-form .short-wrap .wpcf7-form-control-wrap input {
	margin-right: 10px;
}
.wpcf7-form [data-class="wpcf7cf_group"] {
	padding: 20px;
	border-radius: 10px;
}
.wpcf7-form .request-group {
	background-color: #ecf7fd;
}
.wpcf7-form .entry-group {
	background-color: #f3f6ff;
}
.wpcf7-form .other-group {
	background-color: #f5f5f5;
}
.wpcf7-form [data-name="postal-code"] {
	display: inline-block;
    width: 200px;
    margin-bottom: 15px;
}
.wpcf7-form .short {
	width: 300px !important;
}
.wpcf7-form .confirmation .bold {
    margin-bottom: 10px;
}
.wpcf7-form .privacy {
    font-size: 80%;
    padding-left: 20px;
    margin-top: 20px;
}
.wpcf7-form .privacy a {
    color: var(--ast-global-color-1) !important;
}
.wpcf7-form .confirm {
    text-align: center;
    margin-top: 50px;
}
.wpcf7-form .confirm > .wpcf7-form-control-wrap {
    margin-bottom: 20px;
}
.wpcf7-form .confirm .wpcf7-submit {
	background-color: var(--ast-global-color-1);
	border-color: var(--ast-global-color-1);
    color: var(--ast-global-color-5);
}
.wpcf7-form .confirm .wpcf7-submit:hover {
	background-color: var(--ast-global-color-2);
	border-color: var(--ast-global-color-2);
}
.wpcf7-form .confirm .wpcf7-spinner {
    display: none;
}
@media (max-width: 768px) {
    .wpcf7-form dl dt {
        width: 100%;
        margin-bottom: 10px;
    }
    .wpcf7-form dl dd {
        width: 100%;
        margin: 0 0 20px 0;
    }
    .wpcf7-form .privacy {
        padding-left: 0;
    }
    .wpcf7-form .wpcf7-acceptance span {
        margin: 0;
    }
}