@charset "utf-8";
/* CSS Document */

/*フルードイメージ*/
img {
  max-width: 100%;
  height: auto
}

/* 共通 */




body {
  font-family: "M PLUS Rounded 1c", serif;
  font-size: 1rem;
  background-color: #ffffff;
  font-weight: 600;
  color: #000000;
  overflow-x: hidden;
  letter-spacing: -.0.85em;
  line-height: 1.8;
  text-decoration: none;
}

li {
  list-style: none
}

a,
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: #000;
}

h1 {
  font-size: 4rem;
  font-weight: 600;
}

h2 {
  font-size: 4.5rem;
  font-weight: 800;
}

h3 {
  font-size: 3.2rem;
  font-weight: 700;
}

h4 {
  font-size: 2.4rem;
  font-weight: 600;
}

h5 {
  font-size: 1.6rem;
  font-weight: 600;
}


p {
  font-size: 1rem;
  font-weight: 500;

}



/*----------------------------
　　　　　　ヘッダー 
---------------------------- */

header {
  background-color: #fff;
  border: #000 3px solid;
  border-bottom-left-radius: 1vw;
  border-bottom-right-radius: 1vw;
  width: 100%;
  height: 100px;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5%;
}

header .logo {
  padding: 0.5rem;
}

header .logo h4 {
  letter-spacing: -0.06em;
}

/* ナビゲーションメニュー */

.menu-item {
  position: relative;
  transition: background-color .6s;
  /* 背景色の変化をアニメーション化 */
}

.menu-item:last-child {
  border-right: 1px solid #fff;
  /* 最後のメニューアイテムの右ボーダー */
}

/* メニューアイテムのホバースタイル */
.menu-item:hover .drop-menu-list {
  transform: scaleY(1);
  /* ドロップダウンメニューの表示 */
}

.menu-item:hover {
  transition: background-color .6s;
  /* 背景色の変化をアニメーション化 */
}

.drop-menu-item:hover {
  transition: .3s;
  /* 不透明度の変化をアニメーション化 */
}

.menu-item a {
  align-items: center;
  color: #000;
  display: flex;
  height: 50px;
  justify-content: center;
  text-decoration: none;
  /* リンクの下線を非表示 */
  width: 150px;
}

/* ドロップダウンメニュー */
.drop-menu {
  position: relative;
}

.drop-menu-list {
  left: 0;
  position: absolute;
  top: 100%;
  transform: scaleY(0);
  /* ドロップダウンメニューの非表示 */
  transform-origin: center top;
  /* 変形を適応する基準を設定 */
  transition: transform .3s;
  /* 表示の変化をアニメーション化 */
  width: max-content;
  z-index: 1;
}

.drop-menu-item {
  border-radius: 5vw;
  background-color: #000;
  /* ドロップダウンメニューの背景色 */
}

.drop-menu-item :hover {
  border-radius: 5vw;
  background-color: rgb(89, 88, 88);
}

.drop-menu-item a {
  color: #fff;
}


/*----------------------------
　　ヘッダー700以下 
---------------------------- */

@media only screen and (width<700px) {

  header {
    justify-content: none;
  }

  header .logo h4 {
    font-size: 1.25rem;

  }

  nav ul {
    display: block;
  }

  nav .btn01 {
    margin: 0;
  }

  nav .btn02 {
    padding: 0;
    border-radius: 1vw;
  }

}

/*----------------------------
　　ヘッダー500以下 
---------------------------- */

@media only screen and (width<500px) {

  header li {
    font-size: 0.75rem;
  }
}



/*----------------------------
　　トップページメイン 
---------------------------- */
main {
  padding: 0 5%;
}

/* トップ */
.top .name p {
  text-align: center;
  letter-spacing: 0.6em;
  font-weight: 800;
}

.top h2 {
  text-align: center;
}

.top {
  margin-top: 100px;
  padding: 20% 0;
}

/* あいさつ */

.top-text {
  padding: 0 20% 20% 20%;
}


.top-text p {
  letter-spacing: 0.04em;
  line-height: 1.8;
  text-align: center;
}

/* 私について */
.section-about {
  margin-bottom: 15%;
}

.section-about .title {
  background-color: #000;
  border-radius: 2vw;
  width: 100%;
  padding: 1.5% 0;
  margin-bottom: 5%;
}

.section-about .title h3 {
  color: #fff;
  text-align: center;
  font-weight: 600;
}

.profile-content .right-box .box01 {
  transition: all 0.3s;
}

