body {
  font-family: "Montserrat", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 15px;
  letter-spacing: .05em;
  color: #333;
}

a {
  transition: opacity .3s;
  text-decoration: none;
  color: #1ca9e3;
}

img {
  max-width: 100%;
  height: 80%;
  vertical-align: bottom;
  border-style: none;
}



.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/*--------------------------------
 レイアウト
---------------------------------*/
.wrapper {
  padding-top: 73px;
}

.section {
  padding: 90px 0;
}

.section:nth-of-type(odd) {
  background-color: #f7f7f7;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: .05em;
  color: #333;
}

.lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 2;
  width: 100%;
  height:100px;
  background-color: #fff;
  box-shadow: 0 5px 10px -6px rgba(0, 0, 0, .1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
}

.header-logo {
  line-height: 1.2;
  margin-right: 20px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: .05em;
}

.header-logo a {
  color: #333;
}

.gnav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.gnav-item:not(:last-child) {
  margin-right: 20px;
}

/* ナビゲーションのレイアウト */
#nav-pc {
  font-size: 14px;
  padding-top: 15px;
}

/* ナビゲーションのリンクの装飾設定 */
#nav-pc>a {
  text-decoration: none;
  margin-left: 20px;
}

#nav-pc>a:link {
  color: #0d0d0d;
}

#nav-pc>a:visited {
  color: #0d0d0d;
}

#nav-pc>a:hover {
  color: #0d0d0d;
  text-decoration: underline;
}

#nav-pc>a:active {
  color: #0d0d0d;
}
.header-ss {
  display: none;
  } 

#nav-sp {
  display: none;
}

.gnav-item a {
  position: relative;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  letter-spacing: .05em;
  color: #333;
}

.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%;
}

.box {
  display: flex;
  margin-top: 50px; 
  flex-direction: column;
  /* 縦方向に並べる */
  align-items: center;
  /* 水平方向の中央揃え（必要に応じて） */
  justify-content: center;
  /*  垂直方向の中央揃え */
  height: 70vh;
}

.color-tevt {
  display: flex;
  /* flex-direction: column; 
    justify-content: center;*/
  font-size: 11px;
  font-weight: bold;
  line-height: 30px;
}

.color-buttons {
  display: flex;
  flex-direction: rom;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px;
}

.color-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.color-button[data-color="red"] {
  background-color: red;
}

.color-button[data-color="blue"] {
  background-color: blue;
}

.color-button[data-color="yellow"] {
  background-color: yellow;
}

.color-button[data-color="green"] {
  background-color: green;
}

.color-button[data-color="orange"] {
  background-color: orange;
}

.color-button[data-color="gray"] {
  background-color: gray;
}

.add {
  display: flex;
  border-radius: 50px;
  float: right;
  align-items: center;
  /* 水平方向の中央揃え（必要に応じて） */
  justify-content: center;
}

/*--------------------------------
 メインビジュアル
---------------------------------*/
.mv {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  text-align: center;
}

.mv-container {
  position: relative;
  padding: 0 20px;
}

.mv-container img {
  width: 100%;
  height: auto;
}

#newwords {
  /*  display: flex;*/
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 22px;
}

.slider {
  display: flex;
  align-items: center;
  justify-content: center;
  /*position: relative;
  width: 100%;
  max-width: 750px;
  margin: auto;*/
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: 30px;
  border: 0;
}

/*--------------------------------
 Works
---------------------------------*/
.works > .container {
  margin-top: 50px;
}

.works{
  display: flex;
  flex-direction: row;
}
.sytyou{
  display: flex;
  flex-direction: row;
}
.gaiyou{
  display: flex;
  flex-direction: center;
}
.ryaku{
  display: flex;
  flex-direction: row;
}
.toiawase{
  display: flex;
  flex-direction: row;
}

.list-text {
  margin-bottom: 20px;
}

.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
}

.works-item {
  width: 31.74603%;
  margin-right: 1.58730%;
  margin-bottom: 40px;
  color: #333;
}

.works-item:hover {
  opacity: .9;
}

.works-item:nth-of-type(3n) {
  margin-right: 0;
}

.works-img img {
  border: 1px solid #e6e6e6;
}

.works-name {
  font-size: 12px;
  font-weight: bold;
  margin-top: 8px;
}

.works-info {
  font-size: 10px;
  margin-top: 5px;
}

#textarea {
  text-align: left;
}

/*--------------------------------
 Skill margin-bottom: 30px;
---------------------------------*/
.skill {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 100px;
  margin-bottom: -50px;
}
.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 14%;
  margin-bottom: 50px;
}

.skill-img {
  width: 60px;
  height: auto;
  margin-right: 20px;
}

.skill-body {
  flex: 1;
}

.skill-name {
  margin-bottom: 10px;
}

.skill-text {
  font-size: 14px;
  line-height: 1.8;
}

.techne {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;

}

