.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  transition-delay: 0.4s;
}

.fade-in.is-show {
  opacity: 1;
  transform: translateY(0);
}

.sliderArea {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 25px;
  margin-top: 100px;
  margin-bottom: 200px;

}

.sliderArea.w300 {
  max-width: 400px;
}

.slick-slide {
  margin: 0 5px;
}

.slick-slide img {
  width: 100%;
  height: auto;
}

.slick-prev,
.slick-next {
  z-index: 1;
}

.slick-prev:before,
.slick-next:before {
  color: #000;
}

.slick-slide {
  transition: all ease-in-out .3s;
}

.slick-active {
  opacity: 1;
}

.slick-current {
  opacity: 1;
}

.slick-active:not(.slick-center) {
  opacity: 0.4;
}

.slick-active.slick-center+.slick-slide,
.slick-active:has(+ .slick-center) {
  opacity: 1;
}

.thumb {
  margin: 20px 0 0;
}

.thumb .slick-slide {
  cursor: pointer;
}

.thumb .slick-slide:hover {
  opacity: .7;
}

.slick-list {
  margin: 0 -50px;
}

.slick-slide {
  margin: 0 50px;
}

/*====================================================================
.full-screen
====================================================================*/

.full-screen .slick-list {
  overflow: visible;
}

.full-screen.slider {
  max-width: 400px;
  margin: 0 auto;
}

.slide-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 500px;
}

.slide-card img {
  width: 100%;
  object-fit: cover;
}

.slide-text01 {
  margin-top: 20px;
  margin-left: 20px;
}

.slide-text02 {
  margin-top: 10px;
  margin-left: 20px;
  font-size: 20px;
}

.slide-text03 {
  margin-top: 20px;
  margin-left: 20px;
}

.slide-text04 {
  margin-top: 10px;
  margin-right: 20px;
  text-align: right;
  color: #223a70;
}

.slide-text04 a {
  margin-top: 10px;
  margin-right: 20px;
  text-align: right;
  color: #223a70;
  text-decoration: none;
}

.portrait-left {
  width: 50%;
}

.portrait-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  margin-top: -300px;
  background-color: white;
}

.portrait-right02 {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.portrait-block {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.faq {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 75px;
  margin-bottom: 100px;
}

.faq-title {
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: solid 1px #223a70;
  padding: 40px 0;
}

.faq-ul {
  line-height: 2;
  margin-left: 100px;
}

.faq-ul li {
  position: relative;
  padding-left: 20px;
}

.faq-ul li:before {
  content: "";
  position: absolute;
  top: .30em;
  left: 0;
  width: 0;
  height: 0;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent transparent #000;
}

.faq-menu ul {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
}

.faq-menu li {
  padding: 0 20px 60px 20px;
  margin-bottom: 20px;
  line-height: 2;
}

.faq-menu li a {
  color: #000000;
}

.faq-mokuji {
  font-size: 1.02em;
  font-weight: bold;
  background: #fff;
  color: #000000;
  padding: 20px;
  display: block;
  margin: 0;
  cursor: pointer;
  position: relative;
  border-bottom: solid 1px #223a70;
}

.faq-mokuji:after {
  font-family: "Font Awesome 5 Free";
  content: '\f067';
  position: absolute;
  right: 20px;
  font-size: 1em;
  color: #223a70;
}

input[type="checkbox"].on-off+ul {
  display: none;
  overflow: hidden;
}

input[type="checkbox"].on-off:checked+ul {
  display: block;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.faq-more {
  color: #223a70;
  text-align: right;
  font-weight: bold;
}

.faq-more a {
  color: #223a70;
  text-align: right;
  font-weight: bold;
  text-decoration: none;
}

.faq-photo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px;
  width: 1000px;
  margin: 0 auto;
  margin-top: 40px;
  padding: 20px;
}

.faq-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.recruitment-text {
  position: relative;
  display: inline-block;
  background-color: #6b83b933;
  padding: 20px 0px;
  margin: 75px 0;
  width: 100%;
  text-align: center;
}

.recruitment-text::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 100%;
  height: 100%;
  border: 2px dashed #000;
  border-bottom: 2px solid #000;
  z-index: -1;
  background-color: transparent;
}

.recruitment-text02 {
  position: relative;
  display: inline-block;
  background-color: #F2F2F2;
  padding-bottom: 60px;
  margin-bottom: 20px;
  width: 100%;
  font-size: 14px;
  margin-top: -15px;
  line-height: 2;
}

.recruitment-text02::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 100%;
  height: 100%;
  border: 2px dashed #000;
  border-bottom: 2px dashed #000;
  border-top: none;
  background-color: transparent;
}

