/* ===============
 # base
=============== */
/* tag */
html{
  scroll-behavior: smooth;
}
body{
  font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: #000;
  position: relative;
  width: 100%;
  overflow-x: hidden;
  background: url(/_assets/images/recruit/_parts/noise-img.png) repeat;
}
a{text-decoration: none;}

/* page background */
main{
  background-blend-mode: color-burn;
}

/* class */
.spb{
  display: none;
  @media screen and (max-width:767px){
    display: block;
  }
}
.pcb{
  display: block;
  @media screen and (max-width:767px){
    display: none;
  }
}
.spi{
  display: none;
  @media screen and (max-width:767px){
    display: inline-block;
  }
}
.pci{
  display: inline-block;
  @media screen and (max-width:767px){
    display: none;
  }
}
.spb-t{
  display: none;
  @media screen and (max-width:920px){
    display: block;
  }
}
.pcb-t{
  display: block;
  @media screen and (max-width:920px){
    display: none;
  }
}
.pb100{
  padding-bottom: 100px;
  @media screen and (max-width:767px){
    padding-bottom: 0;
  }
}

/* ===============
 # style class
=============== */
/* blank link icon */
.b-link{
  &::after{
    content: "";
    display: inline-block;
    width: 14px;
    height: 15px;
    background: url(/_assets/images/recruit/_parts/icon-b_link.svg) no-repeat;
    margin-left: 8px;
  }
}

/* ===============
 # block class
=============== */
/* btn base */
.btn-base{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #181818;
  border-radius: 200px;
  padding: 8px 20px;
  @media screen and (max-width: 920px){
    padding: 8px 16px;
  }
  &::after{
    content: '';
    display: block;
    width: 20px;
    height: 10px;
    background: url(/_assets/images/recruit/_parts/arrow-long-gray.svg) no-repeat 0 0;
  }
  span{
    overflow: hidden;
    color: transparent;
  }
  &.arrow-wh::after{
    background: url(/_assets/images/recruit/_parts/arrow-long-white.svg) no-repeat 0 0;

  }
}
.btn-white{
  background: #fff;
  color: #000;
}
.btn-black{
  background: #181818;
  color: #fff;
}
.btn-transparent{
  background: transparent;
  color: #000;
}

/* FV base */
.fv-area{
  text-align: right;
  padding-top: 58px;
}
.page-title{
  padding-right: 3.125%;
  font-weight: 700;
  line-height: 1;
  h1{
    font-size: 70px;
    @media screen and (max-width: 767px){
      font-size: 28px;
    }
  }
}
.page-title-en{
  font-family: futura-pt, sans-serif;
  font-weight: 700;
  color: #000;
  font-size: 15px;
  letter-spacing: .7px;
  margin-top: 8px;
  margin-bottom: 32px;
  padding-right: 3.125%;
  @media screen and (max-width: 767px){
    font-size: 12px;
    margin-bottom: 20px;
  }
}

/* breadcrumb base */
.breadcrumb{
  padding-right: 3.125%;
  padding-bottom: 100px;
  @media screen and (max-width: 767px){
    padding-bottom: 0;
  }
  ul{
    display: flex;
    gap: 16px;
    justify-content: end;
  }
  li{
    font-size: 10px;
    color: #000;
    letter-spacing: .5px;
    &:first-child{
      color: #959595;
      display: flex;
      align-items: center;
      gap: 16px;
      &::after{
        content: "";
        display: inline-block;
        height: 1px;
        width: 44px;
        background: #959595;
      }
    }
    a{
      color: #959595;
      &:hover{
        text-decoration: underline;
      }
    }
  }
}

/* flashText base */
.footer-text{
  font-size: clamp(24px, 7.25vw, 150px);
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
  background: #000;
  padding: 0 20px;
  border-top: 1px solid #fff;
  line-height: 1.6;
  @media screen and (max-width: 767px){
    font-size: 24px;
  }
  .flash-text-words{
    word-break: keep-all;
    text-align: center;
  }
}

