body {
  font-family: "roboto, Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 13px;
  letter-spacing: .05em;
  color: #fff;
  background-color: #3E3E45;
}

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


img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style: none;
  opacity: 0;         /* 初期値は透明にしておく */
  transition: .8s;    /* 動くスピードを0.8秒に指定 */
  position: relative; /* 相対位置の設定 */
  top: 20px;          /* 事前に下に20pxずらしておく */
}
.active {
  opacity: 1;         /* 透明度を元に戻す */
  top: 0;             /* ずらしていた位置を戻すことで上に上がっているようにみえる */
}


.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

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

.section {
  padding: 40px 0;
}

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

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
}

/*--------------------------------
 見出し
---------------------------------*/
.title {
  font-family: "roboto";
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 40px;
  text-align: center;
  color: #fff;
}

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

/*--------------------------------
ヘッダー
---------------------------------*/
.header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: #3E3E45;
  /*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 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  margin-right: 20px;
  letter-spacing: .05em;
}

.header-logo a {
  color: #fff;
  text-decoration: none;
}

.gnav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
}
.gnav-list a {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration:none;
  transition: .3s;
}
.gnav-list a::after{
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: .3s;
}
.gnav-list a:hover::after{
  width: 100%;
}

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

.gnav-item {
  position: relative;
  display: inline-block;
  padding: 5px 0;
}



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

.mv-container {
  padding: 0 40px;
}

.mv-title {
  font-size: 60px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 5px;
  letter-spacing: .1em;
}
.mv-subtitle {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 40px;
  letter-spacing: .08em;
}

.mv-text {
  font-size: 16px;
  line-height: 1.8;
}

/*--------------------------------
 Works
---------------------------------*/

.works-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: -40px;
}
.works-item {
width: 31.3%;
    margin-right: 3%;
    margin-bottom: 3%;
  color: #fff;
}
.works-item:hover {
  opacity: .9;
}
.works-item:nth-of-type(3n) {
  margin-right: 0;
}

/*--------------------------------
  ohter Works
---------------------------------*/
.otherworks-item {
  width: 47%;
  margin-right: 4%;
  margin-bottom: 4%;
  color: #fff;
}
.otherworks-item:hover {
  opacity: .9;
}
.otherworks-item:nth-of-type(2n) {
  margin-right: 0;
}

.works-img img {

}
.works-name {
  font-size: 11px;
  margin-top: 8px;
}
.works-info {
  font-size: 11px;
  margin-top: 2px;
}
.works-name,
.works-info {  
  opacity: 0;         /* 初期値は透明にしておく */
  transition: .8s;    /* 動くスピードを0.8秒に指定 */
  position: relative; /* 相対位置の設定 */
  top: 20px;          /* 事前に下に20pxずらしておく */
}
.active2 {
  opacity: 1;         /* 透明度を元に戻す */
  top: 0;             /* ずらしていた位置を戻すことで上に上がっているようにみえる */
}

/*--------------------------------
 Skill
---------------------------------*/
.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: 48%;
  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;
    
}


/*--------------------------------
 About
---------------------------------*/
.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;
}

/*--------------------------------
 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: #3E3E45;
}

.page-top .material-icons-outlined {
  vertical-align: bottom;
  color: #fff;
}
/*--------------------------------
 フッター
---------------------------------*/
.footer {
  padding: 30px;
  background-color: #3E3E45;
}
.footer a {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration:none;
  transition: .3s;
}
.footer a::after{
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: .3s;
}
.footer a:hover::after{
  width: 100%;
}
.copyright {
  font-size: 10px;
  text-align: center;
  color: #fff;
}

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

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

.article-title {
  margin-bottom: 60px;
  text-align: center;
  font-family: "roboto";
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 42px;
}

.article-body {
  max-width: 920px;
  margin: 0 auto;
  margin-bottom: 80px;
}

.article-body h3 {
  position: relative;
  font-size: 18px;
  margin-bottom: 5px;
  padding-left: 1em;
}

.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: #3E3E45;
}

.article-body p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.home-link {
  text-align: center;
}
.home-link a {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  transition: .3s;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #fff;
  text-decoration:none;
  transition: .3s;
}
.home-link a::after{
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: .3s;
}
.home-link a:hover::after{
  width: 100%;
}

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

p {
    
}
