/* =====
 共通 
 ===== */

section .inner {
 margin: 0 auto 50px;
  padding: 80px 0;
}

.bg-beige {
  background-color: #F2EEE1;
  border-radius: 10px;
}

.bg-beige_inner{
  background-color: #fff;
  border-radius: 10px;
  padding: 40px 20px;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
}

h2 .mark {
  background: linear-gradient(transparent 50%, #E2E663 50%);
  font-size: 1.45rem;
  /*letter-spacing: 0.1rem;*/
  padding: 0 10px;
}

.bg-beige_inner h2 .mark {
    background: linear-gradient(transparent 50%, #E2E663 50%);
    font-size: 1.3rem;
    padding: 0 10px;
}

h3 {
  text-align: center;
  color: #F18E1D;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2;
}

.cta-buttons__btn {
    width: 80%;
    font-size: 1.2rem;
}

.li-no-deco {
  list-style: none;
  position: relative;
  left: -20px;
}

.cta-buttons_additional {
  font-weight: bold;
  text-align: center;
}

/* =====
 キービジュアル 
 ===== */

h1 img {
  width: 100%;
}

.kv-content {
  position: relative;
  margin-top: -300px;
}

.kv-catch_txt {
  font-size: 6vw;
  font-weight: bold;
  line-height: 1.7;
  letter-spacing: 0.1vh;
  margin-left: 20px;
  margin-bottom: 40px;
}

/* =====
 リード 
 ===== */

.lead_inner img {
  width: 100%;
}

/* =====
理由 
===== */

#reason .text-large {
  font-size: 2rem;
}

#reason h3 {
  font-size: 1.5rem;
}

.reason-img img {
  width: 100%;
}

.reason-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.reason-benefit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #E3E792, #7FC1A8);
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  line-height: 1.3;
  padding: 1rem;
}

.reason-benefit img {
  width: max-content;
  margin: 0 auto 10px;
}

.reason-benefit h4 {
  font-size: 1.1rem;
  margin: 0 0 5px;
}

.reason-benefit p {
  font-size: 0.8rem;
  margin: 0;
}

/* =====
スタッフの声 
===== */

#testimonials .inner {
  margin-bottom: 0;
  padding-bottom: 0;
}

.testimonials_group {
  margin-bottom: 100px;
}

.testimonials_group figure {
  text-align: center;
  margin-bottom: 40px;
}

.testimonials_group figure img {
  margin-bottom: 20px;
}


/* =====
1日の流れ 
===== */

#workflow .inner {
  width: 80%;
  margin-bottom: 0;
  padding-bottom: 150px;
}

.workflow {
  margin-bottom: 30px;
}

.workflow-step {
  margin: 0 auto;
}

.workflow_head{
  text-align: center;
  font-size: 1rem;
  /*letter-spacing: 0.1rem;*/
  margin-bottom: 50px;
}

.workflow_head span {
  display: inline-block;
  font-size: 0.9em;
  line-height: 2;
  width: 2em;
  height: 2em;
  aspect-ratio: 1 / 1;
  content: "";
  border-radius: 50%;
  background-color: #F18E1D;
  color: #fff;
  text-align: center;
}

/*h3.workflow_h3 {
  width: 100%;
  background-color: #fff;
  color: #000;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 15px;
  margin-bottom: 5px;
}*/

.workflow-step .workflow-step_group {
  max-width: 100%;
  /*width: 350px;*/
  margin: auto;
  display: flex;
  gap: 8px;
  position: relative;
}

.workflow-step .workflow-step_group .workflow-step_head {
  display: flex;
  flex-direction: column;
}

.workflow-step .workflow-step_group .workflow-step_num {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 0;
  padding-top: 36px;
  aspect-ratio: 1 / 1;
  content: "";
  border-radius: 50%;
  background-color: #F18E1D;
  color: #fff;
  text-align: center;
  position: relative;
}

.workflow-step .workflow-step_group .workflow-step_num span {
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05rem;
  position: absolute;
  top: 4px;
}

