@charset "utf-8";

/* -------------------------------------------------- */
/* PC*/
/* -------------------------------------------------- */

/* メインビジュアル */
/* -------------------------------------------------- */
#company #pagetitle::after {
	content: "COMPANY";
}

#companyMv {
	position: relative;
	margin-bottom: 50px;
}

#mvTit {
	font-size: 2.8rem;
	font-weight: bold;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	position: absolute;
	top: 50px;
	left: 50px;
	color: #FFF;
	text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}

#mvTxt {
	width: 370px;
	padding: 20px;
	position: absolute;
	right: 30px;
	bottom: 30px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 10px;
}

#mvImg img {
	width: 100%;
	height: auto;
}

/* リンク */
/* -------------------------------------------------- */

#companyLinkWrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

#companyLinkWrap li {
	width: 48.5%;
	margin-bottom: 30px;
	margin-right: 3%;
	border: 2px solid #d2d2d2;
	border-radius: 15px;
}

#companyLinkWrap a {
	display: block;
	padding: 20px;
	position: relative;
	transition: all 0.3s ease-in-out 0s;
}

#companyLinkWrap a::after {
	content: "";
	width: 26px;
	height: 24px;
	background: url(../../img/common/icon_link_large.svg) 0 0 no-repeat;
	display: block;
	position: absolute;
	right: 20px;
	bottom: 10%;
}

#companyLinkWrap li a:hover {
	color: #009843;
}

#companyLinkWrap li a:hover img {
	transform: scale(1.1);
}

#companyLinkWrap li:nth-child(2n) {
	margin-right: 0;
}

.linkImg {
	border-radius: 10px;
	margin-bottom: 20px;
	overflow: hidden;
}

.linkImg img {
	width: 100%;
	height: auto;
	transition: all 0.3s ease-in-out 0s;
}

.linkContent {
	display: flex;
	flex-direction: column;
}

.linkTit {
	font-size: 2.2rem;
	font-weight: bold;
	margin-bottom: 5px;
}

.linkTxt {
	font-size: 1.3rem;
}

li#linkAd {
	width: 100%;
	margin-bottom: 0;
	margin-right: 0;
	border: 2px solid #d2d2d2;
	border-radius: 15px;
}

li#linkAd a {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

li#linkAd .linkImg {
	width: 50%;
	margin: 0;
}

li#linkAd .linkContent {
	width: 50%;
	padding: 30px;
}

#companyLinkWrap li#linkAd a::after {
	content: "";
	width: 26px;
	height: 24px;
	margin-bottom: -12px;
	background: url(../../img/common/icon_link_large.svg) 0 0 no-repeat;
	display: block;
	position: absolute;
	right: 20px;
	bottom: 50%;
}

@media screen and (min-width: 1024px) and (max-width: 1150px) {
	#mvTit {
		font-size: 2.4rem;
		top: 30px;
		left: 30px;
	}

	#mvTxt {
		font-size: 1.1rem;
		line-height: 1.2;
	}
}


/* -------------------------------------------------- */
/* TAB&SP */
/* -------------------------------------------------- */
@media screen and (max-width: 1024px) {}

/* -------------------------------------------------- */
/* TAB(調整) */
/* -------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
	#mvTit {
		font-size: 2.4rem;
	}
}

/* -------------------------------------------------- */
/* SP(調整) */
/* -------------------------------------------------- */
@media screen and (max-width: 767px) {
	#mvTxt {
		width: 100%;
		padding: 20px;
		position: static;
		background: none;
		border-radius: 0;
	}

	#companyMv {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		margin-bottom: 20px;
	}

	#mvTit {
		font-size: 3.129vw;
		top: 3%;
		left: 3%;
	}

	#mvTxt {
		order: 2;
	}

	#mvImg {
		order: 1;
	}

	.linkTit {
		padding: 0;
	}

	#companyLinkWrap a {
		padding: 10px;
	}

	.linkImg {
		border-radius: 5px;
		margin-bottom: 5px;
	}

	.linkTit {
		font-size: 1.5rem;
	}

	#companyLinkWrap li {
		margin-bottom: 10px;
		border-radius: 5px;
	}

	#companyLinkWrap a::after {
		display: none;
	}

	#linkAd a {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
	}

	li#linkAd .linkImg {
		width: 100%;
		order: 1;
	}

	li#linkAd .linkContent {
		width: 100%;
		padding: 10px;
		order: 2;
	}

	#companyLinkWrap li#linkAd a::after {
		display: none;
	}
}