.header{
    display: flex;
    justify-content: space-between;
    position: fixed;
    width:100vw;
    background-color:white;
    background-image: url(pic/head.jpg);
    background-size: cover;
    align-items: center;
}
.header img{
  width:400px;
  height:80px;
}
.headnav ul{
  display: flex;
  list-style-type: none;
  justify-content: space-between;
}
.headnav li{

  font-size: 18px;
}

.headnav a{
  text-decoration: none;
  color:black;
}
.headnav{
    align-items: center;
    width: 40%;
    margin-right: 10%;
}
.headnav img{
    width: 60px;
    height: 90px;
}
.headnav img:hover,
.headnav img:focus{
    transform: scale(1.4);
    transition: transform .8s;
}
.burger{
    width:40px;
    height: 40px;
    background-image: url(pic/menu.png);
    background-repeat: no-repeat;
    border-radius: 4px;
    z-index: 2;
    margin-right: 20px;
    display:none;
}
.burger:hover{
    background-color: #ddd;
}
.burger.is-active{
    background-image: url(pic/close.png);
}
/* メニュー */
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color:gray;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 0.9;
  display:none;
}
.menu.is-active{
    display: flex;
}
.menu ul{
  display: block;
}
.menu li{
  font-size: 30px;
}
.menu li a{
      color:white;
}

body{
    margin-top: 0px;
}


#container{
    position: absolute;
    width:100%;
    z-index: 20;
    margin-top: 0px;
}

/* サブコンテンツのcss */
.news {
  text-align: center;    
  margin-left:100px;
  margin-right: 100px;  
  margin-bottom: 100px;
  padding-top: 200px;
}
.news h1{
    font-family:fantasy;
}
.news h2{
    font-family:serif;
    font-size:30px;
    background-color: grey;
    opacity: 0.5;
    color: white;
    margin-bottom: 0px;
    margin-top: 0;
}
.news h3{
    margin-top: 0px;
    font-family:serif;
    color: black;
}
.news img{
    width:90%;
    }
/*もっと見るボタン装飾*/
.txt-hide{
display: none;
}
.txt-hide img{
    width: 80%;
}
.date{
    display: flex;
    justify-content:flex-start; 
    margin-bottom: 0;
}

button.more {
width: 120px;
margin: 20px auto;
display: block;
background-color: #666;
color: #fff;
padding:10px 15px;
border: none;
outline: 0;
transition: .5s;
-erbkit-transition: .5s;
}
 
button.more::after {
content: "検査結果";
transition: .2s;
-erbkit-transition: .2s;
}

button.more.on-click::after{
content: "閉じる";
}

/*ボタン装飾*/
.btn {
  display: inline-block;
  padding: 0.3em 1em;
  text-decoration: none;
  color:white;
  border: solid 2px darkkhaki;
  background-color: gray;
  border-radius: 3px;
  transition: .4s;
  font-size: 25px;
}

.btn:hover {
  background: darkkhaki;
  color: navy;
  border: solid 2px navy;
}

/*ボタン装飾終了*/

.colum{
    background-color:Gainsboro;
    color: wheat;
    padding-bottom: 20px;
}





/*上へ戻るボタン--------------------------------------*/
.upbutton{
  position: fixed;
  right: 0;
  bottom: 0;
  font-size: 50px;
  color: #fff;
  background: rgba(0,0,0,0);
  padding: 10px;
  cursor: pointer;
  transition: .3s;
  /*デフォルトで非表示にする*/
  opacity: 0;
  visibility: hidden;
}
.upbutton img{
    width: 50px;
    height: 70px;
}

/*このクラスが付与されると表示する*/
.active{
  opacity: 1;
  visibility: visible;
}
/*上へ戻るボタン--------------------------------------*/





.footer{
    margin-top: 100px;
    display:flex;
    justify-content: center;
    background-image: url(pic/footer.jpg);
    background-size: cover;
    color: white;
    font-family: serif;
}
.copy{
    background-color: black;
    font-family: serif;
    color: wheat;
    text-align: center;
}
.copy p{
    margin-top: 0px;
}

/*スマホ以外OK設定--------------------------------------*/
@media screen and (min-width: 768px){
.br-sp {display: none; }
}

/*スマホOK設定--------------------------------------*/
@media(max-width: 660px){
    body{
        margin: 0;
    }
    h2{
        font-size: 20px;
    }
.item2 {
  width: 100%;
    }
.wrapper{
    display: block;
}   
.first{
  width:100vw;
  height: 40vh;
}

.second{
    width: 100vw;
    height: 40vh;
    margin-top: -10px;
    padding-top:60px;
}
    
.header img{
  width:300px;
  height:60px;
}
.headnav {
  display: none;
}
.menu a{
  text-decoration: none;
}
.menu ul{
  list-style-type: none;
}
.burger{
  display: flex;
    }
p{
    margin: 0.5em 0px;
    }
.leftAnimeInner2{
    font-size: 1rem;
    font-family: serif;
}    

.news {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding-top:70px;
}
.colum{
    padding-bottom: 5px;
    }
.news-button{
    margin-top: 30px;
    margin-bottom: 80px;
    }

.footer{
    margin-top: 50px;
    display:block;
}
.footer a{
    font-size: 15px;    
    }
    .footer img{
        display: none;
    }
    .cat3{
        display: none;
    }
    .cat4{
        display: none;
    }
}