.profile-content .right-box .box01:hover {
  transform: scale(1.3);
}


/* プロフィール */

.profile-content {
  background-color: #000;
  border-radius: 3vw;
  padding: 5% 3%;
  margin-bottom: 5%;
}

.profile-content .profile {
  display: flex;
  justify-content: center;
}

.profile-content h4 {
  text-align: center;
  color: #fff;
  margin-bottom: 5%;
}


/* 左 */

.profile-content .left-box {
  margin-right: 5%;
}

.profile-content .left-box .icon {
  margin-bottom: 10%;
}

.profile-content .left-box .text p {
  text-align: center;
}

.profile-content p {
  color: #fff;
}


.profile-content .left-box h5 {
  text-align: center;
  color: #fff;
}


/* 右 */


.profile-content .right-box .icon-box p {
  text-align: center;
}

.profile-content .right-box .icon-box .text {
  margin-bottom: 10%;
}

.profile-content .right-box .icon-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1em;
  justify-content: center;
  text-align: center;
}



/* スキル */

.skill-content {
  margin-bottom: 5%;
  border: #000 3px solid;
  border-radius: 3vw;
  padding: 5% 10%;
}

.skill-content h4 {
  text-align: center;
  margin-bottom: 5%;
}

.skill-content .skill-box01 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 1em;
  text-align: center;
}

.skill-content .skill-box01 .box01 {
  margin-bottom: 5%;
}

.skill-content .skill-box01 .text p {
  text-align: center;
}


/* 制作物 */

.section-works .title {
  background-color: #000;
  border-radius: 2vw;
  width: 100%;
  padding: 1.5% 0;
  margin-bottom: 5%;

}

.section-works .title h3 {
  color: #fff;
  text-align: center;
}

.section-works h4 {
  text-align: center;
  margin-bottom: 2%;
}

.works01 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 3em;
  text-align: center;
  margin-bottom: 3%;
}


.section-works .box01 {
  height: auto;
  border: #000 3px solid;
  padding: 5%;
  border-radius: 2vw;
  margin-bottom: 3em;
}



.section-works .image {
  margin-bottom: 5%;
}

.section-works .image img {
  width: 100%;
  border: #000 2px solid;
  border-top-left-radius: 1vw;
  border-top-right-radius: 1vw;
}

.section-works .text p {
  text-align: start;
}

/* ホバー */

.graphic .box01:hover {
  color: #fff;
  background-color: #000;
  transition: 0.5s;
}


/*----------------------------
　　トップページメイン1200以下 
---------------------------- */

@media only screen and (width<1200px) {

  .works01 {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2em;
  }

}



/*----------------------------
　　トップページメイン800以下 
---------------------------- */

@media only screen and (width<800px) {

  main {
    padding: 0 3%;
  }

  .top h2 {
    font-size: 3rem;
  }

  .top-text {
    padding: 0 10% 10% 10%;
    margin-bottom: 20%;
  }

  .section-about .title h3 {
    font-size: 2rem;
  }

  .profile-content h4 {
    font-size: 1.25rem;
  }

  .profile-content .left-box {
    margin: 0 0 5% 0;
    text-align: center;
  }

  .profile-content .profile {
    display: block;
  }

  .section-works .title h3 {
    font-size: 2rem;
  }

  .section-works .graphic h4 {
    font-size: 1.25rem;
  }

  .section-works .web h4 {
    font-size: 1.25rem;
  }

  /* スキル */

  .skill-content .skill-box01 {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1em;
    justify-content: center;

  }

  .skill-content {
    padding: 5% 3%;
  }

  .skill-content h4 {
    font-size: 1.25rem;

  }


}

@media only screen and (width<500px) {

  body p {
    font-size: 0.75rem;
  }

  .works01 {
    grid-template-columns: repeat(1, 1fr);
    column-gap: 1em;
  }

  .works01 .box01 {
    margin-bottom: 3%;
  }

}





/*----------------------------
　　フッター 
---------------------------- */

footer {
  margin-top: 20%;
  padding: 10%;
  background-color: #000;
}

footer h4 {
  color: #fff;
  text-align: center;
}

footer .logo {
  margin-bottom: 10%;
}

footer p {
  color: #fff;
  text-align: center;
}

/*----------------------------
　　フッター700以下 
---------------------------- */

@media only screen and (width<700px) {

  footer h4 {
    font-size: 1.25rem;
  }

}


/*----------------------------
　　　　　　works(グラフィック) 
---------------------------- */

