body {
  color: #51585B;
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.5;
  position: relative;
}

a {
  color: #51585B;
  position: relative;
  z-index: 1;
}

/* common */
.sp {
  display: none;
}

.inner {
  width: 1000px;
  padding: 0 20px;
  max-width: 100%;
  margin: 0 auto;
}

.bg-filter::before {
  content: '';
  position: absolute;
  background: url(../img/filter.png);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: .025;
  pointer-events: none;
}

.ttl {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  color: #6E8D96;
}

/* header */
.header {
  position: fixed;
  width: 1000px;
  max-width: 100%;
  padding: 0 20px;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 20px;
  border-radius: 1000px;
  background: #D5D1CF;
}

.header-wrap, .header ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header img {
  display: block;
  width: 35px;
  margin-right: 15px;
}

.header ul li {
  position: relative;
}

.header ul li:not(:first-of-type) {
  margin-left: 15px;
}

.header ul li::before, .header ul li::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all .3s 0s ease;
}

.header ul li::before {
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-bottom: 9px solid #51585B;
  border-top: 0;
  bottom: 0;
  opacity: 0;
}

.header ul li:hover::before {
  bottom: -12px;
  opacity: 1;
}

.header ul li::after {
  width: 0;
  height: 1px;
  background: #51585B;
  bottom: 0;
}

.header ul li:hover::after {
  width: 100%;
}

.drawer-icon {
  display: none;
}

/* drawer */
.drawer, .drawer-icon {
  display: none;
}

/* main */
.main {
  background: #D5D1CF;
  padding: 140px 0 100px;
  border-radius: 0 0 130px 130px;
}

.main img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
  border: solid 1px #fff;
}

.main h1 {
  font-size: 26px;
  line-height: 1.2;
  margin: 20px 0 0;
  text-align: center;
}

.main h1 span {
  font-size: 56px;
  font-weight: bold;
  background: linear-gradient(97.0286deg, rgb(110, 141, 150) 0%, rgba(110, 141, 150, .8) 100%, rgba(110, 141, 150, .25) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-btn {
  display: block;
  width: 180px;
  padding: 20px 0;
  font-size: 12px;
  border: solid 1px #51585B;
  border-radius: 1000px;
  margin: 40px auto 0;
  text-align: center;
  position: relative;
  transition: all .3s 0s ease;
}

.main-btn:hover {
  border: solid 1px #6E8D96;
  color: #D5D1CF;
}

.main-btn::before {
  content: '';
  position: absolute;
  width: 0;
  height: 100%;
  line-height: 60px;
  background: #6E8D96;
  border-radius: 1000px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  transition: all .3s 0s ease;
}

.main-btn:hover::before {
  width: 100%;
}

/* works */
.works {
  margin: 75px 0 100px;
  border-radius: 0 0 130px 130px;
  overflow-x: hidden;
}

.works ul {
  margin: 50px 0 0;
  transition-timing-function: linear;
}

.works ul li {
  margin: 0 10px;
}

.works ul li img {
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.works ul li:hover img {
  filter: grayscale(0%);
}

.works-head {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 0;
}

.works-txt {
  font-size: 14px;
  margin: 5px 0 0;
  line-height: 1.2;
}

/* skill */
.skill {
  padding: 75px 0 100px;
  background: #D5D1CF;
  border-radius: 130px;
}

.skill ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin: 50px 0 0;
}

.skill li {
  width: 26.043%;
  align-items: center;
}

.skill li:nth-of-type(n + 4) {
  margin: 75px 0 0;
}

.skill img {
  width: 40px;
}

.skill li:first-of-type img {
  width: 90px;
}

.skill li:nth-of-type(4) img {
  width: 55px;
}

.skill-head {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 0;
}

.skill-txt {
  font-size: 14px;
  margin: 5px 0 0;
}

/* about */
.about {
  padding: 75px 0 100px;
  border-radius: 130px 130px 0 0;
}

.about-wrap {
  display: flex;
  justify-content: space-between;
  margin: 50px 0 0;
}

.about-img {
  width: calc(30% - 10px);
}

.about img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-left: auto;
  border: solid 1px #51585B;
}

.about p {
  width: calc(70% - 10px);
  font-size: 14px;
}

/* contact */
.contact {
  background: url(../img/contact_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 75px 0 100px;
  border-radius: 130px 130px 0 0;
}

.contact form {
  width: 500px;
  margin: 50px auto 0;
  font-size: 14px;
  color: #fff;
}

.contact p {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  position: relative;
}

.contact p br {
  display: none;
}

.contact dl {
  display: flex;
  justify-content: space-between;
  margin: 30px 0 0;
  position: relative;
}

.contact dl:first-of-type {
  margin: 50px 0 0;
}

.contact dt {
  width: calc(30% - 5px);
}

.contact dl:first-of-type dt, .contact dl:nth-of-type(2) dt {
  display: flex;
  align-items: center;
}

.contact dt span {
  color: red;
}

.contact dd {
  width: calc(70% - 5px);
}

.contact dl:last-of-type dt {
  height: 120px;
}

.contact input[type="text"], .contact input[type="email"], .contact #your-textarea {
  width: 100%;
  border: none;
  outline: none;
  color: #51585B;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.contact input[type="text"], .contact input[type="email"] {
  padding: 10px 5px;
}

.contact #your-textarea {
  height: 100%;
  padding: 5px;
}

