html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  position: relative;
  padding-bottom: 200px;
  overflow: visible;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 300;
}

.inner {
  width: 100%;
  margin-top: 88px;
  padding: 8% 14%;
}

ul.global-menu {
  position: fixed;
  top: 16px;
  right: 14%;
  width: fit-content;
  color: #ACACAC;
  font-weight: lighter;
  font-size: 0.8em;
}

ul.global-menu li {
  display: inline-block;
  margin-left: 20px;
}

ul.global-menu li a:link {
  color: #ACACAC;
}

ul.global-menu li a:visited {
  color: #ACACAC;
}

/*----プロフィール----*/

.profile-zone {
  width: 100%;
  height: 75vh;
  max-height: 800px;
  background-color: #DBDBDB;
  z-index: -2;
}

.name {
  width: 60%;
  max-width: 504px;
  height: auto;
  padding: 4px 0;
  box-shadow: 16px 16px 8px #00000029;
  background-color: #FFA031;
}

.name img {
  display: block;
  width: 70%;
  max-width: 350px;
  height: auto;
  margin: auto;
}

.profile-zone p {
  margin-top: 48px;
  width: fit-content;
  line-height: 1.5em;
}

.profile-zone .links-area {
  margin-top: 8px;
}

.profile-zone .links-area a {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.profile-zone .links-area svg {
  width: 35px;
  fill: #000;
}

.profile-zone .links-area #Twitter svg:hover {
  fill: #1DA1F2;
}


.profile-zone .links-area #github svg:hover {
  fill: #FFA031;
}


.profile-zone .links-area #SD svg:hover {
  fill: #529142;
}

/*----プロダクト----*/
.products {
  width: 100%;
  overflow: hidden;
  z-index: 3;
}

h1{
  color: #FFA031;
  font-size: 3em;
  font-weight: lighter;
}

.products .cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.products .inner article {
  max-width: 48%;
  height: 500px;
  margin-top: 4%;
  box-shadow: 16px 16px 8px #00000015;
  border: solid 1px #00000010;
  border-radius: .50rem;
}

.products .inner article .image {
  width: 100%;
  height: 50%;
  overflow: scroll;
}

.products .inner article .image img {
  width: 100%;
  border-top-left-radius: calc(.50rem - 1px);
  border-top-right-radius: calc(.50rem - 1px);
}

.products .inner article .discription {
  position: relative;
  width: 100%;
  height: 50%;
  padding: 8% 4% 4%;
}

.products .inner article .discription h2 {
  height: 16%;
  font-size: 1.4em;
  font-weight: bold;
}

.products .inner article .discription h2::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 2%;
  border-top: solid 1px #acacac;
}

.products .inner article .discription p {
  width: 100%;
  height: 67%;
  margin-top: 2%;
  line-height: 1.3em;
  overflow: scroll;
}

.products .inner article .discription aside {
  position: absolute;
  bottom: 4%;
  left: 2%;
  height: 8%;
  width: 96%;
}

.products .inner article .discription aside a {
  position: relative;
  color: #FFA031;
}

.products .inner article .discription aside a:not(:first-of-type){
  padding-left: 1em;
}

.products .inner article .discription aside a:not(:first-of-type)::before{
  content: '|';
  position: absolute;
  top: 0.2em;
  left: 0.4em;
  width: 1em;
  height: 0.5em;
  color: #000;
}

.products .inner article .discription time {
  float: right;
  color: #acacac;
}
/*--フッター--*/

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: fit-content;
}

footer img {
  display: block;
  margin: 0 10% 0 auto;
  width: 80px;
  height: auto;
}

footer #foot {
  display: block;
  width: 100%;
  height: 30px;
  margin-top: -5px;
  border-top: solid 2px #DBDBDB;
}

/*tablet用のcss*/
@media screen and (max-width:800px) {
  body{
    padding-bottom: 160px;
  }
  
  ul.global-menu {
    top: 16px;
    right: 5%;
    width: fit-content;
    z-index: 100;
  }
  .profile-zone {
    height: 80vh;
    max-height: 800px;
    margin-top: 10vh;
    padding: 10% 0;
  }
  
  .inner{
    margin: 0;
    padding: 0 5% 5%;
  }

  .name {
    width: 60%;
    max-width: 800px;
  }

  .name img {
    width: 75%;
    max-width: 800px;
  }

  .profile-zone p {
    margin: 80px 0 0 20px;
    line-height: 2em;
  }

  .profile-zone .links-area {
    margin: 80px 0 0 20px;
  }

  .profile-zone .links-area svg {
    width: 70px;
  }

  .products {
    margin: 0;
    padding: 10vh 0 0 0;
  }
}

/*スマホ用のcss*/
@media screen and (max-width:480px) {
  body {
    font-size: 0.8em;
    padding-bottom: 0;
  }

  ul.global-menu {
    font-size: 0.5em;
  }

  ul.global-menu li {
    margin-left: 20px;
  }

  .profile-zone {
    margin-top: 44px;
    height: 80vh;
    min-height: 520px;
  }
  
  .name{
    width: 96%;
  }

  .profile-zone p {
    margin-top: 56px;
    margin-left: 16px;
  }

  .profile-zone .links-area {
    margin-top: 56px;
    margin-left: 16px;
  }

  .products {
    margin: 0;
    width: 100%;
    padding: 15vh 0;
  }
  
  h1{
    text-align: center;
  }

  .products .inner article{
    width: 100%;
    min-width: 100%;
    height: 450px;
    margin-top: 8%;
  }
}
