@charset "UTF-8";
body {
  font-family: "Noto Serif JP", "Helvetica Neue", Arial, sans-serif;
  color: #333;
}
body.is-fixed {
  overflow: hidden;
}

.button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 6px 10px 6px 30px;
  width: 160px;
  margin: 0 auto;
}
.button--bg {
  background-color: #fff;
}
.button--bg .button__txt {
  color: #4a4a4a;
}
.button--border {
  border: solid 1px #fff;
}
.button--border .button__txt {
  color: #fff;
}
.button__icon {
  width: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.button__icon-path {
  fill: #fff;
}
.button__icon-path--contact {
  fill: #4a4a4a;
}
.button__txt {
  margin-left: 10px;
  font-size: 16px;
  letter-spacing: 0.08;
  color: #fff;
}

.header {
  background-color: #cccc99;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
.header__container {
  width: 100%;
  position: relative;
}
.header__logo {
  display: inline-block;
  padding: 14px 24px;
  font-size: 20px;
  color: #fff;
}
.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 #fff;
  padding-top: 60px;
}
.header__nav-item + .header__nav-item {
  margin-top: 24px;
}

.fv {
  position: relative;
  width: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
  background-color: #ffffff;
  padding-top: 88px;
}
.fv__bg {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  padding: 12px;
}
.fv__contents {
  padding: 0 32px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 6px;
}
.fv__heading {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}
.fv__heading-main {
  font-size: 24px;
  margin-right: 10px;
}
.fv__heading-line {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  height: 1px;
  background-color: rgba(79, 79, 79, 0.2745098039);
  margin-bottom: 12px;
}
.fv__heading-sub {
  margin: 0 0 5px 10px;
  font-size: 14px;
}

.section {
  padding: 48px 0;
}
.section__inner {
  padding: 0 32px;
}
.section__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          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-txt {
  font-size: 15px;
  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-txt {
  font-size: 14px;
  line-height: 1.6;
}

.works {
  background-color: #fafafa;
}
.works__item-img {
  margin-bottom: 12px;
}
.works__item-name {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
}
.works__item-link {
  text-decoration: underline;
  font-size: 14px;
}

.about .about__img {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 32px;
}
.about .about__img .image-item {
  position: relative;
  overflow: hidden;
}
.about .about__img .image-item img {
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.about .about__img .image-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  padding: 10px;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.about .about__img .image-item:hover img {
  opacity: 0.7;
}
.about .about__img .image-item:hover .overlay {
  opacity: 1;
}
.about__txt {
  font-size: 16px;
  line-height: 1.6;
}
.about__txt + .about__txt {
  margin-top: 1em;
}

.flow {
  background-color: #fafafa;
}
.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%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  font-size: 24px;
  background-color: #4a4a4a;
  color: #fff;
  width: 48px;
  height: 48px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.flow__item-img {
  margin: 0 auto 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 62px;
}
.flow__item-name {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
.flow__item-txt {
  font-size: 14px;
  line-height: 1.6;
}

.message__img {
  margin-bottom: 32px;
}
.message__img img {
  -webkit-box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}
.message__txt {
  font-size: 15px;
  line-height: 1.6;
}
.message__txt-2 {
  margin-top: 24px;
}

.form {
  max-width: 600px;
  margin: auto;
}
.form__group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin-bottom: 15px;
}
.form__parts {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.form__parts-name, .form__parts-input {
  width: 100%;
}
.form__parts-page {
  padding: 8px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.form__parts-page::-webkit-inner-spin-button, .form__parts-page::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.form__submit {
  display: block;
  margin: 20px auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 8px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  background: #aaaaaa;
  color: #ffffff;
  line-height: 60px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-box-shadow: 6px 6px 3px #666666;
          box-shadow: 6px 6px 3px #666666;
  border: 2px solid #aaaaaa;
}
.form__submit:hover {
  -webkit-box-shadow: none;
          box-shadow: none;
  color: #aaaaaa;
  background: #ffffff;
}

.topBtn {
  position: fixed;
  bottom: 10px;
  right: 5px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  -webkit-perspective: 1000px;
          perspective: 1000px; /* 3D効果を有効化 */
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d; /* 子要素にも3Dを適用 */
  opacity: 0; /* 初期状態で非表示 */
  -webkit-transition: opacity 0.6s ease;
  transition: opacity 0.6s ease;
  visibility: hidden; /* 初期状態で非表示にするための追加 */
}
.topBtn__design, .topBtn__txt {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: transform 0.6s ease, opacity 0.6s ease;
  transition: transform 0.6s ease, opacity 0.6s ease, -webkit-transform 0.6s ease;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden; /* 裏側を非表示にする */
}
.topBtn__design {
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
  opacity: 1;
}
.topBtn__txt {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg); /* 初期状態で裏側にする */
  opacity: 0;
}
.topBtn:hover .topBtn__design {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  opacity: 0;
}
.topBtn:hover .topBtn__txt {
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
  opacity: 1;
}
.topBtn.show {
  opacity: 1; /* フェードイン */
  visibility: visible; /* 表示状態にする */
}

.page-bottom {
  color: #fff;
}
.page-bottom__item {
  padding: 40px;
}
.page-bottom__item--contact {
  background-color: #6f6f6f;
}
.page-bottom__item--twitter {
  background-color: #4a4a4a;
}

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

/*-------------------------------------------
// pc
-------------------------------------------*/
@media screen and (min-width: 768px) {
  .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .main {
    -ms-flex-preferred-size: 79.2%;
        flex-basis: 79.2%;
  }
  .header {
    position: relative;
    -ms-flex-preferred-size: 20.8%;
        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;
  }
  .header .button {
    -webkit-transition: background 0.3s color 0.3s opacity 0.3s;
    transition: background 0.3s color 0.3s opacity 0.3s;
  }
  .header .button:hover {
    background-color: #fff;
  }
  .header .button:hover .button__icon-path {
    fill: #4a4a4a;
  }
  .header .button:hover .button__txt {
    color: #4a4a4a;
  }
  .header .button--bg {
    color: #4a4a4a;
  }
  .header .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 {
    padding-top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    overflow: visible;
  }
  .fv__bg {
    padding: 24px 32px;
  }
  .fv__contents {
    width: 100%;
    padding-top: 24px;
    position: relative;
    bottom: auto;
  }
  .fv__heading-main {
    font-size: 32px;
    margin-right: 10px;
  }
  .fv__heading-line {
    background-color: rgba(79, 79, 79, 0.5098039216);
    margin-bottom: 18px;
  }
  .fv__heading-sub {
    font-size: 24px;
  }
  .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 {
    gap: 40px;
  }
  .flow__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .flow__item + .flow__item {
    margin-top: 0;
  }
  .message__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    gap: 40px;
  }
  .contact .form__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 20px;
  }
  .contact .form__group-1 {
    width: 48%;
    margin-bottom: 0;
  }
  .page-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .page-bottom__item {
    padding: 54px 10px;
  }
}
/*-------------------------------------------
// tab
-------------------------------------------*/
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .header__logo {
    font-size: 25px;
  }
  .section__head-main {
    font-size: 54px;
  }
  .flow__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
  }
}