
br {
  display: block;
  content: "";
  margin: 10px 0;
  }

img{display: block;
    margin-left: auto;
    margin-right: auto;
}

@media screen and ( min-width:800px ){
  .main{
    width: 600px;
    margin:0 auto;
  }
    .text {
      margin: 0 auto　20px;
      max-width: 90%;
      letter-spacing: 0.03em;
      font-size: 20px;
      line-height: 30px;
  }
  h2 {
    font-size: 32px;
    position: relative;

    padding: 0 55px;
    color: #00214e;
    text-align: center;
  }
  
  h2:before, h2:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45px;
    height: 2px;
    border-top: solid 2px #00214e;
    border-bottom: solid 2px #00214e;
    text-align: center;
    
  }
  ul, ol {
  background: #fffde8;
  box-shadow: 0px 0px 0px 10px #fffde8;/*線の外側*/
  border: dashed 2px #ffb03f;/*破線*/
  border-radius: 9px;
  margin-left: 10px;/*はみ出ないように調整*/
  margin-right: 10px;/*はみ出ないように調整*/
  padding: 0.5em 0.5em 0.5em 2em;
}

ul li, ol li {
  line-height: 1.5;
  padding: 0.5em 0;
}
  h2:before {
    left:0;
  }
  h2:after {
    right: 0;
  }
 
  .img1{
    width: 50%;
    margin: 0px auto;
  }
    .img2{
  width: 100%;
  margin: 0px auto;
      }
  
      .img3{
        height: 340px;
        width: 600px;
        }
      
          .line {
            background: linear-gradient(transparent 60%, yellow 30%);
            display: inline-block;
          }

      .spanline {
        font-weight: bold;
        text-align: center;
        font-size: 25px;
        margin: 15px auto 15px ;
        width: fit-content;
        color: rgb(255, 0, 0);
        background-color: #fbff00;
    }

.sp {
            font-weight: bold;
        text-align: center;
        font-size: 25px;
        margin: 15px auto 15px ;
        width: fit-content;
        color: rgb(255, 255, 255);
        background-color: #ff0095;
         }

      .pinkA {
        font-weight: bold;
      color: rgb(255, 0, 0);
        font-size: 25px;
        text-align: center;
    }

    .pinkB {
      font-weight: bold;
      color: rgb(0, 68, 255);
      font-size: 25px;
      text-align: center;
  }

  .pinkC {
    font-weight: bold;
    color: #00214e;
    font-size: 25px;
}

.box18{
  margin:2em 0;
  position: relative;
  padding: 0.25em 1em;
  border: solid 2px #00214e;
  border-radius: 3px 0 3px 0;
  background-color: #fffef0;
}
.box18:before,.box18:after
{
  content: '';
  position: absolute;
  width:10px;
  height: 10px;
  border: solid 2px #00214e;
  border-radius: 50%;
}
.box18:after {
  top:-12px;
  left:-12px;
}
.box18:before {
  bottom:-12px;
  right:-12px;
}
.box18 p {
  margin: 0; 
  padding: 0;
}

}
@media screen and ( max-width:799px ){

  .main {
    width: 100%;
    margin: 0px auto;
    padding: 3px;
    background-color: #fff;
}
  .text{letter-spacing: 0.03em;
    font-size: 16px;
    line-height: 30px;}

    .text2{letter-spacing: 0.03em;
      font-size: 16px;
      line-height: 30px;
    text-align: center;
    }

    .img1{
      width: 50%;
      margin: 0px auto;
    }
      .img2{
    width: 100%;
    margin: 0px auto;
        }
        h2 {
          font-size: 22px;
          position: relative;

          padding: 0 55px;
          color: #00214e;
          text-align: center;
        }
        
        h2:before, h2:after {
          content: '';
          position: absolute;
          top: 50%;
          width: 45px;
          height: 2px;
          border-top: solid 2px #00214e;
          border-bottom: solid 2px #00214e;
          text-align: center;
          
        }
        
        h2:before {
          left:0;
        }
        h2:after {
          right: 0;
        }
    
        .img3{
          width: 100%;
          margin: 0px auto;
        content: ” “;
        display: block;
        height: 100%;
        min-height: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        border: 3px solid #00214e;
      }

        a.btn-c {
          font-size: 6vw;
          width: 100%;
          position: relative;
          padding: 0.25rem 10px 1.5rem 10px;
          color: #fff;
          background: #32b16c;
          -webkit-box-shadow: 0 5px 0 #2c9d60;
          box-shadow: 0 5px 0 #2c9d60;
          margin: 20px auto;
          display: block;
      }
  
      a.btn-c span {
        font-size: 17px;
        position: absolute;
        top: -10px;
        right: 0;
        left: 0;
        margin: 0 auto;
        display: block;
        width: 87%;
        padding: 0.2rem 0;
        color: #32b16c;
        border: 2px solid #32b16c;
        border-radius: 0.5rem;
        background: #fff;
        -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    }

  .btn, a.btn, button.btn {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #ffffff;
    border-radius: 0.5rem;
}
.list-3 {
  font-size: 19px;
}
 ul, ol {
  background: #fffde8;
  box-shadow: 0px 0px 0px 10px #fffde8;/*線の外側*/
  border: dashed 2px #ffb03f;/*破線*/
  border-radius: 9px;
  margin-left: 10px;/*はみ出ないように調整*/
  margin-right: 10px;/*はみ出ないように調整*/
  padding: 0.5em 0.5em 0.5em 2em;
}

ul li, ol li {
  line-height: 1.5;
  padding: 0.5em 0;
}
  h1{
        color: #ff0084;
        text-align: center;
        padding: 0.2em;
        font-size: 22px;
        margin: 0 auto 30px;
        border-top: solid 2px #ff0084;
        border-bottom: solid 2px #ff0084;
        background-color: #fff5f9;
      }



      .ulf {
       
          color:rgb(0, 2, 5);
          font-size: 16px;
          }
      
          .line {
            background: linear-gradient(transparent 60%, yellow 30%);
            display: inline-block;
          }

      .spanline {
        font-weight: bold;
        text-align: center;
        font-size: 28px;
        margin: 15px auto 15px ;
        width: fit-content;
        color: rgb(255, 0, 0);
        background-color: #fbff00;
         }
   .sp {
        font-weight: bold;
        text-align: center;
        font-size: 21px;
        margin: 15px auto 15px ;
        width: fit-content;
        color: rgb(255, 255, 255);
        background-color: #ff0095;
         }
      .pinkB {
        font-weight: bold;
        color: rgb(0, 89, 255);
        font-size: 18px;
        text-align: center;
       
    }

    .pinkA {
      font-weight: bold;
      color: rgb(255, 0, 0);
      font-size: 18px;
      text-align: center;
     
  }

  .pinkC {
    font-weight: bold;
    color: #00214e;
    font-size: 17px;
   
}


    .box18{
      margin:2em 0;
      position: relative;
      padding: 0.25em 1em;
      border: solid 2px #ff0000;
      border-radius: 3px 0 3px 0;
      background-color: #ffee00;
  }
  .box18:before,.box18:after
  {
      content: '';
      position: absolute;
      width:10px;
      height: 10px;
      border: solid 2px #00214e;
      border-radius: 50%;
  }
  .box18:after {
      top:-12px;
      left:-12px;
  }
  .box18:before {
      bottom:-12px;
      right:-12px;
  }
  .box18 p {
      margin: 0; 
      padding: 0;
  }

  }