@charset "UTF-8";

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing:border-box;
  }
  .clearfix::after {
    content:'';
    display:block;
    clear:both;
  }
  

body{
    padding: 0;
    margin: 0;
}

.header{
    width: 100%;
    height: 100px;
    background-color: #ddd;
    padding: 20px 0;
}

.max-width{
    max-width: 1400px;
    width: 94%;
    height: 60px;
    background-color: red;
    display: flex;/*子要素の横並べ*/
    margin: 0 auto;/*要素の中央揃え*/
}

.logo{
    width: 25%;
    height: 50px;
    background-color: blue;
    margin-top: 5px;
}

.nav{
    width: 75%;
    height: 50px;
    background-color: aqua;
    margin-top: 5px;

    display: flex;
    justify-content: flex-end;
}

.nav_tips{
    width: 15%;
    height: 40px;
    background-color: pink;
    margin: 5px 5px;
}

.resnav{
    display: none;
}




.contents{
    max-width: 1400px;
    width: 100%;
    height: auto;
    background-color: green;
    margin: 0 auto;
    padding: 15px;
}

.main-visual{
    width: 100%;
    height: 500px;
    background-color: blueviolet;
    padding: 20px;
}

.mv-text{
    width: 50%;
    height: 460px;
    background-color: orange;
}

.section1{
    width: 100%;
    height: auto;
    background-color: skyblue;
    display: flex;
}

.box1{
    width: 50%;
    height: 300px;

    background-color: pink;
    margin-right: 10px;
 }
 
 .box2{
    width: 50%;
    height: 300px;

    background-color: skyblue;
    margin-right: 10px;
 }

 .box2-tips1{
    width: 98%;
    height: 80px;

    background-color: pink;
    margin: 10px auto;
 }

 .box2-tips2{
    width: 98%;
    height: 190px;

    background-color: yellow;
    margin: 10px auto;
 }









.footer{
    max-width: 1400px;
    width: 100%;
    height: 200px;
    background-color: gray;
    margin: 0 auto;
}



/*　ハンバーガーメニューボタン　*/
.hamburger {
    display : block;
    position: fixed;
    z-index : 3;
    right : 20px;
    top   : 20px;
    width : 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }
  .hamburger span {
    display : block;
    position: absolute;
    width   : 30px;
    height  : 2px ;
    left    : 6px;
    background : #BBBBBB;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition   : 0.3s ease-in-out;
    transition        : 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 10px;
  }
  .hamburger span:nth-child(2) {
    top: 20px;
  }
  .hamburger span:nth-child(3) {
    top: 30px;
  }
  
  /* スマホメニューを開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
    top : 16px;
    left: 6px;
    background :#fff;
    -webkit-transform: rotate(-45deg);
    -moz-transform   : rotate(-45deg);
    transform        : rotate(-45deg);
  }
  
  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    top: 16px;
    background :#fff;
    -webkit-transform: rotate(45deg);
    -moz-transform   : rotate(45deg);
    transform        : rotate(45deg);
  }
  
  /* メニュー背景　*/
  nav.globalMenuSp {
    position: fixed;
    z-index : 2;
    top  : 0;
    left : 0;
    color: #fff;
    background: rgba( 71,70,73,0.6 );
    text-align: center;
    width: 100%;
    transform: translateY(-100%);
    transition: all 0.6s;
  }
  
  nav.globalMenuSp ul {
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }
  
  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: .4s all;
  }
  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
  }
  nav.globalMenuSp ul li:hover{
    background :#ddd;
  }
  
  nav.globalMenuSp ul li a {
    display: block;
    color: #fff;
    padding: 1em 0;
    text-decoration :none;
  }
  
/* クリックでjQueryで追加・削除 */
  nav.globalMenuSp.active {
    opacity: 100;
    display: block;
     transform: translateX(0%);
  }






@media (max-width: 768px){/*768px以下の時適用*/


.max-width{
    max-width: 1400px;
    width: 94%;
    height: 60px;
    background-color: green;
    display: flex;/*子要素の横並べ*/
    margin: 0 auto;/*要素の中央揃え*/
}

  .s-block{
    display: block;
  }
  
    .section1{
        width: 100%;
        height: auto;
        background-color: skyblue;
        display: block;
    }
    
    .box1{
        width: 100%;
        height: 300px;
    
        background-color: pink;
        margin-right: 10px;
     }
     
     .box2{
        width: 100%;
        height: 300px;
    
        background-color: skyblue;
        margin-right: 10px;
     }
    



     .logo{
        width: 50%;
        height: 50px;
        background-color: blue;
        margin-top: 5px;
    }
    
    .nav{
        display: none;
    }

    .resnav{
      display: block;
    }

    .res-nav{
        display: block;
        width: 75%;
        height: 50px;
        background-color: yellow;
        margin-top: 5px;
    
        display: flex;
        justify-content: flex-end;
    }


}



.red{
  color: red;
}




@media (max-width: 768px){/*768px以下の時適用*/


}