/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
/  function                                                  */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
/  mixin                                                     */
.p-about {
  padding-block: 64px;
}
@media screen and (max-width: 1024px) {
  .p-about {
    padding-block: 48px;
  }
}
@media screen and (max-width: 599.98px) {
  .p-about {
    padding-block: 32px;
  }
}
.p-about__row {
  display: grid;
  align-items: center;
  justify-content: space-between;
  grid-template-columns: repeat(2, minmax(0, auto));
  column-gap: var(--gutter);
}
:where(.p-about:nth-child(odd of .p-about)) .p-about__row {
  grid-template-areas: "img cont";
}
:where(.p-about:nth-child(even of .p-about)) .p-about__row {
  grid-template-areas: "cont img";
}
@media screen and (max-width: 1024px) {
  .p-about__row {
    grid-template: "img" auto "cont" auto/100%;
    justify-items: center;
    justify-content: center;
    row-gap: 35px;
  }
}
@media screen and (max-width: 599.98px) {
  .p-about__row {
    row-gap: 24px;
  }
}
.p-about__cont {
  grid-area: cont;
  display: grid;
  row-gap: 48px;
  max-width: 492px;
}
@media screen and (max-width: 1024px) {
  .p-about__cont {
    row-gap: 27px;
  }
}
@media screen and (max-width: 599.98px) {
  .p-about__cont {
    row-gap: 6px;
    max-width: 93.7142857143cqw;
    margin-inline: auto;
  }
}
@media screen and (max-width: 1024px) {
  .p-about__ttl {
    text-align: center;
  }
}
.p-about__img {
  grid-area: img;
  max-width: 100%;
  min-width: 0;
}
.p-about__photo img {
  object-fit: cover;
}
@media screen and (max-width: 1024px) {
  .p-about__photo img {
    aspect-ratio: 349/262;
  }
}

.p-space {
  padding-block: 64px;
}
@media screen and (max-width: 1024px) {
  .p-space {
    padding-block: 48px;
  }
}
@media screen and (max-width: 599.98px) {
  .p-space {
    padding-block: 32px;
  }
}
.p-space__grid {
  display: grid;
}
@media screen and (min-width: 1024.02px) {
  .p-space__grid {
    grid-template: "img ......." 114.5fr "img block01" "img ......." 108fr "img block02" "img ......." 114.5fr/minmax(0, auto) minmax(0, auto);
    justify-content: space-between;
    column-gap: var(--gutter);
  }
}
@media screen and (max-width: 1024px) {
  .p-space__grid {
    grid-template: "photo01" auto "......." 36px "block01" auto "......." 48px "photo03" auto "......." 36px "block02" auto/100%;
    justify-items: center;
  }
}
@media screen and (max-width: 599.98px) {
  .p-space__grid {
    grid-template-rows: auto 24px auto 32px auto 24px auto;
  }
}
.p-space__block {
  display: grid;
  row-gap: 24px;
  max-width: 388px;
}
@media screen and (max-width: 1024px) {
  .p-space__block {
    row-gap: 16px;
    max-width: none;
  }
}
@media screen and (max-width: 599.98px) {
  .p-space__block {
    row-gap: 8px;
    max-width: 81.4285714286cqw;
  }
}
.p-space__block:nth-of-type(1) {
  grid-area: block01;
}
.p-space__block:nth-of-type(2) {
  grid-area: block02;
}
.p-space__block_ttl {
  width: fit-content;
  min-width: min(144px, 100%);
  margin-inline: auto;
  border-bottom: 1px solid;
  font-weight: 600;
  line-height: 1.5833333333;
  font-size: 2.4rem;
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .p-space__block_ttl {
    line-height: 1.5952380952;
    font-size: 2.1rem;
  }
}
@media screen and (max-width: 599.98px) {
  .p-space__block_ttl {
    line-height: 1.6111111111;
    font-size: 1.8rem;
  }
}
.p-space__catch {
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .p-space__catch {
    margin-right: -0.1em;
    font-weight: 600;
    letter-spacing: 0.1em;
  }
}
.p-space__text {
  line-height: 1.3571428571;
  font-size: 1.4rem;
  text-align: center;
}
@media screen and (max-width: 1024px) {
  .p-space__text {
    line-height: 1.4642857143;
  }
}
@media screen and (max-width: 599.98px) {
  .p-space__text {
    line-height: 1.5714285714;
  }
}
@media screen and (min-width: 1024.02px) {
  .p-space__img {
    grid-area: img;
  }
}
@media screen and (max-width: 1024px) {
  .p-space__img {
    display: contents;
  }
}
.p-space__photos {
  width: 678.27px;
  max-width: 100%;
}
@media screen and (max-width: 1024px) {
  .p-space__photos {
    display: contents;
  }
}
.p-space__photos_item {
  position: relative;
}
@media screen and (min-width: 1024.02px) {
  .p-space__photos_item {
    display: grid;
  }
}
.p-space__photos_item:nth-child(1) {
  z-index: 3;
}
@media screen and (min-width: 1024.02px) {
  .p-space__photos_item:nth-child(1) {
    grid-template: ". photo ." auto/47fr 403fr 228.27fr;
  }
}
@media screen and (max-width: 1024px) {
  .p-space__photos_item:nth-child(1) {
    grid-area: photo01;
  }
}
.p-space__photos_item:nth-child(2) {
  z-index: 2;
}
@media screen and (min-width: 1024.02px) {
  .p-space__photos_item:nth-child(2) {
    grid-template: ". photo" auto/364fr 314.27fr;
    margin-top: -18.7241069191%;
  }
}
@media screen and (max-width: 1024px) {
  .p-space__photos_item:nth-child(2) {
    grid-area: photo02;
  }
}
.p-space__photos_item:nth-child(3) {
  z-index: 1;
}
@media screen and (min-width: 1024.02px) {
  .p-space__photos_item:nth-child(3) {
    grid-template: "photo ." auto/403fr 275.27fr;
    margin-top: -20.7881816976%;
  }
}
@media screen and (max-width: 1024px) {
  .p-space__photos_item:nth-child(3) {
    grid-area: photo03;
  }
}
.p-space__photo {
  border-radius: 8px;
  overflow: hidden;
}
@media screen and (min-width: 1024.02px) {
  .p-space__photo {
    grid-area: photo;
  }
}
@media screen and (max-width: 599.98px) {
  .p-space__photo img {
    width: 64.4885714286cqw;
  }
}

