.main-container h2 {
  font-size: calc(var(--s-val) * 4);
  line-height: 1;
  margin-bottom: 1rem;
}

/*===kv===*/

.kv-area {
  padding: 3rem 0 18rem;
  background-color: var(--color-gray);
  margin-bottom: -6rem;
}

.kv-content {
  position: relative;
  width: 90%;
  margin: 0 auto;
}

.kv-text {
  max-width: 1000px;
  display: flex;
  line-height: 1;
  align-items: flex-end;
  gap: 20px;
  margin: 0 auto;
}

#breadcrumbs {
  max-width: 1200px;
  margin: 0 auto 5rem;
}

.kv-text h1 {
  font-size: calc(var(--s-val) * 4);
}

.kv-text p {
  font-size: calc(var(--s-val) * 1.8);
  color: rgba(206, 202, 197, 0.7);
}

@media screen and (max-width: 768px) {
  #breadcrumbs {
    margin: 0 auto 3rem;
  }

  .kv-area {
    padding: 1.5rem 0 10rem;
  }

  .kv-content {
    width: 83%;
    margin: 0 auto;
  }

  .kv-text {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .kv-text h1 {
    font-size: calc(var(--s-val) * 2.8);
  }
}

/*===kv===*/

/*===top===*/

.top-container {
  max-width: 1200px;
  margin: 0 auto 18rem;
}

/*===features===*/

.features-wrapper {
  margin-bottom: 23rem;
  position: relative;
}

.features-last_content {
  margin-bottom: 25rem;
}

.features-wrapper::before {
  content: "";
  background-color: #f9f8f7;
  width: 83%;
  height: 100%;
  position: absolute;
  z-index: -1;
  padding: 8rem 0;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
}

.features-content {
  width: 85%;
  display: flex;
  align-items: center;
  gap: calc(var(--s-val) * 10);
}

.features-content_01,
.features-content_03 {
  justify-content: flex-end;
  margin: 0 0 0 auto;
}

.features-photo {
  width: 55%;
}

.features-text {
  width: 50%;
  margin-top: 3rem;
}

.features-title h3 {
  font-size: calc(var(--s-val) * 3.2);
  color: #997335;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.features-detail {
  font-size: calc(var(--s-val) * 1.6);
}

.features-title {
  font-size: calc(var(--s-val) * 3.2);
}

.features-detail {
  font-size: calc(var(--s-val) * 1.6);
  line-height: 2;
}

/*===working===*/

.working-area {
  position: relative;
}

.working-area::before {
  content: "";
  background-color: #f3e8d8;
  width: 100%;
  height: 87%;
  position: absolute;
  bottom: 0;
  z-index: -1;
}

.working-content {
  display: flex;
  gap: calc(var(--s-val) * 3);
  max-width: 1200px;
  margin: 0 auto 13rem;
  position: relative;
  width: 90%;
}

.working-list {
  background-color: #fff;
}

.working-list_text {
  padding: 3rem;
}

.working-list_text dt {
  font-size: calc(var(--s-val) * 2.8);
  color: #997335;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: bold;
}

.working-list_text dd {
  font-size: calc(var(--s-val) * 1.4);
  line-height: 2;
  width: 85%;
  margin: 0 auto;
}

.working-detail {
  text-align: center;
  padding-bottom: 15rem;
}

.working-title {
  margin-bottom: 5rem;
}

.working-title h2 {
  font-size: calc(var(--s-val) * 4);
}

.working-title p {
  font-size: calc(var(--s-val) * 1.8);
  color: rgba(206, 202, 197, 0.7);
}

.working-style {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  gap: calc(var(--s-val) * 1);
  width: 90%;
}

.working-style li {
  background-color: #fff;
  font-size: calc(var(--s-val) * 1.6);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  width: calc(20% - calc(var(--s-val) * 0.8));
  text-align: center;
  justify-content: center;
  flex-direction: column;
  gap: calc(var(--s-val) * 2);
}

.working-style li span {
  height: 20%;
  display: flex;
  align-items: center;
  line-height: 1.5;
}

.working-style li img {
  height: 30%;
  width: auto;
}

/*===ビデオエリア===*/

.video-area {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  padding: 17rem 0 18rem;
  width: 90%;
}

.video-content {
  width: 50%;
  margin-left: 3rem;
}

.video-wrapper {
  width: 64%;
  position: relative;
}

.video-wrapper video {
  width: 100%;
}

.video-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  background-color: #f3e8d8;
  z-index: -1;
  left: 13%;
  bottom: -8%;
}

.video-text {
  width: 50%;
}

.video-title {
  font-size: calc(var(--s-val) * 4);
  color: var(--color-beige);
  line-height: 1.5;
  margin-bottom: 3rem;
  font-weight: bold;
}

.video-detail {
  font-size: calc(var(--s-val) * 1.6);
}

.video-detail span {
  margin-bottom: 2rem;
  display: block;
}

/*===採用情報===*/

.recruit-area {
  max-width: 1200px;
  margin: 0 auto 20rem;
  width: 90%;
}

.recruit-btn_box {
  font-size: calc(var(--s-val) * 3);
  text-align: center;
}

