/* ==========================================================================
   共通パーツ用CSS
   /recruit/widget 配下のPHP共通パーツが出力するマークアップに対応するスタイルを集約する。
   ========================================================================== */

/* ==========================================================================
   More Contents (SP base / 480px)
   ========================================================================== */

.l-contents {
  background: #f2f2f2;
  padding: 30vw 5vw;
}

.contents-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.contents-header {
  margin-bottom: 10vw;
}

.contents-label {
  display: flex;
  align-items: center;
  gap: 1.67vw;
  margin-bottom: 1.67vw;
}

.contents-label-diamond {
  display: inline-block;
  width: 2.5vw;
  height: 2.5vw;
  background: #00ff6a;
  border-radius: 2px;
  transform: rotate(45deg);
}

.contents-label-txt {
  font-family: "PlusJakartaSans", "Plus Jakarta Sans", sans-serif;
  font-size: 3.33vw;
  font-weight: 700;
  color: #081a00;
  letter-spacing: 1.28px;
}

.contents-heading {
  font-family: "ZenKakuGothicNew", "Zen Kaku Gothic New", sans-serif;
  font-size: 6.67vw;
  font-weight: 700;
  color: #081a00;
  line-height: 1.48;
}

.contents-links {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.33vw;
}

.contents-link-card {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4.17vw 5vw;
  height: 21.67vw;
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  color: #081a00;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.contents-link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #00ff6a 0.01%, #0ff 99.99%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.contents-link-card:hover::before { opacity: 1; }
.contents-link-card:hover .contents-link-arrow {
  animation: flyInFromLeft 0.4s ease forwards;
}

.contents-link-txt {
  position: relative;
  z-index: 1;
  font-family: "ZenKakuGothicNew", "Zen Kaku Gothic New", sans-serif;
  font-size: 4.17vw;
  font-weight: 700;
}

.contents-link-arrow {
  position: relative;
  z-index: 1;
  width: 3.33vw;
  height: 3.33vw;
  fill: #081a00;
  flex-shrink: 0;
}

/* ==========================================================================
   PC (min-width: 1025px / 1440px基準)
   ========================================================================== */

@media screen and (min-width: 1025px) {
  .l-contents {
    padding: 10vw 5.56vw;
  }

  .contents-inner {
    width: 100%;
    max-width: none;
    display: flex;
    align-items: center;
    gap: 2.22vw;
  }

  .contents-header {
    flex-shrink: 0;
    width: 31.11vw;
    margin-bottom: 0;
  }

  .contents-label {
    gap: 0.56vw;
    margin-bottom: 0.56vw;
  }

  .contents-label-diamond { width: 0.83vw; height: 0.83vw; }
  .contents-label-txt { font-size: 1.11vw; }

  .contents-heading { font-size: 3.33vw; }

  .contents-links {
    flex: 1;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.22vw;
  }

  .contents-link-card { height: 8.33vw; padding: 1.67vw 2.22vw; }
  .contents-link-txt { font-size: 1.67vw; }
  .contents-link-arrow { width: 1.11vw; height: 1.11vw; }
}

/* ==========================================================================
   Careers (widget/careers.php が出力する l-careers に対応)
   全セレクタを .l-careers 配下にスコープし、l-mvv-career など
   同名クラスを使う他ブロックに影響しないようにしている。
   ========================================================================== */

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

.l-careers .careers-ttl-section{
	display: flex;
	justify-content: center;
	padding: 0;
	align-items: center;
	letter-spacing: 0.258vw;
	line-height: 4.167vw;
	font-family: "PlusJakartaSans";
	font-size: 2.917vw;
	font-weight: 600;
	color: #fff;
}

.l-careers .careers-ttl-section::before{
	content: "";
	display: inline-block;
	margin: 0 2.083vw 0 0.625vw;
	width: 1.856vw;
	height: 1.856vw;
	transform: rotate(-45deg);
	border-radius: 0.417vw ;
	background-color: #00FF6A;
}

.l-careers{
  position: relative;
  z-index: 3;
	padding-top: 33.333vw;
	height: 227.708vw;
	background-image: url(../../images/parts/bg_careers_sp.jpg);
	background-repeat:no-repeat;
  background-position: 50% 0;
	background-size:cover;
}

.l-careers .careers-main{
	text-align: center;
}

.l-careers .ttl-section-sub-careers{
	margin-top: 7.292vw;
	width: 67.083vw;
}

.l-careers .careers-main-txt{
	margin: 11.042vw auto 0 auto;
	width: 86.667vw;
	text-align: center;
	line-height: 200%;
	letter-spacing: 0.1vw;
	font-size: 2.91vw;
	font-weight: 500;
	color: #FFF;
}

.l-careers .careers-box{
	margin-top: 8.333vw;
}

.l-careers .careers-box-content{
	position: relative;
	display: flex;
  justify-content: space-between;
  overflow: hidden;
	padding-left: 5vw;
	margin: 0 auto 5.833vw auto;
	width: 90vw;
	height: 36.042vw;
	align-items: center;
	text-decoration: none;
	border-radius: 1.667vw;
}

.l-careers .careers-box-content::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #00ff6a 0.01%, #0ff 99.99%);
}

.l-careers .careers-box-content::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #fff;
	z-index: 1;
	opacity: 0;
}

.l-careers .careers-box-accent {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 1.667vw;
	background: #00ff6a;
	border-radius: 1.667vw 0 0 1.667vw;
	z-index: 2;
}

