@charset "utf-8";

main {
  position: relative;
  overflow: clip;
}

main::before {
  content: '';
  position: absolute;
  translate: -50% 0;
  top: 156px;
  left: 50%;
  width: min(1280px, 100%);
  height: 100%;
  background: url(/wp/wp-content/themes/cosmos-cpa/img/people/page-deco-pc.png) repeat-y;
  background-size: 100% auto;
}

@media screen and (max-width: 768px) {
  main::before {
    top: 110px;
    background: url(/wp/wp-content/themes/cosmos-cpa/img/people/page-deco-sp.png) repeat-y;
    background-size: 100% auto;
  }
}

/* ↓↓↓ fv ↓↓↓ */
.fv {
  position: relative;
  overflow-x: clip;
  margin: 0 auto;
}

.fv .breadcrumb {
  position: absolute;
  top: 0;
  left: 0;
  padding: 25px 48px;
  overflow: scroll;
  z-index: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.fv .breadcrumb::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 768px) {
  .fv .breadcrumb {
    position: initial;
    padding: 10px 24px;
  }
}

.fv .breadcrumb .list {
  display: flex;
}

.fv .breadcrumb .list .item {
  position: relative;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  min-width: max-content;
  padding-left: 20px;
  margin-right: 15px;
}

@media screen and (max-width: 768px) {
  .fv .breadcrumb .list .item {
    font-size: 1rem;
    margin-right: 10px;
  }
}

.fv .breadcrumb .list .item:first-of-type::before {
  content: '';
  position: absolute;
  translate: 0 -50%;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #17CEFF;
}

.fv .breadcrumb .list .item:not(:first-of-type)::before {
  content: '';
  position: absolute;
  translate: 0 -50%;
  top: 50%;
  left: 0;
  width: 10px;
  height: 1px;
  background-color: #000;
}

.fv .breadcrumb .list .item:last-of-type {
  padding-right: 20px;
  margin-right: 0;
}

@media screen and (min-width: 769px) {
  .fv .breadcrumb .list .item a {
    transition: opacity 0.3s ease;
  }

  .fv .breadcrumb .list .item a:hover {
    opacity: 0.7;
  }
}

.fv .inner {
  position: relative;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .fv .inner {
    margin: 20px auto 0;
  }
}

.fv .image {
  width: min(calc(1014/1280*100vw), 1014px);
  display: block;
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  .fv .image {
    width: calc(350/375*100vw);
  }
}

.fv .inner .ttl-group {
  position: absolute;
  translate: -50% -50%;
  top: 40%;
  left: 50%;
  max-width: calc(1018px + 48px * 2);
  width: 100%;
  padding: 0 48px;
  color: #001932;
}

@media screen and (max-width: 768px) {
  .fv .inner .ttl-group {
    translate: -50% 0;
    top: 14.613%;
    padding: 0 24px;
  }
}

.fv .inner .ttl-group .ttl {
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-shadow: 2px 3px 3px rgba(255, 255, 255, 1);
}

@media screen and (max-width: 768px) {
  .fv .inner .ttl-group .ttl {
    font-size: 2.2rem;
  }
}

.fv .inner .ttl-group .subttl {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-top: 15px;
}

@media screen and (max-width: 768px) {
  .fv .inner .ttl-group .subttl {
    font-size: 1.3rem;
    margin-top: 8px;
  }
}

/* ↑↑↑ fv ↑↑↑ */

/* ↓↓↓ career ↓↓↓ */
.career {
  position: relative;
  overflow-x: clip;
}

.career .inner {
  max-width: 1280px;
  margin: 0 auto;
}

.career .section-ttl {
  position: absolute;
  translate: -50% -50%;
  text-align: right;
  top: 0;
  left: 50%;
  max-width: 1280px;
  width: 100%;
  font-family: var(--jost);
  font-size: min(130px, calc((130 - 75) * ((100vw - 769px) / (1280 - 769)) + 75px));
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0;
  color: #DCF8FF;
  mix-blend-mode: hard-light;
  padding-right: 10px;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .career .section-ttl {
    font-size: calc((75 - 43) * ((100vw - 375px) / (768 - 375)) + 43px);
  }
}

.career .content .intro-group {
  max-width: 1012px;
  margin: 0 auto;
}

.career .content .intro-group .lead {
  position: relative;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 20px 0 0;
  margin-bottom: 45px;
}

@media screen and (max-width: 768px) {
  .career .content .intro-group .lead {
    font-size: 2.4rem;
    padding: 20px 0 0;
    margin-bottom: 35px;
  }
}

.career .content .intro-group .lead::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: #17CEFF;
}

.career .content .intro-group .lead::after {
  content: '';
  position: absolute;
  top: 0;
  left: 8px;
  width: 8px;
  height: 8px;
  background-color: #187DF5;
}

