@charset"utf-8";

/*初期値リセット*/
*{
  margin: 0;
  padding: 0;
}
body{
  font-family: sans-serif;
  line-height: 1;
  color: #333;
}
ul{
  list-style: none;
}
a{
  text-decoration: none;
  color: inherit;
  display: block;
}
img{
max-width: 100%;
vertical-align: bottom;
}

.spnav, .btn{
  display: none;
}

/*コンテンツ幅*/
.container{
 max-width:960px;
 margin-inline: auto;
 padding-inline: 10px;
}

/*header画像*/
header{
 margin-bottom: 10px;
 height:150px;
 color:#fff;
 background:#900
  url(../img/header.jpg)
  no-repeat 
  right top;
}
h1{
 padding: 20px 0 30px 0;
}

/* Gr navigation */
.pcnav ul{
 margin-bottom: 10px;
 display: flex;
 justify-content: 
  space-between;
 list-style:none;
 padding-left:0;
}

.pcnav li{
 width: 18%;
 line-height: 25px;
 text-align:center;
}

.pcnav a{
 border: 1px solid #900;
 color:#900;
 text-decoration:none;
 background:#fdc;
 display:block;
}

.pcnav a:hover{
 color:#fff;
 background:#900;
}

/*main*/
section{
  margin-bottom: 20px;
}
h2,h3{
 margin-bottom: 20px;
 padding: 9px 0 7px 10px;
 color:#fff;
 background:#900;
}
main img{
 float:left;/*左に浮かせる*/
 margin-right:15px;/*右外側の余 白調整*/
}
main p{
 padding-left: 10px;
 line-height: 1.5;
 overflow:hidden;/*floatした時に崩れた状態を調整*/
}

footer{
 padding: 20px 0 20px 10px;
 border-top:1px solid #900
}





/*メディアクエリ*/
@media screen and (max-width:743px) {
  /*header*/
  header{
    height: 120px;
  }
  header p{
    font-size: 14px;
  }
  /*navigation*/
  .pcnav{
    display: none;
  }
  .btn{
    display: block;
    width: 50px;
    text-align: center;
    font-size: 35px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 5px;
    position: absolute;
    top: 5px;
    right: 5px;
  }
  .btn i{
    line-height: 50px;
  }
  .spnav{
    display: block;
    position: absolute;
    width: 100%;
    top: 59px;
    left: 0;
  }
  .spnav li{
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    font-weight: bold;
  }
  .spnav a{
    color: #900;
    background: rgba(255, 221, 204, 0.8);
    border-top: 1px solid #900;
  }

  /*フロート解除*/  
  main img{
    float: none;
    display: block;
    margin: 0 auto 10px;
  }
}


