@charset "utf-8";

.recruit_header {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.recruit_header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.job_offer {
  margin: 0 auto;
}

.job_offer h1 {
  color: #000;
  font-size: 2.2em;
  text-align: center;
  font-weight: 600;
  padding: 100px 0 45px;
  letter-spacing: 0.2rem;
  line-height: 1.5;
  font-family: "游明朝体", "Yu Mincho", "YuMincho", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  position: relative;
  margin-bottom: 30px;
}

.job_offer_text {
  max-width: 1000px;
  width: 100%;
  padding: 40px 20px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

/* 数字を左側に配置 */
.job_offer_text .number-01 {
  flex: 0 0 auto;
  position: relative;
  font-family: "游明朝体", "Yu Mincho", "YuMincho", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 64px;
  color: #333;
  font-weight: 400;
  line-height: 1.5;
  display: block;
  box-sizing: border-box;
  text-align: center; 
  margin: 0;
  width: fit-content;
  order: 1;
}


.number-01::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -24px;
  width: 40px;
  height: 80px;
  border-left: 1px solid #333;
  rotate: 45deg;
  background-color: #fff;
}

/* テキストコンテンツを中央に配置 */
.job_offer_content {
  flex: 1;
  display: flex;
  flex-direction: column;
  order: 2;
  padding-left: 30px;
}

/* 画像を右側に配置 */
.job_offer_text .job_offer_img {
  flex: 0 0 120px;
  width: 120px;
  display: block;
  margin: 0;
  order: 3;
}

.job_offer_content h2 {
  color: #047649;
  text-align: left;
  font-weight: 600;
  font-size: 1.8rem;
  font-family: "游明朝体", "Yu Mincho", "YuMincho", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  padding: 0;
  margin: 0 0 15px 0;
}

.job_offer_content p {
  font-size: 1rem;
  letter-spacing: 0.05rem;
  line-height: 1.5;
  color: #515151;
  margin: 0;
}

.job_offer_content h3 {
  color: #047649;
  font-weight: 700;
  padding: 7px 0;
  font-size: 1.1rem;
}

.dormy_img {
  width: 400px;
  padding: 30px 0;
}

.dormy_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.careerstep_img img  {
  width: 100%;
  padding: 30px;
}

.job_offer_content ul {
  list-style-type: square;
  padding-left: 15px;
}

.job_offer_content li {
  padding: 5px 0 ;
}

.certification-images {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  align-items: center;
}

.certification-images img {
  max-width: 150px;
  width: 100%;
  height: auto;
}

/* 採用情報 */

.bg_wrap {
  position: relative;
  height: 350px;
  margin-top: 100px;

  /* 上：白 / 下：緑 */
  background: linear-gradient(
    to bottom,
    #fff 0%,
    #fff 50%,
    #047649 50%,
    #047649 100%
  );

  /* ここが肝 */
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center;     /* 縦中央＝色の境目 */
}

.bg_wrap img {
  width: 800px;
  max-width: 100%;
  height: auto;
}

.recruit_hedding {
  padding: 0 0 60px;
  background: #047649;
}

.recruit h1 {
  color: #fff;
  font-size: 2.2em;
  text-align: center;
  font-weight: 600;
  padding: 40px 0 45px;
  letter-spacing: 0.2rem;
  line-height: 1.5;
  font-family: "游明朝体", "Yu Mincho", "YuMincho", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  position: relative;
}

.recruit h1::before {
  content: "Recruit";
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-style: italic;
  font-size: 1rem;
  color: #fff;
  white-space: nowrap;
}

.recruit {
  margin: 0 auto;
  padding: 0 0 80px;
}

.recruit_content {
  width: 800px;
  margin: 50px auto;
}

.recruit h2 {
  color: #047649;
  text-align: left;
  font-weight: 600;
  font-size: 1.8rem;
  font-family: "游明朝体", "Yu Mincho", "YuMincho", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  padding: 0;
  margin: 0 0 15px 0;
  text-align: center;
}

.recruit_content p {
  font-size: 1rem;
  letter-spacing: 0.05rem;
  line-height: 1.5;
  color: #515151;
  margin: 0;
}

.recruit_content img {
  width: 100%;
  max-width: 800px;
  padding: 30px 0;
}

.statistics_content {
  margin-top: 100px;
  width: 100%;
  width: 800px;
  margin: 0 auto;
}

.statistics_content li {
  padding: 10px;
}



/* 統計カードグリッド */
.statistics_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 50px 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.statistics_card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.statistics_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.statistics_card h3 {
  color: #047649;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: "游明朝体", "Yu Mincho", "YuMincho", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  letter-spacing: 0.05rem;
}

.statistics_card img {
  width: 60px !important;
  height: 60px !important;
  margin-bottom: 15px;
  object-fit: contain;
  display: block !important;
  max-width: 100%;
  min-width: 60px;
  min-height: 60px;
  visibility: visible !important;
  opacity: 1 !important;
}



.statistics_card p {
  font-size: 1.5rem;
  line-height: 1.5;
  color: #047649;
  margin: 0;
  font-weight: 700;
}

.statistics_card span {
  font-size: 0.98rem;
  line-height: 1.2;
  color: #515151;
  font-weight: 400;
}

/* エントリーテーブル */
.entry_content {
  width: 100%;
  max-width: 800px;
  margin: 50px auto;
}

.entry_content h3 {
  color: #047649;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-top: 40px;
}

.entry_table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
}

