@charset "UTF-8";
/*--------------------------------------------------------
共通
------------------------------------------------------------*/
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: #000;
  overflow-x: hidden;
}

/* タイトル */
.u__title {
  margin-left: 9%;
  padding: 50px 17px;
  width: 189px;
  height: 93px;
  position: relative;
}

.u__title::before {
  content: "";
  display: block;
  position: absolute;
  width: 5px;
  height: 70px;
  background: #808080;
  top: 90%; /* 縦方向の中央に配置 */
  left: -10px; /* title から少し離す*/
  transform: translateY(-50%); /* 縦方向の中央に配置するための調整 */
}

.u__title__en {
  font-size: 36px;
  font-weight: bold;
}

/*--------------------------------------------------------
header
------------------------------------------------------------*/
.header {
  width: 100%;
  height: 120px;
  position: fixed;
  z-index: 20;
  background: #fff;
  opacity: 0.9;
}

@media screen and (max-width: 821px) {
  .header {
    height: 72px;
    background-color: #fff;
  }
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  margin: 0 auto;
  width: 85%;
  height: 100%;
}

@media screen and (max-width: 821px) {
  .header__inner {
    max-width: 80%;
  }
}
.header__title {
  width: 657px;
  height: auto;
  font-size: 40px;
  font-weight: 900;
}

@media screen and (max-width: 821px) {
  .header__title {
    width: 60%;
    font-size: 20px;
  }
}
@media screen and (max-width: 900px) {
  .header__nav {
    display: none;
  }
}
.header__menu {
  display: flex;
  gap: 35px;
}

.header__menuList {
  font-weight: bold;
}

.header__toggleBtn {
  display: none;
}

@media screen and (max-width: 900px) {
  .header__toggleBtn {
    display: block;
    width: 42px;
    height: 24px;
    position: relative;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 20;
  }
}
/*ハンバーガーメニューの横線*/
.header__hamburgerLine {
  display: block;
  position: absolute;
  width: 42px;
  height: 3px;
  background-color: #898989;
  border-radius: 3px;
  transition: all 0.5s;
}

.header__hamburgerLine:nth-child(1) {
  top: -3px;
}

.header__hamburgerLine:nth-child(2) {
  top: 9px;
}

.header__hamburgerLine:nth-child(3) {
  top: 21px;
}

/*ハンバーガーメニュークリック時、×になる*/
.js-open .header__hamburgerLine:nth-child(1) {
  transform: translateY(11px) rotate(-45deg);
}

.js-open .header__hamburgerLine:nth-child(2) {
  transform: translateY(-1px) rotate(45deg);
}

.js-open .header__hamburgerLine:nth-child(3) {
  display: none;
}

/*ハンバーガーメニュークリック時背景*/
.header__mask {
  /*background: transparent url(../image/overlay.png) no-repeat top center/cover;*/
  background: #fff;
  position: fixed;
  width: 100%;
  height: 100vh;
  right: -120%; /*左端に寄せて隠しておく*/
  top: 72px;
  transition: all 0.5s;
}

.header__maskNav {
  margin-top: 80px;
  margin-left: 11.4285714286%;
  color: #000;
  font-weight: 700;
}

.header__maskList {
  margin-top: 42px;
}

.header__maskList:first-of-type {
  margin-top: 0;
}

.header__maskList:last-of-type {
  margin-top: 48px;
}

.header__maskWrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__maskLink--sns:first-of-type {
  width: 33px;
  height: 30px;
}

.header__maskLink--sns:last-of-type {
  width: 33.25px;
  height: 33.25px;
}

.js-open .header__mask {
  right: 0; /*隠しておいたmaskを右端一杯に表示する*/
  z-index: 10;
}