.recruitment-text03 {
  background: #7C8EB6;
  font-weight: bold;
  display: flex;
  align-items: center;
  width: 150px;
  margin-left: -5px;
  padding: 10px;
  padding-left: 48px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.recruitment-text03::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #fff;
  margin-right: 5px;

}

.recruitment-text03-2 {
  background: #7C8EB6;
  font-weight: bold;
  display: flex;
  align-items: center;
  width: 200px;
  margin-left: -5px;
  padding: 10px;
  padding-left: 48px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.recruitment-text03-2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #fff;
  margin-right: 5px;
}

.recruitment-text04 {
  line-height: 2;
  padding: 0 40px;
}

.recruitment-text05 {
  line-height: 2;
  padding-left: 40px;
  position: relative;
  margin-top: 20px;
}

.recruitment-text05::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 860px;
  height: 1px;
  background: gray;
}



.recruitment-menu {
  width: 100%;
}

.recruitment-menu ul {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 0;
  border-right: 0;
  border-left: 0;
}

.recruitment-menu li {
  padding: 15px 0 15px 5px;
  margin-bottom: 20px
}

.recruitment-menu li a {
  color: #000000;
}

.recruitment-mokuji {
  font-size: 1.02em;
  font-weight: bold;
  background: #fff;
  color: #000000;
  padding-left: 40px;
  display: block;
  margin: 0;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  cursor: pointer;
  position: relative;
}

.recruitment-mokuji:after {
  font-family: "Font Awesome 5 Free";
  content: '\f067';
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 1em;
  color: #223a70;
}

.sticky-area {
  margin-top: 200px;
}

.portrait-text06 {
  color: #223a70;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  margin: 40px;
}

.portrait-text07 {
  font-size: 18px;
  margin-bottom: 40px;
  margin-left: 60px;
  font-weight: 600;
}

.portrait-text08 {
  margin: 20px 200px 50px 60px;
}

.portrait-text08 p {
  line-height: 2.0;
}


div.bg_dark {
  display: inline-block;
}

.bg_dark img {
  display: block;
}

.hen {
  color: #223a70;
  text-align: center;
  margin-top: 140px;
  margin-left: -130px;
}




