@charset "UTF-8";

/**
 * My Snow Monkey Custom Styles
 */

:root {
	--_color-text: #2d2d2d;
}

body {
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight: 500;
}

.c-copyright--inverse {
  background: #002978;
  font-family: "REM", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding-top: 8px;
  padding-bottom: 8px;
}

.p-section-title {
	position: relative;
  z-index: 10;
  padding-top: 82.5px;
  padding-bottom: 40px;
  letter-spacing: 0.05em;
}

.p-section-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  aspect-ratio: 100 / 62.5;
  background-image: url(../img/title-top.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.p-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  aspect-ratio: 120 / 25;
  background-image: url(../img/title-bottom.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 781px) {
  .p-section-title {
    font-size: 2.5rem !important;
    word-break: auto-phrase;
  }
}

/* mv */
.p-mv {
	aspect-ratio: 1440 / 801;
}

.p-mv__text-block {
  font-family: "Kosugi", sans-serif;
}

.p-mv__subTitle {
  line-height: 1.8;
  letter-spacing: 0.1em;
  padding-left: 10px;
  font-size: clamp(1.5rem, 3rem, 3.3vw) !important;
}

.p-mv__mainTitle {
  line-height: 1;
  letter-spacing: 0;
  font-size: clamp(3rem, 5.6875rem, 6.3vw) !important;
}

.p-mv__cloud {
  position: absolute;
  animation: float 3s ease-in-out infinite;
  margin-top: 0 !important;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.p-mv__cloud--1 {
  top: -50px;
  left: -40px;
  width: 220px;
  aspect-ratio: 220 / 81
}

.p-mv__cloud--2 {
  top: -150px;
  right: -35px;
  width: 250px;
  aspect-ratio: 92;
  animation-delay: -1.5s;
}

@media (max-width: 781px) {
  .p-mv {
    aspect-ratio: initial;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
	}

  .p-mv .is-layout-flex {
    gap: 0;
    justify-content: center;
    margin-top: 40px !important;
  }

  .p-mv__text-block {
    order: 2;
    align-self: center;
    max-width: min(90%, 400px);
  }
  
  .p-mv__text-block .wp-block-image {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
  }
  
  .p-mv__product {
    display: contents;
  }
  
  .p-mv__product-image {
    order: 1;
    max-width: min(100%, 600px);
  }
  
  .p-mv__product-features {
    order: 3;
    margin-top: 0;
    max-width: min(100%, 400px);
  }

  .p-mv__product {
    margin-top: -50px;
  }

  .p-mv__cloud--1 {
    display: none;
  }

  .p-mv__cloud--2 {
    top: 300px;
    width: 180px;
  }
}

/* about */
.p-about .smb-media-text__title {
  font-size: 1.88rem;
  letter-spacing: 0.05em;
}

.p-about p {
  line-height: 2.2;
  letter-spacing: 0.05em;
}

.p-about__message {
	position: relative;
	z-index: 1;
  word-break: auto-phrase;
  letter-spacing: 0.05em;
}

.p-about__image {
  margin-top: -120px;
}

@media (max-width: 1023px) {
  .p-about .smb-section__body {
    max-width: min(100%, 600px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .p-about .smb-media-text__title {
    font-size: 1.5rem;
  }

	.p-about__message {
		font-size: 1.6rem !important;
	}

  .p-about__image {
    margin-top: -50px;
  }
}

/* company */
.p-company-bg {
  aspect-ratio: 1440 / 240;
  min-height: initial;
  margin-top: 70px !important;
}

.p-company {
  position: relative;
}

.p-company::before {
  content: "";
  position: absolute;
  top: 110px;
  left: -125px;
  width: 433px;
  aspect-ratio: 433 / 154;
  background-image: url(../img/company-cloud.png);
  background-size: contain;
  background-position: center;
  z-index: 1;
}

.p-company::after {
  content: "";
  position: absolute;
  top: 450px;
  left: 0;
  width: 110%;
  aspect-ratio: 3419 / 2138;
  background-image: url(../img/company-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.p-company__content {
  position: relative;
  z-index: 10;
}

.p-company__content::before {
  content: "";
  position: absolute;
  top: 300px;
  left: 0;
  width: 357px;
  aspect-ratio: 357 / 127;
  background-image: url(../img/cloud01.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.p-company__content::after {
  content: "";
  position: absolute;
  top: 350px;
  right: 0;
  width: 206px;
  aspect-ratio: 206 / 60;
  background-image: url(../img/cloud02.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.p-company__content p {
  line-height: 2.2;
  letter-spacing: 0.05em;
}

.p-company__farm-image {
  margin-top: -50px;
}

.p-company__btn .smb-btn {
  white-space: wrap !important;
  font-size: 1.25rem !important;
}

.p-company__gallery {
  margin-top: 80px;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: 100vw !important;
  position: relative;
  z-index: 10;
}

.p-company__galleryItem {
  position: relative;
  width: 100%;
  aspect-ratio: 1.35 / 1;
}

.p-company__galleryItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.splide__slide:nth-child(4n+1) .p-company__galleryItem,
.splide__slide:nth-child(4n+3) .p-company__galleryItem {
  margin-top: 50px;
}

@media (max-width: 1023px) {
  .p-company::before {
    top: 100px;
    left: -60px;
    width: 216.5px;
  }

  .p-company__content {
    padding-inline: 20px !important;
  }

  .p-company__content::before {
    top: 50px;
    width: min(30%, 250px);
  }

  .p-company__content::after {
    top: 700px;
    width: min(30%, 200px);
  }

  .p-company__farm-image {
    margin-top: 40px;
  }

  .p-company__content .smb-media-text {
    max-width: min(100%, 600px);
    margin-left: auto;
    margin-right: auto;
  }
}

/* feature */
.p-feature__top {
  aspect-ratio: 1440 / 140;
  min-height: initial;
}

.p-feature__bottom {
  aspect-ratio: 1440 / 240;
  min-height: initial;
}

.p-feature {
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
}

.p-feature::before {
  content: "";
  position: absolute;
  top: 250px;
  right: -300px;
  width: 105%;
  aspect-ratio: 299 / 187;
  background-image: url(../img/feature-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.p-feature__content {
  position: relative;
  z-index: 10;
}

.p-feature__content .smb-media-text__body {
  margin-top: 20px;
}

.p-feature__content h2 {
  letter-spacing: 0.05em;
}

.p-feature__content p {
  margin-top: 20px !important;
  line-height: 2.2;
  letter-spacing: 0.05em;
}

@media (max-width: 1023px) {
  .p-feature__content {
    max-width: min(100%, 600px);
    margin-left: auto;
    margin-right: auto;
  }

  .p-feature__content h2 {
    font-size: 1.25rem !important;
  }

  .p-feature__content .smb-media-text__contents-wrapper {
    margin-top: 20px !important;
  }
}

/* information */
.p-information .is-layout-flex {
  gap: min(100px, 6.9vw);
}

.p-information__list .smb-information__body>*+* {
  margin-top: 8px !important;
}

.p-information__image {
  position: relative;
}

.p-information__image::before {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 10px;
  width: 244px;
  aspect-ratio: 244 / 184;
  background-image: url(../img/information-bg.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 1023px) {
  .p-information .is-layout-flex {
    gap: 50px;
  }

  .p-information__image::before {
    width: 180px;
  }
}