section.panel {
	margin-top: 10px;
	> div {
		display: grid;
		padding-inline: 30px;
		@media (width < 650px) {
			padding-inline: unset;
		}
		> figure {
			grid-area: 1/1/2/2;
			> img {
				border-radius: 40px;
				max-width: 100%;
				width: 100%;
				@media (width < 650px) {
					border-radius: unset;
				}
			}
		}
		> div {
			padding-inline: 20px;
			grid-area: 1/1/2/2;
			align-self: center;
			justify-self: start;
			@media (width < 500px) {
				justify-self: center;
				align-self: end;
				padding-bottom: 20px;
			}
			> h2 {
				font-size: min(3.0rem, 6vw);
				line-height: 1.3;
				color: #333;
				font-weight: 900;
				letter-spacing: 0.05em;
				text-align: start;
				font-family: var(--font-serif);
                text-shadow: 0px 0px 5px #fff, 0px 0px 5px #fff, 0px 0px 5px #fff;
				@media (width < 500px) {
					text-align: center;
				}
			}
			> p {
				font-size: min(1.3rem, 5.0vw);
				line-height: 1.3;
				color: var(--color-accent);
				font-weight: 800;
				letter-spacing: 0.1em;
				margin-top: 10px;
                text-shadow: 0px 0px 5px #fff, 0px 0px 5px #fff, 0px 0px 5px #fff;
				> small {
					color: #333;
					font-size: min(1.0rem, 5vw);
				}
				@media (width < 550px) {
					text-align: center;
				}
				&:nth-of-type(2) {
					padding-top: 10px;
					@media (width < 650px) {
						display: none;
					}
				}
			}
		}
	}
}
section.subtitle {
	padding: 80px 5% 0px 5%;
	&.gray {
		background-color: #eff1f1;
	}
	&.pink {
		background-color: #f6e8ea;
		> div {
            > div {
                > div {
                    background-color: var(--color-accent);
                }
            }
            > p:nth-of-type(1) {
                color: var(--color-accent);
            }
        }
	}
	&.blur {
		background-color: #eef9fb;
		> div {
            > div {
                > div {
                    background-color: #28b4c8;
                }
            }
            > p:nth-of-type(1) {
                color: #28b4c8;
            }
        }
	}
	&.yellow {
		background-color: #fdf9e8;
		> div {
            > div {
                > div {
                    background-color: #f0c81e;
                }
            }
            > p:nth-of-type(1) {
                color: #f0c81e;
            }
        }
	}
    &.textred {
        > div {
            > div {
                > div {
                    background-color: var(--color-accent);
                }
            }
            > p:nth-of-type(1) {
                color: var(--color-accent);
            }
        }
    }
	> div {
		max-width: 1100px;
		margin-inline: auto;
		> div {
			display: flex;
			align-items: center;
			gap: 15px;
			> div {
				height: 2px;
				width: 12px;
				background-color: #28b4c8;
			}
			> h2 {
				font-size: min(2.2rem, 7vw);
				line-height: 1.0;
				color: #333;
				font-weight: 600;
				font-family: var(--font-serif);
			}
		}
		> p:nth-of-type(1) {
			font-size: min(1.0rem, 5.0vw);
			line-height: 1.6;
			color: #28b4c8;
			font-weight: 800;
			padding-top: 10px;
			padding-left: 25px;
		}
		> p:nth-of-type(2) {
			font-size: min(0.9rem, 5vw);
			line-height: 1.3;
			color: #222;
			padding-top: 10px;
			padding-left: 25px;
		}
	}
}
section.movie {
	padding: 50px 5% 100px 5%;
	> div {
		max-width: 1000px;
		margin-inline: auto;
        > h3 {
            font-size: min(1.4rem, 5.5vw);
            line-height: 1.0;
            color: var(--color-accent);
            font-weight: 600;
            padding-bottom: 10px;
        }
        > p {
			font-size: min(1.0rem, 5.0vw);
			line-height: 1.6;
			color: #333;
			font-weight: 500;
		}
        > iframe {
            padding-top: 15px;
            width: 100%;
            height: min(600px,50vw);
        }
	}
}
section.knowledge {
	background-color: #eff1f1;
	padding: 30px 5% 80px 5%;
	> div {
		max-width: 1300px;
		margin-inline: auto;
		> div.slideItem {
			position: relative;
			> div.items {
				touch-action: pan-y;
				cursor: grab;
				&.dragging {
					cursor: grabbing;
					user-select: none;
				}
				> div#knowledgeArea {
					display: flex;
					gap: 20px;
					transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
					will-change: transform;
					> article {
						user-select: none;
						background-color: #fff;
						width: 270px;
						flex-shrink: 0;
						border-radius: 10px;
						overflow: hidden;
						> figure {
							> img {
								max-width: 100%;
							}
						}
						> div {
							padding-block: 10px 15px;
							padding-inline: 15px;
							/*
							> div {
								font-size: 0.9rem;
								line-height: 1.5;
								color: #666;
							}
							*/
							> p {
								margin-top: 5px;
								font-size: 0.9rem;
								line-height: 1.5;
								color: #111;
							}
						}
					}
				}
			}
			> div.buttons {
				margin-top: 20px;
				display: flex;
				justify-content: center;
				align-items: center;
				column-gap: 50px;
				@media (width < 500px) {
					column-gap: 30px;
				}
				> div {
					background: transparent;
					cursor: pointer;
					transition: opacity 0.3s;
					> img {
						width: 25px;
						@media (width < 500px) {
							width: 15px;
						}
					}
					&:hover {
						opacity: 0.7;
					}
					&:focus-visible {
						outline: 3px solid #b51f35;
						outline-offset: 3px;
					}
					&.disabled {
						opacity: 0.2;
						cursor: default;
					}
				}
				> a {
					text-decoration: none;
					@media (width < 500px) {
						width: 200px;
					}
					> img {
						max-width: 100%;
					}
					&:hover {
						opacity: 0.7;
					}
				}
			}
		}
	}
}
section.bridal {
	background-color: #eef9fb;
	padding: 30px 5% 80px 5%;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 50px;
		@media (width < 850px) {
			grid-template-columns: 1fr;
			row-gap: 40px;
		}
		> figure {
			> img {
				border-radius: 30px;
				max-width: 100%;
			}
		}
		> div {
			> h2 {
				font-size: min(1.6rem, 6vw);
				line-height: 1.6;
				color: #333;
				font-weight: 900;
				font-family: var(--font-serif);
			}
			> p {
				margin-block: 20px;
				font-size: min(1.0rem, 5vw);
				line-height: 1.5;
				color: #333;
				font-weight: 600;
			}
			> div {
				> article {
					margin-top: 10px;
					display: flex;
					align-items: center;
					column-gap: 10px;
					&:nth-of-type(1) {
						margin-top: 0px;
					}
					> img {
						width: 25px;
					}
					> p {
						font-size: min(1.0rem, 5vw);
						line-height: 1.5;
						color: #333;
						font-weight: 600;
					}
				}
			}
			> a {
				margin-top: 25px;
				display: block;
				text-decoration: none;
				&:hover {
					opacity: 0.8;
				}
				> div {
					display: grid;
					> p {
						justify-self: start;
						border-radius: 10px;
						padding: 15px 90px 15px 40px;
						border: 1px solid #28b4c8;
						background: url(./image/arrow_2bc.svg), #fff;
						background-position: calc(100% - 45px) 50%;
						background-size: 15px;
						background-repeat: no-repeat;
						font-size: min(1.1rem, 7vw);
						line-height: 1.0;
						color: #28b4c8;
						font-weight: 600;
						@media (width < 400px) {
							padding: 10px 40px 10px 15px;
							background-position: calc(100% - 15px) 50%;
						}
					}
				}
			}
		}
	}
}
section.funeral {
	background-color: #f6e8ea;
	padding: 30px 5% 80px 5%;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 50px;
		@media (width < 850px) {
			grid-template-columns: 1fr;
			row-gap: 40px;
		}
		> figure {
			> img {
				border-radius: 30px;
				max-width: 100%;
			}
		}
		> div {
			> h2 {
				font-size: min(1.6rem, 6vw);
				line-height: 1.6;
				color: #333;
				font-weight: 900;
				font-family: var(--font-serif);
			}
			> p {
				margin-block: 20px;
				font-size: min(1.0rem, 5vw);
				line-height: 1.5;
				color: #333;
				font-weight: 600;
			}
			> div {
				> article {
					margin-top: 10px;
					display: flex;
					align-items: center;
					column-gap: 10px;
					&:nth-of-type(1) {
						margin-top: 0px;
					}
					> img {
						width: 25px;
					}
					> p {
						font-size: min(1.0rem, 5vw);
						line-height: 1.5;
						color: #333;
						font-weight: 600;
					}
				}
			}
			> a {
				margin-top: 25px;
				display: block;
				text-decoration: none;
				&:hover {
					opacity: 0.8;
				}
				> div {
					display: grid;
					> p {
						justify-self: start;
						border-radius: 10px;
						padding: 15px 90px 15px 40px;
						border: 1px solid var(--color-accent);
						background: url(./image/arrow_a12.svg), #fff;
						background-position: calc(100% - 45px) 50%;
						background-size: 15px;
						background-repeat: no-repeat;
						font-size: min(1.1rem, 7vw);
						line-height: 1.0;
						color: var(--color-accent);
						font-weight: 600;
						@media (width < 400px) {
							padding: 10px 40px 10px 15px;
							background-position: calc(100% - 15px) 50%;
						}
					}
				}
			}
		}
	}
}
section.celebration {
	background-color: #fdf9e8;
	padding: 30px 5% 80px 5%;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 50px;
		@media (width < 850px) {
			grid-template-columns: 1fr;
			row-gap: 40px;
		}
		> figure {
			> img {
				border-radius: 30px;
				max-width: 100%;
			}
		}
		> div {
			> h2 {
				font-size: min(1.6rem, 6vw);
				line-height: 1.6;
				color: #333;
				font-weight: 900;
				font-family: var(--font-serif);
			}
			> p {
				margin-block: 20px;
				font-size: min(1.0rem, 5vw);
				line-height: 1.5;
				color: #333;
				font-weight: 600;
			}
			> div {
				> article {
					margin-top: 10px;
					display: flex;
					align-items: center;
					column-gap: 10px;
					&:nth-of-type(1) {
						margin-top: 0px;
					}
					> img {
						width: 25px;
					}
					> p {
						font-size: min(1.0rem, 5vw);
						line-height: 1.5;
						color: #333;
						font-weight: 600;
					}
				}
			}
			> a {
				margin-top: 25px;
				display: block;
				text-decoration: none;
				&:hover {
					opacity: 0.8;
				}
				> div {
					display: grid;
					> p {
						justify-self: start;
						border-radius: 10px;
						padding: 15px 90px 15px 40px;
						border: 1px solid #f0c81e;
						background: url(./image/arrow_fc1.svg), #fff;
						background-position: calc(100% - 45px) 50%;
						background-size: 15px;
						background-repeat: no-repeat;
						font-size: min(1.1rem, 7vw);
						line-height: 1.0;
						color: #f0c81e;
						font-weight: 600;
						@media (width < 400px) {
							padding: 10px 40px 10px 15px;
							background-position: calc(100% - 15px) 50%;
						}
					}
				}
			}
		}
	}
}
section.support {
	padding: 30px 5% 80px 5%;
	> div {
		max-width: 1100px;
		margin-inline: auto;
		> p {
			font-size: min(1.0rem, 5.0vw);
			line-height: 1.6;
			color: #333;
			font-weight: 500;
		}
		> div {
			margin-top: 20px;
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			column-gap: 20px;
			@media (width < 1050px) {
				grid-template-columns: repeat(1, 1fr);
				row-gap: 30px;
			}
			> article {
				filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
				&:nth-of-type(1) {
					> a {
						> div {
							background: url(./image/support01.webp), #fff;
							background-position: 100% 0%;
							background-size: auto 100%;
							background-repeat: no-repeat;
							> div {
								> p {
									padding-right: min(8vw, 120px);
								}
							}
						}
					}
				}
				&:nth-of-type(2) {
					> a {
						> div {
							background: url(./image/support02.webp), #fff;
							background-position: 100% 0%;
							background-size: auto 100%;
							background-repeat: no-repeat;
							> div {
								> p {
									padding-right: min(12vw, 150px);
								}
							}
						}
					}
				}
				&:nth-of-type(3) {
					> a {
						> div {
							background: url(./image/support03.webp), #fff;
							background-position: 100% 0%;
							background-size: auto 100%;
							background-repeat: no-repeat;
							> div {
								> p {
									padding-right: min(12vw, 150px);
								}
							}
						}
					}
				}
				@media (width < 1050px) {
					max-width: 900px;
					margin-inline: auto;
					width: 100%;
				}
				> a {
					text-decoration: none;
					display: block;
					&:hover {
						opacity: 0.7;
					}
					> div {
						position: relative;
						border-radius: 20px;
						padding: 20px;
						min-height: 165px;
						> h2 {
							font-size: min(1.3rem, 6.0vw);
							line-height: 1.1;
							color: #333;
							font-weight: 800;
							padding-bottom: 10px;
							text-shadow: 0px 0px 5px #fff, 0px 0px 5px #fff, 0px 0px 5px #fff;
						}
						> div {
							height: 100%;
							display: grid;
							grid-template-columns: 1fr 30px;
							> p {
								font-size: min(0.9rem, 4.5vw);
								line-height: 1.6;
								color: #333;
								font-weight: 600;
								padding-right: 40px;
								text-align: justify;
								letter-spacing: 1px;
								text-shadow: 0px 0px 5px #fff, 0px 0px 5px #fff, 0px 0px 5px #fff;
							}
							> img {
								position: absolute;
								bottom: 10px;
								right: 10px;
								width: 30px;
							}
						}
					}
				}
			}
		}
	}
}
section.contact {
	margin-bottom: 50px;
	background-color: #f6e8ea;
	border-radius: 50px 50px 0px 0px;
	padding: 40px 5% 60px 5%;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		display: grid;
		> h2 {
			font-size: min(2.2rem, 7vw);
			line-height: 1.3;
			color: #333;
			font-weight: 600;
			font-family: var(--font-serif);
		}
		> p {
			margin-top: 30px;
			font-size: min(1.0rem, 5.0vw);
			line-height: 1.6;
			color: #333;
			font-weight: 500;
		}
		> div.block {
			margin-top: 50px;
			display: grid;
			grid-template-columns: 1fr 1fr;
			column-gap: 30px;
			@media (width < 1060px) {
				grid-template-columns: 1fr;
				row-gap: 30px;
			}
			> article {
				@media (width < 1060px) {
					max-width: 600px;
					margin-inline: auto;
					width: 100%;
					min-height: 170px;
				}
				@media (width < 480px) {
					min-height: 140px;
				}
				&.tel {
					> a {
						> div {
							@media (width < 480px) {
								text-align: center;
							}
							> h3 {
								font-size: min(1.5rem, 5.5vw);
								line-height: 1.0;
								color: #333;
								font-weight: 900;
							}
							> div {
								padding-block: 10px;
								display: flex;
								align-items: center;
								column-gap: 10px;
								> img {
									width: 40px;
								}
								> h2 {
									font-size: min(3.4rem, 9vw);
									line-height: 1.0;
									color: var(--color-accent);
									font-weight: 900;
								}
							}
							> p {
								font-size: min(1.1rem, 5.0vw);
								line-height: 1.6;
								color: #333;
								font-weight: 500;
							}
						}
					}
				}
				&.form {
					> a {
						> div {
							height: 100%;
							display: grid;
							grid-template-columns: auto 1fr auto;
							align-items: center;
							column-gap: 15px;
							> img {
								&:nth-of-type(1) {
									width: 95px;
									@media (width < 480px) {
										width: 40px;
									}
								}
								&:nth-of-type(2) {
									justify-content: end;
									width: 40px;
									@media (width < 480px) {
										width: 30px;
									}
								}
							}
							> div {
								> h3 {
									font-size: min(1.5rem, 5.5vw);
									line-height: 1.0;
									color: #333;
									font-weight: 900;
									padding-bottom: 10px;
								}
								> p {
									font-size: min(1.1rem, 5.0vw);
									line-height: 1.6;
									color: #333;
									font-weight: 500;
								}
							}
						}
					}
				}
				> a {
					text-decoration: none;
					&:hover {
						opacity: 0.7;
					}
					> div {
						filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
						background-color: #fff;
						border-radius: 20px;
						padding: 20px 25px;
						@media (width < 440px) {
							padding: 15px;
						}
					}
				}
			}
		}
		> div.question {
			margin-top: 40px;
			justify-self: center;
			> a {
				display: block;
				text-decoration: none;
				&:hover {
					opacity: 0.8;
				}
				> p {
					border-radius: 10px;
					padding: 15px 90px 15px 60px;
					background: url(./image/arrow_fff.svg), var(--color-accent);
					background-position: calc(100% - 60px) 50%;
					background-size: 15px;
					background-repeat: no-repeat;
					font-size: min(1.1rem, 7vw);
					line-height: 1.0;
					color: #fff;
					font-weight: 600;
					@media (width < 350px) {
						padding: 15px 60px 15px 30px;
						background-position: calc(100% - 30px) 50%;
					}
				}
			}
		}
	}
}
