@charset "UTF-8";

.profile .profile-nav {
  background-color: rgba(17, 141, 255, 0.1);
}

.profile .profile-nav-txt, .profile .nav-txt-profile {
  color: #118DFF;
}

.profile-nav img {
  border: 1px solid #118DFF;
}

body.profile .tab-contents-item.active:nth-of-type(1),
body.profile .tab-contents-item.active:nth-of-type(2) {
  display: block;
}

/* main contents */
.main {
  width: calc(100% - 220px);
  margin: 0 0 0 220px;
}

.profile-top {
  padding: 100px 0;
  margin-bottom: 48px;
  position: relative;
  background-image: url(../img/common/profile-background.png);
  background-position: center center;
  background-size: cover;
}

.profile-icontxt {
  width: calc(100% - 80px);
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: start;
  -ms-flex-line-pack: justify;
  align-content: center;
}

.profile-top-icon {
  margin-right: 24px;
  width: 160px;
  border-radius: 160px;
  border: 1px solid #F1F3F9;
}

.profile-top-txt {
  align-content: center;
}

.myname {
  margin-bottom: 12px;
  color: #FFF;
  font-size: 40px;
  font-weight: 500;
}

.mypost {
  color: rgba(255, 255, 255, 0.70);
  font-family: Inter;
  font-size: 24px;
  font-weight: 400;
}

.profile .profile-top .category-tab {
  position: absolute;
  bottom: 0px;
  left: 40px;
  border-bottom: none;
}

.profile-contents {
  width: calc(100% - 80px);
  margin: 0 auto 80px;
}

/* #profile */
.self-introduction {
  margin-bottom: 40px;
  color: #2C2C2C;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.self-introduction:first-child {
  margin-bottom: 24px;
}

#profile h2 {
  margin-bottom: 28px;
  color: #667A8A;
  font-size: 24px;
  font-weight: 500;
}

.skill {
  margin-bottom: 40px;
}

.skill-design {
  margin-bottom: 16px;
}

.skill-head {
  margin-bottom: 8px;
  color: #B0B0B0;
  font-size: 14px;
}

.skill-txt {
  font-size: 16px;
  line-height: 1.5;
}

.certification-txt {
  font-size: 16px;
  line-height: 2;
}

/* #career */
.mycareer {
  position: relative;
}

.mycareer::after {
  content: "";
  width: 2px;
  height: 80%;
  background: #E9E9E9;
  position: absolute;
  top: 50%;
  left: 122px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  z-index: -1;
}

.mycareer-item {
  margin-bottom: 40px;
  column-gap: 16px;
  justify-content: start;
  flex-wrap: nowrap;
}

.mycareer-item:last-child .career-detail-name br {
  display: none;
}

.mycareer-item:last-child {
  margin-bottom: 0;
}

.career-period {
  margin: auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sp-career-period {
  display: none;
  margin-bottom: 8px;
  color: #B0B0B0;
  font-size: 1.2rem;
}

.career-period p {
  width: 75px;
  color: #B0B0B0;
  text-align: center;
  font-size: 14px;
}

.career-period .vertical {
  width: fit-content;
  margin: 4px auto;
  writing-mode: vertical-rl;
}

.career-icon {
  width: 100%;
  max-width: 64px;
}

.career-detail {
  align-content: center;
}

.career-detail-upper {
  margin-bottom: 8px;
  justify-content: start;
  column-gap: 16px;
}

.career-detail-name {
  font-size: 20px;
  font-weight: 500;
}

.career-detail-length {
  color: #B0B0B0;
  font-size: 14px;
  align-content: center;
}

.career-detail-lower {
  font-size: 14px;
  font-weight: 500;
}


/* #strengths */
#strengths {
  justify-content: space-between;
}

.strengths-card {
  width: calc((100% - 32px) / 3);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid #F1F3F9;
  background: #F9FAFC;
}

.strengths-top {
  margin-bottom: 20px;
  justify-content: start;
  column-gap: 16px;
}

.strengths-icon {
  width: 64px;
}

.strengths-head {
  width: calc(100% - 80px);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  align-content: center;
}

.strengths-txt {
  font-size: 16px;
  line-height: 1.5;
}


@media screen and (max-width: 1024px) {
  .main {
    width: calc(100% - 180px);
    margin-left: 180px;
  }

  .profile-top-icon {
    width: 120px;
  }

  .tab-contents-item.active {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    row-gap: 16px;
  }

  .strengths-card {
    width: 100%;
  }
}


@media screen and (max-width: 560px) {
  .profile .profile-nav {
    background-color: transparent;
  }

  .main {
    width: 100%;
    margin: 0;
  }

  .profile-top {
    padding: 60px 0;
    margin-bottom: 40px;
  }

  .profile-icontxt {
    width: calc(100% - 40px);
  }

  .profile-top-icon {
    width: 80px;
    margin-right: 16px;
  }

  .myname {
    font-size: 3.2rem;
  }

  .mypost {
    font-size: 1.6rem;
  }

  .profile .profile-top .category-tab {
    left: 0;
  }

  .profile-contents {
    width: calc(100% - 40px);
    margin-bottom: 48px;
  }

  /* #profile */

  .self-introduction, .skill {
    margin-bottom: 32px;
  }

  .self-introduction:first-child {
    margin-bottom: 20px;
  }

  #profile h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }


  /* #career */
  .career-period {
    display: none;
  }

  .sp-career-period {
    display: block;
  }

  .mycareer::after {
    left: 31px;
  }

  .career-detail {
    align-content: start;
  }

  .career-detail-upper {
    column-gap: 8px;
    margin-bottom: 4px;
  }

  .career-detail-lower {
    line-height: 1.5;
  }

  .career-detail-name {
    font-size: 1.8rem;
    line-height: 1.25;
  }

  .career-detail-length {
    font-size: 1.2rem;
  }

  .mycareer-item:last-child .career-detail-name {
    margin-bottom: 4px;
  }

  .mycareer-item:last-child .career-detail-name br {
    display: block;
  }

  /* #strengths */
  .strengths-card {
    padding: 20px 26px;
    border-radius: 10px;
  }

  .strengths-top {
    column-gap: 12px;
  }

  .strengths-head {
    font-size: 1.8rem;
    width: calc(100% - 60px);
  }

  .strengths-icon {
    width: 48px;
  }
}