@charset "UTF-8";

:root {
  --mainPink: rgba(228, 101, 105, 1);
  --bgPink: rgba(246, 180, 182, 1);
  --white: rgba(255, 255, 255, 1);
  --bgWhite: rgba(253, 252, 244, 1);
  --black: rgba(43, 46, 39, 1);
  --gray: rgba(233, 233, 233, 1);

  --weightM: 400;
  --weightL: 700;

  --sizeS: 1.6rem;
  --sizeM: 2.0rem;
  --sizeL: 2.8rem;

}


/*SP*/
body {
  background: var(--bgWhite);
  counter-reset: number 0;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  position: relative;
}
a.pageTop{
  align-items: center;
  background: var(--bgWhite);
  border: 2px solid var(--mainPink);
  border-radius: 50%;
  bottom: 10px;
  color: var(--mainPink);
  display: flex;
  font-weight: bold;
  justify-content: center;
  opacity: 0;
  padding: 0.7em;
  position: fixed;
  height: 80px;
  right: 10px;
  text-align: center;
  transition: 0.3s 0;
  width: 80px;
  z-index: 30;
}
section {
  padding: 20px 0;
  position: relative;
  text-align: center;
  z-index: 1;

  & * {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  /* -----
  波線の装飾 1
  ----- */
  &:nth-child(3n+1) {
    background: var(--gray);

    &::after {
      content: "";
      display: block;
      background: top center / contain url(../img/ribbonTop01.png) no-repeat;
      width: 100%;
      height: 19px;
      position: absolute;
      left: 0;
      bottom: -14px;
      z-index: 3;
    }
  }

  /* -----
  波線の装飾 2
  ----- */
  &:nth-child(3n+2) {
    background: var(--bgPink);

    &::after {
      content: "";
      display: block;
      background: top center / contain url(../img/ribbonTop02.png) no-repeat;
      width: 100%;
      height: 19px;
      position: absolute;
      left: 0;
      bottom: -14px;
      z-index: 3;
    }
  }

  /* -----
  波線の装飾 3
  ----- */

  &:nth-child(3n+3) {
    &::after {
      content: "";
      display: block;
      background: top center / contain url(../img/ribbonTop03.png) no-repeat;
      width: 100%;
      height: 19px;
      position: absolute;
      left: 0;
      bottom: -14px;
      z-index: 3;
    }

  }

  /* -----
  波線の装飾 削除
  ----- */
  &:last-child {
    &::after {
      content: none;
    }
  }
}


/* -----
インナー
----- */
section div.sectionInner {
  display: flex;
  flex-wrap: wrap;
  max-width: 990px;
  margin: 0 auto;
  width: 90%;

  & h2 {
    color: var(--mainPink);
    font-size: var(--sizeL);
    font-weight: var(--weightM);
    margin-bottom: 30px;
    width: 100%;
  }

  & p {
    width: 100%;
  }

  & iframe,
  video {
    aspect-ratio: 16 / 9;
    border: 1px solid var(--black);
    height: auto;
    margin-bottom: 30px;
    width: 100%;
  }
}

/* -----
カード
----- */
section {
  & div.card {
    align-items: stretch;
    border-radius: 25px;
    background-color: var(--white);
    box-shadow: 0px 0px 19px -5px var(--mainPink);
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 14px;

    & h4 {
      font-size: var(--sizeM);
      margin-bottom: 17px;
      width: 100%;
    }

    & div.tel {
      width: 50%;

      & p {
        margin-bottom: 10px;
        line-height: 1.4;
        font-size: 1.2rem;

        &:last-of-type {
          font-size: 1.4rem;
        }
      }

      & .telNumber {
        color: var(--mainPink);
        font-size: var(--sizeM);
        font-weight: 300;
        line-height: 1;

        &::before {
          background: url(../img/tel.svg) no-repeat;
          background-size: contain;
          content: '';
          display: block;
          height: 44px;
          margin: 0 auto 5px;
          width: 35px;
        }
      }
    }

    & div.mail {
      align-items: center;
      background: var(--mainPink);
      background: linear-gradient(0deg, var(--mainPink) 0%, rgba(246, 180, 182, 1) 77%, rgba(246, 180, 182, 1) 100%);
      border-radius: 25px;
      display: flex;
      justify-content: center;
      max-width: 477px;
      width: 50%;

      & a {
        color: var(--white);
        display: block;
        font-size: var(--sizeM);
        width: 100%;

        &::before {
          content: '';
          background: url(../img/mail.svg) no-repeat;
          background-size: contain;
          display: block;
          height: 30px;
          margin: 5px auto;
          width: 38px;
        }

      }
    }
  }
}



@media (min-width: 600px) {
  :root {
    --sizeS: 1.6rem;
    --sizeM: 2.2rem;
    --sizeL: 4.2rem;
  }
section {
  /* -----
  波線の装飾 1
  ----- */
  &:nth-child(3n+1) {
    &::after {
      background: top center / cover url(../img/ribbonTop01.png) no-repeat;
      bottom: 0;
    }
  }

  /* -----
  波線の装飾 2
  ----- */
  &:nth-child(3n+2) {
    &::after {
      background: top center / cover url(../img/ribbonTop02.png) no-repeat;
      bottom: 0;
    }
  }

  /* -----
  波線の装飾 3
  ----- */

  &:nth-child(3n+3) {
    &::after {
      background: top center / cover url(../img/ribbonTop03.png) no-repeat;
      bottom: 0;
    }

  }
}


/* -----
インナー
----- */
section div.sectionInner {
  margin: 30px auto 0;

  & h2 {
    margin-bottom: 43px;
    text-align: center;
  }
  & p{
    text-align: center;
    width: 100%;
  }
  & iframe,
  video {
    margin-bottom: 70px;
  }

}

/* -----
カード
----- */
section {
  & div.card {
    margin-bottom: 106px;
    padding: 39px;

    & h4 {
      font-size: var(--sizeM);
      margin-bottom: 39px;
      text-align: center;
      width: 100%;
    }

    & div.tel {
      & p {
        margin-bottom: 0;

        &:last-of-type {
          font-size: 1.9rem;
        }
      }

      & .telNumber {
        font-size: 5.5rem;

        &::before {
          display: inline-block;
          vertical-align: bottom;
          width: 35px;
        }
      }
    }

    & div.mail {

      & a {
        font-size: 3.3rem;
        text-align: center;
        width: 100%;

        &::before {
          display: inline-block;
          height: 36px;
          margin-right: 14px;
          vertical-align: bottom;
          width: 41px;
        }

      }
    }
  }
}
}