@charset "UTF-8";

/* 全体 */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #e8ecef;
    color: #333;
    line-height: 1.6;

    font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

/* ヘッダー */
header {
    text-align: center;
    padding: 20px 0;
}

h1 a {
    text-decoration: none;
    color: silver;
    -webkit-text-stroke: 1.5px #4b3832;
    font-size: 2em;

    font-family: "Prata", serif;
  font-weight: 400;
  font-style: normal;
}

/* メイン */
main.section {
    display: flex;
    justify-content: center;
}

main.section .content {
    max-width: 800px;
    width: 100%;
}


/* 見出し */
h2 {
    color: #00608d;
}

/* 定義リスト */
dl {
    margin: 0;
}

dt {
    font-weight: bold;
    margin-top: 20px;
    color: #1c305c;
}

dd {
    margin-left: 0;
    padding-left: 10px;
    color: #333;
}

/* フッター */
footer {
    background-color: #c0c6c9;
    color: #333;
    text-align: center;
    padding: 15px 10px;
    font-size: 1.3em;
    border-top: 1px solid #ddd;
    margin-top: 40px;
}

footer a {
    color: #555;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #e8ecef;
}

.footer-top,
.footer-bottom {
    margin-bottom: 10px;
}

.footer-copy {
    font-size: 12px;
    color: #777;
}

@media (max-width: 600px) {
    /* ヘッダー */
    header {
        padding: 15px 0;
    }

    h1 a {
        font-size: 1.5em;
        -webkit-text-stroke: 1px #4b3832;
    }

    /* メインセクション */
    main.section {
        flex-direction: column;
        padding: 0 10px;
    }

    main.section .content {
        width: 100%;
        max-width: 100%;
    }

    /* 見出し */
    h2 {
        font-size: 1.2em;
    }

    /* 定義リストの余白調整 */
    dt {
        margin-top: 15px;
    }

    dd {
        padding-left: 5px;
    }

    /* フッター */
    footer {
        font-size: 1em;
        padding: 10px 5px;
    }

    .footer-top,
    .footer-bottom {
        margin-bottom: 8px;
    }

    .footer-copy {
        font-size: 10px;
    }
}
