@charset "utf-8";

/*===fv==========================*/
#fv {
	background-image: none;
    background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
	height: auto;
	margin-bottom: 100px;
}

#fv .inner {
	max-width: 100%;
}

#fv h1 {
	width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 0;

    & img {
        max-width: 100vw;
    }
}

@media screen and (max-width: 768px) {
	#fv .inner {
		margin: 0;
	}
}

@media screen and (max-width: 768px) {
	#fv {
		margin-bottom: 30px;
		height: auto;

		& h1 {
			margin-bottom: 20px;
		}

		& .jigyou-name {
			left: 20px;
			font-size: .75rem;
		}
	}
}

/*===about==========================*/
#about .title {
	& h2 {
		width: min(500px, 90%);
		margin-bottom: 36px;
	}
}

@media screen and (max-width: 768px) {
	#about .title {
		& p {
			margin-bottom: 250px;
		}
	}
}

#about {
	& .title {
		& div.character-fix.left {
			top: -180px;
		}

		& div.img-fix.left {
			bottom: -30px;
		}

		& div.img-fix.right {
			bottom: 50px;
			right: -100px;
		}
	}
}

@media screen and (max-width: 768px) {
	#about {
		& .title {
			& div.character-fix.left {
				display: none;
			}

			& div.img-fix.left {
				bottom: -200px;
				left: -10px;
				width: 180px;
			}

			& div.img-fix.right {
				bottom: -220px;
				left: auto;
				right: 0px;
				width: 200px;
			}
		}
	}

	#about {
		& .subtitle {
			& div.character-fix.right {
				width: 90px;
				right: -20px;
				bottom: -20px;
			}
		}
	}
}

@media screen and (max-width: 768px) {
	#schedule .schedule-list {
		& div.img-fix.left {
			width: 80px;
			bottom: 74px;
			left: -50px;
		}
	}
}


#company .list-company {
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-column-gap: 20px;
	grid-row-gap: 14px;
	font-weight: bold;
	font-size: .875rem;
	margin-bottom: 40px;
    margin-top: 50px;
}

@media screen and (max-width: 768px) {
	#company .list-company {
		grid-template-columns: 1fr;
		grid-row-gap: 14px;
		font-weight: bold;
		font-size: .875rem;
	}
}

#company .detail-company .list {
	width: 45%;

	& p.catch {
		font-size: 1rem;
	}

	& h3.name {
		font-size: 1.375rem;
	}
}

@media screen and (max-width: 768px) {
	#company .detail-company .list {
		width: 100%;
	}
}