@charset "UTF-8";
/*
サイズ用関数
$pixelsVw:フォントサイズ
$baseWidth:ベースとなる画面横幅
*/
/*
SAMPLE
font-size: vw(30,375);
*/
/*
media query
*/
/* --------------------------------
p-about
----------------------------------- */
.p-about {
  color: var(--primary-color);
  padding-bottom: 120px;
  padding-left: 0;
  padding-right: 0;
  padding-inline: 0;
}
@media only screen and (max-width: 718px) {
  .p-about {
    padding-bottom: 60px;
  }
}

/* --------------------------------
p-fv
----------------------------------- */
.p-fv__img {
  margin-top: 46px;
}
@media only screen and (max-width: 718px) {
  .p-fv__img {
    margin-top: 33px;
  }
}

/* --------------------------------
p-message
----------------------------------- */
.p-message {
  padding-top: 120px;
  padding-bottom: 70px;
  overflow: hidden;
}
@media only screen and (max-width: 718px) {
  .p-message {
    padding-top: 38px;
    padding-bottom: 0;
  }
}

.p-message__head {
  text-align: center;
}
@media only screen and (max-width: 718px) {
  .p-message__head {
    text-align: left;
  }
}

.p-message__title {
  margin-top: 11px;
}

.p-message__contents {
  margin-top: 80px;
  text-align: center;
}
@media (min-width: 719px) and (max-width: 1024px) {
  .p-message__contents {
    margin-top: 60px;
  }
}
@media only screen and (max-width: 718px) {
  .p-message__contents {
    margin-top: 40px;
    text-align: left;
  }
}
.p-message__contents + .p-message__contents {
  margin-top: 92px;
}
@media only screen and (max-width: 718px) {
  .p-message__contents + .p-message__contents {
    margin-top: 43px;
  }
}

