@charset "utf-8";

/* 基本スタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
}

html {
  -webkit-appearance: none;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}

body {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: #505050;
  line-height: 1.8;
}

a {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.4s;
}

a:hover {
  opacity: 0.7;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

.inner {
  max-width: 1000px;
  padding-inline: 20px;
  margin-inline: auto;
}

.section-title {
  font-size: 40px;
  text-align: center;
  text-transform: capitalize;
  line-height: 1;
  font-family: sans-serif;
  font-weight: lighter;
  padding-bottom: 12px;
  position: relative;
}
@media screen and (max-width: 767px) {
  .section-title {
    font-size: 32px;
  }
}

.section-title::before {
  content: '';
  background-color: #4c9ac0;
  width: 24px;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section-desc {
  text-align: center;
  margin-top: 12px;
  
}

.section-desc span {
  display: inline-block;
}

.section-bg {
  background-color: #f3efef;
}

.small-title {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.small-title span {
  display: inline-block;
}


/* ヘッダー */
.header {
  width: 100%;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: rgb(246 244 244 / 70%);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px;
}

.header__logo {
  height: inherit;
}

.header__link img {
  height: 40px;
}

.header__link {
  height: inherit;
  /* font-size: 35px; */
  font-size: 24px;
  display: flex;
  align-items: center;
}
@media screen and (max-width:767px) {
  .header__link {
    font-size: 16px;
  }
}

.header__inner {
  display: flex;
  justify-content: space-between;
  height: inherit;
}

.header-nav {
  height: inherit;
}
@media screen and (max-width:767px) {
  .header-nav {
    display: none;
  }
}

.header-nav__lists {
  display: flex;
  column-gap: 30px;
  height: inherit;
}

.header-nav__list {
  height: inherit;
  list-style: none;
}

.header-nav__link {
  font-size: 24px;
  color: #505050;
  height: inherit;
  display: flex;
  align-items: center;
  text-transform: capitalize;
}

/* FV */
.fv {
  position: relative;
  height: 550px;
}
@media screen and (max-width:767px) {
  .fv {
    height: 600px;
  }
}

