@charset "UTF-8";

.p-main-first, .p-main-structure{
	--bg-structure-height:60;
}

.p-main-first{
	padding-bottom:calc(var(--bg-structure-height)/var(--content-width)*100vw);
	background-image:repeating-linear-gradient(90deg, rgb(243, 195, 199, 0.84), rgb(243, 195, 199, 0.84) 15px, rgba(241, 189, 202, 0.84) 15px, rgba(241, 189, 202, 0.84) 30px);
	background-size:auto auto;
	position:relative;

	& > :first-child{
		margin-top:0 !important;
	}

	& > :last-child{
		margin-bottom:0 !important;
	}
}

.p-main-structure{
	--bgi-structure-left-to-right:url(../img/bg_p-main-structure_sp.svg);

	padding-top:calc((var(--decoration-space) + var(--bg-structure-height))/var(--content-width)*100vw);
	margin-top:calc((var(--decoration-space) + var(--bg-structure-height))/var(--content-width)*-100vw);
	background-image:var(--bgi-structure-left-to-right);

	&.of-type-2{
		--bgi-structure-left-to-right:url(../img/bg_p-main-structure_type-2_sp.svg);
		--bg-structure-inner:#f5ece0;

		.c-button-1__button{
			border-color:#f5ccd0;
			background-color:#f5ccd0;
			color:#fff;

			&::after{
				background-color:#fff;
				background-image:url(../img/bg_arrowRight.svg);
			}
		}

		.c-button-2__button{
			border-color:#fff;
			color:#f5ccd0;

			&::after{
				background-color:#f5ccd0;
			}
		}
	}
}

.p-main-structure__inner{
	padding-bottom:calc(var(--bg-structure-height)/var(--content-width)*100vw);
}

.p-frameLine .p-media-image__inner{
	border:2px solid #F5CCD0;
	border-radius:10px;
	overflow:hidden;
}

.p-schedule__grid{
	display:grid;
	grid-template-columns:60px 1fr;
	column-gap:10px;
	max-width:335px;
	margin:0 auto;
}

.p-schedule__grid + .p-schedule__grid{
	margin-top:20px;
}

.p-schedule__content{
	display:grid;
	align-items:center;
}

.p-schedule__text{
	padding:10px 10px 0;
	order:-1;
}

.p-schedule__afterーtext{
	font-weight:bold;
	font-size:1.8rem;
}

.p-main-first__areaImage{
	margin-inline:-20px;
}

.p-box-student-1{
	margin-top:60px;
}

.p-box-student-1__layoutAreaText{
	padding-right:90px;
}

.p-box-student-1__viewport{
	width:124px;
	margin-right:-25px;
}

.p-box-student-2__layoutAreaText{
	padding-right:90px;
}

.p-box-student-2__viewport{
	width:138px;
	margin-right:-30px;
}

.p-box-student-3__layoutAreaText{
	padding-right:90px;
}

.p-box-student-3__viewport{
	width:163px;
	margin-right:-70px;
}

.p-heading-appeal{	
	margin-block:25px 20px;
	text-align:center;
	font-size:1.4rem;
	margin-top:60px;
}

.p-heading-appeal__title{
	position:relative;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:0 2em;
	color:var(--main-color);
	font-feature-settings:"palt";
	line-height:1.625;
	text-align:center;

	&::before, &::after{
		position:absolute;
		top:5px;
		bottom:0;
		display:block;
		width:2px;
		border-radius:9em;
		background-color:currentcolor;
		content:"";
		background-color:#F5CCD0;
	}

	&::before{
		left:1em;
		transform:rotate(-15deg);
	}

	&::after{
		right:1em;
		transform:rotate(15deg);
	}
}

.p-red-text-group{
	margin-top:12px;
}

.p-red-text-group__text{
	font-weight:500;
	font-size:1.6rem;
	line-height:180%;
	text-align:center;
	letter-spacing:0.1em;
	color:#C41B1F;
}

.p-red-text-group__text-text{
	border-bottom:#C41B1F 1px solid;
}

.p-event-heading{
	display:grid;
	align-items:center;
	grid-template-columns:44px 1fr;
	column-gap:10px;
}

.p-event-heading__month{
	display:grid;
	align-items:center;
}

.p-event-heading__title{
	font-weight:700;
	font-size:2.4rem;
	letter-spacing:0.1em;
	color:#F5CCD0;
}

.p-event-appeal{
	color:#C41B1F;
	font-size:1.8rem;
	text-align:center;
	margin-top:60px;
}