.entry_table th {
  background-color: #f5f5f5;
  color: #047649;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 20px;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #ddd;
  width: 20%;
}

.entry_table td {
  padding: 15px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #515151;
  border: 1px solid #ddd;
  vertical-align: middle;
}

.entry_table tr:last-child td {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.entry_table tr:nth-child(even) {
  background-color: #fafafa;
}

.entry_table tr:hover {
  background-color: #f0f0f0;
}

.entry_note {
  border: 1px solid #047649;
  border-radius: 5px;
  padding: 20px;
  margin: 30px 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #515151;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.entry_note span {
  color: #047649;
  font-weight: 600;
}

.recruit_a img {
  width: 300px;
}



/* タブレット対応（768px以下） */
@media screen and (max-width: 768px) {
  /* recruit_header */
  .recruit_header {
    height: 400px;
  }

  /* job_offer */
  .job_offer h1 {
    font-size: 1.8em;
    padding: 60px 20px 30px;
  }

  .job_offer_text {
    padding: 30px 15px;
    gap: 20px;
  }

  .job_offer_text .number-01 {
    font-size: 56px;
  }

  .job_offer_content {
    padding-left: 20px;
  }

  .job_offer_content h2 {
    font-size: 1.5rem;
  }

  .job_offer_content p {
    font-size: 0.95rem;
  }

  /* bg_wrap */
  .bg_wrap {
    height: 280px;
    margin-top: 60px;
  }

  .bg_wrap img {
    width: 600px;
  }

  /* recruit */
  .recruit h1 {
    font-size: 1.8em;
    padding: 30px 20px 35px;
  }

  .recruit_content {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    margin: 30px auto;
  }

  .recruit h2 {
    font-size: 1.5rem;
  }

  .recruit_content p {
    font-size: 0.95rem;
  }

  .recruit_content img {
    padding: 20px 0;
  }

  /* statistics_content */
  .statistics_content {
    width: 100%;
    padding: 0 20px;
    margin-top: 60px;
  }

  /* entry_content */
  .entry_content {
    padding: 0 20px;
  }

  /* entry_table */
  .entry_table {
    display: block;
    width: 100%;
  }

  .entry_table thead,
  .entry_table tbody,
  .entry_table tr,
  .entry_table th,
  .entry_table td {
    display: block;
    width: 100%;
  }

  .entry_table tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
  }

  .entry_table th {
    background-color: #047649;
    color: #fff;
    padding: 12px 15px;
    width: 100%;
    border: none;
    border-bottom: 2px solid #fff;
    font-size: 0.9rem;
  }

  .entry_table td {
    padding: 12px 15px;
    border: none;
    width: 100%;
    font-size: 0.9rem;
  }

  .entry_table tr:nth-child(even) {
    background-color: #fff;
  }

  .entry_table tr:hover {
    background-color: #f5f5f5;
  }

  .entry_table td a {
    display: block;
    margin: 10px 0 0 0;
    text-align: center;
  }

  .entry_table td img {
    max-width: 100%;
    width: 195px;
    height: auto;
  }

  /* statistics_grid */
  .statistics_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 15px;
  }

  .statistics_card {
    padding: 25px 15px;
  }

  .statistics_card h3 {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .statistics_card img {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    display: block;
    max-width: 100%;
    object-fit: contain;
  }

  .statistics_card p {
    font-size: 0.9rem;
  }
}

