/* ヘッダー */
.header {
  position: sticky;
  z-index: 100;
  top: 0;
}
.navbar {
  border-top: solid 3px #b83937;
  border-bottom: solid 1px #f1f1f1;
  background-color: white;
  opacity: 0.95;
}
.nav-link__recruit {
  vertical-align: middle;
  width: 140px;
  padding-top: 12px;
  text-align: center;
  border: 2px solid #b83937;
  color: #b83937;
}

.nav-link__recruit:hover {
  color: white;
  background-color: #b83937;
}

.nav-link__contact {
  vertical-align: middle;
  width: 140px;
  padding-top: 12px;
  text-align: center;
  border: 2px solid orangered;
  color: white;
  background-color: orangered;
}


.nav-link__contact:hover {
  color: white;
  border: 2px solid #b83937;
  background-color: #b83937;
}

.nav-link__item {
  vertical-align: middle;
  position: relative;
  padding-bottom: 6px;
}


.nav-link__item::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #b83937;
  bottom: -0.5px;
  transform: scale(0,1);
  transform-origin: left;
  transition:  0.5s ;
}

.nav-link__item:hover::after {
  transform: scale(1,1);
}



/* メイン */
/* .main__title {
  margin-top: 48px;
  text-align: center;
}

.main__sub_title {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #b83937;
  opacity: 1;
  padding-bottom: 16px;
  font-size: x-large;
  margin-bottom: 48px;
}

.main__sub_title::before,
.main__sub_title::after {
  content: '';
  width: 8px;
  height: 3px;
  background: #b83937;
}

.main__sub_title::before {
  margin-right: 16px;
}

.main__sub_title::after {
  margin-left: 16px;
}  */


/* タイトル試作1 */

.main__title {
  position: relative;
  padding-top: 65px;
  padding-bottom: 80px;
  font-size: 26px;
  text-align: center;
  margin-bottom: 40px;
}

.main__title span {
  position: relative;
  top: 20px;
  z-index: 2;
  color: #000;
  text-shadow: 1px 1px 0 #fff,
  -1px 1px 0 #fff,
  1px -1px 0 #fff,
  0 1px 0 #fff,
  0 -1px 0 #fff,
  -1px 0 0 #fff,
  1px 0 0 #fff;
}

.main__title::before {
  content: attr(data-en);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(184 57 55 /.3);
  opacity: .5;
  font-size: 100px;
  font-style: italic;
  font-family: "Montserrat", sans-serif;
  z-index: 1;
}

.main__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%) rotate(30deg);
  width: 1px;
  height: 40px;
  background-color: #b83937;
}


/* フッター */
.footer {
  background-color: #b83937;
  height: 320px;
  display: flex;
  flex-wrap: nowrap;
}
.footer-copyright {
  width: 140px;
}

.footer-copyright__img {
  width: 80px;
  height: 80px;
  margin: 80px 30px 5px 30px;
}

.footer-copyright__name {
  width: 140px;
  text-align: center;
  color: white;
  font-weight: bold;
  margin: 0 0 0 0; 
}

.footer-link {
  margin: 60px 0px 5px 30px;
}

.footer-link__link {
  list-style-type: none;
  margin-top: 20px;
}

.footer-link__item {
  position: relative;
  width: 160px;
  text-decoration: none;
  color: white;
}

.footer-link__item::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: white;
  bottom: -1px;
  transform: scale(0,1);
  transform-origin: left;
  transition:  0.5s ;
}

.footer-link__item:hover::after {
  transform: scale(1,1);
}




@media screen and (max-width: 768px)  {
  .nav-link__item {
    width: 140px;
    position: relative;
    text-align: center;
  }
  
  .nav-link__contact {
    padding-top: 4px;
  }

  .nav-link__recruit {
    margin-bottom: 8px;
    padding-top: 4px;
  }

  /* フッターのレスポンシブ対応 */
  .footer {
    height: auto;
    flex-direction: column;
    padding: 32px 16px;
  }

  .footer-copyright {
    width: 100%;
    text-align: center;
    margin-bottom: 24px;
  }

  .footer-copyright__img {
    margin: 0 auto 16px auto;
  }

  .footer-copyright__name {
    width: 100%;
  }

  .footer-link {
    margin: 0;
    width: 100%;
  }

  .footer-link__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 0;
  }

  .footer-link__link {
    margin: 0;
  }

  .footer-link__item {
    width: auto;
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .main__title {
    padding-top: 48px;
    padding-bottom: 60px;
    font-size: 16px;
  }

  .main__title::before {
    font-size: 60px;
  }

  .main__title::after {
    height: 30px;
  }

  .footer {
    padding: 24px 12px;
  }

  .footer-copyright__img {
    width: 60px;
    height: 60px;
  }

  .footer-link__list {
    gap: 12px;
  }

  .footer-link__item {
    font-size: 12px;
  }
}

@media screen and (max-width: 360px) {
  .main__title {
    padding-top: 40px;
    padding-bottom: 50px;
    font-size: 14px;
  }

  .main__title::before {
    font-size: 50px;
  }

  .main__title::after {
    height: 25px;
  }

  .footer {
    padding: 20px 8px;
  }

  .footer-copyright__img {
    width: 50px;
    height: 50px;
  }

  .footer-link__item {
    font-size: 11px;
  }
}
