@charset "utf-8";

.messagePage {
	/* scroll-margin-top: 0; */
	.kvBlock{
		position: relative;
		@media (width <= 767px) {/* SP */
			margin-top: 2.4rem;
		}
		.img{
			max-width: none;
			width: 100%;
		}
		.txtarea{
			box-sizing: border-box;
			position: absolute;
			
			top:7rem ;
			@media (width > 767px) {/* PC */
				left: 50%;
				transform: translateX(-50%);
				width: 103rem;
				padding-left: 20.6rem;
			}
			@media (width <= 767px) {/* SP */
				padding-left:9rem;
				top: 1.5rem;
			}
			.kvTxt{
				
				@media (width > 767px) {/* PC */
					width: 24.5rem;
					
				}
				@media (width <= 767px) {/* SP */
					width: 10.9rem;
				}
			}
			.name{
				color: #FFF;
				display: flex;
				line-height: 1;
				gap: 1.4rem;
				font-size: 1.8rem;
				@media (width > 767px) {/* PC */
					align-items: center;
					margin-top: 3.5rem;
				}
				@media (width <= 767px) {/* SP */
					margin-top: 1.5rem;
					flex-direction: column;
					font-size: 1.6rem;
					gap: 0.9rem;
				}
				span{
					font-size: 1.2rem;
				}
			}
		}
	}
	.cnt{
		background: var(--cc-Grey);
		padding: 7.5rem 0 16rem;
		@media (width <= 767px) {/* SP */
			padding: 3rem 0 4.8rem;
		}
		.cnt__in{
			margin-left: auto;
			margin-right: auto;
			@media (width > 767px) {/* PC */
				width: 104rem;
			}
			@media (width <= 767px) {/* SP */
				width: 31.5rem;
			}
		}
	}

	.topBlock{
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		margin-bottom: 8rem;
		@media (width <= 767px) {/* SP */
			margin-bottom: 1.5rem;
		}
		.pageTtl{
			position: relative;
			@media (width > 767px) {/* PC */
				width: 3.8rem;
				margin-top: .5rem;
			}
			@media (width <= 767px) {/* SP */
				width: 1.63rem;
				top: -5.6rem;
			}
		}
		.txtarea{
			letter-spacing: .05em;
			font-weight: 700;
			@media (width > 767px) {/* PC */
				max-height: none !important;
				line-height: 1.9;
				width: 91.5rem;
				font-size: 2rem;
			}
			@media (width <= 767px) {/* SP */
				font-size: 1.4rem;
				width: 26.1rem;
				overflow: hidden;
				max-height: 29.5rem;
				line-height: 2.06;
  				transition: max-height 1s ease-out; /* アニメーション */
				p{
					padding-bottom: .5rem;
				}
			}
			li:before {
				content: "・";
			}
		}
	}

	.spAllAcdBtns{
		margin-bottom: 5rem;
		button{
			width: 100%;
			position: relative;
			background: var(--cc-black-A);
			color: #fff;
			text-align: center;
			line-height: 1;
			font-size: 1.8rem;
			padding: 1.1rem 0;
			&:after{
				border-radius: 100%;
				border: solid 1px #fff;
				background: url(../images/common/ico-arw.svg) center center /cover no-repeat;
				content: '';
				position: absolute;
				transform: rotate(90deg);
				width: 3rem;
				height: 3rem;
				right: 1.2rem;
				top: .7rem;
				@media (width <= 767px) {/* SP */
					width: 2.4rem;
					height: 2.4rem;
					right: .9rem;
					top: .8rem;
				}
			}
			&.js-txtClose{
				&:after{
					transform: rotate(-90deg);
				}
			}
		}
	}
	.js-accordion__content {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
		@media (width <= 767px) {/* SP */
			transition: max-height 0.5s ease;
		}
	}

	.cntSec{
		.cntSec__head{
			position: relative;
			text-align: center;
			
			
			&.-blue{
				background: var(--cc-blue-1);
			}
			&.-green{
				background: var(--cc-green);
			}
			&.-purple{
				background: var(--cc-purple);
			}			
		}
	}

	.sec1{
		background: #fff;
		color: var(--cc-blue-1);
		text-align: center;
		padding: 2.4rem 2.7rem;
		letter-spacing: .05em;
		font-weight: 700;
		font-size: 1.5rem;
		@media (width <= 767px) {/* SP */
			font-size: 1.2rem;
			padding: 0 0 2rem;
		}
		.ttl{
			color: #fff;
			line-height: 1;
			font-weight: 700;
			padding: 1.3rem 0 1.0rem;
			@media (width > 767px) {/* PC */
				padding: 1.0rem 0 .8rem;
				font-size: 2.5rem;
			}
			@media (width <= 767px) {/* SP */
				font-size: 1.6rem;
				padding: 1.2rem 0;
			}
		}
		.sec1__cnt{
			display: flex;
			@media (width > 767px) {/* PC */
				align-items: center;
				justify-content: space-between;
				margin-top: 1rem;
				padding-right: 1.3rem;
			}
			@media (width <= 767px) {/* SP */
				flex-direction: column;
				align-items: center;
			}
			.txt{
				@media (width > 767px) {/* PC */
					width: 75.5rem;
					margin-left: .8rem;
				}
				@media (width <= 767px) {/* SP */
					width: 27.7rem;
					margin: 2.5rem 0 3rem;
				}
			}
			.img{
				width: 18.5rem;
				@media (width <= 767px) {/* SP */
					width: 17.3rem;
				}
			}
		}
	}

	.cnt2{
		background: #FFF8D7;
		position: relative;
		padding-bottom:2.6rem;
		.cnt2__in{
			display: flex;

			padding: 2.6rem 3.4rem 0 2.4rem;
			@media (width > 767px) {/* PC */
				flex-direction: column;
			}
			@media (width <= 767px) {/* SP */
				padding: 0 0 1rem;
				flex-direction: column;
			}
		}

		.flg{
			position: absolute;
			left: 0;
			top: 0;
			transform: translateY(-100%);
			width: 14.9rem;
			@media (width <= 767px) {/* SP */
				width: 14.1rem;
			}
			.flg__txt{
				line-height: 1;
				position: absolute;
				color: var(--cc-green);
				font-weight: 700;
				top: 1rem;
				left: 1rem;
				font-size: 1.5rem;
				@media (width <= 767px) {/* SP */
					left: .9rem;
					top: 1rem;
					font-size: 1.4rem;
				}
			}
		}

		.secTtl{
			text-align: center;
			background: var(--cc-green);
			color: #fff;
			letter-spacing: .1em;
			line-height: 1;
			font-weight: 700;
			font-size: 2rem;
			padding: 1.1rem 0;
			@media (width > 767px) {/* PC */
				padding: 1rem 0 .7rem;
				font-size: 2.5rem;
			}
			@media (width <= 767px) {/* SP */
				font-size: 1.6rem;
				padding: 1.2rem 0;
			}
		}
		.sec2{
			@media (width > 767px) {/* PC */
				margin-bottom: 3rem;
			}
			.ttl{
				margin-top: 2.5rem;
				img{
					margin: 0 auto;
					@media (width > 767px) {/* PC */
						width: 54.8rem;
					}
					@media (width <= 767px) {/* SP */
						width: 28.1rem;
					}
				}
			}
			.txt{
				color: var(--cc-green);
				font-size: 1.5rem;
				font-weight: 700;
				line-height: 1.85;
				margin-top: 2rem;
				@media (width > 767px) {/* PC */
					font-size: 2rem;
					margin-top: 2.5rem;
					line-height: 1.9;
					letter-spacing: 0.035em;
				}
				@media (width <= 767px) {/* SP */
					padding: 0 1.5rem;
					padding-bottom: 3rem;
				}
			}
		}
		.sec3{
			@media (width > 767px) {/* PC */
				/* width: 61.5rem; */
			}
			.sec3__cnt{
				display: flex;
				margin-top: 1.6rem;
				@media (width > 767px) {/* PC */
					/* align-items: flex-start;
					justify-content: space-between; */
					flex-direction: column;
				}
				@media (width <= 767px) {/* SP */
					flex-direction:column;
				}
			}
			.block1{
				@media (width > 767px) {/* PC */
					/* width: 30.3rem; */
					margin-bottom: 4rem;
					
				}
				.block1__list{
					
					
					display: flex;
					flex-wrap: wrap;
					margin-left: auto;
					margin-right: auto;
					@media (width > 767px) {/* PC */
						flex-direction: row;
						justify-content: space-between;
						gap: 1rem 0;
					}
					@media (width <= 767px) {/* SP */
						width: 28.9rem;
						gap: 1rem;
					}
					.item{
						background: #E5F5F5;
						display: flex;
						align-items: flex-start;
						
						box-sizing: border-box;
						
						@media (width > 767px) {/* PC */
							position: relative;
							padding: 1.8rem 0rem 0rem 0;
							width: 23.1rem;
							height: 40.9rem;
							
							flex-direction: column;
						}
						@media (width <= 767px) {/* SP */
							width: 100%;
							padding: 1.3rem 0rem 0rem 1.5rem;
						}
						.item__num{
							border-radius: 50%;
							background:var(--cc-green);
							width: 3.2rem;
							margin: 0.5rem 1rem 0 0;
							@media (width > 767px) {/* PC */
								margin: 0 auto;
							}
							@media (width <= 767px) {/* SP */
								width: 3rem;
							}
						}
						.item__txt{
							line-height: 1.7;
							@media (width > 767px) {/* PC */
								margin-left: auto;
								margin-right: auto;
								width: 19.5rem;
								font-size: 2rem;
								margin-top: 2rem;
								line-height: 1.9;
							}
							@media (width <= 767px) {/* SP */
								font-size: 1.2rem;
								width: 14rem;
							}
						}
						.item__img{
							text-align: center;
							@media (width > 767px) {/* PC */
								position: absolute;
								width: 23rem;
								left: 0;
								bottom: 0;
							}
							@media (width <= 767px) {/* SP */
							width: 9.7rem;
							}
							img{
								margin-left: auto;
								margin-right: auto;
							}
							.-img1{
								@media (width <= 767px) {/* SP */
									margin-top: -1rem;
									width: 9.1rem;
								}
							}
							.-img2{
								margin-top: 1rem;
								@media (width <= 767px) {/* SP */
									margin-top: 0;
									margin-bottom: 1rem;
								}
							}
							.-img3{
								
								@media (width <= 767px) {/* SP */
									margin-top: -1rem;
									margin-bottom: 0.5rem;
								}
							}
							.-img4{
								@media (width <= 767px) {/* SP */
									width: 8.3rem;
									margin-bottom: 1.1rem;
								}
							}
						}
					}
				}
			}
	
			.block2{
				background: #fff;
				@media (width > 767px) {/* PC */
					/* width: 30.3rem; */
				}
				@media (width <= 767px) {/* SP */
					width: 28.9rem;
					margin: 2rem auto 0;
				}
				.blockTtl{
					background: var(--cc-black-A);
					color: #fff;
					text-align: center;
					line-height: 1;
					font-size: 1.5rem;
					@media (width > 767px) {/* PC */
						padding: .5rem 0 .6rem;
						font-size: 1.8rem;
					}
					@media (width <= 767px) {/* SP */
						padding: .6rem 0;
					}
				}
				.block2__list{
					display: flex;
					flex-direction:column;
					margin: 0 1.5rem;
					@media (width > 767px) {/* PC */
						flex-direction: row;
						justify-content: center;
						gap: 1.55rem;
						padding: 2.5rem 0 3.5rem;
					}
					@media (width <= 767px) {/* SP */
						margin: 0 0 0 1.5rem;
					}
					.item{
						display: flex;
						align-items: flex-start;
						box-sizing: border-box;
						
						
						@media (width > 767px) {/* PC */
							box-sizing: content-box;
							flex-direction: column;
							justify-content: flex-start;
							border-right: solid 1px var(--cc-green);
							width: 16rem;
							padding-right: 1.5rem;
						}
						@media (width <= 767px) {/* SP */
							border-bottom: solid 1px var(--cc-green);
							padding: 1.3rem 0rem 0.8rem 1rem
						}
						&:last-child{
							border: none;
						}
						.item__num{
							color: var(--cc-green);
							display: flex;
							align-items: center;
							line-height: 1;
							font-size: 2.2rem;
							padding-top: 1rem;
							width: 3.2rem;
							@media (width > 767px) {/* PC */
								padding-top: 0;
								justify-content: center;
								text-align: center;
								margin: 0 auto;
							}
						}
						.item__txtarea{
							
						}
						.item__ttl{
							color: var(--cc-green);
							font-weight: 700;
							line-height: 1;
							font-size: 1.5rem;
							@media (width > 767px) {/* PC */
								text-align: center;
								font-size: 2rem;
								margin-top: .4rem;
                line-height: 1.5;
							}
							@media (width <= 767px) {/* SP */
								font-size: 1.4rem;
							}
						}
						
						.item__txt{
							line-height: 1.5;
							
							margin-top: .5rem;
							@media (width > 767px) {/* PC */
								font-size: 2rem;
								margin-top: 1rem;
							}
							@media (width <= 767px) {/* SP */
								font-size: 1.2rem;
								margin-top: .5rem;
							}
						}
					}
				}
			}
		}

		.cnt2__bottom{
			margin-top: 3rem;
			@media (width <= 767px) {/* SP */
				margin-top: 2rem;
			}
			.txt{
				margin: 0 auto;
				width: 30.2rem;
				@media (width <= 767px) {/* SP */
					width: 28.8rem;
				}
				img{
					width: 100%;
				}
			}
			.btn{
				position: relative;
				box-sizing: border-box;
				display: flex;
				align-items: center;
				color: #FFF;
				margin: 1.5rem auto 0;
				background:var(--cc-black-A);
				border-radius: 0 2.4rem 2.4rem 0;
				width: 30.2rem;
				height:4rem;
				padding-left: 1.6rem;
				@media (width <= 767px) {/* SP */
					letter-spacing: .07em;
					padding-left: 2rem;
					width: 28.8rem;
					height:3rem;
					margin-top: 1rem;
					font-size: 1.4rem;
				}
				&::after{
					content: '';
					position: absolute;
					background: url(../images/message/btn_icon.svg) center center /cover no-repeat;
					right: .6rem;
					top: 50%;
					transform: translateY(-50%);
					width: 2.7rem;
					height: 2.7rem;
					@media (width <= 767px) {/* SP */
						width: 2.3rem;
						height: 2.3rem;
					}
				}
			}
		}
	}
	


	.arw{
		text-align: center;
		margin-top: 2rem;
		margin-bottom: 1.5rem;
		@media (width <= 767px) {/* SP */
			margin-top: 3.5rem;
			margin-bottom: 3.7rem;
		}
		.ico-arw{
			margin: 0 auto;
			width: 5rem;
			@media (width <= 767px) {/* SP */
				width: 3.3rem;
			}
		}
	}

	@media (width > 767px) {/* PC */
	}
	@media (width <= 767px) {/* SP */
	}
}