@charset "UTF-8";

/* ======= REGULATIONS MAIN====== */
a:link {
  color: #9b2f34;
}
a:visited {
  color: #9b2f34;
}
.br-sp{
  display: none;
}

.main {
  width: 100%;
}

.contents {
  width: 900px;
  margin: 60px auto 0;
}

h1 {
  font-size: 22px;
  position: relative;
  padding-bottom: 0.5em;
  border-bottom: 4px solid #ccc;
  margin-bottom: 20px;
}

h1::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: "";
  width: 20%;
  height: 4px;
  background-color: #007bab;
}

h2{   
  position: relative;
  padding-left: 25px;
  padding-bottom: 5px;
  border-bottom: 3px solid #00a0de;
  color: #666;
  font-size: 23px;
  line-height: 32px;
}

h2::before{
  position: absolute;
  top: -8px;
  left: 7px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform:  rotate(45deg);
  height: 12px;
  width: 12px;
  background: #00a0de;
  content: "";
}
 
h2::after {
  position: absolute;
  top: 8px;
  left: 2px;
  transform: rotate(15deg);
  -webkit-transform: rotate(15deg);
  -moz-transform: rotate(15deg);
  -ms-transform:  rotate(15deg);
  height: 8px;
  width: 8px;
  background: #c0deea;
  content: "";
}

.box1 {
  box-sizing: border-box;
  width: 99%;
  margin: 20px auto 50px;
  padding: 40px 20px;
  background: #f0b0b3;
  border-radius: 11px;
}

.list {
  width: 80%;
  background: #fff;
  padding: 40px 40px 20px 40px;
  border-radius: 11px;
  margin: 0 auto;
  list-style-type: disc;
}

.list ul{
 padding-left: 10px;
}

@media screen and (max-width: 900px){
  .contents {
    width: 90%;
  }

@media screen and (max-width: 640px){

   h1{
    font-size: 2rem;
  } 

  .contents{
    margin-top: 60px;
  }

  .box1{
    padding: 20px;
  }
  
  .list {
    width: 95%;
    padding-left: 40px;
    font-size: 1.3rem;
  }

  @media screen and (max-width: 480px){
    .br-sp{
      display: block;
   }

    h2{
      font-size: 17px;
      font-size: 1.7rem;
    }

    h2::before{
      top: -0px;
    }
     
    h2::after {
      top: 14px;
    }

  .box1{
    padding: 20px 10px;
  }

   .list {
     width: 100%;
     padding: 10px 10px 10px 10px;
     font-size: 1.2rem;
     margin: 0 auto;
   }

   @media screen and (max-width: 320px){
    h2{
      font-size: 15px;
      font-size: 1.5rem;
    }

    h2::before{
      top: -0px;
    }
     
    h2::after {
      top: 14px;
    }
 }
