@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 500;
  src: url("../../fonts/NotoSansJP-Medium.woff2") format("woff2"),
       url("../../fonts/NotoSansJP-Medium.woff") format("woff");
}

body:not(#top).meplus section {
  padding: 0;
}

body:not(#top).meplus #meplus_h {
  border-bottom: none;
}

body:not(#top) .meplus-hero#mv {
  padding: 0;
  position: relative;
  color: #fff;
}

.meplus-hero__image {
  display: block;
  width: 100%;
  line-height: 0;
}

.meplus-hero__image img {
  display: block;
  width: 100%;
  height: auto;
}

.meplus-hero #bread {
  top: 15px;
  z-index: 1;
}

@media (max-width: 640px) {
  .meplus-hero #bread {
    top: 15px;
    padding: 0 18px;
  }
}

.meplus-hero #bread .nst {
  width: 96%;
  max-width: 1200px;
}

@media (max-width: 640px) {
  .meplus-hero #bread .nst {
    width: 100%;
  }
}


.meplus-hero__inner {
  width: calc(100% - 60px);
  max-width: calc((851/1280)*100vw);
  height: 100%;
  margin: 0 auto;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
}

@media (max-width: 640px) {
  .meplus-hero__inner {
    width: calc(100% - 30px);
    max-width: 100%;
  }
}

.meplus #mv .meplus-hero__title {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 60%;
  left: 0;
  color: #fff;
  font-size: calc((24/1280)*100vw);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.15em;
  text-align: left;
}

@media (max-width: 640px) {
  .meplus #mv .meplus-hero__title {
    left: 10px;
    top: 13.7867647059%;
    font-size: calc((24/390)*100vw);
  }
}

.meplus-hero__profile {
  position: absolute;
  right: 4px;
  bottom: 9.0073529412%;
  font-size: calc((14/1280)*100vw);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0;
  text-align: left;
}

@media (max-width: 640px) {
  .meplus-hero__profile {
    right: 0;
    bottom: 3.6764705882%;
    font-size: calc((14/390)*100vw);
    line-height: 2;
  }
}

.meplus-hero__profile p {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  font-weight: 500;
  margin: 0;
}

.meplus-hero__number {
  font-size: calc((24/1280)*100vw);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .meplus-hero__number {
    font-size: calc((24/390)*100vw);
  }
}

.meplus-article {
  padding: min(160px, 13vw) 0 min(200px, 15.5vw);
}

@media (max-width: 640px) {
  .meplus-article {
    padding-bottom: min(160px, 40vw);
  }
}

.meplus-section + .meplus-section {
  margin-top: 200px;
}

@media (max-width: 640px) {
  .meplus-section + .meplus-section {
    margin-top: 165px;
  }
}

.meplus-section__inner {
  color: #000;
  width: calc(100% - 64px);
  max-width: 848px;
  margin: 0 auto;
  text-align: left;
}

.meplus-section__title {
  color: #000;
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: -0.03em;
  padding: 0;
}

@media (max-width: 640px) {
  .meplus-section__title {
    font-size: min(8vw, 30px);
  }
}

.meplus-section__body {
  margin-top: 32px;
  font-size: 15px;
  line-height: 2.46;
  letter-spacing: -0.01em;
}

.meplus-section:first-child .meplus-section__body {
  margin-top: 36px;
}

@media (max-width: 640px) {
  .meplus-section__body,
  .meplus-section:first-child .meplus-section__body {
    margin-top: 32px;
  }
}

.meplus-section__body p {
  margin: 0;
}

.meplus-section__body p + p {
  margin-top: 30px;
}

.meplus-section__gallery {
  margin-top: 43px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 640px) {
  .meplus-section__gallery,
  .meplus-section:first-child .meplus-section__gallery,
  .meplus-section:nth-child(2) .meplus-section__gallery,
  .meplus-section:nth-child(3) .meplus-section__gallery {
    margin-top: 45px;
    grid-template-columns: 1fr;
    gap: 23px;
  }
}

.meplus-section__gallery figure {
  margin: 0;
}

.meplus-section__gallery img {
  width: 100%;
  height: auto;
  display: block;
}

.meplus-way {
  background: #8998A6;
  color: #fff;
}

.meplus-way__inner {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 84px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

@media (max-width: 920px) {
  .meplus-way__inner {
    align-items: center;
    width: calc(100% - 50px);
    padding: 60px 0;
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .meplus-way__inner {
    min-height: 451px;
    padding: 85px 0 80px;
    align-items: stretch;
    gap: 0;
  }
}

.meplus #main .meplus-way__title {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .meplus #main .meplus-way__title {
    font-size: 48px;
    text-align: center;
  }
}

@media (max-width: 340px) {
  .meplus #main .meplus-way__title {
    font-size: 40px;
  }
}

.meplus-way__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: left;
  margin-right: auto;
}

@media (max-width: 1100px) {
  .meplus-way__text br {
    display: none;
  }
}

@media (max-width: 920px) {
  .meplus-way__text {
    align-self: center;
    font-size: 16px;
    letter-spacing: -.025em;
    margin: auto;
  }
  .meplus-way__text br {
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .meplus-way__text {
    margin-top: 45px;
  }
}

.meplus-way__link {
  width: 290px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

@media (max-width: 820px) {
  .meplus-way__link {
    width: 296px;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .meplus-way__link {
    margin: 32px auto 0;
  }
}

.meplus-way__link img {
  width: 27px;
  height: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .meplus-way__link:hover {
    opacity: 0.7;
  }

  .meplus-way__link:hover img {
    opacity: 1;
  }
}
