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

body {
  font-family: "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;
}
.button--bg {
  background-color: #fff;
}
.button--bg .button__text {
  color: #000;
}
.button--border {
  border: 1px solid #000;
}
.button--border .button__text {
  color: #000;
}
.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: #000;
}
.button__icon-path--contact {
  fill: #000;
}
.button__text {
  margin-left: 10px;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #000;
}

.wrapper {
  background-color: #f4f7f7;
}

.header {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}
.header__container {
  width: 100%;
}
.header__container-list {
  width: 100%;
  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;
}
.header__logo {
  display: inline-block;
  padding: 14px 24px;
  font-size: 20px;
  color: #000;
  font-family: "Petrona", cursive;
  font-weight: 400;
  font-style: normal;
}
.header__contents {
  display: none;
  height: 100vh;
  border-top: 1px solid #fff;
  padding-top: 60px;
}
.header__nav-item + .header__nav-item {
  margin-top: 24px;
}
.header__open {
  margin-top: 20px;
  margin-right: 24px;
}

.drawer-icon {
  display: block;
  width: 30px;
  height: 36px;
  background-color: #ffffff;
  border: none;
  position: relative;
  z-index: 52;
}
.drawer-icon.is-checked .drawer-icon__bar {
  background-color: #000;
}
.drawer-icon.is-checked .drawer-icon__bar:nth-of-type(1) {
  top: 7px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.drawer-icon.is-checked .drawer-icon__bar:nth-of-type(2) {
  display: none;
}
.drawer-icon.is-checked .drawer-icon__bar:nth-of-type(3) {
  top: 7px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.drawer-icon__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 27px;
  height: 2px;
  border-radius: 6px;
  background: #000;
  z-index: 51;
  -webkit-transition: top 0.3s linear, -webkit-transform 0.3s linear;
  transition: top 0.3s linear, -webkit-transform 0.3s linear;
  transition: transform 0.3s linear, top 0.3s linear;
  transition: transform 0.3s linear, top 0.3s linear, -webkit-transform 0.3s linear;
}
.drawer-icon__bar:nth-of-type(2) {
  top: 7px;
}
.drawer-icon__bar:nth-of-type(3) {
  top: 14px;
}

.fv {
  position: relative;
}
.fv__img img {
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50%;
     object-position: 50%;
}
.fv__contents {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  padding: 0 20px;
}
.fv__heading {
  letter-spacing: 0.1em;
  font-family: "Petrona", cursive;
}
.fv__heading-main {
  display: block;
  font-size: 40px;
  font-weight: 400;
}
.fv__heading-sub {
  display: block;
  margin-top: 15px;
  font-size: 20px;
  font-weight: 400;
}

.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;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 32px;
}
.section__head--center {
  text-align: center;
}
.section__head-main {
  font-size: 40px;
  letter-spacing: 0.1em;
}
.section__head-sub {
  font-size: 12px;
}
.section__lead-text {
  font-size: 16px;
  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-img img {
  width: 80px;
}
.service__item-name {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.service__item-text {
  font-size: 14px;
  line-height: 1.6;
}

.works {
  background-color: #f4f7f7;
}
.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);
}
.works__item-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
}
.works__item-link {
  text-decoration: underline;
  font-size: 14px;
}

