/** ------------------------
        leyout
------------------------ **/
@media (768px <= width) {
  .wrapper {
    display: grid;
    grid-template-columns: 1fr 4fr;
  }
}
.wrapper .header {
  grid-row: 1/3;
}

/** ------------------------
        common
------------------------ **/
.btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 160px;
  margin: 0 auto;
  padding: 6px 0 6px 30px;
  transition: background 0.3s, color 0.3s, opacity 0.3s;
}
@media (768px <= width) {
  .btn:hover {
    background: #fff;
  }
  .btn:hover .btn__icon-path {
    fill: #4a4a4a;
  }
  .btn:hover .btn__text {
    color: #4a4a4a;
  }
}

.btn__icon {
  width: 24px;
  display: flex;
  align-items: center;
}

.btn__icon-path {
  fill: #fff;
}

.btn__text {
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.btn--bg {
  background: #fff;
}
.btn--bg .btn__icon-path {
  fill: #4a4a4a;
}
.btn--bg .btn__text {
  color: #4a4a4a;
}
@media (768px <= width) {
  .btn--bg:hover {
    opacity: 0.7;
  }
}

.btn--border {
  border: 1px solid #fff;
}

/** ------------------------
        body
------------------------ **/
body.is-fixed {
  overflow: hidden;
}

/** ------------------------
        header
------------------------ **/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #4a4a4a;
  z-index: 999;
}
@media (768px <= width) {
  .header {
    position: sticky;
    top: 0;
    width: auto;
    height: 100vh;
    padding: 50px 20px;
  }
}

.header__container {
  position: relative;
}
@media (768px <= width) {
  .header__container {
    width: 160px;
    margin: 0 auto;
  }
}

.header__logo {
  display: inline-block;
  padding: 14px 24px;
  color: #fff;
  font-size: 20px;
}
@media (768px <= width) {
  .header__logo {
    font-size: 32px;
    letter-spacing: 0.12em;
    line-height: 1;
  }
}

.header__menu-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 30px;
  height: 36px;
  color: transparent;
  background: url(../img/bg_menu.png) center center no-repeat;
  background-size: 100% auto;
  border: none;
  overflow: hidden;
}
@media (768px <= width) {
  .header__menu-btn {
    display: none;
  }
}

.header__menu-btn.is-checked {
  background: url(../img/bg_menu-close.png) center center no-repeat;
  background-size: 100% auto;
}

.header__contents {
  display: none;
  height: calc(100vh - 80px);
  padding-top: 60px;
  border-top: 1px solid #fff;
}
@media (768px <= width) {
  .header__contents {
    display: block;
    border: none;
  }
}

.header__nav-item + .header__nav-item {
  margin-top: 24px;
}

/** ------------------------
        main
------------------------ **/
/** ------------------------
        fv
------------------------ **/
.fv {
  position: relative;
}

.fv__contents {
  position: absolute;
  left: 0;
  bottom: 26px;
  width: 100%;
  height: 209px;
  padding: 32px;
  background: url(../img/sp/bg_fv.png) center center no-repeat;
  background-size: 100% auto;
}
@media (768px <= width) {
  .fv__contents {
    bottom: 100px;
    max-width: 627px;
    height: 174px;
    padding: 24px 80px;
    background: url(../img/bg_fv.png) center center no-repeat;
    background-size: 100% auto;
  }
}
@media (768px <= width <= 1024px) {
  .fv__contents {
    bottom: 50%;
    transform: translateY(50%);
  }
}

.fv__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fv__heading-main {
  font-size: 40px;
  letter-spacing: 0.1em;
}

.fv__heading-sub {
  font-size: 14px;
}

/** ------------------------
        section
------------------------ **/
.section {
  scroll-margin-top: 87.2px;
  padding: 48px 0;
}

.section__inner {
  padding: 0 32px;
  max-width: 944px;
  margin: 0 auto;
}

.section__head {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}
@media (768px <= width) {
  .section__head {
    margin-bottom: 24px;
  }
}

.section__head--center {
  text-align: center;
}

.section__head-main {
  font-size: 40px;
  letter-spacing: 0.1em;
}
@media (768px <= width) {
  .section__head-main {
    font-size: 60px;
  }
}
@media (768px <= width <= 1024px) {
  .section__head-main {
    font-size: 54px;
  }
}

.section__head-sub {
  font-size: 11px;
}

.section__lead-text {
  font-size: 16px;
  line-height: 1.6;
}

.section__contents {
  margin-top: 40px;
}

/** ------------------------
        service
------------------------ **/
.service__list {
  display: flex;
  flex-direction: column;
  gap: 8%;
}
@media (768px <= width) {
  .service__list {
    flex-direction: row;
  }
}

.service__item {
  flex: 1;
}

.service__item-img {
  text-align: center;
  margin-bottom: 14px;
}

.service__item-name {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

.service__item-text {
  font-size: 14px;
  line-height: 1.6;
}

/** ------------------------
        works
------------------------ **/
.works {
  background: #fafafa;
}

.works__list {
  display: flex;
  flex-direction: column;
  gap: 8%;
}
@media (768px <= width) {
  .works__list {
    flex-direction: row;
  }
}

.works__item {
  flex: 1;
}

.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-bottom: 6px;
}

.works__item-link {
  text-decoration: underline;
  font-size: 14px;
}

/** ------------------------
        about
------------------------ **/
.about__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (768px <= width) {
  .about__container {
    flex-direction: row-reverse;
    gap: 40px;
  }
}

.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
------------------------ **/
.flow {
  background: #fafafa;
}

.flow__list {
  display: grid;
  gap: 40px 16px;
}
@media (768px <= width) {
  .flow__list {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (768px <= width <= 1024px) {
  .flow__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.flow__item {
  position: relative;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  border: #808080 solid 1px;
}

.flow__item-num {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: #4a4a4a;
  color: #fff;
  font-size: 24px;
}

.flow__item-img {
  margin-bottom: 14px;
  text-align: center;
}

.flow__item-name {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.flow__item-text {
  font-size: 14px;
  line-height: 1.6;
  align-self: center;
}

/** ------------------------
        message
------------------------ **/
.message__container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (768px <= width) {
  .message__container {
    flex-direction: row-reverse;
    gap: 40px;
  }
}

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

.message__text {
  font-size: 16px;
  line-height: 1.6;
}

.message__text + .message__text {
  margin-top: 1em;
}

/** ------------------------
        page-bottom
------------------------ **/
.page-bottom__container {
  display: flex;
  flex-direction: column;
}
@media (768px <= width) {
  .page-bottom__container {
    flex-direction: row;
  }
}

.page-bottom__item {
  flex: 1;
  padding: 40px;
  color: #fff;
}
@media (768px <= width) {
  .page-bottom__item {
    padding: 54px 16px;
  }
}

.page-bottom__item--gray {
  background: #6f6f6f;
}

.page-bottom__item--dark {
  background: #4a4a4a;
}

/** ------------------------
        footer
------------------------ **/
.footer {
  padding: 10px;
  text-align: center;
}

.footer__copy {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
}

body {
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  color: #333;
}