@charset "UTF-8";

/* ==================================
  全体基本スタイル
================================== */
.company-container {
  width: 100%;
}

/* ----------------------------------
  共通幅設定（.inner）
---------------------------------- */
.inner {
  width: 100%;
  max-width: 1400px; 
  padding-left: 260px;  
  padding-right: 260px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 1920px) {
  .inner {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

@media (max-width: 768px) {
  .inner {
    padding-left: 20px; 
    padding-right: 20px;
  }
}

/* ==================================
  メインビジュアル
================================== */
.company-hero {
  position: relative;
  width: 100%;
}

.company-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-text-box {
  position: absolute;
  top: 50%;
  left: calc((100% - 1400px) / 2 + 260px);
  transform: translateY(-50%);
  color: #FFFFFF;
}

@media (max-width: 1920px) {
  .hero-text-box {
    left: calc((100% - 1400px) / 2 + 5vw);
  }
}

@media (max-width: 1400px) {
  .hero-text-box {
    left: 5vw;
  }
}

@media (max-width: 768px) {
  .hero-text-box {
    left: 20px;
  }
}

.hero-title {
  font-size: 40px;
  font-weight: bold;
  margin: 0 0 20px 0;
  line-height: 1;
  letter-spacing: 6px;
}

.hero-sub {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
  line-height: 1;
  letter-spacing: 2px;
}


/* ==================================
  リード文・画像パーツ
================================== */

.company-lead {
  margin-top: 198px;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-ideograph;
}

/* 中央画像（画像2） */
.company-mid-img {
  margin: 100px 0 150px;
  text-align: center;
}

.company-mid-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================================
  共通見出しスタイル
================================== */
.section-heading {
  display: flex;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  border-left: 5px solid #09830A; 
  padding-left: 15px;
  margin-bottom: 100px;
  line-height: 1;
}

/* 右側の横線 */
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #B9B9B9;
  margin-left: 20px;
}


/* ==================================
  募集要項（テーブル）
================================== */
.recruit__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto 100px;
}

.recruit__table th,
.recruit__table td {
  border: 1px solid #ffffff;
  padding: 32px 20px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.6;
}

/* 特定の行だけ上揃え */
.recruit__table tr:nth-child(2) th,
.recruit__table tr:nth-child(6) th,
.recruit__table tr:nth-child(7) th,
.recruit__table tr:nth-child(8) th,
.recruit__table tr:nth-child(9) th {
  vertical-align: top;
}

.recruit__label {
  background-color: #E9E9E9;
  font-weight: bold;
  width: 22%;
  white-space: nowrap;
}

.recruit__value {
  background-color: #F6F6F6;
  width: 70%;
}

.recruit__office + .recruit__office {
  margin-top: 24px;
}

.recruit__office-title {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 500;
}

.recruit__address {
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.recruit__value a.recruit__map-link,
.recruit__value a.recruit__map-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #D71618;
  text-decoration: none;
  padding: 2px 5px;
  background-color: transparent;
  transition: all 0.25s ease;
}

.recruit__value a.recruit__map-link:hover {
  background-color: rgba(215, 22, 24, 0.7);
  color: #ffffff !important;
  text-decoration: none;
}

.recruit__value a.recruit__map-link:hover .fa-location-dot {
  color: #ffffff !important;
}

.recruit__officers-grid {
  display: grid;
  grid-template-columns: 112px 1fr;
  row-gap: 4px;
  align-items: center;
}


.recruit-list {
  list-style: none; 
  padding-left: 0;
}

.recruit-list li {
  position: relative;
  padding-left: 1.2em;
}


.recruit-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.recruit-subgroup {
  margin-bottom: 1.5em;
}

.recruit-subgroup:last-child {
  margin-bottom: 0;
}

.recruit-subgroup__title {
  font-weight: 500;
  margin-bottom: 0.4em;
}

.recruit__company-link {
  text-decoration: underline;
  transition: color 0.3s ease;
}

.recruit__company-link:hover {
  color: #09830A;
}


/* ==================================
  ご応募・お問い合わせバナー
================================== */
.recruit__entry {
  margin: 0 auto 200px;
  text-align: center;
}

.recruit__entry-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 650px;
  height: 90px;
  margin: 0 auto;
  background-color: #09830A; 
  color: #ffffff;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.recruit__entry-btn:link,
.recruit__entry-btn:visited,
.recruit__entry-btn:active {
  color: #ffffff;
}

.recruit__entry-btn:hover {
  opacity: 0.8;
  color: #ffffff;
}

/* ==================================
  レスポンシブ
================================== */
@media (max-width: 1200px) {
  .hero-text-box {
    left: 5vw;
  }
}
@media (max-width: 900px) {
.hero-title {
        font-size: 28px;
        margin: 0 0 10px 0;
        letter-spacing: 2px;
  }

.hero-sub {
    letter-spacing: 0;
  }

.content-body {
    margin-top: 60px;
}

.section-heading {
    font-size: 28px;
    margin-bottom: 50px;
}
  .company-mid-img {
    margin: 50px 0 64px;
}

}


@media (max-width: 768px) {
  .inner {
    width: calc(100% - 40px);
    padding-left: 20px;
    padding-right: 20px;
  }

  .company-lead {
    margin-top: 60px;
  }

  .greeting-flex {
    flex-direction: column-reverse;
  }

  .greeting-img {
    width: 100%;
  }

  .recruit__table,
  .recruit__table tbody,
  .recruit__table tr,
  .recruit__table th,
  .recruit__table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .recruit__label {
    width: 100%;
    white-space: normal;
  }

  .recruit__value {
    width: 100%;
  }

    .recruit__entry {
    margin-bottom: 80px;
  }
  .recruit__entry-btn {
    height: 70px;
    font-size: 20px;
    padding: 0 8px;
  }
.recruit__table {
    margin: 0 auto 50px;
}
.recruit__table th, .recruit__table td {
    padding: 16px 18px;
}
.recruit__label {
    font-size: 18px;
}
}
