@charset "UTF-8";

/* top */

  .article__header {
    
    padding-left: 5.3%;
    padding-right: 5.3%;

    padding-top: 204px;
    padding-bottom: 134px;
  }

  .article__header img {
    width: 280px;
    height: auto;
  }

  .article__text {
font-size: 1.2rem;
font-weight: 450;
line-height: 20px;
letter-spacing: 0.88px;
padding-top: 8px;
  }

  /* ゼロテキスト */

  .zero-wrap {
    display: inline-grid;
    grid-template-areas: "stack";
    align-items: center;
  }
  
  .zero-text,
  .circle-text {
    grid-area: stack;
    white-space: nowrap; /* 縦崩れ防止 */
  }

  
  .circle-text {
    opacity: 0;
    filter: blur(6px);
    padding-left: 6px;
  }

  /* 画像 */

  .top__fhoto img {
    width: 100%;
      /* display: block; */
    }


  .top__fhoto {
    position: relative;
    overflow: hidden;
  }

  .top__text {
font-size: 1.25rem;
font-weight: 450;
line-height: 20px; /* 166.667% */
letter-spacing: 0.96px;
position: absolute;
bottom: 140px;
right: 5.3%;
  }

  .top__maintext {
    padding-top: 16px;
  }

  .top__text {
    opacity: 0;
    filter: blur(10px);
  }


  @media screen and (min-width: 768px) {

    .article__header {
    
      padding-left: 10.4%;
      padding-right: 10.4%;
      padding-top: 278px;
      padding-bottom: 177px;
    }

  
    .article__header img {
      width: 658px;
    }
  
    .article__text {
  font-size: 1.5rem;
  line-height: normal;
  letter-spacing: 1.2px;
  padding-top: 0px;

    }

    
    .circle-text {
      padding-left: 9px;
    }
  
    /* 画像 */

  
    .top__text {
  font-size: 1.4rem;
  line-height: 25px; /* 166.667% */
  letter-spacing: 1.3px;
  bottom: 130px;
  right: 10.4%;
  font-weight: 370;
    }
  
    .top__maintext {
      padding-top: 22px;
    }
  
    .top__text {
      opacity: 0;
      filter: blur(10px);
    }
  

  }


  /* スマホprofile */

  .sp__profile {
    background-color: #F9F9F9;
    padding: 74px 5.3%;
    display: flex;
    flex-direction: column;

  }


.sp__profile p {

font-size: 1.4rem;
font-weight: 400;
letter-spacing: 1.44px;
margin-right: auto;
line-height: 1.9;

}


.profile__spname {
  text-align: right;

}



.profile__fhoto {
  text-align: center;
  padding-top: 62px;
}

.profile__fhoto img {
  width: 242px;
  border-radius: 26px;
}


/* 横線 */
.line-wrap {
  width: 100%;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 60px;
}

.line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #303030;
  transform: scaleX(0);
  transform-origin: left;
}

.profile__text {
  font-size: 1.5rem;

font-weight: 400;
line-height: 21px; /* 175% */
letter-spacing: 1.2px;
padding-bottom: 40px;
}

.profile__text p {
  text-align: right;
  

}

.btn {
  display: inline-flex;
padding: 18px 25px;
justify-content: center;
align-items: center;
gap: 10px;
border-radius: 30px;
border: 1.6px solid #000;

  margin-left: auto;
}



.btn__profile {
  /* background: none;
  border: none;
  font: inherit;
  cursor: pointer; */

  transition: transform 0.2s ease;
}

/* hoverしたら少し大きく */


.btn:hover {
  background-color: #c4c4c4;
  border: 1.6px solid #c4c4c4;
}
.btn__profile:hover {
  transform: scale(1.08);


}






.pc__profile {
  display: none;
}

/* profile pc */

@media screen and (min-width: 768px) {

  .sp__profile {
    display: none;
  }

  .pc__profile {
    background-color: #F9F9F9;
    padding: 150px 10.4%;
    display: block;
  }

  .profile__width {
    margin: 0 auto;
    max-width: 1440px;

  }

  .profile__inner {

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }

  .profile__pcname {

font-size: 1.5rem;
font-weight: 500;
letter-spacing: 1.8px;
line-height: 30px;
  }

  .profile__pctext {
font-size: 1.4rem;
font-weight: 400;
line-height: 30px; /* 187.5% */
letter-spacing: 1.44px;
padding-bottom: 50px;
  }

  .profile__pcfhoto img {
    border-radius: 40px;
    width: 70%;
  }

  .btn__inner {
    display: flex;
  }

.btn {
  border-radius: 50px;
border: 0.5px solid #000;
}

  .btn__profile {
padding: 10px 30px;
gap: 10px;
font-size: 1.9rem;
font-weight: 500;
letter-spacing: 2.28px;
  }
  


}


