@charset "uft-8";

.header {
  width: 100%;
}

.header_inner{
    padding-top: 40px ;

}

.header_flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; /* 固定に変更 */

}

.header_logo{
    width: 114px;
    height: 72px;
}

.nav {
  max-width: 1200px;
  padding: 20px;
}

/* ナビゲーション */
.nav-list {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  list-style: none;
}

.nav_item {
  color: #333;
  font-size: 2rem;
  font-weight: 700;
}

.nav_item a{
  transition: all 0.4s ease;
  padding-bottom: 4px;
  border-bottom: 1px #333 solid;
}

.nav_item a:hover{
  padding-bottom: 8px;
  color: #646464;

}

.header_contact{
    display: block;
    padding: 16px 24px;
    background-color: #333;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 40px;
    transition: all 0.6s ease;
    border: #E1E3E5 1px solid;
}

.header_contact:hover{
  color: #333;
  background-color: #fff;
  border: #333 1px solid;
}

/* ハンバーガー */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  margin: 5px 0;
}

/* ===== タブレット以下 ===== */

/* SPナビ 初期状態 */
@media (max-width: 1024px) {

  .hamburger {
    display: block;
    position: fixed; /* 固定に変更 */
    top: 40px; /* 上からの位置 */
    right: 3%; /* 右からの位置 */
    z-index: 1001;
    padding: 10px; /* タップしやすく */
  }

  .nav{
    display: flex;
    align-items: center;
    position: relative; /* 追加 */
  }

  .nav-list {
    position: fixed; /* absolute → fixed に変更 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* 画面全体の高さ */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 中央揃え */
    gap: 50px;
    background: rgba(255, 255, 255, 0.98); /* 半透明背景 */
    backdrop-filter: blur(10px); /* ぼかし効果 */
    padding: 32px 24px;
    z-index: 1000;
    
    /* 初期状態: 上に隠れている */
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
  }

  .nav-list.is-open {
    /* 開いた状態: 表示 */
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-list li {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .nav-list.is-open li {
    opacity: 1;
    transform: translateX(0);
  }

  /* 各アイテムの遅延 */
  .nav-list.is-open li:nth-child(1) { transition-delay: 0.2s; }
  .nav-list.is-open li:nth-child(2) { transition-delay: 0.4s; }
  .nav-list.is-open li:nth-child(3) { transition-delay: 0.6s; }
  .nav-list.is-open li:nth-child(4) { transition-delay: 0.8s; }

  /* テキストサイズ調整 */
  .nav_item {
    font-size: 2.4rem;
  }

  .header_contact {
    font-size: 2rem;
  }
}

/* ハンバーガーアニメーション */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger span {
  transition: all 0.3s ease;
}

@media (max-width: 580px){
  .hamburger {
    top: 24px; /* 上からの位置 */
  }
}

  /* fv */
  .fv_txtbox{
    font-size: 12rem;
    font-weight: 700;
    color: #333;
    width:fit-content;
    margin: 16px auto 200px;
    text-align: left;
    padding-left: 78px;
    position: relative;
  }

  .fv_txtbox::after{
    content: "パートナー様と共に偉大な発想を。";
    font-size: 2.4rem;
    color: var(--submain-color);
    position: absolute;
    bottom: -100px;
    right: -146px;

    opacity: 0;
    transform: translateX(-90px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .fv_txtbox.is-after-show::after {
    opacity: 1;
    transform: translateX(0);
  }

 .fv_mdl {
    margin-left: -10px;
}

  .fv_big{
    font-size: 15rem;
  }

.fv_top,
.fv_mdl,
.fv_btm {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.5s ease, transform 1.5s ease;
}

/* 表示状態 */
.fv_top.is-show,
.fv_mdl.is-show,
.fv_btm.is-show {
  opacity: 1;
  transform: translateY(0);
}

  @media (max-width: 1024px) {
    .fv_txtbox::after{
      right: -12px;
    }

    .header_logo {
      width: 83px;
      height: 28px;
  }

  .fv_txtbox{
    font-size: 12rem;
    padding-left: 0;
    margin: 94px auto 200px;
  }
  }

  @media (max-width: 768px) {
    .fv_txtbox{
      font-size: 10rem;
    }

    .fv_big{
      font-size: 14rem;
    }

    .fv_txtbox::after{
      font-size: 2rem;
      bottom: -70px;
      right: -36px;
    }
  }

  @media (max-width: 580px){
    .header_inner{
      padding-top: 24px ;
  }

    .fv_txtbox{
      font-size: 6rem;
      margin: 72px auto 70px;
    }

    .fv_big{
      font-size: 9rem;
    }

    .fv_txtbox::after{
      font-size: 1.7rem;
      bottom: -50px;
      right: 0px;
    }

    .fv_mdl {
      margin-left: -4px;
  }
  }


  /* service */

  /*  imgアニメー 初期状態 */
.js-img-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示状態 */
.js-img-anim.is-show {
  opacity: 1;
  transform: translateY(0);
}
  

  .service_inner{
    padding-top: 160px ; 
  }

  .title{
    font-size: 5.6rem;
    font-family: "Noto Sans JP";
    font-weight: 700;
    color: var(--main-text);
    padding-bottom: 12px;
    border-bottom: 1px #E1E3E5 solid;
    position: relative;
  }

  .title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #333;
  
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
  }

  .title.is-line-show::after {
    transform: scaleX(1);
  }

  /* 文字（span）初期状態 */
.title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 表示状態 */
.title span.is-show {
  opacity: 1;
  transform: translateY(0);
}

  .service_wrap{
    padding: 0 7% ;
  }

  .service_flex{
    display: flex;
    align-items: center;
    gap: 140px;
    margin-top: 80px;
  }

  .service_num{
    font-family: "ff-din-paneuropean";
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--sub-color);
  }

  .service_subtitle{
    font-size: 3.6rem;
    font-weight: 700;
    font-family: "Noto Sans JP";
    line-height: 1.5;
    color: var(--main-text);
  }

  .service_txt{
    font-size: 2rem;
    font-weight: 400;
    font-family: "Noto Sans JP";
    line-height: 2;
    color: var(--main-text);
    max-width:595px;
    margin-top: 24px;
  }

  .service_flex:nth-of-type(2n){
    flex-direction:row-reverse;
  }

  .imgbox{
    display: flex;
    gap: 16px;
  }

  @media (max-width: 1024px) {

    .service_txt{

    }

    .service_wrap{
      padding: 0 3%;
    }

    .service_flex {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 70px;
      margin-top: 80px;
  }
  }

  @media (max-width: 768px){
    .service_flex {
      gap: 32px;
      margin-top: 80px;
      flex-direction: column;
  }
  
  .service_flex:nth-of-type(2n){
    flex-direction:column;
  }
}

@media (max-width: 580px) {

  .title{
    font-size: 4.8rem;
  }

  .service_inner{
    padding-top: 160px ; 
  }

  .service_txt{
    font-size: 1.8rem;
  }

  .service_flex {
    margin-top: 48px;
    gap: 24px;
}

.service_flex {

}

.service_subtitle{
  font-size: 2.4rem;
}
.service_txt{
  font-size: 1.8rem;
  line-height: 2;
  margin-top: 4px;
}

.service_wrap{
  padding: 0 ;
}
}

  /* PROJECT */

  .project_inner{
    padding-top: 160px ; 
  }

  .project_wrap{
    padding: 0 7% ;
  }

  .project_flex{
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }

  .project_box{

  }

  .project_title{
    font-size: 4rem;
    font-weight: 700;
    color: var(--main-text);
    line-height: 1.5;
    white-space: nowrap
  }

  .project_txt{
    font-size: 2rem;
    font-weight: 400;
    font-family: "Noto Sans JP";
    line-height: 2;
    color: var(--main-text);
    max-width:595px;
    margin-top: 24px;
  }

  @media (max-width: 1024px) {
    .project_wrap{
      padding: 0 3% ;
    }

    .project_flex {
      margin-top: 80px;
      gap: 40px;
      flex-direction: column;
    }
  }

  @media (max-width: 768px){
    .project_title{
      font-size: 3.2rem;
    }
  }

  @media (max-width: 580px){
    .project_title{
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--main-text);
      line-height: 1.5;
      white-space: nowrap
    }

    .project_txt{
      font-size: 1.8rem;
      font-weight: 400;
      font-family: "Noto Sans JP";
      line-height: 2;
      color: var(--main-text);
      max-width:595px;
      margin-top: 24px;
    }

    .project_flex{
      margin-top: 48px;
    }

    .project_wrap{
      padding: 0;
    }
  }


/* カンパニー */
  .company_inner{
    padding-top: 160px ; 
  }

  .company_box {
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--main-text);
    line-height: 1.5;
  }


