*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a{
  text-decoration: none;
  color: inherit;
}


body{
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 2;
  color: #333;
}

section{
  margin-bottom: 180px;
}

.kyouwa-fv{
  position: relative;
  width: 100vw;
  height: calc(100vh - 100px);
}

.kyouwa-fv-text{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding: 60px 40px;
}

.kyouwa-fv-text p{
  font-size: 36px;
  font-weight: 700;
  background-color: #ffffffd7;
  letter-spacing: 0.2em;
  z-index: 1;
}

.kyouwa-fv-text2{
  text-align: right;
}

.kyouwa-fv-text-span{
  font-family: dela gothic one, sans-serif;
  font-size: 72px;
}

.kyouwa-fv-img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.job-kyouwaunyu h1{
  font-size: 36px;
  text-align: center;
  margin-bottom: 80px;
}

.kyouwa-read{
  text-align: center;
  margin: 0 auto 180px auto;
}

.job-kyouwaunyu h2{
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
  font-size: 36px;
  margin-bottom: 80px;
  text-align: center;
}

.kyouwa-lineup h3{
  font-family: "rampart one", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 72px;
  margin-bottom: 40px;
  transform: rotate(-15deg);
}

.kyouwa-lineup-item-top-text{
  width: 500px;
  max-width: 90%;
}

.kyouwa-lineup-item-top img{
  width: 500px;
}

.kyouwa-lineup-item-top{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 80px;
  justify-content: center;
}

.wing .kyouwa-lineup-item-top {
  flex-direction: row-reverse;
}

.kyouwa-lineup-item-bottom h4{
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}
.kyouwa-lineup-item-bottom {
  width: 800px;
  max-width: 90%;
  margin: 0 auto 120px auto;
  padding: 50px;
  border: #333 1px dotted;
  text-align: center;
}

.wing .kyouwa-lineup-item-bottom{
  border: #fff 1px dotted;
}

.kyouwa-lineup-item{
  width: 100vw;
  padding: 20px;
}

.dump{
  background-color: #EFDF9C;
}
.wing{
  background-color: #5F6527;
}
.jetpack{
  background-color: #E1622F;
}

.wing{
  color: #fff;
}

.kyouwa-custom{
  width: 80%;
  text-align: center;
  margin: 0 auto 80px auto;
}
.kyouwa-custom-imgbox-item{
  width: 300px;
}

.kyouwa-custom-imgbox-item img{
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: #333 0 4px 6px;
  margin-bottom: 20px;
}

.kyouwa-custom-imgbox{
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 80px;
}

.kyouwa-nagare{
  text-align: center;
  width: 80%;
  margin: 0 auto 80px auto;
}
.kyouwa-nagare p{
  text-align: center;
  margin-bottom: 80px;
}
.sp-display{
  display: none;
  text-align: right;
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.kyouwa-nagare img{
  width: 800px;
  max-width: 90%;
  display: block;
  margin: 0 auto;
}

.kyouwa-interview{
  text-align: center;
}

.kyouwa-interview-title{
  display: inline-block;
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0 auto;
  text-align: left;
}

.kyouwa-interview-content{
  text-align: center;
}

 .balloon {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  padding: 24px 16px;
  border: 2px solid #000000;
  border-radius: 9999px;
  background-color: #efdf9c;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
}

.balloon::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 20px 10px 0 10px;
  border-color: #000000 transparent transparent;
  translate: -50% 100%;
}

.balloon::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 15.5px 7.8px 0 7.8px;
  border-color: #efdf9c transparent transparent;
  translate: -50% 100%;
}

.balloon.is-yellow { background: #EFDF9C; }
.balloon.is-green { background: #5F6527; }
.is-green::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 20px 10px 0 10px;
  border-color: #000000 transparent transparent;
  translate: -50% 100%;
}

.is-green::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 15.5px 7.8px 0 7.8px;
  border-color: #5F6527 transparent transparent;
  translate: -50% 100%;
}

.balloon.is-orange { background: #E1622F; }
.is-orange::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 20px 10px 0 10px;
  border-color: #000000 transparent transparent;
  translate: -50% 100%;
}

