/* フォントの設定 */
.yomogi-regular {
    font-family: "Yomogi", cursive; /* Yomogiフォント */
    font-weight: 600;
    font-style: normal;
    font-size: 44px;
    margin: 10px;
}

.subtittle {
    font-size: 18px;
    font-weight: 100;
    margin: 10px;
}

/* カラーパレット */
:root {
    --accent-color: #135389; /* アクセントカラー */
    --base-color: #FBFEFF; /* ベースカラー */
    --text-color: #30343A; /* テキストカラー */
    --entry-background-color: white; /* エントリーの背景色 */
    --entry-border-color: var(--text-color); /* エントリーのボーダー色 */
    --entry-title-background-color: #ffddcc; /* エントリータイトルの背景色 */
}

/* 全体のスタイル */
body {
    font-family: "Yomogi", cursive; /* 全ての文字にYomogiフォントを適用 */
    background-color: var(--base-color); /* ベースカラー */
    color: var(--text-color); /* テキストカラー */
    margin: 80px;
    padding: 24px; /* 全体の余白 */
    
}

header {
    text-align: center; /* ヘッダーの中央揃え */
}

footer {
    text-align: center; /* フッターの中央揃え */
    margin-top: 50px; /* 上部マージン */
}

.footer-text {
    margin-top: 70px;
}

a {
    font-size: 18px;
}

nav {
    font-size: 18px;
}

h1 {
    font-size: 34px;
    margin-bottom: 40px;
    margin-top: 0%;
}

h3 {
    margin-left: 0px; /* h3 を少し左へ移動（数値は調整） */
}

h4, p {
    padding-left: 20px;
    margin:5px ;
}

li {
    padding: 5px;
}




/* コンテナのスタイル */
.container {
    max-width: 70%;      /* コンテナ全体の幅を80%に設定 */
    margin: 0 auto;      /* 左右のマージンを自動にして中央揃え */
    padding: 20px;       /* 内部に余白を設定 */
    background-color: var(--base-color); /* コンテナの背景色 */
}

@media (max-width: 768px) {
    .container {
        max-width: 120%; /* スマホサイズではコンテナ幅を90%にする */
    }
}


/* スクロール（下へ移動）ボタン */
#scroll-bottom {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    border: none;
    background: var(--accent-color);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scroll-bottom:hover {
    opacity: 0.92;
}

@media (max-width: 480px) {
    #scroll-bottom {
        right: 12px;
        bottom: 16px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