/* スマホ対応（480px以下） */
@media screen and (max-width: 480px) {
  .statistics_grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }

  .statistics_card {
    padding: 20px 15px;
  }

  .statistics_card h3 {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .statistics_card img {
    width: 45px;
    height: 45px;
    margin-bottom: 10px;
    display: block;
    max-width: 100%;
    object-fit: contain;
  }

  .statistics_card p {
    font-size: 0.85rem;
  }

  /* job_offer_text スマホ対応 */
  .job_offer_text {
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
    gap: 20px;
  }

  .job_offer_text .number-01 {
    order: 1;
    font-size: 48px;
    margin-bottom: 0;
  }

  .number-01::after {
    display: none;
  }

  .job_offer_text .job_offer_img {
    order: 2;
    width: 100%;
    max-width: 100px;
    margin: 0 auto;
  }

  .job_offer_text .job_offer_img img {
    width: 100%;
    height: auto;
    max-width: 100px;
  }

  .job_offer_content {
    order: 3;
    padding-left: 0;
    width: 100%;
  }

  .job_offer_content h2 {
    order: 3;
    text-align: center;
    margin-bottom: 15px;
  }

  .job_offer_content p {
    order: 4;
  }

  .job_offer_content h3 {
    order: 4;
  }

  .certification-images {
    flex-direction: column;
    gap: 15px;
    margin: 15px 0;
  }

  .certification-images img {
    max-width: 100%;
  }

  .job_offer_content ul {
    order: 4;
  }

  /* recruit_header スマホ対応 */
  .recruit_header {
    height: 300px;
  }

  /* job_offer スマホ対応 */
  .job_offer h1 {
    font-size: 1.5em;
    padding: 40px 15px 25px;
    line-height: 1.4;
  }

  /* bg_wrap スマホ対応 */
  .bg_wrap {
    height: 200px;
    margin-top: 40px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .bg_wrap img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* recruit スマホ対応 */
  .recruit h1 {
    font-size: 1.5em;
    padding: 25px 15px 30px;
  }

  .recruit h1::before {
    font-size: 0.85rem;
    bottom: 15px;
  }

  .recruit_content {
    padding: 0 15px;
    margin: 25px auto;
  }

  .recruit h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .recruit_content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .recruit_content img {
    padding: 15px 0;
  }

  /* statistics_content スマホ対応 */
  .statistics_content {
    padding: 0 15px;
    margin-top: 40px;
  }

  .statistics_content h2 {
    font-size: 1.3rem;
  }

  /* entry_content スマホ対応 */
  .entry_content {
    padding: 0 15px;
  }

  .entry_content h2 {
    font-size: 1.3rem;
  }

  .entry_content h3 {
    font-size: 1.1rem;
    margin-top: 30px;
  }

  .entry_note {
    padding: 15px;
    margin: 20px 0;
    font-size: 0.9rem;
  }
}