@media (max-width: 768px) {
  /*スマホと縦向きタブレット用*/
  body{
    background: white;
  }

*{
  box-sizing: border-box;
}
  .sub_title{
    font-size: 98%;
    font-weight: bold;
    padding-bottom: 3px;
    border-bottom: 5px solid;
    width: 95%;
    margin: auto;
    text-align: center;
}
.sub_txt{
    padding-top: 5px;
    margin-bottom: 10%;
    text-align: center;
}

#content3,
#content4,
#content5,
#content6,
#content7,
#content8,
#content9{
  margin-top:-100px;
padding-top:100px;
}

    .content1 {
      position: relative;
      width: 100%;
      height: auto;
      top: 50px;
    }

    .content1 img {
      width: 100%;
    }

    .boshuu {
      position: absolute;
      left: 40%;
      top: 20%;
      width: 25%;
    }

    .arbeit-nav {
        top: 130px;
        position: relative;
        width: 100%;
        display: block;
    }

    .arbeit-nav ul{
        text-align: center;
    
    }
    .arbeit-nav li{ 	
      display: inline-block;
      font-weight: bold;
      padding: 0 10px;
     } 
    
    .nav-item {
        display: inline;
        padding: 0 20px;
        font-size: 150%;
     }
    
     .nav-item + .nav-item {
        border-left: 2px solid #000;
    
      }
    
    .nav-item a{
        color: #000;
        display: block;
        padding: 0 0 5px;
        position: relative;
        text-decoration: none;
    }
    
    
    .nav-item a::before,
    .nav-item a::after {
      border-bottom: solid 2px red;
      bottom: 0;
      content: "";
      display: block;
      position: absolute;
      transition: all .3s ease;
      -webkit-transition: all .3s ease;
      width: 0;
    }
    .nav-item  a::before {
      left: 50%;
    }
    .nav-item a::after {
      right: 50%;
    }
    .nav-item a:hover::before,
    .nav-item a:hover::after {
      width: 50%;
    }
    
    .content2 {
        position: relative;
        margin-top: 15%;
        text-align: center;
    }

    .content2 h3{
        font-weight: bold;
        font-size: 6vw;
    }

    .content2 span{
        background: linear-gradient(transparent 70%, #ffe300 0%);
    }

    .oubo {
        padding: 30px;
        margin: 30px 0 50px;
        background: #e71f1a;
        background: -webkit-gradient(linear, left top, left bottom, from(#e71f1a), color-stop(100%, #ed7243), to(#ed7243));
        background: linear-gradient(180deg, #e71f1a 0%, #ed7243 100%, #ed7243 100%);
        text-align: center;
        display: block;
    }
    
    .oubo_btn{
        display: inline-block;
        padding: 10px 40px;
        background: white;
        border-radius: 4px; 
        font-size: 4vw;
        color: #e71f1a;
        font-weight: bold;
    }

    .oubo_kotira{
        color: white;
        font-size: 110%;
        margin: 10px 0 0;
    }
    .content3 {
      width: 85%;
        text-align: center;
        margin: 20px auto 20%;;
    }
    .content3_inner {
      margin: 0;
      position: relative;
      margin: auto;
    }
    /*女の人の大きさ*/
    .content3_inner img{
      width: 40%;
    }
    .img-wrap {
      position: relative;
      width: 100%;
      height: auto;
      padding: 5px;
    }
    .item-img01 {
      position: absolute;
      z-index: 3;
      right: -15%;
      top: -1900%;
    }

    .sp_item04 {
      position: relative;
    }
    .item-img02 {
      position: absolute;
      z-index: 3;
      right: -25%;
      top: -8%;
    }
    .circle img{
      width: 30%;
    }
    .item {
        width: 100%;
        background: #fff100;
        border-radius: 10px;
        padding: 5%;
        line-height: 1.8;
        margin-bottom: 10%;
      }

      .item-body {
        padding: 0;
      }

      .item-body p {
        font-size: 100%;
        text-align: left;
        padding-top: 10px;
      }

        .items {
        width: 90%;
        margin: 0 auto;
        position: relative;
        
        }

          


          .content3 h4{
            letter-spacing: 5px;
            font-size: 100%;
            font-weight: bold;
            padding-bottom: 3px;
            border-bottom: 2px solid;
            margin: auto;
            text-align: center;
        }


      .content4 {
        margin: 100px auto;
      
      }
      
      .content4_sp {
        width: 85%;
        margin: auto;
      }


      .content4_inner {
        width: 85%;
        margin: 30% auto;
        position: relative;
        top: 8%;
      }

      .content4_img {
        width: 35%;
        position: absolute;
        z-index: 3;
        left: 33%;
        bottom: 90%;
      }
      .content4_img img {
        width: 100%;
      }

      .content4_txt {
        background: white;
        border-radius: 10px;
        position: relative;
        right: 0;
        width: 100%;
        z-index: 2;
        padding: 8%;
        top: 150%;
        text-align: left;

      }

      .content4_bg {
        background: #fff100;
        width: 100%;
        padding: 10px ;
        z-index: 0;
      }

      .content4 h4{
        color: #d10000;
        text-align: center;
        font-weight: bold;
        font-size: 110%;
        text-decoration: underline ;
        margin-top: 10%;
        margin-bottom: 5%;
      }

      .content4_p {
        text-align: left !important;
        font-size: 100%;
        line-height: 1.8;
        vertical-align: middle; 
        
      }


  .content5 {
    margin-bottom: 20%;
    width: 85%;
    margin: auto;
  }


  .content5_inner {
    width: 100%;
    border: 1px solid black;
    overflow: hidden;
    margin: 0 auto 50px; 
    padding-top: 20px;

  }

  .content5_img {
    float: left;
    width:35%;
    margin: auto;
    padding-left: 5%;
    text-align: center;
  }

  .content5_img img{
    width: 100%;
  }

  .content5_text {
    float: left;
    width: 55%;
    font-size: 90%;
    font-weight: bold;
    margin: 0 5%;
  }
  .tenpo {
    width: 100%;
    line-height: 1.5;
    color: white;
    background: #003663;
    text-align: center;
    margin-bottom: 5%;
    padding: 5px 0;

  }

  .content5_btn {
    background: #e71f1a;
    background: -webkit-gradient(linear, left top, left bottom, from(#e71f1a), color-stop(100%, #ed7243), to(#ed7243));
    background: linear-gradient(180deg, #e71f1a 0%, #ed7243 100%, #ed7243 100%);
    padding: 10px;
    display: block;
    width: 65%;
    text-align: center;
    border-radius: 10px;
    margin: 50% 0 5% 20% ;
  }

  .content5_btn:link,
  .content5_btn:visited,
  .content5_btn:hover,
  .content5_btn:active {color:white ;}


  .content6 {
    text-align: center;
    margin: 20% auto;
  }
  .content6_sp {
    width: 85%;
    margin: auto;
  }

  .content6_sp_title {
    font-size: 90%;
  }

  .content6_inner{
    width: 100%;
    padding: 8%;
  }

  .good {
    background: #ffaa8f;
  }

  .bad {
    background: #6b94ff;
  }

  .content6_txt {
    width: 100%;
    background: white;
    padding: 30px 5%;
    margin: auto;
    border-radius: 20px;
    font-size: 100%;
    line-height: 2;
    font-weight: bold;
    text-align: left;
  }

  .good_t {
    background-image: url("../image/goodstaff.png");
    background-position : right 15px bottom 10px;
    background-repeat: no-repeat;
    background-size: 30% auto;
  }

  .bad_t {
    background-image: url("../image/badstaff.png");
    background-position : right 15px bottom 10px;
    background-repeat: no-repeat;
    background-size: 30% auto;
  }

  .numbering {
    margin: 0;
    counter-reset: number;
  }
  .numbering p::before {
    counter-increment: number;
    content: counter(number) ". ";
    padding-right: 5px;
  }

  .good_t span{
    color: #d60000;
  }

  .bad_t span{
    color: #286492;
  }

  .content6_bottom{
    display: inline-block;
    width: 85%;
    margin: 50px auto;
    overflow: hidden;
  }

  .content6_b_img {
    width: 30%;
    float: left;
    clear: both;

  }
  .content6_b_img img{
    width: 100%;
  }

  .content6_b_txt {
    float: left;
    width: 70%;
    font-size: 100%;
    line-height: 2;
    font-weight: bold;
    text-align: left;
    padding-left: 5%;

  }

  .content7 {
    margin: 0 auto 100px;
    text-align: center;
  }

  .youtube_wrap {

    width: 60%;
    height: auto;
    margin: 20% auto 0;
  
  }
  .youtube {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
  }
  .youtube iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
  }

  .content7_sp {
    width: 85%;
    margin: auto;
  }

  .content7_mainv {
    width: 100%;
    position: relative;
  }

  .content7_mainv img {
    width: 100%;
  }

  .content7_square {
    position: absolute;
    left: 20%;
    bottom: -40%;
    background: white;
    width: 55%;
  }

  .content7_square img{
    width: 100%;
  }
  .content7_inner{
    background: #f7f8f8;
    display: inline-block;
    width: 100%;
  }

  .youtube{
    margin: 15% auto 0;
    width: 70%;
  }

  .youtube img {
    width: 100%;
  }

  .content7_come {
    font-size: 120%;
    line-height: 1.8;
    font-weight: bold;
  }

  .content7_messe {
    width: 90%;
    margin: 50px auto;
    display: inline-block;
    text-align: center;
  }

  .messe_img {
    width: 90%;
    margin: auto;
  }
  .messe_img img {
    width: 100%;
  }
  .messe_txt {
    text-align: left;
    font-size: 110%;
    line-height: 1.9;
  }

  hr {
    height: 1px;
    border: none;
    border-top: 1px #000000 solid;
    width: 80%;
    margin-bottom: 10%;
  }

  .content8 {
    text-align: center;
    padding-bottom: 30px; 
    margin-bottom: 100px;
    width: 85%;
    margin: auto;
  
  }
  .content8_inner{
    display: inline-block;
    margin: 0 auto 80px;
  }

  .content8_title {
    margin-top: -10px;
    text-align: center; 
    font-size: 100%; 
    font-weight: bold; 
    letter-spacing: 3px;
  }
  
  .dt_a_sonota_sp {
    padding: 8% 0 !important;
  }

  .dt_a_sonota {
    padding: 12% 0 !important;
}


  .content8_title {
    margin-top: -10px;
    text-align: center; 
    font-size: 100%; 
    font-weight: bold; 
    letter-spacing: 3px;
  }
  

  .content8_inner dl {

    width: 100%;
    display: table;
    border-right: 1px solid black;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
    font-size: 85%;
}

.content8_inner dt {
    float: left;
    clear: left;
    width: 30%;
    text-align:left;
    background: #f2f2f3;
    display: flex;
    justify-content: space-between; 
    padding: 5% 3%;
    text-align: center;
    display: table-cell;
    border-right: 1px solid black;
  }

  .content8_inner dd {
    float: left;
    width: 70%;
    text-align:left;
    padding:2%;
    line-height: 1;
    background: white;
    display: table-cell;
}
.content8_inner dt,
.content8_inner dd {
  border-top: 1px solid black;
}

.kyuuyo {
  padding: 35% 0 !important;
}

.kyuuyo_e {
  padding: 18% 0 !important;
}



.dt_sonota_sp {
  padding: 8% 0 !important;
}

.content9 {
  margin-bottom: 150px;
}

.content9_inner{
  background-color: #454545;
  font-size: 95%;
  line-height: 1.8;
  background: url(../image/bg-body.png) repeat 0 0;
  padding: 20px;
  padding-bottom: 10%;
  width: 100%;
  margin: auto;
}


}
