@charset "utf-8";

/* ========================================
   メイン画像
   ======================================== */
.main-visual {
  position: relative;
  margin: 0 auto;
  padding: 65px 0 0;
  background: #fbfffb;
}
.main-visual__img {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: block;
}
@media screen and (min-width: 600px) {
  .main-visual {
    padding-top: 6em;
  }
  .main-visual::before {
    content: "";
    position: absolute;
    bottom: -14vw;
    left: 0;
    z-index: 5;
    width: 47vw;
    height: 47vw;
    background: url(../images/contents/bg-ellipse01.png) no-repeat left bottom;
    background-size: 100%;
  }
}
@media screen and (min-width: 992px) {
  .main-visual {
    padding-top: 50px;
  }
}
/* ========================================
   コンテンツ
   ======================================== */
.post {
  padding-top: 1em;
}
.post h2 {
  margin: 0 auto 1.5em;
  padding: 0;
  border: none;
  font-size: 1.15em;
}
@media screen and (min-width: 768px) {
  .post h2 {
    font-size: 1.5em;
  }
}
/* ========================================
   Check
   ======================================== */
#topCheck {
  position: relative;
  background: #fbfffb;
}
#topCheck::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 400px;
  background: #a2caab;
}
#topCheck::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 400px;
  background: url(../images/contents/bg-wave01.svg) no-repeat center top;
  background-size: 100%;
}
.post h2.topCheck__ttl {
  color: #1a5613;
  text-align: center;
}
.topCheck__box {
  padding: 1.5em 1em;
  border: 2px solid #a2caa8;
  border-radius: 15px;
  background: #fff;
}
.topCheck__box p {
  padding-bottom: 1em;
  border-bottom: solid 4px #9ec6a4;
  text-align: center;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .topCheck__box {
    padding: 3em 3em;
  }
  .topCheck__box p {
    font-size: 1.4em;
  }
}
@media screen and (min-width: 992px) {
  #topCheck::before,
  #topCheck::after {
    height: 500px;
  }
}

/* ========================================
   About
   ======================================== */
#s-about {
  position: relative;
  z-index: 2;
}
#s-about::before {
  content: "";
  position: absolute;
  top: -7.7vw;
  left: 0;
  width: 100%;
  height: 400px;
  background: url(../images/contents/bg-wave02.svg) no-repeat center top;
  background-size: 100%;
}
#s-about::after {
  content: "";
  position: absolute;
  top: 100px;
  right: -15vw;
  width: min(50vw, 300px);
  aspect-ratio: 1/1;
  opacity: 0.5;
  background: url(../images/contents/bg-ellipse02.png) no-repeat;
  background-size: 100%;
}
.s-about__title h2 {
  padding: 2.5em 0 0 2.5em;
  background: url(../images/common/icon-original.png) no-repeat left top 2.3em;
  background-size: 2em;
  color: #1a5613;
}
@media screen and (min-width: 992px) {
  #s-about .container {
    padding-right: 390px;
  }
  #s-about::after {
    width: min(33vw, 400px);
    top: 0px;
    left: calc((100vw - 1580px) / 2);
    right: auto;
  }
  #s-about .container::before {
    content: "";
    position: absolute;
    top: 0;
    right: -70px;
    z-index: -1;
    width: 500px;
    aspect-ratio: 2/3;
    background: url(../images/contents/s-about-fig01-pc.png) no-repeat;
    background-size: 100%;
  }
}
/* ========================================
   Service
======================================== */
#s-service {
  position: relative;
  z-index: 1;
}
#s-service::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 45vw;
  right: -18vw;
  width: min(50vw, 300px);
  aspect-ratio: 1/1;
  opacity: 1;
  background: url(../images/contents/bg-ellipse03.png) no-repeat;
  background-size: 100%;
}
.s-service__title {
  position: relative;
  margin-bottom: 1em;
}
.s-service__title::before {
  content: "";
  position: absolute;
  aspect-ratio: 1/1;
  opacity: 0.5;
  background: url(../images/contents/bg-ellipse03.png) no-repeat;
  background-size: 100%;
}
.s-service__title h2 {
  position: relative;
  margin: 0 0 1em;
  padding-bottom: 1.2em;
  background: url(../images/common/hr02.png) no-repeat left bottom;
  background-size: 200px;
  font-size: 1.4em;
}
@media screen and (max-width: 991px) {
  #s-service::before {
    content: "";
    position: absolute;
    bottom: 10vw;
    left: -25vw;
    z-index: -1;
    width: min(50vw, 300px);
    aspect-ratio: 1/1;
    opacity: 0.8;
    background: url(../images/contents/bg-ellipse02.png) no-repeat;
    background-size: 100%;
  }
  .s-service__title {
    display: flex;
    align-items: center;
    height: 40vw;
  }
  .s-service__title::before {
    top: -150px;
    left: -18vw;
    width: min(50vw, 300px);
  }
  .s-service__title::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -5vw;
    transform: translateY(-50%);
    width: 52vw;
    aspect-ratio: 1/1;
    background: url(../images/contents/s-service-title-sp.png) no-repeat;
    background-size: 100%;
  }
  .s-service__title h2 {
    width: 54vw;
    margin: 0;
    padding-bottom: 1.2em;
    background-position: center bottom;
    background-size: 200px;
    font-size: 1.4em;
    text-align: center;
  }
}
@media screen and (min-width: 768px) {
  .s-service__title h2 {
    font-size: 1.8em;
    background-size: 240px;
  }
}
@media screen and (min-width: 992px) {
  #s-service img.center {
    display: none;
  }
  #s-service .container {
    margin-top: 5em;
    padding-left: 450px;
  }
  #s-service::after {
    width: min(33vw, 400px);
    right: calc((100vw - 1600px) / 2);
    bottom: auto;
    top: -280px;
  }
  #s-service .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: -90px;
    z-index: -1;
    width: 600px;
    aspect-ratio: 3/2;
    background: url(../images/contents/s-service-title-pc.png) no-repeat;
    background-size: 100%;
  }
}
/* ========================================
   Banner
   ======================================== */
