@charset "utf-8";

/* Front page
-------------------------------------------------- */
#home .hero_wrap {
	overflow: hidden;
}

#home .hero_wrap::after {
	position: absolute;
	content: "";
	width: 613px;
  height: 720px;
	top: 127px;
  left: 51%;
	background: url('../images/catch_imgRed.svg') no-repeat left top;
	background-size: 613px;
	transition: .8s;
	animation: slideIn 2.4s .8s forwards;
	z-index: 2;
}

@keyframes slideIn {
	0% {
		width: 100%;
	}
	100% {
		width: 0;
	}
}

#home .hero_wrap::before {
	position: absolute;
  content: "";
	top: -208px;
  left: 51%;
	width: 49vw;
  /* width: 100%; */
  height: 100%;
  background: url('../images/bg_logoPhoto_pc.png') no-repeat left top;
  background-size: 1389px;
}

#home .topHedaer_wrap {
	margin-bottom: 52px;
}
#home .catch {
	position: relative;
	padding: 240px 0;
	font-size: var(--fontSize62);
	font-weight: 600;
	text-shadow: 1px 1px 3px #fff, -1px -2px 3px #fff, -1px 1px 3px #fff, -1px 0px 3px #fff;
	animation: fadeUp 1s ease .3s 1 normal forwards;
	z-index: 3;
}

#home .catch .en {
	display: block;
	margin-bottom: 12px;
	font-size: var(--fontSize24);
	font-weight: 400;
}

@media screen and (max-width: 1130px) {
	#home .hero_wrap::before {
		background-size: 1200px;
	}

	#home .hero_wrap::after {
		width: 612px;
		height: 624px;
		top: 81px;
		background-size: 530px;
	}

	#home .catch {
		font-size: var(--fontSize56);
	}
}

@media screen and (max-width: 1000px) {
	body#home.menuOpen .topHedaer_wrap {
		position: relative;
		z-index: -1;
	}
}

@media screen and (max-width: 768px) {
	#home .topHedaer_wrap {
		margin-top: 548px;
	}

	#home .hero_wrap::before {
    background-image: url('../images/bg_logoPhoto.png');
		left: 16px;
		top: -16px;
		width: calc(100% - 16px);
		height: 100%;
		background-size: calc(100vw * 1.6);
		background-size: 962px;
	}

	#home .hero_wrap::after {
		width: 426px;
		height: 530px;
		background-size: 426px;
		left: 15px;
		top: 92px;
	}

	#home .catch {
		padding: 0;
		font-size: var(--fontSize32);
	}

	#home .catch .en {
		font-size: var(--fontSize16);
	}
}

@media screen and (max-width: 480px) {
	#home .topHedaer_wrap {
		margin-top: calc(73.1vw * 1.5 + 24px);
	}

	#home .hero_wrap::before {
		background-size: calc(100vw * 2);
	}

	#home .hero_wrap::after {
		top: calc(63.5 * 0.3vw);
		left: 15px;
		width: 88.8vw;
		height: calc(90vw * 1.2);
		background-size: 88.6vw;
	}
}

@media screen and (max-width: 460px) {
	#home .hero_wrap::after {
		top: calc(62 * 0.3vw);
		left: 15px;
		width: 88.8vw;
		height: calc(90vw * 2);
		background-size: 88.8vw;
	}
}

@media screen and (max-width: 420px) {
	#home .hero_wrap::after {
		top: calc(61 * 0.3vw);
		width: 88.6vw;
		height: calc(90vw * 1.2);
		background-size: 88.6vw;
	}
}

@media screen and (max-width: 390px) {
	#home .hero_wrap::before {
		top: 0;
	}

	#home .hero_wrap::after {
    top: calc(70 * .32vw);
	}
}


/* Front page Contents */
#home h2 {
	position: relative;
	margin-bottom: 24px;
	font-size: var(--fontSize36);
	font-weight: 600;
}

#home h2 .en {
	display: block;
	margin-top: 8px;
	padding-left: 32px;
	font-size: var(--fontSize22);
	font-weight: 200;
	position: relative;
}

#home .story,
#home .recruitment {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 120px;
}

#home .story .blk_img {
	flex: 0 0 45.7%;
}

#home .story .blk_txt {
	flex: 0 0 48.6%;
}

