


.kaso-top{
  background-color: #F3F6FB;
}
.kaso-top-g2{
  transform: translateX(-50%);
  position: absolute;
  width:726px;
  z-index: 500;
  left:50%;
  top:143px;
      margin-left: 154px;
}

.kaso-top-g{
  transform: translateX(-50%);
  position: absolute;
  width:1254px;
  left:50%;
  top:-143px;
}
.kaso-rec-t{

  font-weight: bold;
  margin: 100px auto 70px;
  width: fit-content;
  font-size: 3.4rem;
  text-align: center;
  border-bottom: 1px solid black;
}

.kaso-rec-t2{
  margin-bottom: 2em;
font-size: 1.8rem;
text-align: center;

}

.job-info {
  max-width: 900px;
  margin: 0 auto;
line-height: 2em;
  color: #1a1a1a;
  border: 3px solid var(--brand-blue);

  padding: 50px;
  box-sizing: border-box;
}

.job-section {
  
  display: flex;
  gap: 16px;

  align-items: flex-start;
}
.job-content2 {
  display: block;      /* 縦並びにする */
  padding-left: 1em;   /* ぶら下げインデント */
  text-indent: -1em;   /* 先頭の文字を左に戻す */
  margin-bottom: 8px;  /* 項目間の余白 */

}

/* 左カラム */
.job-label {
  margin-left: 16px;
  color: var(--brand-blue);
    font-size: 16px;
  flex: 0 0 120px;
  font-weight: bold;
  text-align: left;
}

/* 右カラム */
.job-content {
    font-size: 16px;
  flex: 1;
  text-align: left;
}

/* セクション間の境界線（1px黒線） */
.job-section + .job-section {
  border-top: 1px solid #808080;
  margin-top: 16px;   /* 線と線の間に余白 */
  padding-top: 16px;  /* 線の上側に余白 */
  padding-bottom: 0px;
}


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

.kaso-top-g2 {
    width: 264px;
    top: 169px;
    margin-left: 24px;
}
.kaso-top-g {
    width: 716px;
    left: 12%;
    top: -46px;
}
.kaso-rec-t {
    margin: 50px auto 30px;
    font-size: 2rem;
  }
  .kaso-rec-t2 {
    font-size: 1.3rem;
    margin: 2em 20px;
}
.job-info {
  width: calc(100% - 40px); /* 左右20pxずつの余白を確保 */
    padding: 20px;
  }
  .job-section {
    flex-direction: column;
    gap:0;
  }
  .job-label {
    margin-left:0px;
    font-size: 13px;
  flex: initial;
  }
  .job-content {
            line-height: 1.7em;
    font-size: 13px;
}
}