@media screen and (min-width:768px) {
  html {
    scroll-behavior: smooth;
  }

  body {
    overflow-x: hidden;
    margin: 0;
  }

  .pc-br {
    display: inline;
  }

  .sp-br {
    display: none;
  }

  .slider-container {
    position: relative;
    width: 100%;
    min-height: 85vh;
    overflow: hidden;
  }

  .slideimg {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    animation: slideAnime 16s infinite;
  }

  .slideimg:nth-of-type(1) {
    background-image: url('https://hattori-koumuten.com/recruit/image/staff01.jpg');
    animation-delay: 0s;
  }

  .slideimg:nth-of-type(2) {
    background-image: url('https://hattori-koumuten.com/recruit/image/staff02.jpg');
    animation-delay: 4s;
  }

  .slideimg:nth-of-type(3) {
    background-image: url('https://hattori-koumuten.com/recruit/image/staff03.jpg');
    animation-delay: 8s;
  }

  .slideimg:nth-of-type(4) {
    background-image: url('https://hattori-koumuten.com/recruit/image/staff04.jpg');
    animation-delay: 12s;
  }

  @keyframes slideAnime {

    0%,
    40%,
    100% {
      opacity: 0;
    }

    15%,
    25% {
      opacity: 1;
    }
  }

  .next.recruit article h2 {
    margin-top: 140px;
    margin-bottom: 70px;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.75;
    text-align: center;
  }

  .next.recruit article h2 span {
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.75;
    text-align: center;
  }

  .next.recruit article .staff_box {
    padding: 0;
  }

  .next.recruit article .text_box {
    display: block;
    width: max-content;
    margin: auto;
    margin-bottom: 90px;
  }

  .next.recruit article .text_box p {
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    text-align: center;
  }

  .next.recruit article .text_box p+p {
    margin: 25px 0 0;
  }

  .next.recruit article .text_box02 {
    display: block;
    width: max-content;
    margin: auto;
    margin-bottom: 90px;
  }

  .next.recruit article .text_box02 p {
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    text-align: center;
  }

  .next.recruit article .text_box02 p+p {
    margin: 25px 0 0;
  }

  .next.recruit article .staff_box .inner ul li {
    width: calc(33% - 40px);
  }

  .next.recruit article .staff_box .inner::before {
    bottom: 40px;
  }

  .next.recruit article .staff_box .inner ul li .text_box {
    margin: 0;
    color: #000;
    background: none;
    right: 0;
    padding: 30px 0;
    width: 100%;
  }

  .next.recruit article .staff_box .inner ul li .text_box p strong span {
    margin-left: 0;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 0.05em;
    line-height: 3;
  }

  .next.recruit article .staff_box .inner ul li .text_box p {
    margin-bottom: 15px;
    min-height: 120px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 2;
    text-align: left;
  }

  .next.recruit article h3 {
    margin-top: 10px;
    margin-bottom: 40px;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.75;
    text-align: center;
  }

  .next.recruit article h3 span {
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.75;
    text-align: center;
  }

  .next.recruit article .staff_box .inner ul li .text_box p strong {
    margin-bottom: 25px;
    display: block;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.6666666667;
    color: #223a70;
  }

  span.more a {
    display: block;
    text-align: right;
    margin-top: 20px;
    color: black;
    font-size: 18px;
  }

  .next.recruit article .welfare_box .intro {
    margin-bottom: 50px;
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    text-align: center;
  }

  .next.recruit article .number_box {
    max-width: 1360px;
    margin: 0 auto;
    margin-bottom: 100px;
    padding: 100px 80px 0px 80px;
  }

  .container03 {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .container {
    position: relative;
    width: 100%;
    background: #F2F2F2;
  }

  .container::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    bottom: 0;
    width: calc((100% - 1000px) / 2 + 1px);
    background: white;
  }

  .container04 {
    position: relative;
    width: 100%;
    background: #F2F2F2;
  }

  .container04::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    bottom: 0;
    width: calc((100% - 1000px) / 2 + 1px);
    background: white;
  }

  .inner03 {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;

    max-width: 1000px;
    margin: 0 auto;

    position: relative;
    z-index: 1;

  }

  .vertical-text {
    writing-mode: vertical-rl;
    display: inline-block;
    line-height: 1.5;
    color: #223a70;
    letter-spacing: 5px;
    font-weight: bold;
    margin-left: -5px;
  }

  .vertical-text02 {
    writing-mode: vertical-rl;
    display: inline-block;
    line-height: 1.5;
    color: #223a70;
    letter-spacing: 1px;
    font-weight: bold;
    margin-left: -5px;
  }

  .about-section {
    width: 100%;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: rgba(107, 131, 185, 0.2);
  }

  .about-section02 {
    width: 100%;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 200px;
  }

  .about-section:nth-child(even) {
    background: rgba(107, 131, 185, 0.2);
  }

  .about-section:nth-child(odd) {
    background: #fff;
  }

  .inner02 {
    max-width: 1000px;
    height: 450px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 0 40px;
    align-items: flex-end;
  }

  .inner02.reverse {
    flex-direction: row-reverse;
  }

  .text {
    flex: 1;
    align-self: center;
  }

  .text02 {
    flex: 2;
    align-self: center;
  }

  .heading {
    display: inline-block;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.2em;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  }

  .heading02 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-align: right;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  }

  .heading span {
    font-size: 28px;
    margin-bottom: 20px;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  }

  .heading02 span {
    font-size: 28px;
    margin-bottom: 20px;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  }

  .text02 p {
    line-height: 2;
    font-size: 14px;
  }

  .text p {
    line-height: 2;
    font-size: 14px;
  }

  .image {
    flex: 1;
  }

  .image02 {
    flex: 2;
    margin-right: calc((100vw - 1000px) / -2);
    max-width: 600px;
    margin-left: 100px;

  }

  .image03 {
    flex: 2;
    margin-right: calc((100vw - 1000px) / -2);
    max-width: 500px;
  }

  .image04 {
    flex: 1;
    height: 500px;
    margin-bottom: -10px;
  }

  .image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .image02 img {
    width: 100%;
    height: auto;
    display: block;
  }

  .image03 img {
    width: 100%;
    height: auto;
    display: block;
  }

  .image04 img {
    width: 100%;
    height: auto;
    display: block;
  }



  .horizontal-text {
    flex: 1;
    padding: 20px;
    line-height: 1.6;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  }

  .horizontal-text h4 {
    font-size: 20px;
    margin-bottom: 20px
  }

  .horizontal-text p {
    font-size: 14px;
    line-height: 2;
  }

  .container02 {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    gap: 20px;
    margin-bottom: 600px;
  }

  .item {
    flex: 0 0 calc(50% - 10px);
    position: relative;
    overflow: visible;
    ;
  }

  .item img {
    width: 100%;
    height: auto;
    display: block;
  }

  .item:nth-child(3) {
    position: relative;
  }

  .item:nth-child(3) .image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .item:nth-child(3) img {
    position: absolute;
    width: 100%;
    height: auto;
  }

  .item:nth-child(3) img:first-child {
    transform: translateY(200px);
    z-index: 2;
  }

  .item:nth-child(3) img:last-child {
    transform: translate(100px, 400px);
    z-index: 1;
  }

  .item:nth-child(5) {
    position: relative;
  }

  .item:nth-child(5) .image-wrapper {
    position: relative;
    width: 50%;
    height: 100%;
  }

  .item:nth-child(5) img {
    position: absolute;
    width: 100%;
    height: auto;
  }

  .item:nth-child(5) img:first-child {
    transform: translateY(700px);
    z-index: 2;
  }

  .item:nth-child(5) img:last-child {
    transform: translate(50px, 650px);
    z-index: 1;
  }

  .item:nth-child(8n+1) {
    transform: translateY(0);
  }

  .item:nth-child(8n+1) img {
    opacity: 0.5;
  }

  .item:nth-child(8n+2) {
    transform: translateY(200px);
  }

  .item:nth-child(8n+2) img {
    opacity: 0.5;
  }

  .item:nth-child(8n+3) {
    transform: translateY(-100px);
  }

  .item:nth-child(8n+4) {
    transform: translateY(500px);
    transform: translate(-50%, 500px);
    z-index: -1;
  }

  .item:nth-child(8n+4) img {
    width: 150%;
  }

  .item:nth-child(8n+5) {
    transform: translateY(0);
  }

  .item:nth-child(8n+6) {
    transform: translateY(300px);
  }

  .item:nth-child(8n+6) img {
    opacity: 0.8;
  }

  .item:nth-child(8n+7) {
    transform: translateY(320px);
    z-index: -1;
  }

  .overlay-text01 {
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 40px;
    font-weight: bold;
  }

  .overlay-text02 {
    position: absolute;
    top: 70%;
    left: 10%;
    font-size: 14px;
    line-height: 2;
  }

  .overlay-text02-2 {
    position: absolute;
    top: 60%;
    left: 10%;
    font-size: 14px;
    line-height: 2;
  }

  .overlay-text03 {
    position: absolute;
    top: 50%;
    right: 10%;
    font-size: 40px;
    font-weight: bold;
  }

  .overlay-text04 {
    position: absolute;
    top: 10%;
    right: -40%;
    font-size: 40px;
    font-weight: bold;
  }

  .overlay-text05 {
    position: absolute;
    top: 30%;
    left: 10%;
    font-size: 14px;
    line-height: 2;
    width: 735px
  }

  .next.recruit article .welfare_box {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 100px;
    padding: 0;
    background-color: white;
    z-index: 2;
    position: relative;

  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .card {
    background-color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    text-align: center;
  }

  .card img {
    width: 100%;
    object-fit: cover;
  }

  .card p {
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 2;

  }

  .card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
  }

  .ruby {
    font-size: 14px;
    margin-top: 20px;
    color: #223a70;

  }

  .next.recruit article .welfare_box02 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
  }

  .next.recruit article .welfare_box02 h3 {
    margin-bottom: 80px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.2222222222;
    text-align: center;
  }

  .portrait {
    position: relative;
    display: inline-block;
    z-index: 1;
    top: 0;
    width: 100%;
    object-fit: cover;
  }

  .portrait-text01 {
    position: absolute;
    top: -60px;
    left: 10%;
    color: white;
    font-size: 160px;
    font-weight: bold;
    letter-spacing: 0.2em;
  }

  .portrait-text02 {
    position: absolute;
    top: 12%;
    left: 25%;
    color: white;
    font-size: 80px;
    font-weight: bold;
    letter-spacing: 0.2em;
  }

  .portrait-text03 {
    position: static;
    font-size: 32px;
    font-weight: bold;
    border-bottom: solid 1px;
    text-align: right;
    margin: 60px 0;
    margin-left: 40px;
    padding-right: 200px;
    line-height: 0.8;

  }

  .portrait-text04 p {
    position: static;
    text-align: right;
    font-weight: bold;
    margin-bottom: 100px;
    padding-right: 200px;
  }

  .portrait-text05 {
    position: absolute;
    top: 80%;
    left: 80%;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
  }

  .portrait02 {
    display: flex;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 100px 0;
    background-color: #fff;
  }

  .hero {
    position: relative;
  }

  .hero img {
    width: 100%;
    height: auto;
    display: block;
  }

  .text-box {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    max-width: 1200px;
    height: 50%;

    background: #fff;

    padding: 40px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .pc-only {
    display: block;
  }

  .sp-only {
    display: none;
  }

  .welfare-title {
    margin-top: 140px;
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.75;
    text-align: center;
  }

  .welfare-text {
    line-height: 1.75;
    text-align: center;
  }

  .next.recruit article .welfare_box .list_box .single_box .text_box .text_box_itemDt {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }



}

