html {
  font-size: 100%; /* 16px */
}

body {
  color: #333;
  font-family: "Quicksand", sans-serif;
  font-family: "Zen Maru Gothic", serif;
}

a {
  text-decoration: none;
}

p {
  font-size: 1.2rem;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
  font-size: 1.2rem;
}

.site-title {
  line-height: 1px;
  font-weight: 400;
  font-size: 1.6rem;
}

.site-title a {
  color: #333;
}

/* sp */

@media screen and (max-width: 820px) {
  .site-title {
    font-size: 1.2rem;
  }
}

/* Header */

.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 0 auto;
  position: fixed;
  padding: 0px 40px 0px;
  height: 90px;
  z-index: 1;
}

@media screen and (max-width: 820px) {
  .header {
    padding: 0px 20px 0px;
    height: 60px;
  }
}

.header ul {
  display: flex;
  padding: 10px 0;
  align-items: center;
}

.header ul li {
  font-size: 1.1rem;
  margin-left: 30px;
  letter-spacing: 0.03em;
  cursor: pointer;
  font-family: "Quicksand", sans-serif;
}

@media screen and (max-width: 820px) {
  .header ul li {
    font-size: 0.9rem;
    margin-left: 10px;
  }
}

/* オンマウスで下線をゆっくり表示 */

.header ul li a {
  color: #333;
  -webkit-transition: border-bottom 0.5s ease-out;
  -o-transition: border-bottom 0.5s ease-out;
  transition: border-bottom 0.5s ease-out;
  border-bottom: 1px solid transparent;
}

.header ul li a:hover {
  border-bottom: 1px solid currentColor;
}

/* Main */

#title {
  width: 100%;
  height: 100vh;
  background: #f5f5f5;
}

main #title .name {
  position: absolute; /* 自由に場所を設定 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

main #title .name h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 5px;
}

main #title .name P {
  font-size: 15px;
  color: #5c5c5c;
}

/* 共通wrapper */

.wrapper {
  max-width: 960px;
  margin: 100px auto 100px auto;
}

.wrapper h3 {
  font-family: "Roboto Flex", sans-serif;
  font-size: 3.3rem;
  font-weight: 100;
  letter-spacing: 0.2rem;
  text-align: center;
}

/* Service */

section .service {
  margin-bottom: 160px;
}

section .container {
  font-family: "Quicksand", sans-serif;
  max-width: 960px;
  width: 90%;
  margin: 0 auto;
}

section .svc-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

section .project {
  width: 31%;
}

@media screen and (max-width: 820px) {
  section .project {
    width: 100%;
    margin-bottom: 50px;
  }
}

section .project .proj-title {
  font-size: 1.5rem;
  color: #555555;
  letter-spacing: 0.09rem;
  padding-bottom: 20px;
  text-align: center;
}

section .project img {
  margin: auto;
  display: block;
}

section .project .text {
  font-size: 0.8rem;
  padding-top: 15%;
  letter-spacing: 0.09rem;
  line-height: 1.7rem;
  text-align: justify;
}

@media screen and (max-width: 820px) {
  section .project .text {
    padding: 10px 10px 0 10px;
  }
}

/* Works */

section .works {
  margin-bottom: 160px;
}

section .cont {
  max-width: 960px;
  width: 90%;
  margin: 0 auto;
}

@media screen and (max-width: 820px) {
  section .cont {
    width: 80%;
  }
}

section .works-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

section .list {
  width: 31%;
  background: #000;
  margin-bottom: 50px;
}

@media screen and (max-width: 820px) {
  section .list {
    width: 100%;
    background: white;
    margin-bottom: 50px;
  }
}

section .list img {
  border: 1px solid #e0e0e0;
  display: block;
  opacity: 1;
  transition: 0.3s;
}

@media screen and (max-width: 820px) {
  section .list img {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
  }
}

section .list:hover img {
  opacity: 0.5;
}

section p {
  background: white;
}

section .site {
  font-size: 0.8rem;
  padding-top: 10px;
}

section .site-name {
  font-size: 1rem;
}

@media screen and (max-width: 820px) {
  .underline {
    max-width: 200px;
    border-bottom: 1px solid #bdbdbd;
    margin: 0 auto 50px auto;
    padding: 10px;
  }
}

/* About */

#About {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 100px 0 30px 0;
}

@media screen and (max-width: 820px) {
  #About {
    padding: 30px 0 30px 0;
  }
}

#About .profile {
  width: 100%;
  max-width: 960px;
  margin: 0px auto 70px auto;
  padding-left: 120px;
  background-image: url(/img/myphoto.png);
  background-position: left 6%;
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 820px) {
  #About .profile {
    width: 80%;
    background-image: none;
    padding: 0 0 0 0;
    margin: 0px auto 5px auto;
  }
}

#About .profile h4 {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 20px;
}

#About .profile p {
  font-size: 0.9rem;
  font-family: Helvetica, "游ゴシック", "Yu Gothic", YuGothic, HiraKakuProN-W3,
    "メイリオ", Meiryo, sans-serif;
}

#About .profile .text1 {
  margin-bottom: 5px;
}

@media screen and (max-width: 820px) {
  #About .profile .text1 {
    margin-bottom: 5px;
  }
}

/* Footer */

#footer {
  width: 100%;
  text-align: center;
}

#footer .inner {
  padding: 40px 0;
  border-top: solid 1px #e7e7e7;
  font-size: 0.8rem;
}

@media screen and (max-width: 820px) {
  #footer .inner {
    border-top: solid 1px #ffffff;
  }
}
