/* Top Section */
#top .background {
	display: block;
	width: 100%;
}

#top .border {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 1;
}

#top .copy {
	position: absolute;
	top: calc(50px + 50px);
	left: 4%;
	width: 70%;
	max-width: 800px;
	z-index: 1;
}
@media screen and (max-width: 700px) {
	#top .copy {
		top: calc(50px + 3vw);
	}
}

#top .subcopy {
	position: absolute;
	bottom: 30%;
	right: 4%;
	width: 60%;
	max-width: 500px;
	z-index: 2;
}
@media screen and (max-width: 700px) {
	#top .subcopy {
		bottom: 17vw;
	}
}

#top .logo {
	position: absolute;
	bottom: 50px;
	right: 4%;
	width: 60%;
	max-width: 500px;
	z-index: 2;
}
@media screen and (max-width: 700px) {
	#top .logo {
		bottom: 3vw;
	}
}

/* About Section */
#about p {
	color: var(--white);
	font-size: 1.2em;
	font-weight: bold;
}

#about .container {
	padding-bottom: 40px;
}

/* Supporter Section */
#supporter .container {
	padding-bottom: 0;
}

#supporter .supporter {
	margin-bottom: -10px;
	margin-left: 100px;
	width: 50%;
	max-width: 500px;
}
@media screen and (max-width: 700px) {
	#supporter .supporter {
		margin-bottom: 0;
		margin-left: 0;
	}
}

#supporter .features {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 0;
	right: 0;
	width: 40%;
	max-width: 500px;
}
@media screen and (max-width: 700px) {
	#supporter .features {
		width: 50%;
	}
}

#supporter .features img {
	margin-bottom: 20px;
	width: 100%;
}
@media screen and (max-width: 700px) {
	#supporter .features img {
		margin-bottom: 10px;
	}
}

#supporter .message {
	position: absolute;
	bottom: 20px;
	padding: 0.4em 1em;
	width: calc(100% - var(--side-margin) * 2 - 1em * 2);
	background-color: rgba(255, 255, 232554, 0.7);
	border-radius: 12px;
}
@media screen and (max-width: 1000px) {
	#supporter .message {
		position: relative;
		margin-top: -6vw;
		margin-bottom: 10px;
		width: calc(100% - var(--side-margin) * 2 - 1em * 2);
	}
}

#supporter .message .more {
	text-align: right;
}

#supporter .message p {
	padding: 0;
	font-size: 0.9em;
}

/* Achievements Section */
#achievements {
	background-image: url("../images/about_background.jpg");
	background-size:cover;
}

#achievements p {
	color: var(--white);
	font-size: 1.2em;
	font-weight: bold;
}

#achievements .movie iframe {
	display: block;
	margin: 20px auto 0;
	width: 800px;
	height: calc(800px / 16 * 9);
	pointer-events: auto;
}
@media screen and (max-width: 700px) {
	#achievements .movie iframe {
		width: calc(100% - var(--side-margin) * 2);
		height: calc((100vw - var(--side-margin) * 4) / 16 * 9);
	}
}

/* Service Section */
#service {
	background-color: var(--white);
}

#service .section_border .border {
	top: -47px;
}

#service .section_border h1 {
	top: -1.5em;
}

#service .list {
	margin-top: 40px;
	margin-bottom: 60px;
	border: none;
}

#service .list tr td {
	padding: 0.5em;
}

#service .list tr td:nth-child(1) {
	width: 80%;
}

#service .list .title {
	margin-bottom: 4px;
	font-size: 1.4em;
	font-weight: bold;
}
#service .list .title::before {
	display: inline-block;
	margin-right: 4px;
	content: url('../images/list_check.png');
}

#service .list p {
	margin-top: 0;
	margin-left: 40px;
}

#service .list img {
	display: block;
	margin: 0 auto;
	height: 120px;
	width: auto;
}
@media screen and (max-width: 700px) {
	#service .list img {
		width: 15vw;
		height: auto;
	}
}

#service .cond {
	margin-top: 30px;
	margin-bottom: 40px;
	border-collapse: collapse;
}

#service .cond tr {
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: var(--light-gray);
}
#service .cond tr:last-child {
	border-width: 1px 0 1px 0;
}
#service .cond tr td {
	padding: 0.4em 1em;
}
#service .cond tr td:nth-child(1) {
	width: 20%;
	font-weight: bold;
}
@media screen and (max-width: 700px) {
	#service .cond tr td {
		padding: 0.2em 0.5em;
	}
	#service .cond tr td:nth-child(1) {
		width: 30%;
	}
}

#service .caution ul {
	padding: 0;
	list-style-type: none;
}
#service .caution ul li::before {
	display: inline-block;
	margin-right: 4px;
	content: "※";
}

/* Target Section */
#target {
	background-color: var(--light-yellow);
}

#target .section_border .border {
	top: -47px;
}

#target .term {
	font-size: 1.4em;
	font-weight: bold;
}
#target .term::before {
	display: inline-block;
	margin-right: 4px;
	content: url('../images/list_check.png');
}

#target p {
	margin-top: 0;
	margin-left: 40px;
}

#target .closing {
	margin-top: 40px;
	color: var(--orange);
	font-size: 1.6em;
	font-weight: bold;
	text-align: center;
}

/* Flow Section */
#flow {
	background-color: var(--white);
}

#flow .section_border .border {
	top: -58px;
}

#flow .section_border h1 {
	top: -1.8em;
}

