@charset "UTF-8";

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    color: #000000;
    line-height: 1;
    background-color: #ffffff;
}

img {
    max-width: 100%;
}

.header-innner {
    height: 110px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    display: block;
    max-height: 100px;
}

.sitemenu ul li {
    font-weight: bold;
    font-size: 20px;
    text-decoration: underline;
    text-underline-offset: 10px;
    margin-left: 20px;
    margin-right: 20px;
}


.sitemenu ul {
    display: flex;
}

.toggle-menu-button {
    display: none;
}


.footer {
    color: #ffffff;
    background-color: #003F6C;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    min-height: 61px;
    margin-top: auto;
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


.flex-container {
    display: grid;
    /* 画面幅に応じて、最小400pxのアイテムを可能な限り配置します */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    list-style: none;
    gap: 14px;
    padding-left: 0;
}

.flex-container img {
    max-width: 100%;
    border-radius: 10px;
}

.flex-container dt {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 5px;
    margin-bottom: 5px;
}

.flex-container dd {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 5px;
    margin-bottom: 5px;
    color: darkslategray;
    font-size: 15px;
}

.flex-container li {
    padding: 8px;
    border-radius: 14px;
}

.flex-container li:hover {
    background-color: #CFAC84;

}

.flex-container li:hover dt {
    color: blue;

}



.all-articles {
    padding-top: 45px;
    padding-bottom: 55px;
    padding-left: 60px;
    padding-right: 60px;
    background-color: #ECE0D1;
}

.all-articles h2 {
    padding-bottom: 55px;
    font-size: 35px;
    font-weight: bold;
    text-align: center;
}

.tetsuro {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
    font-family: 'Yuji Syuku', 'Noto Sans JP', sans-serif;
    font-size: 80px;

}

.tetsuro_number {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 20px;
    font-family: 'Yuji Syuku', 'Noto Sans JP', sans-serif;
    font-size: 50px;

}

@media (max-width: 768px) {
    .main {
        padding-top: 65px;
    }

    .sitemenu ul {
        display: block;
        text-align: center;
    }

    .sitemenu ul li {
        margin-top: 35px;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: #ffffff;
        height: 65px;
        z-index: 10;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }

    .header-innner {
        padding-left: 20px;
        padding-right: 20px;
        height: 100%;
        position: relative;
    }

    .header-logo img {
        display: block;
        max-height: 63px;
    }

    .header-site-menu {
        position: absolute;
        top: -100%;
        left: 0;
        right: 0;
        color: #ffffff;
        background-color: #003F6C;
        display: none;
        padding-top: 20px;
        padding-bottom: 50px;
        transition: all 0.3s;
    }

    .header-site-menu.is-show {
        display: block;
        top: 100%;
    }

    .toggle-menu-button {
        display: block;
        background-color: transparent;
        border: none;
        border-radius: 0;
        outline: none;
        font-size: 20px;
        height: 65px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .all-articles {
        padding-left: 20px;
        padding-right: 20px;
    }

}