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

.button {
  display: flex;
  align-items: center;
  padding: 6px 1px 6px 30px;
  width: 160px;
  margin: 0 auto;
}
.button-border {
  border: 1px solid #fff;
}
.button-border .button-text {
  color: #000;
}
.button-icon {
  width: 30px;
  display: flex;
  align-items: center;
}
.button-text {
  margin-left: 10px;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #000;
}
.button-text--contact {
  color: #000;
}
.button-icon-path {
  fill: #fff;
}
.button-icon-path--contact {
  fill: #4a4a4a;
}

.header {
  background-color: rgba(210, 180, 140, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
.header-container {
  position: relative;
}
.header-logo {
  display: inline-block;
  padding: 14px 24px;
  font-size: 20px;
  color: #4d2e1a;
}
.header-logo-img {
  width: 50%;
  margin: 0 auto;
}
.header-menu-button {
  border: none;
  position: absolute;
  top: 24px;
  right: 24px;
  width: 30px;
  height: 36px;
  overflow: hidden;
  color: transparent;
  background: url(../img/menu.png) center center no-repeat;
  background-size: 100% auto;
}
.header-menu-button.is-checked {
  background: url(../img/close.png) center center no-repeat;
  background-size: 100% auto;
}
.header-contents {
  height: calc(100vh - 88px);
  border-top: 1px solid #fff;
  display: none;
}
.header-nav {
  background-color: #fff;
  border-radius: 60px;
  margin: 10px 70px;
}
.header-nav-item + .header-nav-item {
  margin-top: 24px;
}

.fv {
  position: relative;
}
.fv-sp-img {
  border-radius: 0 0 60px 60px;
}
.fv-contents {
  font-family: "Caveat", cursive;
  position: absolute;
  bottom: 26px;
  left: 0;
  width: 100%;
  height: 209px;
}
.fv-heading-main {
  display: block;
  font-size: 40px;
  letter-spacing: 0.1em;
}
.fv-heading-sub {
  display: block;
  margin-top: 12px;
  font-size: 14px;
}

.section {
  padding: 48px 0;
}
.section-inner {
  padding: 0 32px;
}
.section-head {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}
.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: 16px;
  line-height: 1.6;
}
.section-contents {
  margin-top: 40px;
}

.service-item {
  border: 1px solid #866650;
  border-radius: 20px;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  margin-top: 40px;
}
.service-item-img {
  text-align: center;
  margin-bottom: 14px;
}
.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: #faebd7;
}
.works-item + .works-item {
  margin-top: 40px;
}
.works-item-img {
  margin-bottom: 12px;
}
.works-item-img img {
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.works-item-name {
  font-size: 16px;
  font-weight: bold;
  margin: 6px 0;
}
.works-item-link {
  text-decoration: underline;
  font-size: 14px;
}
.works-item-link:hover {
  opacity: 0.6;
}

.about-img {
  margin-bottom: 32px;
}
.about-img img {
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.about-text {
  font-size: 16px;
  line-height: 1.6;
}
.about-text + .about-text {
  margin-top: 1em;
}

.flow {
  background-color: #faebd7;
}
.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%;
  transform: translateX(-50%);
  font-size: 24px;
  background-color: #4a4a4a;
  color: #fff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-item-img {
  text-align: center;
  margin-bottom: 24px;
}
.flow-item-img-png {
  width: 40%;
}
.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 {
  margin-bottom: 32px;
}
.message-img img {
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.message-text {
  font-size: 16px;
  line-height: 1.6;
}

.contact {
  background-color: #faebd7;
}

.page-bottom {
  color: #4d2e1a;
}
.page-bottom-item {
  padding: 40px;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  border-radius: 6px;
  background-color: #fafafa;
}

.head {
  border-radius: 6px 6px 0px 0px;
  background-color: #2abca7;
  color: #fafafa;
}

.form-head-main {
  text-align: center;
  padding: 18px 0 18px 0;
  font-size: 40px;
}

input {
  margin-bottom: 10px;
  width: 100%;
}

textarea {
  height: 100px;
  margin-bottom: 10px;
}

input:first-of-type {
  margin-top: 35px;
}

input,
textarea {
  font-size: 1em;
  padding: 15px 10px 10px;
  font-family: "Source Sans Pro", arial, sans-serif;
  border: 1px solid #cecece;
  background: #d7d7d7;
  color: #fafafa;
  border-radius: 5px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  box-sizing: border-box;
  width: 100%;
}

::-webkit-input-placeholder {
  color: #fafafa;
}

:-moz-placeholder {
  color: #fafafa;
}

::-moz-placeholder {
  color: #fafafa;
}

:-ms-input-placeholder {
  color: #fafafa;
}

.form-submit {
  margin-top: 15px;
  margin-bottom: 25px;
  background-color: #2abca7;
  padding: 12px 45px;
  border-radius: 5px;
  border: 1px solid #2abca7;
  transition: 0.5s;
  display: inline-block;
  cursor: pointer;
  color: #fff;
}

.form-submit:hover,
.form-submit:hover {
  background: #19a08c;
}

label.error {
  font-family: "Source Sans Pro", arial, sans-serif;
  font-size: 1em;
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #d89c9c;
  width: 80%;
  margin: auto;
  color: #fafafa;
  border-radius: 6px;
}

/* media queries */
label.error {
  width: 90%;
}

input,
textarea {
  width: 100%;
}

button {
  width: 100%;
}

body {
  padding-top: 10px;
}

.form-message {
  font-family: "Source Sans Pro", arial, sans-serif;
  font-size: 1.1em;
  display: none;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #2abca7;
  width: 80%;
  margin: auto;
  color: #fafafa;
  border-radius: 6px;
}

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

@media screen and (min-width: 768px) {
  body {
    padding-top: 0;
  }
  .wrapper {
    display: flex;
  }
  .main {
    flex-basis: 79.2%;
  }
  .header {
    position: relative;
    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;
    padding: 0;
  }
  .header-logo-img {
    margin: 20px auto;
  }
  .header-nav {
    margin: 0;
  }
  .header-menu-button {
    display: none;
  }
  .header-contents {
    border: none;
    display: block;
  }
  .fv-sp-img {
    border-radius: 0px;
  }
  .button {
    transition: background 0.3s, color 0.3s, opacity 0.3s;
  }
  .button:hover {
    background-color: #fff;
    cursor: pointer;
  }
  .button:hover .button-icon-path {
    fill: #4a4a4a;
  }
  .button:hover .button-text {
    color: #4a4a4a;
  }
  .button-bg {
    color: #4a4a4a;
  }
  .button-bg:hover {
    opacity: 0.7;
    cursor: pointer;
  }
  .section-inner {
    max-width: 944px;
    margin: 0 auto;
  }
  .section-head {
    margin-bottom: 24px;
  }
  .section-head-main {
    font-size: 60px;
  }
  .section-head-sub {
    font-size: 20px;
  }
  .fv-contents {
    left: 0;
    max-width: 627px;
    height: 174px;
    padding-top: 24px;
    padding-left: 96px;
  }
  .service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8%;
  }
  .service-item {
    margin-top: 0;
  }
  .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 {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
  }
  .flow-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .flow-item + .flow-item {
    margin-top: 0;
  }
  .message-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
  }
  .page-bottom-item {
    padding: 40px 0;
    margin: 0 auto;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .section-head-main {
    font-size: 54px;
  }
  .fv-contents {
    bottom: 50%;
    transform: translateY(50%);
  }
  .flow-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
  }
}