/* ===================================
   Reset
=================================== */

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

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

a {
  text-decoration: none;
}

p {
  font-size: 1.2rem;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

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

/* ===================================
   Main
=================================== */

main .wrapper {
  width: 100%;
  background: #f5f5f5;
}

#title {
  width: 100%;
  max-width: 960px;
  height: 300px;
  margin: 0 auto;
  background: #f5f5f5;
}

/* main .wrapper #title .name {
    position: absolute;
    top: 25%;
    left: 10%;
    transform: translate(-25%, -10%);
  } */

main .wrapper #title .name {
  padding-top: 180px;
  padding-left: 5px;
}

@media screen and (max-width: 820px) {
  main .wrapper #title .name {
    padding-top: 160px;
    text-align: center;
  }
}

main #title .name h2 {
  font-size: 35px;
  font-weight: 100;
  letter-spacing: 0.1rem;
  font-family: "Roboto Flex", sans-serif;
  margin-bottom: 5px;
}


/* ===================================
   Works
=================================== */

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

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

/* ===================================
   Contact
=================================== */

#contact {
  width: 100%;
  background: #f5f5f5;
}

#contact .cont .tit2 {
  font-size: 35px;
  font-weight: 100;
  letter-spacing: 0.1rem;
  background: #f5f5f5;
  font-family: "Roboto Flex", sans-serif;
  margin-bottom: 80px;
  padding-top: 80px;
}

@media screen and (max-width: 820px) {
  #contact .cont .tit2 {
    margin-bottom: 40px;
    padding-top: 80px;
    text-align: center;
  }
}

#contact .cont .text2 {
  font-size: 1rem;
  background: #f5f5f5;
}

#contact .cont ul {
  display: flex;
  justify-content: right;
  align-items: center;
  margin-top: 80px;
  padding-bottom: 80px;
}

#contact .cont ul li {
  margin-left: 30px;
}

#contact .cont ul li img {
  width: 30px;
}

#contact .cont ul li a {
  transition: all 0.3s;
  color: #000;
}

#contact .cont ul li a:hover {
  color: #1962ff;
  background: #ffffff;
}

#contact .cont ul li .link {
  display: block;
  background: #9fc5ff;
  padding: 20px 100px;
  border: 1px solid #9fc5ff;
  border-radius: 10px;
}

.btn {
  display: none;
}

@media screen and (max-width: 820px) {
  .btn {
    display: block;
    background: #9fc5ff;
    padding: 20px 100px;
    border: 1px solid #9fc5ff;
    border-radius: 10px;
    margin: 50px 0 50px 0;
    text-align: center;
  }

  .btn a {
    color: #000;
  }
}

.sp-contact {
  display: none;
}

@media screen and (max-width: 820px) {
  #contact .cont ul {
    display: none;
  }

  .sp-contact {
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
  }

  .sp-contact img {
    width: 30px;
  }
}


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

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

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

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