.works {
  margin-top: 200px;
}

.works .main-content {
  display: flex;
  justify-content: center;
}

.works .fix-img {
  margin-right: 5%;
  
}

.works .fix-img img {
  border: #000 3px solid;
  border-radius: 1.5vw;
}

.works .text-content{
  position: sticky;
  top: 2rem; 
}

.works .text-content .title {
  background-color: #000;
  padding: 3%;
  border-radius: 1.5vw;
  margin-bottom: 3%;
}

.works .text-content .title h4 {
  color: #fff;
  text-align: center;
}

.works .sub-text {
  margin-bottom: 5%;
}

.works .sub-text p {
  text-align: end;
  font-size: 0.75rem;
}

.works .text-box {
  display: flex;
  align-items: first baseline;
  margin-bottom: 5%;
}

.works .sub-title {
  width: 130px;
  padding: 10px;
  background-color: #000;
  border-radius: 3vw;
  margin-right: 3%;
}

.works .sub-title p {
  color: #fff;
  text-align: center;
  align-items: center;
}

.works .text-box .text {
  width: 400px;
}

/*----------------------------
　　works(グラフィック)1100以下 
---------------------------- */

@media only screen and (width<1100px) {
  .works .main-content {
    display: block;
  }

  .works .fix-img {
    width: 100%;
    text-align: center;
    margin-bottom: 5%;
  }

  .works .text-content {
    width: 100%;
  }

  .works .text-box .text {
    width: 100%;
  }

}

/*----------------------------
　　works(グラフィック)800以下 
---------------------------- */

@media only screen and (width<800px) {
  .works .text-box {
    display: block;
  }

  .works .sub-title {
    margin-bottom: 1.5%;
  }

  .works .sub-title {
    border-radius: 10vw;

  }

  .works .sub-text p {
    text-align: start;
    margin-bottom: 0;
    align-items: center;

  }

}

@media only screen and (width<500px) {

  .works .sub-title {
    width: 100px;

  }
}

/*----------------------------
　　　　　　works(web) 
---------------------------- */

.web .text .btn {
  border: #000 3px solid;
  background-color: #fff;
  box-shadow: 0px 5px 0px #000;
  transition: .3s;
  border-radius: 2vw;
  width: 150px;
  margin-top: 10px;
  padding: 10px;
}

.web .text .btn p {
  text-align: center;
}

.web .text .btn:hover {
  box-shadow: unset;
  transform: translateY(4px);
}

.web .image {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.mask {
  width: 100%;
  height: 100%;
  border-top-left-radius: 1vw;
  border-top-right-radius: 1vw;
  position: absolute;
  /* 絶対位置指定 */
  top: 0;
  left: 0;
  opacity: 0;
  /* マスクを表示しない */
  background-color: rgba(0, 0, 0, 0.4);
  /* マスクは半透明 */
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.caption {
  font-size: 130%;
  text-align: center;
  padding-top: 50%;
  color: #fff;
}

.web .image:hover .mask {
  opacity: 1;
  /* マスクを表示する */
}


/*----------------------------
　　　　　　works(web-subpage) 
---------------------------- */

.works .image-content {
  margin-right: 5%;
}

.works .pc-image {
  text-align: center;
  margin-bottom: 10%;
}

.works .sp-image {
  display: flex;
  justify-content: center;
}

.works .sp-image01 {
  margin-right: 5%;
}

.works .sub-btn {
  width: 150px;
  padding: 10px 20px;
  text-align: center;
  margin-top: 10%;
  border: #000 3px solid;
  border-radius: 1vw;
  transition: .3s;
}


.works .sub-btn p {
  text-align: center;
}



.works .sub-btn:hover {
  transform: scale(1.1);
  transition: .3s;
}





/*----------------------------
　　works(web-subpage)1100以下 
---------------------------- */

@media only screen and (width<1100px) {
  .works .sp-image {
    margin-bottom: 5%;
  }

  .works .sp-image01 {
    margin-right: none;
    margin-bottom: 5%;
  }


}

/*----------------------------
　　works(web-subpage)800以下 
---------------------------- */

@media only screen and (width<800px) {

  .works .sub-btn {
    width: 200px;
    padding: 15px 30px;
    border-radius: 2vw;
  }

  .web .text .btn {
    border-radius: 3vw;
  }

}

/*----------------------------
　　works(web-subpage)500以下 
---------------------------- */

@media only screen and (width<500px) {

  .web .text .btn {
    border-radius: 5vw;
  }
}