body {
  font-family:  "Yusei Magic",'游ゴシック体', 'YuGothic', 'メイリオ', 'Meiryo', sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  color: #f3f0f6;
  line-height: 1.8;
}
  .mv {
  width: 100%;
  max-width:800 px;
  }
.content {
    background-position: center;
  background-size: cover;
}
a {
  transition: opacity .3s;
  text-decoration: none;
  color: #191d1d;
  font-size: 25;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
} 

html {
  background-image: url(../img/bck0020-026.jpg);
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
  background-attachment: fixed;
  background-color: #f0f0f0; 
}


.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
  padding-top: 73px;
}

.section {
  padding: 90px 0;
}
.aboutcontact {
  background-image: url(../img/bck0033-066.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #dff2f71d;
  background-blend-mode: lighten;
  color:#fff;  
  }





.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 50px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: #09040d;
  text-shadow: #79787a  10px 10px 0px;
  font-family:"Rubik Dirt", '游ゴシック体', 'YuGothic', 'メイリオ', 'Meiryo', sans-serif; /* 追加 */        
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-image: url(../img/metal_00022.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #88887a;
  background-blend-mode: lighten;
  box-shadow: 50px 10px 50px 6px rgb(63, 40, 92);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.header-logo {
  font-size: 35px;
  font-weight: bold;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
  font-family: 'Yusei Magic', '游ゴシック体', 'YuGothic', 'メイリオ', 'Meiryo', sans-serif;
}

.header-logo a {
  color: rgb(89, 5, 224);
  text-shadow: #ffffff 0px 1px 0px;
  
}

.gnav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.gnav-item:not(:last-child) {
  margin-right: 20px;
}

.gnav-item a {
  position: relative;
  font-size: 35px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color:  rgb(89, 5, 224);
  text-shadow: #ffffff 0px 1px 0px;
}
.gnav-item a:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  content: "";
  transition: .3s;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #333;
}

.gnav-item a:hover:after {
  width: 100%;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.mv {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mv-container {
  position: relative;
  padding: 0 20px;
}

.mv-container img {
  width: 100%;
  height: auto;
}

/*--------------------------------
 Works
---------------------------------*/
.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
  justify-content: center;
}

.works-item {
  width: 31.74603%;
  margin-right: 1.58730%;
  margin-bottom: 40px;
  color: rgb(89, 5, 224);
  text-shadow: #e9e5ec 0px 3px 0px;
}

.works-item:hover {
  opacity: .9;
}

.works-item:nth-of-type(3n) {
  margin-right: 0;
}

.works-img img {
  border: 1px solid #e6e6e6;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 25px;
}


.works-name {
  font-size: 25px;
  font-weight: bold;
  margin-top: 8px;
}

.works-info {
  font-size: 10px;
  margin-top: 5px;
}

/*--------------------------------
 Skill
---------------------------------*/
.skill-list {
  display: flex;
  flex-wrap: wrap;
  
  margin-bottom: -50px;
  font-size: x-large;
  color:rgb(89, 5, 224);
  text-shadow: #e9e5ec 0px 3px 0px;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 48%;
  margin-bottom: 50px;
}

.skill-img {
  width: 100px;
  height: auto;
  margin-right: 20px;
  
}

.skill-body {
  flex: 1;
}

.skill-name {
  margin-bottom: 10px;
}

.skill-text {
  font-size:20px;
  line-height: 1.8;
  color: #7731ad;
  text-shadow: #e9e5ec 0px 3px 0px;
}

/*--------------------------------
 About
---------------------------------*/
.title {
  z-index: 3
}

.profile  {
  display: flex;
  border: 40px solid rgba(49, 18, 135, 0.383);
  background-color: rgb(63, 39, 102);
    }
.profile-name {
  position: relative;
    /* 親要素が分かりやすいように枠線を追加 */
  text-align: center;
  font-size: 28px;
  color: #fff;
  text-decoration: underline;
font-weight: bold;
font-style: italic;
margin-bottom: 30px;
width:230px;

}
.profile-body {
  width:100%;
  font-style: normal;
  font-weight: normal;
  font-size: 20px;    
  line-height: 1.8;
  color: #fff;
  padding: 20px;
}
.profile-img {
  width:30%;

  
  }
.circle {
  position:absolute;
  z-index: 0;
  bottom: 0px;
  top: 2330px;
  left:auto;
  right:auto;
  width:3px;
  height:3px;
  border-radius:15%;
  background-color :khaki
}
  Contact
---------------------------------*/
.contact {
  
  text-align:center;
}

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-text {
  margin-top: 10px;
}
 .contact-list {
 width: 15%;
 margin: auto;
 
  
}
.title2 {
  font-size: 45px;
  text-shadow: #09040d 10px 10px 10px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: rgb(222, 222, 222);
  font-family:"Rubik Dirt", '游ゴシック体', 'YuGothic', 'メイリオ', 'Meiryo', sans-serif; /* 追加 */
}
/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #eddfdf;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #fff;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-image:url(../img/metal_00022.jpg);
  background-position: center;
  background-size: cover; 
  background-repeat: no-repeat;
  background-color: hsl(0, 0%, 5%);
  background-blend-mode: lighten;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #4f0870;
  text-shadow: #ffffff 0px 1px 0px;
}

/*--------------------------------
 下層：Worksページ
---------------------------------*/
.article {
  padding: 80px 0;
}

.article-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
  color:#6129e3;
  text-shadow: #e9e5ec 0px 1px 0px;
  font-size: xx-large;
}