.p-why {
  padding-block: 64px;
}
@media screen and (max-width: 1024px) {
  .p-why {
    padding-block: 48px;
  }
}
@media screen and (max-width: 599.98px) {
  .p-why {
    padding-block: 32px;
  }
}
.p-why__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 48px;
  column-gap: 32.5px;
  margin-top: 88px;
}
@media screen and (max-width: 1024px) {
  .p-why__list {
    row-gap: 40px;
    column-gap: var(--gutter);
    margin-top: 70.5px;
  }
}
@media screen and (max-width: 599.98px) {
  .p-why__list {
    row-gap: 32px;
    margin-top: 63px;
  }
}
.p-why__list_item {
  flex-basis: calc((100% - 65px) / 3);
  display: grid;
  align-content: start;
  row-gap: 12px;
}
@media screen and (max-width: 1024px) {
  .p-why__list_item {
    flex-basis: min((100% - var(--gutter) * 1) / 2, 365px);
  }
}
@media screen and (max-width: 599.98px) {
  .p-why__list_item {
    flex-basis: min(79.1428571429cqw, 365px);
  }
}
.p-why__list_item:last-child {
  margin-right: -41px;
}
@media screen and (max-width: 1024px) {
  .p-why__list_item:last-child {
    margin-right: -20.5px;
  }
}
@media screen and (max-width: 599.98px) {
  .p-why__list_item:last-child {
    margin-right: 0;
  }
}
.p-why__term {
  display: flex;
  align-items: center;
  column-gap: 17px;
  padding-left: 5px;
  font-weight: 600;
  line-height: 1.5833333333;
  font-size: 2.4rem;
}
@media screen and (max-width: 1024px) {
  .p-why__term {
    column-gap: 11.5px;
    line-height: 1.5952380952;
    font-size: 2.1rem;
  }
}
@media screen and (max-width: 599.98px) {
  .p-why__term {
    align-items: start;
    column-gap: 6px;
    line-height: 1.6111111111;
    font-size: 1.8rem;
  }
}
.p-why__term_num {
  display: grid;
  align-items: start;
  justify-items: start;
  width: 2.5416666667em;
  height: 32px;
}
.p-why__term_num img {
  margin-top: -17px;
}
@media screen and (max-width: 1024px) {
  .p-why__term_num img {
    margin-top: -13.5px;
  }
}
@media screen and (max-width: 599.98px) {
  .p-why__term_num img {
    margin-top: -10px;
  }
}
.p-why__desc {
  display: grid;
  row-gap: inherit;
}
.p-why__img {
  border-radius: 8px;
  overflow: hidden;
}
.p-why__text {
  line-height: 1.3571428571;
  font-size: 1.4rem;
}
@media screen and (max-width: 1024px) {
  .p-why__text {
    line-height: 1.4642857143;
  }
}
@media screen and (max-width: 599.98px) {
  .p-why__text {
    line-height: 1.5714285714;
  }
}

.p-outro {
  padding-block: 64px;
}
@media screen and (max-width: 1024px) {
  .p-outro {
    padding-block: 48px;
  }
}
@media screen and (max-width: 599.98px) {
  .p-outro {
    padding-block: 32px;
  }
}
.p-outro__message {
  max-width: 492px;
  margin-inline: auto;
  text-align: center;
}
@media screen and (max-width: 599.98px) {
  .p-outro__message {
    max-width: 84cqw;
  }
}

/*# sourceMappingURL=page-about.css.map */