.workflow-step_group .line-box {
  display: flex;
  justify-content: center;
  height: 100%;
  padding: 2px 0;
}

.workflow-step_group .line-box .step-line {
  width: 1px;
  background-color: #B4B1A9;
  height: 100%;
}

.workflow-step .workflow-step_group .title {
  font-size: 1rem;
  vertical-align: middle;
  margin-bottom: 10px;
}

.workflow-step_content {
  max-width: 100%;
  font-size: 1.2em;
  font-weight: bold;
  padding-bottom: 45px;
}

.workflow-step_content img {
  max-width: 100%;
}

/* =====
 募集要項
 ===== */

#job-details {
  width: 100%;
  background: linear-gradient(20deg, #98C4A7 0%, #DDE39D 100%) ;
  border-radius: 10px;
  position: relative;
  top: -15px;
}

.job-details_header {
  position: relative;
  text-align: center;
}

.job-details_header .oiwai-img {
  width: 180px;
  position: absolute;
  top: -130px;
  right: 0;
}

.job-details_header .img {
  width: 100%;
}

#job-details table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 5px 0;
  margin-bottom: 30px;
}

#job-details table th {
  font-size: 0.9rem;
  font-weight: normal;
  white-space: nowrap;
  padding: 0 8px;
  width: 20%;
}

#job-details table td {
  padding: 20px;
  border: none;
}

#job-details table td ul {
  padding-inline-start: 20px;
}

#job-details table tr:nth-child(odd) {
  background-color: #fff;
}

#job-details table tr:nth-child(even) {
  background-color: #F7F7F7;
}

.job-details_oiwai {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  background-color: #FA7169;
  color: #fff;
  font-weight: 500;
  line-height: 1;
  padding: 20px 0;
  padding-left: 20px;
  margin-bottom: 10px;
}

.oiwaikin {
  position: absolute;
  width: 80px;
  top: -3px;
  right: 1px;
}

.job-details_oiwai .first-line {
  margin-left: 10px;
  margin-bottom: 6px;
}

.job-details_oiwai .second-line {
  font-size: 2rem;
}

.job-details_oiwai .second-line_num {
  font-size: 3.2rem;
  margin-left: 15px;
  margin-right: 4px;
}

/* =====
 施設概要
 ===== */

#facility-overview .inner {
  padding-bottom: 0;
}

#facility-overview table {
  width: 100%;
  font-size: 0.875rem;
  border-collapse: separate;
  border-spacing: 5px;
  margin-bottom: 30px;
}

#facility-overview table th {
  text-align: left;
  font-weight: normal;
  white-space: nowrap;
  padding: 0 5px;
  background-color: #F7F7F7;
}

#facility-overview table td {
  padding: 10px 15px;
  background-color: #F7F7F7;
}

/* =====
 よくある質問
 ===== */

#qa .inner {
  padding-bottom: 10px;
}

.qa_group {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid #9F9F9F;
  margin-bottom: 40px;
}

.qa-q {
  display: flex;
  align-items: center;
  gap: 15px;
}

.qa-a {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 40px;
}

.qa-q_num {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  content: "";
  border-radius: 50%;
  background-color: #F18E1D;
  color: #fff;
  text-align: center;
}

.qa-q_num span {
  display: inline-block;
  font-size: 0.9em;
  letter-spacing: 0.05rem;
}

.qa-q_txt {
  color: #F18E1D;
  font-size: 1.1rem;
  /*font-weight: bold;*/
}

.qa-a_num {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  content: "";
  border-radius: 50%;
  border: 1px solid #F18E1D;
  color: #F18E1D;
  text-align: center;
}

.qa-a_num span {
  display: inline-block;
  font-size: 0.9em;
  letter-spacing: 0.05rem;
}

.qa_group:last-of-type {
  border: none;
}

/* =====
 問い合わせ 
 ===== */

