@charset "UTF-8";

/* html {
} */

body {
    font-size: 62.5%;
    font-family: 'Yusei Magic', sans-serif;
}

:root {
    /* --color-olive-drab: #98FF98;
    --color-dark-sea-green: #A7F3D0;
    --color-tan-suede: #66CDAA; */
    --green: #98FF98;
    --bg: #FFFCB8;
    --white: #ffffff;
    --blue: #007EFF;
    --lightblue: #c6ffff;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.0rem;
    margin-bottom: 2.0rem;
}

header div {
    background-color: var(--lightblue);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 6.0rem;
}

h1 {
    font-size: 1.8rem;
    text-align: center;
}

h1 br {
    display: block;
}


nav ul {
    display: flex;
    font-size: .8rem;
    list-style: none;
}

nav li {
    padding: 0 1.0rem;
    /* 各liの左右に余白を設定します */
}

nav li::after {
    content: "|";
    /* 疑似要素として|を挿入します */
    margin-left: 2.0rem;
    /* |の左側に余白を設定します */
}

nav li:last-child::after {
    content: none;
    /* 最後のli要素の後に|を挿入しないようにします */
}


nav li a {
    color: #000;
    text-decoration: none;
    transition: color .2s ease;
}


nav li a:hover,
nav li a:focus-visible {
    color: var(--blue);
}


/* main {
    background-color: var(--white);
} */

main {
    max-width: 1000px;
    margin: 0 auto;
}

h2 {
    font-size: 1.6rem;
    text-decoration: underline;
    text-decoration-color: var(--bg);
    text-decoration-thickness: .5rem;
    text-underline-offset: -0.2rem;
    margin-top: 3.0rem;
    margin-bottom: 1.0rem;
    position: relative;
    /* 疑似要素配置用 */
    padding-left: 3.0rem;
    /* 画像分の余白を追加 */
}

h2::before {
    content: "";
    display: inline-block;
    width: 40px;
    /* 画像サイズ */
    height: 40px;
    background: url("../images/sun_square.png") no-repeat center center;
    background-size: cover;
    /* 画像を枠に収める */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    /* 縦中央揃え */
}

section {
    display: flex;
    flex-direction: column;
    gap: 2.0rem;
}

p {
    font-size: 1.2rem;
}

img {
    width: 90%;
    height: auto;
    object-fit: cover;
}

.alexa_icon {
    width: 300px;
    height: 300px;
    object-fit: cover;
}

.day-box {
    background-color: var(--bg);
    padding: 2.0rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}


.day-text {
    width: 90%;
    line-height: 2.0;
}

.day {
    font-size: 1.4rem;
    margin-bottom: 1.0rem;
    text-decoration: underline;
    text-decoration-color: var(--green);
    text-decoration-thickness: .5rem;
    text-underline-offset: -0.2rem;
}

.day2 {
    font-size: 1.4rem;
    margin-bottom: .2rem;
    margin-top: 1.0rem;
    text-decoration: underline;
    text-decoration-color: var(--lightblue);
    text-decoration-thickness: .5rem;
    text-underline-offset: -0.2rem;
}


.meigen {
    background-color: var(--bg);
    padding: 2.0rem;
    width: 100%;
}

.meigen-text {
    text-decoration: underline;
    text-decoration-color: var(--green);
    text-decoration-thickness: .3rem;
    text-underline-offset: -0.2rem;
}

ul {
    font-size: 1.0rem;
    list-style-type: disc;
    /* 黒丸 */
    list-style-position: outside;
    /* 黒丸を外側に配置（通常の位置） */
    margin-left: 1.5em;
    margin-bottom: 2.0rem;
}

footer {
    text-align: center;
    background-color: var(--lightblue);
    margin-top: 2.0rem;
    height: 80px;
    /* ← 高さを固定 */
    display: flex;
    /* 中身を中央寄せしたい場合 */
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 320px) and (max-width: 404px) {
    h1 {
        font-size: 1.5rem;
    }

    nav ul {
        font-size: .5rem;
    }

    .alexa_icon {
        width: 250px;
        height: 250px;
        object-fit: cover;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    nav ul {
        font-size: 2.0rem;
    }

    .day-box {
        flex-direction: row;
        gap: 2rem;
    }

    img {
        width: 300px;
        height: auto;
        object-fit: cover;
    }
}



@media screen and (min-width: 1025px) {

    h1 {
        font-size: 3.0rem;
        text-align: center;
    }

    h2 {
        font-size: 2.0rem;
    }

    h1 br {
        display: none;
    }

    nav ul {
        font-size: 2.4rem;
    }


    .day-box {
        flex-direction: row;
        gap: 2rem;
    }
}