@charset "utf-8";
@import url("_reset.css");
@import url("_setting.css");
@import url("_wp.css");
@import url("_salon-search.css");
@import url("mainvisual.css");
@import url("news-section.css");
@import url("about-section.css");
@import url("technology-section.css");
@import url("interview-section.css");
@import url("careers-section.css");
@import url("recruit-section.css");
@import url("contact-section.css");
@import url("footer.css");
@import url("qa-main.css");
@import url("recruit-main.css");
@import url("interview-movie.css");
@import url("careers-main.css");
@import url("about-main.css");
@import url("technology-main.css");

/* ========================================
   Scroll Animations
======================================== */

/* フェードイン */
.js-fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.js-fade-in.is-active {
  opacity: 1;
}

/* 下からスライドイン */
.js-slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-slide-up.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* 左からスライドイン */
.js-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-slide-left.is-active {
  opacity: 1;
  transform: translateX(0);
}

/* 右からスライドイン */
.js-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-slide-right.is-active {
  opacity: 1;
  transform: translateX(0);
}

/* ズームイン */
.js-zoom-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-zoom-in.is-active {
  opacity: 1;
  transform: scale(1);
}

/* スタガーアニメーション（順次表示）*/
.js-stagger {
  /* デバッグ用: スタガーコンテナを視覚化 */
  /* border: 2px dashed red; */
}

.js-stagger .js-stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  /* デバッグ用: スタガーアイテムを視覚化 */
  /* border: 1px solid blue; */
  /* min-height: 10px; */
}

.js-stagger .js-stagger-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* 共通のアニメーション設定 */
.js-target {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-target.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* モバイル用アニメーション調整 */
@media (max-width: 768px) {
  .js-slide-up,
  .js-slide-left,
  .js-slide-right,
  .js-target {
    transform: translateY(20px);
  }
  
  .js-slide-left {
    transform: translateY(20px);
  }
  
  .js-slide-right {
    transform: translateY(20px);
  }
  
  .js-stagger .js-stagger-item {
    transform: translateY(20px);
  }
}




.tac {
  text-align: center !important;
}

.mb-s {
  margin-bottom: 2rem;
}

.mb-m {
  margin-bottom: 4rem;
}

.mb-l {
  margin-bottom: 6rem;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 80px;
  }
  .sp {
    display: none !important;
  }
  * {
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
}

@media (max-width: 767px) {
  .pc {
    display: none !important;
  }
}

body {
  font-size: 1.4rem;
  line-height: 1.8;
  font-family: var(--font);
  color: var(--normalC);
  letter-spacing: 0.05rem;
  background-size: 100% auto;
  position: relative;
  min-width: 1200px;
 
  
}
body section {

}

@media (max-width: 767px) {
  body {
    overflow-x: hidden;
    width: 100vw;
    min-width: none;
    min-width: 100vw;

  }
}

img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--mainC);
  text-decoration: none;
  transition: all 300ms;
}

@media (any-hover: hover) {
  a {
    transition: all var(--ease) 300ms;
    cursor: pointer;
  }
  a:hover {
    opacity: 0.92;
  }
}

.btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  &.one {
    display: block;
    .btn {
      @media (min-width: 768px) {
        margin: 0 auto;
      }
    }
  }

  .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    background: var(--mainC);
    text-decoration: none;
    position: relative;
    width: 100%;

    @media (min-width: 768px) {
      margin: 0 20px;
    }

    &::after {
      content: '';
      position: absolute;

      width: 100%;
      height: 100%;
      border: 1px solid var(--mainC);
      top: 5px;
      left: 5px;
    }


    @media (max-width: 767px) {
      margin-bottom: 2rem;
    }

    @media (min-width: 768px) {
      width: 270px;
      height: 60px;
    }
  }
}

.btn-more {
  display: inline-block;
  padding: 0 1rem 0.5rem;
  border-bottom: 1px solid;
}

