@charset "utf-8";

/*全体の設定*/
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* bodyの初期スタイル調整 */
body {
  font-size: 16px;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, 'Noto Sans JP', "ヒラギノ角ゴ ProN W3", 'ヒラギノ角ゴ W3', "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  font-weight: 400;
  color: #333;
  background-color: #a3d6cc;
}


h1, h2, h3, h4 {
  line-height: 1.5;
}


p {
  margin: 0.1em 0px; 
}



.blue {
  color: blue;
}




.text-center {
 text-align: center;
}






/* header全体を画面に固定する */
header{
    position: absolute;
    top:0;
    left:0;
    z-index: 10;
    width: 100vw;
    height: 105px;
    background: #ffffe0;
}




.topimg1 {
    position: absolute;
    top: 14px;
    left: 2px;
    z-index: 120;
    }



.topimg2 {
    display: none;
}





/* メインイメージを大きいものに代える。 */
@media screen and (min-width: 768px){
.topimg2 {
    position: absolute;
    top: 18px;
    left: 10px;
    z-index: 120;
    width: 651px;
    height: 80px;
    display: block;
}
}


@media screen and (min-width: 768px){
.topimg1 {
    display: none;
}
}







#header-content{
    border-top: 10px solid #228b22;
}






/*ナビゲーションの装飾*/

ul{
    background: #2e8b57;
    text-align: center;
}


ul.gnav-list1 {
    width:100vw;
    position: absolute;
    top: 105px;
    left: 0;
}


ul.gnav-list1 li {
    display: inline-block;
    position: relative;
}

ul.gnav-list1 li a {
    display: block;
    padding-top: 0.6em;
    padding-bottom: 0.6em;
    padding-left: 0.2em;
    padding-right: 0.2em;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}
ul.gnav-list1 li a::after {
    content:url(../img/arrow.png);
    margin-top: 2px;
    margin-left: 4px;
    vertical-align: middle;
}
ul.gnav-list1 li a:hover {
    background: #bee0ce;
}




/*下層リストの表示/非表示の設定*/
ul.sub-list1 {
    position: absolute;
    top:100%;
    left: 0;
    display: none;
}

ul.sub-list1 li {
    width: 100%;
}

ul.gnav-list1 li:hover>ul.sub-list1 {
    display: block;
}


/* その他の設定 */
main{
    display: block;
    margin-top: 160px;
}

#main-contents{
background-color: #FFFFEB;
    height: auto;
    width: 95%;
    max-width: 600px;
    margin:0 auto 40px;
    padding: 20px;
}





/* メインナビをスムーズに拡大する */
@media screen and (min-width: 768px){
ul.gnav-list1 li a {
    padding-left: 0;
    padding-right: 0;
    width: 100px;
}
}