#flow .desc {
	margin-top: 40px;
	margin-bottom: 20px;
}

#flow .step {
	position: relative;
	display: flex;
	justify-content: space-between;
	margin-bottom: 50px;
}
@media screen and (max-width: 700px) {
	#flow .step {
		flex-direction: column;
	}
}

#flow .step .title {
	position: relative;
	display: flex;
	justify-content: center;
	padding: 0.1em 1em;
	width: calc(50% - 2em);
	height: calc(70px - 0.2em);
	background-color: var(--white);
	border: 4px solid var(--orange);
	color: var(--orange);
	font-size: 1.6em;
	font-weight: bold;
}
#flow #counseling_step .title,
#flow #session_step .title {
	background-color: var(--orange);
	color: var(--white);
}
#flow .step.next::after,
#flow .step.prev::before,
#flow .step.next .title::after,
#flow .step.prev .title::before {
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	content: "";
	width:  0;
	height: 0;
	border-style: solid;
	border-width: 30px 40px 0 40px;
	border-color: var(--light-orange) transparent transparent transparent;
}
#flow .step.next::after,
#flow .step.prev::before {
	display: none;
}
#flow .step.next::after,
#flow .step.next .title::after{
	bottom: -42px;
}
#flow .step.prev::before,
#flow .step.prev .title::before {
	top: -42px;
}
#flow .loop_dot {
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: var(--light-orange);
}
@media screen and (max-width: 1000px) {
	#flow .step .title {
		font-size: 2.8vw;
	}
}
@media screen and (max-width: 700px) {
	#flow .step .title {
		justify-content: space-between;
		width: calc(100% - 2em - 8px);
		height: calc(60px - 0.2em);
		font-size: 4.5vw;
	}
	#flow .step.next::after,
	#flow .step.prev::before {
		display: block;
	}
	#flow .step.next .title::after,
	#flow .step.prev .title::before {
		display: none;
	}
}

#flow .step .title .name {
	display: flex;
	justify-content: center;
	align-items: center;
}

#flow .step .title img {
	margin-left: 20px;
	padding-bottom: 18px;
	height: 90px;
}
@media screen and (max-width: 700px) {
	#flow .step .title img {
		margin-left: 10px;
		height: 80px;
	}
}

#flow .step .title .expand_btn {
	display: none;
}
@media screen and (max-width: 700px) {
	#flow .step .title .expand_btn {
		display: block;
		margin-top: auto;
		margin-bottom: auto;
		padding: 0;
		width: 40px;
		height: 40px;
		transform: rotateZ(90deg);
	}
}

#flow .step .explan {
	position: relative;
	padding: 0 1em;
	width: calc(50% - 80px);
	background-color: var(--light-orange);
	border-radius: 0.4em;
}
#flow .step .explan::before {
	content: "";
	position: absolute;
	top: 40px;
	left: -30px;
	margin-top: -15px;
	border: 15px solid transparent;
	border-right: 22px solid var(--light-orange);
}
@media screen and (max-width: 700px) {
	#flow .step .explan {
		display: none;
		width: calc(100% - 2em);
		border-radius: 0;
	}
	#flow .step .explan::before {
		display: none;
	}
	#flow .step .explan.loop_explan {
		display: block;
	}
}

/* Voice Section */
#voice {
	background-color: var(--light-yellow);
}

#voice .section_border .border {
	top: -35px;
}

#voice .ctrl {
	display: flex;
	justify-content: space-between;
	margin: 20px auto;
	width: 240px;
}

#voice .ctrl .arrow_btn {
	width: 40px;
}
#voice .ctrl .arrow_btn:nth-child(1) {
	transform: rotateZ(180deg);
}

#voice .ctrl .page_navi img {
	width: 12px;
	margin-top: 15px;
	margin-left: 4px;
	margin-right: 4px;
}

#voice .case .user {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 20px;
}

#voice .case .user img {
	margin-right: 20px;
	width: 15%;
}
@media screen and (max-width: 700px) {
	#voice .case .user img {
		width: 20%;
	}
}

#voice .case .user p {
	font-size: 0.85em;
}

#voice .case .trainer {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 20px;
}

#voice .case .trainer div {
	position: relative;
	padding: 1.2em 1em 0 1em;
	width: calc(100% - 50px);
	background-color: var(--light-orange);
	border-radius: 0.4em;
}
#voice .case .trainer div::after {
	content: "";
	position: absolute;
	top: 40px;
	right: -30px;
	margin-top: -15px;
	border: 15px solid transparent;
	border-left: 22px solid var(--light-orange);
}

#voice .case .trainer .advice {
	position: absolute;
	top: 10px;
	right: 10px;
	height: 1em;
}

#voice .case .trainer p {
	font-size: 0.85em;
}

#voice .case .trainer>img {
	margin-left: 20px;
	width: 15%;
}
@media screen and (max-width: 700px) {
	#voice .case .trainer>img {
		width: 20%;
	}
}

#voice .closing {
	position: relative;
	margin-top: -100px;
}

#voice .closing .background {
	margin-bottom: -10px;
}

#voice .closing .btn {
	position: absolute;
	top: 90px;
	left: 0;
	right: 0;
	margin: auto;
}
@media screen and (max-width: 700px) {
	#voice .closing .btn {
		top: 120px;
	}
}

#voice .closing .link {
	position: absolute;
	top: 250px;
	left: 0;
	right: 0;
	margin: auto;
	width: 300px;
	text-align: center;
}