@charset "utf-8";

* {
  margin: 0;
}

body {
  font-family: "Noto Sans JP";
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

p {
  line-height: 150%;
}

.p-big {
  line-height: 120%;
  font-size: 1.3em;
}

.p-big-r {
  margin-bottom: 10px;
  font-size: 2em;
  font-weight: bold;
  color: #f00;
}

.p-big-a {
  line-height: 120%;
  margin-bottom : 12px;
  font-size: 1.5em;
  font-weight: 500;
  text-decoration: underline;
}

.p-big-b {
  font-weight: 700;
}

.p-small {
  font-size: 0.8em;
}

@media(min-width:768px) {
  .spbr{
    display: none;
  }
  .pcnone {
    display: none;
  }
}

@media(max-width:767px) {
  .spnone {
    display: none;
  }
}

.line {
  background:linear-gradient(transparent 60%, #ffff99 60%);
}

.container {
  width: 100%;
}

.container2 {
  width: 100%;
  background-color: #fff1f0;
  border: 1px solid #fff1f0;
}

.container3 {
  width: 100%;
  background-color: #f0f0f0;
}

.box-a {
  width: 90%;
  margin: 0 auto;
  text-align: left;
}

@media(min-width:768px) {
  .box-a {
    width: 800px;
  }
}

.center {
  text-align: center;
}

.hero-box {
  width: 100%;
  position: relative;
  text-align: center;
}

.hero-logo {
  position: absolute;
  width: 40%;
  top: 10px;
  left: 10px;
}

.online-logo {
  width: 100%;
}

@media(min-width:768px) {
  .hero-logo {
    top: 10px;
    left: 20px;
  }
}

.intro-a {
  margin: 60px 0 5px 0;
  font-size: 2em;
  line-height: 150%;
  font-weight: bold;
  text-shadow: 2px 2px 2px #999;
}

@media(min-width:768px) {
  .intro-a {
    font-size: 3em;
  }
}

.intro-p {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 1.3em;
  line-height: 150%;
}

.h1 {
  display: inline-block;
  font-size: 1.5em;
  padding: 40px 0 20px 0;
  line-height: 150%;
}

@media(min-width:768px) {
  .h1 {
    font-size: 2em;
    padding: 60px 0 40px 0;
  }
}

.h1-open {
  display: inline-block;
  max-width: 80%;
  margin: 50px 0 20px 0;
  font-size: 1.5em;
  padding: 15px;
  color: #fff;
  background-color: #ba0d3c;
  box-shadow: 5px 5px 0px #ffd0d0;
}

.h1-openday {
  font-size: 1.2em;
}

@media(min-width:768px) {
  .h1-open {
    font-size: 1.8em;
    padding: 20px;
  }
  .h1-openday {
    font-size: 1.5em;
  }
}

.poyo {
  animation: poyopoyo 2s ease-out infinite;
}

  @keyframes poyopoyo {
  0%, 40%, 60%, 80%, 100% {
    transform: scale(1);
  }
  50%, 70% {
    transform: scale(0.85);
  }
}

.h2 {
  font-size: 1.5em;
  margin-bottom: 40px;
  line-height: 150%;
}

@media(min-width:768px) {
  .h2 {
    font-size: 1.8em;
    margin-bottom: 50px;
    line-height: 150%;
  }
}

.introduction {
  margin: 20px 30px 30px 30px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  column-gap: 0;
  row-gap: 0;

}

.online-illust {
  width: 70%;
  margin: 0 auto;
  text-align: right;
}

.introduction h1 {
  font-size: 1.5em;
  padding-bottom: 40px;
  line-height: 150%;
}

.introduction p {
  text-align: left;
  line-height: 180%;
  padding-bottom: 15px;
}

@media(min-width:768px) {
  .introduction {
    margin: 50px 100px 0 100px;
    grid-template-columns: repeat(2, 1fr);
  }
  .introduction h1 {
    font-size: 2em;
    padding: 20px 0 40px 0;
    line-height: 150%;
  }
}

.card-box {
  margin: 10px 50px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  column-gap: 60px;
  row-gap: 50px;
}

.card {
  padding: 30px 50px;
  border-radius: 50px;
  background: #fff;
  box-shadow: 6px 6px 12px #bbb,
              -6px -6px 12px #fff;
}

.card img {
  width: 100px;
  padding-bottom: 30px;
}

.card h3 {
  font-size: 1.2em;
  font-weight: bold;
  padding-bottom: 20px;
}

.card p {
  text-align: justify;
  line-height: 150%;
}

@media(min-width:768px) {
  .card-box {
    margin: 30px 150px;
    grid-template-columns: repeat(3, 1fr);
  }
  .card {
    padding: 30px;
  }
  .card h3 {
    font-size: 1.3em;
  }
}

.box-you {
  width: 100%;
  padding-bottom: 50px;
  margin: 0 auto;
}

@media(min-width:768px) {
  .box-you {
    width: 600px;
    padding: 20px 0 80px 0;
  }
}

.youtube {
  position: relative;
  padding-bottom: 56.25%;
}

.youtube iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.plan-box {
  margin: 30px 5px;
  display: flex;
}

.plan {
  width: 100%;
  padding: 0 10px;
}

.plan h2 {
  display: flex;
  font-size: 1.2em;
  background-color: #ba0d3c;
  color: #fff;
  margin-bottom: 10px;
  padding: 8px 20px;
  font-weight: bold;
  justify-content: center;
  position: relative;
  border-radius: 5px;
}

.plan h2::before {
  position: absolute;
  bottom: -10px;
  width: 30px;
  height: 15px;
  background-color: #ba0d3c;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
}

.plan h3 {
  margin: 20px 0;
  font-size: 1.1em;
  line-height: 150%;
  text-align: left;
}

.plan-simple{
  margin-top: 50px;
}

@media(min-width:768px) {
  .plan-box {
    width: 800px;
    margin: 50px auto;
  }
  .plan {
    margin: 0 10px;
  }
  .plan h2 {
    font-size: 1.3em;
    margin-bottom: 20px;
    padding: 10px 20px;
  }
  .plan h2::before {
    bottom: -20px;
    width: 40px;
    height: 20px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }
  .plan h3 {
    margin: 30px 0;
  }
  .plan-simple{
    margin-top: 100px;
  }
}

.price img {
  width: 100%;
  margin: 50px 0;
}

@media(min-width:768px) {
  .price img {
    width: 800px;
  }
}

.fullplan {
  background-color: #fff1f0;
  margin-bottom: 50px;
  padding: 30px;
  border-radius: 30px;
}

.fullplan li {
  line-height: 130%;
  margin: 10px;
  list-style-type: disc;
}

.contact {
  display:inline-block;
  border: 1px solid #BA0D3C;
  border-radius: 30px;
  padding: 20px 30px 30px 30px;
  margin: 0 auto 100px auto;
}

.contact h1 {
  font-size: 1.4em;
  line-height: 200%;
}

.contact p {
  font-size: 1.2em;
  line-height: 150%;
}

.contact a:hover {
  color: #ba0d3c;
}

footer {
  background-color: #f0f0f0;
  width: 100%;
  padding: 20px 0;
  text-align: center;
}

@media(min-width:768px) {
  footer {
    padding: 50px 0;
  }
}

footer ul {
  margin: 10px;
  justify-content: center;
}

footer li {
  padding: 10px 20px;
  list-style-type: none;
}

footer li:last-child {
  border-right: none;
}

footer li a:hover {
  color: #ba0d3c;
}

@media(min-width:768px) {
  footer ul {
    display: flex;
    margin: 10px 10px 10px 60px ;  }
  footer li {
    border-right: 1px solid #bbb;
  }
}

footer dt {
  display: flex;
  justify-content: center;
}

footer dl {
  margin: 10px;
}

footer p {
  margin: 8px 0;
  font-size: 0.8em;
  line-height: 180%;
}

/* 動き 上に */
.fadeUp {
  animation-name:fadeUpAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity:0;
}

  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }

    to {
      opacity: 1;
    transform: translateY(0);
    }
  }

