.explain .container {
  display: flex;
  gap: 2.4705vw;
  align-items: center;
}

.sub_main .explain .visual {
  display: flex;
  align-items: center;
  gap: 5.235vw;
  margin-top: 3.41vw;
  margin-bottom: 13.705vw;
  justify-content: center;
}

.sub_main .explain .visual picture:first-child {
  width: 19.058vw;
}

.sub_main .explain .visual picture:nth-child(2) {
  width: 24.058vw;
  bottom: -10vw;
  position: relative;
}

.sub_main .explain .visual picture:nth-child(3) {
  width: 30.705vw;
}

.explain .container .img, .explain .container picture {
  width: 29.294vw;
}

.explain .container .container__inn h2 {
  margin-bottom: 1vw;
}

.explain .container .container__inn p {
  font-size: 1.058vw;
  line-height: 2.9411vw;
}

.gallery {
  display: flex;
  gap: 1.352vw;
}

.gallery.column {
  flex-direction: column;
}

.main-image {
  text-align: center;
  width: 50%;
}

.gallery.column .main-image {
  display: flex;
  width: 100%;
}

.main-image img {
  width: 100%;
  object-fit: cover;
}

.gallery.column .main-image img {
  max-width: 41vw;
}

.content-area {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.gallery.column .content-area {
  width: 100%;
}

.text-block {
  text-align: left;
  margin-bottom: 30px;
  width: 60%;
}

.gallery.column .text-block {
  padding: 2vw 4.1764vw;  
  font-size: 1.176vw;
}

.text-block h2 {
  font-size: 1.764vw !important;
  margin-bottom: 10px;
}

.text-block p {
  font-size: 0.823vw;
  line-height: 1.764vw;
}

.gallery.column .text-block p {
  margin-top: 1.941vw;
}

.thumbnails {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 2.529vw
}

.thumbnails img {
  width: calc(100% / 3 - 10px);
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border 0.3s;
  max-height: 8vw;
}

.gallery.column .thumbnails img {
  width: calc(100% / 6 - 10px);
}

.thumbnails img:hover {
  border-color: #817c70;
}

.content-end {
  display: flex;
  justify-content: end;
}

.message .container {
  display: flex;
  max-width: 59.411vw;
  gap: 3vw;
  margin-left: auto;
  margin-right: auto;
}

.message .container .img, .message .container .img picture, .message .container .img img {
  width: 27.941vw;
}

.message .container .container__inn div, .recruit .container .container__inn div {
  font-size: 0.823vw;
  line-height: 1.764vw;
}

.message .container .container__inn .leader {
  font-size: 0.8235vw;
  margin-top: 1.941vw;
  text-align: center;
}

.message .container .container__inn .leader span {
  font-size: 1.411vw;
}

.recruit .container {
  display: flex;
  gap: 3vw;
}

.recruit .container .img, .recruit .container .img picture, .recruit .container .img img {
  width: 27.941vw;
  max-width: 475px;
}

.apply .apply-button {
  margin: auto;
  width: 42.823vw;
}

.apply .apply-button .text {
  font-size: 1.7058vw;
}

.apply .apply-button .text02 {
  font-size: 1.176vw;
  letter-spacing: 2px;
}

.apply .apply-button svg {
  width: 2.294vw;
}

.recruit .container p {
  margin-bottom: 10px;
}

.logo span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  bottom: -6px;
  letter-spacing: 0.4vw;
  font-weight: 100;
  font-size: 0.9vw;
}

@media only screen and (max-width: 767px){
  .explain .container .container__inn h2 {
    margin-bottom: 15px;
  }  

  .explain .container .container__inn p{
    font-size: 1.3rem;
    line-height: 1.5;
  }

  .explain .container .img, .explain .container picture {
    width: 36.294vw;
  }

  .explain .container {
    gap: 20px;
  }

  .gallery {
    flex-direction: column;
  }

  .main-image, .content-area {
    width: 100%;
  }

  .thumbnails img {
    width: calc(100% / 3 - 3px);
    max-height: 80px;
  }

  .text-block {
    width: 100%;
  }

  .text-block h2 {
    font-size: 1.6rem !important;
  }

  .text-block p {
    font-size: 1.3rem;
    line-height: 1.5;
  }

  .main-image {
    order: 1;
  }

  .content-area {
    order: 2;
  }

  header .mv nav {
    gap: unset !important;
  }

  header.recruit .mv nav .menu {
    width: 70%;
    justify-content: right;
  }

  .message .container {
    max-width: unset;
    flex-direction: column;
  }

  .message .container .container__inn div, .recruit .container .container__inn div {
    font-size: 1.3rem;
    line-height: 1.5;
  }

  .message .container .img, .message .container .img picture, .message .container .img img {
    width: 100%;
  }

  .message .container .container__inn .leader {
    font-size: 1.35rem;
    margin-top: 20px;
  }
  
  .message .container .container__inn .leader span {
    font-size: 1.7rem;
  }

  .gallery.column .main-image {
    flex-direction: column;
  }

  .gallery.column .main-image img {
    max-width: unset;
  }

  .gallery.column .text-block {
    font-size: 1.7rem;
    padding: 20px 0;
    margin-bottom: 0;
  }

  .gallery.column .thumbnails img {
    width: calc(100% / 6 - 2px);
  }

  .recruit .container {
    flex-direction: column;
  }

  .recruit .container .img, .recruit .container .img picture, .recruit .container .img img {
    width: 100%;
  }

  .apply .apply-button {
    width: 100%;
    gap: 14px;
    padding: 16px;
  }

  .apply .apply-button .text {
    font-size: 2rem;
  }
  
  .apply .apply-button .text02 {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }
  
  .apply .apply-button svg {
    width: 22px;
  }

  .logo span {
    font-size: 0.9rem !important;
    letter-spacing: 0.4rem !important;
  }

}