/*--------------------------------------------------------
ファーストビュー
----------------------------------------------------- */
.firstView {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.firstView img {
  width: 75%;
  margin-top: 120px;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0; /* 初期状態は透明 */
  animation: fadeIn 5s forwards ease-out; /* ふわっと現れるアニメーション */
  animation-delay: 1s; /* わずかに遅れて開始 */
}

@keyframes fadeIn {
  to {
    opacity: 1; /* 最終的に完全に表示 */
  }
}
@media screen and (max-width: 1024px) {
  .firstView img {
    width: 100%;
    margin-top: 72px;
    -o-object-fit: contain;
       object-fit: contain;
  }
}
.firstView__titleWrap {
  display: flex;
  position: absolute;
  top: 55%;
  left: 7.890625%;
  background: #fff;
  opacity: 0.5;
  padding: 40px 70px;
  border: 0.5px solid #000;
  transform: translateY(100%); /* 初期状態は下に隠しておく */
  opacity: 0; /* 初期状態は透明 */
  animation: slideInFromBottom 1s forwards ease-out; /* アニメーションを適用 */
  animation-delay: 0.5s; /* アニメーション開始までの遅延 */
}

@media screen and (max-width: 550px) {
  .firstView__titleWrap {
    width: 280px;
    height: auto;
    top: 270px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 10px 0 10px 20px;
    transform: translateY(100%); /* スマートフォンでも下から現れるように調整 */
  }
}
@media screen and (min-width: 768px) and (max-width: 852px) {
  .firstView__titleWrap {
    width: 300px;
    height: auto;
    top: 420px;
    left: 40;
    margin: 0 auto;
    padding: 20px 0 20px 40px;
    text-align: center;
    transform: translateY(100%); /* スマートフォンでも下から現れるように調整 */
  }
}
@media screen and (min-width: 853px) and (max-width: 1024px) {
  .firstView__titleWrap {
    width: 400px;
    height: auto;
    top: 480px;
    left: 40;
    margin: 0 auto;
    padding: 20px 0 20px 40px;
    text-align: center;
    transform: translateY(100%); /* スマートフォンでも下から現れるように調整 */
  }
}
.firstView__titleWrap .large__text {
  display: inline-block;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.07em;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .firstView__titleWrap .large__text {
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 1.35;
  }
}
.firstView__titleWrap .medium__text {
  display: inline-block;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.07em;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .firstView__titleWrap .medium__text {
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 1.35;
  }
}
.firstView__titleWrap::after {
  content: "";
  display: block;
  width: 500px;
  height: 1px;
  background: #000;
  position: absolute;
  top: 143px;
  right: -460px;
  transform: translateY(100%); /* 初期状態は下に隠しておく */
  opacity: 0; /* 初期状態は透明 */
  animation: slideInFromBottom 1s forwards ease-out; /* アニメーションを適用 */
  animation-delay: 1s; /* titleWrapより遅れて開始 */
}

@media screen and (max-width: 1024px) {
  .firstView__titleWrap::after {
    display: none;
  }
}
@keyframes slideInFromBottom {
  to {
    transform: translateY(0); /* 最終的な位置 */
    opacity: 0.5; /* 最終的な透明度 */
  }
}
/*------------------------------------------------------
ABOUT
--------------------------------------------------------*/
.about {
  margin-top: 60px;
  margin-bottom: 80px;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .about {
    margin-top: 50px;
  }
}
.about__inner {
  display: flex;
  align-items: center;
  width: 70%;
  max-width: 1080px; /*追加*/
  height: auto;
  margin: 0 auto;
}

@media screen and (max-width: 821px) and (max-width: 911px) {
  .about__inner {
    flex-direction: column;
    width: 92.86%;
    height: auto;
    margin: 0 auto 80px;
  }
}
@media screen and (min-width: 912px) and (max-width: 1024px) {
  .about__inner {
    width: 76%;
    height: auto;
    margin: 0 auto 77px;
  }
}
.about__contentWrap {
  flex: 1;
  display: block;
}

@media screen and (max-width: 991px) {
  .about__contentWrap {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
}
/* ABOUT TEXT */
.about__text {
  width: 85%;
  height: auto;
  margin-top: 70px;
}

@media screen and (min-width: 768px) and (max-width: 900px) {
  .about__text {
    flex-direction: column;
    width: 90%;
    height: auto;
    margin: 80px auto 60px;
    text-align: center;
  }
}
@media screen and (max-width: 550px) {
  .about__text {
    flex-direction: column;
    width: 90%;
    height: auto;
    margin: 80px auto 60px;
  }
}
/* ABOUT IMAGE */
.about__image {
  width: 248px;
  height: 248px;
  border-radius: 50%;
  display: flex;
  overflow: hidden; /* 画像がはみ出さないように */
  margin-top: 70px;
}

@media screen and (max-width: 991px) {
  .about__image {
    margin: 0 auto;
  }
}
.about__image img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

.about__text,
.about__image {
  opacity: 0; /* 最初は非表示 */
  transform: translateY(50px); /* 下に50pxずらしておく */
  transition: opacity 1s ease-out, transform 1s ease-out; /* 透明度と位置を1秒かけて滑らかに変化 */
}

/* スクロールで表示されたときに適用するクラス */
.is-visible {
  opacity: 1; /* 表示 */
  transform: translateY(0); /* 元の位置に戻す */
}

/*------------------------------------------------------
SERVICE
--------------------------------------------------------*/
.service {
  margin-top: 60px;
  background: #eee;
}

.service__inner {
  display: flex;
  max-width: 1080px;
  width: 78%;
  height: auto;
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .service__inner {
    width: 100%;
    height: auto;
  }
}
.service__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  margin-top: 100px;
  margin-left: 12px;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .service__grid {
    grid-template-columns: 1fr;
    align-items: center; /* 子要素を中央揃えにする */
    width: 90%;
    margin: 100px auto 0;
    gap: 50px;
  }
}
.service__gridCard {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 578px;
  margin: 0 auto;
  opacity: 0; /* 最初は非表示 */
  transform: translateY(50px); /* 下に50pxずらしておく */
  transition: opacity 1s ease-out, transform 1s ease-out; /* 透明度と位置を1秒かけて滑らかに変化 */
}

/* スクロールで表示されたときに適用するクラス */
.is-visible {
  opacity: 1; /* 表示 */
  transform: translateY(0); /* 元の位置に戻す */
}

/* 各カードにわずかな表示遅延を適用 (オプション: 動きに変化をつけるため) */
.service__gridCard:nth-child(1) {
  transition-delay: 0.1s; /* 1枚目のカードは遅延なし */
}

.service__gridCard:nth-child(2) {
  transition-delay: 0.3s; /* 2枚目のカードは0.2秒遅れて表示 */
}

.service__gridImage {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service__gridImage img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain; /* 画像全体が収まるように縮小・拡大 */
}

.service__gridTitle {
  text-align: center;
  font-size: 24px;
  margin-top: 24px;
}

.service__gridText {
  width: 90%;
  max-width: 578px; /* 画像の最大幅に合わせる */
  margin-top: 15px;
  text-align: left;
}

/* SKILL */
.skill {
  background: #eee;
  padding-top: 60px;
  padding-bottom: 30px;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .skill {
    padding-top: 80px;
  }
}
.skill__title {
  font-size: 30px;
  font-weight: bold;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px); /* 少し短めに */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.skill__title::before {
  position: absolute;
  content: "";
  display: block;
  width: calc(50% - 250px);
  height: 10px;
  background: #808080;
  top: 55%;
  left: 150px;
  transform: translateY(-50%); /* 縦方向の中央に配置 */
  width: 0; /* 最初は幅を0にする */
  transition: width 0.8s ease-out, left 0.8s ease-out, transform 0.8s ease-out; /* アニメーションを追加 */
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .skill__title::before {
    /*width: calc(50% - 120px);*/
    left: 50px;
  }
}
.skill__title::after {
  position: absolute;
  content: "";
  display: block;
  width: calc(50% - 250px);
  height: 10px;
  background: #808080;
  top: 55%;
  right: 150px; /* title から少し離す*/
  transform: translateY(-50%); /* 縦方向の中央に配置 */
  width: 0; /* 最初は幅を0にする */
  transition: width 0.8s ease-out, left 0.8s ease-out, transform 0.8s ease-out; /* アニメーションを追加 */
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .skill__title::after {
    /*width: calc(50% - 120px);*/
    right: 50px;
  }
}
/* その他のSkill要素の初期状態 */
.skill__iconItem,
.skill__gridTextLeft,
.skill__itemRight { /* .skill__itemRight は既に opacity/transform/transition が指定されているので重複させない */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* スクロールで表示されたときに適用するクラス */
.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 特定の要素が .is-visible になったときの最終状態 */
.skill__title.is-visible {
  /* opacity: 1; transform: translateY(0); は .is-visible で共通なので不要 */
  /* transition-delay はここに */
  transition-delay: 0.1s; /* タイトル本体のアニメーション遅延 */
}

/* 親要素 .skill__title に is-visible がついたら */
.skill__title.is-visible::before {
  width: calc(50% - 250px); /* PCの本来の幅に戻す */
  transition-delay: 0s; /* 擬似要素のアニメーション遅延 */
  /* ここで left プロパティも変化させる場合は transition に left も含める */
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .skill__title.is-visible::before {
    width: calc(50% - 120px); /* スマホの本来の幅に戻す */
  }
}
.skill__title.is-visible::after {
  width: calc(50% - 250px); /* PCの本来の幅に戻す */
  transition-delay: 0s; /* 擬似要素のアニメーション遅延 */
  /* ここで right プロパティも変化させる場合は transition に right も含める */
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .skill__title.is-visible::after {
    width: calc(50% - 120px); /* スマホの本来の幅に戻す */
  }
}
/* Skill__iconList の各アイテム (HTML, CSS, JSアイコン) */
.skill__iconItem:nth-child(1).is-visible {
  transition-delay: 0.3s;
}

.skill__iconItem:nth-child(2).is-visible {
  transition-delay: 0.4s;
}

.skill__iconItem:nth-child(3).is-visible {
  transition-delay: 0.5s;
}

.skill__gridTextLeft.is-visible {
  transition-delay: 0.6s;
}

.skill__itemRight:nth-child(1).is-visible {
  transition-delay: 0.7s;
}

.skill__itemRight:nth-child(2).is-visible {
  transition-delay: 0.8s;
}

/* アニメーションの遅延（スタッガードアニメーション） */
/* Skillタイトル */
.skill__title h2.is-visible {
  transition-delay: 0.1s;
}

/* 擬似要素は h2 より先にアニメーションを開始 */
.skill__title.is-visible::before {
  transition-delay: 0s;
}

.skill__title.is-visible::after {
  transition-delay: 0s;
}

.skill__grid {
  display: flex;
  margin: 0 auto;
  width: 76%;
  max-width: 1080px; /*追加*/
  align-items: center;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .skill__grid {
    display: block;
    width: 90%;
    margin-top: 60px;
  }
}
@media screen and (min-width: 1024px) and (max-width: 1024px) {
  .skill__grid {
    width: 90%;
  }
}
.skill__gridLeft {
  display: flex;
  align-items: center;
  padding-left: 60px;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .skill__gridLeft {
    padding-left: 13%;
  }
}
.skill__iconList {
  list-style: none;
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .skill__iconList {
    flex-direction: row; /* スマホでも横並び */
    justify-content: center; /* 中央揃え */
    margin-bottom: 20px; /* テキストとのスペース */
  }
}
.skill__iconItem {
  padding-bottom: 15px;
}

.skill__iconItem:last-child {
  margin-right: 0;
}

.skill__iconItem img {
  width: 70%;
  height: auto;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .skill__iconItem img {
    width: 50px;
    height: auto;
    vertical-align: middle;
  }
}
.skill__textLeft {
  width: 100%;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .skill__textLeft {
    text-align: start;
    margin-left: 7%;
  }
}
.skill__gridRight {
  display: flex;
  padding-top: 25px;
  padding-left: 45px;
  padding-bottom: 55px;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .skill__gridRight {
    padding-left: 13%;
    padding-top: 0;
  }
}
.skill__itemRight {
  display: flex;
  align-items: center;
}

.figma__icon {
  margin-left: 5px;
}

.skill__itemIconRight img {
  width: 100%;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .skill__itemIconRight img {
    width: 55px;
    height: auto;
  }
}
.skill__gridTextLeft {
  width: 100%;
  padding: 0px 30px 30px 30px;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 430px) {
  .skill__gridTextLeft {
    width: 86%;
    padding-left: 20px;
    padding-right: 0;
  }
}
@media screen and (min-width: 440px) and (max-width: 991px) {
  .skill__gridTextLeft {
    width: 86%;
    padding-left: 13px;
    padding-right: 0;
  }
}
/* Skill__gridTextLeft */
.skill__gridTextLeft.is-visible {
  transition-delay: 0.6s;
}

.skill__gridTextRight {
  width: 97%;
  padding: 25px 50px 30px 50px;
}

/* Skill__itemListRight の各アイテム (WordPress, Figma) */
.skill__itemRight:nth-child(1).is-visible {
  transition-delay: 0.7s;
} /* WordPress */
.skill__itemRight:nth-child(2).is-visible {
  transition-delay: 0.8s;
} /* Figma */
@media screen and (min-width: 370px) and (max-width: 700px) {
  .wp {
    padding-left: 16%;
    padding-right: 4%;
    width: 93%;
  }
}
@media screen and (min-width: 830px) and (max-width: 991px) {
  .wp {
    padding-left: 19%;
    padding-right: 6%;
    width: 92%;
  }
}
@media screen and (min-width: 370px) and (max-width: 700px) {
  .figma {
    padding-left: 15%;
    padding-right: 4%;
    width: 93%;
  }
}
@media screen and (min-width: 830px) and (max-width: 991px) {
  .figma {
    padding-left: 20%;
    padding-right: 6%;
    width: 92%;
  }
}
/*------------------------------------------------------
WORKS
--------------------------------------------------------*/
.works__top {
  margin-top: 20px;
}

.works__inner {
  display: block;
  width: 78%;
  max-width: 1080px; /*追加*/
  height: auto;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  .works__inner {
    width: 90%;
  }
}
/* swiper */
.swiper {
  width: 95%;
  height: 300px;
  margin-top: 80px;
  position: relative;
  padding-left: 45px !important;
  padding-right: 10px !important;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .swiper {
    margin-top: 20px;
  }
}
.swiper .swiper-button-prev,
.swiper .swiper-button-next {
  color: #898989 !important;
  position: absolute !important;
  top: 57% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
}

.swiper .swiper-button-prev {
  left: 10px !important;
}

.swiper .swiper-button-next {
  right: 10px !important;
}

.swiper-slide img {
  width: calc(100% - 35px) !important; /* 左右のパディング分、画像の幅を縮小 */
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.swiper-slide {
  margin-right: 10px;
}

.u-btn {
  width: 220px;
  padding: 10px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  background: #eee;
  margin: 80px auto auto;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .u-btn {
    width: 160px;
    padding: 10px 10px;
  }
}
.u-btn:hover {
  background: #fff;
  border: 0.5px solid #898989;
}

.u-btn p {
  width: 180px;
  padding-left: 25px;
  font-size: 20px;
  text-align: center;
}

@media screen and (max-width: 821px) and (max-width: 991px) {
  .u-btn p {
    padding-left: 10px;
    font-size: 16px;
    line-height: 1.4375;
  }
}
.u-btn img {
  width: 38px;
  height: auto;
}

/*------------------------------------------------------
CONTACT
--------------------------------------------------------*/
.contact {
  margin-top: 80px;
  background: #eee;
}

.contact__inner {
  display: block;
  width: 78%;
  /*max-width: 1080px;*/ /*追加*/
  height: auto;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 80px;
}

.contact__text {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  margin-bottom: 40px;
}

.contact-section {
  width: 50%;
  margin: 0 auto;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .contact-section {
    width: 100%;
  }
}
.wpcf7-form label {
  text-align: left;
  display: block; /* ラベルが独自の行を占めるようにします */
}

.wpcf7-form-control {
  background: #fff;
  width: 100%;
  border-radius: 5px;
  padding: 5px 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

input[type=submit] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 160px;
  padding: 10px;
  border-radius: 10px;
  background: #d3d3d3;
  font-size: 20px;
  text-align: center;
  margin-top: 30px;
}

input[type=submit]:hover {
  background: #fff;
  border: 0.5px solid #898989;
}

.submit-btn {
  text-align: center;
}

span.wpcf7-spinner {
  display: none;
}

/*------------------------------------------------------
フッター
--------------------------------------------------------*/
.footer {
  display: flex;
  justify-content: center;
}

.footer p {
  font-size: 12px;
  margin: 10px 0;
}

/*----------------------------------------------------
TOPボタン
------------------------------------------------------*/
.top__icon {
  position: fixed;
  right: 15px;
  bottom: 40px;
  opacity: 0;
  z-index: 100;
}

.top__iconLink {
  display: inline-block;
  width: 68px;
  height: 68px;
} /*# sourceMappingURL=style.css.map */