.p-event-appeal__title{
	position:relative;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	padding:0 2em;
	color:var(--main-color);
	font-feature-settings:"palt";
	line-height:1.625;
	text-align:center;
	font-weight:bold;

	&::before, &::after{
		position:absolute;
		top:5px;
		bottom:0;
		display:block;
		width:2px;
		border-radius:9em;
		background-color:currentcolor;
		content:"";
		background-color:#C41B1F;
	}

	&::before{
		left:1em;
		transform:rotate(-15deg);
	}

	&::after{
		right:1em;
		transform:rotate(15deg);
	}
}

.p-comment-1{
	margin-left:-4.477%;
}

.p-comment-2{
	margin-right:-4.477%;
}

.p-text-job__text{
	opacity:.3;
	font-size:1.2rem;
}

.p-dialog__inner{
	height:480px;
}

.p-dialog__image{
	margin:4px 4px 0;
}

.p-dialog__content{
	margin:12px 12px 0;
	color:#222222;
	line-height:180%;
}

.p-dialog__title{
	font-size:1.4rem;
}

.p-dialog__name{
	font-size:1rem;
	color:rgba(34, 34, 34, 0.3);
}

.p-dialog__list{
	margin:0;
}

.p-dialog__heading{
	font-size:1.2rem;
	line-height:160%;
	margin-top:20px;
	font-weight:500;
}

.p-dialog__heading-text{
	position:relative;
	z-index:1;
}

.p-dialog__heading-text::before{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:7px; 
  background-color:#F5CCD0;
  border-radius:10px; 
  z-index:-1;
}

.p-dialog__text{
	margin-top:9px;
	font-size:1.2rem;
	line-height:160%;
	font-weight:400;
}

@media (width > 767px){
	.p-main-first, .p-main-structure{
		--bg-structure-height:70;
	}
.p-main-first::before{
	content:"";
	position:absolute;
  bottom:0px;
  right:0px;
  width:10.882vw;
  height:35.735vw;
  background-image:url(../img/index_decoration_01_pc@2x.png);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
	.p-main-structure{
		--bgi-structure-left-to-right:url(../img/bg_p-main-structure_pc.svg);

		&.of-type-2{
			--bgi-structure-left-to-right:url(../img/bg_p-main-structure_type-2_pc.svg);
		}
	}
	.p-schedule__grid{
		column-gap:20px;
		max-width:100%;
	}
	.p-schedule__grid + .p-schedule__grid{
		margin-top:30px;
	}
	.p-schedule__content{
		align-items:flex-start;
		grid-template-columns:1fr 320px;
	}
	.p-schedule__content.of-no-image{
		align-items:center;
	}
	.p-schedule__text{
		padding:15px 0 0;
	}
	.p-schedule__afterーtext{
		font-weight:bold;
		font-size:1.8rem;
	}
		.p-box-student-1{
		margin-top:120px;
	}
	.p-box-student-1__layoutAreaText{
		padding-right:190px;
	}
	.p-box-student-1__viewport{
		width:auto;
		margin-right:0;
	}
	.p-box-student-2__layoutAreaText{
		padding-right:190px;
	}
	.p-box-student-2__viewport{
		width:auto;
		margin-right:0;
	}
	.p-box-student-3__layoutAreaText{
		padding-right:184px;
	}
	.p-box-student-3__viewport{
		width:auto;
		margin-right:0;
	}
	.p-heading-appeal{
		font-size:2rem;
	}
	.p-red-text-group{
		margin-top:40px;
	}
	.p-red-text-group__text{
		font-size:2rem;
	}
	.p-red-text-group__text-text{
		border-bottom:#C41B1F 2px solid;
	}
	.p-event-appeal{
		font-size:2rem;
	}
	.p-sp-only{
		display:none;
	}
.p-text-job__text{
	opacity:.3;
	font-size:1.4rem;
}
	.p-dialog__body{
		display:grid;
		grid-template-columns:44% 50%;
		column-gap:6%;
	}
	.p-dialog__image{
		margin:0;
	}
	.p-dialog__content{
		margin:0;
	}
	.p-dialog__title{
		font-size:2rem;
	}
	.p-dialog__name{
		font-size:1.2rem;
	}
	.p-dialog__heading{
		font-size:1.6rem;
	}
	.p-dialog__heading::before{
		height:16px;
	}
	.p-dialog__text{
		font-size:1.4rem;
	}
}