.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: gray;
}
.header__container {
  position: relative;
}
.header__logo {
  display: inline-block;
  padding: 10px;
  color: #fff;
}
.header__button--menu {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  color: transparent;
  overflow: hidden;
  background: url(../img/bg_menu.png) no-repeat center;
  background-size: 100% auto;
  border: none;
}
.header__button--menu.is-checked {
  background: url(../img/bg_menu-close.png) no-repeat center;
  background-size: 100% auto;
}
.header__nav--item + .header__nav--item {
  margin-top: 30px;
}
.header__contents {
  padding: 50px 0;
  border-top: 1px solid #fff;
  height: calc(100vh - 68px);
  display: none;
}

.button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 150px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 auto;
  padding: 5px;
}
.button__icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 24px;
}
.button__icon--path {
  fill: #fff;
}
.button__icon--path--d {
  fill: pink;
}
.button__text {
  margin-left: 10px;
}
.button--bd {
  border: 1px solid #fff;
}
.button--bg {
  background-color: #fff;
}

.fv {
  position: relative;
}
.fv__contents {
  position: absolute;
  bottom: 104px;
  left: 0;
  width: 100%;
  height: 209px;
  background: url(../img/sp/bg_fv.png) no-repeat center;
  background-size: 100% auto;
  padding: 30px;
}
.fv__heading--main {
  display: block;
  font-size: 40px;
}
.fv__heading--sub {
  display: block;
  font-size: 15px;
  letter-spacing: 0.1em;
  margin-top: 10px;
}

.section {
  padding: 40px 0;
}
.section__inner {
  padding: 0 40px;
}
.section__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 20px;
}
.section__header--center {
  text-align: center;
}
.section__header--main {
  font-size: 40px;
  letter-spacing: 0.03em;
}
.section__header--sub {
  font-size: 11px;
}
.section__lead--text {
  line-height: 1.5;
  font-size: 15px;
}
.section__contents {
  margin-top: 20px;
}

.service__list--item + .service__list--item {
  margin-top: 20px;
}
.service__list--item--img {
  text-align: center;
}
.service__list--item--title {
  text-align: center;
  font-size: 19px;
  font-weight: bold;
  margin-top: 9px;
}
.service__list--item--text {
  text-align: center;
  line-height: 2;
  margin-top: 3px;
}

.works {
  background-color: rgba(211, 211, 211, 0.15);
}
.works__list--item + .works__list--item {
  margin-top: 15px;
}
.works__list--item--img {
  margin-bottom: 12px;
}
.works__list--item--img img {
  -webkit-box-shadow: 10px 10px 8px rgba(128, 128, 128, 0.2);
          box-shadow: 10px 10px 8px rgba(128, 128, 128, 0.2);
}
.works__list--item--title {
  margin-bottom: 7px;
  font-size: 15px;
  font-weight: bold;
}
.works__list--item--link {
  text-decoration: underline;
  font-size: 14px;
}

.about__container img {
  -webkit-box-shadow: 10px 10px 8px rgba(128, 128, 128, 0.2);
          box-shadow: 10px 10px 8px rgba(128, 128, 128, 0.2);
  margin-bottom: 12px;
}
.about__lead--text {
  font-size: 15px;
  line-height: 1.7;
}
.about__lead--text + .about__lead--text {
  margin-top: 1em;
}

.work-flow {
  background-color: rgba(211, 211, 211, 0.15);
}
.work-flow__item {
  border: 1px solid gray;
  position: relative;
  padding: 40px 20px 10px 20px;
}
.work-flow__item + .work-flow__item {
  margin-top: 40px;
}
.work-flow__item-num {
  background-color: rgba(0, 0, 0, 0.9);
  width: 45px;
  height: 45px;
  position: absolute;
  top: -15px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.work-flow__item-img {
  text-align: center;
  margin-bottom: 12px;
}
.work-flow__item-title {
  font-weight: bold;
  font-size: 15px;
  text-align: center;
  margin-bottom: 12px;
}
.work-flow__item-text {
  font-size: 12px;
  text-align: center;
  margin-bottom: 10px;
}

.message__img {
  margin-bottom: 10px;
}
.message__img img {
  -webkit-box-shadow: 10px 10px 8px rgba(128, 128, 128, 0.2);
          box-shadow: 10px 10px 8px rgba(128, 128, 128, 0.2);
}
.message__text {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.09em;
}

.contact__box {
  color: #fff;
  padding: 40px;
}
.contact__box--message {
  background-color: gray;
}
.contact__box--twitter {
  background-color: black;
}

.footer {
  padding: 10px;
  text-align: center;
}
.footer__copy {
  font-size: 11px;
}

@media screen and (min-width: 768px) {
  .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .header {
    position: relative;
    -ms-flex-preferred-size: 20%;
        flex-basis: 20%;
    padding: 20px 20px;
  }
  .header__container {
    width: 150px;
    margin: 0 auto;
    position: sticky;
    top: 50px;
  }
  .header__logo {
    font-size: 33px;
  }
  .header__button--menu {
    display: none;
  }
  .header__contents {
    display: block;
    border: none;
  }
  .main {
    -ms-flex-preferred-size: 80%;
        flex-basis: 80%;
  }
  .button {
    -webkit-transition: color 0.3s, background 0.3s, opacity 0.3s;
    transition: color 0.3s, background 0.3s, opacity 0.3s;
  }
  .button:hover {
    background-color: #fff;
    color: gray;
  }
  .button:hover .button__icon--path {
    fill: gray;
  }
  .button--bg:hover {
    opacity: 0.5;
  }
  .fv__contents {
    background: url(../img/bg_fv.png) center no-repeat;
    background-size: 100% auto;
    max-width: 700px;
    bottom: 100px;
    height: 200px;
    padding-left: 100px;
    padding-bottom: 50px;
  }
  .section__inner {
    max-width: 960px;
    margin: 0 auto;
  }
  .section__header {
    margin-bottom: 50px;
  }
  .section__header--main {
    font-size: 50px;
  }
  .service__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5%;
  }
  .service__list--item + .service__list--item {
    margin-top: 0;
  }
  .works__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5%;
  }
  .works__list--item + .works__list--item {
    margin-top: 0;
  }
  .about__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    gap: 50px;
  }
  .work-flow__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3%;
  }
  .work-flow__item + .work-flow__item {
    margin-top: 0;
  }
  .message__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    gap: 8%;
  }
  .contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .section__header--main {
    font-size: 40px;
  }
  .fv__contents {
    bottom: 50%;
    -webkit-transform: translateY(50%);
            transform: translateY(50%);
  }
  .work-flow__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 10px;
  }
}