@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');
@import url('https://fonts.googleapis.com/earlyaccess/hannari.css');

/************/
/*   要素   */
/************/
body, html{
    font-family: 'Courier New', serif;
    background-color: transparent;
    color: #333; 
}

header{
    background-color: rgb(177, 172, 121);
    color: #fff;
    padding: 0px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

header a{
    text-decoration: none;
    margin-left: 20px;
}

footer{
    background-color: rgb(177, 172, 121);
    color: #fff;
    text-align: right;
    padding: 15px 30px;
    font-size: 1.2rem; 
    max-width: 1200px;
    margin: 0 auto;
    font-weight: bold;
}

/**********/
/*   ID   */
/**********/

/* キャンバス */
#mainCanvas{
    position: fixed;
    top: 0;
    left: 0;
    z-index: -9999;
    pointer-events: none;
    background-color:  rgba(47, 52, 63, 1); 
    height: 100vh;
    width: 100vw;
}

/* ヘッダエリア */
#header-inner{
    display: flex;
    align-items: flex-center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
}

/* タイトル */
#site-title{
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    display: inline-block;
    font-family: 'Caveat', cursive;
}

/* ヘッダメニュー */
#header-nav{
    display: flex;
    gap: 10px;
    align-items: center;
}

/* ヘッダメニュー内の「a」タグ */
#header-nav a{
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 1.2rem;
}

/* ヘッダメニュー内の「a」タグのカーソルセット時 */
#header-nav a:hover{
    text-decoration: underline;
}

/* メインエリア */
#main-area{
    max-width: 1260px;
    margin: 0 auto;
}

/**********/
/* クラス */
/**********/

.logo-set{
    display: flex;
    align-items: center;
    gap: 16px;
}

.main-logo{
    width: 80px;
    height: 80px;
}

.header-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tagline{
    font-size: 1rem;
    margin: 0;
    color: #fff;
    font-family: "hannari";
}

/*** スマホ用デザイン ***/
@media screen and (max-width: 768px){
/*** ID ***/
    /* ヘッダエリア */
    #header-inner{
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    /* ヘッダメニュー */
    #header-nav{
        margin-top: 10px;
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* ヘッダメニュー内の「a」タグ */
    #header-nav a{
        display: inline-block;
        padding: 10px 20px;
        background-color: #0b4e6e;
        color: rgb(240, 233, 226);
        border-radius: 5px;
        text-decoration: none;
        margin: 5px;
        width: 80px;
        font-size: 1rem;
    }

/*** ID ***/
    .logo-set{
        gap: 10px;
    }

    .header-text{
        align-items: flex-start;
    }
 }