@charset "UTF-8";
/* ----------------------------------------
   ■ message.css
---------------------------------------- */
body.subCtg #mainContents {
  padding-right: 1.5em;
  padding-left: 1.5em;
}
body.subCtg #mainContents section article {
  display: flex;
  display: -ms-flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  max-width: 910px;
  margin: 0 auto;
  text-align: center;
}
body.subCtg #mainContents section article h2 {
  display: inline-block;
  margin: 1em auto;
  padding: 0 0 0.05em 0.3em;
  border-bottom: 5px solid #004ea2;
  letter-spacing: 0.05em;
  color: #004ea2;
  font-size: 3.3rem;
  font-weight: bold;
}
body.subCtg #mainContents section article p {
  line-height: 2.4;
  font-size: 2rem;
  font-weight: bold;
}

body.subCtg main {
  position: relative;
  padding-bottom: 150px;
}
body.subCtg main > .pict {
  position: absolute;
  left: calc(50% - 206px);
  bottom: 0;
  width: 412px;
}
body.subCtg main > .pict .baloon {
  position: absolute;
  left: 51%;
  top: -103%;
  width: 30%;
  transform-origin: left bottom 0px;
  animation: baloon 4000ms 0ms ease-in-out infinite;
}

@keyframes baloon {
  0% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(-20deg);
  }
  100% {
    transform: rotate(5deg);
  }
}
footer::after {
  display: none;
}

/* @media : SP
---------------------------------------- */
@media screen and (max-width: 768px) {
  body.subCtg #mainContents section article h2 {
    font-size: 4.296875vw;
  }

  body.subCtg #mainContents section article p {
    line-height: 2em;
    text-align: left;
    font-size: 3.125vw;
  }

  body.subCtg main > .pict {
    left: calc(50% - 30vw);
    width: 60vw;
  }
}
@media screen and (max-width: 480px) {
  body.subCtg main {
    padding-bottom: 0;
  }

  body.subCtg #mainContents {
    padding-bottom: 120px;
  }

  body.subCtg #mainContents section article h2 {
    margin-top: 0;
    border-bottom-width: 3px;
    font-size: 1.8rem;
  }

  body.subCtg #mainContents section article p {
    line-height: 1.7;
    font-size: 1.5rem;
    font-weight: normal;
  }
}
