@charset "UTF-8";

/* ===== 基本設定 ===== */
body {
    margin: 26px;
    font-family: "UD デジタル 教科書体 NK-B";
    background: mediumaquamarine;
}

h1 {
    color: #fff0eb;
    font-size: 32px;
    font-family: "UD デジタル 教科書体 NK-B";
    border: 3px solid yellow;
    text-shadow: 2px 2px 2px orangered;
}

/* h1 グラデーション装飾（class="h1-grad" を付けると適用） */
h1.h1-grad {
    position: relative;
    padding: 6px;
    color: #fff;
    border: none;
    text-shadow: none;
    border-radius: 10px;
    background-image: linear-gradient(-225deg, #231557 0%, #44107a 29%, #ff1361 67%, #fff800 100%);
}

h1.h1-grad span {
    display: block;
    padding: 1rem 2rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, .2);
}

h2 {
    color: red;
    font-size: 24px;
    font-family: "UD デジタル 教科書体 NK-B";
    font-weight: 600;
    text-shadow: 2px 2px 2px white;
}

h3 {
    color: lime;
    font-size: 22px;
    font-family: "UD デジタル 教科書体 NK-B";
    font-weight: 600;
    text-shadow: 1px 2px 3px blue;
}

h4, h5 {
    color: orange;
    font-size: 20px;
    font-family: "UD デジタル 教科書体 NK-B";
    font-weight: 600;
    text-shadow: 1px 2px 3px black;
}

span {
    color: greenyellow;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 2px 3px blueviolet, 2px 3px 4px gold;
}


/* ===== ボタン ===== */
.button {
    padding: 2%;
}

.button a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 1em 2em;
    width: 160px;
    color: black;
    font-size: 13px;
    font-weight: 700;
    background-color: #ffffff;
    border-radius: 50vh;
    text-decoration: none;
    text-align: center;
}

.button a:visited div {
    background: linear-gradient(45deg, #B67B03 0%, #DAAF08 45%, #FEE9A0 70%, #DAAF08 85%, #B67B03 100%);
}

.button a:hover  { background-color: yellow; }
.button a:active { background-color: crimson; }


/* ===== サイドメニュー ===== */
.sidemenu {
    margin-top: 3%;
}

.sidemenu .button a {
    width: 45%;
    color: #333;
    font-size: 16px;
}

.sidemenu .button a:visited div {
    background: linear-gradient(45deg, #B67B03 0%, #DAAF08 45%, #FEE9A0 70%, #DAAF08 85%, #B67B03 100%);
}

.sidemenu .button a:hover  { background-color: yellow; }
.sidemenu .button a:active { background-color: crimson; }