.career .content .intro-group .lead-txt {
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .career .content .intro-group .lead-txt {
    line-height: 2;
  }
}

.career .content .intro-group .text {
  max-width: 836px;
}

@media screen and (max-width: 768px) {
  .career .content .intro-group .text {
    margin-top: 20px;
  }
}

.career .content .text {
  text-align: justify;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  line-height: 2.375;
}

.career .content.-order01 {
  position: relative;
  padding: 130px 25px 120px;
}

@media screen and (max-width: 768px) {
  .career .content.-order01 {
    padding: 21.3334vw 25px 70px;
  }
}

.career .content.-order01 .bg {
  position: absolute;
  width: 2072px;
  aspect-ratio: 2072 / 1215;
  background-color: #F2F6F6;
  clip-path: polygon(39% 0%, 100% 0%, 61% 100%, 0% 100%);
  top: 340px;
  right: -100px;
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .career .content.-order01 .bg {
    width: 1369px;
    aspect-ratio: 1369 / 1216;
    clip-path: polygon(59% 0%, 100% 0%, 41% 100%, 0% 100%);
    top: 305px;
    left: -540px;
  }
}

.career .content.-order01 .anchor-box {
  max-width: 872px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 80px;
}

@media screen and (max-width: 768px) {
  .career .content.-order01 .anchor-box {
    max-width: 440px;
    flex-wrap: wrap;
    margin: 0 auto 60px;
  }
}