.topBanner__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3vw;
}
.topBanner__img {
  width: 100%;
}
@media screen and (max-width: 767px) {
  .topBanner__list {
    max-width: 500px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 768px) {
  .topBanner__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
  }
}

/* ========================================
   Symptoms
   ======================================== */
.post h2.topSymptoms__ttl {
  padding-bottom: 0.8em;
  background: url(../images/common/hr01.png) no-repeat center bottom;
  background-size: 280px;
  font-size: 1.5em;
  text-align: center;
}
#topSymptoms {
  background: #f8f4ef;
}
.topSymptoms__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3vw;
}
.topSymptoms__item {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.topSymptoms__img {
  width: 100%;
}
@media screen and (max-width: 767px) {
  .topSymptoms__list {
    max-width: 500px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 768px) {
  .post h2.topSymptoms__ttl {
    font-size: 1.8em;
    background-size: 360px;
  }
  .topSymptoms__list {
    grid-template-columns: repeat(5, 1fr);
    gap: 1em;
  }
}

/* ========================================
   Voice
   ======================================== */
.s-voice__inner {
  position: relative;
  z-index: 10;
  padding-top: var(--s-inner-top);
  padding-bottom: var(--s-inner-bottom);
  background: #a2caab;
}
.s-voice__title {
  position: relative;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
  height: min(40vw, 300px);
}
.s-voice__title::after {
  content: "";
  position: absolute;
  top: 0;
  right: -50px;
  z-index: -1;
  width: min(70vw, 700px);
  aspect-ratio: 8/5;
  background: url(../images/contents/s-voice-title.png) no-repeat;
  background-size: 100%;
}
.s-voice__title h2 {
  position: relative;
  width: 230px;
  margin: 0;
  padding-top: 1em;
  padding-bottom: 1.2em;
  background: url(../images/common/hr02.png) no-repeat left bottom;
  background-size: 230px;
  font-size: 1.8em;
  text-align: center;
}
.s-voice__box {
  margin-bottom: 1.5em;
  padding: 2em 1.5em 1.5em;
  border-radius: 15px;
  background: #f8f4ef;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.s-voice__profile {
  text-align: center;
}
.s-voice__name {
  margin-top: 0.5em;
  font-weight: 700;
  font-size: 1.15em;
  line-height: 1.6;
}
.s-voice__text ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  padding-left: 2.5em;
  background: url(../images/common/icon-original.png) no-repeat left center;
  background-size: 2em;
}
.s-voice__text ul li {
  padding: 0.2em 0.8em 0.3em;
  background: #fff;
  border: 1px solid #9ec6a4;
  font-size: 0.9em;
}
.s-voice__text h3.s-voice__heading {
  margin-top: 1em;
  padding: 0 0 0.5em;
  color: #1a5613;
  border-left: none;
  border-bottom: solid 4px #9ec6a4;
  font-size: 1.2em;
}
.s-voice__reply {
  margin-top: 1.5em;
  padding-top: 1.5em;
  border-top: dotted 1px #9ec6a4;
}
@media screen and (max-width: 767px) {
  .s-voice__profile img {
    width: 180px;
    margin: 0 auto;
  }
  .s-voice__text ul {
    margin-top: 1em;
  }
  .s-voice__reply-right p.em3 {
    text-align: center;
  }
  .s-voice__title h2 {
    width: 200px;
    background-size: 200px;
    font-size: 1.4em;
  }
}
@media screen and (min-width: 768px) {
  .s-voice__box {
    margin-bottom: 2em;
    padding: 2em;
    display: flex;
    flex-wrap: wrap;
    gap: 1em 2em;
  }
  .s-voice__profile img {
    width: 160px;
  }
  .s-voice__text {
    width: calc(100% - 160px - 2em);
  }
  .s-voice__reply {
    width: 100%;
    display: flex;
    gap: 0 1em;
  }
  .s-voice__reply-left {
    width: 120px;
  }
  .s-voice__reply-right {
    width: calc(100% - 120px - 1em);
  }
}

/* ========================================
   Message
   ======================================== */
.s-message__title h2 {
  margin: 0 0 1.5em;
  padding-bottom: 0.8em;
  background: url(../images/common/hr02.png) no-repeat center bottom;
  background-size: 180px;
  font-size: 1.6em;
  text-align: center;
}
.s-message__profile {
  position: relative;
  margin-bottom: 25px;
}
.s-message__name {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  width: 200px;
  padding: 0.5em 1em;
  background: var(--color-main);
  color: #fff;
}
.s-message__copy::before {
  content: "";
  display: block;
  padding: 1em auto;
  height: 60px;
  background: url(../images/common/icon-original.png) no-repeat center center;
  background-size: 30px;
}
.s-message__copy {
  font-size: 1.4em;
  line-height: 1.6;
}
@media screen and (min-width: 768px) {
  .s-message__title h2 {
    background-size: 220px;
    font-size: 2em;
  }
  .s-message__name {
    font-size: 1.2em;
    bottom: -25px;
  }
  .s-message__copy::before {
    height: 80px;
    background-size: 40px;
  }
  .s-message__copy {
    font-size: 2em;
  }
}
