@charset "utf-8";

.staff_content {
  padding-top: 12.4rem;
  background-color: #FFF7E4;
  padding-bottom: 15.0rem;
}

.content_wrapper {
  margin-left: 48.8rem;
}

.sub_title {
  font-size: 2.0rem;
  color: #202124;
  font-family: var(--NotoSans);
  font-weight: 500;
  line-height: calc(29em / 20);
}

.staff_name {
  font-family: var(--NotoSans);
  font-weight: 500;
  font-size: 2.5rem;
  width: 72.2rem;
  color: #202124;
  line-height: calc(87em / 60);
  border-bottom: #202124 0.1rem solid;
  margin-top: -1.0rem;
  margin-top: 0rem;
}

.staff_year {
  margin-top: 1.05rem;
  margin-left: 59.6rem;
  font-family: var(--NotoSans);
  font-weight: 500;
  font-size: 2.0rem;
  width: 12.6rem;
  color: #202124;
  line-height: calc(29em / 20);
  padding-bottom: 5.8rem;  
}

.staff_img_outer {
  position: relative;
}

.staff_img {
  width: 72.2rem;
  height: 42.0rem;
  margin-bottom: 5.3rem;
}

.staff_inner {
  position: absolute;
  top: 34.2rem;
  width: 72.2rem;
  font-family: var(--NotoSans);
  font-weight: 700;
  font-size: 2.0rem;
  color: #202124;
  line-height: calc(30em / 20);
  background-color: #fff; 
  padding-top: 0.5rem; 
  padding-bottom: 0.5rem;
  padding-left: 0.2rem; 
}

/*---------- balloon -----------*/

.balloon_content {
  width: 72.2rem;
}

.balloon_wrapper {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2.7rem;
  align-items: flex-start;
}

.balloon_wrapper:nth-child(even) {
  display: flex;
  gap: 2.7rem;
  flex-direction: row;
}

.balloon {
  background-color: #FFECB1;
  font-size: 1.6rem;
  font-weight: 400;
  font-family: var(--NotoSans);
  font-weight: 400;
  padding: 2.0rem 3.0rem;
  border-radius: 1.3rem 1.3rem 1.3rem 0;
  position: relative;
  box-shadow: 0.9rem 0.7rem #FF9924;
  letter-spacing: 0.02em;
  width: 48.2rem;
}

.balloon::before {
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
  pointer-events: none;
  position: absolute;
  border-top-width: 3.651rem;
  border-left-width: 0;
  border-right-width: 3.651rem;
  border-top-color: #FF9924;
  top: 100%;
  left: 0.9rem;
}

.balloon::after {
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
  pointer-events: none;
  position: absolute;
  border-top-width: 3.651rem;
  border-left-width: 0;
  border-right-width: 3.651rem;
  border-top-color: #FFECB1;
  top: 100%;
  left: 0;
}

.balloon_wrapper:nth-child(even) .balloon {
  background-color: #FFFFFF;
  font-size: 1.6rem;
  font-weight: 400;
  font-family: var(--NotoSans);
  font-weight: 400;
  padding: 2.0rem 3.0rem;
  border-radius: 1.3rem 1.3rem 0 1.3rem;
  position: relative;
  box-shadow: 0.9rem 0.7rem #FF9924;
  letter-spacing: 0.02em;
  width: 48.2rem;
}

.balloon_wrapper:nth-child(even) .balloon::before {
  border-right-width: 0;
  border-left-width: 4.4rem;
  right: -0.9rem;
  left: auto;
  border-top-color: #FF9924;
}

.balloon_wrapper:nth-child(even) .balloon::after {
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
  pointer-events: none;
  position: absolute;
  border-top-width: 3.651rem;
  border-left-width: 3.651rem;
  border-right-width: 0rem;
  border-top-color: #FFF;
  top: 100%;
  left: auto;
  right: 0;
}

.balloon_wrapper {
  padding-bottom: 7.0rem;
  position: relative;
}

.button_wrapper {
  margin-top: 3.1rem;
}

.button {
  width: 29.6rem;
  font-size: 1.8rem;
  font-family: var(--NotoSans);
  font-weight: 500;
  line-height: calc(30em / 18);
  color: #fff;
  background-color: #FF9924;
  padding: 1.4rem 4.0rem;
  margin-left: 21.3rem;
}