.contact button {
  display: block;
  width: 180px;
  padding: 20px 0;
  font-size: 12px;
  border: solid 1px #fff;
  border-radius: 1000px;
  margin: 40px auto 0;
  text-align: center;
  position: relative;
  transition: all .3s 0s ease;
  color: #fff;
  background: transparent;
  z-index: 1;
}

.contact button.active {
  border: solid 1px #6E8D96;
  cursor: pointer;
}

.contact button::before {
  content: '';
  position: absolute;
  width: 0;
  height: 100%;
  line-height: 60px;
  background: #6E8D96;
  border-radius: 1000px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  transition: all .3s 0s ease;
}

.contact button.active::before {
  width: 100%;
}

.contact-msg {
  color: #fff;
  margin: 212px 0;
  display: none;
}

.contact-msg.error {
  color: red;
}

.footer p {
  font-size: 12px;
  text-align: center;
  padding: 10px 0;
  margin: 0 auto;
}

/* detail */
.detail-fv {
  margin: 140px 0 0;
  position: relative;
}

.detail-content {
  margin: 50px 0;
}

.detail-ttl h1 {
  font-size: 26px;
  font-weight: bold;
  color: #6E8D96;
}

.detail-ttl p {
  font-size: 16px;
  margin: 10px 0 0;
  padding: 15px 0 0;
  border-top: solid 1px #51585B;
}

.detail ul li {
  display: flex;
  align-items: flex-start;
  flex-direction: row-reverse;
  margin: 50px 0 0;
}

.detail-img {
  width: 375px;
  min-width: 375px;
  position: relative;
}

.detail-img img {
  border: solid 1px #D5D1CF;
}

.detail-wrap {
  width: 585px;
  margin: 0 0 0 20px;
}

.detail-point {
  font-size: 18px;
  font-weight: bold;
  padding: 7px 30px;
  display: inline-block;
  background: #D5D1CF;
  border-radius: 10px;
  position: relative;
}

.detail-point::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  border-top: 13px solid #D5D1CF;
  border-bottom: 0;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
}

.detail h2 {
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0 0;
}

.detail-txt {
  font-size: 14px;
  margin: 10px 0 0;
}

.detail-info {
  margin: 50px 0;
}

.detail-info p {
  font-size: 14px;
}

.detail-info a {
  color: #0033cc;
  text-decoration: underline;
}

.detail-info p:not(:first-of-type) {
  margin: 10px 0 0;
}

@media screen and (max-width: 910px) {
  /* common */
  .pc {
    display: none;
  }
}

@media screen and (max-width: 850px) {
  .detail ul li {
    align-items: flex-start;
  }
}

