@charset "UTF-8";

.lp-section {
    position: relative;
    max-width: 1280px;
    margin: 6.0rem auto 12.0rem auto;
    width: 96%;
    padding: 12px;
    h2 {
      font-weight: bold;
      font-size: 1.3rem;
    }
    p {
      padding: 1.0rem 1.0rem;
    }
  }


  /*-- about --*/
  .col-rap {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
  }
  
  .instructor {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 1px dashed #FFDCBA;
    border-radius: 9px;
    vertical-align: middle;
    width: 32%;
    max-width: 480px;
    margin: 1em auto;
    .snap {
      width: 100%;
      border-radius: 50%;
      max-width: 144px;
      margin-left: auto;
      margin-right: auto;
    }
    .name {
      position: absolute;
      top: 0;
      left: 0;
      border: 2px solid #88C300;
      border-radius: 9px;
      text-align: center;
      padding: 2px 9px;
      background-color: #F7FFB1;
      transform: translateY(-50%) translateX(1em);
    }
    .message {
      font-size: 0.9rem;
      position: relative;
      display: inline-block;
      margin: 1.3rem auto;
      background: #FFF5DE;
      border-radius: 9px;
      padding: 6px;
  /*
    &:before {
      content: "";
      position: absolute;
      top: 100%;
      left: 50%;
      margin-left: -15px;
      border: 15px solid transparent;
      border-top: 15px solid #e0edff;
    }
  */
    &:after {
      content: "";
      display: inline-block;
      position: absolute;
      top: calc(100%/2); 
      left: -30px;
      border: 9px solid transparent;
      border-right: 40px solid #FFF5DE;
      transform: rotate(35deg);
      z-index: -1;
    }
  
    }
  
  }
  
  
  @media (max-width: 992px) {
    .instructor {
      width: 48%;
    }
  }
  
  @media (max-width: 576px) {
    .instructor {
      width: 100%;
    }
  } 
  
  /*-- form 共通 --*/
  .form-page {

    h2 {
      position: relative;
      width: 90%;
      margin-bottom: 0.2rem;
      padding: 1rem;
      color: #ffffff;
      background-color: #e35c27;
      font-weight: bold;
      font-size: 1.4rem;
      text-align: center;
      margin-left: auto;
      margin-right: auto;
      &::before {
        position: absolute;
        inset: -5px 5px 5px -5px;
        border: 3px solid #353535;
        content: '';
      }
    }
  
    h3 {
      display: flex;
      margin-top: 1.3rem;
      margin-bottom: 1.3rem;
  /*  padding: 0 65px; */
      justify-content: center;
      align-items: center;
      text-align: center;
      font-size: 1.4rem;
  /*  margin-left: auto;
    margin-right: auto;
    */
      &::before,
      &::after {
        content: '';
        width: 50px;
        height: 3px;
        background: #e35c27;
      }
      &::before {
        margin-right: 12px;
      }
      &::after {
        margin-left: 12px;
      }
    }
    
    .abstruct {
      width: 94%;
      margin: 1.4rem auto;
    }

    .form-contents {
      width: 94%;
      margin: 1.4rem auto;

      .botton-face {
        color: #fff;
        background-color: #e35c27;
      }

      .agreement-text {
        width: 96%;
        margin: 0 auto;
        border: 1px solid #ccc;
        border-radius: 3px;
        overflow: auto;
        height: 132px;
      }

      .form-footer {
        text-align: center;
      }

    }

    @media (max-width: 576px) {
      h3 {
         font-size: 1.1rem;
      }
      &::before,
      &::after {
        width: 40px;
      }
    }
}


/*-- sidebar --*/
.side-categories {
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
  padding: 1.2rem 0.7rem;

  h3 {
      position: relative;
      font-size: 1.4rem;
      padding-left: 2.3rem;

      &::before {
        position: absolute;
        font-family: "Font Awesome 5 Free";
        content: "\f0eb";
        background: #ffca2c;
        color: white;
        font-weight: 900;
        font-size: 12px;
        border-radius: 50%;
        left: 0;
        width: 18px;
        height: 18px;
        line-height: 1.2rem;
        text-align: center;
        top: 20%;
        transform: translateY(-20%);
      }
      &::after {
      /*吹き出しのちょこんと出た部分*/
        content: '';
        display: block;
        position: absolute;
        left: 14px;
        height: 0;
        width: 0;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-left: 8px solid #ffca2c;
        top: 20%;
        transform: translateY(-20%);
    }
  }

  ul {
    margin: 0.6rem 0 0.3rem 0;
  }
  ul li {
    border-bottom: 1px dashed #666;
    padding: 0.4rem 0 0.2rem 0;
  }
}

.faq-page {
  p {
    width: 94%;
    margin: 1.6rem auto;
  }

  h2 {
    position: relative;
    width: 90%;
    margin-bottom: 0.2rem;
    padding: 1rem;
    color: #ffffff;
    background-color: #e35c27;
    font-weight: bold;
    font-size: 1.4rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    &::before {
      position: absolute;
      inset: -5px 5px 5px -5px;
      border: 3px solid #353535;
      content: '';
    }
  }

}

.faq-contents {
  width: 90%;
  margin: 1.2rem auto;    

  h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  dl {
    margin-top: .6rem;
    margin-left: .6rem;
    margin-bottom: 2.5rem;
    width: 90%;
  }

  .dt-toggle {
    margin-bottom: 0.6rem;
    padding: 6px;
    font-weight: normal;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #eee;
  }

  .dd-toggle {
    margin-left: .5rem;
    margin-bottom: 1.0rem;
    padding: 6px;
  }

}

.dt-toggle, .dd-toggle {
  cursor: pointer;
}
.dd-toggle {
  display: none;
  margin: 0;
}

@media (max-width: 576px) {
  .faq-page {
    p {
      width: 100%;
    }
    
   .faq-contents {
      width: 100%;
  
      h3 {
        font-size: 1.2rem;
      }
    }
  }
}

/*-- Not found --*/
.notfound-page {
  h2 {
    position: relative;
    padding: 0.5rem 1rem;
    color: black;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
  }

  h2::before,
  h2::after {
    position: absolute;
    top: -3px;
    width: 10px;
    height: 100%;
    content: '';
    border-top: solid 3px;
    border-bottom: solid 3px;
  }

  h2::before {
    border-left: solid 3px;
    left: 15%;
  }

  h2::after {
    border-right: solid 3px;
    right: 15%;
  }

  h3 {
    display: flex;
    margin-top: 2.0rem;
    margin-bottom: 2.0rem;
    font-size: 1.4rem;
/*  padding: 0 65px; */
    justify-content: center;
    align-items: center;
    text-align: center;
/*  margin-left: auto;
  margin-right: auto;
  */
    &::before,
    &::after {
      content: '';
      width: 50px;
      height: 3px;
      background: #387ccc;
    }
    &::before {
      margin-right: 12px;
    }
    &::after {
      margin-left: 12px;
    }
  }

  .linktohome{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    a {
      border: solid 1px #333;
      padding: 16px 72px; 
    }
  }
}
@media (max-width: 576px) {
  .notfound-page {
    h2 {
      font-size: 1.1rem;
    }
    h2::before {
      left: 0;
    }
    h2::after {
      right: 0;
    }

    h3 {
      font-size: 1.2rem;
    }
  }
}