@media (max-width: 768px) {
  html {
    scroll-behavior: smooth;
    overflow-y: scroll;
  }

  body {
    overflow-x: hidden;
    margin: 0;
  }

  .pc-br {
    display: none;
  }

  .sp-br {
    display: inline;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .container {
    padding: 10px;
    background: #F2F2F2;
    margin-left: 10%;
    margin-bottom: 40px;
  }

  .container04 {
    padding: 10px;
    background: #F2F2F2;
    margin-right: -20px;
    margin-left: -20px;
  }

  .slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    margin-bottom: 100px;
  }

  .slideimg {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    animation: slideAnime 16s infinite ease-in-out;
  }

  .slideimg:nth-of-type(1) {
    background-image: url('https://hattori-koumuten.com/recruit/image/staff02.jpg');
    animation-delay: 0s;
  }

  .slideimg:nth-of-type(2) {
    background-image: url('https://hattori-koumuten.com/recruit/image/staff01.jpg');
    animation-delay: -4s;
  }

  .slideimg:nth-of-type(3) {
    background-image: url('https://hattori-koumuten.com/recruit/image/staff04.jpg');
    animation-delay: -8s;
  }

  .slideimg:nth-of-type(4) {
    background-image: url('https://hattori-koumuten.com/recruit/image/staff03.jpg');
    animation-delay: -12s;
  }

  @keyframes slideAnime {
    0% {
      opacity: 0;
    }

    10% {
      opacity: 1;
    }

    35% {
      opacity: 1;
    }

    45% {
      opacity: 0;
    }

    100% {
      opacity: 0;
    }
  }

  .text_box {
    margin-bottom: 100px;
  }

  .text_box p {
    line-height: 1.5;
    padding: 0 10%;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.12rem;
  }

  .text_box02 {
    margin-bottom: 100px;
    margin-top: -50px;
  }

  .text_box02 p {
    line-height: 1.5;
    padding: 0 10%;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.12rem;
  }

  .staff_box {
    margin-bottom: 100px;
    margin-top: 100px;
    padding-bottom: 0;
    background: linear-gradient(to right,
        transparent 50%,
        #B5BEDE 50%);
  }

  .next.recruit article .staff_box {
    padding: 0;
  }

  .next.recruit article .staff_box .inner::before {
    content: none;
  }

  .next.recruit article .staff_box .inner ul {
    margin: 0;
    font-size: 0;
    position: relative;
    z-index: 1;
  }

  .next.recruit article .staff_box .inner ul li {
    width: 100%;
    margin: 0 auto 0.3rem 0;
    display: block;
    height: 450px;
  }

  .next.recruit article .staff_box .inner ul li .image {
    width: 3rem;
    margin: 0 auto 0 0;
    position: relative;
    top: -100px;
  }

  .next.recruit article .staff_box .inner ul li .text_box {
    width: 100%;
    padding: 0.25rem 0;
    margin: ;
    position: relative;
    z-index: 1;
    top: 100px;
    right: 0;
    color: #111;
    background: none;
  }

  .next.recruit article .staff_box .inner {
    padding-bottom: 0;
    position: relative;
  }

  .next.recruit article .staff_box .inner ul li .text_box p strong {
    font-size: 0.24rem;
    color: #223a70;
    margin: 20px 0;
  }

  .next.recruit article .staff_box .inner ul li .text_box p strong span {
    display: inline;
    margin-top: 0.1rem;
    font-size: 0.18rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.5;
  }

  .next.recruit article .staff_box .inner ul li .text_box p {
    margin-bottom: 15px;
    min-height: 120px;
    font-size: 0.12rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: left;
    line-height: 2;
  }

  .next.recruit article .staff_box .inner ul li:nth-child(even) .text_box {
    margin: -1.8rem 0 0;
    right: 0;
  }

  span.more a {
    display: block;
    text-align: right;
    margin-top: 20px;
    color: black;
    font-size: 14px;
  }

  .next.recruit article h2 {
    margin-bottom: 1.2rem;
    font-size: 0.3rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.2222222222;
    text-align: center;
    padding: 0 10%;
  }

  .next.recruit article h2 span {
    margin-bottom: 0.5rem;
    font-size: 0.2rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.2222222222;
    text-align: center;
  }

  h3 {
    margin-bottom: 40px;
    font-size: 0.2rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.2222222222;
    text-align: center;
  }

  .hen {
    color: #223a70;
    margin-bottom: 10px;
    margin-left: -25%;
  }


  .vertical-text {
    margin-top: -5px;
    writing-mode: vertical-rl;
    display: inline-block;
    line-height: 1.5;
    color: #223a70;
    letter-spacing: 5px;
    font-weight: bold;
    margin-left: -15px;
  }

  .vertical-text02 {
    color: #223a70;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .inner03 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .horizontal-text {
    width: 100%;
    margin-left: 10px;
  }

  .about-section {
    padding: 60px 10% 0;
  }

  .about-section02 {
    padding: 60px 10px;
    margin-bottom: 60px;
  }

  .about-section03 {
    padding: 60px 10% 0 0;
  }

  .about-section:nth-child(even) {
    background: rgba(107, 131, 185, 0.2);
  }

  h4 {
    margin: 20px 0;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.2222222222;
    font-size
  }

  .horizontal-text p {
    line-height: 1.8;
    font-size: 0.12rem;
  }

  .heading {
    display: inline-block;
    margin-bottom: 0.2rem;
    font-size: 0.2rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.2222222222;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  }

  .heading02 {
    margin-bottom: 0.2rem;
    font-size: 0.2rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.2222222222;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  }

  .heading span {
    margin-bottom: 0.2rem;
    font-size: 0.2rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.2222222222;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  }

  .heading02 span {
    margin-bottom: 0.2rem;
    font-size: 0.2rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.2222222222;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  }

  .heading03 {
    margin-bottom: 0.2rem;
    font-size: 0.2rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.2222222222;
    margin-left: 10%;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  }

  .heading03 span {
    margin-bottom: 0.2rem;
    font-size: 0.2rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.2222222222;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  }

  .ceo02 {
    display: flex;
    align-items: center;
  }

  .image04 {
    width: 30%;
    margin-bottom: -60px;
  }

  .ceo {
    width: 70%;
    line-height: 1.8;
    font-size: 0.12rem;
    margin-bottom: 20px;
    margin-left: 10px;
  }

  .image04 img {
    width: 100%;
    height: auto;
    display: block;
  }

  .text p {
    line-height: 1.8;
    font-size: 0.12rem;
  }

  .text02 p {
    line-height: 1.8;
    font-size: 0.12rem;
  }

  .image {
    margin-top: 20px;
  }

  .image02 {
    margin-top: 20px;
  }

  .image03 {
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: -10%;
  }

  .sliderArea {
    margin-bottom: 100px;
  }

  section.sticky-area {
    margin-bottom: 0;
  }

  .faq {
    display: flex;
    max-width: 100%;
    flex-direction: column;
    margin-top: 20px;
  }

  .portrait-left {
    width: 100%;
  }

  .portrait-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: -100px;
    background-color: white;
  }

  .faq-ul {
    line-height: 2;
    padding: 0 10px;
    margin: 40px 18%;
  }

  .portrait-block {}

  .faq-mokuji {
    font-size: 0.8em;
    padding: 20px 10px 40px;
  }

  .faq-more {
    padding: 0 10px;
  }

  .faq-menu {
    padding: 0 10%;
  }

  .faq-menu:first-child {
    position: relative;
    padding-top: 20px;
    margin-top: 20px;
  }

  .faq-menu:first-child::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: #223a70;
  }

  .next.recruit article .number_box {
    margin-bottom: 80px;
  }

  .next.recruit article .welfare_box .intro {
    font-size: .16rem;
  }

  .next.recruit article .welfare_box {
    padding: 0 10%;
  }

  .next.recruit article .welfare_box .list_box .single_box .text_box .text_box_itemDD {
    line-height: 1.8;
    font-size: 0.12rem;
  }

  .next.recruit article .welfare_box .list_box .single_box .text_box .text_box_itemDt {
    display: block;
    width: 100%;
    font-size: .16rem;
    font-weight: bold;
    letter-spacing: .05em;
    line-height: 1.45;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .portrait {
    display: inline-block;
    z-index: 1;
    top: 0;
    width: 100%;
    object-fit: cover;
    position: relative;
  }

  .portrait02 {
    display: flex;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 100px;
    position: relative;
    z-index: 2;
    padding: 0 10%;
    background-color: #fff;
    flex-direction: column;
  }

  .portrait-text03 {
    position: static;
    font-size: 18px;
    font-weight: bold;
    border-bottom: solid 1px;
    margin-top: 100px;
    text-align: right;
    line-height: 0.8;
  }

  .portrait-text04 p {
    position: static;
    font-weight: bold;
    line-height: 1.2;
    font-size: 0.09rem;
    margin-top: 40px;
    text-align: right;
  }

  .portrait-text06 {
    color: #223a70;
    font-size: 18px;
    font-weight: bold;
    margin: 40px 0 20px;
  }

  .portrait-text07 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: bold;
    margin-left: 0;
  }

  .portrait-text08 {
    margin: 0;
    line-height: 1.8;
    font-size: 0.12rem;
  }

  .recruitment-text05::after {
    width: 90%;
  }

  .recruitment-text {
    position: relative;
    display: inline-block;
    background-color: #6b83b933;
    padding: 20px 10%;
    margin: 75px 10%;
    width: 80%;
    text-align: center;
  }

  .recruitment-mokuji {
    padding-left: 15%;
  }

  .recruitment-mokuji:after {
    font-family: "Font Awesome 5 Free";
    content: '\f067';
    position: absolute;
    top: 4px;
    font-size: 1em;
    color: #223a70;
    left: 10%;
  }

  .bg_dark img {
    display: block;
    opacity: 0.7;
    height: 200px;
  }

  .hero {
    position: relative;
    padding-bottom: 250px;
  }

  .hero img {
    width: 100%;
    height: auto;
    display: block;
  }

  .text-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    width: 80%;

    background: #fff;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    line-height: 1.8;
    font-size: 0.12rem;
    margin-top: -50px;
  }

  .welfare-title {
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.75;
    text-align: center;
  }

  .welfare-text {
    line-height: 1.75;
    text-align: center;
  }

  .portrait-text01 {
    position: absolute;
    top: -15px;
    left: 2%;
    color: white;
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 0.2em;
  }

  .portrait-text02 {
    position: absolute;
    top: 25px;
    left: 30%;
    color: white;
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 0.05em;
  }

  .portrait-right02 {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* 縦方向に並べる */
  }


  .item {
    flex: 0 0 100%;
    min-height: auto;
    width: 100% !important;
    margin-left: 0 !important;
  }

  .item:nth-child(n) {
    transform: translateY(0);
  }

  .item:nth-child(3) img:first-child,
  .item:nth-child(3) img:last-child {
    transform: translate(0, 0);
    position: relative;
    width: 100%;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .inner,
  .inner02.reverse {
    flex-direction: column;
  }

  .faq-menu li {
    font-size: 0.12rem;
  }

  .recruitment-text04 {
    font-size: 0.12rem;
  }
.slick-slide {
    margin: 0 20px;
}

}
