@charset "utf-8";

/*============

index.css

=============*/

/*-------------

levelup-box-list

--------------*/

.content-second-title + .levelup-box__txt {
	margin-top: 4rem;
	text-align: center;
}

.levelup-box-list {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	flex-wrap: wrap;
}

.levelup-box-list__item {
	width: calc(100%/4 - 1.2rem);
	margin-top: 8rem;
	padding: 2rem 2rem 2rem;
	background-color: #fff;
	border-radius: 2rem;
	border: solid 0.6rem #efefef;
}

.levelup-box-list__number {
	font-size: 3.6rem;
	font-weight: bold;
	color: #666;
	margin-top: -5.6rem;
	background: linear-gradient(transparent 10%, #fff 0%) center center;
	background-size: 5rem 3rem;
	background-repeat: no-repeat;
	text-align: center;
}

.levelup-box-list__title {
	font-weight: bold;
	font-size: max(2.2rem, 20px);
	text-align: center;
	margin-top: 1rem;
}

.levelup-box-list__title span {
	background: linear-gradient(transparent 70%,#fcc 0%);
}

.levelup-box-list__second-title {
	margin-top: 1rem;
	font-weight: bold;
	color: #666;
	text-align: center;
}

.levelup-box-list__img {
	max-width: 8rem;
	margin: 0 auto;
}

.levelup-box-list__img img {
	width: 100%;
}

.levelup-box-list__detail {
	border-top: solid 0.1rem #ccc;
	margin-top: 2rem;
	padding-top: 2rem;
}

.levelup-box-list__detail li {
	position: relative;
	padding-left: 1.2rem;
	font-size: 14px;
}

.levelup-box-list__detail li:before {
	position: absolute;
	content: "";
	top: 1rem;
	left: 0;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: 50%;
	background-color: #666;
}

/*-------------

teacher-box

--------------*/

.teacher-box {
	margin-top: 6rem;
}

.teacher-box__unit {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.teacher-box__unit__img {
	width: 40%;
}

.teacher-box__unit__img img {
	width: 100%;
	height: auto;
}

.teacher-box__unit__txt {
	width: calc(60% - 4rem);
}

/*-------------

profile-box

--------------*/

.profile-box {
	margin-top: 6rem;
}

.profile-box__title {
	font-size: 2.0rem;
	font-weight: bold;
	padding-left: 2rem;
	position: relative;
}

.profile-box__title:before {
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 50%;
	background-color: #e60012;
}

.profile-box__img {
	width: 50%;
	max-width: 20rem;
	margin: 2rem auto 0;
	border-radius: 50%;
	overflow: hidden;
	margin-top: -10rem;
	border: solid 1.2rem #fff;
}

.profile-box__img img {
	width: 100%;
	z-index: 2;
}

.profile-box__unit {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

.profile-box__cont {
	width: calc(50% - 2rem);
	border: solid 0.6rem #efefef;
	border-radius: 2rem;
	position: relative;
	padding: 3rem;
	margin-top: 8rem;
}

.profile-box__name {
	text-align: center;
	font-weight: bold;
	font-size: 2.0rem;
	margin-top: 1rem;
}

.profile-box__name small {
	vertical-align: middle;
	padding-right: 1rem;
}

.profile-box__second-title {
    position: relative;
    text-align: center;
    margin-top: 2rem;
    font-size: 14px;
}

.profile-box__second-title:before,
.profile-box__second-title:after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	height: 0.1rem;
	background-color: #ccc;
	width: calc(50% - 4.0rem);
}

.profile-box__second-title:before {
	left: 0;
}

.profile-box__second-title:after {
	right: 0;
}

.profile-box__third-title {
    color: #999;
    font-weight: bold;
    margin-top: 2rem;
    position: relative;
}

.profile-box__third-title:after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	margin: auto;
	width: calc(100% - 10.2rem);
	height: 0.1rem;
	bottom: 0;
	border-bottom: dashed 0.1rem #ccc;
}

.profile-box__txt {
	margin-top: 1rem;
}

.profile-box__txt--small {
	margin-top: 1rem;
	font-size: 14px;
}

/*-------------

schedule-box

--------------*/

.content-second-title + .schedule-box__txt {
	margin-top: 4rem;
	text-align: center;
}

.schedule-box__img {
	margin: 4rem auto 0;
	text-align: center;
}

.schedule-box__img img {
	width: 100%;
	max-width: 800px;
}

/*-------------

user-box

--------------*/

.content-second-title + .user-box__txt {
	margin-top: 4rem;
	text-align: center;
}

.content-fourth-title {
	margin-top: 4rem;
}

.user-box-list {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

.user-box-list__item {
	width: calc(100%/3 - 2rem);
	border: solid 0.6rem #efefef;
	border-radius: 2rem;
	position: relative;
	padding: 3rem;
	margin-top: 6rem;
}

.user-box-list__img {
	width: 50%;
	max-width: 10rem;
	margin: 2rem auto 0;
	overflow: hidden;
	margin-top: -8rem;
	border: solid 0.8rem #fff;
	background-color: #fff;
}

.user-box-list__img img {
	width: 100%;
}

.user-box-list__second-title {
    color: #666;
    font-weight: bold;
    margin-top: 2rem;
    position: relative;
}

.user-box-list__second-title:after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	margin: auto;
	width: calc(100% - 7.2rem);
	height: 0.2rem;
	background-color: #ccc;
	bottom: 0;
}

.user-box-list__second-title small {
	vertical-align: middle;
	padding-right: 1rem;
}

.user-box-list__txt {
	font-size: 14px;
	border-top: solid 0.1rem #ccc;
	margin-top: 2rem;
	padding-top: 2rem;
}

.user-box-list__name {
	font-weight: bold;
	text-align: center;
}

.user-box-list__place {
	font-size: 14px;
	text-align: center;
}

.user-box-list__title {
	font-weight: bold;
	font-size: 2.0rem;
	margin-top: 2rem;
}

.user-box-list__title span {
	background: linear-gradient(transparent 70%,#fcc 0%);
}

/*============

media queries

=============*/

/*-------------

タブレット・スマホ

--------------*/

@media (max-width: 959px) {
	.levelup-box-list__item {
		width: calc(100%/2 - 1rem);
	}

	.profile-box__unit {
		flex-direction: column;
	}

	.profile-box__cont {
		width: 100%;
	}

	.user-box-list {
		flex-direction: column;
	}

	.user-box-list__item {
		width: 100%;
	}
}

/*-------------

スマホ

--------------*/

@media (max-width: 519px) {
	.content-second-title + .levelup-box__txt {
		text-align: left;
	}

	.content-second-title + .schedule-box__txt {
		text-align: left;
	}

	.content-second-title + .user-box__txt {
		text-align: left;
	}

	.levelup-box-list {
		flex-direction: column;
	}

	.levelup-box-list__item {
		width: 100%;
	}

	.teacher-box__unit {
		flex-direction: column;
	}

	.teacher-box__unit__img {
		width: 100%;
	}

	.teacher-box__unit__txt {
		width: 100%;
		margin-top: 2rem;
	}
}