#contact-cta {
  background: linear-gradient(
    to bottom,
    transparent 50px,
    #F2EEE1 50px
  );
  border-radius: 10px;
  text-align: center;
  padding-bottom: 100px;
}

#contact-cta img {
  width: 100%;
}

#contact-cta .inner {
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-cta_bubble {
  position: relative;
  margin-bottom: 30px;
  padding: 16px;
  border-radius: 15px;
  background-color: #fff;
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  /*letter-spacing: 0.2rem;*/
  line-height: 1.5;
  color: #F18E1D;
}

.contact-cta_bubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 15px 7.5px 0 7.5px;
  border-color: #fff transparent transparent;
  translate: -50% 100%;
}

.contact-cta_txt {
  font-size: 1.35em;
  font-weight: 700;
  letter-spacing: 1.25px;
  line-height: 2;
  /*margin-bottom: 30px;*/
}


/* ===== 
レスポンシブ対応 
===== */

@media (min-width: 768px) {

  /* -----
  共通
  ----- */

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    margin-top: 60px;
  }

  .cta-buttons__btn {
    width: 300px;
  }

  .cta-buttons_additional {
    text-align: left;
    margin-left: 20px;
  }

  section.bg-beige {
    width: 100%;
    border-radius: 0;
  }

  /* -----
  kv
  ----- */

  #kv {
    margin-bottom: 0;
  }

  #kv h1 {
   margin-block-end: 0;
  }

  .kv-content {
    margin-top: -200px;
    margin-left: 55px;
  }

  .kv-content .kv-catch_txt {
    font-size: 3vw;
    letter-spacing: 0.3vw;
    margin-bottom: 30px;
  }

  #kv .kv-content .cta-buttons {
    display: inline-flex;
    flex-direction: row;
    gap: 1rem;
    left: 9vw;
    bottom: 15vh;
    margin-top: 0;
  }

  /* -----
   リード
   ----- */
   
  section#lead {
    width: 100%;
    margin-top: 100px;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  section#lead .inner {
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .lead_inner h3 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    margin-bottom: 85px;
  }

  .lead_inner-txt1 {
    width: 80%;
    text-align: center;
    margin: auto;
  }

  .lead_inner-txt1 p {
    font-size: 1.15rem;
    line-height: 2.5;
    margin-bottom: 30px;
  }

  .lead_inner-txt2 {
    width: 600px;
    margin: 0 auto 140px;
  }

  .lead_inner-txt2 p {
    letter-spacing: 0.05rem;
    margin-bottom: 30px;
  }

  .lead-img {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .lead-img img {
    width: 48%;
    flex-shrink: 1;
    object-fit: contain;
  }

  /* =====
  理由 
  ===== */

  #reason .bg-beige_inner {
    padding: 60px;
  }

  #reason h2 {
    margin-top: 60px;
    margin-bottom: 100px;
  }

  .reason-h3 {
    font-size: 1.6rem;
  }

  .reason-content {
    display: flex;
  }

  .reason-img ,.reason-content p {
    flex: 1;
  }

  .reason-img img {
    width: 86%;
  }

  .reason-benefits {
    display: flex;
    gap: 2%;
  }

  .reason-benefit {
    flex: 1;
  }

  /* -----
  スタッフの声
  ----- */

  .testimonials_inner {
    display: flex;
    position: relative;
  }

  .vertical-line {
    width: 1px;
    height: calc(69%);
    background-color: #B4B1A9;
    position: absolute;
    top: 16rem;
  }

  .horizontal-line {
    width: calc(80%);
    height: 1px;
    background-color: #B4B1A9;
    position: absolute;
    margin-bottom: 30px;
  }

  .testimonials_group {
    flex: 1;
    margin-bottom: 60px;
  }

  .testimonials_txt {
    width: 80%;
    margin: auto;
  }



  /* -----
  1日の流れ
  ----- */

  section#workflow {
    padding-bottom: 130px;
    margin-bottom: 0;
  }
  
  section#workflow h2 {
    margin: 80px 0 30px;
  }
  
  .workflow {
    /*display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;*/
  }
  
  #workflow .inner {
    margin-bottom: 0;
  }

  /*h3.workflow_h3 {
    width: 86%;
    font-size: 1.3rem;
    border-radius: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: auto;
  }

  h3 .workflow_ex {
    font-size: 1.1rem;
    font-weight: normal;
  }*/

  .workflow-step .workflow-step_group {
    width: 350px;
  }

  /*.workflow-step .workflow-step_group .workflow-step_num {
    width: 2.5em;
    height: 2.5em;
  }*/

  .workflow-step .workflow-step_group .workflow-step_num span {
    font-size: 1.05rem;
    letter-spacing: 0px;
    top: 3px;
  }

  .workflow-step_group .step-line1 {
    height: calc(81%);
    top: 2.8em;
    left: 1.25em;
  }

  .workflow-step_group .step-line2 {
    height: calc(41%);
    top: 2.8em;
    left: 1.25em;
  }

  .workflow_head {
    margin-bottom: 100px;
  }

  .workflow-step {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 20px;
    padding-top: 85px;
  }

  /*.workflow-step .workflow-step_group {
    width: 400px;
    margin: auto;
  }*/

  .workflow-step .workflow-step_group .title {
    font-size: 1.2rem;
  }

  .workflow-step_content {
    margin-left: 15px;
  }

  #workflow .bg-beige_inner p ,#workflow .machine-intro__video {
    width: 68%;
    margin: auto;
  }

  #workflow .bg-beige_inner iframe {
    width: 100%;
    height: 100%;
  }

  /* -----
  募集要項・施設概要・FAQ
  ----- */

  #job-details {
    background-position: 0 80px;
    background-repeat: no-repeat;
    top: -80px;
    /*width: 100%;
    border-radius: 10px;
    position: relative;*/
  }

  section#job-details .inner ,section#facility-overview .inner ,section#qa .inner {
    width: 50%;
  }

  .oiwai-area {
    display: flex;
    align-items: flex-end;
  }

  .job-details_header .oiwai-img {
    width: 200px;
    top: -150px;
    left: 150px;
  }

  .job-details_header .img {
    width: 60%;
    border-radius: 15px;
  }

  /* -----
  施設概要
  ----- */

  #facility-overview table {
    font-size: 1rem;
  }

  #facility-overview table th {
    width: 25%;
    text-align: center;
  }

  #facility-overview table td {
    padding: 16px 30px;
  }


  /* -----
  コンタクト
  ----- */

  section#contact-cta {
    width: 100%;
    background-color: #f2EEE1;
    border-radius: 0;
    margin-bottom: 0;
  }

  .contact-cta_bubble {
    display: inline-block;
    font-size: 1.7rem;
    letter-spacing: 0.1rem;
    padding: 20px 50px;
    border-radius: 30px;
  }

  .contact-cta_bubble::after {
    content: none;
  }

  .contact-cta_txt {
    font-size: 1.5em;
    margin-top: 5px;
    margin-bottom: 0;
  }

  #contact-cta img {
    width: 86%;
    margin: auto;
  }


}

@media (min-width: 961px) {

  .kv-content {
    margin-top: -255px;
    margin-left: 75px;
  }

  /*.kv-content .kv-catch_txt {
    font-size: 2.4vw;
    letter-spacing: 0.3vw;
    margin-bottom: 30px;
  }*/

  #kv .kv-content .cta-buttons {
    display: inline-flex;
    flex-direction: row;
    gap: 1rem;
    left: 9vw;
    bottom: 15vh;
    margin-top: 0;
  }


}

@media (min-width: 1400px) {

  .kv-content {
    margin-top: -370px;
    margin-left: 105px;
  }

  .kv-content .kv-catch_txt {
        margin-bottom: 60px;
  }

  /*#kv .cta-buttons {
    left: 8vw;
    bottom: 30vh;
  }*/


}