@import url('https://fonts.googleapis.com/css2?family=Heisei+Kaku+Gothic+Std&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Helvetica, 游ゴシック体, YuGothic, "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  margin: 0;
  padding: 0;
  background: #FCFCFC;
  color: #333;
}

.en{
  letter-spacing: 1.3px;
  font-family: 'Sorts Mill Goudy', serif;
   
}

.divider {
  border-top: 1px solid #B4B4B4;
  margin: 60px 0;
}

.number{
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  font-variant-numeric: tabular-nums;
}

.title_2 {
  font-family: 'Shippori Mincho', serif;
  font-weight: bold;
  font-size: 24px;
}

.title{
  font-family: 'Shippori Mincho', serif;
  font-weight: bold;
  font-size:20px
}

.archive-title{
  font-family: 'Shippori Mincho', serif;
  font-weight: bold;
  font-size:16px
}
.main{
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  overflow: visible;
}

header nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 1rem;
  margin: 0;
}

header nav a {
  text-decoration: none;
  font-size: 14px;
}

h2{
  font-weight: 500;
  font-size:1.1rem;
  margin-bottom: 30px;
}

p{
  line-height:1.8rem;
  font-size:16px;
}

.recruit {
  display: flex;
  /* align-items: flex-start; */
  justify-content: space-between;
  gap: 4%;
  max-width: 1000px;
  margin: 0 auto;
}

.recruit_text{
  width:50%
}

.logo-recruit {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.image-wrapper-recruit {
  flex: 0 0 30%;
}

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

footer {
    font-size: 12px;

    p{
      font-size:12px;
    }
  }

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin: 0 auto;
    margin-bottom:80px;
}

.left img{
  filter: brightness(0%) saturate(100%) invert(20%) sepia(0%) saturate(0%) hue-rotate(0deg);
  transition: filter 0.3s ease;
}

.left:hover img{
 filter: brightness(0%) saturate(100%) invert(75%) sepia(2%) saturate(500%) hue-rotate(0deg);
}

.right img{
  filter: brightness(0%) saturate(100%) invert(20%) sepia(0%) saturate(0%) hue-rotate(0deg);
  transition: filter 0.3s ease;
}

.right:hover img{
 filter: brightness(0%) saturate(100%) invert(75%) sepia(2%) saturate(500%) hue-rotate(0deg);
}

 /* fade-in */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    /* transition-delay: 0.1s;  */
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
 /* fade-in */

.footer-logo {
   flex: 0 0 calc(25% - 40px);
    display: flex;
    align-items: center;
}

.footer-logo img {
    max-width: 60px; 
    height: auto;
    margin-bottom:60px;
  }

.desc-small {
    flex: 0 0 calc(30% - 60px);
    line-height: 1.8;
  }

.desc-small-first{
    flex: 0 0 calc(40% - 60px);
    line-height: 1.8;
}

.desc-small .name {
    display: block;
    margin-top: 0.5rem; 
}

.link_arrow {
  color: #333;
  text-decoration: none;
  position: relative;
  display: inline-flex;    
  align-items: center;      
  gap: 8px;    
  margin-top: 40px;
  transition: color 0.4s ease;
}

.link_arrow::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  background-color: currentColor;
  mask: url('./common_img/arrow.svg') no-repeat center;
  -webkit-mask: url('./common_img/arrow.svg') no-repeat center;
  mask-size: contain;
  -webkit-mask-size: contain;
  transition: background-color 0.4s ease;
}

.link_arrow:hover {
  color: #B4B4B4;
}

.link_arrow_back {
  color: #333;
  text-decoration: none;
  position: relative;
  display: inline-flex; 
  gap: 8px; 
  align-items: center;
  margin: 40px 0;
  transition: color 0.4s ease;
}

.link_arrow_back::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  vertical-align: middle;
  background-color: currentColor;
  mask: url('./common_img/back_arrow.svg') no-repeat center;
  -webkit-mask: url('./common_img/back_arrow.svg') no-repeat center;
  mask-size: contain;
  -webkit-mask-size: contain;
  transition: background-color 0.4s ease;
}

.link_arrow_back:hover {
  color: #B4B4B4;
}

#slider-viewport {
  width: 100vw;
  position: relative;
  margin-left: 50%;
  transform: translateX(-50%);
  overflow-x: visible;
}

.figure-wrapper-wrapper {
  width: 100vw;
  overflow-x: hidden;
  position: relative;
  margin: 0 auto;
}

.slider-wrapper {
  position: relative;
  width: 100vw;        /* 画面幅いっぱい */
  margin-left: 50%;    /* 一旦親の中央基準に */
  transform: translateX(-50%); /* 画面中央にスライダーを移動 */
  overflow-x: visible; /* はみ出しを許可 */
}

.slider {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: slide 25s linear infinite;
}

.slider em {
  width: 600px;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: block;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1860px));
  }
}

  sup.footnote {
    font-size: 0.7em;
    vertical-align: super;
    line-height: 1;
  }

/* button */
.next-button {
  display: block; 
  padding: 10px 0;
  border: 1px solid #B4B4B4 ;
  border-radius: 9999px;
  background-color: transparent;
  font-family: sans-serif;
  cursor: pointer;
  margin: 0 auto;
  margin-top: 40px;
  text-decoration: none;
  color: #333; 
  width: 200px;
  font-weight: 300;
  font-size: 14px;
  text-align: center;
    transition: background-color 0.3s ease-in-out,
              border-color 0.3s ease-in-out,
              color 0.3s ease-in-out;
}

.next-button:hover {
  color:  #B4B4B4;
}

.next-button img {
  width: 1em;
  height: auto;
}

.next-button-wrapper {
   margin: 60px 0;
}
/* button */

/* big-tablet */
@media (max-width: 1100px) {
main{
   padding: 0 5%; 
}


.footer-wrapper{
  flex-direction: column;
 gap:20px
}

.footer-logo{
  margin:0 auto;
}

.recruit{
  flex-direction: column;
  padding:0;
}

.image-wrapper_recuruit{
    max-width: 80%;
    margin: 0 auto;
    padding-bottom: 40px;   
}

.desc-small-first{
  max-width: 80%;
}
/* big-tablet */

/* SP */
@media (max-width: 414px) {
    .slider em {
      display: block;
      width: 300px;
      height: 200px;
      background-size: cover;
      background-position: center;
    }

    .desc-small-first{
      max-width: 100%;
    }

  .title {
    font-size: 20px;
  }

  .title_2 {
  font-size: 20px;
}

  .recruit_text{
    width:100%
  }

 .only-pc{
  display: none;
 }

  }
  
}
/* SP */