@charset "utf-8";
/*===================================================================
メインビジュアル
===================================================================*/
.main-visualarea-full {
  position: relative;
  width: 100%;
  height: 800px;
	margin-top:70px;
  overflow: hidden;
  background-image: url('library/images/content/top-img-01.jpg');
  background-size: cover;
  background-position: center top;
}

.overlay {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  height: 800px;
  background-color: rgba(80, 30, 0, 0.4); /* 黒のオーバーレイ。最後の0.5は透明度を示します。 */
}

.text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* 白の文字 */
  font-size: 45px; /* 適切なフォントサイズに変更してください */
	font-weight: 500;
	white-space: nowrap;
}
.sp-wrap {
	display: none;
}
.large {
	font-size: 60px;
}

.top-text {
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 垂直方向に中央揃え */
	font-size: 18px;
	width: 50%;
	margin: auto;
	text-align: center;
	padding: 50px 20px;
}
.link-area {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 5%;
	padding: 30px 10px;
	height: 400px;
	background-image: 
		linear-gradient(250deg, rgba(255, 156, 42, 0.9), rgba(249, 104, 40, 0.7)),
		url("library/images/content/top-background-01.jpg");
	background-repeat: no-repeat;
	background-position: bottom;
	background-attachment: fixed; /* 画像をスクロールしても固定 */
	z-index: 0;
}

.link-box {
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: #fff;
	width: 30%;
	height: 200px;
	padding: 30px;
	border-radius: 3px;
}

.link-box h3 {
	text-align: center;
	font-size: 20px;
	color: #F96828;
}

.link-box p {
	display: inline-block;
	margin: auto;
}

.link-box::before {
	position: absolute;
	top: 10px;
	left: 10px;
	content: '';
	background-color: #F96828;
	border-radius: 3px;
	width: calc(100%); /* 親要素の幅に合わせて調整 */
	height: calc(100%); /* 親要素の高さに合わせて調整 */
	z-index: -1; /* 親要素より後ろに配置 */
}

.link-box a {
	background-color: #F96828;
	border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 10px auto;
    max-width: 280px;
    padding: 10px 25px;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.link-box a:hover {
	text-decoration-line: none;
    background: #F96828;
    color: #FFF;
}
.link-box a:after {
    content: '';
    width: 7px;
    height: 7px;
    border-top: 2px solid #FFF;
    border-right: 2px solid #FFF;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 18px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.link-box a:hover:after {
    border-color: #FFF;
}
address {
	text-align: center;
	margin-bottom: 10px;
}
@media screen and (max-width:959px){
@keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
#overlay-button {
  position: absolute;
  right: 0.5em;
  top: 0.5em;
  padding: 15px 10px;
  z-index: 5;
  cursor: pointer;
  user-select: none;
}
#overlay-button span {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: #F96828;
  position: relative;
  display: block;
  transition: all .2s ease-in-out;
}
#overlay-button span {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: #F96828;
  position: relative;
  display: block;
  transition: all .2s ease-in-out;
}
#overlay-button span:before {
  top: -10px;
  visibility: visible;
}
#overlay-button span:after {
  top: 10px;
}
#overlay-button span:before, #overlay-button span:after {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: #F96828;
  position: absolute;
  content: "";
  transition: all .2s ease-in-out;
}
#overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
  background: #fff;
}

input[type=checkbox] {
  display: none; 
  
}

input[type=checkbox]:checked ~ #overlay {
  visibility: visible; 
}

input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
  background: transparent;
  
  
}
input[type=checkbox]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(7px, 7px);

}
input[type=checkbox]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);

}

#overlay {
  height: 100vh;
  width: 100vw;
  background: #F96828;
  z-index: 2;
  visibility: hidden;
  position: fixed;
}
#overlay.active {

}
#overlay ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  height: 100vh;
	width: 100vw;
  padding-left: 0;
  padding-top: 100px;
  list-style-type: none;
}
#overlay ul li {
  padding: 0.5em;
}
#overlay ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
}
.menu-item{
	width: 100vw;
	height: 80px;
	}
	.new-link {
		background-color: #F96828;
	}
	.new-link a{
		background-color: #E05020;
		padding: 30px 100px;
	}
	.career-btn {
		background-color: #E7E619;
		color: #000;
	}
	.career-btn a{
		background-color: #EDF32C;
		padding: 30px 100px;
	}
	#overlay .career-btn a{
	color: #000;
}
	.corporate-btn {
		background-color: #21989E;
	}
	.corporate-btn a{
		background-color: #15838C;
		padding: 30px 80px;
	}
  .main-visualarea-full {
    background-image: url('library/images/content/top-img-sp-01.jpg');
    position: relative;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
    display: flex;
    justify-content: center;
    align-items: center;
  }
.sp-wrap {
	display: block;
}
.text{
	position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
	font-weight: 500;
	white-space: nowrap;
		writing-mode: vertical-rl;
	}
	.text p {
		padding-top: 100px;
		font-size: 24px;
	}
	.large {
		font-size: 60px;
	}
.top-text {
	font-size: 16px;
	width: 80%;
}
.link-area {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
	padding: 100px 10px;
	height: 500px;
	background: linear-gradient(250deg,#FF9C2A,#F96828);
	z-index: 0;
}
.link-box {
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: #fff;
	width: 80%;
	height: 200px;
	padding: 30px;
	border-radius: 3px;
}

.link-box h3 {
	text-align: center;
	font-size: 20px;
	color: #F96828;
}

.link-box p {
	display: inline-block;
	margin: auto;
}

.link-box::before {
	position: absolute;
	top: 10px;
	left: 10px;
	content: '';
	background-color: #F96828;
	border-radius: 3px;
	width: calc(100%); /* 親要素の幅に合わせて調整 */
	height: calc(100%); /* 親要素の高さに合わせて調整 */
	z-index: -1; /* 親要素より後ろに配置 */
}

.link-box a {
	background-color: #F96828;
	border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 10px auto;
    max-width: 280px;
    padding: 10px 25px;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.link-box a:hover {
	text-decoration-line: none;
    background: #F96828;
    color: #FFF;
}
.link-box a:after {
    content: '';
    width: 7px;
    height: 7px;
    border-top: 2px solid #FFF;
    border-right: 2px solid #FFF;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 18px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.link-box a:hover:after {
    border-color: #FFF;
}
address {
	text-align: center;
	margin-bottom: 10px;
}