@charset "UTF-8";
/* 全体へのスタイル */
body {
  font-family: Helvetica, "游ゴシック", "Yu Gothic", YuGothic, HiraKakuProN-W3, "メイリオ", Meiryo, sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 30px;
}
body.is-fixed {
  overflow: hidden;
}

.button {
  display: flex;
  align-items: center;
  padding: 6px 10px 6px 20px;
  width: 160px;
  margin: 0 auto;
  transition: background 0.3s, color 0.3s, opacity 0.3s;
}
.button:hover {
  background-color: #fff;
}
.button:hover .button__text {
  color: #001858;
}
.button:hover .button__icon-path {
  fill: #001858;
}
.button--bg {
  background-color: #fff;
}
.button--bg .button__text {
  color: #001858;
}
.button--bg:hover {
  opacity: 0.7;
}
.button--border {
  border: 1px solid #fff;
}
.button--border .button__text {
  color: #fff;
}

.button__icon {
  display: flex;
  align-items: center;
}
.button__icon svg {
  width: 20px;
  height: 20px;
}

.button__icon-path {
  fill: #fff;
}
.button__icon-path--contact {
  fill: #001858;
}

.button__text {
  color: #fff;
  margin-left: 10px;
  font-size: 18px;
  letter-spacing: 0.08em;
}

@media screen and (min-width:768px) {
  .wrapper {
    display: flex;
  }
}

@media screen and (min-width:768px) {
  .main {
    flex-basis: 80%;
  }
}

/* header */
.header {
  background-color: #001858;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 998;
}
@media screen and (min-width:768px) {
  .header {
    position: relative;
    flex-basis: 20%;
    padding: 50px 20px;
  }
}

@media screen and (min-width:768px) {
  .header__inner {
    position: -webkit-sticky;
    position: sticky;
    top: 50px;
  }
}

.header__top {
  height: 65px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: none;
}
@media screen and (min-width:768px) {
  .header__logo {
    display: block;
    width: 115px;
    height: 115px;
    margin: 30px auto;
  }
}

.header__text-logo {
  color: #fff;
  font-size: 22px;
  font-family: "Space Mono", monospace;
  font-weight: 300;
  font-style: normal;
}
@media screen and (min-width:768px) {
  .header__text-logo {
    display: none;
  }
}

.header__menu-button {
  top: 6px;
  width: 35px;
  height: 35px;
  position: relative;
}
.header__menu-button.is-checked .header__menu-bar:nth-of-type(1) {
  transform: rotate(45deg);
  top: 10px;
}
.header__menu-button.is-checked .header__menu-bar:nth-of-type(2) {
  display: none;
}
.header__menu-button.is-checked .header__menu-bar:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 10px;
}
@media screen and (min-width:768px) {
  .header__menu-button {
    display: none;
  }
}

.header__menu-bar {
  width: 35px;
  height: 2px;
  position: absolute;
  top: 0;
  right: 0;
  background: #fff;
  transition: transform 0.3s linear, top 0.3s linear;
}
.header__menu-bar:nth-of-type(2) {
  top: 9px;
}
.header__menu-bar:nth-of-type(3) {
  top: 18px;
}

.header__contents {
  height: 150vh;
  border-top: 1px solid #fff;
  padding-top: 30px;
  display: none;
}
.header__contents.is-checked {
  display: block;
}
@media screen and (min-width:768px) {
  .header__contents {
    display: block;
    border-top: none;
    padding-top: 60px;
  }
}

.header__nav-item:not(:first-child) {
  margin-top: 15px;
}
.header__nav-item:nth-child(7) {
  margin-top: 26px;
}

/* first-view */
.fv {
  position: relative;
}

.fv__img {
  display: block;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.fv__contents {
  position: absolute;
  width: 93.3333333333%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; /* テキストを中央揃えにする */
  text-shadow: 1px 1px 2px rgb(52, 52, 52);
}
@media screen and (min-width:768px) {
  .fv__contents {
    left: 10%;
    width: 450px;
    transform: translate(0%, -50%);
    text-align: left;
  }
}

.fv__heading-main,
.fv__heading-sub {
  color: #fff;
  font-weight: bold;
  display: block;
}

.fv__heading-main {
  font-size: 3em;
  letter-spacing: 2px;
  height: 70px;
}
@media screen and (min-width:768px) {
  .fv__heading-main {
    font-size: 3.5em;
    height: 80px;
  }
}
@media screen and (min-width:768px) and (max-width:1024px) {
  .fv__heading-main {
    font-size: 3.5em;
  }
}

.fv__heading-sub {
  font-size: 20px;
  line-height: 1.5;
}
@media screen and (min-width:768px) {
  .fv__heading-sub {
    margin-top: 10px;
    font-size: 24px;
  }
}
@media screen and (min-width:768px) and (max-width:1024px) {
  .fv__heading-sub {
    font-size: 24px;
  }
}

/* service (sectionの共通パーツ) */
.section {
  padding: 48px 0;
}
@media screen and (min-width:768px) {
  .section {
    padding: 60px;
  }
}

.section__inner {
  padding: 0 25px;
  max-width: 470px;
  margin: 0 auto;
}
@media screen and (min-width:768px) {
  .section__inner {
    max-width: 930px;
    margin: 0 auto;
  }
}
@media screen and (min-width:768px) and (max-width:1024px) {
  .section__inner {
    padding: 0;
  }
}

.section__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
  opacity: 0;
  transform: translate(0, 10px);
  transition: all 0.8s ease;
}
.section__head.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

