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

  *{
    box-sizing: border-box;
  }
    .sub_title{
      letter-spacing: 5px;
      font-size: 230%;
      font-weight: bold;
      padding-bottom: 3px;
      border-bottom: 5px solid;
      width: 700px;
      margin: auto;
      text-align: center;
  }
  .sub_txt{
      padding-top: 5px;
      margin-bottom: 50px;
      text-align: center;
      letter-spacing: 2px;
  }
  

  
  
  
      .arbeit-nav {
          top: 130px;
          margin-bottom: 20px;
          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 ;
          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: 170px;
          text-align: center;
      }
      .oubo {
          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 :hover{
        opacity: 0.8;
      }
      
      .oubo_btn{
          display: inline-block;
          padding: 10px 40px;
          border-radius: 4px; 
          font-size: 200%;
          color: white;
          font-weight: bold;
      }
  
      .oubo_kotira{
          color: white;
          font-size: 180%;
          margin: 10px 0 0;
      }
      
  
    .content7 {
      position: relative;
      text-align: center;
      margin: 0 auto 50px;
      padding-top: 50px;

    }
  
    
    .content7_mainv {
      width: 100%;
      position: relative;
      margin-bottom: 50px;
    }

    .content7_mainv img{
      width: 100%;
    }
  
    .content7_square,
    .content7_square01  {
      position: absolute;
      left: 20%;
      bottom: -40%;
      background: white;
      width: 55%;

    }
  
    .content7_square img,
    .content7_square01 img{
      width: 100%;
    }
    .content7_inner{
      width: 90%;
      margin: auto;
      clear: both;
      padding: 25px 0 50px;
    }
  
    .content7_inner p {
      display: block;
      text-align: center;
      font-weight: bold;
      font-size: 110%;
      line-height: 1.5;
    }
  

    .youtube_wrap {

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

    
  
    .content7_come {
      width: 80%;
      font-size: 110%;
      font-feature-settings : "palt";
      line-height: 2;
      margin: auto ;
  
    }
  
    .content7_come_messe {
      width: 100%;
      text-align: left;
    }
  
    .content7_come_img{
      width: 90%;
      padding: 15px;
    }
    .content7_come_img img{
      width: 100%;
    }
  
    .content7_copy {
      width: 90%;
      padding: 50px 0 50px;
      margin: 0 auto ;
      position: relative;
      display: inline-block;
    }
  
  
    .content7_copy p{
      display: block;
      text-align: center;
      font-weight: bold;
      font-size: 120%;
      line-height: 1.5;
    }
  
  
    
}
