@charset "UTF-8";
body {
  background-color: #e7dfc3;
  overflow-x: hidden;
}

.wrapper {
  padding-left: 15px;
  padding-right: 15px;
}

.header-inner {
  padding-top: 20px;
  padding-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (min-width: 768px) {
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
  }
}

.header-logo a img {
  width: 65px;
}

.heading {
  text-align: center;
}
.heading h2 {
  font-size: 30px;
  font-weight: 700;
}

.header-nav-lists {
  display: none;
}
@media screen and (min-width: 768px) {
  .header-nav-lists {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 100px;
  }
}

@media screen and (min-width: 768px) {
  .header-open {
    display: none;
  }
}

.drawer-icon {
  width: 36px;
  height: 21px;
  position: relative;
  z-index: 2000;
}
.drawer-icon.is-checked .drawer-icon-bar:nth-child(1) {
  top: 10px;
  -webkit-transform: rotate(30deg);
          transform: rotate(30deg);
}
.drawer-icon.is-checked .drawer-icon-bar:nth-child(2) {
  display: none;
}
.drawer-icon.is-checked .drawer-icon-bar:nth-child(3) {
  top: 10px;
  -webkit-transform: rotate(-30deg);
          transform: rotate(-30deg);
}

.drawer-icon-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: #111;
}
.drawer-icon-bar:nth-child(2) {
  top: 9px;
}
.drawer-icon-bar:nth-child(3) {
  top: 18px;
}

.drawer-content {
  width: 320px;
  height: 100%;
  padding: 150px 40px 40px;
  position: fixed;
  top: 0;
  right: 0;
  background: #f4db99;
  z-index: 1000;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.drawer-content.is-checked {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.drawer-content-link {
  display: block;
  padding: 14px 0;
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  .top {
    max-width: 1200px;
    margin: 0 auto;
  }
}

.top-main {
  font-family: "Lilita One", sans-serif;
  font-weight: 600;
  font-size: 35px;
  font-style: normal;
}
@media screen and (min-width: 768px) {
  .top-main {
    font-size: 80px;
  }
}

.top-text {
  margin-top: 10px;
  font-family: "RocknRoll One", sans-serif;
  font-weight: 400;
  font-size: 14px;
  font-style: normal;
}

.about {
  margin-top: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-title {
  text-align: center;
}

.about-contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 30px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .about-contents {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.about-img img {
  width: 200px;
}
@media screen and (min-width: 768px) {
  .about-img img {
    width: 500px;
  }
}

.about-text {
  margin-top: 15px;
  font-size: 14px;
}
@media screen and (min-width: 768px) {
  .about-text {
    max-width: 700px;
  }
}

.about-button {
  margin-top: 50px;
  text-align: right;
}

.about-button-text {
  width: 320px;
  height: 100%;
  padding: 150px 40px 40px;
  position: fixed;
  top: 0;
  right: 0;
  background: #f4db99;
  z-index: 1000;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.about-button-text.is-show {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.works {
  text-align: center;
  margin-top: 80px;
}
@media screen and (min-width: 768px) {
  .works {
    margin: 80px auto 0;
    max-width: 1200px;
  }
}

.works-lists {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 50px;
}
@media screen and (min-width: 768px) {
  .works-lists {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
}

.works-contents {
  margin-top: 30px;
}

.works-list-item img {
  width: 400px;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
}

.skills {
  margin-top: 80px;
}
@media screen and (min-width: 768px) {
  .skills {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* ↓モーダル表示前の画像の大きさ↓ */
.modal-img {
  height: 350px;
}

.gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.modal-img {
  width: 250px;
  margin: 5px;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.modal-img:hover {
  opacity: 0.7;
}

/* ↓モーダル表示時の画像の設定↓ */
.modal {
  text-align: center;
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  width: 300px;
  max-width: 350px;
}
@media screen and (min-width: 768px) {
  .modal-content {
    /* ↓画像をどこに表示するか。autoは中央に表示する */
    margin: auto;
    display: block;
    /* ↓モーダル表示時の写真の大きさ↓ */
    width: 400px;
    max-width: 700px;
  }
}

/* ↓モーダル表示時に✖︎ボタンで閉じる時のcss↓ */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.pagetop {
  position: fixed;
  right: 10px;
  bottom: 15px;
}

.pagetop img {
  width: 60px;
}