@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;
}

.sp-block{
  display: none;
}

/* aspect ------------------------------------------------*/
.aspect-495-80 { aspect-ratio: 495 / 80;}

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

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

.title-img{
  text-align: center;
  animation-name:fadeDownAnime;
  animation-duration:1.8s;
  animation-fill-mode:forwards;
  opacity:0;
}


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

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

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

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

.table-title{
  position: relative;
  font-size: 2.2rem;
  font-weight: bold;
  padding-left: 6.5rem;
  letter-spacing: 0.1rem;
  margin: 4rem 0 1.5rem;
}

.table-title::before{
  position: absolute;
  left: 1.5rem;
  top: 0.5rem;
  content: "";
  background: url(../img/sensu.svg) no-repeat;
  background-size: contain;
  width: 4rem;
  height: 2rem;
}

.detail-table{
  border-collapse: collapse;
  margin: 0 auto 4rem;
  border: 0.1rem solid #C0B395;
  background-color: #fffcfc;
}

.detail-table th{
  padding: 1.2rem 0.6rem;
  letter-spacing: 0.1rem;
  text-align: center;
  border: 0.1rem solid #C0B395;
}

.detail-table th.menu-red{
  background-color: #b52322;
  border: 0.1rem solid #b52322;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
}

.detail-table td{
  padding: 1.2rem;
  border: 0.1rem solid #C0B395;
}

td.caution{
  position: relative;
}

td.caution::before{
  position: absolute;
  top: 1.3rem;
  left: -2.5rem;
  content: "\203B";
  color: #b52322;
  font-weight: bold;
  font-size: 1.6rem;
}

.caution-text{
  color: #b52322;
  padding-left: 2rem;
}



/* niku01------------------------ */
.niku01,.niku02{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}

.niku01 .detail-table,
.niku02 .detail-table{
  width: calc(50% - 3rem);
}

.niku01::after{
  content:"";
  display: block;
  width: 50%;
}

.niku02 .reitou,
.niku03 .detail-table,
.niku04 .detail-table{
  width: calc(100% - 3rem);
}


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

.terms-sub-cnt {
  position: relative;
  margin: 1em 0 0 3em;
  counter-increment: sub-cnt;
}

.terms-sub-cnt::before {
  position: absolute;
  top: 0;
  left: -2em;
  width: 2em;
  display: block;
  content: "（" counter(sub-cnt) "）";
}

.red{
  color:#b52322;
  font-weight: bold;
}

.telfax{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  border: 0.2rem dotted #b52322;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 60rem;
  background: #fff;
  font-size: 1.8rem;
  line-height: 2.0;
}

.telfax dt{
  width: 50%;
  text-align: center;
}

.telfax dd{
  width: 50%;
  font-size: 1.4em;
}

.telbox-tel{
  border-bottom: 0.1rem solid #b52322;
  padding-bottom: 0.2rem;
  color:#b52322;
  font-weight: bold;
}

.telbox-tel02{
margin: 0 0.5rem;
}

@media screen and (max-width: 767px){
  .niku01 .detail-table, .niku02 .detail-table,.detail-table {
    width: 94%;
  }
}

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

@media screen and (max-width: 500px){
  .niku01 .detail-table, .niku02 .detail-table,.detail-table,.niku02 .reitou, .niku03 .detail-table, .niku04 .detail-table {
    width: 100%;
  }

  td.caution::before {
    left: -1.5rem;
    font-size: 1rem;
  }

  .detail-table td {
    padding: 0.6rem 1.2rem;
  }

  .caution-text {
    padding-left: 0;
  }

  .table-title {
    padding-left: 4.5rem;
  }

  .table-title::before {
    left: 0;
    width: 3.5rem;
    height: 2rem;
  }

  .terms-sub-cnt {
    margin: 0.8em 0 0 2em;
  }

  .telfax dt {
    width: 30%;
    text-align: center;
  }

  .telfax dd {
    width: 70%;
    font-size: 1.3em;
    text-align: center;
  }

  .sp-block{
  display: block;
  }
}