.section__head-main {
  font-size: 36px;
  font-weight: bold;
  position: relative;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
  display: inline-block;
  line-height: 1;
}
@media screen and (min-width:768px) {
  .section__head-main {
    font-size: 50px;
  }
}

.section__head-bar {
  position: absolute;
  transform: skewX(-30deg);
  content: ""; /*ボックスを作る*/
  width: 5px;
  height: 18px;
  border-radius: 1px;
  bottom: 5px;
  right: -15px;
  background-color: #c1eaf2;
}
@media screen and (min-width:768px) {
  .section__head-bar {
    width: 8px;
    height: 24px;
    bottom: 7px;
    right: -18px;
  }
}
.section__head-bar:nth-child(2) {
  right: -23px;
  background-color: #9ad0f7;
}
@media screen and (min-width:768px) {
  .section__head-bar:nth-child(2) {
    right: -29px;
  }
}
.section__head-bar:nth-child(3) {
  right: -31px;
  background-color: #191ba9;
}
@media screen and (min-width:768px) {
  .section__head-bar:nth-child(3) {
    right: -40px;
  }
}

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

.section__lead-text {
  margin-bottom: 30px;
}
@media screen and (min-width:768px) {
  .section__lead-text {
    margin-bottom: 50px;
  }
}

/* service */
@media screen and (min-width:768px) {
  .service__list {
    display: flex;
    justify-content: space-between;
  }
}

@media screen and (min-width:768px) {
  .service__item {
    width: calc(33.3% - 26.6666666667px);
  }
}
.service__item:not(:first-child) {
  margin-top: 40px;
}
@media screen and (min-width:768px) {
  .service__item:not(:first-child) {
    margin-top: 0;
  }
}

.service__item-img {
  margin: 0 auto;
  margin-bottom: 20px;
  width: 80px;
  height: 80px;
}
.service__item-img img {
  display: inline-block;
}

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

/* works */
.works {
  background-color: #fef6e4;
  position: relative;
}

.custom-shape-divider-top-1713191821 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-top-1713191821 svg {
  position: relative;
  display: block;
  width: calc(101% + 1.3px);
  height: 41px;
}

.custom-shape-divider-top-1713191821 .shape-fill {
  fill: #ffffff;
}

.custom-shape-divider-bottom-1713191903 {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.custom-shape-divider-bottom-1713191903 svg {
  position: relative;
  display: block;
  width: calc(101% + 1.3px);
  height: 41px;
}

.custom-shape-divider-bottom-1713191903 .shape-fill {
  fill: #ffffff;
}

.section__inner-wave {
  margin: 40px auto;
}

@media screen and (min-width:768px) {
  .works__list {
    display: flex;
    justify-content: space-around;
    gap: 40px 0;
    flex-wrap: wrap;
  }
}

@media screen and (min-width:768px) {
  .works__item {
    width: calc(33.3% - 26.6666666667px);
  }
}
@media screen and (min-width:768px) and (max-width:1024px) {
  .works__item {
    width: calc(50% - 30px);
  }
}
.works__item:not(:first-child) {
  margin-top: 45px;
}
@media screen and (min-width:768px) {
  .works__item:not(:first-child) {
    margin-top: 0;
  }
}

.works__item-link {
  display: inline-block;
  transition: transform 0.3s ease;
}
.works__item-link:hover {
  transform: scale(1.02);
}

.works__item-textbox {
  padding: 15px 10px;
}

.works__item-title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}
@media screen and (min-width:768px) {
  .works__item-title {
    font-size: 16px;
  }
}

.works__item-img {
  overflow: hidden;
  margin-bottom: 5px;
  border-radius: 5px; /* 角丸を指定する */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 水平方向のオフセット、垂直方向のオフセット、ぼかし半径、影の色と透明度 */
}
.works__item-img img {
  -o-object-fit: cover;
     object-fit: cover;
  display: block; /* display を block に変更 */
  width: 100%; /* 画像が枠に収まるように幅を100%に設定 */
  height: 100%; /* 画像が枠に収まるように高さを100%に設定 */
}