/* 共通見出し・サブタイトル・ボタン */
.section-title {
  font-size: 64px;
  font-weight: 600;
  color: #97c21e;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
}

.section-sub {
  font-size: 28px;
  color: #333;
  font-weight: 500;
  margin-bottom: 2.5rem;
  font-family: 'Noto Sans JP', sans-serif;
}

.section-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500;
  color: #16306c;
  background: #fff;
  border: 2px solid #16306c;
  border-radius: 0;
  padding: 0 8rem 0 4rem;
  height: 64px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  margin-top: 2.5rem;
  box-sizing: border-box;
  position: relative;
  width: fit-content;
  text-align: center;
  @media (max-width: 768px) {
    font-size: 1.4rem;
  }

}

.section-btn .arrow {
  font-size: 28px;
  color: #16306c;
  transition: margin-left 0.2s;
  position: absolute;
  right: 0;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  
  &::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 16px solid #16306c;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    transition: border-left-color 0.2s;
  }
  
  &::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 60%;
    background: #16306c;
    top: 20%;
    left: 0;
  }
}

.section-btn:hover,
.section-btn:focus {
  background: #16306c;
  color: #fff;
  & .arrow{
    &::before {
      border-left-color: #fff;
    }
    &::after {
      background: #fff;
    }
  }
}

.section-btn:hover .arrow,
.section-btn:focus .arrow {
  margin-left: 24px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 40px;
  }
  .section-sub {
    font-size: 20px;
  }
  .section-btn {
    width: 100%;
    font-size: 14px;
    height: 48px;
    min-width: 0;
    margin: 0 auto;
  }
  .section-btn .arrow {
    font-size: 22px;
    margin-left: 12px;
  }
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
    z-index: 2;
    transition: all var(--easeInCubic) 0.8s 0s;
    transform: translate3d(0, -100px, 0);
    background: rgba(7, 33, 53, 0.50);
    padding: 2rem 2rem;
    @media (max-width: 767px) {
      z-index: 3;

    }
    &.is-active {
      transform: translate3d(0, 0, 0);
    }

  & h1 {

    margin-left: 8rem;
    width: 100px;
    @media (max-width: 767px) {
      padding: 3vw 0 2vw 2vw;
      width: 11vw;
      margin-left: 0;
      img{
        width: 100%;
      }
      svg{
        height: 15px;
        path{
          fill: var(--colorB2);
        }
      }
    }

  }
  & .gnav {
    &.is-active {
      transform: translateY(0vh);
      overflow-y: scroll;
      z-index: 2;
    }
    & ul {
      display: flex;
      & li {
        & a {
          color: #fff;
          text-decoration: none;
          padding: 0.5rem 1rem;
          display: flex;
          align-items: center;
          justify-content: center;
          
          &:hover {
            color: #8EC31F;
          }
          &.contact{
            background: #8EC31F;
            color: #fff;
            display: flex;
            align-items: center;
            margin-left: 2rem;
            border-radius: 100vmax;
           
          }
        }
      }
    }

    @media (max-width: 767px) {
      transition: all 300ms;
      transform: translate3d(0, -100vh, 0);
      height: 100vh;
      width: 100%;
      overflow-y: scroll;
      background: rgba(78, 78, 78, 0.9);
      position: absolute;
      left: 0;
      top: 0;
      padding: 20px;

      ul {
        display: block!important;
        padding: 60px 0;

        li {
          text-align: center;

          a {
            padding: 15px;
            display: block;
            color: #fff;
            
          }


        }
      }
    }
  }

  & .button {
    position: fixed;
    z-index: 100;
    right: 16px;
    height: 24px;
    width: 36px;
    top: 8vw;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    &.is-active {
      & .button-bar {
        height: 0;
        &::before {
          opacity: 1;
          top: 50%;
          transform: rotate(45deg) translateY(-50%);
          transition: 0.3s ease;
        }
        &::after {
          opacity: 1;
          top: 50%;
          transform: rotate(-45deg) translateY(-50%);
          transition: 0.3s ease;
          width: 100%;
        }
      }
    }
    & .button-bar {
      display: block;
      content: "";
      width: 100%;
      height: 1px;
      background: #fff;
      &::before,
      &::after {
        display: block;
        position: absolute;
        content: "";
        width: 100%;
        height: 1px;
        background: #fff;
        transition: 0.3s ease;
      }
      &::before {
        top: 0;
      }
      &::after {
        bottom: 0;
        /* width: 60%; */
      }

    }
  }

}


