@charset "utf-8";
main {
  background-color: #fff;
}

.text {
  text-align: justify;
  font-size: 1.4rem;
  letter-spacing: 0.07em;
  line-height: 1.7;
}

.block-ttl {
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .block-ttl {
    padding: 0 10px;
  }
}

.block-ttl .theme {
  font-size: 1.4rem;
  font-family: var(--font-lato);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  text-indent: -1.2em;
  padding-left: 1.2em;
  display: block;
}

.block-ttl .numbering {
  font-size: 1.2rem;
  font-family: var(--font-lato);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  display: block;
}

.block-ttl .ja {
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  display: block;
}

.block-ttl .theme + .ja {
  margin: 15px 0 40px;
}

.block-ttl .numbering + .ja {
  margin: 5px 0 40px;
}

@media screen and (max-width: 768px) {
  .block-ttl .ja {
    font-size: 2rem;
    line-height: 1.8;
    margin: 24px 0;
  }

  .block-ttl .theme + .ja {
    margin: 24px 0;
  }
  
  .block-ttl .numbering + .ja {
    margin: 0 0 24px;
  }
}
/* ↓↓↓ fv ↓↓↓ */
.fv {
  height: 100vh;
  height: 100svh;
  min-height: max(650px, 100vh);
  min-height: max(650px, 100dvh);
  overflow: hidden;
}

@media screen and (max-width: 1280px) {
  .fv {
    height: 62.5vw;
    min-height: initial;
  }
}

@media screen and (max-width: 768px) {
  .fv {
    height: 370px;
  }
}

.fv::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  aspect-ratio: 680/800;
  height: min(62.5vw,100%);
  background: url(/recruit/img/special/aping-yamazaki-deco01_w.png) no-repeat;
  background-size: cover;
  background-position: left bottom;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .fv::before {
    left: 0;
    top: 0;
    min-width: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 375/240;
    background: url(/recruit/img/special/aping-yamazaki-deco01_w_sp.png) no-repeat;
    background-size: cover;
  }

}

.fv::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  aspect-ratio: 620/800;
  height: 100%;
  background: url(/recruit/img/special/aping-yamazaki-deco02_w.png) no-repeat;
  background-size: cover;
  background-position: right top;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .fv::after {
    top: initial;
    bottom: 0;
    min-width: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 375/240;
    background: url(/recruit/img/special/aping-yamazaki-deco02_w_sp.png) no-repeat;
    background-size: cover;
  }
  .fv::after {
    display: none;
  }
}

.fv .container {
  position: relative;
  width: 100%;
  height: 100%;
}

.fv .container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/recruit/img/special/texture_orange.jpg);
  background-size: 400px;
}

.fv .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.fv .page-group {
  position: absolute;
  top: 25%;
  left: 9.6875vw;
  color: #fff;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .fv .page-group {
    position: absolute;
    top: initial;
    bottom: 123px;
    left: 15px;
  }
}

.fv .page-group .page-category {
  font-family: var(--font-lato);
  font-size: max(1.2rem, 0.9375vw);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}

.fv .page-group .page-name {
  font-size: max(4rem, 3.125vw);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 5px;
}

@media screen and (max-width: 768px) {
  .fv .page-group .page-name {
    font-size: 3.2rem;
    margin-top: 0;
  }
}

.fv .page-group .key-list {
  display: flex;
  flex-wrap: wrap;
  max-width: max(300px, 87.71%);
  margin-top: 5px;
}

.fv .page-group .key-list .item {
  font-size: max(1.2rem, 0.9375vw);
  letter-spacing: 0.05em;
  margin-right: max(12px, 0.9375vw);
}
/* ↑↑↑ fv ↑↑↑ */

/* ↓↓↓ catch ↓↓↓ */
.catch {
  position: relative;
  padding: 0 4.375%;
  margin-top: clamp(-27.34378vw, -43.75vh, -285px);
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .catch {
    padding: 0 15px;
    margin-top: -90px;
  }
}

/* ↑↑↑ catch ↑↑↑ */


/* ↓↓↓ sticky-wrap ↓↓↓ */
.sticky-wrap {
  position: relative;
  max-width: 1280px;
  background-color: #fff;
  padding-top: 64px;
  margin: 0 auto;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .sticky-wrap {
    padding: 40px 15px 0;
  }
}

/* ↑↑↑ sticky-wrap ↑↑↑ */

