@charset "UTF-8";
/*************************************************

follow-cta（追従CTA）
表示・非表示は assets/js/follow-cta.js が .is-visible を付け外しする

*************************************************/
.follow-cta {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	padding-bottom: env(safe-area-inset-bottom);
	background-color: #fff;
	border-top: #ac1f28 solid 2px;
	-webkit-box-shadow: 0 -0.2rem 1.2rem rgba(46, 46, 46, 0.08);
	        box-shadow: 0 -0.2rem 1.2rem rgba(46, 46, 46, 0.08);
	opacity: 0;
	visibility: hidden;
	-webkit-transform: translateY(1.2rem);
	        transform: translateY(1.2rem);
	-webkit-transition: opacity 0.3s, visibility 0s linear 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, visibility 0s linear 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s, visibility 0s linear 0.3s;
	transition: opacity 0.3s, transform 0.3s, visibility 0s linear 0.3s, -webkit-transform 0.3s;
	/* .header（500）より下。スマホメニューは .header 内にあるためCTAを覆う */
	z-index: 400;
}
.follow-cta.is-visible {
	opacity: 1;
	visibility: visible;
	-webkit-transform: none;
	        transform: none;
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
	transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
}
.wrapper.menu-open .follow-cta {
	opacity: 0;
	visibility: hidden;
}

.follow-cta__inner {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	gap: 2rem;
	width: min(105rem, 100% - 4rem);
	height: 6.2rem;
	margin: 0 auto;
}
@media screen and (max-width: 1023px) {
	.follow-cta__inner {
		height: 5.8rem;
	}
}
@media screen and (max-width: 767px) {
	.follow-cta__inner {
		width: auto;
		height: auto;
		padding: 0.6rem max(1rem, env(safe-area-inset-right)) 0.6rem max(1rem, env(safe-area-inset-left));
	}
}

.follow-cta__lead {
	margin: 0;
	color: #2f4050;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}
@media screen and (max-width: 1023px) {
	.follow-cta__lead {
		font-size: 1.4rem;
	}
}
@media screen and (max-width: 767px) {
	/* 高さを抑えるため視覚的には隠し、aside のラベルとしてのみ残す */
	.follow-cta__lead {
		overflow: hidden;
		position: absolute;
		width: 1px;
		height: 1px;
		clip-path: inset(50%);
	}
}

.follow-cta__links {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media screen and (max-width: 767px) {
	.follow-cta__links {
		gap: 0.6rem;
		width: 100%;
	}
}

.follow-cta__links-item {
	margin: 0;
	padding: 0;
}
@media screen and (max-width: 767px) {
	.follow-cta__links-item {
		-webkit-box-flex: 1;
		    -ms-flex: 1 1 0px;
		        flex: 1 1 0;
		min-width: 0;
	}
}

.follow-cta__anchor {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	gap: 0.8rem;
	min-width: 15rem;
	height: 4.4rem;
	padding: 0 1.6rem;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	background-color: #2e2e2e;
	border: #2e2e2e solid 2px;
	border-radius: 0.5rem;
	-webkit-transition: background-color 0.3s, border-color 0.3s, opacity 0.3s;
	transition: background-color 0.3s, border-color 0.3s, opacity 0.3s;
}
@media screen and (max-width: 1023px) {
	.follow-cta__anchor {
		min-width: 0;
		height: 4rem;
		padding: 0 1.4rem;
		font-size: 1.3rem;
	}
}
@media screen and (max-width: 767px) {
	.follow-cta__anchor {
		gap: 0.5rem;
		height: 4.4rem;
		padding: 0 0.2rem;
		font-size: 1.2rem;
		letter-spacing: 0;
	}
}
@media (any-hover: hover) {
	.follow-cta__anchor:hover {
		border-color: #b89d5a;
		opacity: 0.9;
	}
}
.follow-cta__anchor:focus-visible {
	outline: #ac1f28 solid 2px;
	outline-offset: 2px;
}

/* LINE：既存アイコン（icon_line.png）の緑。白文字ではコントラストが不足するため文字は濃色 */
.follow-cta__anchor.is-line {
	color: #2e2e2e;
	background-color: #06c755;
	border-color: #06c755;
}
/* Chatwork：サイトのアクセント赤 */
.follow-cta__anchor.is-chatwork {
	background-color: #ac1f28;
	border-color: #ac1f28;
}
@media (any-hover: hover) {
	.follow-cta__anchor.is-line:hover {
		background-color: #05b34c;
		border-color: #05b34c;
		opacity: 1;
	}
	.follow-cta__anchor.is-chatwork:hover {
		background-color: #8e1a21;
		border-color: #8e1a21;
		opacity: 1;
	}
}
.follow-cta__anchor.is-line:focus-visible {
	outline-color: #048a3b;
}

.follow-cta__icon {
	-ms-flex-negative: 0;
	    flex-shrink: 0;
	width: auto;
	height: 1.8rem;
}
@media screen and (max-width: 767px) {
	.follow-cta__icon {
		height: 1.5rem;
	}
}
@media screen and (max-width: 359px) {
	.follow-cta__icon {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.follow-cta,
	.follow-cta.is-visible,
	.follow-cta__anchor {
		-webkit-transform: none;
		        transform: none;
		-webkit-transition: none;
		transition: none;
	}
}

@media print {
	.follow-cta {
		display: none;
	}
}