.is-orange::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 15.5px 7.8px 0 7.8px;
  border-color: #E1622F transparent transparent;
  translate: -50% 100%;
}


.kyouwa-interview-inner{
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 80px;
}

.kyouwa-interview img{
  width: 100%;
  margin-top: -500px;
}

.kyouwa-ansin-item h3{
  font-size: 36px;
  margin-bottom: 40px;
}

.kyouwa-ansin-item{
  width: 80%;
  margin: 0 auto 80px auto;
  padding: 20px;
  box-shadow: #333 0 4px 6px;
}

.kyouwa-snapshot h2{
  font-family: "rampart one", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.2em;
  font-size: 36px;
  margin-bottom: 180px;
  transform: rotate(-15deg);
  text-align: left;
}

.kyouwa-snapshot{
  width: 100vw;
  padding: 20px;
  background-color: #5F6527;
  color: #fff;
}
.kyouwa-snapshot p{
  text-align: center;
  margin-bottom: 80px;
}


.autoplay {
  width: 100%;
  margin: 0 auto;
}

.autoplay div {
  /* widthは指定不要、Slickが自動で計算 */
  padding: 0 5px; /* スライド間の隙間を少しだけ */
}

.autoplay .job-img {
  width: 100%;
  height: 250px; /* 好きな高さに固定 */
  object-fit: cover;
  border-radius: 8px; /* 必要なら */
}

iframe{
  width: 100%;
  max-width: 800px;
  display: block;
  margin: 50px auto;
  border-radius: 16px;
  box-shadow: #333 0 4px 6px;
}




table{
  width: 80%;
  margin: 0 auto;
  border-collapse: collapse;
}

.kyouwa-apply{
  text-align: center;
  margin-bottom: 100px;
}
.kyouwa-apply p{
  margin-bottom: 20px;
}
.kyouwa-apply a{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
  border-radius: 8px;
  background-color: #06C755;
  color: #fff;
  font-weight: bold;
  line-height: 50px;
  box-shadow: #333 0 4px 6px;
  margin: 0 auto;
}
.kyouwa-apply a span{
  font-size: 36px;
}

.kyouwa-apply a:hover{
  transform: translateX(1px) translateY(2px);
  box-shadow: none;
  color: #fff;
}
.kyouwa-cta-inner a{
  color: #fff;
}

.kyouwa-cta-inner{
  display: inline-block;
  padding: 15px 30px;
  text-align: center;
  position: fixed;
  bottom: 150px;
  right: 20px;
  z-index: 100;
  border-radius: 25px;
  background-color: #06C755;
  box-shadow: #333 0 4px 6px;
  font-weight: bold;
    transition: transform 0.3s ease-in-out;
  animation: pulse 1.5s infinite;
  position: fixed;
}


@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); } /* 最大サイズ */
  100% { transform: scale(1); }
}

.kyouwa-cta-inner:hover {
  color: #fff;
  transform: translateX(1px) translateY(2px);
  box-shadow: none;
  animation: none;
}

@media screen and (max-width: 768px) {
  .kyouwa-fv{
   height: fit-content;
   display: flex;
   flex-direction: column-reverse;
    align-items: center;
  }

  .kyouwa-fv-img{
    position: relative;
    height: auto;
    opacity: 1;
  }

  .kyouwa-fv-text{
    padding: 10px;
  }

  .kyouwa-fv-text p{
    font-size: 3vw;
    margin-bottom: 20px;
  }
  .kyouwa-fv-text-span{
    font-size: 24px;
  }
  .job-kyouwaunyu h1{
    font-size: 24px;
  }

  .job-kyouwaunyu h2{
    font-size: 24px;
  }

  .kyouwa-nagare{
     overflow-x: scroll;
  }

  .sp-display{
    display: block;
  }

  .kyouwa-nagare::-webkit-scrollbar {
    height: 6px;
  }

  .kyouwa-nagare img{
    width: 800px;
    max-width: none;
  }


  .kyouwa-interview img{
    margin-top: -200px;
  }
  .kyouwa-snapshot h2{
    margin-bottom: 80px;
    font-size: 32px;
  }

  .kyouwa-cta-inner{
    bottom: 50px;
  }
  
}

