html {
  scroll-behavior: smooth;
  scroll-padding-top: 87px;
}

body {
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  color: #333;
}
body.is-fixed {
  overflow: hidden;
}

.button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 6px 10px 6px 30px;
  width: 160px;
  margin: 0 auto;
  -webkit-transition: background 0.3s, color 0.3s, opacity 0.3s;
  transition: background 0.3s, color 0.3s, opacity 0.3s;
}
.button:hover {
  background-color: #fff;
}
.button:hover .button__icon-path {
  fill: #c297a1;
}
.button:hover .button__text {
  color: #c297a1;
}
.button-bg {
  background-color: #fff;
}
.button-bg .button__text {
  color: #c297a1;
}
.button-bg:hover {
  color: #c297a1;
  opacity: 0.7;
}
.button-border {
  border: 1px solid #fff;
}
.button-border .button__text {
  color: #fff;
}
.button-submit {
  display: block;
  padding: 6px 10px 6px 10px;
  border: 1px solid #fff;
  color: #fff;
  background-color: #c297a1;
  text-align: center;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}
.button-submit:hover {
  background-color: #cecaca;
}
.button__icon {
  width: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.button__icon-path {
  fill: #fff;
}
.button__icon-path-contact {
  fill: #c297a1;
}
.button__text {
  margin-left: 10px;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #fff;
}

.header {
  background-color: #c297a1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
.header__container {
  width: 100%;
  position: relative;
}
.header__logo {
  display: inline-block;
  padding: 14px 24px;
  font-size: 20px;
  color: #fff;
}
.header__menu-button {
  border: none;
  position: absolute;
  top: 24px;
  right: 24px;
  width: 30px;
  height: 36px;
  overflow: hidden;
  color: transparent;
  background: url(../img/bg_menu.png) center center no-repeat;
  background-size: 100% auto;
}
.header__menu-button.is-checked {
  background: url(../img/bg_menu-close.png) center center no-repeat;
  background-size: 100% auto;
}
.header__contents {
  display: none;
  height: calc(100vh - 87px);
  border-top: 1px solid #fff;
  padding-top: 60px;
}
.header__contents.is-checked {
  display: block;
}
.header__nav-item + .header__nav-item {
  margin-top: 24px;
}

.fv {
  position: relative;
}
.fv__contents {
  position: absolute;
  bottom: 26px;
  right: 0;
  width: 100%;
  height: 209px;
  padding: 32px;
  background-color: rgba(255, 255, 255, 0.5);
}
.fv__heading-main {
  display: block;
  font-size: 40px;
  letter-spacing: 0.1em;
}
.fv__heading-sub {
  margin-top: 12px;
  display: block;
  font-size: 14px;
}
.fv img {
  padding-top: 87px;
}

.section {
  padding: 48px 0;
}
.section__inner {
  padding: 0 32px;
}
.section__head {
  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: 32px;
  text-align: center;
}
.section__head-center {
  text-align: center;
}
.section__head-main {
  font-size: 40px;
  letter-spacing: 0.1em;
}
.section__head-sub {
  font-size: 11px;
}
.section__lead-text {
  font-size: 14px;
  line-height: 1.6;
}
.section__contents {
  margin-top: 40px;
}

.service__item + .service__item {
  margin-top: 40px;
}
.service__item-img {
  text-align: center;
  margin-bottom: 14px;
}
.service__item-name {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.service__item-text {
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

.works {
  background-color: #fafafa;
}
.works__list {
  text-align: center;
}
.works__item + .works__item {
  margin-top: 40px;
}
.works__item-img {
  margin-bottom: 12px;
}
.works__item-img img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  width: 100%;
}
.works__item-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
}
.works__item-link {
  text-decoration: underline;
  font-size: 17px;
}
.works__item-link:hover {
  opacity: 0.6;
}

.about__name {
  font-size: 20px;
}
.about__img {
  margin-bottom: 32px;
  text-align: center;
}
.about__img img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  width: 70%;
}
.about__text {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 1em;
}

.flow {
  background-color: #fafafa;
}
.flow__list {
  margin-top: 64px;
}
.flow__item {
  position: relative;
  border: 1px solid #808080;
  padding: 46px 16px 24px;
}
.flow__item + .flow__item {
  margin-top: 46px;
}
.flow__item-num {
  position: absolute;
  top: -24px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  font-size: 24px;
  background-color: #c297a1;
  color: #fff;
  width: 48px;
  height: 48px;
  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;
}
.flow__item-img {
  margin-bottom: 24px;
  text-align: center;
}
.flow__item-name {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.flow__item-text {
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

.message__img {
  margin-bottom: 32px;
  text-align: center;
}
.message__img img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.message__text {
  font-size: 14px;
  line-height: 1.6;
}

.contact {
  color: #fff;
}
.contact__item {
  padding: 40px;
  background-color: #c9bdc3;
}

.contact__form {
  margin-top: 24px;
}

.contact__fields {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 25px;
}

.contact__button {
  margin-top: 25px;
  text-align: center;
}

.form-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.form-field__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.form-field__label {
  font-size: 14px;
  font-weight: 700;
}

.form-field__tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: #c297a1;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.form-field__item {
  margin-top: 8.5px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.form-text {
  width: 100%;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  border: none;
  font-size: 14px;
}
.form-text.is-error {
  border: 1px solid #c297a1;
}
.form-text:focus {
  border: 1px solid #cecaca;
  outline: none;
}

.form-textarea {
  border-radius: 8px;
  border: none;
  background: #fff;
  padding: 16px;
  width: 100%;
  height: 160px;
  font-size: 14px;
  -webkit-transition: border-color 0.3s;
  transition: border-color 0.3s;
}
.form-textarea.is-error {
  border: 1px solid #c297a1;
}
.form-textarea:focus {
  border: 1px solid #cecaca;
  outline: none;
}

.footer {
  background-color: #cecaca;
  text-align: center;
  padding: 10px;
  color: #fff;
}
.footer__copy {
  font-size: 11px;
  font-family: "Noto Sans JP", sans-serif;
}

.fade-in-up {
  opacity: 0;
  -webkit-transform: translateY(24px);
          transform: translateY(24px);
  -webkit-transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, transform 1s;
  transition: opacity 1s, transform 1s, -webkit-transform 1s;
}
.fade-in-up.is-in-view {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

#topBtn {
  background: #c297a1;
  color: #fff;
  position: fixed;
  right: 10px;
  bottom: 25px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  html {
    scroll-padding-top: 0;
  }
  .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .main {
    -ms-flex-preferred-size: 79.2%;
        flex-basis: 79.2%;
  }
  .header {
    position: relative;
    -ms-flex-preferred-size: 20.8%;
        flex-basis: 20.8%;
    padding: 50px 20px;
  }
  .header__container {
    width: 160px;
    margin: 0 auto;
    position: sticky;
    top: 50px;
  }
  .header__logo {
    font-size: 30px;
    letter-spacing: 0.12em;
    line-height: 1;
  }
  .header__menu-button {
    display: none;
  }
  .header__contents {
    display: block;
    border: none;
  }
  .section__inner {
    max-width: 944px;
    margin: 0 auto;
  }
  .section__head {
    margin-bottom: 24px;
  }
  .section__head-main {
    font-size: 60px;
  }
  .section__head-sub {
    font-size: 14px;
  }
  .section__lead-text {
    font-size: 18px;
  }
  .fv__contents {
    bottom: 166px;
    right: 0;
    max-width: 627px;
    height: 174px;
    padding-top: 24px;
    padding-left: 96px;
  }
  .fv__heading-sub {
    font-size: 16px;
  }
  .fv img {
    padding-top: 0;
  }
  .service__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8%;
  }
  .service__item + .service__item {
    margin-top: 0;
  }
  .service__item-text {
    font-size: 16px;
  }
  .works__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8%;
  }
  .works__item + .works__item {
    margin-top: 0;
  }
  .works__item-link {
    font-size: 15px;
  }
  .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: 40px;
  }
  .about__name {
    font-size: 24px;
  }
  .about__text {
    font-size: 16px;
  }
  .about__img {
    width: 40%;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  .about__img img {
    width: 100%;
  }
  .flow__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .flow__item + .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: 40px;
  }
  .message__text {
    font-size: 16px;
  }
  .contact__fields {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  #topBtn {
    right: 30px;
    bottom: 30px;
    width: 70px;
    height: 70px;
    font-size: 22px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .section__head-main {
    font-size: 54px;
  }
  .fv__contents {
    bottom: 50%;
    -webkit-transform: translateY(50%);
            transform: translateY(50%);
  }
  .flow__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
  }
}