#home .recruitment .blk_img {
	flex: 0 0 59.8%;
}

#home .recruitment .blk_txt {
	flex: 0 0 34.5%;
}

#home .blk_txt p {
	margin-bottom: 80px;
	letter-spacing: .4px;
}

#home .story .blk_txt p {
	font-size: var(--fontSize20);
	font-weight: 600;
	line-height: 2.2;
}

#home .recruitment .blk_txt p {
	font-size: var(--fontSize18);
	font-weight: normal;
	line-height: 2.0;
}

#home .more-btn {
	width: 100%;
	max-width: 286px;
	background-color: var(--darkgray);
	color: var(--white);
}

#home .more-btn:hover {
	color: var(--black);
}

#home .more-btn:hover::after {
	background-color: var(--white);
}

#home .news .more-btn {
	background-color: #f5f5f5;
	color: var(--black);
}

#home .recruitment .more-btn {
	background-color: var(--white);
	color: var(--black);
}

#home .recruitment .more-btn::after,
#home .news .more-btn:hover::after {
	background-color: var(--darkgray);
}

#home .recruitment .more-btn:hover,
#home .news .more-btn:hover {
	color: var(--white);
}

#home .service {
	position: relative;
	display: flex;
  justify-content: space-between;
  column-gap: 80px;
	padding-top: 120px;
	padding-bottom: 72px;
	margin-left: calc(-50vw - -50%);
  padding-left: calc(50vw - 50%);
  max-width: calc(1240px + (50vw - 50%));
	border-radius: 0 40px 40px 0;
	background-color: var(--darkgray);
	z-index: 2;
}

#home .service img.external {
	display: none;
}

#home .news .more-btn,
#home .service .more-btn {
	max-width: 180px;
}

#home .service h2 {
	color: var(--white);
}

#home .service .more-btn {
	border-color: 1px solid var(--gray);
}

#home .news h2,
#home .service h2 {
	margin-top: -12px;
	margin-bottom: 40px;
}

#home .news {
	position: relative;
	margin-bottom: 120px;
	padding-top: 120px;
  padding-bottom: 120px;
  display: flex;
  justify-content: space-between;
  column-gap: 80px;
  z-index: 1;
}

#home .news:before {
	position: absolute;
	content: "";
	width: 100%;
	height: calc(100% + 640px);
	right: 0;
	left: 0;
	bottom: 0;
	background-color: #f5f5f5;
}

#home .service .flex,
#home .news .flex {
	display: flex;
	flex-direction: column;
	min-width: 180px;
}

#home .service .flex {
	min-width: 340px;
}

#home .service .splide__list {
	display: flex;
	flex-wrap: wrap;
	column-gap: 32px;
}

#home .service .splide__list .splide__slide {
	max-width: 43.25%;
}

#home .service .splide__list .splide__slide a {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	margin-bottom: 48px;
}

#home .service .splide__list .splide__slide a .service_img {
	border-radius: 8px;
	overflow: hidden;
}

#home .service .splide__list .splide__slide a .service_img img {
	width: 100%;
	border-radius: 8px;
	background-color: var(--white);
	transition: transform .6s ease;
}

#home .service .splide__list .splide__slide a .service_img:hover img {
	transform: scale(1.1);
}

#home .service .splide__list .splide__slide a span {
	position: relative;
	margin-top: 16px;
	padding: 8px 20px 8px 24px;
	font-size: var(--fontSize18);
	color: var(--white);
	transition: .6s ease;
}

#home .service .splide__list .splide__slide a span:before {
	position: absolute;
	content: "";
	bottom: 0;
	left: 0;
	width: 8px;
	height: 100%;
	border-radius: 8px;
	background-color: var(--red);
}

#home .service .splide__list .splide__slide a:hover span {
	opacity: .75;
}

#home .news ul {
	width: calc(100% - 180px - 138px);
}

#home .link_wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	column-gap: 32px;
	margin-bottom: 120px;
}

#home .link_wrap a {
	width: 100%;
	min-height: 120px;
	padding: 12px 48px 12px 32px;
	border: 1px solid var(--mediumgray);
	border-radius: 8px;
	display: flex;
	align-items: center;
	position: relative;
	font-size: var(--fontSize24);
	font-weight: 500;
	overflow: hidden;
	transition: .7s;
	z-index: 0;
}
#home .link_wrap a::before {
	content: '';
	position: absolute;
	top: 50%;
	right: 56px;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	background-color: var(--red);
	z-index: 1;
}

