@charset "UTF-8";

/* ==================================================
  キャリアアップページ　固有のスタイル
    ─ 共通見出し
    ─ KV（一部）
    ─ 技術認定試験とは
    ─ ヤオコーの評価制度
    ─ キャリアパス
    ─ データで見る
    ─ ページ戻るリンク
================================================== */
/* ------------ 共通見出し ------------ */
.careerup-title {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px dashed var(--color-yellow);
  width: fit-content;
  margin: 0 auto;
  gap: 20px;
}

.careerup-title .num {
  font-family: var(--font-roboto);
  font-weight: 900;
  font-size: 80px;
  line-height: 100px;
  color: #F39800;
  opacity: .5;
}

.careerup-title h2 {
  font-size: 32px;
  line-height: 1.3;
  padding-bottom: 10px;
}

.careerup-title h2 span {
  color: var(--color-orange);
}

@media screen and (max-width: 767px) {
  .careerup-title {
    position: relative;
    padding-bottom: 10px;
    width: 100%;
  }

  .careerup-title .num {
    font-size: 50px;
    line-height: 50px;
    position: absolute;
    left: -5px;
    top: -5px;
  }

  .careerup-title h2 {
    font-size: 28px;
    text-align: center;
    line-height: 1.5;
  }
}

/* ------------ KV（一部） ------------ */
.nav-wrap {
  gap: 24px;
}

.nav-list {
  gap: 16px;
}

@media screen and (max-width: 1080px) {
  .nav-list {
    gap: 30px;
  }

  .kv-catch {
    bottom: 55px;
  }
}

/* ------------ 技術認定試験とは ------------ */
.exam {
  padding-top: 80px;
}

.exam-catch {
  margin: 30px auto 0;
  max-width: 650px;
  font-size: 18px;
  line-height: 1.6;
}

.exam-howto {
  margin-top: 60px;
}

.exam-howto h3 {
  background-color: var(--color-blown);
  color: #fff;
  font-weight: bold;
  font-size: 25px;
  line-height: 54px;
  padding: 0 15px;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}