.about__img {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  cursor: pointer;
  width: 200px;
  height: 200px;
  line-height: 200px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.about__img img {
  width: 200px;
  height: 200px;
  vertical-align: baseline;
}
.about__img::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.about__text {
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}
.about__text + .about__text {
  margin-top: 1em;
}

.flow {
  background-color: #f4f7f7;
}
.flow__list {
  margin-top: 64px;
}
.flow__item {
  position: relative;
  border: 1px solid #888888;
  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: #517D99;
  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 {
  font-size: 14px;
  line-height: 1.6;
}

.message__img {
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
.message__text {
  font-size: 16px;
  line-height: 1.6;
}

.contact {
  background-color: rgb(32, 170, 183);
}

.page-bottom {
  color: #fff;
}
.page-bottom__item {
  padding: 20px;
}

.form-field {
  padding: 24px 0;
}

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

.form-field__tag {
  display: inline-block;
  border-radius: 4px;
  background: rgb(239, 76, 76);
  padding: 4px 6px 2px 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.form-field__item {
  width: 100%;
  margin-top: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 17px;
}

input[type=text],
input[type=email] {
  position: relative;
  width: 100%;
  border-radius: 4px;
  background: #f6f6f6;
  border: 1px solid #f6f6f6;
  padding: 11px 16px 12px;
  -webkit-transition: border-color 0.3s;
  transition: border-color 0.3s;
}
input[type=text]::-webkit-input-placeholder, input[type=email]::-webkit-input-placeholder {
  color: #c2c2c2;
}
input[type=text]::-moz-placeholder, input[type=email]::-moz-placeholder {
  color: #c2c2c2;
}
input[type=text]:-ms-input-placeholder, input[type=email]:-ms-input-placeholder {
  color: #c2c2c2;
}
input[type=text]::-ms-input-placeholder, input[type=email]::-ms-input-placeholder {
  color: #c2c2c2;
}
input[type=text]::placeholder,
input[type=email]::placeholder {
  color: #c2c2c2;
}

textarea {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  height: 160px;
  border: 1px solid #f6f6f6;
  padding: 11px 16px 12px;
  vertical-align: bottom;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: #f6f6f6;
  background-image: none;
  border-radius: 4px;
  font-family: inherit;
  resize: none;
  -webkit-transition: border-color 0.3s;
  transition: border-color 0.3s;
}
textarea::-webkit-input-placeholder {
  color: #c2c2c2;
}
textarea::-moz-placeholder {
  color: #c2c2c2;
}
textarea:-ms-input-placeholder {
  color: #c2c2c2;
}
textarea::-ms-input-placeholder {
  color: #c2c2c2;
}
textarea::placeholder {
  color: #c2c2c2;
}

input[type=submit] {
  display: inline-block;
  width: 200px;
  letter-spacing: 1.12px;
  padding: 10px 40px;
  border-radius: 25px;
  border: 1px solid #517D99;
  background: rgb(9, 91, 98);
  font-size: 14px;
  color: #fff;
  text-align: center;
  -webkit-transition: background-color 0.3s, color 0.3s;
  transition: background-color 0.3s, color 0.3s;
}
input[type=submit]:hover {
  background-color: #517D99;
  color: #fff;
}

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

.end-message {
  display: none;
  text-align: center;
}

.false-message {
  display: none;
  text-align: center;
}

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

/*------------------------
//pc
-------------------------*/
@media screen and (min-width: 768px) {
  html {
    scroll-padding-top: 0;
  }
  .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .header {
    position: relative;
    width: 270px;
    padding: 50px 20px;
  }
  .header__container {
    width: 160px;
    margin: 0 auto;
    position: sticky;
    top: 50px;
  }
  .header__logo {
    font-size: 30px;
    letter-spacing: 0.06em;
    line-height: 1;
  }
  .header__open {
    display: none;
  }
  .header__contents {
    display: block;
    border: none;
  }
  .drawer-icon {
    display: none;
  }
  .button {
    -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: #517D99;
  }
  .button:hover .button__text {
    color: #517D99;
  }
  .button--bg {
    color: #517D99;
  }
  .button--bg:hover {
    opacity: 0.7;
  }
  .section__inner {
    max-width: 944px;
    margin: 0 auto;
  }
  .section__head {
    margin-bottom: 24px;
  }
  .section__head-main {
    font-size: 50px;
  }
  .section__head-sub {
    font-size: 16px;
  }
  .main {
    width: calc(100vw - 270px);
  }
  .fv__contents {
    padding: 0 60px;
  }
  .fv__heading-main {
    font-size: clamp(50px, 6vw, 200px);
  }
  .fv__heading-sub {
    margin-top: 25px;
    font-size: clamp(25px, 3vw, 100px);
  }
  .service__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8%;
  }
  .service__item + .service__item {
    margin-top: 0;
  }
  .works__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8%;
  }
  .works__item + .works__item {
    margin-top: 0;
  }
  .about__container {
    width: 100%;
    margin-left: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 50px;
  }
  .about__img {
    margin: 0;
  }
  .about__text {
    width: 45%;
    margin-top: 40px;
    text-align: left;
  }
  .flow__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .flow__item + .flow__item {
    margin-top: 0;
  }
  .message__text-contents {
    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;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .message__text {
    width: 45%;
    margin-top: 40px;
  }
  .message__img {
    margin: 0;
  }
  .page-bottom__item {
    padding: 40px;
  }
  .form-field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 20px;
    padding: 28px 0;
  }
  .form-field__head {
    width: 180px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  .form-field__item {
    margin-top: 0;
  }
  textarea {
    height: 200px;
  }
  input[type=submit] {
    width: 250px;
    font-size: 16px;
    letter-spacing: 1.28px;
    border-radius: 30px;
    padding: 15px 30px;
  }
}
/*------------------------
//tb
-------------------------*/
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .section__head-main {
    font-size: 40px;
  }
  .section__head-sub {
    font-size: 14px;
  }
  .header {
    width: 220px;
  }
  .header__container-list {
    display: block;
  }
  .main {
    width: calc(100vw - 220px);
  }
  .fv__contents {
    padding: 0 40px;
  }
  .works__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__container {
    margin-left: 0;
  }
  .flow__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
  }
}