/* skillsp */

.skill__sp {
  background-image: url(../images/skillbacksp.jpg);
  /* background-size: auto; */
  background-repeat: no-repeat;
  padding: 90px 5.3% 130px;

  background-repeat: no-repeat;
background-position: center;
background-size: cover;
}


/* 見出しタイトルスマホ */

.skill-title {
  display: flex;
  align-items: flex-end; /* 文字サイズ違っても下揃え */
  gap: 16px;
  padding-bottom: 100px;
}

.skill-en {
  font-size: 3.3rem;
  line-height: 1;
font-weight: 500;
letter-spacing: 2.16px;
}

.skill-ja {
  font-size: 1.3rem;
  padding-bottom: 2px;
  opacity: 0.7;
letter-spacing: 1.04px;
}

.skill-line {
  width: 2px;
  height: 30px;           /* 最終的な線の長さ */
  background-color: #000;

  transform: scaleY(0);   /* 最初は見えない */
  transform-origin: top;  /* 上から下に伸びる */
  align-self: flex-end;   /* 下揃えの保険 */
}


/* skill card */


.skill__box {
  border-radius: 40px;
background: rgba(255, 255, 255, 0.80);
padding: 138px 5.9% 40px;

/* opacity: 0; */


}

.opasity {
  opacity: 0;
}


.skill__box--title {
  color: #535353;
font-size: 4.2rem;
font-style: normal;
font-weight: 500;
line-height: normal;
}

.skill__box--suvtitle {
font-size: 1.2rem;
font-weight: 400;
letter-spacing: 1.44px;

}

.skill__box--text {
  color: #1E1E1E;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 22px; /* 163.636% */
  letter-spacing: 0.88px;
  padding-top: 27px;
  padding-bottom: 30px;
}

.skill__box--contents {
  display: flex;
  gap: 12px;
}

.skill__box--1 {
  border: 1px solid #ABB3BE;
  padding: 5px 10px;
  border-radius: 10px;
font-size: 1.2rem;
font-weight: 400;
letter-spacing: 0.2px;
}

.skill__2 {
  padding-top: 6px;
}

.swiper {
  overflow: hidden;
}



.skill-swiper {
  overflow: hidden;
}

.skill__frame {
  padding-bottom: 40px;
}

/* スライド幅 */
.skill__box {
  width: 100%;
}

/* ドット */
.swiper-pagination-bullet {
  background: #ABB3BE;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #535353;
}

.skill__Pc {
  display: none;
}




/* skillPc */

@media screen and (min-width: 768px) {
  .skill__sp {

    padding: 150px 10.4% 130px;
  }


}



@media screen and (min-width: 1024px) {


  .skill__sp{
    display: none;
  }

  .skill__Pc  {
    background-image: url(../images/skillback.jpg);
    /* background-size: auto; */
    background-repeat: no-repeat;
    padding: 150px 10.4% 200px;
    background-position: center;
    background-size: cover;

    display: block;

    }

    .skill__inner {
      max-width: 1440px;
      margin: 0 auto;
    }
    


  
  
  /* 見出しタイトルスマホ */
  
  .skill-title {
    gap: 16px;
    padding-bottom: 120px;   
  }
  
  .skill-en {
    font-size: 4.8rem;
    line-height: 1;
  font-weight: 500;
letter-spacing: 5.76px;
  }
  
  .skill-ja {
    font-size: 1.6rem;
    padding-bottom: 2px;
    opacity: 0.7;
  letter-spacing: 1.6px;
  
  }
  
  .skill-line {
    width: 2px;
    height: 40px;           /* 最終的な線の長さ */
    background-color: #000;
  }





.skill__Pcframe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}



.skill__Pcbox {
  border-radius: 40px;
background: rgba(255, 255, 255, 0.80);
padding: 150px 3% 40px;
flex: 1;



}