.article-title {
  margin-bottom: 30px;
  text-align: center;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.article-body h3 {
  position: relative;
  font-size: 35px;
  margin-bottom: 5px;
  padding-left: 1em;
}

.article-body img {
  width: 100%;
  height: auto;
}

.article-body h3:not(:first-child) {
  margin-top: 50px;
}

.article-body h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  content: "";
  border-radius: 3px;
  background-color: #333;
}

.article-body p {
  font-size: 25px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.home-link {
  text-align: center;
}

/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  video {
  width: 100%;
  height: 100%;
  max-width: 800px;
  }
  
  body {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* 見出し */
  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .wrapper {
    padding-top: 57px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
  padding: 0 20px;
  }

  /* ヘッダー */
  .header .container {
    padding: 15px;
  }

  .header-logo {
    font-size: 15px;
    margin-right: 15px;
    
  }

  .gnav-item:not(:last-child) {
    margin-right: 10px;
  }

  .gnav-item a {
    font-size: 10px;
  }

  .gnav-item a:after {
    display: none;
  }

  /*  メインビジュアル */
  .mv {
    height: 45vh;
  }

  .mv-container {
    padding: 0 20px;
  }

  .mv-title {
    font-size: 30px;
  }
  .mv-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .mv-text {
    top: 75%;
    font-size: 14px;
    line-height: 1.7;
  }

  /* Works */
  .works-name {
    font-size: 12px;
  }

  .works-info {
    margin-top: 3px;
  }

  .works-list {
    display: block;
    text-align: center;
  }

  .works-item {
    
    flex: 0 0 48%;
    margin-right: 0;
    margin-bottom: 30px;
    width: 100%;
  }
 /* アニメーション開始前のworks-itemの初期状態 */
.works-item {
    opacity: 0; /* 最初は透明 */
    transform: translateY(20px); /* 最初は少し下にずらす */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* 透明度と位置の変更を0.6秒かけてスムーズに */
}

/* アニメーション後のworks-itemの状態（このクラスが追加されるとアニメーションが実行される） */
.works-item.is-animated {
    opacity: 1; /* 不透明にする */
    transform: translateY(0); /* 元の位置に戻す */
}
  .works-img {
    
    width: 60%;
    height: auto;
    margin: 30px auto;
  }

  /* Skill */
  .skill-list {
    display: block;
    margin-bottom: 0;
  }

  .skill-item {
    width: 100%;
    margin-bottom: 35px;
    display: flex;
    align-items: flex-start;
    animation: scroll-left 15s linear infinite;
  }

  .skill-item:last-child {
    margin-bottom: 0;
  }

  .skill-name {
    margin-bottom: 5px;
  }

  .skill-text {
    font-size: 13px;
    line-height: 1.7;
  }

  /* About */
  .profile {
    display: block;
  }
  .profile-img {
    width: 150px;
    margin: 0 auto;
    margin-bottom: 25px;
  }

  .profile-body p {
    font-size: 14px;
    line-height: 1.7;
  }

  .profile-body p:not(:last-child) {
    margin-bottom: 20px;
  }

  /* フッター */
  .footer {
    padding: 20px;
  }

  /* 下層ページ */
  .article {
    padding: 50px 0;
  }

  .article-body h3 {
    font-size: 16px;
    padding-left: .8em;
  }

  .article-body h3:not(:first-child) {
    margin-top: 30px;
  }

  .article-body p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  
    
}
