@media (max-width:670px){

  *{
      box-sizing: border-box;
      font-family: sans-serif;
    }
    
    body {
      margin: 0;
      display: flex;
      flex-flow: column;
      min-height: 100vh;
    }
    main {
      background: #ffffff;
      flex: 1;
    }
    
    
    
    /*header開始*/
    header {
      height: 80px;
      width: 100%;
      background-color:black;     
    }
      
    .header-left {
      float: left;
    }
    .logo {
       height: 60px;
       margin: 9px 0 0 5px;
       position:relative;
    } 
    .font{
      height: 40px;
      margin: 10px 0 0 0;
    }
    .SEI{ margin-left:-9px; }
    .FO{ margin-left:-10px; }
    .OT{ margin-left:-10px; }
    .BA{ margin-left:-10px; }
    .LL{ margin-left:-10px; }
    .CL{ margin-left:-11px; }
    .UB{ margin-left:-11px; }


  .header-center{
      color: white;
      float: left;
      font-size: 35px;
      margin: 0 10px 0 10px;
      line-height: 35px;
      font-family: serif;
  }
  .header-center-second{
    color:  rgb(219,186,133);
    font-family:Impact,'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 15px;
    padding: 40px 0 0 0;
    float: left;
    position:absolute;
    left:76px;
  }
  /*header終了*/  
    
    .link-list{
      height:1px;
      width:100%; 
    }
    .link {
      display:none;
    }     
    .btn{
      display:none;
    } 

  /*ココから*/
  .menu-icon{
    display: block;
  }
  .openbtn{
    display: block;
  }
  /*ココまで*/



  /*メニューバーのカーソルモーション*/
  .link:hover{
    font-weight: bold;
  }  
  .btn:hover{
    opacity:0.5;
  }
    
     /*~~~~~~~ココから作成~~~~~~~~*/  
  
      .top-wrapper{
        margin-top:0px;
        height: 70px;     
        background-color: black;
        color:white;
        text-align: center;
      }
     
      .top-wrapper h{
          display: block;
          line-height: 70px;
          color:rgb(219,186,133);
          font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
          font-weight: bold;
          font-size:25px;
        }
      
        .second-wrapper{
          width: 100%;
          background-image: url(サブページ背景.png);
          position: relative;
        }
        
        .center-wrapper{
          width: 90%;
          height: 520px;
          margin: 0 5%;
          background-color: rgb(221,221,221,0.5);
          position: absolute;
          top:50px;
        }
  
        .text-box{
          width: 90%;
          margin:50px 5%;
          font-family: sans-serif;
        }
  
        .center-wrapper p{
          font-size: 15px;
          font-weight: bold;
          font-family: sans-serif;
        }
  
        .text-box2{
          width: 100%;
          margin:0 0%;
          background-color: rgb(255,255,255,0.9);
          text-align: left;
          height: 300px;
          padding-top: 10px;
          font-family: sans-serif;
        }
        .text-box2 p{
          font-size: 14px;
          margin-left: 5px;
          margin-top: 20px;
          font-family: sans-serif;
        }
  
        .icon{
          font-size: 50px;
          margin:0 20px;
          color: rgb(89, 26, 147);
      }
  
  
      footer {
        background: black;
        color:rgb(219,186,133);
        position:relative;
        padding-bottom: 100px;
      }
      .footer-list{
        display: none;
      }
      .footer-list-respomsive{
        display: block;
      }
      .final-logo{
        width:120px;
        margin-top:50px;
      }
      .footer-heading-container{
        width:100%;
        text-align: center;
      }
      .footer-heading {
        color:rgb(219,186,133);
        text-align: left;
        width:40%;   
        display: inline-block;
        vertical-align: top;
      }
      .main-heading {
        font-size:30px;  
        margin-bottom: 5px;
        font-weight: bolder;
        width:100%;
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
      }
      .sub-heading {
        font-size:18px;
        line-height: 25px;
        font-family:Arial, Helvetica, sans-serif;
        width:100%;
        font-weight:lighter;
        color: rgb(219,186,133);
        text-decoration: none;
      }
      .sub-heading:hover{
        text-decoration:underline;
        display:inline;
        transition:all 1s;
      }
      .footer-btn{ 
        color:  rgb(219,186,133);
        font-size:25px;   
      } 
      .footer-btn:hover{
        opacity:0.5;
      }
      .copyright{
        color:rgb(219,186,133);
        font-size:13px;
        position:absolute;
        bottom:5px;
        right:5px;
      }
    
    }        