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 < 850px) {
				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 < 850px) {
					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 < 850px) {
					text-align: center;
				}
				&:nth-of-type(2) {
					padding-top: 10px;
					@media (width < 850px) {
						display: none;
					}
				}
			}
		}
	}
}
section.top {
	padding: 80px 5% 0px 5%;
	> div {
		position: relative;
		max-width: 1000px;
		margin-inline: auto;
		padding-bottom: 100px;
		@media (width < 770px) {
			padding-bottom: 80px;
		}
		> h3 {
			text-align: center;
			font-size: min(2.8rem, 8vw);
			line-height: 1.2;
			color: var(--color-accent);
			font-weight: 900;
			font-family: var(--font-serif);
		}
		> p {
			margin-top: 40px;
			font-size: min(1.2rem, 5.5vw);
			line-height: 2.0;
			color: #333;
			font-weight: 600;
			text-align: justify;
			> span {
				color: var(--color-accent);
				font-weight: 700;
			}
		}
		> div {
			margin-top: 40px;
			display: grid;
			grid-template-columns: 1fr 1fr;
			column-gap: 30px;
			@media (width < 770px) {
				grid-template-columns: 1fr;
				row-gap: 30px;
			}
			> article {
				padding: 30px 50px;
				border-radius: 10px;
				&:nth-of-type(1) {
					background-color: #ebedee;
				}
				&:nth-of-type(2) {
					background-color: #fadfe5;
				}
				@media (width < 810px) {
					padding: 30px 30px;
				}
				> h4 {
					font-size: min(1.4rem, 6vw);
					line-height: 1.0;
					color: var(--color-accent);
					font-weight: 700;
				}
				> p {
					padding-top: 20px;
					font-size: min(1.2rem, 5.5vw);
					line-height: 1.0;
					color: #333;
					font-weight: 500;
					> span {
						color: var(--color-accent);
					}
				}
			}
		}
		> figure {
			position: absolute;
			bottom: 0%;
			right: -8%;
			> img {
				max-width: 100%;
				@media (width < 770px) {
					width: 110px;
				}
			}
		}
	}
}
section.subtitle {
	padding: 80px 5% 0px 5%;
	&.gray {
		background-color: #eff1f1;
	}
	&.pink {
		background-color: #f6e8ea;
	}
	> div {
		max-width: 1100px;
		margin-inline: auto;
		> div {
			display: flex;
			align-items: center;
			gap: 15px;
			> div {
				height: 2px;
				width: 12px;
				background-color: var(--color-accent);
			}
			> h2 {
				font-size: min(2.2rem, 7vw);
				line-height: 1.0;
				color: #333;
				font-weight: 600;
				font-family: var(--font-serif);
			}
		}
		> p {
			font-size: min(1.0rem, 5.0vw);
			line-height: 1.6;
			color: var(--color-accent);
			font-weight: 800;
			padding-top: 10px;
			padding-left: 25px;
		}
	}
}
section.membership {
	padding: 30px 5% 80px 5%;
	background-color: #eff1f1;
	> div {
		max-width: 1100px;
		margin-inline: auto;
		display: grid;
		> p {
			font-size: min(1.1rem, 5.5vw);
			line-height: 2.0;
			color: #333;
			font-weight: 500;
			text-align: justify;
		}
		> div.about {
			margin-top: 40px;
			background-color: #fff;
			padding-block: 30px;
			padding-inline: 40px;
			max-width: 700px;
			margin-inline: auto;
			@media (width < 630px) {
				margin-inline: unset;
			}
			@media (width < 440px) {
				padding-block: 20px;
				padding-inline: 10px;
			}
			> h3 {
				font-size: min(1.4rem, 5.5vw);
				line-height: 1.2;
				color: var(--color-accent);
				font-weight: 900;
				padding-bottom: 10px;
			}
			> dl {
				> div {
					display: grid;
					grid-template-columns: 160px 1fr;
					&:first-child {
						> dt {
							border-top: 1px solid #333;
						}
						> dd {
							border-top: 1px solid #333;
							@media (width < 630px) {
								border-top: none;
							}
						}
					}
					&:last-child {
						> span {
							margin-left: 1em;
							@media (width < 630px) {
								margin-left: 0.5em;
							}
						}
					}
					@media (width < 630px) {
						grid-template-columns: 1fr;
						height: auto;
					}
					> dt {
						background-color: #ebebeb;
						font-size: min(1.3rem,5vw);
						line-height: 1.0;
						color: #333;
						font-weight: 500;
						padding: 20px;
						border-bottom: 1px solid #333;
						@media (width < 630px) {
							border-top: 1px solid #333;
							line-height: 1.1;
						}
					}
					> dd {
						align-content: center;
						border-bottom: 1px solid #333;
						color: var(--color-accent);
						font-size: min(1.3rem,5vw);
						line-height: 1.0;
						padding: 20px;
						font-weight: 900;
						@media (width < 630px) {
							border: none;
							padding: 10px 0px 40px 0px;
						}
						> p {
							padding-top: 10px;
							font-size: min(1.0rem, 4.5vw);
							color: #333;
							font-weight: 500;
							text-indent: -1.0rem;
							padding-left: 1.0rem;
							line-height: 1.5;
						}
					}
				}
			}
		}
		> div.memberlink {
			margin-top: 30px;
			justify-self: center;
			> a {
				text-decoration: none;
				&:hover {
					opacity: 0.8;
				}
				> p {
					border-radius: 10px;
					padding: 15px 60px 15px 30px;
					background: url(./image/arrow_fff.svg), var(--color-accent);
					background-position: calc(100% - 30px) 50%;
					background-size: 15px;
					background-repeat: no-repeat;
					font-size: min(1.1rem, 7vw);
					line-height: 1.0;
					color: #fff;
					font-weight: 600;
				}
			}
		}
	}
}
section.benefits {
	> div {
		display: grid;
		> div.bg {
			grid-area: 1/1/2/2;
			align-self: end;
			background: url(./image/bg.webp) 50% / cover;
			width: 100%;
			height: 85%;
			border-radius: 50px 50px 0 0;
			@media (width < 1040px) {
				height: 90%;
			}
		}
		> div.content {
			padding: 50px 5% 100px 5%;
			grid-area: 1/1/2/2;
			> div {
				max-width: 1100px;
				margin-inline: auto;
				display: grid;
				> div.item {
					margin-bottom: 30px;
					display: flex;
					flex-wrap: wrap;
					justify-content: center;
					gap: 30px;
					&:nth-of-type(odd) {
						grid-template-columns: repeat(2, auto);
					}
					&:nth-of-type(even) {
						grid-template-columns: repeat(3, auto);
					}
					> article {
						border-radius: 20px;
						max-width: 31%;
						background-color: #fff;
						filter: drop-shadow(0 0 10px rgba(164,30,46,0.3));
						padding: 20px;
						@media (width < 1040px) {
							max-width: 90%;
							width: 100%;
						}
						> figure {
							display: grid;
							justify-content: center ;
							min-height: 180px;
							> img {
								align-self: center;
								max-width: 100%;
							}
						}
						> div {
							> h3 {
								font-size: min(1.1rem, 5.5vw);
								line-height: 1.5;
								color: var(--color-accent);
								font-weight: 800;
								text-align: center;
							}
							> p {
								font-size: min(1.0rem, 5vw);
								line-height: 1.8;
								color: #333;
								font-weight: 600;
								text-align: justify;
								&:nth-of-type(1) {
									padding-top: 10px;
								}
								&:nth-of-type(2) {
									text-indent: -1.0rem;
									padding-left: 1.0rem;
									@media (width < 1040px) {
										> small {
											> br {
												display: none;
											}
										}
									}
								}
							}
						}
					}
				}
				> div.benefitslink {
					margin-top: 50px;
					justify-self: center;
					> a {
						text-decoration: none;
						&:hover {
							opacity: 0.8;
						}
						> p {
							border-radius: 10px;
							padding: 15px 60px 15px 30px;
							background: url(./image/arrow_fff.svg), var(--color-accent);
							background-position: calc(100% - 30px) 50%;
							background-size: 15px;
							background-repeat: no-repeat;
							font-size: min(1.1rem, 7vw);
							line-height: 1.0;
							color: #fff;
							font-weight: 600;
						}
					}
				}
			}
		}
	}
}
section.join {
	padding: 30px 5% 80px 5%;
	> div {
		max-width: 1100px;
		margin-inline: auto;
		display: grid;
		> div.flow {
			display: grid;
			grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
			@media (width < 700px) {
				grid-template-columns: 1fr;
			}
			> article {
				@media (width < 700px) {
					max-width: 540px;
					margin-inline: auto;
				}
				> h3 {
					font-size: min(1.3rem, 5.5vw);
					line-height: 1.5;
					color: var(--color-accent);
					font-weight: 800;
					> b {
						font-size: min(1.8rem, 7vw);
					}
				}
				> figure {
					text-align: center;
					> img {
						max-width: 100%;
					}
				}
				> p {
					font-size: min(1.0rem, 5vw);
					line-height: 1.8;
					font-weight: 600;
					&:nth-of-type(1) {
						padding-top: 10px;
						color: var(--color-accent);
					}
					&:nth-of-type(2) {
						color: #333;
						font-size: min(0.9rem, 4.5vw);
						text-align: justify;
					}
				}
			}
			> figure {
				align-self: center;
				margin-bottom: 95px;
				@media (width < 700px) {
					justify-self: center;
					margin-bottom: unset;
				}
				> img {
					width: 20px;
					@media (width < 700px) {
						width: 40px;
						transform: rotate(90deg);
					}
				}
			}
		}
		> div.joinlink {
			margin-top: 50px;
			justify-self: center;
			> a {
				text-decoration: none;
				&:hover {
					opacity: 0.8;
				}
				> p {
					border-radius: 10px;
					padding: 15px 60px 15px 30px;
					background: url(./image/arrow_fff.svg), var(--color-accent);
					background-position: calc(100% - 30px) 50%;
					background-size: 15px;
					background-repeat: no-repeat;
					font-size: min(1.1rem, 7vw);
					line-height: 1.0;
					color: #fff;
					font-weight: 600;
				}
			}
		}
		> p {
			margin-top: 20px;
			text-align: center;
			font-size: min(0.9rem, 4.5vw);
			line-height: 1.3;
			color: #707070;
			font-weight: 500;
			@media (width < 370px) {
				text-align: justify;
				text-indent: -0.9rem;
				padding-left: 0.9rem;
			}
		}
	}
}
section.voice {
	background-color: #eff1f1;
	padding: 30px 5% 80px 5%;
	> div {
		max-width: 1100px;
		margin-inline: auto;
		> div.carousel {
			position: relative;
			> div {
				overflow: visible;
				touch-action: pan-y;
				cursor: grab;
				&.dragging {
					cursor: grabbing;
					user-select: none;
				}
				> div {
					display: flex;
					gap: 150px;
					transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
					will-change: transform;
					> article {
						display: grid;
						grid-template-columns: 1fr auto;
						gap: clamp(25px, 4vw, 40px);
						flex: 0 0 min(800px, calc(100vw - 140px));
						min-height: 380px;
						padding: 50px;
						border-radius: 14px;
						background: #fff;
						@media (width < 880px) {
							grid-template-columns: 1fr;
							padding: 30px;
						}
						@media (width < 460px) {
							flex: 0 0 min(800px, calc(100vw - 70px));
							padding: 30px 20px;
						}
						> div {
							display: flex;
							flex-direction: column;
							min-width: 0;
							@media (width < 880px) {
								order: 2;
							}
							> p:nth-of-type(1) {
								color: #b84b5d;
								font-size: min(1.4rem, 5.4vw);
							}
							> p:nth-of-type(2) {
								padding-top: 20px;
								font-size: min(1.0rem, 5vw);
								line-height: 1.8;
								color: #333;
								font-weight: 600;
								text-align: justify;
							}
							> p:nth-of-type(3) {
								border-top: 1px solid #333;
								padding-top: 15px;
								margin-top: 15px;
								font-size: min(1.0rem, 5vw);
								line-height: 1.0;
								color: #707070;
								font-weight: 500;
								> b {
									color: var(--color-accent);
								}
							}
							> h4 {
								align-self: flex-start;
								margin-top: 15px;
								padding: 7px 30px;
								border-radius: 5px;
								background: #fde8ed;
								color: #b51f35;
								font-size: 0.9rem;
								font-weight: 500;
							}
						}
						> figure {
							justify-self: center;
							max-width: 210px;
							@media (width < 880px) {
								max-width: unset;
							}
							> img {
								border-radius: 10px;
								max-width: 100%;
							}
						}
					}
				}
			}
			> button {
				position: absolute;
				top: 50%;
				z-index: 2;
				width: 58px;
				height: 90px;
				padding: 0;
				border: 0;
				background: transparent;
				cursor: pointer;
				transform: translateY(-50%);
				> img {
					width: 30px;
					@media (width < 460px) {
						width: 15px;
					}
				}
				&.prev {
					left: calc(50% - (min(800px, calc(100vw - 230px)) / 2) - 110px);
					@media (width < 460px) {
						left: calc(50% - (min(800px, calc(100vw - 205px)) / 2) - 110px);
					}
				}
				&.next {
					right: calc(50% - (min(800px, calc(100vw - 230px)) / 2) - 110px);
					@media (width < 460px) {
						right: calc(50% - (min(800px, calc(100vw - 205px)) / 2) - 110px);
					}
				}
				&:hover { 
					opacity: 0.7;
				}
				&:focus-visible {
					outline: 3px solid #b51f35;
					outline-offset: 3px;
				}
				&:disabled { 
					opacity: 0.2;
					cursor: default;
				}
			}
		}
	}
}
section.conditions {
	padding: 30px 5% 80px 5%;
	background-color: #f6e8ea;
	> div {
		max-width: 1100px;
		margin-inline: auto;
		> div.content {
			background-color: #fff;
			padding: 30px;
			> h3 {
				font-size: min(1.3rem, 5.5vw);
				line-height: 1.0;
				color: var(--color-accent);
				font-weight: 600;
				padding-bottom: 15px;
				border-bottom: 1px solid var(--color-accent);
			}
			> div {
				padding-top: 10px;
				display: grid;
				grid-template-columns: repeat(2, 1fr);
				@media (width < 1050px) {
					grid-template-columns: repeat(1, 1fr);
				}
				> p {
					font-size: min(1.2rem, 5.5vw);
					line-height: 2.0;
					color: #333;
					font-weight: 600;
					text-align: justify;
					text-indent: -1.2rem;
					padding-left: 1.2rem;
					> b {
						color: var(--color-accent);
					}
				}
			}
			> p {
				font-size: min(1.2rem, 5.5vw);
				line-height: 2.0;
				color: #333;
				font-weight: 600;
				text-indent: -1.2rem;
				padding-left: 1.2rem;
				> b {
					color: var(--color-accent);
				}
			}
		}
		> div.contentlink {
			margin-top: 30px;
			display: flex;
			justify-content: center;
			gap: 40px;
			@media (width < 890px) {
				flex-wrap: wrap;
			}
			> div {
				justify-self: center;
				&:nth-of-type(1) {
					> a {
						> p {
							background: url(./image/arrow_fff.svg), var(--color-accent);
							background-position: calc(100% - 50px) 50%;
							background-size: 20px;
							background-repeat: no-repeat;
						}
					}
				}
				&:nth-of-type(2) {
					> a {
						> p {
							background: url(./image/arrow_fff.svg), #1f3d7e;
							background-position: calc(100% - 50px) 50%;
							background-size: 20px;
							background-repeat: no-repeat;
						}
					}
				}
				> a {
					text-decoration: none;
					&:hover {
						opacity: 0.8;
					}
					> p {
						padding: 20px 100px 20px 40px;
						font-size: min(1.5rem, 7vw);
						line-height: 1.2;
						color: #fff;
						font-weight: 600;
						min-width: 310px;
						@media (width < 400px) {
							min-width: unset;
							padding: 20px 80px 20px 30px;
						}
					}
				}
			}
		}
	}
}
section.service {
	padding: 80px 5% 0px 5%;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		> h3 {
			text-align: center;
			font-size: min(2.8rem, 6vw);
			line-height: 1.2;
			color: #333;
			font-weight: 800;
			font-family: var(--font-serif);
			> span {
				> b {
					color: var(--color-accent);
				}
			}
		}
		> p {
			margin-top: 40px;
			font-size: min(1.2rem, 5vw);
			line-height: 2.0;
			color: #333;
			font-weight: 600;
			text-align: justify;
		}
	}
}
section.serviceItem {
	padding: 80px 5% 0px 5%;
	> div {
		max-width: 1100px;
		margin-inline: auto;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		column-gap: 40px;
		@media (width < 950px) {
			grid-template-columns: repeat(2, 1fr);
			row-gap: 40px;
		}
		@media (width < 600px) {
			grid-template-columns: repeat(1, 1fr);
		}
		> article {
			> figure {
				text-align: center;
				> img {
					border-radius: 10px;
					width: 100%;
					max-width: 100%;
				}
			}
			> div {
				> h3 {
					margin-block: 15px 10px;
					font-size: min(1.2rem, 5.5vw);
					line-height: 1.2;
					font-weight: 800;
					color: var(--color-accent);
				}
				> p {
					font-size: min(1.0rem, 5.0vw);
					line-height: 1.8;
					font-weight: 600;
					color: #333;
					text-align: justify;
				}
			}
		}
	}
}
section.memberlink {
	padding: 50px 5% 100px 5%;
	> div {
		display: grid;
		> div {
			margin-top: 30px;
			justify-self: center;
			> a {
				text-decoration: none;
				&:hover {
					opacity: 0.8;
				}
				> p {
					border-radius: 10px;
					padding: 15px 60px 15px 30px;
					background: url(./image/arrow_fff.svg), var(--color-accent);
					background-position: calc(100% - 30px) 50%;
					background-size: 15px;
					background-repeat: no-repeat;
					font-size: min(1.1rem, 7vw);
					line-height: 1.0;
					color: #fff;
					font-weight: 600;
				}
			}
		}
	}
}
