.t {
    font-family: "HGP明朝E", "メイリオ";
    font-size: 36px;
    font-weight: bolder;
}
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    overflow-y: auto;
    padding: 20px;
}

h1 {
    font-family: "HGP創英ｺﾞｼｯｸUB", "メイリオ";
    font-size: 30px;
    font-weight: bold;
}

.border-dashed {
    border-style: dashed !important;
}

.top-bar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    padding: 0 15px;
    z-index: 1000;
}
.top-bar h1 {
    margin: 0;
    font-size: 1.2rem;
    margin-left: 15px;
    font-weight: normal;
}
.wrapper {
    display: flex;
    height: calc(100% - 50px); /* Adjust for top-bar height */
    overflow: hidden;
}
#sidebar {
    width: 350px;
    height: 100%;
    overflow-y: auto;
    transition: margin-left 0.3s;
}
.main-content {
    flex-grow: 1;
    height: 100%;
    overflow: hidden;
}
#contentFrame {
    width: 100%;
    height: 100%;
    border: none;
    overflow: auto;
}
.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
}

.card .icon {
    width: 200px;
    height: auto;
}

.text-emphasis {
    color: red;
}

.text-color-blue {
    color: blue;
}

.text-background-gray {
    background-color: lightgray;
}

.text-icon-baseline {
    height: 1em; /* フォントサイズに一致 */
    width: auto; /* アスペクト比を維持 */
    vertical-align: baseline; /* テキストの中央に揃える */
}

@media (max-width: 768px) {
    .top-bar {
        justify-content: space-between;
    }
    .top-bar h1 {
        font-size: 1rem;
    }
    #sidebar {
        position: fixed;
        left: -350px;
        top: 50px;
        bottom: 0;
        z-index: 999;
        background: white;
        transition: left 0.3s;
    }
    #sidebar.active {
        left: 0;
    }
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
    .main-content {
        margin-left: 10px;
    }
}

.content-area {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 800px) {
    .content-area {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .content-area {
        padding-left: 0;
        padding-right: 0;
    }
    body {
        padding: 0;
    }
}

#sidebar .nav-link {
    color: #495057;
    background-color: transparent;
    transition: all 0.4s ease;
}

#sidebar .nav-link:hover {
    color: #007bff;
    background-color: #e9ecef;
}

#sidebar .nav-link.active {
    color: #ffffff;
    background-color: #007bff;
    font-weight: bold;
}

#sidebar .nav-link.active:hover {
    background-color: #0056b3;
}

/*居中-miya*/
.center-text {
    text-align: center;
}
/*表格美化-miya*/
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f9f9f9;
}
table {
    width: 100%; /* 表格宽度 */
    margin: 20px auto; /* 居中表格 */
    border-collapse: collapse; /*边框合并 */
    box-shadow: 0 4px 8px #949494; /* 添加阴影 */
    /*border-radius: 8px;  圆角边框 */
    /*overflow: hidden; 修复圆角效果 */
    background-color: white; /* 表格背景色 */
}
th,
td {
    padding: 15px; /* 单元格内边距 */
    text-align: center; /* 内容居中 */
    border-bottom: 1px solid rgba(70, 70, 70, 0.9); /* 底部边框 */
    border-right: 1px solid #676767; /* 列的边框粗细 */
}
th {
    background-color: #bcbcbc; /* 表头背景色 */
    color: white; /* 表头字体颜色 */
    text-transform: uppercase; /* 字母大写 */
}
tr:hover {
    background-color: #f1f1f1; /* 鼠标悬停行高亮 */
}
tr:nth-child(even) {
    background-color: #f9f9f9; /* 奇偶行样式 */
}
/*去掉指定li前面的点点*/
.no-bullet {
    list-style-type: none; /* 去掉项目符号 */
}

.image-row {
    display: flex;
    justify-content: space-between; /* 图片之间均匀分布 */
    align-items: center; /* 垂直居中对齐 */
}
/*去掉超链接下划线*/
.no-underline {
    text-decoration: none;
}

img {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
