/* フッター */
.footer {
	position: relative;
	width: 100%;
	max-width: 100%;
	background: #13A92F;
	border-radius: 40px 40px 0 0;
	overflow: hidden;
	box-sizing: border-box;
}

.footer__container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1232px;
	margin: 0 auto;
	padding: 112px 24px 24px;
	box-sizing: border-box;
}

/* タイトルセクション */
.footer__title-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 5rem;
}

.footer__title {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-weight: bold;
	font-size: 1.5rem;
	line-height: 44px;
	color: #ffffff;
	margin: 0;
	text-align: center;
}

.footer__title-underline {
	position: relative;
	width: 60px;
	height: 4px;
}

.footer__title-underline::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #ffffff;
}

/* CTAカードセクション */
.footer__cta-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	width: 100%;
	box-sizing: border-box;
}

.footer__cta-card {
	background: #ffffff;
	border-radius: 0;
	box-sizing: border-box;
	min-width: 0;
}

.footer__cta-card-content {
	padding: 56px;
	display: flex;
	flex-direction: column;
	gap: 32px;
	box-sizing: border-box;
}

.footer__cta-card-header {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.footer__cta-card-label {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-weight: bold;
	font-size: 0.875rem;
	line-height: 24px;
	color: #000000;
	margin: 0;
}

.footer__cta-card-title {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-weight: bold;
	font-size: 2rem;
	line-height: 1;
	color: #000000;
	margin: 0;
}

.footer__cta-card-description {
	font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
	font-weight: bold;
	font-size: 0.875rem;
	line-height: 24px;
	color: #000000;
	margin: 0;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.footer__cta-card-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 192px;
	height: 56px;
	border-radius: 100px;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-weight: bold;
	font-size: 0.875rem;
	line-height: 24px;
	text-decoration: none;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.footer__cta-card-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
	z-index: -1;
}

.footer__cta-card-button:hover::before {
	transform: scaleX(1);
}

.footer__cta-card-button--document {
	background: #000000;
	color: #ffffff;
}

.footer__cta-card-button--document::before {
	background: #4A4A4A;
}

.footer__cta-card-button--contact {
	background: #E2FF29;
	color: #000000;
}

.footer__cta-card-button--contact::before {
	background: #C5E000;
}

/* フッター情報 */
.footer__info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 0 0;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	margin-top: 120px;
}

.footer__links {
	display: flex;
	align-items: center;
	gap: 24px;
}

.footer__link {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-weight: bold;
	font-size: 0.875rem;
	line-height: 24px;
	color: #ffffff;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.footer__link:hover {
	opacity: 0.7;
}

.footer__copyright {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-weight: bold;
	font-size: 0.75rem;
	line-height: 18px;
	color: #ffffff;
	margin: 0;
}

/* 背景装飾 */
.footer__bg {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	pointer-events: none;
	box-sizing: border-box;
}

.footer__bg::before {
	content: '';
	position: absolute;
	top: -300px;
	left: -300px;
	width: 638px;
	height: 638px;
	background: transparent;
	border: 40px solid rgba(69, 245, 157, 0.3);
	border-radius: 638px;
}

.footer__bg::after {
	content: '';
	position: absolute;
	bottom: -300px;
	right: -300px;
	width: 638px;
	height: 638px;
	background: transparent;
	border: 40px solid rgba(69, 245, 157, 0.3);
	border-radius: 638px;
}


/* レスポンシブ - スマートフォン */
@media screen and (max-width: 768px) {
	.footer {
		border-radius: 40px 40px 0 0;
	}

	.footer__container {
		padding: 5rem 1rem 2.5rem;
		max-width: 100%;
	}

	.footer__title-section {
		gap: 0.4375rem;
		margin-bottom: 2.5rem;
	}

	.footer__title {
		font-size: 1.0938rem;
		line-height: 44px;
	}

	.footer__title-underline {
		width: 50px;
		height: 4px;
	}

	.footer__cta-cards {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.footer__cta-card-content {
		padding: 24px 16px;
		gap: 24px;
	}

	.footer__cta-card-description {
		font-size: 0.75rem;
	}

	.footer__cta-card-label {
		font-size: 0.75rem;
		line-height: 22px;
	}

	.footer__cta-card-title {
		font-size: 1.375rem;
	}

	.footer__cta-card-button {
		width: 100%;
		height: 50px;
		font-size: 0.6562rem;
		line-height: 22px;
	}

	.footer__info {
		align-items: flex-end;
		padding: 24px 0 0;
		width: 100%;
		margin-top: 40px;
	}

	.footer__links {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		width: 100%;
	}

	.footer__link {
		font-size: 0.75rem;
		line-height: 22px;
	}

	.footer__copyright {
		font-size: 0.625rem;
		line-height: 22px;
		width: 100%;
		text-align: right;
	}

	.footer__bg {
		max-width: 100%;
		height: 100%;
	}

	.footer__bg::before,
	.footer__bg::after {
		display: none;
	}
}


/* 固定ボタン - 画面右端中央 */
.fixed-button {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 195px;
	box-sizing: border-box;
	z-index: 998;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background: #E2FF29;
	color: #000000;
	font-weight: bold;
	font-size: 0.75rem;
	letter-spacing: 0.12px;
	writing-mode: vertical-rl;
	padding: 1rem 0.875rem;
}

/* グラデーション用の疑似要素 */
.fixed-button::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #C5E000;
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.4s ease;
	z-index: -1;
}

.fixed-button:hover::before {
	transform: scaleY(1);
}

/* テキストを前面に表示 */
.fixed-button span {
	position: relative;
	z-index: 1;
}