@media screen and (max-width:699.98px) {

  .staff_content {
    margin-top: 26.9rem;
    padding-top: 3.9rem;
    background-color: #FFF7E4;
    padding-bottom: 10.083rem;
  }
  
  .content_wrapper {
    margin-left: 0rem;
  }
  
  .sub_title {
    padding-left: 2.0rem;
    font-size: 1.5rem;
    color: #202124;
    font-family: var(--NotoSans);
    font-weight: 500;
    line-height: calc(21em / 15);
  }
  
  .staff_name {
    margin-left: 2.0rem;
    font-family: var(--NotoSans);
    font-weight: 500;
    font-size: 4.5rem;
    width: 33.5rem;
    color: #202124;
    line-height: calc(65em / 45);
    border-bottom: #202124 0.1rem solid;
    margin-top: -1.0rem;
  }
  
  .staff_year {
    margin-top: 0.4rem;
    margin-left: 26.1rem;
    font-family: var(--NotoSans);
    font-weight: 500;
    font-size: 1.5rem;
    width: 100%;
    color: #202124;
    line-height: calc(21em / 15);
    padding-bottom: 3.0rem;  
  }
  
  .staff_img_outer {
    position: relative;
  }
  
  .staff_img {
    width: 100%;
    height: 21.8rem;
    margin-bottom: 4.5rem;
  }
  
  .staff_inner {
    position: absolute;
    top: 15rem;
    width: 100%;
    font-family: var(--NotoSans);
    font-weight: 700;
    font-size: 1.7rem;
    color: #202124;
    line-height: calc(30em / 17);
    background-color: #fff; 
    padding-top: 0.2rem; 
    padding-bottom: 0.2rem;
    padding-left: 0rem; 
  }
  
  /*---------- balloon -----------*/
  
  .balloon_content {
    margin-left: 2.0rem;
    width: 33.5rem;
  }
  
  .balloon_wrapper {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 2.7rem;
    align-items: flex-start;
  }
  
  .balloon_wrapper:nth-child(even) {
    display: flex;
    gap: 2.7rem;
    flex-direction: row;
  }
  
  .balloon {
    background-color: #FFECB1;
    font-size: 1.4rem;
    font-weight: 400;
    font-family: var(--NotoSans);
    font-weight: 400;
    padding: 2.0rem 2.8rem;
    border-radius: 1.3rem 1.3rem 1.3rem 0;
    position: relative;
    box-shadow: 0.9rem 0.7rem #FF9924;
    letter-spacing: 0.02em;
    width: 31.1rem;
  }
  
  .balloon::before {
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    position: absolute;
    border-top-width: 3.651rem;
    border-left-width: 0;
    border-right-width: 3.651rem;
    border-top-color: #FF9924;
    top: 100%;
    left: 0.9rem;
  }
  
  .balloon::after {
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    position: absolute;
    border-top-width: 3.651rem;
    border-left-width: 0;
    border-right-width: 3.651rem;
    border-top-color: #FFECB1;
    top: 100%;
    left: 0;
  }
  
  .balloon_wrapper:nth-child(even) .balloon {
    background-color: #FFFFFF;
    font-size: 1.4rem;
    font-weight: 400;
    font-family: var(--NotoSans);
    font-weight: 400;
    padding: 2.0rem 3.0rem;
    border-radius: 1.3rem 1.3rem 0 1.3rem;
    position: relative;
    box-shadow: 0.9rem 0.7rem #FF9924;
    letter-spacing: 0.02em;
    width: 31.1rem;
  }
  
  .balloon_wrapper:nth-child(even) .balloon::before {
    border-right-width: 0;
    border-left-width: 4.4rem;
    right: -0.9rem;
    left: auto;
    border-top-color: #FF9924;
  }
  
  .balloon_wrapper:nth-child(even) .balloon::after {
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    pointer-events: none;
    position: absolute;
    border-top-width: 3.651rem;
    border-left-width: 3.651rem;
    border-right-width: 0rem;
    border-top-color: #FFF;
    top: 100%;
    left: auto;
    right: 0;
  }
  
  .balloon_wrapper {
    padding-bottom: 7.0rem;
    position: relative;
  }
  
  .button_wrapper {
    margin-top: 3.1rem;
  }
  
  .button {
    font-size: 1.4rem;
    font-family: var(--NotoSans);
    font-weight: 500;
    line-height: calc(30em / 14);
    color: #fff;
    background-color: #FF9924;
    padding: 1.4rem 4.0rem;
    margin-left: 6.3rem;
  }

}