/* トップページ:メインコンテンツレイアウト */
.article-body > *:not([class*="epb-spacer"]):not([class*="epb-container-box"]):not(:first-child):not(.product) {
	margin-top: 0;
}

/* トップページ:最新記事一覧 */
.no-helpdesk-hidden .wp-block-latest-posts {
	margin-bottom: 24px;
}

@media screen and (hover:hover) {
	.custom-top-lp-link:hover {
		filter: brightness(1.2);
	}
}

@media screen and (hover:none) {
	.custom-top-lp-link:active {
		filter: brightness(1.2);
	}
}

.custom-top-lp-link img {
	width: 100%;
	height: auto;
}

/* トップページ:メインビジュアル内ロゴ */
.main-visual__logo {
	position: absolute;
	bottom: 16px;
	right: 24px;
	display: flex;
	align-items: baseline;
	gap: 8px;
	z-index: 2;
}

.main-visual__logo-text {
	color: #fff;
	font-weight: bold;
	font-size: 1.6rem;
}

.main-visual__logo-image {
	max-width: 160px;
}

/* トップページ:動画部分 */
.custom-video {
	display: flex;
	justify-content: center;
}

@media (hover:hover) {
	.custom-video__link:hover {
		opacity: .7;
	}
}

@media (hover:none) {
	.custom-video__link:active {
		opacity: .7;
	}
}

.custom-video__item {
	width: 100%;
}

/* header-cta */
.header-cta__item:last-child {
	background-color: transparent;
}

.header-cta__item:last-child .header-cta__inner {
	color: initial;
}

@media (hover:hover) {
	.header-cta__item:last-child:hover .header-cta__inner {
		color: #fff;
	}
}

@media (hover:none) {
	.header-cta__item:last-child:active .header-cta__inner {
		color: #fff;
	}
}

@media screen and (min-width:600px) {
  .epb-btn-size__m .epb-btn {
    padding-left: 52px;
    padding-right: 52px;
  }
}

/* トップページ:お問い合わせフォーム */
.custom-wrapper--form p {
	color: #fff;
}

.custom-wrapper--form input[type="submit"] {
	background-color: var(--highlight-color);
}