.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);
}

.portrait-right {
  width: 100%;
  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: 50px;
  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: 200px;
}

.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 60px 60px 60px;
  border-bottom: solid 1px #223a70;
  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: 60px;
  display: block;
  margin: 0;
  cursor: pointer;
  position: relative;
  display: flex;
  gap: 16px;
}

.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-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;
}

.faq-answer {
  display: flex;
  gap: 8px;
}

span.faq-label {
  margin-top: 8px;
  font-weight: bold;
}

.faq-q {
  margin-top: 6px;
  font-weight: bold;
}

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

  body {
    overflow-x: hidden;
  }

  .pc-br {
    display: inline;
  }



  .slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    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: 100px;
    margin-bottom: 80px;
    font-size: 40px;
    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 .text_box {
    display: block;
    width: max-content;
    margin: auto;
    margin-bottom: 90px;
  }

  .next.recruit article .text_box p {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.3em;
    line-height: 2.1428571429;
  }

  .next.recruit article .text_box 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;
  }

  .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 h3 {
    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 h3 span {
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.75;
    text-align: center;
  }

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

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

  .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(odd) {
    background: rgba(107, 131, 185, 0.2);
  }

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

  .inner02 {
    max-width: 1000px;
    height: 400px;
    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 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.2em;
  }

  .heading02 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.2em;
    text-align: right;
  }

  .heading span {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .heading02 span {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .text02 p {
    line-height: 1.8;
    font-size: 12px;
  }

  .text p {
    line-height: 1.8;
    font-size: 12px;
  }

  .image {
    flex: 1;
  }

  .image02 {
    flex: 2;
  }

  .image03 {
    flex: 2;
    margin-right: -300px;
    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: 12px;
    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: 12px;
    line-height: 2;
  }

  .overlay-text02-2 {
    position: absolute;
    top: 60%;
    left: 10%;
    font-size: 12px;
    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: 12px;
    line-height: 2;
    width: 735px
  }

  .next.recruit article .welfare_box {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 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: 1.5;

  }

  .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;
  }

  .sticky-area {
    min-height: 100vh;
    margin-top: 100px;
  }

  .portrait {
    position: sticky;
    display: inline-block;
    z-index: 1;
    top: 0;
    width: 100%;
    height: 80vh;
    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: absolute;
    top: 40%;
    left: 50%;
    color: white;
    font-size: 40px;
    font-weight: bold;
    border-bottom: solid;
    text-align: center;
    width: 50%;
    line-height: 0.8;
  }

  .portrait-text04 p {
    position: absolute;
    top: 60%;
    left: 50%;
    color: white;
    text-align: center;
    width: 50%;
    font-weight: bold;
  }

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

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

  .portrait-text07 {
    font-size: 20px;
    margin-bottom: 20px;
    margin-left: 10px;
  }

  .portrait-text08 {
    margin-bottom: 80px;
    margin-left: 10px;
  }

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


  div.bg_dark {
    background-color: black;
    display: inline-block;
  }

  .bg_dark img {
    display: block;
    opacity: 0.7;
  }

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

  .portrait-left {
    width: 50%;
  }


  .recruitment-text {
    position: relative;
    display: inline-block;
    background-color: #6b83b933;
    padding: 20px 0px;
    margin: 20px 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: 12px;
    margin-top: -15px;
  }

  .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;
  }

  .sliderArea {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 25px;
    margin-top: 50px;
    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;
  }
}



@media (max-width: 768px) {
  .pc-br {
    display: none;
  }

  .container {
    padding: 10%;
  }

  .vertical-text {
    color: #223a70;
    font-weight: bold;
    margin-bottom: 10px;
    writing-mode: horizontal-tb;
  }

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

  .faq-photo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 95%;
    gap: 20px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;

  }

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

  h4 {
    margin-bottom: 0.1rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    line-height: 1.2222222222;
  }

  .horizontal-text p {
    line-height: 1.5;
  }

  .portrait-left {
    width: 100%;
  }

  .portrait-right {
    width: 100%;
  }

  .faq-ul {
    line-height: 2;
    padding: 0 10px;
    margin-bottom: 20px;
    margin-left: 0;
  }

  .portrait-block {
    padding: 0 10px;
  }

  .faq-mokuji {
    font-size: 1em;
    padding: 20px 0;
    padding-right: 50px;
    display: flex;
    gap: 8px;

  }

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

  .faq-menu li {
    padding: 0 20px 60px 20px;
    font-size: 0.12rem;
  }

  .faq {
    margin-top: 0px;
    padding: 0 10%;
  }

  .faq-title {
    padding: 0;
    margin-top: 20px;
  }






  .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;
  }

  .about-section {
    padding: 80px 0;
  }

}
