@charset "utf-8";
header{
  display: block;
}

@media screen and (max-width: 640px) {
header {
  display: flex;
}
}

.inner{
  width: 94%;
  max-width: 120rem;
  margin: 8rem auto;
  padding: 0 2rem;
}
.m-40{
  max-width: 40rem;
}

.m-50{
  max-width: 65rem;
}



/* aspect ------------------------------------------------*/
.aspect-621-100 { aspect-ratio: 621 / 100;}
.aspect-631-411 { aspect-ratio: 631 / 411;}
.aspect-35-32 { aspect-ratio: 35 / 32;}
.aspect-559-280 { aspect-ratio: 559 / 280 ;}
.aspect-326-149 { aspect-ratio: 326 / 149 ;}
.aspect-442-419 { aspect-ratio: 442 / 419 ;}
.aspect-55-58 { aspect-ratio: 55 / 58 ;}
.aspect-649-229 { aspect-ratio: 649 / 229 ;}
.aspect-77-34 { aspect-ratio: 77 / 34 ;}
.aspect-385-401 { aspect-ratio: 385 / 401 ;}
.aspect-50-16 { aspect-ratio: 50 / 16 ;}

/* RECRUIT---------------------------------------------  */
#RECRUIT{
  margin: 20rem auto 6rem;
  background: url(../recruit/back-line.svg) bottom center;
  background-repeat: no-repeat;
}

#RECRUIT .inner{
  position: relative;
}

.recruit-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10rem;
}

.title-img{
  position: absolute;
  left: 2rem;
  top: 0;
  z-index: 4;
  animation-name:fadeDownAnime;
  animation-duration:1.8s;
  animation-fill-mode:forwards;
  opacity:0;
}



/* test */
.offsetElement {
  position: absolute;
  width: 5rem;
  height: 5rem;
  background-size: contain;
  background-image: url("../recruit/test02.svg");
  offset-path: path("m.023,154.186c22.33,1.039,227.632-6.16,252.783-79.957,3.597-10.554,4.693-45.742-13.783-63.87-13.91-13.647-44.496-12.212-57.696-1.304-20.208,16.699-17.552,57.822-13.826,67.304,33.537,85.364,319.873,88.921,459.391,73.522");
  offset-rotate: auto 90deg;
  animation: move 8s linear infinite;
}

@keyframes move {
  to {
    offset-distance: 100%;
  }
}
/* test end */


@keyframes fadeDownAnime{
  from {
  opacity: 0;
transform: translateY(-100px);
  }

  to {
  opacity: 1;
transform: translateY(0);
  }
}

.contents-txt{
  padding-top: 6rem;
  margin-right: 1rem;
}

.firstview{
  position: relative;
}

.firstview::before{
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  z-index: 11;
  background: url(../recruit/kazari01.svg);
  background-size: contain;
  width: 13rem;
  height: 10rem;
}

.firstview::after{
  position: absolute;
  content: "";
  bottom: -3rem;
  left: 0;
  z-index: 1;
  background: url(../recruit/kazari02.svg) center center no-repeat;
  background-size: contain;
  width: 16.6rem;
  height: 14.1rem;
}

@media screen and (max-width: 1100px){
  .m-50{
  max-width: 55rem;
  }

  .firstview::before {
    width: 10rem;
    height: 6rem;
  }

  .firstview::after {
    bottom: -2rem;
    width: 12.6rem;
    height: 9.1rem;
  }
}

@media screen and (max-width: 999px){
  .m-50 {
    max-width: 50rem;
  }
}

@media screen and (max-width: 800px){
  .recruit-inner {
    display: block;
    text-align: center;
  }

  #RECRUIT .inner {
    text-align: center;
  }

  .title-img {
    position: static;
  }

  .contents-txt {
    padding-top: 0;
    margin: 1rem auto 2rem;
  }
}

@media screen and (max-width: 640px){
  #RECRUIT{
    margin-top: 10rem;
  }

  .m-50 {
    max-width: initial;
    width: 100%;
  }
}



/* POINT ------------------------------------*/
.point-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100rem;
  margin: 3rem auto;
}

.point-img{
  position: relative;
}

.point-img img{
  position: inherit;
  z-index: 2;
}

.point-subtitle{
  position: absolute;
  z-index: 10;
  bottom: 0;
  left: 2rem;
  color: #fff7f7;
  padding: 0.8rem 2rem;
  width: 34rem;
  background-color: #b52322;
  font-size: 2.4rem;
  font-weight: bold;
  letter-spacing: 0.1rem;
  white-space: nowrap;
  text-align: center;
}

.point-subtitle02{
  left: auto;
  right: 4rem;
}

.point-subtitle03{
  left: 5rem;
}

