header .logo,
.link_text {
  color: #444 !important;
}

.toggle_button {
  border: solid 1px #333 !important;
  color: #333 !important;
}

.toggle_button:hover {
  border: 1px solid #4C7FD7 !important;
  background-color: #4C7FD7 !important;
  color: white !important;
}

.close {
  border: none !important;
}

section {
  width: 100%;
  overflow: hidden;
  scroll-snap-align: start;
}

section.container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  max-width: 100%;
  width: 100%;
  height: 100vh;
  padding: 0;
  position: relative;
}

.top_main_img {
  aspect-ratio: 16 / 6;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  padding-left: 160px;
  box-sizing: border-box;
  height: clamp(365px, 30vw, 640px);
}

.top_main_img img {
  width: 85%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* spイメージ */
.sp_main_img {
  display: none;
  position: relative;
}

.main_title .page_title {
  text-align: center;
  font-size: clamp(20px, 8vw, 80px);
  color: #464646;
  font-family: 'Meiryo', sans-serif;
  font-weight: 600;
  position: absolute;
  bottom: 7%;
  left: 10%;
  font-feature-settings: normal;
}

.main_title .page_sub_title {
  display: block;
  font-size: clamp(13px, 2vw, 32px);
  text-align: center;
  font-weight: 500;
  color: #333;
  position: absolute;
  bottom: 4%;
  left: 11%;
  font-feature-settings: normal;
}

/*------------------------
      スクロールボタン
------------------------ */
.scroll {
  position: fixed;
  bottom: -5px;
  right: 6vw;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.scroll.hidden {
  opacity: 0 !important;
  visibility: hidden;
}

.scroll::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
}

.scroll a {
  padding: 27px 24px 111px;
  color: #fff;
  background: #444;
  font-size: 14px;
  font-family: 'Meiryo', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
  transition: 0.2s;
}

.scroll a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 100px;
  background: #fff;
}

.scroll a:hover {
  opacity: 0.5;
}

