@charset "utf-8";

body{
	background-color: #272727;
	overflow-x: hidden;
}

/*---- ファーストビュー ----*/

/*タイトルの文字*/

.title {
  padding: 50px 0;
}

.title-inner {
  max-width: 800px;
  padding: 0 100px;
  
}
.title h2 {
  font-family: 'Anton', sans-serif;
  font-size: 40px;
  color: #FFFFFF;
  letter-spacing: 1.92px;
  line-height: 1.2;
	
  position: absolute;
  z-index: 2;
}
.title h2 span {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 1px;
  margin-top: 8px;
}

.explanation{
	font-size: 25px;
	font-weight: lighter;
}



/*タイトルレスポンシブ*/

@media screen and (max-width: 768px) {
	
.title {
  padding: 30px 0 5px 0;
}
	
.title-inner {
  max-width: 600px;
  padding: 0 50px;
  
}
	
.title h2 {
   font-size: 24px;
   letter-spacing: 1.5px;
   line-height: 1.3;
   margin-bottom: 24px;
 }
.title h2 span {
   font-size: 12px;
   letter-spacing: 0px;
   margin-top: 4px;
 }
	
.title p{
	font-size:18px;
	}
}


@media screen and (max-width: 480px) {
	
.title-inner {
  max-width: 500px;
  padding: 0 20px;
  
}
	
.title h2 {
   font-size: 24px;
   letter-spacing: 1.5px;
   line-height: 1.3;
   margin-bottom: 24px;
 }
.title h2 span {
   font-size: 12px;
   letter-spacing: 0px;
   margin-top: 4px;
 }
	
.title p{
		font-size:14px;
	}
}




/*---- back-pattern ----*/

.fv-wrap {
  position: relative;
  width: 100%;
  /*height: 1000px;/* fv全体の高さに合わせる */
  /*overflow: hidden;*/
}


/*---- back-pattern ----*/

.pattern {
  width: 100vw;;
  height: 255px;
  background: #2f3d4f; /* 濃紺 */
  clip-path: polygon(
    0 0,       /* 左上の角 */
    25% 0,     /* 上辺の70%地点 */
    30% 30%,   /* 右上に少し下がった所（斜め部分の角） */
    100% 30%,  /* 右端で少し下の所 */
    100% 80%,  /* 右下の角 */
    0 80%      /* 左下の角 */
  );
  transform: scaleX(-1); /* 反転 */
  position: relative;
  display: block; /* inline-block だと余白が出やすい */
  margin: 100px 0 0 0;      /* 余白リセット */
  padding: 0;
}

.fv-img{
  margin: -60px 0 0 0;      /* 余白リセット */
  padding: 0;
}

.fadein {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 小さい画面向けに微調整 */
@media (max-width: 768px) {
  .pattern {
    height: 200px;
    clip-path: polygon(
      0 0,
      35% 0,
      40% 25%,
      100% 25%,
      100% 75%,
      0 75%
    );
  }
　.fv-wrap {
    height: 100px; /* fv全体の高さに合わせる */
}
  .fv-img{
	height: 300px;
	}
}


@media (max-width: 480px) {
	
  .fv-img{
    margin: -100px 0 0 0;      /* 余白リセット */
	height: 200px;
}
	
  .pattern {
    clip-path: polygon(
      0 0,
      40% 0,
      45% 20%,
      100% 20%,
      100% 50%,
      0 50%
    );
  }
}

/*---- photp ----*/

img {
  width: 100vw;
  height: 400px;
  object-fit: cover;
  display: block;   /* 画像下の隙間を消す */
  margin: 0; 
}



/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', sans-serif;
    background-color: #272727;
    min-height: 100vh;
}

/* Main container */
.main-container {
    background-color: #272727;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 200px;
    padding-bottom: 200px;
}

/* Card styles */
.card {
    background-color: #272727;
    border: 2px solid white;
    width: 1367px;
    height: 1391px;
    position: relative;
}


.fadein-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fadein-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.card-content {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Job details section */
.job-details {
    flex: 1;
}

.job-item {
    position: relative;
}

.job-row {
    display: flex;
    align-items: flex-start;
    padding: 32px 96px;
}

.job-label {
    width: 102px;
    flex-shrink: 0;
}

.job-label h3 {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 1.2px;
    color: white;
    line-height: 42px;
}

.job-content {
    flex: 1;
    margin-left: 121px;
}

.job-content p {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.8px;
    color: white;
    line-height: 42px;
    white-space: pre-line;
}

/* Separator */
.separator {
    background-color: white;
    height: 1px;
    margin: 0 96px;
}

.job-item:last-child .separator {
    display: none;
}

/* Footer section */
.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 120px 0 50px 0;
}

.position-title-jp {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: 1.2px;
    color: white;
    line-height: 42px;
}

.position-title-en {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 30px;
    letter-spacing: 2.4px;
    color: white;
    line-height: 63px;
}

/* Responsive design */
@media (max-width: 1400px) {
    .main-container {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .card {
        width: 90%;
        max-width: 1367px;
        height: auto;
        min-height: 800px;
    }
	
	.card-content{
		margin-bottom: 25px;
	}
    
    .job-row {
        padding: 24px 48px;
        align-items: flex-start;
    }
    
    .job-content {
        margin-left: 0;
    }
    
    .separator {
        margin: 0 48px;
    }
	
	
	.job-content p{   padding: 0 50px;
	}
}

@media (max-width: 768px) {
    .main-container {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .card {
        width: 95%;
        height: auto;
    }

    .job-row {
        flex-direction: row;
        align-items: flex-start;
        padding: 16px 20px 22px 20px;
		display: inline-flex;
    }

    .job-label {
        width: auto;   /* ←これでラベル幅が自動になる */
        min-width: 80px; /* ←必要なら見出し分の最小幅を確保 */
    }

    .job-label h3 {
        font-size: 16px;
        line-height: 28px;
		padding-top: 10px;
    }

    .job-content {
        margin-left: 0;
        margin-top: 8px;
    }

    .job-content p {
        font-size: 14px;
        line-height: 28px;
	    padding: 0 20px;
    }

    .separator {
        margin: 0 20px;
    }

    .footer-section {
        padding-bottom: 40px;
		margin-bottom: none; /* モバイルでは削除 */
		padding: 50px 0 50px 0;
    }

    .position-title-jp {
        font-size: 16px;
        margin-bottom: 0px;
		letter-spacing: 0.08em;
    }

    .position-title-en {
        font-size: 20px;
        line-height: 42px;
		letter-spacing: 0.03em;
    }
}