#home .link_wrap a::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 56px;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	background-color: var(--darkgray);
	z-index: -1;
}

#home .link_wrap a:hover {
	color: var(--white);
}

#home .link_wrap a:hover:after {
	animation: expandBig .6s .1s forwards 1 ease-in;
}

@keyframes expandBig {
  0% {
		transform: scale(0);
  }
  100% {
		transform: scale(620, 80);
  }
}

@media screen and (max-width: 1220px) {
	#home .service .splide__list .splide__slide a {
		min-height: 280px;
	}
}

@media screen and (max-width: 1140px) {
	#home .service .flex {
	  min-width: 240px;
	}

	#home .service .splide__list .splide__slide {
	  max-width: 46%;
	}
}

@media screen and (max-width: 768px) {
	#home h2 {
		font-size: var(--fontSize24);
	}

	#home h2 .en {
		font-size: var(--fontSize14);
	}

	#home .story .blk_txt {
		flex: 0 0 100%;
		width: 100%;
	}

	#home .story .blk_img,
	#home .recruitment .blk_img {
		flex: 0 0 100%;
		margin: 0 auto 40px;
		z-index: 1;
	}

	#home .story,
	#home .recruitment {
		align-items: flex-start;
		justify-content: flex-start;
	}

	#home .story .blk_txt p {
		font-size: var(--fontSize18);
	}

	#home .story,
	#home .recruitment {
		flex-direction: column;
		margin-bottom: 80px;
	}

	#home .service,
	#home .news {
		justify-content: flex-start;
		flex-direction: column;
	}

	#home .service .flex,
	#home .news .flex {
		display: contents;
		width: 100%;
	}

	#home .service .flex header,
	#home .news .flex header {
		order: 1;
	}

	#home #splide01,
	#home .news ul {
		order: 2;
	}

	#home .service .splide__list {
		column-gap: unset;
	}

	#home .service .flex > div,
	#home .news .flex > div {
		order: 3;
	}

	#home .service div:has(.more-btn) {
		margin-right: 16px;
	}

	#home .service {
		padding-top: 86px;
		padding-bottom: 80px;
	}

	#home .service .splide__list {
		flex-wrap: nowrap;
	}

	#home .service .splide__list .splide__slide {
		min-width: 258px;
		margin-bottom: 24px;
		padding-right: 16px;
	}

	#home .service .splide__list .splide__slide a {
		min-height: 275px;
	}

	#home .service .splide__list .splide__slide a span {
		padding: 12px 0px 12px 18px;
		font-size: var(--fontSize16);
		letter-spacing: -.85px;
	}

	#home .splide__pagination {
		bottom: -24px;
		margin-bottom: 40px;
		padding: 0 1em 0 0;
	}

	#home .splide__pagination li {
		margin: 0 20px;
	}

	#home .splide__pagination__page {
		width: 16px;
		height: 16px;
		background-color: rgba(255,255,255,.25);
	}

	#home .splide__pagination__page.is-active {
		transform: none;
		background-color: rgba(255,255,255,1);
	}

	#home .service .more-btn {
		margin-top: 40px;
	}

	#home .more-btn,
	#home .news .more-btn,
	#home .service .more-btn {
		max-width: 340px;
	}

	#home .news {
		margin-bottom: 80px;
		padding-top: 80px;
		padding-bottom: 80px;
	}

	#home .news ul {
		width: 100%;
	}

	#home .news ul li a {
		column-gap: 8px;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	#home .news ul li .txt_contents {
		display: contents;
	}

	#home .news ul li .txt_contents .meta {
		order: 2;
		display: flex;
		flex-direction: row;
		min-width: 8em;
		align-items: center;
	}

	#home .news ul li .cat {
		margin-left: 0;
	}

	#home .news ul li:last-child {
		margin-bottom: 40px;
	}

	#home .blk_txt p {
		margin-bottom: 40px;
	}

	#home .link_wrap {
		flex-direction: column;
		margin-bottom: 80px;
	}

	#home .link_wrap a:not(:last-child) {
		margin-bottom: 16px
	}
}
