@charset "UTF-8";
body {
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  color: #795548;
}
body.is-fixed {
  overflow: hidden;
}

.fv__heading-mein,
.section__head-mein,
.button__text {
  font-family: "Courgette";
}

.font-awesome {
  font-family: "Font Awesome 6 Free";
  font-weight: 300;
  color: #fff;
}
.font-awesome--900 {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #fff;
}

.button {
  display: flex;
  align-items: center;
  padding: 6px 10px 6px 28px;
  width: 160px;
  margin: auto;
}
.button--border {
  border: 1px solid #fff;
}
.button--border-dashed {
  border: 1px dashed #fff;
}
.button--sns {
  padding: 8px;
}
.button__icon {
  width: 24px;
  display: flex;
  align-items: center;
}
.button__icon--sns {
  height: 18px;
  display: block;
  margin: 0 auto;
}
.button__icon-path {
  fill: #fff;
}
.button__text {
  margin-left: 10px;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #fff;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
.header__container {
  width: 100%;
  position: relative;
}
.header__top {
  background-color: #A1887F;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.header__logo {
  padding: 4px 12px;
  width: 150px;
  flex-shrink: 0;
}
.header__logo img {
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  height: 54px;
  width: auto;
  max-width: 100%;
}
.header__menu_button {
  border: none;
  position: absolute;
  top: 15px;
  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 {
  height: calc(100vh - 64px);
  border-top: 1px solid #fff;
  padding-top: 60px;
  display: none;
  background-color: rgba(161, 136, 127, 0.85);
}
.header__nav-item + .header__nav-item {
  margin-top: 24px;
}

.fv {
  position: relative;
  margin-top: 64px;
}
.fv__img {
  aspect-ratio: 375/550;
  width: 100%;
}
.fv__img img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.fv__contents {
  position: absolute;
  top: 6.4%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 375px;
  height: auto;
  background: url(../img/sp/bg_fv.png) center center no-repeat;
  background-size: contain;
  aspect-ratio: 335/209;
  padding: 32px;
}
.fv__heading {
  min-width: 310px;
}
.fv__heading-mein {
  display: block;
  font-size: 40px;
  letter-spacing: 0.1em;
}
.fv__heading-sub {
  display: block;
  font-size: 14px;
  margin-top: 12px;
}

.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-mein {
  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 + .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: #fafafa;
}
.works__list {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}
.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-bottom: 6px;
}
.works__item-link {
  text-decoration: underline;
  font-size: 14px;
}
.works__auth-info {
  margin-top: 16px;
  font-size: 14px;
}

.flow__list {
  margin-top: 64px;
}
.flow__item {
  position: relative;
  border: 1px solid #808080;
  border-radius: 240px 15px 100px 15px/15px 200px 15px 185px;
  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: #A1887F;
  color: #fff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.flow__item-img {
  margin-bottom: 24px;
  text-align: center;
}
.flow__item-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
  text-align: center;
  margin-bottom: 10px;
}
.flow__item-text {
  font-size: 14px;
  line-height: 1.6;
}

.message {
  background-color: #fafafa;
}
.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;
}

.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;
}

.page-bottom {
  color: #fff;
}
.page-bottom__item {
  padding: 40px;
}
.page-bottom__item--contact {
  background-color: #5D4037;
}
.page-bottom__item--twitter {
  background-color: #A1887F;
}

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

.to-top {
  display: inline-block;
  text-align: center; /*左右中央*/
  background-color: rgba(255, 202, 40, 0.6);
  color: #795548;
  width: 45px;
  height: 45px;
  line-height: 45px; /*heightと同じ値にすることで、上下中央に*/
  border-radius: 50%; /*角を丸く*/
  position: fixed; /* 表示位置を固定 */
  bottom: 24px;
  right: 12px;
}

/*-----------------------------
// PC
-----------------------------*/
@media screen and (min-width: 768px) {
  .wrapper {
    display: flex;
  }
  .mein {
    flex-basis: 83.2%;
  }
  .header {
    position: relative;
    flex-basis: 16.8%;
    padding: 50px 20px;
    height: auto;
    background-color: #A1887F;
  }
  .header__container {
    width: 160px;
    margin: 0 auto;
    position: sticky;
    top: 50px;
  }
  .header__top {
    justify-content: center;
  }
  .header__logo {
    padding: 0;
  }
  .header__logo img {
    height: 70px;
  }
  .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: rgba(255, 202, 40, 0.6);
  }
  .button--sns {
    transition: background 0.3s, color 0.3s, opacity 0.3s;
  }
  .button--sns-black {
    transition: background 0.3s, color 0.3s, opacity 0.3s;
  }
  .button--sns-black:hover {
    background-color: #A1887F;
  }
  .button--sns-black:hover .button__icon-path {
    fill: #000;
  }
  .section__inner {
    max-width: 944px;
    margin: 0 auto;
  }
  .section__head {
    margin-bottom: 24px;
  }
  .section__head-mein {
    font-size: 60px;
  }
  .fv {
    margin-top: 0;
  }
  .fv__img {
    aspect-ratio: 1198/650;
    width: 100%;
  }
  .fv__contents {
    background: url(../img/bg_fv.png) center center no-repeat;
    background-size: 100% auto;
    background-size: contain;
    top: calc(100% - 208px);
    right: 3%;
    left: auto;
    transform: translateX(0);
    width: 94%;
    max-width: 627px;
    height: auto;
    padding-top: 24px;
    padding-left: 96px;
    aspect-ratio: 627/174;
  }
  .fv__heading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .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(2, 1fr);
    gap: 8%;
  }
  .works__item + .works__item {
    margin-top: 0;
  }
  .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;
  }
  .about__container {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
  }
  .page-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 275px;
  }
  .page-bottom__item {
    padding: 54px 10px;
  }
  .to-top {
    width: 50px;
    height: 50px;
    line-height: 50px; /*heightと同じ値にすることで、上下中央に*/
    border-radius: 50%; /*角を丸く*/
    position: fixed; /* 表示位置を固定 */
    bottom: 28px;
    right: 28px;
  }
}
/*-----------------------------
// タブレット
-----------------------------*/
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .section__head-mein {
    font-size: 54px;
  }
  .flow__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
  }
}