.footer {
  background: #363636;
  padding: 7.5rem 14rem;
  @media (max-width: 767px){
    padding: 6rem 4rem;
    width: 100vw;
    overflow: hidden;
  }
  & .inner{
    
   
    
  }
 
  & .copy{
    height: 100%;
    font-size: 0.9rem;
    margin-top: 3rem;
  }

}

.tablenav {
  margin: 1em auto 7em;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap:1rem;
  justify-content: center;
  a {}
}

a.page-numbers,
.tablenav .current {
  text-decoration: none;
  display: inline-block;
  padding: 5px 15px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 3px;
  background: var(--snob_gray);
  color: var(--snob_deepgray);
}

a.page-numbers:hover {
  color: white;
  background-color: var(--snob_orange);
}

.tablenav .current {
  color: white;
  border-color: var(--snob_orange);
  font-weight: bold;
  background-color: var(--snob_orange);
}

.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  a {
    display: block;
    text-align: center;
    width: 140px;
    padding: 15px;
  }
}

.btn{
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: #fff;
  background: var(--snob_brown);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 300ms;
  &:hover{
    opacity: 0.92;
  }
  &:has(i) {
    i {
      margin-left: 1rem;
      display: inline-block;
      svg{
        transform: translate3d(0, -0.3rem, 0);
      }
    }
  }

}


/* SUB 共通 */
.sub-main-section{
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 600px;
  padding: 4rem 8rem;

  @media (max-width: 767px){
    height: 400px;
    padding: 2rem 4rem;
  }
  & .sub-main-header{
    z-index: 1;
    position: relative;
    
    & .section-title{
      font-size: 7rem;
      color: #fff;
      @media (max-width: 767px){
        font-size: 4rem;
      }
    }
    & .section-sub{
      font-size: 2.4rem;
      color: #fff;
      @media (max-width: 767px){
        font-size: 1.6rem;
      }
    }
  }
  & img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    object-fit: cover;
  }
}


form {
    padding: 2rem
}

form table {
    border-spacing: 0;
    width: 100%
}

@media (max-width: 768px) {
    form table tr th,form table tr td {
        padding:.5rem 0;
        display: block
    }
}

form table tr th {
    width: 25%
}

@media (max-width: 768px) {
    form table tr th {
        width:100%
    }
}

form table tr td {
    width: 75%
}

@media (max-width: 768px) {
    form table tr td {
        width:100%
    }
}

form textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 10px
}

form input[type=text],form input[type=email],form input[type=password],form input[type=tel] {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    @media (max-width: 768px) {
        width: 100%
    }
}
form input.p-postal-code{
  width: auto;
}
form .required{
  color: #ca3939;
}
form textarea {
    border: 1px solid #ccc;
    padding: 10px
}
form .attention-area{
  margin-bottom: 20px;

}
form input[type=submit] {
    width: 230px;
    height: 60px;
    color: #fff;
    border: none;
    cursor: pointer;
    background: #8EC31F;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 3rem auto 0;
    text-align: center;
    border-radius: 100vmax;
    transition: all .3s ease;
    border: solid 2px transparent
}

@media (any-hover: hover) {
    form input[type=submit]:hover {
        color:#8EC31F;
        background-color: #fff;
        border: solid 2px #8EC31F
    }
}