/* ↓↓↓ anchor-box ↓↓↓ */
.sticky-wrap .anchor-box {
  position: sticky;
  width: min(calc(250/1280*100vw),250px);
  min-width: 200px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 20px;
  top: 120px;
  left: 4.375%;
  background: linear-gradient(var(--color-orange) 50%, var(--color-orange) 0%) 0% 100% /4px 100% no-repeat;
  z-index: 10;
}

@media screen and (max-width: 1024px) {
  .sticky-wrap .anchor-box {
    left: 15px;
  }
}

@media screen and (max-width: 768px) {
  .sticky-wrap .anchor-box {
    position: initial;
    float: unset;
    width: 100%;
    min-width: unset;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 16px;
    background: unset;
    padding-left: unset;
  }
}

.sticky-wrap .anchor-box .anchor-item {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.sticky-wrap .anchor-box .anchor-item .anchor-link {
  background: rgba(255, 255, 255, 0.7);
  box-decoration-break: clone; 
  -webkit-box-decoration-break: clone;
  padding: 0px 7px 2px;
}

@media screen and (max-width: 768px) {
  .sticky-wrap .anchor-box .anchor-item {
    position: relative;
    width: calc((100% - 16px)/2);
    border-bottom: 1px solid #D3D3D3;
    padding-bottom: 16px;
  }
  .sticky-wrap .anchor-box .anchor-item::before {
    content: '';
    position: absolute;
    translate: 0 -50%;
    width: 10px;
    height: 8px;
    background: url(/recruit/img/common/anchor-arrow.svg) no-repeat;
    background-size: contain;
    top: calc(50% - 8px);
    right: 0;
  }
  .sticky-wrap .anchor-box .anchor-item .anchor-link {
    display: grid;
    place-content: center left;
    height: 100%;
    background: linear-gradient(var(--color-orange) 50%, var(--color-orange) 0%) 0% 100% /4px 100% no-repeat;
    padding: 10px 20px 10px 12px;
  }
}
/* ↑↑↑ anchor-box ↑↑↑ */

/* ↓↓↓ main-conts ↓↓↓ */
.sticky-wrap .main-conts {
  width: 100%;
}

#engineer .sticky-wrap .main-conts {
  margin-top: -176px;
}

#female .sticky-wrap .main-conts {
  margin-top: -215px;
}

@media screen and (max-width: 768px) {
  .sticky-wrap .main-conts {
    width: 100%;
    margin-top: 64px;
  }

  #engineer .sticky-wrap .main-conts,
  #female .sticky-wrap .main-conts {
    margin-top: 64px;
  }
}

.conts-block {
  position: relative;
  width: 100%;
  padding-right: 4.375%;
}

.conts-block:not(:first-of-type) {
  margin-top: 40px;
}

@media screen and (max-width: 768px) {
  .conts-block {
    padding: unset;
    margin: 0 auto;
  }
}

.conts-block .conts-inner {
  position: relative;
  max-width: calc(880px + 250px + min(50px, 3.906246vw));
  padding-left: calc(250px + min(50px, 3.90624vw));
  margin-left: auto;
}

@media screen and (max-width: 1024px) {
  .conts-block .conts-inner {
    padding-left: calc(200px + min(50px, 3.90624vw));
  }
}

@media screen and (max-width: 768px) {
  .conts-block .conts-inner {
    position: relative;
    max-width: 550px;
    margin: 0 auto;
    padding: unset;
  }
}

.conts-block .attention {
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: #6D6D6F;
  margin-top: 80px;
}

@media screen and (max-width: 768px) {
  .conts-block .attention {
    margin-top: 40px;
  }
}
/* ↑↑↑ main-conts ↑↑↑ */

/* ↓↓↓ intro ↓↓↓ */
.intro-block {
  padding: 0 20px 64px;
  border-bottom: 1px solid #6D6D6F;
}

@media screen and (max-width: 768px) {
  .intro-block {
    padding: 0 0 40px;
  }
}

.intro-block .text {
  max-width: 728px;
  margin: 0 auto;
}
/* ↑↑↑ intro ↑↑↑ */

/* ↓↓↓ profile ↓↓↓ */
.profile-block {
  padding: 40px 20px 64px 0;
  border-bottom: 1px solid #6D6D6F;
}

@media screen and (max-width: 768px) {
  .profile-block {
    padding: 40px 0;
  }
}

.profile-block .heading {
  font-family: var(--font-lato);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-orange);
  min-width: 152px;
}

@media screen and (max-width: 768px) {
  .profile-block .heading {
    min-width: initial;
    margin-bottom: 16px;
  }
}

.profile-block .profile-group,
.profile-block .career-group {
  display: flex;
}

