@charset "UTF-8";
/* @import url("header.css");
@import url("footer.css");
@import url("common.css"); */

/* =======APPLICATION MAIN====== */
.br-pc{
  display: block;
}

.br-sp{
  display: none;
}


.red{
  color: red;
}

.main {
  width: 100%;
  margin: 0 auto;
}

.contents {
  width: 900px;
  margin: 60px auto 200px;
}

h1 {
  font-size: 22px;
  position: relative;
  padding-bottom: 0.5em;
  border-bottom: 4px solid #ccc;
}

h1::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: "";
  width: 20%;
  height: 4px;
  background-color: #007bab;
}

h2 {
  text-align: left;
  font-size: 20px;
  margin: 0 20px 20px;
  color: #202020;
  border-bottom: dashed 2px #202020;
}

.mainMtgNext-1 {
  position: relative;
  /* height: 290px; */
  margin: 20px auto 40px;
  background: #c0deea;
  padding: 20px 0;
}

.mainMtgNext-1_inner{
  height: 290px;
}

.mainMtgNext-1 img{
  position: absolute;
  width: 60%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
}

.mainMtgNext-2 {
  width: 85%;
  margin: 0 auto;
  background: #fff;
  font-size: 18px;
  padding: 20px;
}

.concurrent{
  margin-bottom: 1.4rem;
}

.application_term, .application_term1, .application_term2{
  color: red;
}

.dot {
    border: none;
    background-color: #fff;
    border-width: 1px 0 0 0;
    border-top: dotted;
    border-color: #333;
}

.attention {
  box-sizing: border-box;
  margin: 0 auto 40px;
  padding: 20px 40px;
  background: #f0e68c;
  text-align: center;
  font-size: 16px;
  font-size: 1.6rem;  
  font-weight: bold;
  line-height: 1.6;
}

.form-wrapper{
  position: relative;
  /* width: 95%; */
  height: 1000px;
  margin: 0 auto;
}

.form-wrapper iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;  
}

/***************************************************
  Medicall Wellness Inquiry
***************************************************/
#medwell{
  font-size: 15px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.ribbon {
  display: inline-block;
  position: relative;
  padding: 10px 15px 8px 20px;
  font-size: 18px;
  font-size: 1.8rem;
  color: #FFF;
  background-image: url(../images/icfpe-background.jpg);
  background-size: cover;
  background-position: center;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.ribbon:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);/*折り返し部分*/
}

.explanation-inquiry{
  font-size: 16px;
  font-size: 1.6rem;
  margin: 0 10% 60px 5%;
}

.explanation-inquiry p{
  text-indent: 1rem;
  margin: 0;
  line-height: 1.6;
  margin-bottom: 30px;
}

@media screen and (max-width: 900px){

  .contents{
    width: 90%;
  }

  h2{
    width: 90%;
  }

  .mainMtgNext-1 img{
    width: 80%;
  }

@media screen and (max-width: 640px){
  .br-pc{
    display: none;
  }
  
  .br-sp{
    display: block;
  }

  
    h1{
      font-size: 2rem;
    }

    .contents{
      margin-top: 60px;
    }
    
    h2{
      font-size: 1.6rem;
      margin-bottom: 20px;
    }

    .mainMtgNext-1 {
      position: relative;
      padding: 10px 0 20px;
      margin: 20px auto;
    }

    .mainMtgNext-2{
      width: 88%;
      font-size: 1.4rem;
      padding: 20px 10px;
    }

    .mainMtgNext-2 p{
      margin: 0;
    }

    .first-notice{
      text-indent: .5rem;
    }

    .small-item{
      margin-left: 2rem;
      margin-bottom: .5rem;
    }

    .attention{
      margin: 0 auto 20px;
      padding: 20px;
      font-size: 14px;
      font-size: 1.4rem;
     }
   
    @media screen and (max-width: 480px){
    .sp{
      display: block;
    }  

    .contents{
      margin: 60px auto 40px;
    }  

    h1{
      font-size: 1.6rem;      
    }

    h2{
      width: 95%;
      font-size: 1.4rem;
      margin: 0 10px 20px;
    }

    .mainMtgNext-1_inner{
      height: 200px;
    }

    .mainMtgNext-1 img{
       width: 90%;
    }

    .mainMtgNext-2 {
      width: 95%;
      padding: 10px;
      font-size: 12px;
      font-size: 1.2rem;
    }

    .attention{
      font-size: 12px;
      font-size: 1.2rem;
      padding: 20px 30px;    
    }

  /***************************************************
     Medicall Wellness Inquiry
  ***************************************************/
  .ribbon {
    font-size: 16px;
    font-size: 1.6rem;
    letter-spacing: 0.1em;
  }

  .explanation-inquiry{
    font-size: 16px;
    font-size: 1.6rem;
    margin: 0 0 60px 0;
  }

  @media screen and (max-width: 375px){
   /***************************************************
     Medicall Wellness Inquiry
  ***************************************************/
  .ribbon {
    max-width: 300px;
    font-size: 14px;
    font-size: 1.4rem;
  }

  @media screen and (max-width: 320px){
    /***************************************************
      Medicall Wellness Inquiry
   ***************************************************/
   .ribbon {
     font-size: 11px;
     font-size: 1.1rem;
   }
}