/* content */
.content{
  margin: 100px auto 0;
  width: 100%;
  @media screen and (max-width: 920px){
    margin-top: 48px;
  }
  &.col-2{
    max-width: 1440px;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 20px;
    margin: 100px auto 0;
    padding-bottom: 100px;
    @media screen and (max-width: 920px){
      display: block;
      margin-top: 48px;
      padding-bottom: 56px;
    }
  }
}

/* content main */
.content-main{
  width: 100%;
  max-width: 960px;
  margin-left: 44px;
  @media screen and (max-width: 920px){
    width: calc(100% - 88px);
    margin: 0 auto;
  }
  @media screen and (max-width: 767px){
    width: calc(100% - 40px);
    margin: 0 auto;
  }
}
/* content navi */
.content-nav{
  width: 234px;
  flex-shrink: 0;
  box-sizing: border-box;
  ul{
    position: sticky;
    top: 0;
    padding: 60px 45px;
    background: rgba(248, 247, 245, 1);
    border-radius: 5px;
  }
  a{
    font-size: 16px;
    font-weight: 500;
    color: #000;
    padding-bottom: 4px;
    margin-bottom: 12px;
    display: block;
    &.is-active{
      border-bottom: 1px solid #000;
    }
    &:hover{
      border-bottom: 1px solid #00f;
    }
  }
  span{
    font-family: futura-pt, sans-serif;
    font-weight: 700;
    margin-right: 10px;
  }
}

/* content inner title */
.content-title{
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 5.6px;
  font-feature-settings: "palt" on;
  line-height: 1.5;
  text-align: center;
  margin-top: 100px;
  &:first-child{
    margin-top: 0;
  }
  @media screen and (max-width: 767px){
    margin-top: 60px;
  }
}
.content-title-sub-en{
  font-family: futura-pt, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-align: center;
  margin-bottom: 50px;
  color: #959595;
  @media screen and (max-width: 767px){
    margin-bottom: 28px;
  }
}

/* accordion */
.acc-block{
  background: #fff;
  padding: 12px 20px;
  margin-bottom: 12px;
  position: relative;
  border-radius: 5px;
  cursor: pointer;
  @media screen and (max-width: 767px){
    padding: 12px 56px 12px 20px;
  }
  .a{
    max-height: 0;
    overflow: hidden;
    transition: all .4s ease;
    margin-top: 0;
    margin-right: 40px;
    @media screen and (max-width:767px){
      margin-right: 0;
    }
    a{
      color: #000;
      text-decoration: underline;
      &:hover{
        text-decoration: none;
      }
    }
    &.is-open{
      margin-top: 20px;
      max-height: 300px;
    }
  }
  .open-icon{
    &::before{
      content: "";
      display: block;
      width: 20px;
      height: 1px;
      background: #000;
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
    }
    &::after{
      content: "";
      display: block;
      height: 20px;
      width: 1px;
      background: #000;
      position: absolute;
      right: 30px;
      top: 50%;
      transform: translateY(-50%);
      transition: all .3s;
    }
    &.is-open{
      &::after{
        opacity: 0;
        width: 20px;
        height: 1px;
        right: 20px;
      }
    }
  }
}

