:root{
  --main-color: #020305;
}

.sp-only{
  display: none;
}

.pc-only{
  display: initial;
}

.slides{
  background: #fff;
}

.h-100{
  height: 100%;
}

.cover{
  object-fit: cover;
}

.main-color{
  background: var(--main-color);
}

.page-title{
  font-size: 64px;
  letter-spacing: 0.1em;
}

/* ヘッダー */
.header-logo{
  font-size: 30px;
}
/* ヘッダー */

/* フッター */
footer{
  padding: 0 calc(8% + 15px);
  background: var(--main-color);
}
footer li{
  font-size: 16px;
}
/* フッター */


/*----- トップページ -----*/
.logo{
  font-size: 80px;
}

.thumbnail{
  line-height: 0;
  overflow: hidden;
}

.h-80, .h-80 .container{
  height: 80vh !important;
}
/*----- トップページ -----*/

/*----- 会社概要 -----*/
.history,.factory{
  margin: 0 auto;
  font-size: 16px;
}
.history tr, .factory tr{
  border-bottom: 1px solid rgba(0, 0, 0, .2);
}
.history .tdr, .factory .tdr{
  padding: 16px 0;
}
.history .tdl, .factory .tdl{
  min-width: 150px;
}
.map{
  min-height: 300px;
}

.prof-flex {
  display: flex;
  justify-content: space-between;
  gap: 3%;

}

@media screen and (max-width: 480px) {
  .prof-flex{
    display: block;
  }
}


.prof-img {
  width: 90%;
  /* aspect-ratio: 3 / 2; */
  object-fit: cover;
  margin: 0 auto;
}

@media screen and (max-width: 480px){
  .prof-img {
    width: 100%;
  }
}

.sign-img {
  width: 40%;
  margin-left: auto;
}

@media screen and (max-width: 480px){
  .sign-img {
    width: 50%;
  }
}


/*----- 会社概要 -----*/


/*----- 支援実績 -----*/

.case-wrap {
  padding: 64px calc(8% + 15px);
}
.case-study {
  width: 80%;
  margin: 0 auto;
  padding-bottom: 64px;
  padding-top: 64px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  border-bottom: 0.5px solid #c4c4c4;
}

.case-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.case-number {
  margin-right: 1.6rem;
}

.case-num {
  font-size: 64px;
  font-weight: bold;
}

.case-ttl {
  text-align: left;
}

.case-company-name {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 0;
}

.case-category {
  font-size: 15px;
  color: gray;
  margin-bottom: 0;
}

.case-content {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: stretch;
}

.case-main-image {
  flex: 2;
  display: flex;
}

.case-main-image img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.case-side-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-side-images img {
  width: 100%;
  border-radius: 5px;
  /* box-shadow: 0 0 8px rgb(212, 212, 212); */
}

.case-description {
  padding-top: 20px;
  padding-bottom: 20px;
}

.case-description h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
  padding-bottom: 0.4em;
  line-height: 1.6;
}

.case-highlight {
  font-weight: bold;
  font-size: 18px;
  padding: 0.2em 0 0.2em 1em;
  margin-bottom: 16px;
  text-align: left;
  border-left: 4px solid #000;
  line-height: 1.6;
}

.case-dummy-text {
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}


@media screen and (max-width: 480px) {
  .case-study {
    width: 100%;
    margin: 20px auto;
  }

  .case-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-num {
    font-size: 48px; /* 数字を小さめに */
  }

  .case-company-name {
    font-size: 20px; /* 会社名を少し縮小 */
    margin-bottom: 4px;
  }

  .case-category {
    font-size: 14px;
  }

  /* 画像レイアウト変更（縦並び） */
  .case-content {
    flex-direction: column;
    gap: 10px; /* 隙間を小さくする */
  }

  .case-main-image {
    width: 100%;
    height: auto; /* 高さは自動 */
  }

  .case-main-image img {
    width: 100%;
    height: auto;
    object-fit: contain; /* 画像が切れないように */
  }

  .case-side-images {
    width: 100%;
    flex-direction: row; /* 横並び */
    justify-content: space-between;
  }

  .case-side-images img {
    width: 48%; /* 2枚を均等に並べる */
    height: auto;
  }

  .case-description {
    padding: 0;
  }

  .case-description h3 {
    font-size: 20px;
  }

  .case-highlight {
    font-size: 16px;
  }

  .case-dummy-text {
    font-size: 15px;
  }
}

/*----- 支援実績 -----*/


/*----- 採用情報 -----*/
.recruit-infos .recruit{
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}
.arrow{
  line-height: 0;
}
.arrow svg{
  width: 16px;
  height: 20px;
}


/* ↓会社説明資料↓*/
.recruit-if {
  width: 100%;
  aspect-ratio: 16 / 9;
}

@media screen and (max-width: 480px){
  .recruit-if {
    aspect-ratio: 4 / 3;
  }
}


.case-study {
  opacity: 0; /* 初期状態では非表示 */
  transform: translateY(30px); /* 下からふわっと */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* スクロールで表示時にこのクラスを付与 */
.case-study.show {
  opacity: 1;
  transform: translateY(0);
}


/*----- 採用情報 -----*/


/*----- 求人ページ -----*/
h1.xs{
  font-size: 30px;
}
.job-table{
  font-size: 16px;
  line-height: 3rem;
}
.job-tdl{
  padding:16px;
  line-height: 1.6rem;
  min-width: 120px;
}
.job-tdr{
  padding:16px 0 16px 32px;
  line-height: 1.6rem;
}
.job-table tr:nth-child(2n+1) .job-tdl{
  background: rgba(255,255,255,.2);
}
.job-table tr:nth-child(2n+1) .job-tdr{
  border: 1px solid rgba(255,255,255,.2);
}
/*----- 求人ページ -----*/

/* 応募フォーム */

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

form{
  padding: 0 8px;
}

form .gender{
  display: flex;
}

form .gender label{
  padding: 10px 16px;
  margin: 5px 16px 5px 0;
  border: 1px solid rgba(0,0,0,.2);
  transition: .4s;
}
form .gender input:checked + label{
  color: #fff;
  background: var(--main-color);
  font-weight: bold;
  transition: .4s;
}
form .job{
  max-width: initial;
}

form .attention{
  font-size: 12px;
}
form .date{
  justify-content: space-between;
}

form .date input{
  max-width: 55% !important;
}
form .date select{
  max-width: 40% !important;
}
/* 応募フォーム */


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

  .sp-only{
    display: initial;
  }
  
  .pc-only{
    display: none;
  }

  .container .wrap .spaceWrap, .container .wrap.spaceWrap, .container .wrap:not(.noSpaces){
    padding: 120px calc(1% + 15px);
  }
  .page-title{
    font-size: 40px;
  }
  .pad{
    padding: 0;
  }
  .map{
    min-height: 200px;
  }
  .history .tdl,
  .factory .tdl{
    min-width: 100px;
  }

  section.h-80, section.h-80 .container{
    height: 60vh !important;
  }
  section.h-80 .background{
    min-height: 60vh !important;
  }
  section.h-80 .container .wrap{
    padding: 50px calc(1% + 15px);
  }
}



.t-a-l {
  text-align: left;
}



