@charset "UTF-8";
/* CSS Document */


/******************************************************

PC設定 1200px以上の場合に適用

*******************************************************/

/* mv */
.mv {
	position: relative;
	width: 100%;
	height: calc(100vh - 100px);
	min-height: 600px;
	max-height: 820px;
	margin-top: 100px;
	background-image: url("../img/index/mv.jpg");
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.mv::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0) 100%);
	z-index: 1;
}

.mv__content {
	position: absolute;
	left: 6%;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
}

.mv__h1 {
	font-family: var(--font-en);
	font-size: 72px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: #FFFFFF;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.mv__txt {
	margin-top: 28px;
	font-size: 20px;
	font-weight: 700;
	line-height: 2;
	color: #FFFFFF;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}



/* intro (リード文) */
.intro {
	background-color: #FFFFFF;
	padding: 100px 0 80px;
	text-align: center;
}

.intro__catch {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.9;
	color: var(--color-text);
}

.intro__logo {
	margin-top: 56px;
}

.intro__logo-tag {
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-primary);
	margin-bottom: 12px;
}

.intro__logo-img {
	display: block;
	height: 44px;
	width: auto;
	margin: 0 auto;
}

.intro__txt {
	max-width: 880px;
	margin: 32px auto 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 2.1;
	color: var(--color-text-sub);
}



/* feature (事業ギャラリー) */
.feature {
	width: 100%;
}

.feature__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.feature__row--bottom {
	width: 90%;
	max-width: 1000px;
	margin: 8px auto 0;
}

.feature__item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 260px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
}

.feature__row--bottom .feature__item {
	height: 220px;
}

.feature__item::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(20, 48, 90, 0.4);
	transition: background-color 0.3s ease;
	z-index: 1;
}

.feature__item:hover::before {
	background-color: rgba(20, 48, 90, 0.6);
}

.feature__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.feature__item:hover .feature__bg {
	transform: scale(1.06);
}

.feature__label {
	position: relative;
	z-index: 2;
	font-size: 22px;
	font-weight: 700;
	color: #FFFFFF;
	letter-spacing: 0.04em;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}



/* about (会社概要) */
.about {
	background-color: var(--color-primary);
}

.about__box {
	display: flex;
	justify-content: center;
	gap: 28px;
	margin-top: 0;
}

.about__item {
	flex: 0 1 360px;
	background-color: #FFFFFF;
	border-radius: 12px;
	padding: 40px 28px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
	text-align: center;
}

.about__num {
	font-family: var(--font-en);
	font-size: 32px;
	font-weight: 700;
	color: var(--color-primary);
	line-height: 1;
}

.about__icon {
	margin-top: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 88px;
}

.about__icon img {
	height: 88px;
	width: auto;
}

.about__h3 {
	margin-top: 20px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--color-text);
	padding-top: 16px;
	border-top: 1px solid var(--color-border);
}

.about__txt {
	margin-top: 14px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.9;
	color: var(--color-text-sub);
}

.about__btn {
	margin-top: 56px;
}



/* recruit (採用情報) */
.recruit {
	background-color: #FFFFFF;
}

.recruit__wrapper {
	text-align: center;
}

.recruit__txt {
	max-width: 880px;
	margin: 0 auto;
	font-size: 15px;
	font-weight: 400;
	line-height: 2.1;
	color: var(--color-text);
}

.recruit__btn {
	margin-top: 48px;
}



/* news (お知らせ) */
.news {
	background-color: var(--color-bg-gray);
}

.news__wrapper {
	display: flex;
	gap: 64px;
	align-items: flex-start;
}

.news__head {
	flex: 0 0 280px;
	text-align: left;
}

.news .section-title {
	text-align: left;
	margin-bottom: 32px;
}

.news__btn {
	margin: 0;
}

.news__list {
	flex: 1;
	min-width: 0;
}

.news__item {
	border-bottom: 1px solid var(--color-border);
}

.news__link {
	display: flex;
	align-items: baseline;
	gap: 32px;
	padding: 24px 4px;
	transition: opacity 0.2s ease;
}