.l-careers .careers-box-content .careers-box-content-ttl{
	color: #fff;
}

.l-careers .careers-box-content-left{
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
  justify-content: space-between;
	margin-bottom: 1.042vw;
	width: 33.542vw;
	height: 11.042vw;
	text-align: left;
}

.l-careers .careers-box-content-ttl{
	line-height: 110%;
	letter-spacing: 0.208vw;
	font-family: "PlusJakartaSans";
	font-size: 2.917vw;
	font-style: normal;
	font-weight: 600;
	color: #00FF6A;
}

.l-careers .careers-box-content-main-txt{
	line-height: 100%;
	letter-spacing: 0.479vw;
	font-family: "ZenKakuGothicNew";
	font-size: 6.25vw;
	font-weight: 700;
	color: #081A00;
}

.l-careers .careers-box-content-center-txt{
	position: relative;
	z-index: 2;
	display: flex;
	margin: 0 0 0.625vw 1.042vw;
	letter-spacing: 0.px;
}

.l-careers .careers-box-content-sub-txt{
	flex-shrink: 0;
	margin: 1.667vw 0 0 7.5vw;
	font-size: 3.333vw;
	font-weight: 500;
	color: #081A00;
}

.l-careers .careers-btn{
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 27.083vw;
	width: 9.167vw;
	height: 9.167vw;
	border-radius: 2.083vw 0 1.667vw 0;
	background: #081A00;
}

.l-careers .careers-btn svg{
  width: 3.13vw;
  height: 3.13vw;
}

}

/* ==========================================================================
   Careers (PC / min-width: 1025px)
   ========================================================================== */

@media screen and (min-width: 1025px) {
  .l-careers{
    position: relative;
    z-index: 3;
    padding-top: 13.542vw;
    height: 76.389vw;
    background-color: #c0bdbd;
    background-image: url(../../images/parts/bg_careers.png);
    background-repeat:no-repeat;
    background-position: 50% 0;
    background-size:cover;
  }

  .l-careers .careers-ttl-section{
    padding: 0;
    margin: 0 0 0 0px;
    font-family: "PlusJakartaSans";
    font-size: 1.111vw;
    font-weight: 600;
    line-height: 148%;
    letter-spacing: 0.178vw;
    color: #fff;
  }

  .l-careers .careers-ttl-section::before{
    content: "";
    display: inline-block;
    margin-right: 0.576vw;
    width: 0.833vw;
    height: 0.833vw;
    transform: rotate(-45deg);
    border-radius: 0.139vw ;
    background-color: #00FF6A;
  }

  .l-careers .ttl-section-sub-careers{
    padding-top: 2.778vw;
    margin-left: auto;
    margin-right: auto;
    width: 49.306vw;
  }

  .l-careers .careers-main{
    text-align: center;
  }

  .l-careers .careers-main-txt{
    margin: 3.819vw 0 6.597vw 0;
    font-size: 1.111vw;
    color: #FFF;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: 0.153vw;
  }

  .l-careers .careers-box{
    display: flex;
    justify-content: space-between;
    width: 88.889vw;
    margin-left: auto;
    margin-right: auto;
  }

  .l-careers .careers-box-content{
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-left: 3.333vw;
    width: 43.056vw;
    height: 17.222vw;
    text-decoration: none;
    border-radius: 0.694vw;
    background: #FFF;
  }

  .l-careers .careers-box-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #00ff6a 0.01%, #0ff 99.99%);
  }

  .l-careers .careers-box-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.4s cubic-bezier(0.33, 1, 0.68, 1);
  }

  .l-careers .careers-box-content:hover::after { opacity: 0; }

  .l-careers .careers-box-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0.556vw;
    background: #00ff6a;
    border-radius: 0.694vw 0 0 0.694vw;
    z-index: 2;
  }

  .l-careers .careers-box-content .careers-box-content-ttl{
    color: #00FF6A;
  }

  .l-careers .careers-box-content:hover .careers-box-content-ttl{
    color: #fff;
  }

  .l-careers .careers-box-content:hover .careers-box-content-fin{
    color: #fff;
  }

  .l-careers .careers-box-content-left{
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-bottom: 0.694vw;
    text-align: left;
    height: 5.694vw;
    width: 12.361vw;
    flex-shrink: 0;
  }

  .l-careers .careers-box-content-ttl{
    margin:0 0 0 0px;
    color: #00FF6A;
    font-family: "PlusJakartaSans";
    font-size: 1.25vw;
    font-weight: 600;
    letter-spacing: 0.125vw;
  }

  .l-careers .careers-box-content-main-txt{
    color: #081A00;
    font-family: "ZenKakuGothicNew";
    font-size: 2.986vw;
    font-weight: 700;
    line-height: 100%;
  }

  .l-careers .careers-box-content-sub-txt{
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-left: 6.944vw;
    width: 16.181vw;
    color: #081A00;
    font-size: 1.25vw;
    font-weight: 500;
    letter-spacing: 0px;
  }

  .l-careers .careers-btn{
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12.847vw;
    margin-left: 0px;
    width: 4.444vw;
    height: 4.444vw;
    border-radius: 0.694vw 0;
    background: #081A00;
    transition: fill 0.3s ease;
  }

  .l-careers .careers-btn svg{
    flex-shrink: 0;
    width: 1.53vw;
    height: 1.53vw;
  }

  .l-careers .careers-box-content:hover .careers-btn svg{
    animation: flyInFromLeft 0.4s ease forwards;
  }
}