.tetext {
  font-size: 30px;
}

textarea {
  font-weight: bold;
}

/*--------------------------------
 About
------------------------------*/
.works > .container {
  margin-top: 50px;
}
/* #about {
  margin-top: 500px;
} */

#about > .scontainer {

  height: 300px;
   margin-top: 50px;

}
#contact > .container {
  margin-top: 50px;
}
.sibata {
  display: flex;
  flex-direction: row;
}

.oichi {
  display: flex;
  flex-direction: column;
}

.oichi button {
  border-radius: 50px;
  /* Makes the button elliptical */
  display: block;
  /* Makes the button take up the full width */
  margin-bottom: 10px;
  /* Adds space between buttons */
  width: 100%;
  /* Ensures the button width is 100% of its container */
}


.fade-section {
  position: relative;
}

#fadeImage {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
  z-index: 1;
}

#infoTable {
  position: relative;
  z-index: 0;
}

.fade-out {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.fade-in {
  opacity: 1;
  transition: opacity 1s ease-in;
}

.profile {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.profile-img {
  width: 20%;
  margin-right: 30px;
  border-radius: 50%;
}

.profile-img img {
  border-radius: 50%;
}

.profile-body {
  flex: 1;
}

.profile-body p {
  font-size: 15px;
  line-height: 1.8;
}

.profile-body p:not(:last-child) {
  margin-bottom: 30px;
}

.profile {
  display: flex;
  align-items: center;
  justify-content: center;
}

/*--------------------------------
 Contact
---------------------------------*/
.contact {
  text-align: center;
}

.contact-item:not(:last-child) {
  margin-right: 10px;
}

.contact-text {
  margin-top: 10px;
}

/*--------------------------------
 ページトップ
---------------------------------*/
.page-top {
  font-weight: bold;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  background-color: #4c4c4c;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #fff;
}

.center-textarea {

  margin: 10px auto 0;
  text-align: left;
}


.slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  margin-top:50px;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: 100px;
  border: 0;
  object-fit: cover;
}

/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #333;
}

.copyright {
  font-size: 10px;
  text-align: center;
  color: #797979;
}

/*--------------------------------
 下層：Worksページ
---------------------------------*/
.article {
  padding: 80px 0;
}

.article-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.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: 18px;
  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: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.home-link {
  text-align: center;
}

.contForm1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


#confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
}

/*media Queries 767
----------------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* PC用ナビゲーション非表示 */
  /* PC用ナビゲーション非表示 */
  #nav-pc {
    display: none;
  }

 

 

  /* ハンバーガーメニュー  */
  .header-ss {
    display: flex;
    /* position: absolute; */
    left: 0;
    top: 0;
  }
#menu-sp {
  /* display: visible; */
    margin-left: 35%;
    }

  /* スマホ用ナビゲーションの表示切替*/
  /* 初期状態、レイアウトと非表示設定 */
  #nav-sp {
    background-color: #2710d5;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: none;
    z-index: 100;
  }

  /* ナビゲーションメニュー用ロゴ */
  #logo-sp {
    margin: 80px 0 30px 20px;
  }

  /* ナビゲーションのリンクの装飾設定 */
  #nav-sp>a {
    display: block;
  }

  #nav-sp>a:link {
    color: #ffffff;
  }

  #nav-sp>a:visited {
    color: #ffffff;
  }

  #nav-sp>a:hover {
    color: #ffffff;
    text-decoration: underline;
  }

  #nav-sp>a:active {
    color: #ffffff;
  }

  #nav-sp>.menu {
    text-decoration: none;
    display: block;
    margin: 0 20px 0 20px;
    height: 44px;
    font-size: 16px;
    background-image: url("images/arrow.png");
    background-repeat: no-repeat;
    background-position: right top;
  }

  /* 見出し */
  .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .lead {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  /* レイアウト */
  .wrapper {
    padding-top: 30px;
  }

  /* .section {
    padding: 60px 0;
  } */

  /* .container {
    display: none;
  } */

  /* .container {
    padding: 0 20px;
  }

  /* ヘッダー */
  .header {
    display: none;
  }



  .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: 40vh;
  }

  .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 */
  .list {
    display: flex;
  }
  
  .list-text {
    margin-bottom: 20px;
  }
  .works-name {
    font-size: 12px;
  }

  .works-info {
    margin-top: 3px;
  }

  .works-list {
    display: block;
    justify-content: space-between;
  }

  .works-item {
    flex: 0 0 48%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  /* Skill */
  .techne {
    display: block;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    width: 100%;
  }

  .tetext {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .explanation {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .buttonT {
    display: flex;
    align-items: center;
    justify-content: center;
  }


  .skill-list {
    display: block;
    margin-bottom: 0;
  }

  .skill-item {
    width: 100%;
    margin-bottom: 35px;
  }

  .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;
  }

  .contForm1 {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* フッター */
  .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;
  }
}