﻿.hk-careers {
  max-width: 80rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}
.hk-sec-title {
  margin: 0 0 2.5rem;
  color: #7fa3a3;
}
.hk-sec-title__en {
  display: block;
  font-family: "Dela Gothic One", sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  letter-spacing: .06em;
}
.hk-sec-title__ja {
  display: block;
  margin-top: .75rem;
  font-size: 1.5rem;
  line-height: 1.3;
}
.hk-careers__wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.hk-careers__copy {
  color: #6b8f8f;
}
.hk-careers__lead {
  margin: 0 0 2rem;
  font-size: 2rem;
  line-height: 1.6;
  color: #7fa3a3;
  font-weight: 700;
}
.hk-careers__block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  margin-top: 1.75rem;
}
.hk-careers__no {
  font-family: "Dela Gothic One", sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  color: #7fa3a3;
}
.hk-careers__title {
  margin: .25rem 0 .75rem;
  font-size: 1.625rem;
  line-height: 1.3;
  color: #7fa3a3;
}
.hk-careers__desc p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.9;
  color: #6b8f8f;
}
.hk-careers__figure {
  margin: 0;
}
.hk-careers__figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: .25rem;
}
.hk-careers-spec {
  width: 70%;
  margin: 3rem auto 4rem;
}
.hk-careers-spec__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 0.125rem solid #7fa3a3;
}
.hk-careers-spec__table th, .hk-careers-spec__table td {
  border: 0.125rem solid #7fa3a3;
  padding: 1.25rem 1rem;
  vertical-align: top;
  line-height: 1.9;
  font-size: 1rem;
}
.hk-careers-spec__table th {
  width: 28%;
  color: #7fa3a3;
  font-weight: 700;
  text-align: left;
}
.hk-careers-spec__table td {
  color: #6b8f8f;
}
.hk-apply {
  width: 70%;
  margin: 3rem auto 5rem;
}
.hk-apply__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  text-decoration: none;
}
.hk-apply__label {
  font-family: "Shippori Mincho", serif;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: .02em;
  color: #7fa3a3;
  font-weight: bolder;
}
.hk-apply__icon {
  width: 8rem;
  height: 4.5rem;
  border: .5rem solid #7fa3a3;
  border-radius: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease;
}
.hk-apply__arrow {
  position: relative;
  display: block;
  width: 3.6rem;
  height: .5rem;
  background: #7fa3a3;
}
.hk-apply__arrow::after {
  content: "";
  position: absolute;
  right: -.25rem;
  top: 50%;
  width: 1.2rem;
  height: 1.2rem;
  border-right: .5rem solid #7fa3a3;
  border-top: .5rem solid #7fa3a3;
  transform: translateY(-50%) rotate(45deg);
}
.hk-apply__underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.25rem;
  height: .25rem;
  background: #7fa3a3;
  opacity: .85;
  transform-origin: left;
  transition: transform .25s ease;
}
.hk-apply__btn:hover .hk-apply__icon {
  transform: translateX(.2rem);
}
.hk-apply__btn:hover .hk-apply__underline {
  transform: scaleX(1.02);
}
.hk-apply {
  display: flex;
  justify-content: end;
  text-align: left;
}
.hk-apply__btn {
  margin: 0;
}



/* ───────── タブ切り替え（職種別） ───────── */

.hk-careers-tabs {
  display: flex;
  gap: 1rem;
  margin: 0 auto 1.5rem;
  border-bottom: 1px solid #7fa3a3;
}

.hk-careers-tab {
  flex: 1;
  padding: 0.75rem 0.5rem;
  background: transparent;
  border: none;
  border-bottom: 0.25rem solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-family: "Shippori Mincho", serif;
  letter-spacing: 0.06em;
  color: #6b8f8f;
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.hk-careers-tab.is-active {
  color: #7fa3a3;
  font-weight: 700;
  border-color: #7fa3a3;
  background-color: rgba(127, 163, 163, 0.05);
}

/* パネル表示切り替え */
.hk-careers-panel {
  display: none;
}

.hk-careers-panel.is-active {
  display: block;
}

/* スマホではタブを縦並びに */
@media (max-width: 48rem) {
  .hk-careers-tabs {
    flex-direction: column;
    border-bottom: none;
  }

  .hk-careers-tab {
    border: 1px solid #7fa3a3;
    border-radius: 999px;
  }

  .hk-careers-tab.is-active {
    border-width: 2px;
  }
}





@media (max-width: 48rem) {
  .hk-apply {
    width: 90%;
  }
  .hk-apply__label {
    font-size: 2.25rem;
  }
  .hk-apply__icon {
    width: 6.5rem;
    height: 3.6rem;
    border-width: .4rem;
  }
  .hk-apply__arrow {
    width: 2.6rem;
    height: .4rem;
  }
  .hk-apply__arrow::after {
    width: 1rem;
    height: 1rem;
    border-width: .4rem;
  }
  .hk-apply__underline {
    bottom: -1rem;
    height: .2rem;
  }
}
@media (max-width: 64rem) {
  .hk-sec-title__en {
    font-size: 3rem;
  }
  .hk-careers__wrap {
    grid-template-columns: 1fr;
  }
  .hk-careers__figure {
    order: 2;
  }
  .hk-careers-spec {
    width: 90%;
  }
}
@media (max-width: 40rem) {
  .hk-careers__lead {
    font-size: 1.6rem;
  }
  .hk-careers__no {
    font-size: 3rem;
  }
  .hk-careers__title {
    font-size: 1.5rem;
  }
  .hk-careers-spec {
    width: 100%;
    padding: 0 1rem;
  }
  .hk-careers-spec__table th, .hk-careers-spec__table td {
    padding: 1rem .75rem;
  }
}