/* ===============================
   Base
================================ */
body {
  color: var(--fcolor);
}

/* ===============================
   Top / Titles
================================ */
.top_area {
  padding-top: 120px;
}

.ttl_area,
.ttl_area_second {
  margin-top: 60px;
  text-align: center;
}

.sub_ttl,
.sub_ttl_second {
  width: fit-content;
  margin: 0 auto;
  padding-bottom: 5px;
  font-family: var(--font_en_ttl);
  font-size: 15px;
  font-weight: normal;
  border-bottom: 1px solid var(--border);
}

.ttl,
.ttl_second {
  margin-top: 20px;
  text-align: center;
  font-family: var(--font_jp_ttl);
  font-size: 15px;
  line-height: 150%;
  font-weight: 400;
}

.txt_area {
  margin-top: 40px;
  text-align: center;
  font-family: var(--font_jp_ttl);
  font-size: 12px;
  line-height: 175%;
}

/* ===============================
   Recruit
================================ */
.recruit_area {
  margin-top: 40px;
}

.recruit_wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 90%;
  margin: 0 auto;
}

.job {
  margin-top: 40px;
}

.job li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 85%;
  padding: 20px 7.5%;
  background-color: var(--bg_faq_color);
}

.job p {
  font-family: var(--font_jp_txt);
  font-size: 12px;
}

.job_state {
  position: relative;
}

.job_state::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 50%;
  width: 30px;
  height: 0.7px;
  background-color: var(--border_txt);
}

/* ===============================
   Contact
================================ */
.contact {
  margin-top: 40px;
}

.contact li a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  width: 85%;
  padding: 20px 7.5%;
  font-size: 14px;
  color: #FEFCF8;
  background-color: var(--fcolor);
}

.contact li a img {
  width: 40px;
}

.contact_note {
  width: 90%;
  margin: 10px auto 0;
  text-align: right;
  font-family: var(--font_jp_txt);
}

.contact_note p {
  font-size: 10px;
}

/* ===============================
   Images
================================ */
.top_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width:768px){
  .recruit_wrap {
    grid-template-columns: 1fr 1fr;

  }
  .contact li a img{
    width: 30px;
  }
  .sub_ttl{
    font-size: 18px;
  }
  .ttl{
    font-size: 20px;
    margin-top: 40px;
  }
  .txt_area{
    font-size: 14px;
    margin-top: 60px;
  }
  .job p{
    font-size: 14px;
  }
  .recruit_area{
    margin-top: 80px;
  }
  .top_img{
    max-height: 700px;
        height: 50vh;
        min-height: 450px;
  }
}
@media screen and (min-width:1024px){
  .top_img {
    min-height: 650px;
    max-height: 1080px;
    height: calc(70vh - 100px);
    margin-top: 0;
}
  .top_area {
    padding-top: 100px;
}
.ttl_area{
  margin-top: 120px;
}
.recruit_img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}
.recruit_img{
  max-width: 1366px;
  height: 500px;
  margin-left: auto;
  margin-right: auto;
}
.recruit_wrap{
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.top_sub_ttl{
  font-size: 24px;
}
.ttl{
  font-size: 24px;
}
.txt_area{
  font-size: 18px;
}
.sub_ttl_second{
  font-size: 20px;
}
.ttl_second{
  font-size: 20px;
}
.ttl_area_second{
  margin-top: 100px;
}
.job p{
  font-size: 16px;
}
.job_state::before{
  left: -50px;
}
.contact_note{
  max-width: 1200px;
  margin-top: 30px;
}
.footer_area{
  margin-top: 160px;
}
.contact li a{
  font-size: 16px;
}
.contact li a img{
  width: 40px;
}
.job,.contact{
  margin-top: 60px;
}
.contact li a{
  column-gap: 30px;
}
.contact_note p{
  font-size: 14px;
}
}