.job {
  padding-block: 80px;
}
@media (max-width: 980px) {
  .job {
    padding-block: 40px;
  }
}

.job-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

.job-list__item.is-open .job-detail {
  margin-top: 24px;
  max-height: 10000px;
  padding: 40px 68px 80px;
  opacity: 1;
}
@media (max-width: 980px) {
  .job-list__item.is-open .job-detail {
    padding: 24px;
  }
}
.job-list__item.is-open .job-list__icon svg {
  transform: rotate(180deg);
}
.job-list__item.is-muted .job-list__toggle {
  border: 1px solid var(--color-red);
  background-color: transparent;
}
.job-list__item.is-muted .job-list__areas {
  display: none;
}

/* =========================================================================
   TOGGLE
   ========================================================================= */
.job-list__toggle {
  width: 100%;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: stretch;
  background-color: var(--color-white);
}

.job-list__content {
  flex-grow: 1;
  padding: 33px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 16px;
}
@media (max-width: 980px) {
  .job-list__content {
    padding: 24px 12px;
  }
}

.job-list__title {
  font-size: 24px;
  line-height: 140%;
  letter-spacing: 0.04em;
  color: var(--color-red);
  font-weight: 700;
}
@media (max-width: 768px) {
  .job-list__title {
    font-size: 18px;
  }
}

.job-list__areas {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  gap: 4px;
}

.job-list__area {
  display: inline-block;
  padding: 4px 24px;
  box-sizing: border-box;
  border-radius: 100px;
  border: 1px solid;
  line-height: 170%;
  letter-spacing: 0.04em;
  font-weight: 700;
}
@media (max-width: 768px) {
  .job-list__area {
    font-size: 12px;
  }
}
.job-list__area.is-active {
  background-color: var(--color-white);
  border-color: var(--color-red);
  color: var(--color-red);
}
.job-list__area.is-muted {
  background-color: #cccccc;
  border-color: transparent;
  color: var(--color-white);
}

.job-list__closed-text {
  color: var(--color-red);
  line-height: 140%;
  letter-spacing: 0.04em;
  font-weight: 500;
}
@media (max-width: 768px) {
  .job-list__closed-text {
    font-size: 14px;
  }
}

.job-list__icon {
  width: 40px;
  flex-shrink: 0;
  background-color: var(--color-red);
  display: grid;
  place-items: center;
}
@media (max-width: 980px) {
  .job-list__icon {
    width: 24px;
  }
}
.job-list__icon svg {
  transition: transform 0.3s;
}

/* =========================================================================
   DETAIL
   ========================================================================= */
.job-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  margin: 0 auto;
  width: 70%;
  max-width: 800px;
  padding: 0 68px;
  box-sizing: border-box;
  background-color: var(--color-white);
  border-radius: 8px;
  color: var(--color-text);
  opacity: 0;
}
@media (max-width: 980px) {
  .job-detail {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 24px;
  }
}

.job-detail__table {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

.job-detail__row {
  padding-block: 24px;
  border-bottom: 1px solid var(--color-text);
  display: flex;
  align-items: start;
  gap: 12px;
}
@media (max-width: 1280px) {
  .job-detail__row {
    flex-direction: column;
  }
}
.job-detail__row:last-of-type {
  border: none;
}

.job-detail__row-head {
  width: 160px;
  flex-shrink: 0;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0.04em;
}
@media (max-width: 1280px) {
  .job-detail__row-head {
    width: 100%;
  }
}

.job-detail__row-body {
  flex-grow: 1;
  font-size: 16px;
  line-height: 200%;
  letter-spacing: 0.04em;
  font-weight: 500;
}
@media (max-width: 980px) {
  .job-detail__row-body {
    font-size: 14px;
  }
}

.job-detail__contact-mail {
  color: var(--color-red);
  text-decoration: underline;
}

/* =========================================================================
   ENTRY BUTTON
   ========================================================================= */
.job-entry {
  margin-top: 40px;
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
  border-radius: 8px;
  background-color: var(--color-red);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}
@media (max-width: 768px) {
  .job-entry {
    margin-inline: auto;
    padding: 13px 24px;
    width: 200px;
    box-sizing: border-box;
    justify-content: start;
  }
}
.job-entry:hover .job-entry__icon svg {
  animation: arrow-fly 0.4s ease forwards;
}

.job-entry__img {
  width: 120px;
  aspect-ratio: 1/1;
}
@media (max-width: 768px) {
  .job-entry__img {
    display: none;
  }
}

.job-entry__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
@media (max-width: 768px) {
  .job-entry__title {
    display: block;
  }
}

.job-entry__title-jp {
  font-size: 40px;
  line-height: 140%;
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .job-entry__title-jp {
    font-size: 18px;
  }
}

.job-entry__title-en {
  font-family: "Antro Vectra Bolder", cursive !important;
  font-size: 24px;
}
@media (max-width: 768px) {
  .job-entry__title-en {
    display: none;
  }
}

.job-entry__icon {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 32px;
  height: 32px;
  background-color: var(--color-white);
  display: grid;
  place-items: center;
}
@media (max-width: 768px) {
  .job-entry__icon {
    right: 8px;
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
  }
}/*# sourceMappingURL=job.css.map */