<style>
/* --- Base --- */
body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

/* --- Banner（白背景） --- */
.banner {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.banner h1 {
    margin: 0;
    font-size: 28px;
}
.banner p {
    margin: 8px 0 0;
    font-size: 16px;
    color: #555;
}

/* --- Container --- */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Section --- */
.section {
    margin-bottom: 30px;
}
.section h2 {
    font-size: 22px;
    margin: 0 0 12px 0;
    font-weight: bold;
    background: #fff; /* 背景は白 */
    display: block;
    padding: 12px 20px;
    position: relative; /* ::before を絶対配置するため */
}

/* 左縦棒（高さ50%） */
.section h2::before {
    content: "";
    position: absolute;
    left: 0;            /* 左端に配置 */
    top: 25%;           /* 上から25%にスタート（高さ50%で中央に寄せる） */
    width: 4px;         /* 縦棒の太さ */
    height: 50%;        /* 高さ50% */
    background-color: #007bff; /* 縦棒の色 */
    border-radius: 2px; /* 好きに丸められる */
}

.top-visual {
  width: 100%;
  display: flex;
  justify-content: center; /* 中央寄せ */
  margin-bottom: 10px; /* 下のセクションとの余白 */
}

.top-image {
  width: 90%; /* 各項目と同じくらいの幅 */
  max-width: 900px; /* 最大幅制限 */
  border-radius: 12px; /* 角を少し丸く */
  object-fit: cover; /* 画像の切り抜きを自然に */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* 軽い影で浮かせる */
  margin-top: 30px; /* 下のセクションとの余白 */
}
.banner-content {
    display: inline-flex; /* 横並びで中央に配置 */
    align-items: center;  /* ロゴとテキストを縦中央に揃える */
}

.banner-logo {
    width: 150px;
    height: auto;
    margin-right: 20px;
}

.banner-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左端を揃える */
}

.banner-text h1 {
    margin: 0;
    font-size: 28px;
}

.banner-text p {
    margin: 8px 0 0;
    font-size: 16px;
    color: #555;
}


.job-list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.job-info {
  flex: 1;
}

.job-title {
  margin: 0 0 10px;
  font-size: 20px;
  color: #007bff; /* タイトル色 */
}

a {
 text-decoration: none;
}

.job-item {
  display: flex;
  gap: 20px; /* 画像と情報の間隔 */
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.job-image img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.job-description {
  margin: 0 0 10px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.job-tags {
  margin-bottom: 10px;
}

.job-tags span {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 6px;
  font-size: 12px;
  color: #007bff;
  border: 1px solid #007bff;
  border-radius: 4px;
}

.job-location {
  font-size: 12px;
  color: #888;
}


/* スマホ対応 */
@media (max-width: 768px) {
  .job-item {
    flex-direction: column;
    align-items: center;
  }
  .job-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 10px;
  }
  .job-info {
    text-align: center;
  }
  .job-tags span {
    margin-bottom: 5px;
  }
}



/* スマホ対応 */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        align-items: center; /* 縦並びは中央寄せ */
        text-align: center;
    }
    .banner-logo {
        margin-right: 0;
        margin-bottom: 15px;
        width: 60px;
    }
    .banner-text {
        align-items: center; /* スマホは中央揃え */
    }
}

.job-title a {
  text-decoration: none;
  color: inherit;
}

/* --- List --- */
.section ul {
    padding-left: 20px;
    margin: 0;
}
.section li {
    margin-bottom: 6px;
}

/* --- Table（PC用） --- */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}
.table th, .table td {
    padding: 12px 8px;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}
.table th {
    background: #f5f5f5;
    width: 150px;
    color: #555;
}

/* --- Apply Button --- */
.apply-area {
    text-align: center;
    margin-bottom: 60px;
}
.apply-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #007bff;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}
.apply-btn:hover {
    opacity: 0.85;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .banner h1 {
        font-size: 22px;
    }
    .banner p {
        font-size: 14px;
    }
    .section h2 {
        font-size: 18px;
        padding: 10px 12px;
    }

    /* スマホ縦カード形式に変更 */
    .table, .table tbody, .table tr, .table th, .table td {
        display: block;
        width: 100%;
    }
    .table tr {
        margin-bottom: 12px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 8px;
    }
    .table th {
        background: #e7f1ff;
        font-weight: bold;
        padding: 8px 12px;
    }
    .table td {
        padding: 6px 12px;
        border: none;
    }
}


@media (max-width: 768px) {
  .job-section {
    flex-direction: column;
  }
  .accent-line {
    margin-bottom: 10px;
    height: 4px;
    width: 30px;
  }
}
</style>