/* interview */
.interview-content{
  background: url(/_assets/images/recruit/_parts/bg-line-s.png);
  color: #fff;
  border-radius: 20px 20px 0 0;
  padding: 112px 100px;
  box-sizing: border-box;
  border-top: 1px solid #fff;
  @media screen and (max-width: 767px){
    flex-direction: column;
    padding: 40px 20px 50px;
    &:last-child{
      padding-bottom: 40px;
    }
  }
}
.interview-content-inner{
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  @media screen and (max-width: 767px){
    flex-direction: column;
  }
  .interview-num{
    margin-top: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    line-height: 1.3;
    @media screen and (max-width: 767px){
      font-size: 18px;
      position: relative;
      &.open-icon{
        &::before{
          content: "";
          display: block;
          width: 20px;
          height: 1px;
          background: #FFF;
          position: absolute;
          right: 0;
          top: 50%;
          transform: translateY(-50%);
        }
        &::after{
          content: "";
          display: block;
          height: 20px;
          width: 1px;
          background: #fff;
          position: absolute;
          right: 10px;
          top: 50%;
          transform: translateY(-50%);
          transition: all .3s;
        }
        &.is-open{
          &::after{
            opacity: 0;
            width: 20px;
            height: 1px;
            right: 0;
          }
        }
      }
    }
    span{
      font-size: 36px;
      font-family: futura-pt, sans-serif;
      margin-right: 32px;
      @media screen and (max-width: 767px){
        font-size: 20px;
        margin-right: 12px;
      }
    }
  }
  .interview-cat{
    font-size: 100px;
    font-family: futura-pt, sans-serif;
    line-height: 1;
    word-break: break-all;
    @media screen and (max-width: 767px){
      font-size: 42px;
    }
  }
  .interview-text{
    margin-top: 20px;
    @media screen and (max-width: 767px){
      margin-top: 12px;
    }
  }
  .interview-text-title{
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin-top: 20px;
    @media screen and (max-width: 767px){
      font-size: 20px;
      margin-top: 12px;
    }
  }
}
.interview-acc-block{
  @media screen and (max-width: 767px){
    max-height: 0;
    overflow: hidden;
    transition: all .4s ease;
    margin-top: 0;
    cursor: pointer;
    &.is-open{
      max-height: 10000px;
    }
  }
}

/* scroll-y icon */
.scroll-y_icon{
  width: 94px;
  height: 94px;
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  img{width: 100%;}
}

/* tile */
.tiles{
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  @media screen and (max-width: 1160px){
    justify-content: center;
  }
  @media screen and (max-width: 767px){
    width: calc(100% - 40px);
    margin: 0 auto;
    gap: 16px;
  }
}
.tile-item{
  width: calc((100% - 108px) / 4);
  min-width: 260px;
  background: #E3E1DA;
  text-align: center;
  box-sizing: border-box;
  padding: 0 20px 20px;
  border-radius: 5px;
  display: none;
  @media screen and (max-width: 767px){
    width: calc((100% - 16px) / 2);
    min-width: auto;
    padding: 0 10px 10px;
  }
  h3{
    margin: 10px 0 5px;
    @media screen and (max-width: 767px){
      font-size: 14px;
    }
  }
  p{
    text-align: left;
    font-size: 12px;
    @media screen and (max-width: 767px){
      font-size: 11px;
    }
  }
  &.is-active{
    display: block;
  }
}

/* card */
.cards-area{
  display: flex;
  gap: 48px;
  margin-top: 80px;
  width: 100%;
  @media screen and (max-width: 767px){
    margin-top: 48px;
    flex-direction: column;
    gap: 40px;
  }
}

.type-card{
  width: 100%;
  max-width: 400px;
  @media screen and (max-width: 767px){
    max-width: 100%;
  }
  .type-card-img{
    width: 100%;
    img{width: 100%;}
  }
  .type-card-title{
    font-size: 20px;
    font-weight: 700;
    margin-top: 28px;
    @media screen and (max-width: 767px){
      font-size: 18px;
      margin-top: 12px;
    }
  }
  .type-card-read{
    margin-top: 8px;
    @media screen and (max-width: 767px){
      margin-top: 0;
    }
  }
}

