/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  color: #333333;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}
/* header */
header {
  width: 100%;
  height: 120px;
  position: fixed;
  top: 0;
  padding: 1rem 0;
  margin: 0;
  z-index: 5000;
  /* background-color: rgba(255, 251, 241, 0.95); */
  background-color: rgba(255, 255, 255, 0.95);
}
@media screen and (max-width: 480px) {
  header {
    height: 80px;
  }
}

header img {
  width: 100%;
}

header .h-container {
  width: 100%;
  padding: 0 3rem;
  max-width: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

header .right-menu {
  width: 40%;
  display: flex;
  flex-direction: row;
  justify-content: right;
  align-items: center;
  position: relative;
  gap: 2rem;
}

header h1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 25%;
}
.h-logo {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.h-button {
  width: 45%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.h-button img {
  width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
}

.hamburger-container {
  z-index: 1000;
}

/* ハンバーガーアイコン */
.hamburger {
  background-color: rgba(0, 0, 0, 0);
  color: #ee887a;
  border: none;
  padding: 0px;
  width: 55px;
  height: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.hamburger .line {
  width: 40px;
  height: 1px;
  background-color: #ee887a;
  margin: 6px 0;
  transition: all 0.3s ease;
}

.hamburger .label {
  font-size: 10px;
  margin-top: 0px;
  color: #fbe1b5;
}

/* ナビメニュー */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #faf6eb;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  animation: fadeIn 0.3s ease forwards;
}

.nav-menu.active {
  display: flex;
}

.close-button {
  position: absolute;
  top: 0px;
  right: 0px;
  background: none;
  border: 2px solid #e08970;
  color: #e08970;
  font-size: 28px;
  width: 44px;
  height: 44px;
  line-height: 1;
  cursor: pointer;
}

/* メニュー内部 */
.nav-content {
  text-align: center;
  max-width: 940px;
}
.nav-content .logo {
  width: 250px;
  margin-bottom: 3rem;
}
.recruit-title {
  font-size: 14px;
  color: #3d4b79;
  margin-bottom: 30px;
  letter-spacing: 2px;
}
.nav-col-wrapper {
  display: flex;
  flex-direction: row;
  gap: 8rem;
}
.nav-columns {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
}
.nav-columns > li {
  font-size: 18px;
  margin: 2rem 0;
  font-weight: bold;
  color: #666666;
}
.nav-columns > li > a {
  color: #666666;
}
.nav-columns > li ul {
  margin-top: 1.5rem;
  margin-left: 2rem;
}
.nav-columns > li ul li {
  font-size: 16px;
  font-weight: normal;
  color: #666666;
  margin: 6px 0;
}
.nav-columns > li ul li a {
  color: #666666;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

header nav {
  display: none;
}

.sp-visible {
  display: none;
}

/* main */
main {
  margin-top: 120px;
  overflow: hidden;
  text-align: center;
}
@media screen and (max-width: 480px) {
  main {
    margin-top: 80px;
  }
}

#toft {
  padding-top: 180px;
  margin-top: -100px;
}
@media screen and (max-width:480px) {
  #toft{
    padding-top: 180px;
    margin-top: -150px;
  }
}

.bg_wave1,
.bg_wave2 {
  position: relative;
  display: inline-block;
}

.bg_wave1 span {
  content: url("/wp-content/themes/recruit/image/career_model/bg_01_h.png");
  position: absolute;
  top: -100px;
  right: -1500px;
}

.bg_wave2 span {
  content: url("/wp-content/themes/recruit/image/career_model/bg_02_h.png");
  position: absolute;
  top: -90px;
  right: -1500px;
}

.bg_wave span {
  content: "";
  display: block;
  background-image: url("/wp-content/themes/recruit/image/career_model/bg_01_h.png");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100px;
  position: absolute;
  left: 0;
  top: 220px;
}

/* bread-crumb */
.bread-crumb {
  position: absolute;
  top: 130px;
  left: 6rem;
}
@media screen and (max-width: 960px) {
  .bread-crumb {
    top: 130px;
    left: 3rem;
  }
}
@media screen and (max-width: 480px) {
  .bread-crumb {
    top: 90px;
    left: 1rem;
  }
}
.bread-crumb p {
  font-size: 1rem;
}
.bread-crumb p a {
  text-decoration: none;
}
.bread-crumb p a b {
  color: #ef8f81;
  font-weight: normal;
}

/* footer */

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: top;
  padding: 5rem 2rem;
  margin-top: -2.5vw;
  position: relative;
  z-index: 10;
  background-color: #fff;
}

