.finlandica-headline- {
  font-family: "Finlandica Headline", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

.line-seed-jp-regular {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Finlandica Headline", "LINE Seed JP", sans-serif;
  font-optical-sizing: auto;
}
body.is-fixed {
  overflow: hidden;
}

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

.header {
  background-color: #5B91B8;
  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: #FAFAF7;
}
.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 - 88px);
  border-top: 1px solid #FAFAF7;
  padding-top: 65px;
}
.header-nav-item + .header-nav-item {
  margin-top: 24px;
}

.fv {
  position: relative;
}
.fv-contents {
  position: absolute;
  bottom: 26px;
  left: 0;
  width: 100%;
  height: 209px;
  background: url(../img/sp/bg_fv.png) center center no-repeat;
  background-size: 100% auto;
  padding: 32px;
}
.fv-heading-main {
  display: block;
  font-size: 40px;
  letter-spacing: 0.1em;
}
.fv-heading-sub {
  margin-top: 12px;
  display: block;
  font-size: 16px;
}

.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: 14px;
}
.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-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: #EEF2F2;
}
.works-item + .works-item {
  margin-top: 40px;
}
.works-item-img {
  margin-bottom: 12px;
}
.works-item-img img {
  box-shadow: 0 2px 12px 0 rgba(37, 37, 37, 0.06);
}
.works-item-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
}
.works-item-link {
  text-decoration: underline;
  font-size: 14px;
}

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

.flow {
  background-color: #EEF2F2;
}
.flow-list {
  margin-top: 64px;
}
.flow-item {
  position: relative;
  border: 1px solid #5B91B8;
  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: #5B91B8;
  color: #FAFAF7;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: 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 {
  margin-bottom: 32px;
}
.message-img img {
  box-shadow: 0 4px 15px 0 rgba(37, 37, 37, 0.15);
}
.message-text {
  font-size: 16px;
  line-height: 1.6;
}

.page-bottom {
  color: #FAFAF7;
}
.page-bottom-item {
  padding: 40px;
}
.page-bottom-item--contact {
  background-color: #999999;
}
.page-bottom-item--sns {
  background-color: #5B91B8;
}

.footer {
  text-align: center;
  padding: 10px;
}
.footer-copy {
  font-size: 11px;
  font-family: "Finlandica Headline", "LINE Seed JP", sans-serif;
}

@media screen and (min-width: 768px) {
  .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;
    line-height: 1;
  }
  .header-menu-button {
    display: none;
  }
  .header-contents {
    border: none;
    display: block;
  }
  .button {
    transition: background 0.3s, color 0.3s, opacity 0.3s;
  }
  .button:hover {
    background-color: #FAFAF7;
  }
  .button:hover .button-icon-path {
    fill: #5B91B8;
  }
  .button:hover .button-text {
    color: #5B91B8;
  }
  .button--bg {
    color: #5B91B8;
  }
  .button--bg:hover {
    opacity: 0.7;
  }
  .section-inner {
    max-width: 944px;
    margin: 0 auto;
  }
  .section-head {
    margin-bottom: 24px;
  }
  .section-head-main {
    font-size: 60px;
  }
  .fv-contents {
    background: url(../img/bg_fv.png) center center no-repeat;
    background-size: 100% auto;
    bottom: 100px;
    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 + .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 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .page-bottom-item {
    padding: 54px 10px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .section-head-main {
    font-size: 55px;
  }
  .fv-contents {
    bottom: 50%;
    transform: translateY(50%);
  }
  .flow-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
  }
}