/* square */
.squarebox-area{
  display: flex;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  margin-top: 80px;
  @media screen and (max-width: 920px){
    margin-top: 48px;
    flex-direction: column;
    gap: 12px;
  }
}
.type-squarebox{
  aspect-ratio: 1 / 1;
  background: #f2f1ef;
  border-radius: 5px;
  position: relative;
  width: 100%;
  max-width: calc((100% - 56px) / 3);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .4s;
  box-sizing: border-box;
  border: 1px solid #f2f1ef;
  @media screen and (max-width: 767px){
    aspect-ratio: 2.233 / 1;
    max-width: 100%;
  }
  &::after{
    content: "";
    width: 28px;
    height: 28px;
    background: #000;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    position: absolute;
    bottom: 8px;
    right: 8px;
  }
  .type-squarebox-title{
    font-size: 20px;
    font-weight: 700;
    color: #000;
    text-align: center;
    transition: all .4s;
    @media screen and (max-width: 767px){
      font-size: 18px;
    }
  }
  .type-squarebox-read{
    width: calc(100% - 48px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    margin-top: 0;
    opacity: 0;
    transition: all .4s;
  }
  @media (hover: hover){
    &:hover{
      background: #000;
      border: 1px solid #fff;
      &::after{
        background: #fff;
        clip-path: polygon(0 0, 100% 0, 0 100%);
        bottom: auto;
        right: auto;
        top: 8px;
        left: 8px;
      }
      .type-squarebox-title{
        opacity: 0;
      }
      .type-squarebox-read{
        opacity: 1;
      }
    }
  }
  &.is-tileHover{
    background: #000;
    border: 1px solid #fff;
    &::after{
      background: #fff;
      clip-path: polygon(0 0, 100% 0, 0 100%);
      bottom: auto;
      right: auto;
      top: 8px;
      left: 8px;
    }
    .type-squarebox-title{
      opacity: 0;
    }
    .type-squarebox-read{
      opacity: 1;
    }
  }
}


/* scroller(to scroll) */
.scrollerInfo-icon{
  width: 127px;
  height: 127px;
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #808080;
  border-radius: 50%;
  transform: translateX(0) rotate(0deg);
  transform-origin: center;
  transition: all .5s cubic-bezier(.25, .46, .45, .94);
  z-index: 3;
  background: #fff;
  @media screen and (max-width: 767px){
    width: 90px;
    height: 90px;
    right: 8px;
    bottom: 32px;
  }
  &.hide {
    transform: translateX(200px) rotate(360deg);
  }
  p{
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    position: relative;
    animation: rotate 3s linear infinite;
  }
  .scrollerInfo-dots{
    background: #808080;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: block;
    position: absolute;
    left: 50%;
    bottom: -26px;
    transform: translateX(-50%);
  }
}
@keyframes rotate {
  0% {transform: rotate(0deg);}
  20% {transform: rotate(360deg);}
  100% {transform: rotate(360deg);}
}


/* horizontal background */
.horizontal-section {
  position: relative;
  height: 336px;
  display: flex;
  overflow: hidden;
}
.horizontal-col {
  flex: 1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: background-position .3s linear;
  &.horizontal-left{
    background: url("/_assets/images/recruit/_parts/scroll-slide02.png") no-repeat 50% 50%;
    @media screen and (max-width: 767px){
      background: url("/_assets/images/recruit/_parts/scroll-slide02.png") no-repeat 60% 50%;
    }
    &.horizontal-message{
      background: url("/_assets/images/recruit/_parts/scroll-slide04.png") no-repeat 50% 50%;
      @media screen and (max-width: 767px){
        background: url("/_assets/images/recruit/_parts/scroll-slide04.png") no-repeat 45% 50%;
      }
    }
  }
  &.horizontal-right{
    background: url("/_assets/images/recruit/_parts/scroll-slide01.png") no-repeat 50% 50%;
    @media screen and (max-width: 767px){
      background: url("/_assets/images/recruit/_parts/scroll-slide01.png") no-repeat 70% 50%;
    }
    &.horizontal-message{
      background: url("/_assets/images/recruit/_parts/scroll-slide03.png") no-repeat 50% 50%;
      @media screen and (max-width: 767px){
        background: url("/_assets/images/recruit/_parts/scroll-slide03.png") no-repeat 50% 50%;
      }
    }
  }
}