.skill__box--title {
  color: #535353;
font-size: 4.6rem;
font-weight: 500;
}

.skill__box--suvtitle {
font-size: 1.2rem;
font-weight: 400;
letter-spacing: 1.44px;


}

.skill__box--text {
  color: #1E1E1E;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 25px; /* 163.636% */
  letter-spacing: 1.68px;
  padding-top: 27px;
  padding-bottom: 30px;

}
  



.skill__box--contents {
  gap: 5px;
}

.skill__box--1 {
  border: 1px solid #ABB3BE;
  padding: 5px 10px;
  border-radius: 10px;
font-size: 1.2rem;
font-weight: 400;
letter-spacing: 0.95px;

}

.skill__2 {
  padding-top: 6px;
}









.skill__Pcbox {
  flex: 1;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.80);
  padding: 150px 3% 40px;

  overflow: hidden;

  /* カーテン初期 */
  clip-path: inset(0 100% 0 0);

  /* ふわっと用 初期状態 */
  opacity: 0;
  transform: translateY(12px);
  filter: blur(1px);

  will-change: clip-path, opacity, transform, filter;
}
  

}


/* portfolio */

.portfolio {
  padding: 90px 5.3%;
  background: #F9F9F9;
}

.portfolio__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.portfolio__contents{
  padding-left: 3%;
  padding-right: 3%;
  padding-bottom: 30px;

  opacity: 0;
  transform: translateY(20px);

  will-change: opacity, transform;
}

.portfolio__box {
  border-radius: 40px;

padding: 50px 6px 40px 20px;
}