#scroll_animation a::after {
  animation: animaition 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes animaition {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

.image_container.img {
  max-width: 50%;
  object-fit: cover;
}

/* エリア2の設定 */
.area_2nd {
  background-color: white;
}

.area2_contaier {
  background-position: bottom;
  background-repeat: no-repeat;
  height: auto;
  display: flex;
  justify-content: center;
  padding-top: 8%;
}

.area2_contaier img {
  width: 75%;
}

/* エリア3の設定 */
.area_3rd {
  background-color: rgb(226, 226, 226);
}

.area3_container {
  max-width: 85%;
  margin: 0 auto;
  display: flex;
  padding: 95px 0 95px 0;
  align-items: center;
  gap: 5rem;
}

.area3_text_area {
  flex: 1 1 55%;
  min-width: 260px;
}

.area3_text_top {
  text-align: left;
}

.area3_text_top .name {
  font-size: clamp(20px, 2.5vw, 25px);
  padding-right: 15px;
}

.area3_text_bottom {
  text-align: left;
  font-size: 13px;
}

.position,
.furigana {
  color: #4C7FD7;
}

.area3_text_bottom p {
  letter-spacing: .04rem;
  text-align: justify;
  line-height: 2em;
  margin-bottom: 2rem;
}

.area3_text_bottom dl {
  display: flex;
}

.area3_text_bottom dt {
  font-weight: normal;
  width: 90px;
}

.area3_text_bottom dd {
  text-align: left;
}

.area3_image_area {
  flex: 0 0 40%;
  max-width: 330px;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}

.area3_image_area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* エリア4の設定 */
.area_4th {
  background: linear-gradient(rgb(226, 226, 226) 0% 20%, rgb(79, 79, 79) 20% 100%);
  color: white;
  padding: 20px 0;
}

.area4_img {
  margin: 0 auto;
  text-align: center;
}

.area4_img_set {
  max-width: 70%;
}

.area4_text {
  padding: 30px;
  width: 60%;
  margin: auto;
}

.area4_text dl {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  border-bottom: 1px solid white;
  font-family: 'Meiryo', sans-serif;
}

.area4_text dt {
  padding: 1.0em 0;
  width: 230px;
  margin-bottom: 0;
  align-self: center;
  font-family: 'Meiryo', sans-serif;
  font-size: clamp(14px, 2vw, 16px);
}

.area4_text dd {
  padding: 1.5em 2.0em;
  width: calc(100% - 230px);
  margin-bottom: 0;
  font-family: 'Meiryo', sans-serif;
  font-size: clamp(14px, 2vw, 16px);
}

.area4_text .dt_title {
  font-size: clamp(20px, 3vw, 28px);
  margin: 0 auto 0 0;
  font-family: 'Meiryo', sans-serif;
}

/* ------------------------ 
    お問い合わせ・採用情報
------------------------ */
section.contact {
  height: 54vh;
}

.image_container {
  display: flex;
}

.image_wrap {
  display: inline-block;
  overflow: hidden;

}

.image_overlay {
  position: relative;
  top: 0;
  left: 0;

}

.top_career_img {
  cursor: pointer;
  height: auto;
  transition: transform 0.6s;
  width: 100%;
}

.image_overlay:hover .top_career_img {
  filter: brightness(70%);
  transform: scale(1.1);
  transition: transform 0.6s ease
}

.overlay_text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.contents_title,
.description {
  white-space: nowrap;
  display: inline-block;
  text-align: center;
}

.contents_title {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: clamp(20px, 5vw, 30px);
  font-family: 'Meiryo', sans-serif;
  font-weight: 600;
  z-index: 2;
}

.description {
  margin: 0;
  padding: 0;
  color: #fff;
  z-index: 2;
  font-size: 14px;

}

.arrow_icon {
  position: relative;
  top: 0;
  left: 0;
}

.overlay_icon {
  position: absolute;
  bottom: 3vh;
  right: 3vw;
  margin: 0;
  padding: 0;
  width: 50px;
  z-index: 2;
}

/*-------------------
      タブレット
 -------------------*/
@media only screen and (max-width: 768px) {
  section .top_main_img {
    padding-left: 80px;
  }

  .top_main_img img {
    max-width: 100% !important;
  }

  .area2_contaier img {
    width: 80%;
  }

  .area3_container {
    flex-direction: column-reverse;
  }

  .area3_text_area {
    width: 75%;
  }

  .area3_image_area img {
    max-width: 100%;
  }

  .area4_text {
    padding: 30px 60px;
    width: 100%;
    margin: 0 auto;
    background: #464646;
  }

  .area_4th {
    background: linear-gradient(rgb(226, 226, 226) 0% 20%);
    color: white;
    padding: 20px 0 0;
  }

  .area4_img_set {
    max-width: 80%;
    height: 30vh;
    object-fit: cover;
  }

  .contents_title {
    font-size: 3vw;
  }
}

/*-------------------
        スマホ 
 -------------------*/
@media only screen and (max-width: 500px) {

  header .logo {
    color: #fff !important;
  }

  .logo.active {
    color: #333 !important;
  }

  .toggle_button {
    border: solid 1px #fff !important;
    color: #fff !important;
  }

  .close {
    border: 1px solid #464646 !important;
    color: #464646 !important;
  }

  .close:hover {
    border: 1px solid #4C7FD7 !important;
    background-color: #4C7FD7 !important;
    color: white !important;
  }

  section.container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    position: relative;
  }

  /* イメージ */
  .sp_main_img {
    max-width: 100%;
    width: 100%;
    display: block;
  }

  .sp_main_img img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    max-width: 100%;
  }

  .top_main_img {
    display: none;
  }

  .main_title {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform: translate(-50%, 50%);
    text-align: center;
    width: 100%;
  }

  .main_title .page_title {
    text-align: center;
    font-size: 13vw;
    color: white;
    font-family: 'Meiryo', sans-serif;
    font-weight: 600;
    margin-bottom: 0;
    position: unset;
  }

  .main_title .page_sub_title {
    text-align: center;
    font-weight: 400;
    color: white;
    position: unset;
  }

  .pankuzu {
    padding: 0;
  }

  .bottom_line {
    display: none;
  }

  /* エリア2の設定 */
  .area_2nd {
    background-color: white;
  }

  .area2_contaier {
    padding-top: 0;
    background-repeat: no-repeat;
    background-position: center;
  }

  .area2_contaier img {
    width: 100%;
    max-width: 100%;
    height: 40vh;
    object-fit: cover;
  }

  /* エリア3の設定 */
  .area_3rd {
    background-color: white;
  }

  .area3_container {
    flex-direction: column;
    padding: 40px 0 40px 0;
    gap: 3rem;
  }

  .area3_text_area {
    display: contents;
  }

  .area3_text_top {
    order: 1;
  }

  .area3_text_top p {
    margin-bottom: 6px;
  }


  .area3_text_top .name {
    font-size: clamp(18px, 2.2vw, 22px);
  }

  .area3_text_bottom {
    order: 3;
    line-height: 2.0;
    color: gray;
    font-size: 14px;
  }

  .area3_image_area {
    order: 2;
    margin-top: 0;
    width: 100%;
  }

  .area3_image_area img {
    max-width: 100%;
    width: 100vw;
    object-fit: cover;
    object-position: 0px -25px;
  }

  .area3_text_bottom dl {
    font-size: 13px;
  }

  .area3_text_bottom dt {
    float: left;
    width: 60px;
    margin-right: 3px;
  }

  /* エリア4の設定 */
  .area_4th {
    background: rgb(79, 79, 79);
    color: white;
    padding: 0 0 100px 0;
  }

  .area4_img {
    margin: 0 auto;
    text-align: center;
  }

  .area4_img_set {
    max-width: 100%;
    height: 50vh;
    object-fit: cover;
    object-position: left;
  }

  .area4_text {
    padding: 0px;
    width: 85%;
    background: none;
  }

  .area4_text dl {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    border-bottom: none;
  }

  .area4_text dt {
    padding: 10px 0;
    width: 100%;
    border-bottom: none;
    padding: 0 0 10px;
  }

  .area4_text dd {
    padding: 0 0 28px;
    width: 100%;
    border-bottom: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .area4_text .dt_title {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid white;
  }

  .area4_text .text_left {
    text-align: left;
  }

  /*-------------------
      採用・会社概要 
  -------------------*/
  .contact {
    display: block;
  }

  .image_container {
    display: flex;
    flex-flow: column;
  }

  .contents_title {
    font-size: 25px;
  }

  .description {
    font-size: 14px;
  }

  .overlay_icon {
    position: absolute;
    bottom: 3vh;
    right: 3vw;
    margin: 0;
    padding: 0;
    width: 40px;
    z-index: 2;
  }

  .bottom_line {
    padding: 0 40px 0;
  }

}

@media screen and (max-width:300px) {
  .page_title {
    font-size: clamp(25px, 6vw, 40px);
  }

  .page_sub_title {
    font-size: clamp(25px, 5vw, 40px);
  }
}