/* フェードインさせるクラス */
.fadeIn {
  animation-name: fadeIn;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

.fadeIn02 {
  animation-name: fadeIn02;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

/* 右から左に移動しながらフェードイン */
.fadeInLeft,.fadeInLeft02  {
  opacity: 0;
  transform:  translate(-100px, 0);
}

/* フェードインアニメーション */
@keyframes fadeIn {
  0% {
  }
  100% {
      opacity: 1;
      transform: rotate(-5deg);
  }
}

/* フェードインアニメーション */
@keyframes fadeIn02 {
  0% {
  }
  100% {
      opacity: 1;
      transform: rotate(5deg);
  }
}


.point-text{
  width: 60%;
  margin-left: 4rem;
}

.point-text02{
  margin: 0 4rem 0 0;
}

.point-explain{
  line-height: 1.8;
  font-size: 1.6rem;
}

@media screen and (max-width: 999px){
  .m-40 {
    max-width: 34rem;
  }

  .point-text {
    text-align: center;
  }

  .point-explain {
    text-align: left;
  }

  .point-subtitle {
    width: 30rem;
    font-size: 2rem;
  }

  .point-subtitle02 {
    right: 2rem;
  }

  .point-subtitle03 {
    left: 2rem;
  }
}


@media screen and (max-width: 767px){
  #RECRUIT {
    margin-top: 12rem;
  }

  #POINT .inner{
    margin-bottom: 0;
  }

  .point-inner{
    flex-direction: column;
    margin-bottom: 7rem;
  }

  .point-inner02 {
    flex-direction: column-reverse;
  }

  .point-subtitle {
    left: 5rem;
  }

  .point-subtitle02 {
    right: 8rem;
  }

  .point-text {
    width: 100%;
    margin: 0;
  }

  .point-explain {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
  }

  .point-subtitle03 {
    left: 8rem;
  }

  .point-subtitle04 {
    right: 5rem;
  }

  .btn-block {
    margin: 0.5rem auto 0;
  }
}

@media screen and (max-width: 450px){
  #RECRUIT {
    background-size: contain;
  }

  .recruit-inner {
    padding-bottom: 0;
  }

  .m-40 {
    max-width: initial;
    width: 100%;
  }

  .point-subtitle {
    width: 24rem;
    font-size: 1.7rem;
    padding: 0.6rem 0;
    left: 3rem;
  }

  .point-subtitle03 {
    left: 5rem;
  }
}



/* DETAIL---------------------------------------------  */
#DETAIL{
  margin: 10rem auto 4rem;
  padding: 0 2rem;
  max-width: 100rem;
}

#DETAIL h2{
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.1rem;
}

.detail-table{
  border-collapse: separate;
  border-spacing: 0 3rem;
  width: 100%;
  margin-top: 0.5rem;
}

.detail-table th.th-title{
  width: 18%;
  padding: 1.2rem 1.5rem;
  background-color: #C0B395;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 0.25rem;
  text-align: center;
}

.detail-table td{
  background-color: #fffcfc;
  padding: 1.4rem 2rem;
  font-size: 1.6rem;
  line-height: 1.9;
  border: 0.1rem solid #C0B395;
}

.dt-title,
h3.detail-title{
  font-weight: bold;
  letter-spacing: 0.1rem;
  font-size: 1.1em;
}

.mt-05{
  margin-top: 0.5rem;
}

.list-dt{
  position: relative;
  padding-left: 1rem;
  margin-left: 0.8rem;
}

.list-dt::before{
  position: absolute;
  content: "\25BD";
  left: -0.8rem;
}

.list-li{
  position: relative;
  padding-left: 1rem;
  margin-left: 1rem;
}

.list-li::before{
  position: absolute;
  left: 0;
  top: 1.4rem;
  content: "";
  background-color: #808080;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
}

.btn-block{
  margin: 2rem auto;
  text-align: center;
}

.recruit-btn{
  display: inline-block;
  padding: 0.6em 3em;
  border-radius: 2.2rem;
  letter-spacing: 0.1rem;
  font-size: 1.7rem;
  font-weight: bold;
  color: #fff;
  background: #BF1F21;
  border: solid 0.4rem #fff;
  white-space: nowrap;
}

a.recruit-link{
  border-bottom: 0.1rem solid #dadada;
  padding-bottom: 0.2rem;
  margin-right: 0.5rem;
}

@media screen and (max-width: 767px){
  .detail-table {
    border-spacing: 0 2rem;
  }

  .detail-table th.th-title {
    font-size: 1.7rem;
    letter-spacing: 0.1rem;
    white-space: nowrap;
  }
}

@media screen and (max-width: 450px){
  .detail-table tr{
    display: flex;
    flex-direction: column;
  }

  .detail-table th.th-title{
    width: 100%;
  }

  .detail-table td {
    width: 100%;
    padding: 2rem;
  }
}