.exam-howto p {
  max-width: 650px;
  margin: 30px auto 0;
  font-size: 18px;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  .exam {
    padding-top: 68px;
  }

  .exam-catch {
    margin: 24px auto 0;
  }

  .exam-howto {
    margin-top: 48px;
  }

  .exam-howto h3 {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .exam-howto h3 span {
    background-color: var(--color-blown);
    padding: 0 10px;
    width: fit-content;
  }

  .exam-howto p {
    margin: 24px auto 0;
  }
}

/* 合格者の声 */
.exam-voice {
  border-radius: 16px;
  border: 3px solid var(--color-secondary);
  padding: 40px;
  max-width: 880px;
  margin: 40px auto 0;
}

.exam-voice-wrap {
  max-width: 745px;
  margin: 0 auto;
}

.exam-voice h3 {
  background-color: var(--color-secondary);
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  line-height: 44px;
  padding: 0 15px;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}

.exam-faq-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.exam-faq-item dt {
  font-weight: bold;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 18px;
}

.exam-faq-item dt::before {
  content: 'Q.';
  display: block;
  color: var(--color-secondary);
  font-family: var(--font-roboto);
  font-size: 30px;
  line-height: 1;
}

.exam-faq-item dd {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  margin-top: 16px;
  z-index: 1;
  position: relative;
}

.exam-faq-item dd p {
  border-radius: 10px;
  background-color: #FDF2F2;
  padding: 16px 20px;
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  max-width: 345px;
  line-height: 1.7;
}

.exam-faq-item dd p::before {
  background-color: #FDF2F2;
  content: '';
  position: absolute;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  width: 34px;
  height: 39px;
  top: 50%;
  transform: translateY(-45%);
  z-index: -1;
}

/* 1つ目（左） */
.exam-faq-item dd p:nth-of-type(1) {
  margin-bottom: 30px;
}

.exam-faq-item dd p:nth-of-type(1)::before {
  left: -35px;
  rotate: 60deg;
}

/* 2つ目（右） */
.exam-faq-item dd p:nth-of-type(2) {
  margin-top: 30px;
}

.exam-faq-item dd p:nth-of-type(2)::before {
  right: -35px;
  rotate: -60deg;
}

@media screen and (max-width: 767px) {
  .exam-voice {
    border-radius: 6px;
    padding: 40px 20px;
    margin: 40px auto 0;
  }

  .exam-voice-wrap {
    max-width: 745px;
    margin: 0 auto;
  }

  .exam-voice h3 {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .exam-voice h3 span {
    background-color: var(--color-secondary);
    padding: 0 10px;
    width: fit-content;
  }

  .exam-faq-item dd {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .exam-faq-item dd p {
    padding: 16px;
    max-width: 400px;
    width: calc(100% - 30px);
  }

  /* 1つ目（左） */
  .exam-faq-item dd p:nth-of-type(1) {
    margin-bottom: 0;
    margin-right: 30px;
  }

  .exam-faq-item dd p:nth-of-type(1)::before {
    left: -30px;
  }

  /* 2つ目（右） */
  .exam-faq-item dd p:nth-of-type(2) {
    margin-top: 0;
    margin-left: 30px;
  }

  .exam-faq-item dd p:nth-of-type(2)::before {
    right: -30px;
  }
}

/* ------------ 評価制度 ------------ */
.evaluation {
  padding-top: 80px;
  padding-bottom: 97px;
}

.evaluation-catch {
  margin: 30px auto 0;
  max-width: 650px;
  font-size: 18px;
  line-height: 1.6;
}

.evaluation-comment {
  margin-top: 64px;
}

.evaluation-comment h3 {
  background-color: var(--color-secondary);
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  line-height: 44px;
  padding: 0 15px;
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}

.evaluation-comment-content {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 60px;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.evaluation-comment-content img {
  width: 192px;
}

.evaluation-comment-content p {
  line-height: 1.8;
  padding: 37px 32px;
  background-color: var(--color-transparent);
  border-radius: 16px;
  margin-top: 40px;
  position: relative;
}

.evaluation-comment-content p::before {
  background-color: var(--color-transparent);
  content: '';
  position: absolute;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  width: 44px;
  height: 51px;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  left: -30px;
}

@media screen and (max-width: 767px) {
  .evaluation {
    padding-top: 74px;
    padding-bottom: 48px;
  }

  .evaluation-catch {
    margin: 24px auto 0;
  }

  .evaluation-comment {
    margin-top: 40px;
  }

  .evaluation-comment-content {
    gap: 30px;
    margin: 16px auto 0;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .evaluation-comment-content p {
    padding: 28px 22px;
    margin-top: 0px;
    font-size: 18px;
    line-height: 2;
  }

  .evaluation-comment-content p::before {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    width: 51px;
    height: 42px;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ------------ キャリアパス ------------ */
.career-path {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: rgba(236, 225, 179, .2);
}

.career-path-catch {
  margin: 30px auto 0;
  max-width: 650px;
  font-size: 18px;
  line-height: 1.6;
}

.career-path-example {
  display: flex;
  align-items: center;
  gap: 23px;
  max-width: 880px;
  margin: 77px auto 0;
  position: relative;
  padding-right: 35px;
}

.career-path-example h3 {
  line-height: 48px;
  background-color: #E0D6C4;
  color: var(--color-black-blown);
  border-radius: 24px;
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  padding: 0 18px;
}

.career-path-example ol {
  display: flex;
  gap: 12px;
  flex: 1;
}

.career-path-example ol li {
  position: relative;
  height: 120px;
  flex: 1;
}

.career-path-example ol li::before, 
.career-path-example ol li::after {
  display: block;
  position: absolute;
}

.career-path-example ol li::before {
  content: attr(data-year);
  font-size: 22px;
  font-weight: bold;
  top: -5px;
  left: calc(50% - 17px);
  transform: translate(0%, -100%);
  color: var(--color-black-blown);
}

.career-path-example ol li::after {
  content: "";
  top: 0;
  background: var(--color-blown);
  clip-path: polygon(0% 0%, 2px 0, 100% 50%, 2px 100%, 0 100%);
  width: 36px;
  height: 100%;
  right: 0px;
  transform: translateX(calc(100% - 1px));
}

.career-path-example ol li span:not(.career-note) {
  font-size: 22px;
  font-weight: bold;
  background-color: var(--color-blown);
  color: #fff;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 35px;
}

.career-path-example ol li:not(:first-of-type) span:not(.career-note) {
  clip-path: polygon(0 0, 100% 0%, 100% 100%, 0 100%, 34px 50%);
  text-align: center;
  line-height: 1.3;
}

.career-path-example ol li span.career-note {
  font-size: 18px;
}

/* 2つ目 */
.career-path-example ol li:nth-of-type(2)::after {
  background-color: #F39800;
}

.career-path-example ol li:nth-of-type(2) span {
  background-color: #F39800;
  color: var(--color-black-blown);
}

/* 3つ目 */
.career-path-example ol li:nth-of-type(3) {
  flex: 1.7;
}

.career-path-example ol li:nth-of-type(3)::before {
  left: 60px;
  transform: translate(0%, -100%);
}

.career-path-example ol li:nth-of-type(3) span {
  align-items: flex-start;
  padding: 0 0 0 66px;
}

/* 吹き出し */
.career-path-bubble {
  position: absolute;
  padding: 22px 15px 27px 15px;
  background-color: #FFD998;
  border-radius: 63px;
  color: var(--color-black-blown);
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  right: -10px;
  top: -26px;
  z-index: 1;
}

.career-path-bubble::after {
  background-color: #FFD998;
  content: '';
  position: absolute;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  width: 30px;
  height: 39px;
  bottom: 15px;
  z-index: -1;
  left: -15px;
  transform: rotate(60deg);
}

@media screen and (max-width: 767px) {
  .career-path {
    padding-top: 60px;
    padding-bottom: 95px;
  }

  .career-path-catch {
    margin: 24px auto 0;
  }

  .career-path-example {
    flex-direction: column;
    gap: 16px;
    margin: 40px auto 0;
    padding-right: 0px;
  }

  .career-path-example:nth-of-type(2) {
    margin-top: 185px;
  }

  .career-path-example h3 {
    line-height: 42px;
    font-size: 18px;
    padding: 0 48px;
  }

  .career-path-example ol {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .career-path-example ol li {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  /* ○年目 */
  .career-path-example ol li::before {
    background-color: #fff;
    border-radius: 100px;
    line-height: 37px;
    padding: 0 25px;
    left: 50%;
    transform: translate(-50%, 0);
    top: 60px;
    z-index: 2;
  }

  .career-path-example ol li::after {
    top: auto;
    bottom: 0;
    clip-path: polygon(0 2px, 0 0, 100% 0, 100% 2px, 50% 100%);
    width: 100%;
    height: 35px;
    right: 0;
    transform: translateY(calc(100% - 1px));
  }

  .career-path-example ol li span:not(.career-note) {
    padding: 80px 0 0 0;
  }

  .career-path-example ol li:not(:first-of-type) span:not(.career-note) {
    clip-path: polygon(0 100%, 0 0, 50% 35px, 100% 0, 100% 100%);
  }

  /* 1つ目 */
  .career-path-example ol li:nth-of-type(1)::before {
    top: 30px;
  }

  /* 2つ目 */
  .career-path-example ol li:nth-of-type(2) span:not(.career-note) {
    padding-top: 110px;
  }

  /* 3つ目 */
  .career-path-example ol li:nth-of-type(3)::before {
    left: 50%;
    transform: translate(-50%, 0);
  }

  .career-path-example ol li:nth-of-type(3) span {
    align-items: center;
    padding: 104px 0 0 0;
  }

  /* 吹き出し */
  .career-path-bubble {
    right: 50%;
    top: auto;
    bottom: -40px;
    transform: translate(50%, 100%);
    width: 230px;
    padding: 16px 25px;
  }

  .career-path-bubble::after {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    width: 41px;
    height: 54px;
    bottom: auto;
    top: -25px;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
  }
}

/* ------------ データで見る ------------ */
.data {
  padding-top: 80px;
}

.data-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 33px;
}

.data-list li {
  padding: 30px 15px 5px;
  border-radius: 10px;
  border: 3px solid #F1F1F1;
  gap: 15px;
  grid-row: span 2;
  display: grid;
  grid-template-rows: subgrid;
}

.data-list li h3 {
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 5px;
  border-bottom: 2px dashed var(--color-black-blown);
  width: fit-content;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

@media screen and (min-width: 1021px) {
  /* パートナーページ比率 title */
  .data-list li:first-child h3 {
    width: calc(100% + 20px);
    margin-left: -10px;
  }
}

.data-list li p {
  color: var(--color-secondary);
  font-weight: bold;
  text-align: center;
}

.data-text {
  font-size: 45px;
  line-height: 50px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.data-note {
  font-size: 14px;
  line-height: 1.2;
  color: var(--color-base);
  text-align: right;
  font-weight: normal;
  margin-top: 10px;
}

.data-list ~ .data-note {
  margin-top: 20px;
  text-align: left;
  padding-left: 1rem;
}

.num-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.data-notion {
  font-size: 14px;
  font-weight: normal;
  color: var(--color-base);
  position: absolute;
  right: -1rem;
  bottom: 0;
}

/* 勤続年数 */
.data-text-wrap {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 0 auto;
}

.data-text-item {
  flex: 1;
}

.data-text-item h4 {
  font-size: 17px;
  font-weight: bold;
  height: 63px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #C54B42;
  color: #fff;
  line-height: 1.3;
  max-width: 100px;
  margin: 0 auto;
  padding-top: 3px;
}

.data-text-item p {
  font-size: 29px;
}

.data-text-item p span {
  font-size: 20px;
}

@media screen and (max-width: 1020px) {
  .data-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 33px auto 0;
  }
}

@media screen and (max-width: 767px) {
  .data {
    padding-top: 66px;
  }

  .data-list {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 30px auto 0;
  }

  .data-list li {
    gap: 30px;
  }

  .data-text {
    gap: 20px;
  }

  .data-list ~ .data-note {
    margin: 10px auto 0;
    padding-left: 0;
    max-width: 500px;
  }

  /* 勤続年数 */
  .data-text-wrap {
    justify-content: center;
    gap: 24px;
    margin-top: -20px;
  }

  .data-text-item h4 {
    padding: 10px 15px;
    display: inline;
  }

  .data-text-item {
    flex: none;
  }

  .data-text-item p {
    font-size: 29px;
    margin-top: 8px;
  }

  .data-text-item p span {
    font-size: 20px;
  }
}