.box1 {
  background: linear-gradient(270deg, #D3BAA1 0%, #EAEAEA 50.96%, #D3BAA1 100%);
}

.box2 {
  background: linear-gradient(90deg, rgba(194, 213, 255, 0.70) 0%, #EAEAEA 49.52%, rgba(194, 213, 255, 0.89) 100%);

}

.box3 {
  background: linear-gradient(90deg, #CED1D2 0%, #EAEAEA 49.52%, #CED1D2 100%);
}

.box4 {
  background: linear-gradient(90deg, #B3CDAB 0%, #EAEAEA 49.52%, #B3CDAB 100%);
}


/* ポートフォリオホバー */

.portfolio__btn {
  display: block;
  overflow: hidden; /* はみ出し防止 */
}

.portfolio__box img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.portfolio__btn:hover .portfolio__box img {
  transform: scale(1.05);
}


@media screen and (min-width: 768px) {

  .portfolio {
    padding: 150px 10.4% 50px;
  }



  
  .portfolio__contents{
    padding-left: 3%;
    padding-right: 3%;
    padding-bottom: 0px;
  }

  .portfolio__frex {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 100px;
  }

  .portfolio__box {
    border-radius: 40px;
  
  padding: 80px 6px 50px 20px;
  }



}



/* =====flow===== */

.flow {
  padding-top: 120px;
  background-color: #f4f4f4;
  padding-bottom: 120px;
}

.flow__topinner {
  max-width: 1440px;
  margin: 0 auto;
}

.flow__top {
  padding-left: 5.3%;
  padding-right: 5.3%;
}

.flow__inner {
  display: flex;
  gap: 50px;
  /* max-width: 1440px;
  margin: 0 auto; */
  padding-bottom: 80px;
}

/* 左：動画 */
.flow__media {
  flex: 0 0 10%;
  /* height: 100vh; */
  position: sticky;
  top: 0;
}

.flow__video {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

/* 右：テキスト */
.flow__content {
  flex: 1;
}

.flow__list {
  display: flex;
  flex-direction: column;
  gap: 53px;
}

/* dlの中を整える */
.flow__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 5.3%;
}

/* dt */
.flow__item dt {
  font-size: 1.5rem;
  font-weight: 500;
  position: relative;
  padding-left: 40px;
letter-spacing: 1.2px;


}

/* dd */
.flow__item dd {
  font-size: 1.2rem;
  line-height: 1.4;
  color: #555;
  margin-left: 40px;
font-weight: 450;
letter-spacing: 0.88px;
}

/* 共通アイコン */
.flow__item dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* アイコン差し替え */
.icon-contact::before {
  background-image: url("../images/mail.png");
}

.icon-meet::before {
  background-image: url("../images/mail2.png");
}

.icon-design::before {
  background-image: url("../images/mail3.png");
}

.icon-support::before {
  background-image: url("../images/mail4.png");
}

.icon-delivery::before {
  background-image: url("../images/mail5.png");
}

.pc__Br {
  display: none;
}

.flow__btn {
  text-align: right;
  padding-right: 10%;

}

.btn__profile {
  letter-spacing: 2px;
}


/* =====flowpc===== */

@media screen and (min-width: 768px) {

  .flow {
    padding-top: 120px;
    z-index: 9999;
    position: relative;
    padding-left: 10.4%;
    padding-right: 10.4%;
  }

  
  .flow__inner {
    gap: 100px;
    padding-bottom: 130px;
    /* padding-left: 100px; */
    margin-left: auto;     /* 左側を自動で空けて右に寄せる */
    max-width: 1000px;     /* 全体の最大幅を決める（※数値は調整してください） */
    padding-left: 0;
    width: 100%;
  }
  
  /* 左：動画 */
  .flow__media {
    flex: 0 0 8%;
    /* height: 100vh; */

  }
  

  
  .flow__list {
    gap: 50px;
  }
  
  /* dlの中を整える */
  .flow__item {
    gap: 22px;
  }
  
  /* dt */
  .flow__item dt {
    font-size: 1.8rem;
    font-weight: 500;
    padding-left: 40px;
  letter-spacing: 1.3px;
  
  
  }
  
  /* dd */
  .flow__item dd {
    font-size: 1.4rem;
    line-height: 1.9;
    color: #555;
    margin-left: 40px;
  font-weight: 400;
  letter-spacing: 0.88px;
  opacity: 0;
  }
  
  /* 共通アイコン */
  .flow__item dt::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
  }


  


}

@media screen and (min-width: 1024px) {

  .pc__Br {
    display: block;
  }
  

}


/* モーダル */

/* ===== bodyスクロール禁止 ===== */
body.is-modal-open {
  overflow: hidden;
}

/* ===== モーダル全体 ===== */
.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.profile-modal.is-active {
  display: block;
}

/* 背景 */
.profile-modal__overlay {
  position: absolute;
  inset: 0;
  background-image: url(../images/modalsp.jpg);
  background-size: cover;
}

/* 画面いっぱいの器 */
.profile-modal__content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 24px;
  overflow-y: auto;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* 白カード */
.profile-modal__card {
background: rgba(255, 255, 255, 0.66);
  border-radius: 30px;
  padding: 40px 30px;
  max-width: 600px;
  width: 100%;
  line-height: 1.9;
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);


  color: #303030;
font-size: 1.3rem;
font-weight: 400;
line-height: 20px; /* 133.333% */
letter-spacing: 1.1px;

  /* アニメ初期 */
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s ease,
              transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.modal__top {
  font-weight: 500;
  padding-bottom: 10px;
}

/* 表示時 */
.profile-modal.is-active .profile-modal__card {
  opacity: 1;
  transform: scale(1);
}

/* 区切り線 */
.profile-modal__line {
  border-top: 1px dotted #999;
  margin: 28px 0;
}

/* 閉じるボタン */
.profile-modal__close {
 display: none;
}

@media screen and (min-width: 768px) {


  /* 背景 */
.profile-modal__overlay {
  background-image: url(../images/modalpc.jpg);
  background-size: cover;
}

/* 画面いっぱいの器 */
.profile-modal__content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 24px;
  overflow-y: auto;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* 白カード */
.profile-modal__card {
background: rgba(255, 255, 255, 0.4);
  border-radius: 30px;
  padding: 60px 30px;
  max-width: 800px;
  width: 100%;
  line-height: 1.9;
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);


  color: #343434;
font-size: 1.6rem;
font-weight: 400;
line-height: 26px; /* 133.333% */
letter-spacing: 1.6px;

  /* アニメ初期 */
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s ease,
              transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.modal__top {
  font-weight: 500;
  padding-bottom: 10px;
}

/* 表示時 */
.profile-modal.is-active .profile-modal__card {
  opacity: 1;
  transform: scale(1);
}

/* 区切り線 */
.profile-modal__line {
  border-top: 1px dotted #999;
  margin: 28px 0;
}

/* 閉じるボタン */
.profile-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: #1b1b1b;
  display: block;
}



}



