@charset "UTF-8";

.page-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;
    }
  }

  /*-- form 共通 --*/
  .form-page {

    h2 {
      position: relative;
      width: 100%;
      margin-bottom: 0.6rem;
      padding: 1rem;
      color: #ffffff;
      text-shadow:1px 1px 0 #469c7e,-1px 1px 0 #469c7e,1px -1px 0 #469c7e,-1px -1px 0 #469c7e;
      background-color: #81D8D0;
      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 #469c7e;
        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: 2rem auto 1rem auto;

      .plus-info {
        border: 1px solid #469c7e;
        border-radius: 6px;
        padding: 1rem;
        margin: 1rem;
      }
    }

    .form-contents {
      width: 80%;
      margin: 2.0rem auto;

      .contact-label {
        
        border-bottom: 1px solid #bed7d5;
      }
      .button-face {
        color: #fff;
        background-color: #3fb4a9;
        display: inline-block;
        border-radius: 9px;
        font-size: 1.1rem;
        text-align: center;
        padding: 6px 18px;
        border-style: none;
        line-height: 1.6em;
      }

      .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;
      }

      .abstruct {
        width: 100%;
      }  
      .form-contents {
        width: 100%;
        }

    }
}


/*-- 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;
    }
  }
}