.works__item-skill {
  display: inline-block;
  border-radius: 3px;
  padding: 5px 10px;
  background-color: #9ad0f7;
  font-size: 14px;
  color: #fff;
  text-shadow: 0px 1px 5px #989090;
  margin-bottom: 10px;
  letter-spacing: 1.2px;
}
.works__item-skill.wp {
  background-color: #e68181;
}

/* about */
@media screen and (min-width: 960px) {
  .about__container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 660px;
    margin-inline: auto;
  }
}

@media screen and (min-width: 960px) {
  .about__text-content {
    width: 55%;
    flex-shrink: 1;
  }
}

.about__img {
  width: 80%;
  margin: 0 auto 30px;
}
@media screen and (min-width:768px) {
  .about__img {
    width: 250px;
    height: 250px;
    margin-inline: auto;
    flex-grow: 1;
  }
}

.about__text span {
  -webkit-text-emphasis: dot #001858;
          text-emphasis: dot #001858;
}

.about__list {
  margin-top: 1em;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.about__list-title {
  position: relative;
  padding: 3px 9px 3px 45px;
  background: #9ad0f7;
  color: white;
  text-shadow: 0px 1px 5px #989090;
  flex-shrink: 1;
  margin-left: -21px;
  line-height: 1.3;
  z-index: -1;
}
.about__list-title::before {
  position: absolute;
  content: "";
  left: -2px;
  top: -2px;
  border: none;
  border-left: solid 40px white;
  border-bottom: solid 79px transparent;
  z-index: -2;
}

/* flow */
.flow {
  background-color: #fef6e4;
  position: relative;
}

.flow__list {
  margin-top: 60px;
}
@media screen and (min-width:768px) {
  .flow__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}
@media screen and (min-width:768px) and (max-width:1024px) {
  .flow__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 16px;
  }
}

.flow__item {
  position: relative;
  border: 1px solid #4b4b4b;
  padding: 46px 16px 24px;
}
.flow__item + .flow__item {
  margin-top: 40px;
}
@media screen and (min-width:768px) {
  .flow__item + .flow__item {
    margin-top: 0;
  }
}

.flow__item-no {
  position: absolute;
  content: "";
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: #fff;
  font-weight: bold;
  width: 48px;
  height: 48px;
  border-radius: 3px;
  background-color: #4b4b4b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow__item-img {
  margin: 0 auto 24px;
  text-align: center;
  width: 96px;
  height: 96px;
}

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

.flow__item-text {
  text-align: left;
  display: flex; /* 子要素をフレックスコンテナとして配置する */
  justify-content: center; /* 子要素を横方向の中央に配置する */
}

/* message */
@media screen and (min-width:768px) {
  .message__container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }
}

@media screen and (min-width:768px) {
  .message__text-content {
    width: 50%;
  }
}

.message__img {
  width: 80%;
  margin: 0 auto 32px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
@media screen and (min-width:768px) {
  .message__img {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }
}

/* contact */
.page__bottom {
  color: #fff;
}
@media screen and (min-width:768px) {
  .page__bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

.page__bottom-item {
  padding: 18px 0 20px;
}
@media screen and (min-width:768px) {
  .page__bottom-item {
    padding: 20px 10px 22px;
  }
}

.page__bottom-item--contact {
  background-color: #9ad0f7;
}

.page__bottom-item--x {
  background-color: #191ba9;
}

.page__bottom-link {
  display: flex;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.8s ease;
}
.page__bottom-link:hover {
  opacity: 0.7;
}

.page__bottom-icon svg {
  width: 35px;
  height: 35px;
}
.page__bottom-icon .button__icon-path--contact {
  fill: #fff;
}

.page__bottom-title {
  font-size: 24px;
  font-weight: bold;
  display: inline-block;
}
.page__bottom-title.contact-title {
  position: relative;
}
.page__bottom-title.contact-title::after {
  position: absolute;
  content: "DMからお願いします";
  font-size: 10px;
  width: 180%;
  bottom: -9px;
  left: 2px;
}

/* footer */
footer {
  background-color: #4b4b4b;
  padding: 7px;
  text-align: center;
  color: #fff;
}

/* arrow */
.arrow__upper {
  text-align: center;
  position: fixed;
  width: 100%;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 999;
  opacity: 0;
  display: none;
  transition: all 0.8s ease;
}
.arrow__upper.is-show {
  opacity: 1;
  display: block;
}
.arrow__upper:hover {
  cursor: pointer;
  transform: scale(1.2);
}

.arrow__upper img {
  width: 30px;
}