.recruit-btn {
  display: flex;
}

.recruit-btn a {
  width: 100%;
  background-color: #f9f9f9;
  color: #7d7d7d;
  padding: 1rem 0;
  font-weight: normal;
}

.recruit-btn a.active {
  background-color: #b49a71;
  color: #fff;
  cursor: default;
  pointer-events: none;
}

.recruit-content {
  display: none;
  background-color: #f9f9f9;
  padding: 10rem 10rem 7rem;
}

.recruit-content.active {
  display: block;
}

.recruit-content_title h3 {
  text-align: center;
  font-size: calc(var(--s-val) * 3.2);
  margin-bottom: 5rem;
}

.recruit-occupation,
.recruit-welcome,
.recruit-yoko {
  display: flex;
  justify-content: space-between;
}

.recruit-occupation_title,
.recruit-welcome_title,
.recruit-yoko_title {
  width: 40%;
  font-size: calc(var(--s-val) * 2.4);
  color: #92764a;
  font-weight: bold;
}

.recruit-occupation {
  border-top: 1px solid #878787;
  border-bottom: 1px solid #878787;
}

.recruit-occupation {
  padding: 3rem 0;
}

.recruit-welcome {
  border-bottom: 1px solid #878787;
  padding: 5rem 0;
}

.recruit-yoko {
  padding: 6rem 0;
}

.recruit-occupation_text,
.recruit-welcome_text,
.recruit-yoko_listbox {
  width: 70%;
}

.recruit-welcome_text p,
.recruit-occupation_text dd,
.recruit-yoko_list {
  font-size: calc(var(--s-val) * 1.6);
  width: 90%;
}

.recruit-yoko_list {
  width: 100%;
  margin-bottom: 8rem;
}

.recruit-occupation_text dt {
  font-size: calc(var(--s-val) * 2.4);
  margin-bottom: 1rem;
  font-weight: bold;
}

.recruit-yoko_list dt,
.recruit-yoko_list dd {
  display: inline-block;
}

.recruit-yoko_list dt {
  width: 37%;
  margin-bottom: 1.5rem;
}

.recruit-yoko_list dt.last {
  margin: 0;
}

.recruit-yoko_list dd {
  width: 60%;
  vertical-align: middle;
}

.recruit-yoko_btn {
  width: 40%;
}

.recruit-yoko_btn a {
  background-color: #b49a71;
  text-align: center;
  color: #fff;
  display: block;
  padding: 1rem 0;
  font-size: calc(var(--s-val) * 1.6);
  position: relative;
}

