/* =========================================
   CAREER PAGE
========================================= */

.career-page {
  min-height: 100vh;
}


/* TITLE */

.career-header {
  padding: 55px 10% 40px;

  text-align: center;

  background:
    linear-gradient(
      180deg,
      rgba(237,247,253,.9),
      rgba(255,255,255,.9)
    );
}

.career-star {
  color: #d7bc70;
  font-size: 12px;
}

.career-header h1 {
  margin-top: 5px;

  font-family: "Cormorant Garamond", serif;

  font-size: 44px;
  font-style: italic;
  font-weight: 400;

  color: #7195ad;
}

.career-header p {
  margin-top: 4px;

  font-size: 9px;

  letter-spacing: .2em;

  color: #9bb1be;
}


/* =========================================
   MAIN
========================================= */

.career-main {
  width: 100%;

  padding: 55px 8% 100px;

  display: grid;

  grid-template-columns: 260px 1fr;

  gap: 65px;

  align-items: start;
}


/* =========================================
   LEFT PROFILE
========================================= */

.career-profile {
  position: sticky;

  top: 30px;
}

.career-photo {
  width: 100%;

  overflow: hidden;

  background: #eef5f8;
}

.career-photo img {
  width: 100%;
  height: auto;

  display: block;
}

.career-name {
  padding: 22px 5px 25px;

  text-align: center;
}

.career-name span {
  font-family: "Cormorant Garamond", serif;

  font-size: 13px;

  letter-spacing: .18em;

  color: #7598ae;
}

.career-name h2 {
  margin-top: 4px;

  font-size: 19px;
  font-weight: 400;

  color: #344c59;
}


/* PROFILE BOX */

.career-profile-box {
  padding: 22px 24px;

  border-radius: 18px;

  background:
    rgba(224,241,250,.85);
}

.career-profile-box p {
  margin: 7px 0;

  color: #506b79;

  font-size: 11px;

  line-height: 1.8;
}

.career-profile-box span {
  display: inline-block;

  min-width: 68px;

  color: #7198b0;

  font-weight: 500;
}


/* =========================================
   RIGHT
========================================= */

.career-content {
  min-width: 0;
}


/* =========================================
   TABS
========================================= */

.career-tabs {
  width: 100%;

  display: flex;

  flex-wrap: wrap;

  gap: 7px 20px;

  padding: 0 0 22px;

  margin-bottom: 30px;

  border-bottom: 1px solid #d5e2e9;
}

.career-tab {
  position: relative;

  border: 0;

  padding: 8px 3px;

  background: transparent;

  font-family: "Noto Serif JP", serif;

  color: #7e9cac;

  font-size: 11px;

  letter-spacing: .06em;

  cursor: pointer;

  transition: .3s;
}

.career-tab:hover,
.career-tab.active {
  color: #326f9a;
}

.career-tab.active::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: -23px;

  transform: translateX(-50%);

  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: #d7bd70;
}


/* =========================================
   PANEL
========================================= */

.career-panel {
  display: none;

  animation: careerFade .4s ease;
}

.career-panel.active {
  display: block;
}

@keyframes careerFade {

  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================
   CATEGORY
========================================= */

.career-category {
  margin-bottom: 48px;
}

.career-category h3 {
  position: relative;

  margin-bottom: 22px;

  padding-left: 15px;

  color: #527f9b;

  font-size: 14px;
  font-weight: 500;

  letter-spacing: .08em;
}

.career-category h3::before {
  content: "";

  position: absolute;

  left: 0;
  top: 3px;

  width: 5px;
  height: 17px;

  border-radius: 10px;

  background:
    linear-gradient(
      #c8a7ff,
      #82caff
    );
}


/* =========================================
   CAREER LIST
========================================= */

.career-category ul {
  list-style: none;

  margin: 0;
  padding: 0;
}

.career-category li {
  position: relative;

  padding: 0 0 14px 18px;

  color: #465e6a;

  font-size: 12px;

  line-height: 1.9;

  letter-spacing: .03em;
}

.career-category li::before {
  content: "•";

  position: absolute;

  left: 0;
  top: 0;

  color: #8fc9eb;
}

.career-category li b {
  margin-right: 8px;

  color: #3d76a0;

  font-weight: 500;

  text-decoration: underline;

  text-underline-offset: 3px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 750px) {

  .career-header {
    padding-top: 40px;
  }

  .career-header h1 {
    font-size: 38px;
  }


  .career-main {
    display: block;

    padding:
      35px 7%
      70px;
  }


  .career-profile {
    position: static;

    width: 70%;
    max-width: 280px;

    margin:
      0 auto
      50px;
  }


  .career-tabs {
    gap: 5px 14px;
  }


  .career-tab {
    font-size: 10px;
  }


  .career-category li {
    font-size: 11px;
  }

}