.career .content.-order01 .anchor-btn {
  position: relative;
  display: grid;
  place-content: center;
  width: calc((100% - 44px) / 3);
  min-height: 50px;
  padding: 1px;
  border-radius: 60px;
  background: linear-gradient(90deg, #17ceff, #0019b4);
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .career .content.-order01 .anchor-btn {
    width: 100%;
  }

  .career .content.-order01 .anchor-btn:nth-of-type(n + 2) {
    margin-top: 15px;
  }
}

.career .content.-order01 .anchor-btn::before {
  content: '';
  position: absolute;
  translate: -50% -50%;
  top: 50%;
  left: 50%;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-radius: 60px;
  background-color: #fff;
}

.career .content.-order01 .anchor-btn::after {
  content: '';
  position: absolute;
  translate: 0 -50%;
  top: 50%;
  right: 18px;
  width: 12px;
  height: 8px;
  background: url(/wp/wp-content/themes/cosmos-cpa/img/people/anchor-angle.png) no-repeat;
  background-size: cover;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .career .content.-order01 .anchor-btn::after {
    right: 22px;
  }
}

.career .content.-order01 .anchor-btn .txt {
  position: relative;
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
  padding: 0 35px;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .career .content.-order01 .anchor-btn .txt {
    padding: 0 30px;
  }
}

.career .content.-order01 .anchor-btn .txt::before {
  content: '';
  position: absolute;
  translate: -50% -50%;
  scale: 0;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: linear-gradient(90deg, #17ceff, #0019b4);
  border-radius: 50%;
  z-index: -1;
}

@media screen and (min-width: 769px) {
  .career .content.-order01 .anchor-btn .txt {
    transition: color 0.5s ease;
  }

  .career .content.-order01 .anchor-btn:hover .txt {
    color: #fff;
  }

  .career .content.-order01 .anchor-btn:hover::after {
    background: url(/wp/wp-content/themes/cosmos-cpa/img/people/anchor-angle_w.png) no-repeat;
    background-size: cover;
  }

  .career .content.-order01 .anchor-btn .txt::before {
    transition: scale 0.5s ease;
  }

  .career .content.-order01 .anchor-btn:hover .txt::before {
    scale: 15;
  }
}

.career .content.-order02 {
  position: relative;
  padding: 0 25px 120px;
}

@media screen and (max-width: 768px) {
  .career .content.-order02 {
    padding: 0 25px 65px;
  }
}

.career .content.-order02 .bg {
  position: absolute;
  width: 2072px;
  aspect-ratio: 2072 / 1215;
  background-color: #F2F6F6;
  clip-path: polygon(39% 0%, 100% 0%, 61% 100%, 0% 100%);
  top: 750px;
  left: 400px;
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .career .content.-order02 .bg {
    width: 1369px;
    aspect-ratio: 1369 / 1216;
    clip-path: polygon(59% 0%, 100% 0%, 41% 100%, 0% 100%);
    top: 120px;
    left: 70px;
  }
}

.career .content .people-list {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
}

.career .content .people-list::after {
  content: '';
  display: block;
  width: calc((100% - 11.5%) / 3);
}

.career .content .people-list .item {
  width: calc((100% - 11.5%) / 3);
}

.career .content .people-list .item:nth-of-type(n + 4) {
  margin-top: 50px;
}

@media screen and (max-width: 768px) {
  .career .content .people-list .item {
    width: calc((100% - 30px) / 2);
  }

  .career .content .people-list .item:nth-of-type(n + 3) {
    margin-top: 20px;
  }
}

.career .content .people-list .item .image {
  position: relative;
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 768px) {
  .career .content .people-list .item .image {
    aspect-ratio: 144/220;
  }

  .career .content .people-list .item .image img {
    object-fit: cover;
    object-position: right;
    height: 100%;
  }
}

.career .content .people-list .item .image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.career .content .people-list .item .image img {
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 769px) {
  .career .content .people-list .item .image img {
    transition: opacity 0.3s ease;
  }

  .career .content .people-list .item a:hover .image img {
    opacity: 0.7;
  }
}

.career .content .people-list .item .image .copy {
  position: absolute;
  top: -3px;
  right: max(-14px, calc((-14 + 10) * ((100vw - 769px) / (1280 - 769)) - 10px));
  writing-mode: vertical-rl;
  font-size: min(2.1rem, calc((21 - 15) * ((100vw - 769px) / (1280 - 769)) + 15px));
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: #fff;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .career .content .people-list .item .image .copy {
    right: -7px;
    font-size: min(2.1rem, calc((21 - 12) * ((100vw - 375px) / (768 - 375)) + 12px));
  }
}

.career .content .people-list .item .image .line {
  display: block;
  height: max-content;
  padding: 5px 2px 10px 0;
  background: #001932;
}

@media screen and (max-width: 768px) {
  .career .content .people-list .item .image .line {
    padding: 3px 1px 5px 0;
  }
}

.career .content .people-list .item .image .line:not(:first-of-type) {
  margin-right: 5px;
}

@media screen and (max-width: 768px) {
  .career .content .people-list .item .image .line:not(:first-of-type) {
    margin-right: 2px;
  }
}

.career .content .people-list .item .text-group {
  margin-top: 24px;
}

@media screen and (max-width: 768px) {
  .career .content .people-list .item .text-group {
    margin-top: 15px;
  }
}

.career .content .people-list .item .text-group .status {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

@media screen and (max-width: 768px) {
  .career .content .people-list .item .text-group .status {
    font-size: 1.2rem;
  }
}

.career .content .people-list .item .text-group .name {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

@media screen and (max-width: 768px) {
  .career .content .people-list .item .text-group .name {
    font-size: 1.6rem;
  }
}

.career .content.-order03 {
  margin-bottom: 180px;
  padding-inline: 25px;
}

.career .content.-order03 .intro-group .lead {
  margin-bottom: 10px;
}

.career .content .link-list {
  position: relative;
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;

  .item {
    width: calc((100% - 11.5%) / 3);
    height: 120px;
    background-color: #000;
    display: block;

    a {
      width: 100%;
      height: 100%;
      padding-left: 10.17%;
      display: flex;
      justify-content: center;
      flex-direction: column;
      position: relative;
    }

    .txt1 {
      font-size: 1.8rem;
      font-weight: 500;
      color: #fff;
      line-height: 1;
      letter-spacing: .05em;
    }

    .txt2 {
      margin-top: 1em;
      font-family: var(--jost);
      font-size: 1.4rem;
      font-weight: 500;
      font-style: italic;
      color: #17ceff;
      line-height: 1;
      letter-spacing: .05em;
    }

    .arrow {
      position: absolute;
      display: block;
      width: 30px;
      aspect-ratio: 1 / 1;
      border-radius: 50%;
      translate: 0 -50%;
      top: 50%;
      right: 16px;
      overflow: hidden;

      &::before,
      &::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        transition: opacity 300ms 0s ease;
      }

      &::before {
        background: url(/wp/wp-content/themes/cosmos-cpa/img/people/case_style-arrow1.svg)no-repeat;
        background-size: contain;
      }

      &::after {
        background: url(/wp/wp-content/themes/cosmos-cpa/img/people/case_style-arrow2.svg)no-repeat;
        background-size: contain;
        opacity: 0;
      }
    }

    @media (min-width: 769px) {
      a:hover .arrow::before {
        opacity: 0;
      }

      a:hover .arrow::after {
        opacity: 1;
      }
    }
  }
}

@media (max-width: 768px) {
  .career .content.-order03 {
    margin-bottom: 145px;
  }

  .career .content .link-list {
    flex-direction: column;

    .item {
      width: 100%;
      height: 100px;
      margin-bottom: 24px;

      &:last-of-type {
        margin-bottom: 0;
      }

      a {
        padding-left: 30px;
      }

      .txt1 {
        font-size: 1.6rem;
      }

      .txt2 {
        margin-top: 14px;
        font-size: 1.2rem;
      }

      .arrow {
        position: absolute;
        display: block;
        width: 30px;
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        translate: 0 -50%;
        top: 50%;
        right: 16px;
        overflow: hidden;
      }
    }
  }
}

/* ↑↑↑ career ↑↑↑ */