@charset "UTF-8";

.scroll-now {
	.edit-area {
		&.kv {
			.kv-video {
				&:after {
					opacity: 1;
				}
			}
		}
	}
}

.edit-area {
	&.kv {
		.kv-video {
			position: relative;
			display: flex;
			align-items: center;
			justify-content: center;
			border-radius: 2rem;
			overflow: hidden;
			height: 66rem;

			@media screen and (max-width: 767px) {
				border-radius: 1rem;
				height: 70vh;
			}

			& video {
				width: 100%;
				height: auto;
				background: #fafafa;
			}

			&:before {
				content: "";
				position: absolute;
				left: 0;
				bottom: 0.9rem;
				z-index: 1;
				display: block;
				width: 100%;
				height: 8.3rem;
				background: url(../img/index/kv_object01.svg) no-repeat center bottom / auto 100%;
			}

			@media screen and (max-width: 767px) {
				&:before {
					background-size: 90% auto;
				}
			}

			&:after {
				content: "";
				position: absolute;
				left: 0;
				top: 0;
				z-index: 1;
				display: block;
				width: 100%;
				height: 100%;
				background: rgba(255, 255, 255, 0.5) url(../img/index/kv_logomark.png) no-repeat center center / 56.1rem auto;
				opacity: 0;
				transition: ease 0.25s opacity;
			}

			@media screen and (max-width: 767px) {
				&:after {
					background-size: 15rem auto;
				}
			}
		}
	}

	&.message {
		padding: 10rem 0 7rem;

		@media screen and (max-width: 767px) {
			padding: 2rem 0 4rem;
		}

		.message-set {
			display: flex;
			flex-wrap: wrap;
			align-items: flex-start;
			justify-content: space-between;
			flex-direction: row-reverse;

			@media screen and (max-width: 767px) {
				gap: 3rem;
				flex-direction: column-reverse;
			}

			.set-photo {
				width: 68rem;
				overflow: hidden;
				border-radius: 2rem;

				@media screen and (max-width: 767px) {
					width: 100%;
					border-radius: 1rem;
				}

        & iframe {
          width: 100%;
          height: 36rem;
          @media screen and (max-width: 767px) {
            aspect-ratio: 16 / 9;
            height: auto;
          }
        }
			}

			.set-text {
				width: calc(100% - 68rem - 12.7rem);

				@media screen and (max-width: 767px) {
					width: 100%;
				}

				.common-text {
					margin-bottom: 5.3rem;

					@media screen and (max-width: 767px) {
						margin-bottom: 3rem;
					}
				}

				.common-btn {
					@media screen and (max-width: 767px) {
						text-align: center;
					}
				}
			}
		}
	}

	&.about {
		padding: 7.2rem 0 6.5rem;
		background: #f8f8f8;

		@media screen and (max-width: 767px) {
			padding: 4rem 0;
		}

		.about-list {
			display: flex;
			flex-wrap: wrap;
			margin: 4rem 0 6rem;
			gap: 3.8rem;

			@media screen and (max-width: 767px) {
				flex-direction: column;
				margin: 2rem 0;
				gap: 2rem;
			}

			& li {
				width: calc(50% - 1.9rem);

				@media screen and (max-width: 767px) {
					width: 100%;
				}
			}

			.list-group {
				display: flex;
				flex-wrap: wrap;
				margin-bottom: 3.1rem;
				text-decoration: none;
				overflow: hidden;
				background: #fff;
				border-radius: 2rem;

				@media screen and (max-width: 767px) {
					margin-bottom: 1.2rem;
					border-radius: 1rem;
				}

				@media (hover: hover) and (pointer: fine) {
					&:hover {
						.group-text {
							color: #fff;
							background: #e50012;

							.text-label {
								color: #fff;
							}

							&:after {
								background-size:
									0,
									100% auto;
							}
						}

						.group-photo {
							& img {
								transform: scale(1.2);
							}
						}
					}
				}

				.group-photo {
					width: 37.1rem;
					overflow: hidden;

					& img {
						transition: ease 0.25s transform;
					}

					@media screen and (max-width: 767px) {
						width: 50%;
					}
				}

				.group-text {
					position: relative;
					display: flex;
					align-items: center;
					justify-content: center;
					flex-direction: column;
					width: calc(100% - 37.1rem);
					transition:
						ease 0.25s color,
						ease 0.25s background-color;

					@media print, screen and (min-width: 767.01px) {
						padding-top: 1.1rem;
						padding-right: 1.3rem;
					}

					@media screen and (max-width: 767px) {
						width: 50%;
					}

					&:after {
						content: "";
						position: absolute;
						right: 2.5rem;
						top: calc(50% + 1px);
						z-index: 1;
						display: block;
						width: 1rem;
						height: 1.4rem;
						background:
							url(../common/img/parts/icon_arrow01_red.svg) no-repeat center center / 100% auto,
							url(../common/img/parts/icon_arrow01_white.svg) no-repeat center center / 0;
						transform: translateY(-50%);
					}

					@media screen and (max-width: 767px) {
						&:after {
							right: 1.2rem;
						}
					}

					.text-title {
						margin-bottom: 1.1rem;
						font-weight: 700;
						font-size: 2.6rem;
						line-height: 1.19;
						text-align: center;
						letter-spacing: 0.15em;

						@media screen and (max-width: 767px) {
							margin-bottom: 0.4rem;
							font-size: 1.8rem;
						}
					}

					.text-label {
						font-family: "Jost";
						font-weight: 500;
						line-height: 1.4375;
						text-align: center;
						letter-spacing: 0.05em;
						color: #e50012;
						transition: ease 0.25s color;

						@media screen and (max-width: 767px) {
							font-size: 1.2rem;
						}
					}
				}
			}

			.list-caption {
			}
		}
	}

	&.service {
		padding: 8rem 0 7rem;

		@media screen and (max-width: 767px) {
			padding: 4rem 0 6rem;
		}
	}

	&.recipe {
		padding: 0 0 8rem;

		@media screen and (max-width: 767px) {
			padding: 0 0 4rem;
		}
	}

	&.recommended {
		padding: 7.5rem 0 6.4rem;
		background: #fef9f3;

		@media screen and (max-width: 767px) {
			padding: 4rem 0;

			.common-title {
				margin-bottom: 0;
			}
		}
	}

	&.business {
		padding: 8rem 0;

		@media screen and (max-width: 767px) {
			padding: 4rem 0;
		}

		.business-set {
			display: flex;
			gap: 9.2rem;
			@media screen and (max-width: 767px) {
        flex-direction: column;
				gap: 2rem;
			}

			.set-photo {
				width: 70rem;
        flex-shrink: 0;
				border-radius: 2rem;
				overflow: hidden;
				@media screen and (max-width: 767px) {
					width: 100%;
					border-radius: 1rem;
				}
			}
			.set-text {
				font-weight: 400;
				font-size: 1.8rem;
				line-height: 190%;
				letter-spacing: 0.02em;
				@media screen and (max-width: 767px) {
					font-size: 1.6rem;
				}
				.text-detail {
					margin-bottom: 3rem;
          @media screen and (max-width: 767px) {
            margin-bottom: 1.5rem;
          }
        }
			}
		}

		.business-list {
			display: flex;
			flex-wrap: wrap;
			gap: 3.8rem;
			margin-bottom: 5.1rem;

			@media screen and (max-width: 767px) {
				flex-direction: column;
				gap: 3rem;
				margin-bottom: 3rem;
			}

			& li {
				width: calc(100% / 2 - 1.9rem);

				@media screen and (max-width: 767px) {
					width: 100%;
				}
			}

			& a {
				text-decoration: none;

				@media (hover: hover) and (pointer: fine) {
					&:hover {
						.list-photo {
							& img {
								transform: scale(1.2);
							}
						}

						.list-detail {
							color: #e50012;
						}
					}
				}
			}

			.list-title {
				margin-bottom: 2rem;
				min-height: 6.2rem;

				@media screen and (max-width: 767px) {
					margin-bottom: 1.4rem;
					min-height: auto;
				}
			}

			.list-photo {
				margin-bottom: 3.1rem;
				overflow: hidden;
				border-radius: 2rem;

				@media screen and (max-width: 767px) {
					margin-bottom: 1rem;
					border-radius: 1rem;
				}

				& img {
					transition: ease 0.25s transform;
				}
			}

			.list-detail {
				position: relative;
				padding-right: 2rem;
				transition: ease 0.25s color;

				@media screen and (max-width: 767px) {
					line-height: 1.8;
				}

				&:after {
					content: "";
					position: absolute;
					right: 0;
					top: calc(50% + 1px);
					z-index: 1;
					display: block;
					width: 1rem;
					height: 1.4rem;
					background:
						url(../common/img/parts/icon_arrow01_red.svg) no-repeat center center / 100% auto,
						url(../common/img/parts/icon_arrow01_white.svg) no-repeat center center / 0;
					transform: translateY(-50%);
				}
			}
		}
	}

	&.news {
		padding: 0 0 9rem;

		@media screen and (max-width: 767px) {
			padding: 0 0 4rem;

			.common-title {
				margin-bottom: 0;
			}
		}
	}

	.index-list {
		&.type01 {
			display: flex;
			flex-wrap: wrap;
			margin: 4rem 0 5rem;
			gap: 4rem;

			@media screen and (max-width: 767px) {
				flex-direction: column;
				margin: 2rem 0 4rem;
				gap: 3rem;
			}

			& li {
				width: calc(100% / 3 - 4rem * 2 / 3);

				@media screen and (max-width: 767px) {
					width: 100%;
				}
			}

			& a {
				text-decoration: none;

				@media (hover: hover) and (pointer: fine) {
					&:hover {
						& img {
							transform: scale(1.2);
						}
					}
				}
			}

			.list-photo {
				margin-bottom: 2.7rem;
				border-radius: 2rem;
				border: 1px solid #ddd;
				overflow: hidden;

				@media screen and (max-width: 767px) {
					margin-bottom: 2rem;
					border-radius: 1rem;
				}

				& img {
					object-fit: scale-down;
					object-position: center center;
					width: 100%;
					height: 29rem;
					transition: transform 0.25s ease;

					@media screen and (max-width: 767px) {
						height: 18rem;
					}
				}
			}

			.list-text {
				.text-title {
					position: relative;
					margin-bottom: 2.4rem;
					padding-right: 2rem;
					font-weight: 700;
					font-size: 2.4rem;
					line-height: 1.4;
					letter-spacing: 0.09em;

					@media screen and (max-width: 767px) {
						margin-bottom: 1rem;
						font-size: 1.8rem;
						line-height: 1.6;
					}

					&:after {
						content: "";
						position: absolute;
						right: 1rem;
						top: 0.9rem;
						z-index: 1;
						display: block;
						width: 1.2rem;
						height: 1.8rem;
						background: url(../common/img/parts/icon_arrow01_red.svg) no-repeat center center / 100% auto;
					}

					@media screen and (max-width: 767px) {
						&:after {
							top: 0.7rem;
							width: 1rem;
							height: 1.4rem;
						}
					}
				}

				.text-detail {
					font-weight: 400;
					font-size: 1.8rem;
					line-height: 170%;
					letter-spacing: 0.02em;
					color: #555555;

					@media screen and (max-width: 767px) {
						font-size: 1.4rem;
					}
				}
			}
		}
	}

	.index-link {
		&.type01 {
			text-align: right;

			& a {
				font-weight: 400;
				font-size: 1.8rem;
				line-height: 1.78;
				letter-spacing: 0.03em;
				color: #000000;
				text-decoration: none;

				@media (hover: hover) and (pointer: fine) {
					transition: ease 0.25s color;

					&:hover {
						color: #e50012;
					}
				}

				@media screen and (max-width: 767px) {
					font-size: 1.4rem;
				}

				& span {
					position: relative;
					padding-right: 2rem;

					&:after {
						content: "";
						position: absolute;
						right: 0;
						top: calc(50% + 1px);
						z-index: 1;
						display: block;
						width: 1rem;
						height: 1.4rem;
						background:
							url(../common/img/parts/icon_arrow02_red.svg) no-repeat center center / 100% auto,
							url(../common/img/parts/icon_arrow02_white.svg) no-repeat center center / 0;
						transform: translateY(-50%);
					}

					@media screen and (max-width: 767px) {
						&:after {
							width: 0.8rem;
						}
					}
				}
			}
		}
	}
}