@media screen and (max-width: 768px) {
  .profile-block .profile-group,
  .profile-block .career-group {
    flex-direction: column;
  }
}

.profile-block .profile-group + .career-group {
  margin-top: 64px;
}

@media screen and (max-width: 768px) {
  .profile-block .profile-group + .career-group {
    margin-top: 40px;
  }
}

.profile-block .profile-group .interviewee {
  width: 196px;
  height: max-content;
}

@media screen and (max-width: 768px) {
  .profile-block .profile-group .interviewee {
    width: 270px;
    margin: 0 auto;
  }
}

.profile-block .profile-group .text-wrap {
  margin-left: 32px;
}

@media screen and (max-width: 768px) {
  .profile-block .profile-group .text-wrap {
    width: 270px;
    margin: 16px auto 0;
  }
}

.profile-block .profile-group .text-wrap .post {
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

.profile-block .profile-group .text-wrap .name {
  font-size: 2rem;
  letter-spacing: 0.39em;
  font-weight: 300;
  margin-top: 16px;
}

.profile-block .profile-group .text-wrap .name .en {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.profile-block .profile-group .text-wrap .year {
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-top: 24px;
}

.profile-block .career-group .text {
  max-width: 650px;
  line-height: 2;
}

.profile-block .career-list {
  position: relative;
  max-width: 650px;
  flex-grow: 1;
  padding-bottom: 45px;
}

@media screen and (max-width: 768px) {
  .profile-block .career-list {
    margin-top: 24px;
  }
}

.profile-block .career-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 68px;
  width: 1px;
  height: 100%;
  background-color: var(--color-orange);
}

.profile-block .career-list .item {
  display: flex;
  padding-top: 24px;
}

.profile-block .career-list .item .year {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  min-width: 65px;
  padding-right: 20px;
}

.profile-block .career-list .item .detail {
  position: relative;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  padding-left: 25px;
}

.profile-block .career-list .item .detail::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-orange);
}
/* ↑↑↑ profile ↑↑↑ */


/* ↓↓↓ doc-block ↓↓↓ */
.doc-block {
  padding-bottom: 80px;
  border-bottom: 1px solid #6D6D6F;
}

.conts-block:last-of-type .doc-block {
  padding-bottom: 0;
  border-bottom: none;
}

@media screen and (max-width: 768px) {
  .doc-block {
    padding-bottom: 40px;
  }
}

.doc-block .text-group  {
  padding: 0 20px;
}

@media screen and (max-width: 768px) {
  .doc-block .text-group  {
    padding: 0 10px;
  }
}

.doc-block .text-group .text {
  max-width: 728px;
  margin: 40px auto 0;
}

.doc-block .text-group .text b {
  color: var(--color-orange);
}

.doc-block .image-group.-flex {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .doc-block .image-group.-flex {
    flex-direction: column;
    padding: 0 10px;
  }
}

.doc-block .image-group.-flex .image {
  display: block;
  width: calc((100% - 32px) / 2);
}

@media screen and (max-width: 768px) {
  .doc-block .image-group.-single {
    width: calc(100% + 15px * 2);
    translate: -15px 0;
  }

  .doc-block .image-group.-flex .image {
    width: 100%;
  }

  .doc-block .image-group.-flex .image:not(:first-of-type) {
    margin-top: 24px;
  }
}
/* ↑↑↑ doc-block ↑↑↑ */

/* ↓↓↓ schedule-block ↓↓↓ */
.schedule-block {
  display: flex;
}

@media screen and (max-width: 768px) {
  .schedule-block {
    flex-direction: column;
  }
}

.schedule-block .heading {
  min-width: 225px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.schedule-block .heading .en {
  display: block;
  font-family: var(--font-lato);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-orange);
}

.schedule-block .schedule-list {
  position: relative;
  flex-grow: 1;
  padding-bottom: 45px;
}

@media screen and (max-width: 768px) {
  .schedule-block .schedule-list {
    margin-top: 24px;
  }
}

.schedule-block .schedule-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 68px;
  width: 1px;
  height: 100%;
  background-color: var(--color-orange);
}

.schedule-block .schedule-list .item {
  display: flex;
  padding-top: 24px;
}

.schedule-block .schedule-list .item .time {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  min-width: 65px;
  padding-right: 20px;
}

.schedule-block .schedule-list .item .do {
  position: relative;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  padding-left: 25px;
}

.schedule-block .schedule-list .item .do::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-orange);
}
/* ↑↑↑ schedule-block ↑↑↑ */

.search .container {
  padding-top: 80px;
}