/* 動き 大きく */
.bigLogo{
  animation-name: bigAnime;
  animation-duration:0.8s;
  animation-fill-mode:forwards;
  opacity:0;
}

  @keyframes bigAnime{
    from {
      transform: scale(0.5);
      opacity: 0;
    }

    to {
      transform: scale(1);
      opacity: 1;
    }
  }


/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.fadeUpTrigger {
  opacity: 0;
}

.bigTrigger {
  opacity: 0;
}



/* FAQ　*/

.box-faq {
  width: 100%;
  margin: 0 auto 100px auto;
}

@media(min-width:768px) {
  .box-faq {
    width: 700px;
  }
}

.faq-list dl {
  position: relative;
  margin: 3px 0 0;
  cursor: pointer;
  border: 1px solid #ffefef;
}
.faq-list dl:first-child {
margin-top: 0;
}
.faq-list dl::after {
  position: absolute;
  top: 27px;
  right: 26px;
  display: block;
  width: 7px;
  height: 7px;
  margin: auto;
  content: '';
  transform: rotate(135deg);
  border-top: 2px solid #000;
  border-right: 2px solid #000;
}
.faq-list .open::after {
  transform: rotate(-45deg);
}
.faq-list dl dt {
  position: relative;
  margin: 0;
  padding: 20px 30px 20px 60px;
  background: #ffefef;
  font-weight: 1;
}
.faq-list dl dt::before {
  font-size: 20px;
  line-height: 80%;
  position: absolute;
  left: 20px;
  display: block;
  content: 'Q.';
  color: #ba0d3c;
}
.faq-list dl dd::before {
  font-size: 20px;
  line-height: 1;
  position: absolute;
  left: 20px;
  display: block;
  content: 'A.';
}
.faq-list dl dd {
  position: relative;
  margin: 0;
  padding: 20px 20px 20px 60px;
}
.faq-list dl dd p {
  margin: 30px 0 0;
}
.faq-list dl dd p:first-child{
  margin-top: 0;
}

@media screen and (max-width: 767px) {
.faq-list dl {
  margin: 10px 0 0;
}
.faq-list dl:after {
  top: 20px;
  right: 20px;
  width: 7px;
  height: 7px;
}
.faq-list dl dt {
  padding: 16px 26px 16px 50px;
  font-size: 14px;
}
.faq-list dl dt::before {
  font-size: 14px;
  top: 20px;
  left: 20px;
}
.faq-list dl dd::before {
  font-size: 14px;
  left: 20px;
  margin-top: 5px;
}
.faq-list dl dd {
  margin: 0;
  padding: 16px 16px 16px 50px;
  font-size: 14px;
}
.faq-list dl dd p {
  margin: 30px 0 0;
}
.faq-list dl dd p:first-child{
  margin-top: 0;
}
}