.recruit-yoko_btn a::before {
  content: "";
  background-image: url(../../../common/img/arrow.webp);
  background-repeat: no-repeat;
  background-size: contain;
  width: 10px;
  height: 10px;
  display: block;
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

/*qa*/

.qa-area {
  background-color: #f9f8f7;
  padding: 20rem 0;
}

.qa-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.qa-title p {
  font-size: calc(var(--s-val) * 1.8);
  color: rgba(206, 202, 197, 0.7);
}

.qa-list {
  max-width: 1000px;
  margin: 0 auto 6rem;
  width: 80%;
}

.qa-list_title,
.qa-list_detail {
  gap: calc(var(--s-val) * 3);
}

.qa-list_title {
  font-size: calc(var(--s-val) * 1.8);
  display: flex;
  align-items: center;
  padding: 2rem 0;
  position: relative;
}

.qa-list_title::before,
.qa-list_title::after {
  content: "";
  position: absolute;
  right: 5rem;
  width: 18px;
  height: 1.5px;
  background: #000;
  transition: 0.3s;
}

.qa-list_title::before {
  transform: translateY(0);
}

.qa-list_title::after {
  transform: rotate(90deg);
}

.qa-list_title.active::after {
  transform: rotate(0);
}

.qa-list_detail {
  font-size: calc(var(--s-val) * 1.6);
  display: flex;
  align-items: flex-start;
  padding: 1rem 0;
}

.qa-detail_box {
  padding: 2rem 0;
}

.qa-list_q,
.qa-list_a {
  line-height: 1;
  font-family: var(--font-sans);
}

.qa-list_q {
  font-size: calc(var(--s-val) * 2.8);
  color: var(--color-beige);
}

.qa-list_a {
  font-size: calc(var(--s-val) * 2.5);
  color: #864646;
}

.js-style {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.js-style.active {
  max-height: 1000px;
}

.qa-list li {
  background-color: #fff;
  border-top: 1px solid #d9d9d9;
  border-bottom: 1px solid #d9d9d9;
  padding: 1.5rem 0 1.5rem 6rem;
}

.qa-sab_text {
  text-align: center;
  width: 80%;
  margin: 0 auto;
  font-size: calc(var(--s-val) * 1.6);
}

.qa-sab_title {
  font-size: calc(var(--s-val) * 2.6);
  margin-bottom: 1rem;
  font-weight: bold;
}

/*===qa-area===*/

@media screen and (max-width: 768px) {
  .top-container {
    margin: 0 auto 7rem;
  }

  .features-title h3 {
    font-size: calc(var(--s-val) * 3);
    margin-bottom: 4.5rem;
  }

  .features-area {
    margin-bottom: 7rem;
  }

  .features-detail {
    margin: 0 auto;
    width: 90%;
  }

  .features-wrapper {
    margin-bottom: 0;
  }

  .features-content {
    padding-bottom: 1rem;
  }

  .features-content_01,
  .features-content_02,
  .features-content_03 {
    width: 100%;
    margin: 0 auto;
    flex-direction: column;
    gap: calc(var(--s-val) * 3.5);
  }

  .features-content_02 {
    flex-direction: column-reverse;
  }

  .features-photo {
    width: 88%;
    margin: 0 auto 0 0;
  }

  .features-content_02 .features-photo {
    margin: 0 0 0 auto;
  }

  .features-text {
    width: 85%;
  }

  .features-wrapper::before {
    display: none;
  }

  /*===working===*/

  .working-content {
    flex-direction: column;
    width: 85%;
    margin: 0 auto 7rem;
  }

  .working-style {
    width: 90%;
    gap: 5px;
  }

  .working-area::before {
    height: 95%;
  }

  .working-list_text {
    padding: 1rem 3rem 1.5rem;
  }

  .working-list_text dt {
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .working-list_text dd {
    font-size: calc(var(--s-val) * 1.6);
    line-height: 1.5;
  }

  .working-style li {
    width: calc((100% - 10px) / 3);
    font-size: calc(var(--s-val) * 1.2);
    gap: calc(var(--s-val) * 1);
  }

  .working-title {
    margin-bottom: 1rem;
  }

  .working-title h2 {
    font-size: calc(var(--s-val) * 3);
    margin: 0;
  }

  .working-style li span {
    line-height: 1.3;
  }

  .working-detail {
    padding-bottom: 9rem;
  }

  /*===video===*/

  .video-area {
    flex-direction: column;
    margin: 0;
    width: 100%;
    padding: 4rem 0 10rem;
  }

  .video-wrapper {
    width: 100%;
  }

  .video-wrapper::before {
    display: none;
  }

  .video-content {
    width: 90%;
    margin: 0 auto 5rem;
  }

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

  .video-title {
    font-size: calc(var(--s-val) * 3);
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
  }

  .video-detail {
    width: 75%;
    margin: 0 auto;
  }

  .video-detail span {
    margin-bottom: 3rem;
  }

  /*===recruit===*/

  .recruit-area {
    max-width: 1200px;
    margin: 0 auto 7rem;
    width: 85%;
  }

  .recruit-content_title h3 {
    font-size: calc(var(--s-val) * 1.8);
    margin-bottom: 1.5rem;
  }

  .recruit-btn a {
    padding: 0;
  }

  .recruit-btn_box {
    font-size: calc(var(--s-val) * 2);
  }

  .recruit-content {
    padding: 2rem 2rem 7rem;
  }

  .recruit-occupation_text,
  .recruit-welcome_text,
  .recruit-yoko_listbox {
    width: 100%;
  }

  .recruit-welcome_text p,
  .recruit-occupation_text dd,
  .recruit-yoko_list {
    width: 100%;
    line-height: 1.7;
  }

  .recruit-occupation,
  .recruit-welcome,
  .recruit-yoko {
    flex-direction: column;
    gap: 10px;
    padding: 2rem 0;
  }

  .recruit-occupation_title,
  .recruit-welcome_title,
  .recruit-yoko_title {
    width: 100%;
    font-size: calc(var(--s-val) * 1.8);
  }

  .recruit-occupation_text dt {
    font-size: calc(var(--s-val) * 1.8);
    margin-bottom: 0;
  }

  .recruit-yoko_list {
    margin-bottom: 2rem;
  }

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

  .recruit-yoko_btn {
    width: 100%;
    margin: 0 auto;
  }

  .recruit-yoko_list dt {
    width: 32%;
    margin-bottom: 2rem;
  }

  .recruit-yoko_list dd {
    white-space: nowrap;
    vertical-align: top;
    line-height: 1.3;
    margin-bottom: 2rem;
  }

  .recruit-yoko_list dd span {
    font-size: 0.7em;
  }

  .qa-area {
    padding: 7rem 0 6rem;
  }

  .qa-title h2 {
    font-size: calc(var(--s-val) * 3);
    margin: 0;
  }

  .qa-title {
    margin-bottom: 3rem;
  }

  .qa-list li {
    padding: 1.5rem 1.5rem;
  }

  .qa-list_title {
    font-size: calc(var(--s-val) * 1.6);
    padding: 1rem 4rem 1rem 0;
  }

  .qa-list_title,
  .qa-list_detail {
    gap: calc(var(--s-val) * 1.5);
  }

  .qa-list_title::before,
  .qa-list_title::after {
    right: 1rem;
  }

  .qa-list_detail {
    padding: 1rem 2rem 1rem 0;
  }

  .qa-list {
    width: 90%;
    margin: 0 auto 7rem;
  }

  .qa-sab_title {
    font-size: calc(var(--s-val) * 3);
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .contact-title h2 {
    font-size: calc(var(--s-val) * 5.2);
  }
}