.news__link:hover {
	opacity: 0.65;
}

.news__date {
	flex: 0 0 auto;
	font-family: var(--font-en);
	font-size: 15px;
	font-weight: 700;
	color: var(--color-primary);
	letter-spacing: 0.02em;
}

.news__title {
	flex: 1;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--color-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
}




/******************************************************

タブレットの設定 960px〜1199pxの場合に適用

*******************************************************/

@media screen and (max-width: 1199px){

/* mv */
.mv {
	height: 100vh;
	min-height: 460px;
	max-height: 640px;
	margin-top: 80px;
}

.mv__h1 {
	font-size: 56px;
}

.mv__txt {
	font-size: 17px;
}


/* intro */
.intro {
	padding: 72px 0 64px;
}

.intro__catch {
	font-size: 22px;
}


/* feature */
.feature__item {
	height: 200px;
}

.feature__row--bottom .feature__item {
	height: 170px;
}

.feature__label {
	font-size: 18px;
}


/* about */
.about__box {
	gap: 16px;
}

.about__item {
	flex: 1 1 0;
	padding: 32px 18px;
}

.about__h3 {
	font-size: 19px;
}


}



/******************************************************

タブレットの設定 768px〜959pxの場合に適用

*******************************************************/

@media screen and (max-width: 959px){


/* mv */
.mv {
	height: calc(100vh - 60px);
	min-height: 440px;
	max-height: 560px;
	margin-top: 60px;
}

.mv__h1 {
	font-size: 44px;
}

.mv__txt {
	font-size: 15px;
}


/* feature */
.feature__row--bottom {
	width: 95%;
}


/* about */
.about__box {
	flex-wrap: wrap;
}

.about__item {
	flex: 0 1 calc(50% - 8px);
}


/* news */
.news__wrapper {
	flex-direction: column;
	gap: 24px;
}

.news__head {
	flex: 0 0 auto;
	width: 100%;
}

.news__list {
	width: 100%;
}


}



/******************************************************

SPの設定 767px以下の場合に適用

*******************************************************/

@media screen and (max-width: 767px){

/* mv */
.mv {
	height: 480px;
	min-height: auto;
	max-height: none;
	margin-top: 56px;
}

.mv__content {
	left: 24px;
	right: 24px;
}

.mv__h1 {
	font-size: 32px;
}

.mv__txt {
	margin-top: 16px;
	font-size: 13px;
	line-height: 1.9;
}


/* intro */
.intro {
	padding: 48px 0 40px;
}

.intro__catch {
	font-size: 17px;
	line-height: 1.8;
	text-align: left;
	padding: 0 4px;
}

.intro__logo {
	margin-top: 36px;
}

.intro__logo-img {
	height: 34px;
}

.intro__txt {
	font-size: 13px;
	line-height: 2;
	text-align: left;
}


/* feature */
.feature__row,
.feature__row--bottom {
	grid-template-columns: 1fr 1fr;
	gap: 4px;
}

.feature__row--bottom {
	width: 100%;
	margin-top: 4px;
}

.feature__item,
.feature__row--bottom .feature__item {
	height: 130px;
}

.feature__label {
	font-size: 15px;
}


/* about */
.about__box {
	flex-direction: column;
	gap: 16px;
}

.about__item {
	flex: 0 1 auto;
	width: 100%;
	padding: 32px 24px;
}

.about__icon {
	height: 72px;
}

.about__icon img {
	height: 72px;
}

.about__h3 {
	font-size: 18px;
}

.about__btn {
	margin-top: 36px;
}


/* recruit */
.recruit__txt {
	font-size: 13px;
	text-align: left;
}

.recruit__btn {
	margin-top: 32px;
}


/* news */
.news .section-title {
	text-align: center;
	margin-bottom: 20px;
}

.news__head {
	text-align: center;
}

.news__btn {
	margin: 0 auto;
}

.news__link {
	flex-direction: column;
	gap: 6px;
	padding: 16px 4px;
}

.news__date {
	font-size: 13px;
}

.news__title {
	font-size: 14px;
	-webkit-line-clamp: 2;
}


}