.fv::after {
  content: '';
  background-color: rgba(0, 0, 0, .4);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

.splide__slide {
  width: 100%;
  height: 550px;
}
@media screen and (max-width:767px) {
  .splide__slide {
    height: 600px;
  }
}

.splide__slide img {
  height: 100%;
  object-fit: cover
}

.fv__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  white-space: nowrap;
  color: #fff;
  z-index: 100;
  text-transform: capitalize;
  padding-inline: 20px;
}
@media screen and (max-width:767px) {
  .fv__text {
    font-size: 28px;
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}
@media screen and (max-width:370px) {
  .fv__text {
    font-size: 20px;
  }
}

/* アバウト */
.about {
  padding-block: 96px;

}
@media screen and (max-width:767px) {
  .about {
    padding-block: 60px;
  }
}

.about__body {
  margin-top: 40px;
}

.about__greeting {
  padding-inline: 96px;
}
@media screen and (max-width:767px) {
  .about__greeting {
    padding-inline: 0;
  }
}

.about__desc {
  margin-top: 24px;
}

.about__content {
  display: flex;
  justify-content: center;
  column-gap: calc(80 / 960 * 100%);
  margin-top: 42px;
}
@media screen and (max-width:767px) {
  .about__content {
    margin-top: 32px;
    display: block;
  }
}

.about__text {
  flex: 1;
}

.about__small-title {
  font-family: sans-serif;
  font-size: 20px;
  text-transform: capitalize;
}

.about__lists {
  margin-top: 30px;
  padding-left: 2em;
}
@media screen and (max-width: 767px) {
  .about__lists {
    margin-top: 12px;
  }  
}

.about__image {
  width: calc(400 / 960 * 100%);
}
@media screen and (max-width:767px) {
  .about__image {
    width: 100%;
    margin-top: 16px;
  }
}

/* サービス */
.service {
  padding-block: 120px;
}
@media screen and (max-width:767px) {
  .service {
    padding-block: 60px;
  }
}

.service__items {
  max-width: 790px;
  margin-inline: auto;
  margin-top: 35px;
  font-size: 15px;
  display: flex;
  column-gap: calc(80 / 790 * 100%);

}
@media screen and (max-width:767px) {
  .service__items {
    display: block;
  }
}

.service-item {
  width: calc(210 / 790 * 100%);
}
@media screen and (max-width:767px) {
  .service-item {
    width: 100%;
  }
}

@media screen and (max-width:767px) {
  .service-item:not(:first-of-type) {
    margin-top: 44px;
  }
}

.service-item__image {
  width: 150px;
  margin-inline: auto;
}
@media screen and (max-width:767px) {
  .service-item__image {
    width: 50%;
  }
}

.service-item__text {
  padding-top: 22px;
  /* レスポンシブ対応 */
  max-width: 400px;
  margin-inline: auto;
}

@media screen and (max-width:767px) {
  .service-item__desc span {
    display: inline-block;
  }
}

/* ワークス */
.works {
  padding-block: 120px;
}
@media screen and (max-width:767px) {
  .works {
    padding-block: 60px;
  }
}

.works__items {
  font-size: 15px;
  display: flex;
  column-gap: calc(40 / 960 * 100%);
  margin-top: 35px;
}
@media screen and (max-width:767px) {
  .works__items {
    display: block;
  }
}

.works-item {
  width: calc(210 / 960 * 100%);
}
@media screen and (max-width:767px) {
  .works-item {
    width: 100%;
  }
}

@media screen and (max-width:767px) {
  .works-item:not(:first-of-type) {
    margin-top: 44px;
  }
}
.works-item__image {
  border: solid 1px #b5afaf;
}
.works-item__text {
  background-color: white;
  padding-top: 20px;
  padding: 10px;
}

/* コンタクトフォーム */
.contact {
  padding-block: 120px;
}
@media screen and (max-width:767px) {
  .contact {
    padding-block: 60px;
  }
}
.form {
  max-width: 790px;
  margin-inline: auto;
  margin-top: 42px;
  }

.form iframe {
  width: 100%;
  min-height: 1500px;
  border: 0;
  display: block;
}
@media (max-width: 767px) {
  .form iframe {
    min-height: 1700px;
  }
}

/* フッター */
.footer {
  font-family: sans-serif;
  /* background: #505050; */
  background: rgb(246 244 244 / 70%);
  padding-block: 60px 30px;
  text-align: center;
}
@media screen and (max-width:767px) {
  .footer {
    padding-block: 30px 40px;
  }
}

.footer__content {
  max-width: 435px;
  margin-inline: auto;
}

.footer-nav__lists {
  display: flex;
  justify-content: center;
  column-gap: 28px;
}
@media screen and (max-width:374px) {
  .footer-nav__lists {
    flex-wrap: wrap;
    padding-inline: 60px;
  }
}

.footer-nav__list {
  list-style: none;
}

.footer-nav__link {
  color: #505050;
  /* font-size: 35px; */
  font-size: 24px;
  text-transform: capitalize;
}
@media screen and (max-width:767px) {
  .footer-nav__link {
    /* font-size: 28px; */
    font-size: 16px;
  }
}

.footer__copyright {
  color: #505050;
  font-size: 16px;
  margin-top: 8px;
}
@media screen and (max-width:767px) {
  .footer__copyright {
    margin-top: 5px;
}
}
@media screen and (max-width:374px) {
  .footer__copyright {
    line-height: 1.2;
    margin-top: 12px;
  }
}

@media screen and (max-width:374px) {
  .ib {
    display: inline-block;
  }
}

.sns {
  display: flex;
  align-items: center;
  justify-content: end;
  column-gap: 12px;
  margin-top: 16px;
}
@media screen and (max-width:767px) {
  .sns {
    justify-content: center;
  }
}

.sns__list {
  list-style: none;
  line-height: 0;
  padding: 2px;
  background-color: #505050;
}

.sns__link {
  width: 24px;
}

.sns__link--x {
  width: 20px;
}