.company_flex{
    margin-top: 60px;
    display: flex;
    flex-direction: column;
}

.margin_box{
    margin-top: 60px;
}

.company_margin{
    margin-top:16px ;
}

.company_wrap{
    padding: 0 7%;
}

@media (max-width: 1024px){
  .company_wrap{
    padding: 0 3%;
}

.company_flex{
  margin-top: 40px;
}

.margin_box{
  margin-top: 40px;
}
}

@media (max-width: 786px){
  .company_box {
    font-size: 1.8rem;

  }
}

@media (max-width: 580px){
  .company_flex{
    margin-top: 32px;
}

.margin_box{
  margin-top: 32px;
}

.company_wrap{
  padding: 0;
}
}

/* contact */

.contact_wrap{
    margin-top: 120px;
}

.cta_text{
    font-size: 6.4rem;
    font-weight: 700;
    color: var(--main-text);
}

.tb{
  display: none;
}


.cta {
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

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

  .cta_link {
    display: inline-flex;
    align-items: center;
    gap: 140px;
    padding: 24px 64px;
    border-bottom: 1px solid #E1E3E5;
    text-decoration: none;
    color: #333;
    transition: all 0.8s ease;
  }

  .cta_link:hover {
    transform: scale(0.9 ,0.9);
    opacity: 0.7;
  }

  .cta_icon {
    transform: translateX(-70px);
    opacity: 0;
    transition: opacity 0.6s ease, transform 1s ease;
  }

  /* 表示 */
.cta.is-show .cta_icon {
  transform: translateX(0);
  opacity: 1;
  transition-delay: 0.3s;
}
  
  .cta_icon svg {
    display: block;
  }

/* CONTACT　CTA */
  .contact_txt{
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--main-text);
    letter-spacing: 1.09px;
    margin: 40px auto;
    text-align: center;
    line-height: 1.5;
  }

  @media (max-width: 768px){
    .cta_link {
      gap: 30px;
      padding: 24px 0px;
  }
  
  .cta_text {
    font-size: 4rem;
}

.cta_icon  {
  .icon {
    width: 80px;
    height: auto;
  }
}

.cta_icon svg{
  width: 70px;
}

.tb{
  display: block;
}

.contact_txt{
  font-size: 2rem;
  margin: 30px auto;
  font-weight: 500;
}


  }

  @media (max-width: 580px){
    .tb{
      display: none;
    }

  }

  