.p-message__sub-title {
  font-family: var(--font-zen);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
@media (min-width: 719px) and (max-width: 1024px) {
  .p-message__sub-title {
    font-size: 22px;
  }
}
@media only screen and (max-width: 718px) {
  .p-message__sub-title {
    font-size: 18px;
  }
}

.p-message__text {
  margin-top: 40px;
}
@media (min-width: 719px) and (max-width: 1024px) {
  .p-message__text {
    margin-top: 30px;
  }
}
@media only screen and (max-width: 718px) {
  .p-message__text {
    margin-top: 36px;
  }
}
.p-message__text p + p {
  margin-top: 43px;
}
@media only screen and (max-width: 718px) {
  .p-message__text p + p {
    margin-top: 36px;
  }
}

.p-message__img-box {
  margin-top: 91px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-inline: auto;
}
@media only screen and (max-width: 718px) {
  .p-message__img-box {
    margin-top: 43px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}

.p-message__img-box--head {
  padding-right: 2%;
}
@media only screen and (max-width: 718px) {
  .p-message__img-box--head {
    padding-right: 20px;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }
}
.p-message__img-box--head .p-message__img:nth-child(1) {
  margin-right: 4.0816326531%;
  margin-top: 18.3673469388%;
  width: 24.4897959184%;
}
@media only screen and (max-width: 718px) {
  .p-message__img-box--head .p-message__img:nth-child(1) {
    margin-right: 12%;
    margin-top: 18.1333333333%;
    width: 40%;
  }
}
.p-message__img-box--head .p-message__img:nth-child(2) {
  margin-right: 18.3673469388%;
  margin-top: 0;
  width: 20.4081632653%;
}
@media only screen and (max-width: 718px) {
  .p-message__img-box--head .p-message__img:nth-child(2) {
    margin-right: 5.3333333333%;
    width: 37.3333333333%;
  }
}
.p-message__img-box--head .p-message__img:nth-child(3) {
  margin-top: 9.2857142857%;
  width: 32.6530612245%;
}
@media only screen and (max-width: 718px) {
  .p-message__img-box--head .p-message__img:nth-child(3) {
    margin-left: auto;
    width: 58.6666666667%;
  }
}

.p-message__img-box--foot {
  padding-left: 2%;
  padding-right: 3%;
}
@media only screen and (max-width: 718px) {
  .p-message__img-box--foot {
    padding: 0;
    margin-top: 49px;
  }
}
@media only screen and (max-width: 718px) {
  .p-message__img-box--foot .p-message__img:nth-child(1) {
    padding-left: 50.7462686567%;
    width: 99.4029850746%;
  }
}
.p-message__img-box--foot .p-message__img:nth-child(2) {
  margin-right: 20%;
  width: 29.4736842105%;
}
@media only screen and (max-width: 718px) {
  .p-message__img-box--foot .p-message__img:nth-child(2) {
    margin-right: 10.447761194%;
    margin-top: 5.9701492537%;
    width: 47.7611940299%;
  }
}
.p-message__img-box--foot .p-message__img:nth-child(3) {
  margin-right: 4.2105263158%;
  margin-top: 11.2631578947%;
  width: 21.0526315789%;
}
@media only screen and (max-width: 718px) {
  .p-message__img-box--foot .p-message__img:nth-child(3) {
    margin-top: 29.8507462687%;
    width: 35.8208955224%;
  }
}
.p-message__img-box--foot .p-message__img:nth-child(4) {
  margin-top: 4.2105263158%;
  width: 25.2631578947%;
}

@media only screen and (max-width: 718px) {
  [dir="ltr"] .p-message__img-box.p-message__img-box--foot {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .p-message__img-box.p-message__img-box--foot:dir(ltr) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.p-message__img img {
  border-radius: 20px;
}
@media only screen and (max-width: 718px) {
  .p-message__img img {
    border-radius: 10px;
  }
}

@media only screen and (max-width: 718px) {
  .p-message__img-box--head .p-message__img:nth-child(1) img {
    border-radius: 0 10px 10px 0;
  }
}

.p-profile {
  margin-top: 60px;
  border: 3px solid var(--beige-color);
  border-radius: 20px;
  padding: 35px 46px 31px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 43px;
}
@media only screen and (max-width: 718px) {
  .p-profile {
    margin-top: 41px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 15px 20px 20px;
    border-width: 2px;
    gap: 11px;
  }
}

.p-profile__name {
  padding-top: 2px;
}
@media only screen and (max-width: 718px) {
  .p-profile__name {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    gap: 10px;
  }
}
.p-profile__name span {
  display: block;
  text-align: left;
  font-family: var(--font-zen);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
.p-profile__name span:nth-child(1) {
  font-size: 16px;
}
@media only screen and (max-width: 718px) {
  .p-profile__name span:nth-child(1) {
    font-size: 12px;
  }
}
.p-profile__name span:nth-child(2) {
  font-size: 20px;
}
@media only screen and (max-width: 718px) {
  .p-profile__name span:nth-child(2) {
    font-size: 14px;
  }
}

.p-profile__text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: justify;
}
@media (min-width: 719px) and (max-width: 1024px) {
  .p-profile__text {
    font-size: 14px;
  }
}
@media only screen and (max-width: 718px) {
  .p-profile__text {
    font-size: 12px;
  }
}

/* --------------------------------
p-policy
----------------------------------- */
.p-policy {
  padding-top: 70px;
}
@media only screen and (max-width: 718px) {
  .p-policy {
    padding-top: 40px;
  }
}

.p-policy__head {
  text-align: center;
}
@media only screen and (max-width: 718px) {
  .p-policy__head {
    text-align: left;
  }
}

.p-policy__title {
  margin-top: 11px;
}

.p-policy__contents {
  text-align: center;
}
@media only screen and (max-width: 718px) {
  .p-policy__contents {
    text-align: left;
  }
}

.p-policy__items {
  margin-top: 86px;
}
@media only screen and (max-width: 718px) {
  .p-policy__items {
    margin-top: 42px;
  }
}

/* --------------------------------
p-modal 開発ストーリー
----------------------------------- */
.p-modal {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(30, 10, 5, 0.5);
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
}

.p-modal__container {
  width: 100%;
  height: 100%;
  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;
  padding-left: 40px;
  padding-right: 40px;
  padding-inline: 40px;
}
@media only screen and (max-width: 718px) {
  .p-modal__container {
    padding-left: 20px;
    padding-right: 20px;
    padding-inline: 20px;
  }
}

.p-modal__box {
  max-width: 1040px;
  width: 100%;
  background-color: #fff;
  position: relative;
  border-radius: 20px;
  padding: 78px 60px 82px;
  max-height: 90vh;
}
@media only screen and (max-width: 718px) {
  .p-modal__box {
    padding: 60px 10px;
  }
}

.p-modal__close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 30px;
  cursor: pointer;
  pointer-events: default;
  z-index: 10;
}
@media only screen and (max-width: 718px) {
  .p-modal__close {
    top: 15px;
    right: 15px;
  }
}

.p-story__items {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
  gap: 20px;
}
@media (max-width: 1024px) {
  .p-story__items {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.p-story-item a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 140px;
  background-color: var(--beige-color);
  border-radius: 20px;
  padding-right: 20px;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
@media only screen and (max-width: 718px) {
  .p-story-item a {
    height: 111px;
    padding-right: 15px;
  }
}
.p-story-item a p {
  padding-left: 20px;
  font-family: var(--font-zen);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
@media only screen and (max-width: 718px) {
  .p-story-item a p {
    padding-left: 15px;
    font-size: 16px;
  }
}

@media (any-hover: hover) {
  .p-story-item a:hover {
    opacity: 0.7;
  }
}
.p-story-item__img {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  overflow: hidden;
}
@media only screen and (max-width: 718px) {
  .p-story-item__img {
    width: 111px;
    height: 111px;
  }
}
.p-story-item__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* --------------------------------
utility
----------------------------------- */
@media (min-width: 941px) {
  .u-940 {
    display: none;
  }
}
@media (max-width: 718px) {
  .u-940 {
    display: none;
  }
}