@charset "UTF-8";
/* @import url(https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700&family=Noto+Serif+JP:wght@500;700&display=swap); */

/* -------------------------------------------------------------------------------
|  Created:     2023-10-xx
|  Updated:     N/A
|------------------------------------------------------------------------------- */

/*---------------------------------------------------------
  ヒーロー画像
---------------------------------------------------------*/

.meswp-hero {
  min-height: 580px;
  height: auto;
  position: relative;
  background: linear-gradient(90deg,#153649 0%, #153649 50%, #21292C 50%, #21292C 100%);
  overflow: hidden;
  width: 100%;
  /* opacity: 0.6; */
}

.meswp-hero__image {
  height: 100%;
  width: 100%;
  display: flex;
}

.meswp-hero__image > img {
  margin-left: auto;
  margin-right: calc(((100% - (1170px + (30px * 6))) / 2) - 100px);
  object-fit: contain;
}

.meswp-hero__block {
  max-width: calc(1170px + (30px * 6));
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}

.meswp-hero__text {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
}

.meswp-hero__title {
  margin-top: 100px;
  line-height: 1.35;
  font-size: 52px;
  font-weight: 500;
  /* font-family: 'Noto Serif JP', serif; */
  color: white;

  font-size: clamp(46px, 5vw, 52px);
}

.meswp-hero__desc {
  font-weight: 500;
  margin-top: 70px;
  color: white;
}

.meswp-hero__detail {
  position: absolute;
  bottom: 90px;
  left: 0;
  width: 100%;
}

.meswp-hero__button {
  font-weight: 700;
  font-size: 26px;
  /* font-family: 'Noto Serif JP', serif; */
  padding-top: 10px;
  padding-bottom: 15px;
  padding-left: 1.5em;
  padding-right: 2em;
  color: #000;
  background-color: #fff;
  letter-spacing: 0.075em;
  transition: color .3s;

  font-size: clamp(20px, 2vw, 20px);
  position: relative;

  display: inline-block;
  overflow: hidden;
  /* cubic-bezier(.645,.045,.355,1) */
}

.meswp-hero__button > * {
  position: relative;
  z-index: 1;
}

.meswp-hero__button + .meswp-hero__button {
  margin-left: 50px;
}

.meswp-hero__button:hover {
  color: #000;
}

.meswp-hero__button::before {
  transition: all .6s cubic-bezier(0.45, 0, 0.55, 1);
  transform: rotate(90deg) translateX(.15em);

  font-family: MelFaIcons,"Material Icons";
  font-size: 1.1em;
  margin-right: 0.5em;
  display: inline-flex;
  width: 1em;
  content: "\f102";
  white-space: nowrap;
  text-decoration: none;
  word-wrap: normal;
  color: red;

  position: relative;
  z-index: 1;
  transition: color .3s;
}

/*! over Medium（Mediumより以上） */
@media only screen and (min-width: 981px) {
  .meswp-hero__button:hover {
    color: #FFF;
    background-color: #d50000;
  }

  .meswp-hero__button:hover:before {
    color: #FFF;
  }
}

/*! Medium and Small（Medium以下） */
@media only screen and (max-width: 980px) {
  .meswp-hero {
    background: #153649;
    height: auto;
    display: flex;
    flex-direction: column;

    /* opacity: 0.6; */
  }

  .meswp-hero__image {
    height: 50vw;
  }

  .meswp-hero__image > img {
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .meswp-hero__block {
    display: flex;
    flex-direction: column;
    padding-right: 0;
    padding-left: 0;
  }

  .meswp-hero__text {
    position: relative;
    left: 0;
    width: 100%;
    order: -1;
    padding-bottom: 45px;
    padding-left: 60px;
    padding-right: 60px;
    text-shadow: none;
  }

  .meswp-hero__title {
    font-size: 40px;
    margin-top: 45px;
  }
  
  .meswp-hero__desc {
    margin-top: 40px;
    line-height: 1.5;
  }
  
  .meswp-hero__detail {
    position: static;
    /* display: flex; */
    /* flex-direction: column; */
    margin-top: 0;

    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  
  .meswp-hero__button {
    transition: none;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 15px;
    padding-bottom: 20px;
    background-color: #EFEFEF;
    border-bottom: 1px solid #B2B2B2;
    font-size: 26px;

    width: 100%;
  }
  
  .meswp-hero__button + .meswp-hero__button {
    margin-left: 0;
  }

  .meswp-hero__button:hover {
    background-color: #EFEFEF;
  }
  

}


/*! Small only (Smallのみ) */
@media only screen and (max-width: 767px) {
  .meswp-hero__image {
    height: 100vw;
  }
  
  .meswp-hero__text {
    padding-left: 15px;
    padding-right: 15px;
  }

  .meswp-hero__title {
    font-size: 26px;
    margin-top: 45px;
  }
  
  .meswp-hero__button {
    padding-left: .5em;
    padding-right: .5em;
  }

}


/*---------------------------------------------------------
  サービス内容
---------------------------------------------------------*/

.meswp-service {
  padding-top: 75px;
  padding-bottom: 150px;
  background-color: #EFEFEF;
  /* opacity: 0.6; */
}

/* .meswp-service__title {
  font-size: 66px;
  font-family: 'Noto Serif', serif;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-weight: bold;
  letter-spacing: 0.05em;
} */

/* .meswp-service__title > span {
  color: red;
} */

.meswp-service__subTitle {
  text-align: center;
  /* font-family: 'Noto Serif JP', serif; */
  font-size: 28px;
  margin-top: 0 !important;
}

.meswp-service__desc {
  text-align: center;
  /* margin-top: 80px; */
}

/*! Small only (Smallのみ) */
@media only screen and (max-width: 767px) {
  .meswp-service {
    padding-top: 50px;
    padding-bottom: 100px;
  }
  
  .meswp-service__desc {
    text-align: center;
    margin-top: 30px;
  }  
}


.meswp-service__lists {
  margin-top: 85px;
}

.meswp-service__list {
  display: flex;
  margin-top: 60px;
}

.meswp-service__list > * {
  width: 50%;
}

.meswp-service__image {
  height: 480px;
  overflow: hidden;
}

.meswp-service__image > img {
  object-fit: cover;
  /* object-position: right center; */
  object-position: center center;
  width: 100%;
  height: 100%;

  /* opacity: 0.6; */
}

.meswp-service__text {
  padding-left: 75px;
  padding-right: calc(((100% - 1300px) / 2) + (30px * 2));
  display: flex;
  flex-direction: column;
  margin-top: -20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.meswp-service__text > *:first-child {
  margin-top: calc(20px - (((1em * 1.5) - 1em) / 1.4));
}

.meswp-service__catch {
  /* font-family: 'Noto Serif JP', serif; */
  font-size: 20px;
  /* color: #666666; */
  margin-top: 20px;
}

/* .meswp-service__heading {
  margin-top: 20px;
  font-family: 'Noto Serif JP', serif;
  font-size: 35px;
  font-weight: 400;
} */

.meswp-service__lead {
  margin-top: 40px;
}

.meswp-service__button {
  padding-top: 30px;
  margin-top: auto;
}

.meswp-service__link {
  border-radius: 50%;
  background-color: #000;
  color: #FFF;
  width: 130px;
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-bottom: 15px;

  margin-left: 0;
  transition: background-color .3s;
}

.meswp-service__link::before {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);

  font-family: MelFaIcons,"Material Icons";
  font-size: 2em;
  display: block;
  width: 1em;
  content: "\f102";
  white-space: nowrap;
  text-decoration: none;
  word-wrap: normal;
  color: red;
}

.meswp-service__list:nth-child(even) {
  flex-direction: row-reverse;
}

.meswp-service__list:nth-child(even) .meswp-service__text {
  padding-right: 75px;
  padding-left: calc(((100% - 1300px) / 2) + (30px * 2));
}


/* .meswp-service__list:nth-child(even) .meswp-service__image > img {
  object-position: left center;
} */


.meswp-service__link:hover {
  color: #FFF;
}


/*! Large, Medium and Small（Largeまで）※premium only */
@media only screen and (max-width: 1300px) {
  .meswp-service__text {
    padding-left: 30px;
    padding-right: 30px;
  }
  
  .meswp-service__list:nth-child(even) .meswp-service__text {
    padding-right: 30px;
    padding-left: 30px;
  }
  /* .meswp-service__image > img,
  .meswp-service__list:nth-child(even) .meswp-service__image > img {
    object-position: center center;
  } */
}


/*! Medium and Small（Medium以下） */
@media only screen and (max-width: 980px) {
  .meswp-service__lists {
    margin-top: 0;
  }
  
  .meswp-service__list {
    margin-top: 70px;
  }
  
  .meswp-service__list > * {
    width: 100%;
  }
  
  .meswp-service__list,
  .meswp-service__list:nth-child(even) {
    flex-direction: column;
  }

  .meswp-service__image {
    height: auto;
    width: 100%;
  }
  
  .meswp-service__text,
  .meswp-service__list:nth-child(even) .meswp-service__text {
    padding-right: 60px;
    padding-left: 60px;
  }

  .meswp-service__heading {
    margin-top: 20px;
    text-align: center;
  }
  
  .meswp-service__lead {
    margin-top: 30px;
  }
  
  .meswp-service__link {
    margin-top: 40px;
    margin-left: auto;
    margin-right: auto;
  }
}

/*! Small only (Smallのみ) */
@media only screen and (max-width: 767px) {
  .meswp-service__text,
  .meswp-service__list:nth-child(even) .meswp-service__text {
    padding-right: 15px;
    padding-left: 15px;
  }
}


/*! over Large（Largeより以上） */
@media only screen and (min-width: 1101px) {
  .meswp-service__link:hover {
    /* margin-left: 20px; */
    background-color: #4d4d4d;
  }
}


/*---------------------------------------------------------
  登録の流れ
---------------------------------------------------------*/

.meswp-join {
  margin-top: 50px;
}

.meswp-join__link {
  margin-top: 50px;
  /* font-family: 'Noto Serif JP', serif; */
  background-color: #D61515;
  color: #FFF;
  width: 640px;
  max-width: 100%;
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 22px;
  margin-left: auto;
  margin-right: auto;
  transition: color .3s, background-color .3s;
  position: relative;

  overflow: hidden;
  letter-spacing: .06em;
}

.meswp-join__link > * {
  position: relative;
  z-index: 2;
}

.meswp-join__link::before {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  transition: color .3s, right .3s;
  
  font-family: MelFaIcons,"Material Icons";
  font-size: 1em;
  display: block;
  width: 1em;
  content: "\f102";
  white-space: nowrap;
  text-decoration: none;
  word-wrap: normal;
  color: #FFF;
  z-index: 1;
}

.meswp-join__link::after {
  background-color: #EFEFEF;
  position: absolute;
  top: 0;
  right: -25%;
  content: '';
  width: 0;
  height: 100%;
  transition: all .6s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: 0;
  transform: skewX(-25deg);
}

/* white */
.meswp-join__link--white {
  background-color: #FFF;
  color: #000;
  border: 1px solid #D61515;
}

.meswp-join__link--white::before {
  color: #D61515;
}

.meswp-join__link--white::after {
  background-color: #D61515;
}


/*! over Medium（Mediumより以上） */
@media only screen and (min-width: 981px) {
  .meswp-join__link:hover {
    color: #D61515;
  }
  
  .meswp-join__link:hover::before {
    color: #D61515;
    right: 20px;
  }

  .meswp-join__link:hover::after {
    width: 150%;
    left: -25%;
    right: auto;
  }

  .meswp-join__link--white:hover {
    color: #FFF;
  }
  
  .meswp-join__link--white:hover::before {
    color: #FFF;
  }

}


/*! Medium and Small（Medium以下） */
@media only screen and (max-width: 980px) {
  .meswp-join__link {
    color: #FFF !important;
  }

  .meswp-join__link--white {
    color: #000 !important;
  }
}


/*! Small only (Smallのみ) */
@media only screen and (max-width: 767px) {
  .meswp-join__link {
    margin-top: 50px;
    font-size: 18px;
    justify-content: flex-start;
    padding-left: 25px;
  }

  .meswp-join__link::before {
    right: 15px;
  }

}
