@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');

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

body {
    position: relative;
    font-family: 'Segoe UI', sans-serif;
    color: #363636;
    background-color: #f4f4f4;
    display: flex;
    min-height: 100vh;
    line-height: 1.6;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    /* Safari */
}

a {
    color: #363636;
    text-decoration-line: underline;
}

a:hover {
    font-weight: 600;
}

/* ナビ */
nav {
    width: 240px;
    background-color: #363636;
    color: #ecf0f1;
    padding: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

nav span {
    display: block;
    text-align: center;
}

nav h1 {
    text-align: center;
    font-size: 1.2em;
}

nav h1 img {
    display: block;
    width: 2em;
    margin-right: 1rem;

}

nav ul {
    margin-bottom: 1em;
    list-style: none;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    display: block;
    padding: .5rem;
    border-radius: 4px;
}

nav ul li a:hover {
    font-weight: normal;
    background-color: #34495e;
}

/* メイン */
main {
    width: 100vw;
    flex: 1;
    padding: 1em;
}

main h2 {
    margin-bottom: 1em;
}

main span.day {
    display: block;
    text-align: right;
    font-weight: bold;
}

main p {
    margin-bottom: 1em;
}

main ul {
    list-style-type: none;
}

main ul#mokuji {
    margin-left: 1.5em;
    margin-bottom: 1em;
    list-style-type: circle;
}

main ul#mokuji li {
    display: list-item;
}

main>ul li {
    margin-bottom: 1em;
}

.common_box {
    margin-bottom: 1em;
}

.common_box .header_box {
    margin-bottom: 1em;
}

.common_box .main_box .overflow {
    overflow-x: auto;
}

.common_box .main_box table {}

h1 {
    padding: .2em;
    color: #f4f4f4;
    font-size: 1.5em;
    background-color: #363636;
}

h2 {
    font-size: 1.3em;
    border-left: .3rem solid #49729e;
    border-bottom: .1rem solid #363636;
}

h3 {
    font-size: 1em;
}

dl {
    margin-bottom: 1em;
}

dl ul {
    margin-left: 1em;
    list-style-type: circle;
}

dt {
    font-weight: bold;
}

dd {
    margin-left: 1em;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
    border: 1;
    font-size: 0.8em;
    white-space: nowrap;
}

th,
td {
    border: 1px solid #797979;
    padding: 8px 12px;
    text-align: center;
}

th {
    background-color: #f0f0f0;
    text-align: center;
}

/*フッター */
footer {
    width: 100%;
    display: flex;
    position: absolute;
    bottom: 0;
}

footer span {
    align-items: center;
}

/* ハンバーガーメニュー */
.content-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hamburger {
    display: none;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1000;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
}