@charset "utf-8";
/*font-family: "Noto Sans JP", serif;*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');


/*=====ボディ設定*/
html {
    font-size: 62.5%;
    line-height: 1;
    color: #111;
    font-family: "Noto Sans JP", serif;
}

body {
    font-size: 1.6rem;
    overflow: hidden;
}

/* ヘッダ（全ページ共通）------------ */

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1c2b20;   
    padding: 20px 0 0;
    z-index: 5;
    position: fixed;
    background-color: #fff;
   

}

header h1 {
    
    margin-left: 20px;
    margin-bottom: 20px;
    display        : inline-block;
  color          : #FFCA58;            /* 文字の色 */
  font-size      : 36pt;  
  font-weight: 700;             /* 文字のサイズ */
  letter-spacing : 0px;                /* 文字間 */
  text-shadow    : 
       2px  2px 1px #000,
      -2px  2px 1px #000,
       2px -2px 1px #000,
      -2px -2px 1px #000,
       2px  0px 1px #000,
       0px  2px 1px #000,
      -2px  0px 1px #000,
       0px -2px 1px #000;        /* 文字の影 */
   
    
}


/* グローバルナビゲーション---- */
.nav_con_li {
    display: none;
}

.nav_box {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    list-style: none;
    margin-right: 20px;
    z-index: 8;
    
}

.nav_box a {
    text-decoration: none;
    color: #1c2b20;
    font-size: 2rem;
    
}
.nav_box li {
    width: auto;
    
}

.nav_box a:hover {
    color: #045c3a;
    font-weight: bold;
}


/* フッタ-------- */
footer {
    margin: 0 auto;
    text-align: center;
    background-color: #3D9AF0;
    padding: 30px 0;
}
h4 {
    margin: 30px auto;
    font-size: 3rem;
    
}
/*=====ブレークポイント 640px =====*/
@media screen and (max-width: 680px) {
    /*ここにレスポンシブ対応のcssを入れる*/

    /*=====イメージ*/
    img {
        max-width: 100%;
        height: auto;
    }

    header{
        display: block;
    }

    header h1{
        font-size      : 24pt; 
    }
    /* &ハンバーガー--------- */
.nav_con {
    width: 35px;
    display: grid;
    gap: 7px;

}


.nav_con_li {
    display: block;
    border: 3px solid #FFCA58;
    border-radius: 2px;
    
}


/* ナビゲーションコントローラー */
.nav_con {
    width: 40px;
    display: grid;
    gap: 7px;
    position: absolute;
        top: 25px;
        right: 5%;
        
}


/* ナブコンにクラスが付与されたとき */
.nav_con.is_open li {
    transition: all .2s ease;
}

.nav_con.is_open li:nth-child(1) {
    position: relative;
    top: 12px;
    transform: rotate(45deg);
}

.nav_con.is_open li:nth-child(3) {
    transform: rotate(-45deg);

}

.nav_con.is_open li:nth-child(2) {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    height: 0;
}



/*& グローバルナビゲーション（全ページ共通） */



.global_nav {
    display: none;                  /* 初期は非表示 */
    position: absolute;             /* 画面上の位置を自由に設定 */
    top: 70px;                         /* 上端に合わせる */
    right: 0;                       /* 右端に合わせる */
    width: 50%;                      /* 右半分の幅 */
    background-color: #F6F4E7;
    padding-top: 10px;
    padding-bottom: 10px;
}


.nav_box {
    width: 100%;
    margin: 0 auto;
    display:block ;
   text-align: right;
    list-style: none;
    margin-right: 20px;
}



.nav_box li {
    margin: 0 5%;
    border-bottom: 2px solid #FFCA58;
    
}

.nav_box li a {
    font-weight: 500;
    color: #1c2b20;
    font-size: 1.6rem;
    text-decoration: none;
    display: inline-block;
    padding: 25px;
}

.nav_box li a :hover{
    color: #FFCA58;
    font-weight: bold;
}


}