@media screen and (max-width: 768px) {
  a {
    cursor: none;
  }

  /* common */
  .sp {
    display: block;
  }

  .inner {
    width: 100%;
    padding: 0 4vw !important;
  }

  /* header */
  .header {
    top: 15px;
    padding: 0 4vw;
  }

  .header .inner {
    height: 60px;
  }

  .header ul {
    display: none;
  }

  .header img {
    width: 30px;
    margin-right: 5px;
  }

  /* drawer */
  .drawer {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    background: #D5D1CF;
    text-align: center;
    top: 0;
    left: 0;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .drawer.active {
    opacity: 1;
    visibility: visible;
  }

  .drawer ul {
    margin: 140px 0 0;
  }

  .drawer ul li:not(:first-of-type) {
    margin: 30px 0 0;
  }

  .drawer ul li {
    font-size: 14px;
  }

  .drawer ul li a span {
    display: block;
    font-size: 26px;
    font-weight: bold;
    color: #6E8D96;
    margin: -5px;
  }

  .drawer-icon {
    display: block;
    position: fixed;
    width: 30px;
    height: 30px;
    background: #51585B;
    border-radius: 50%;
    top: 30px;
    right: 7vw;
    z-index: 100;
  }

  .drawer-icon span {
    content: '';
    height: 1px;
    background: #fff;
    position: absolute;
    transform: translateX(-50%);
    transition: transform 0.3s ease;
  }

  .drawer-icon span:first-of-type {
    width: 15px;
    top: 40%;
    left: 50%;
  }

  .drawer-icon span:nth-of-type(2) {
    width: 13px;
    top: 60%;
    left: calc(50% - 1px);
  }

  .drawer-icon.active span {
    width: 15px;
    top: 50%;
    left: 50%;
  }

  .drawer-icon.active span:first-of-type {
    transform: translateX(-50%) rotate(-45deg);
  }

  .drawer-icon.active span:nth-of-type(2) {
    transform: translateX(-50%) rotate(45deg);
  }

  /* main */
  .main {
    padding: 110px 0 80px;
    border-radius: 0 0 70px 70px;
  }

  .main img {
    width: 180px;
    height: 180px;
  }
  
  .main h1 {
    font-size: 26px;
    margin: 20px 0 0;
  }
  
  .main h1 span {
    font-size: 36px;
  }

  /* works */
  .works {
    margin: 75px 0 80px;
    border-radius: 0 0 30px 30px;
  }

  .skill {
    padding: 75px 0 80px;
    border-radius: 70px;
  }
  
  .skill li {
    width: calc(50% - 10px);
  }
  
  .skill li:nth-of-type(n + 3) {
    margin: 50px 0 0;
  }

  .skill li:nth-of-type(3) {
    margin: 60px 0 0;
  }

  .skill li:first-of-type img {
    width: 85px;
  }
  
  .skill li:nth-of-type(4) img {
    width: 57px;
  }

  .skill li:last-of-type img {
    width: 45px;
  }

  /* about */
  .about {
    padding: 75px 0 80px;
    border-radius: 70px 70px 0 0;
  }
  
  .about-wrap {
    display: block;
  }
  
  .about-img {
    width: 150px;
    margin: 0 auto;
  }
  
  .about p {
    width: 100%;
    margin: 25px 0 0;
  }

  /* contact */
  .contact {
    padding: 75px 0 80px;
    border-radius: 70px 70px 0 0;
  }
  
  .contact form {
    width: 100%;
  }

  .contact p br {
    display: block;
  }
  
  .contact dl {
    display: block;
  }
  
  .contact dt {
    width: 100%;
    display: block;
  }
  
  .contact dd {
    width: 100%;
    margin: 5px 0 0;
  }
  
  .contact dl:last-of-type dt {
    height: inherit;
  }
  
  .contact #your-textarea {
    height: 120px;
  }

  .contact button.active {
    cursor: none;
  }

  /* detail */
  .detail ul li {
    display: block;
  }

  .detail-img {
    width: 100%;
    min-width: auto;
    margin: 10px 0 0;
  }
  
  .detail-wrap {
    width: 100%;
    margin: 0;
  }
}