/*共通*/
.main-contents .main-btn {
	font-weight: 400;
	width: 100%;
	height: 100%;
	line-height: 1.3;
	transition: .4s;
	border-radius: 7px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .1);

	&:hover {
		text-decoration: none;
	}

	.arrow {
		position: relative;
		display: inline-block;
		width: 7.7px;
		height: 13.3px;
		margin-left: 8px;
	}

	.arrow::before,
	.arrow::after {
		content: "";
		position: absolute;
		top: calc(50% - 1px);
		right: 0;
		width: 10px;
		height: 2px;
		border-radius: 9999px;
		background-color: #006EBC;
		transition: background-color .3s;
		transform-origin: calc(100% - 1px) 50%;
	}

	.arrow::before {
		transform: rotate(45deg);
	}

	.arrow::after {
		transform: rotate(-45deg);
	}
}

.pc-only {
	display: block;

	@media screen and (max-width: 768px) {
		display: none;
	}
}

.sp-only {
	display: none;

	@media screen and (max-width: 768px) {
		display: block;
	}
}

.yoyaku {
	text-align: center;

	.yoyaku-btn {
		background-image: linear-gradient(90deg, #f6ab00, #f58700);
		font-size: 32px;
		color: #fff;
		padding: 24px 16px;
		display: inline-block;
		max-width: 500px;
		position: relative;
		border: 1px solid #f6ab00;
		overflow: hidden;
		z-index: 1;
		transition: color 0.3s ease;

		&::after {
			content: "";
			position: absolute;
			inset: 0;
			background: #fff;
			opacity: 0;
			z-index: -1;
			transition: opacity 0.3s ease;
		}

		.arrow {
			position: absolute;
			right: 24px;
			top: 0;
			bottom: 0;
			margin: auto 0;
		}

		.arrow::before,
		.arrow::after {
			background-color: #fff;
			transition: background-color 0.3s ease;
		}

		&:hover {
			color: #f58700;
			border: 1px solid #f58700;

			&::after {
				opacity: 1;
			}

			.arrow::before,
			.arrow::after {
				background-color: #f58700;
			}
		}

		@media screen and (max-width: 768px) {
			font-size: 24px;
		}
	}
}


/*内容*/

.p-title {
	text-align: center;
	margin-top: 30px;
	margin-bottom: 60px;

	.p-title-txt {
		font-size: 45px;
		color: #006EBC;
		font-weight: 600;
		line-height: 1.4;

		span {
			display: inline-block;
			font-size: 30px;
			color: #000;
			font-weight: 400;
			position: relative;

			&::after {
				content: "";
				position: absolute;
				bottom: 2px;
				right: 0;
				left: 0;
				margin: auto 0;
				display: block;
				width: 100%;
				height: 8px;
				background-color: #FFCB53;
				z-index: -10;
			}
		}
	}

	@media screen and (max-width: 768px) {

		.p-title-txt {
			font-size: 32px;

			span {
				font-size: 20px;
			}
		}
	}
}

.link-list {
	background-color: #DCEFFD;
	padding: 100px 24px;

	.link-list-area {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
		gap: 16px;

		.link-list-item {
			list-style: none;
			margin: 0;

			.link-list-btn {
				background-color: #fff;
				padding: 16px 32px;
				font-size: 18px;
				text-align: left;
				color: #000;
				display: flex;
				justify-content: space-between;
				align-items: center;

				&:hover {
					color: #fff;
					background-color: #006EBC;

					.arrow::before,
					.arrow::after {
						background-color: #fff;
					}
				}
			}
		}
	}

	@media screen and (max-width: 768px) {
		padding-top: 60px;
		padding-bottom: 60px;

		.link-list-area {
			grid-template-columns: auto;

			.link-list-item {
				.link-list-btn {
					font-size: 16px;
					padding: 14px 20px;
				}
			}

		}
	}
}

.kakunin {
	text-align: center;
	margin-top: 50px;

	.kakunin-btn {
		background-color: #006EBC;
		color: #fff;
		max-width: 500px;
		font-size: 22px;
		padding: 24px;
		display: inline-block;
		position: relative;

		.arrow {
			position: absolute;
			right: 24px;
			top: 0;
			bottom: 0;
			margin: auto 0;
		}

		.arrow::before,
		.arrow::after {
			background-color: #fff;
		}

		&:hover {
			color: #000;
			background-color: #fff;

			.arrow::before,
			.arrow::after {
				background-color: #006EBC;
			}
		}

		@media screen and (max-width: 768px) {
			font-size: 18px;
		}
	}
}


/*来店サービス*/
.main-contents .service {
	background-color: #F9F4EB;

	.raiten-h2 {
		color: #fff;
		font-weight: 600;
		text-align: center;
		background-color: #F58700;
		padding: 22px;
		font-size: 32px;

		@media screen and (max-width: 768px) {
			font-size: 22px;
		}
	}

	.service-inner {
		padding: 100px 24px;

		@media screen and (max-width: 768px) {
			padding: 60px 20px;
		}

		.service-info {
			max-width: 1000px;
			width: 100%;
			margin: 0 auto 60px auto;

			.info-txt {
				background-color: #FFE9B7;
				padding: 32px 40px;
				position: relative;
				border-radius: 20px;
				margin-bottom: 80px;

				p {
					font-size: 24px;
					font-weight: 500;
					margin: 0;
					line-height: 1.8;

					span {
						color: #fff;
						background-color: #F58700;
					}
				}

				@media screen and (max-width: 768px) {
					padding: 20px 20px 170px 20px;

					p {
						font-size: 18px;
					}
				}

				.info-img {
					max-width: 340px;
					position: absolute;
					right: 10px;
					top: -50px;
					height: 100%;
					width: 100%;

					@media screen and (max-width: 768px) {
						max-width: 260px;
						top: auto;
						left: 0;
						margin: 0 auto;
					}
				}

				img {
					display: block;
					width: 100%;
				}
			}
		}


	}

	/*メリット*/
	.merit {
		background-color: #EFE7D9;
		padding: 0 20px 40px;
		border-radius: 32px;
		margin: 0 24px;
		box-sizing: border-box;
		width: auto;

		@media screen and (max-width: 768px) {
			margin: 0;
		}

		.raiten-h3 {
			background-color: #FFCB53;
			margin: 0 auto 18px auto;
			padding: 8px;
			text-align: center;
			font-size: 32px;
			font-weight: 500;
			position: relative;
			top: -35px;
			max-width: 1060px;
			border-radius: 50px;

			@media screen and (max-width: 768px) {
				font-size: 20px;
				max-width: 500px;
				top: -25px;
			}
		}

		.raiten-h3-pd {
			padding: 0 40px;

			@media screen and (max-width: 768px) {
				padding: 0 32px;
			}

			@media screen and (max-width: 400px) {
				padding: 0;
			}
		}

		.merit-list {
			display: flex;
			flex-wrap: wrap;
			gap: 24px;
			justify-content: center;

			.merit-item {
				background-color: #fff;
				padding: 20px 14px;
				border-radius: 10px;
				max-width: 334px;
				width: 100%;
				text-align: center;
				border: 1px solid #D9D9D9;

				img {
					display: block;
					width: 100%;
					max-width: 200px;
					margin: 0 auto;
				}

				p {
					font-size: 24px;
					font-weight: 600;
					margin-bottom: 0;
					line-height: 1.4;
					min-height: 72px;
					display: flex;
					align-items: center;
					justify-content: center;
					text-align: center;
				}

				@media screen and (max-width: 768px) {
					display: flex;
					gap: 14px;
					max-width: 100%;

					img {
						max-width: 120px;
						margin: 0;
					}

					p {
						font-size: 18px;
						text-align: left;
					}

				}
			}
		}
	}

	.end-info {
		text-align: center;
		padding: 80px 24px;

		@media screen and (max-width: 768px) {
			padding: 60px 20px;
		}

		img {
			max-width: 560px;
			width: 100%;
			margin: 0 auto 32px;

			@media screen and (max-width: 768px) {
				max-width: 300px;
			}
		}
	}
}