footer div {
  width: 23%;
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: left;
  gap: 1rem;
}

footer div img {
  width: 50%;
}

footer div p {
  font-size: 1rem;
}

footer div .access {
  display: flex;
  flex-direction: column;
  align-items: left;
  font-weight: normal;
  gap: 0rem;
  margin: 0 0 3rem;
}

footer div .f-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 1rem;
  font-weight: bold;
  letter-spacing: 0.12rem;
}

footer div h4 {
  color: #666666;
}
footer div li {
  color: #666666;
}
footer div .f-menu li a {
  color: #666666;
}

footer div p{
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

footer div p a{
  display: flex;
  align-items: center;
  justify-content: center;
}

footer div ul li ul {
  font-weight: normal;
  padding: 1rem 0 0 1.5rem;
  gap: 0.5rem;
}

footer div .contact {
  width: 70%;
}

footer .contact img {
  width: 100%;
}

footer .sp-visible {
  display: none;
}


.to-top {
  position: fixed;
  right: 2%;
  top: 90%;
  z-index: 1000;
  background: rgba(153, 153, 153, 0.6);
  border-radius: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.to-top div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
}

.to-top div span {
  font-size: 25px;
  font-weight: bold;
  color: #fff;
  position: absolute;
  top: 17px;
  transform: scaleX(120%);
}
.regi{
  width: 30px;
  height: 30px;
}


/* ------------SP Layout------------ */

@media screen and (max-width: 960px) {
  header {
    justify-content: space-around;
    padding: 0;
    background-color: #fff;
  }

  header .h-container {
    padding: 0rem 0.5rem 0 1rem;
  }

  header h1 {
    padding-top: 0.5rem;
    width: 45%;
  }

  .nav-content .logo {
    width: 250px;
    margin-bottom: 2rem;
  }

  .nav-col-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0rem;
  }

  .nav-columns {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    text-align: center;
  }
  .nav-columns > li {
    font-size: 18px;
    margin: 1rem 0;
    font-weight: bold;
  }
  .nav-columns > li ul {
    margin: 0 0 -2rem 0;
  }
  .nav-columns > li ul li {
    font-size: 16px;
    font-weight: normal;
    margin: 6px 0;
  }

  footer {
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  footer .sp-f-logo {
    width: 50%;
    margin-bottom: 0rem;
    max-width: 250px;
  }

  footer div {
    width: 100%;
    font-size: 0.9rem;
    margin-left: 0.5rem;
  }

  footer div ul li ul li {
    color: #666666;
    margin-top: 0.5rem;
  }

  footer div ul li {
    color: #666666;
    margin-top: -0.2rem;
  }

  footer .sp-none {
    display: none;
  }

  footer .sp-visible {
    display: block;
  }
  footer .under-tx {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
  }

  footer .under-tx a{
    display: flex;
    align-items: center;
  }


  footer .copy-w {
    font-size: 0.7rem;
    margin: auto;
    text-align: center;
  }



  footer div .f-menu {
    width: calc(100% - 6rem);
  }

  footer .f-menu li {
    width: 100%;
  }

  footer .f-menu li ul {
    width: 100%;
  }

}
@media screen and (max-width: 480px) {
  .find-wk {
    position: fixed;
    width: calc(100% - 120px);
    max-width: 360px;
    bottom: 3%;
    left: 50%;
    transform: translateX(-60%);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .find-wk img {
    width: 100%;
  }
    .sp-none {
    display: none;
  }

  .sp-visible {
    display: block;
  }
}
