html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
@media screen and (min-width: 768px) {
  html {
    scroll-padding-top: 100px;
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

.inner {
  padding-inline: 15px;
}
@media screen and (min-width: 768px) {
  .inner {
    max-width: 1280px;
    padding-inline: 40px;
    margin-inline: auto;
  }
}

.section {
  padding-block: 48px;
}
@media screen and (min-width: 768px) {
  .section {
    padding-block: 58px;
  }
}

.section__inner {
  padding-inline: 32px;
}
@media screen and (min-width: 600px) {
  .section__inner {
    max-width: 500px;
    margin-inline: auto;
  }
}
@media screen and (min-width: 768px) {
  .section__inner {
    max-width: 980px;
    padding-inline: 40px;
  }
}

.section__head {
  margin-bottom: 32px;
}
@media screen and (min-width: 768px) {
  .section__head {
    margin-bottom: 38px;
  }
}

.section__head-title {
  font-family: "Montserrat", sans-serif;
  color: #ec96a4;
  font-size: 32px;
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 4px dashed #c5c7d1;
}
@media screen and (min-width: 900px) {
  .section__head-title {
    font-size: 42px;
  }
}

.section__head-title--type2 {
  color: #5d535e;
  border-bottom-color: #ec96a4;
}

.section__lead-text {
  font-size: 16px;
}
@media screen and (min-width: 768px) {
  .section__lead-text {
    font-size: 18px;
  }
}

.section__content {
  margin-top: 32px;
}

.button {
  display: inline-block;
  width: 160px;
  padding-block: 6px;
  text-align: center;
  color: #5d535e;
  background-color: #fff;
  border: 2px solid #5d535e;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}
.button:hover {
  background-color: #dfe166;
  border-color: #fff;
}

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

.header {
  height: 80px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background-color: #fff;
}
@media screen and (min-width: 768px) {
  .header {
    height: 100px;
  }
}

.header__inner {
  height: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo a {
  display: inline-block;
  padding-block: 14px;
  font-size: 20px;
  font-family: "Montserrat", sans-serif;
  color: #5d535e;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
}
@media screen and (min-width: 768px) {
  .header__logo a {
    font-size: 26px;
    transition: color 0.3s;
  }
  .header__logo a:hover {
    color: #ec96a4;
  }
}

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

.header__nav {
  background-color: #5d535e;
  width: 270px;
  height: calc(100% - 80px);
  position: fixed;
  right: 0;
  top: 80px;
  padding-block: 32px;
  padding-inline: 15px;
  transform: translateX(100%);
  transition: transform 0.4s;
}
.header__nav.is-checked {
  transform: translateX(0);
}
@media screen and (min-width: 768px) {
  .header__nav {
    background-color: transparent;
    width: auto;
    height: auto;
    position: static;
    padding: 0;
    transform: translateX(0);
  }
}

.header__lists {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .header__lists {
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }
}
@media screen and (min-width: 900px) {
  .header__lists {
    gap: 32px;
  }
}

.header__link {
  display: inline-block;
  padding-block: 8px;
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.1em;
}
@media screen and (min-width: 768px) {
  .header__link {
    color: #5d535e;
    font-size: 16px;
    position: relative;
  }
  .header__link::after {
    background-color: #ec96a4;
    bottom: 3px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s;
    width: 100%;
  }
  .header__link:hover::after {
    transform: scale(1, 1);
  }
}

.hamburger-icon {
  width: 30px;
  height: 16px;
  position: relative;
}
.hamburger-icon.is-checked .hamburger-icon__bar:nth-child(1),
.hamburger-icon.is-checked .hamburger-icon__bar:nth-child(3) {
  top: 9px;
}
.hamburger-icon.is-checked .hamburger-icon__bar:nth-child(1) {
  transform: rotate(45deg);
}
.hamburger-icon.is-checked .hamburger-icon__bar:nth-child(3) {
  transform: rotate(-45deg);
}
.hamburger-icon.is-checked .hamburger-icon__bar:nth-child(2) {
  display: none;
}

.hamburger-icon__bar {
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #5d535e;
  transition: top 0.4s, transform 0.4s;
}
.hamburger-icon__bar:nth-child(1) {
  top: 0;
}
.hamburger-icon__bar:nth-child(2) {
  top: 8px;
}
.hamburger-icon__bar:nth-child(3) {
  top: 16px;
}

@media screen and (min-width: 768px) {
  .fv__inner {
    position: relative;
  }
}

@media screen and (min-width: 768px) {
  .fv__image {
    max-width: 990px;
    margin-left: auto;
    display: block;
  }
}
.fv__image img {
  width: 100%;
}

.fv__message {
  max-width: 630px;
  margin-inline: auto;
  margin-top: 22px;
  padding: 24px;
  background-color: rgba(243, 242, 247, 0.5);
}
@media screen and (min-width: 768px) {
  .fv__message {
    position: absolute;
    inset-block: 0;
    margin-block: auto;
    left: 10px;
    padding-block: 40px;
    padding-left: 40px;
    padding-right: 20px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    -webkit-clip-path: none;
    clip-path: none;
    background-color: #fff;
    opacity: 0.8;
  }
}
@media screen and (min-width: 900px) {
  .fv__message {
    left: 0;
    padding: 80px 40px;
    opacity: 1;
  }
}

.fv__title {
  font-family: "Montserrat", sans-serif;
  color: #ec96a4;
  font-size: 24px;
  line-height: 1;
  -webkit-animation-name: animation-text;
  animation-name: animation-text;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}
@media screen and (min-width: 768px) {
  .fv__title {
    margin-top: 0;
  }
}

@-webkit-keyframes animation-text {
  0% {
    transform: translate(0, 0) rotate(-3deg);
  }
  50% {
    transform: translate(0, -3px) rotate(0deg);
  }
  100% {
    transform: translate(0, 0) rotate(3deg);
  }
}

@keyframes animation-text {
  0% {
    transform: translate(0, 0) rotate(-3deg);
  }
  50% {
    transform: translate(0, -3px) rotate(0deg);
  }
  100% {
    transform: translate(0, 0) rotate(3deg);
  }
}
.fv__text {
  margin-top: 16px;
}

.service__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .service__list {
    flex-direction: row;
    gap: 15px;
  }
}

.service__item {
  padding: 22px;
  background-color: #dfe166;
  -webkit-clip-path: polygon(
    0 20%,
    15% 10%,
    27% 0,
    85% 0%,
    100% 0,
    100% 15%,
    100% 85%,
    100% 100%,
    85% 100%,
    15% 100%,
    0 100%,
    0% 85%
  );
  clip-path: polygon(
    0 20%,
    15% 10%,
    27% 0,
    85% 0%,
    100% 0,
    100% 15%,
    100% 85%,
    100% 100%,
    85% 100%,
    15% 100%,
    0 100%,
    0% 85%
  );
}
@media screen and (min-width: 768px) {
  .service__item {
    width: calc(100% - 10px);
  }
}

.service__item-img {
  text-align: center;
}
.service__item-img img {
  width: 80px;
}

.service__item-name {
  margin-top: 14px;
  color: #5d535e;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.service__item-text {
  margin-top: 16px;
  font-size: 14px;
  letter-spacing: 0.05em;
}

.works {
  background-color: #f3f2f7;
}

.works__list {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media screen and (min-width: 900px) {
  .works__list {
    flex-direction: row;
    gap: 15px;
  }
}

@media screen and (min-width: 900px) {
  .works__item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.works__item-img img {
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.works__item-name {
  margin-top: 24px;
  margin-bottom: auto;
  color: #5d535e;
  font-size: 16px;
  font-weight: bold;
}

.works__item-link {
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
  .about__container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
  }
}

.about__img {
  text-align: center;
}
.about__img img {
  width: 200px;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
@media screen and (min-width: 600px) {
  .about__img img {
    width: auto;
  }
}

.about__text-content {
  margin-top: 32px;
}
@media screen and (min-width: 768px) {
  .about__text-content {
    margin-top: 0;
  }
}

.about__text {
  font-size: 16px;
  letter-spacing: 0.05em;
}
.about__text + .about__text {
  margin-top: 1em;
}
@media screen and (min-width: 768px) {
  .about__text {
    font-size: 18px;
  }
}

.flow {
  background-color: #f3f2f7;
}

.flow-content {
  padding: 30px;
  background-color: #fff;
}
@media screen and (min-width: 768px) {
  .flow-content {
    padding-block: 60px;
  }
}

.flow__list {
  display: flex;
  flex-direction: column;
  gap: 68px;
  border-left: 5px dotted #c5c7d1;
}
@media screen and (min-width: 768px) {
  .flow__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -moz-column-gap: 16px;
    column-gap: 16px;
    row-gap: 40px;
    border-left: none;
  }
}
@media screen and (min-width: 1200px) {
  .flow__list {
    grid-template-columns: repeat(4, 1fr);
    -moz-column-gap: 16px;
    column-gap: 16px;
  }
}

.flow__item {
  position: relative;
  padding: 24px 16px;
  border-top: 1px solid #c5c7d1;
  border-right: 1px solid #c5c7d1;
  border-bottom: 1px solid #c5c7d1;
}
@media screen and (min-width: 768px) {
  .flow__item {
    padding-block: 48px;
    border: 2px dashed #c5c7d1;
  }
}

.flow__item-num {
  position: absolute;
  top: -15px;
  left: -1px;
  transform: translateX(-50%);
  font-size: 24px;
  background-color: #ec96a4;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .flow__item-num {
    top: -24px;
    left: 50%;
  }
}

.flow__item-img {
  text-align: center;
}
.flow__item-img img {
  width: 80px;
}

.flow__item-name {
  margin-top: 24px;
  color: #5d535e;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.flow__item-text {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.05em;
}

@media screen and (min-width: 768px) {
  .message__container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
  }
}

.message__img img {
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}

.message__text-content {
  margin-top: 32px;
}
@media screen and (min-width: 768px) {
  .message__text-content {
    margin-top: 0;
  }
}

.message__text {
  font-size: 16px;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  .message__text {
    font-size: 18px;
  }
}

.contact {
  background-image: url(../img/bg_contact.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

@media screen and (min-width: 768px) {
  .contact__inner {
    max-width: 640px;
    padding-inline: 40px;
  }
}

.contact__text {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.contact__text .is-required {
  color: #ec96a4;
}

.contact__items {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media screen and (min-width: 600px) {
  .contact__items {
    padding: 60px 30px;
    background-color: #f3f2f7;
  }
}

.contact__footer {
  margin-top: 28px;
}
@media screen and (min-width: 768px) {
  .contact__footer {
    margin-top: 32px;
  }
}

.contact__privacy {
  text-align: center;
}

.contact__submit {
  text-align: center;
  margin-top: 28px;
}
@media screen and (min-width: 768px) {
  .contact__submit {
    margin-top: 44px;
  }
}

.contact-control {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media screen and (min-width: 768px) {
  .contact-control {
    flex-direction: row;
    gap: 10px;
  }
}

@media screen and (min-width: 768px) {
  .contact-control__head {
    width: 180px;
    flex-shrink: 0;
  }
}

@media screen and (min-width: 768px) {
  .contact-control__input {
    flex-grow: 1;
  }
}

.contact-control__radios {
  display: inline-flex;
  align-items: center;
  gap: 42px;
}

.form-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 16px;
  background: #5d535e;
  color: #fff;
  font-size: 14px;
}
@media screen and (min-width: 768px) {
  .form-label {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-inline: 4px;
    -webkit-clip-path: polygon(0% 0%, 94% 2%, 100% 50%, 94% 96%, 0% 100%);
    clip-path: polygon(0% 0%, 94% 2%, 100% 50%, 94% 96%, 0% 100%);
  }
}

.form-label__required {
  color: #ec96a4;
  font-size: 14px;
  font-weight: 600;
}

.form-text {
  width: 100%;
  height: 40px;
  border: 0;
  background-color: #fff;
  box-shadow: 5px 6px 16px 0px rgba(96, 96, 96, 0.16);
}
.form-text:focus {
  outline: 2px solid #6b717e;
}

.form-radio__input {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.form-radio__input:checked + .form-radio__text::after {
  opacity: 1;
}
.form-radio__input:focus + .form-radio__text::before {
  border: 2px solid #6b717e;
}

.form-radio__text {
  font-size: 14px;
  font-weight: 600;
  position: relative;
  padding-left: 28px;
}
.form-radio__text::before,
.form-radio__text::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}
.form-radio__text::before {
  width: 24px;
  height: 24px;
  background-color: #fff;
  border: 1px solid #c5c7d1;
  left: 0;
}
.form-radio__text::after {
  width: 10px;
  height: 10px;
  background-color: #ec96a4;
  left: 7px;
  opacity: 0;
}

.form-textarea {
  width: 100%;
  height: 122px;
  border: 0;
  background-color: #fff;
  box-shadow: 5px 6px 16px 0px rgba(96, 96, 96, 0.16);
  resize: vertical;
}
.form-textarea:focus {
  outline: 2px solid #6b717e;
}

.form-checkbox {
  position: relative;
}

.form-checkbox__input {
  width: 1px;
  height: 1px;
  position: absolute;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.form-checkbox__input:checked + .form-checkbox__text::after {
  opacity: 1;
}
.form-checkbox__input:focus + .form-checkbox__text::before {
  outline: 2px solid #6b717e;
}

.form-checkbox__text {
  padding-left: 30px;
  font-size: 14px;
}
.form-checkbox__text a {
  font-weight: 600;
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
  -webkit-text-decoration-color: #ec96a4;
  text-decoration-color: #ec96a4;
}
.form-checkbox__text::before,
.form-checkbox__text::after {
  content: "";
  position: absolute;
  left: 0;
  inset-block: 0;
  margin-block: auto;
}
.form-checkbox__text::before {
  width: 22px;
  height: 22px;
  background-color: #fff;
  border: 1px solid #c5c7d1;
  box-shadow: 5px 6px 16px 0px rgba(96, 96, 96, 0.16);
}
.form-checkbox__text::after {
  width: 20px;
  height: 15px;
  left: 1px;
  background-image: url(../img/ico_check.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0;
}

.footer {
  text-align: center;
  padding: 10px;
}
@media screen and (min-width: 768px) {
  .footer {
    padding: 20px;
  }
}

.footer__copy {
  font-size: 11px;
}
@media screen and (min-width: 768px) {
  .footer__copy {
    font-size: 14px;
  }
}

.page-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
}
@media screen and (min-width: 768px) {
  .page-top {
    right: 15px;
    bottom: 15px;
  }
}
.page-top.is-show {
  opacity: 1;
  visibility: visible;
}
.page-top img {
  width: 40px;
  opacity: 0.7;
}
@media screen and (min-width: 768px) {
  .page-top img {
    width: 60px;
  }
}
/*# sourceMappingURL=style.css.map */
