@charset "UTF-8";
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
    font-family: 'Kosugi Maru', 'Rounded Mplus 1c', 'Noto Sans JP', 'Meiryo', 'Segoe UI', sans-serif;
    color: #2d3a2e;
}
.main-content {
    flex: 1;
}
.header-menu {
    background: #e0f2e9;
    color: #2d3a2e;
    padding: 0.9em 0;
    text-align: center;
    border-bottom: 2px solid #b2d8c5;
    box-shadow: 0 2px 8px #e0f2e9;
}
.header-menu a {
    color: #2d3a2e;
    margin: 0 1.2em;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.08em;
    transition: color 0.2s;
}
.header-menu a:hover {
    color: #3b7a57;
    text-decoration: underline;
}
.login-box, .logout-box {
    width: 400px;
    margin: 80px auto;
    background: #f8f9fa;
    border-radius: 18px;
    box-shadow: 0 2px 16px #e0f2e9;
    border: 1.5px solid #39a8b2;
}
.login-box h1, .logout-box h1 {
    margin-top: 0px;
    font-size: 1.4em;
    color: #FFFFFF;
    display: block;
}
.login-box label {
    display: block;
    margin-top: 1em;
    color: #4A4A4A;
    font-weight: bold;
}
.login-box input[type="text"], .login-box input[type="password"] {
    width: 100%;
    padding: 0.6em;
    margin-top: 0.3em;
    border: 1.5px solid #b2d8c5;
    border-radius: 8px;
    background: #fff;
    font-size: 1em;
    transition: border 0.2s;
    box-sizing: border-box;
}
.login-box input[type="text"]:focus, .login-box input[type="password"]:focus {
    border: 1.5px solid #3b7a57;
    outline: none;
}
.login-box button {
    margin-top: 1.5em;
    width: 100%;
    padding: 0.8em;
    background: #4A4A4A;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.08em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px #e0f2e9;
    transition: background 0.2s, color 0.2s;
}
.login-box button:hover {
    background: #222;
    color: #fff;
}
.error {
    color: #b22222;
    margin-top: 1em;
    background: #fff2f2;
    border-radius: 6px;
    padding: 0.5em 1em;
    border: 1px solid #f5bcbc;
}
.logout-box {
    text-align: center;
}
.logout-box h1 {
    margin-top: 30px;
    font-size: 1.4em;
    color: #205c3b;
    display: block;
}
.logout-box a {
    display: inline-block;
    margin-top: 0em;
    margin-bottom: 2em;
    color: #fff;
    text-decoration: none;
    font-size: 1.08em;
    background: #39a8b2;
    border-radius: 8px;
    padding: 0.7em 2em;
    border: none;
    font-weight: bold;
    box-shadow: 0 2px 8px #e0f2e9;
    transition: background 0.2s, color 0.2s;
}
.logout-box a:hover {
    background: #205c3b;
    color: #fff;
}
.cms-footer {
    text-align: center;
    color: #fff;
    background: #444;
    font-size: 0.85em;
    margin: 0;
    margin-top: auto;
    border-top: 1.5px solid #222;
    padding: 0.5em 0 0.3em 0;
    border-radius: 0;
    box-shadow: 0 -2px 8px #e0f2e9;
    width: 100%;
    max-width: 100vw;
}
.login-title {
    text-align: center;
    border-bottom: 2px solid #39a8b2;
    border-radius: 16px 16px 0px 0px;
    background: #39a8b2;
    padding: 0.7em 0.5em;
    margin-bottom: 0;
    font-size: 1.3em;
    color: #205c3b;
    width: 100%;
    box-sizing: border-box;
}
.login-box form {
    padding: 0;
    margin: 0;
}
.login-form-area {
    padding: 1.5em 1.2em;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow: 0 2px 8px #e0f2e9;
}
.login-form-title {
    font-size: 1.08em;
    color: #4A4A4A;
    margin-bottom: 1.2em;
    text-align: center;
    font-weight: bold;
}
.header-menu-flex {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #39a8b2;
    color: #fff;
    box-shadow: 0 2px 8px #e0f2e9;
}
.header-row {
    display: flex;
    align-items: center;
}
.header-row-top {
    padding: 0.1em 1em 0.1em 1em;
    border-bottom: 1px solid #e0f2e9;
    background: #39a8b2;
}
.header-row-bottom {
    background: #fff;
    padding: 0.5em 1em;
    border-bottom: 1px solid #e0f2e9;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 1em;
    font-weight: bold;
    font-size: 1.08em;
    color: #fff;
    flex: 0 0 auto;
    padding-right: 1em;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 1em;
    flex: 0 0 auto;
    padding-left: 1em;
}
.header-center {
    display: flex;
    align-items: center;
    gap: 0.5em;
    flex-wrap: wrap;
    padding: 0.5em 0;
}
.header-row-top .header-center {
    position: relative;
    overflow: hidden;
    min-height: 2em;
    display: flex;
    align-items: center;
    background: #fff;
    flex: 1 1 0%;
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
}
.notice-tag {
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    margin-right: 0.7em;
    vertical-align: middle;
    background: #e0e0e0;
    position: relative;
}
.notice-tag::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
}
.notice-tag.notice-important { background: #d32f2f; }
.notice-tag.notice-maintenance { background: #ff9800; }
.notice-tag.notice-info { background: #1976d2; }
.notice-tag.notice-foo { background: #8e24aa; }
.notice-tag.read, .notice-tag.unread {
    border-radius: 0;
    font-size: 0.78em;
    padding: 2px 6px;
}
#header-notify {
    position: absolute;
    white-space: nowrap;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95em;
    color: #4A4A4A;
    padding-left: 1em;
    padding-right: 1em;
    transition: all 0.4s;
}
.menu-link.menu-reserve-new {
    background: #d32f2f;
    color: #fff;
}
.menu-link.menu-reserve-new:hover {
    background: #b71c1c;
    color: #fff;
}
.header-row-bottom .menu-link {
    color: #333;
    background: #fff;
    font-weight: normal;
    border-radius: 6px;
    padding: 0.5em 0.3em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-size: 0.8em;
}
.header-row-bottom .menu-link:hover {
    background: #e0f2e9;
    color: #39a8b2;
}
.header-row-bottom .navi-item.has-submenu {
    position: relative;
}
.header-row-bottom .submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    color: #205c3b;
    min-width: 140px;
    width: auto;
    white-space: nowrap;
    box-shadow: 0 2px 8px #e0f2e9;
    border-radius: 0 0 8px 8px;
    z-index: 10;
    padding: 0.5em 0;
}
.header-row-bottom .navi-item.has-submenu:hover > .submenu {
    display: block;
}
.header-row-bottom .submenu .submenu {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
    width: auto;
    white-space: nowrap;
    background: #fff;
    color: #205c3b;
    box-shadow: 0 2px 8px #e0f2e9;
    border-radius: 0 8px 8px 8px;
    z-index: 20;
    padding: 0.5em 0;
}
.header-row-bottom .navi-item.has-submenu.open > .submenu {
    display: block;
}
.header-row-bottom .submenu a {
    display: block;
    color: #205c3b;
    padding: 0.5em 1em;
    text-decoration: none;
    font-weight: normal;
    font-size: 0.92em;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.header-row-bottom .submenu .submenu a::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0.8em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    color: #39a8b2;
    display: block;
}
.header-row-bottom .submenu .submenu a:hover::before {
    color: #205c3b;
}
.system-title {
    letter-spacing: 0.03em;
}
.system-version {
    font-size: 0.9em;
    color: #e0f2e9;
    margin-left: 0.4em;
}
.login-user-name {
    font-size: 0.6em;
    color: #FFFFFF;
    font-weight: normal;
    letter-spacing: 0.01em;
    border: 1.2px solid #4A4A4A;
    background: #333;
    padding: 0.5em 0.7em;
    display: inline-block;
    margin-left: 0.7em;
    border-radius: 6px;
    vertical-align: middle;
}
.menu-content-box {
    padding: 1.5em 1.2em;
}
.mobile-hamburger {
    display: none !important;
}
.mobile-menu {
    display: none !important;
}
.common-box {
    background: #f8f9fa;
    padding: 0.8em;
    max-width: 98vw;
    margin: 24px 15px 24px 15px;
} 
.common-box h1 {
    color: #39a8b2;
    font-size: 1.3em;
    margin-bottom: 1em;
} 
.footer-menu-mobile {
    display: none !important;
} 
.header-right a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: color 0.2s, background 0.2s;
    background: #4A4A4A;
    padding: 0.5em 1.2em;
    display: inline-block;
    border-radius: 6px;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}
/* サブメニューのスタイル */
.navi-item.has-submenu {
    position: relative;
}

.navi-item.has-submenu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: auto;
    white-space: nowrap;
    z-index: 1000;
}

/* サブメニューが開いている状態 */
.navi-item.has-submenu.open > .submenu {
    display: block;
}

/* サブメニュー内のリンク */
.navi-item.has-submenu .submenu .menu-link {
    padding: 8px 15px;
    display: block;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.navi-item.has-submenu .submenu .menu-link:hover {
    background-color: #e9ecef;
}

/* アクティブなメニュー項目 */
.navi-item.has-submenu .submenu .menu-link.active {
    background-color: #e9ecef;
    font-weight: bold;
}

/* 多段サブメニュー対応 */
.header-row-bottom .submenu .navi-item.has-submenu > .submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    color: #205c3b;
    width: auto;
    white-space: nowrap;
    box-shadow: 0 2px 8px #e0f2e9;
    border-radius: 0 8px 8px 8px;
    z-index: 20;
    padding: 0.5em 0;
}

/* アカウントサブメニューのアコーディオン形式 */
.header-row-bottom .submenu .navi-item.has-submenu > .submenu {
    position: static;
    left: auto;
    top: auto;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin-left: 0em;
}

.header-row-bottom .submenu .navi-item.has-submenu > .submenu .menu-link {
    padding-left: 2em;
    background: #EEEEEF !important;
    border-radius: 0 !important;
}

.header-row-bottom .submenu .navi-item.has-submenu.open > .submenu {
    display: block;
    background-color: #FEFEFE;
}

/* アクティブなメニュー項目のスタイル */
.navi-item.has-submenu .menu-link.active,
.navi-item.has-submenu .submenu .menu-link.active {
    background-color: #e0f2e9 !important;
    color: #39a8b2 !important;
    font-weight: bold;
}

/* アクティブな親メニューが開いた状態を維持 */
.navi-item.has-submenu .menu-link.active + .submenu,
.navi-item.has-submenu .submenu .menu-link.active + .submenu {
    display: block;
}

/* サブメニューのホバー効果 */
.navi-item:hover > .submenu {
    display: none;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.notice-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 0.7em 0.2em;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.notice-title {
    font-size: 1.05em;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.notice-content {
    font-size: 0.97em;
    color: #444;
    margin-left: 1.5em;
    margin-top: 0.3em;
}
.notice-confirm-btn {
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 0.3em 1.2em;
    font-size: 0.95em;
    font-weight: bold;
    margin-left: 10px;
    box-shadow: 0 2px 8px #e0f2e9;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.notice-confirm-btn:hover {
    background: #145ea8;
    color: #fff;
}
.notice-refresh-btn {
    background: none;
    border: none;
    color: #1976d2;
    font-size: 1.3em;
    cursor: pointer;
    vertical-align: middle;
    margin-left: 0.5em;
    transition: color 0.2s;
}
.notice-refresh-btn:hover {
    color: #d32f2f;
}
.notice-status {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    font-size: 0.78em;
    font-weight: bold;
    border-radius: 0;
    background: #eee;
    color: #888;
    vertical-align: middle;
}
.notice-status.unread {
    background: #1976d2;
    color: #fff;
}
.notice-status.read {
    background: #eee;
    color: #888;
}
.notice-legend {
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    border: 1.5px solid #b2d8c5;
    background: #f7fbfc;
    border-radius: 8px;
    padding: 0.2em 1em;
    margin-left: 1em;
    font-size: 0.92em;
}
.notice-legend .notice-tag {
    margin-right: 0.3em;
}

/* サブメニューの基本スタイル */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
    padding: 0.5em 0;
}

/* サブメニューが開いている状態 */
.navi-item.has-submenu.open > .submenu {
    display: block;
}

/* サブサブメニューのスタイル */
.submenu .submenu {
    top: 0;
    left: 0;
    margin-top: 0.5em;
    border-top: 1px solid #e0f2e9;
}

/* サブサブメニューの親メニュー項目のスタイル */
.submenu .navi-item.has-submenu > a {
    position: relative;
    padding-right: 2em;
}

.submenu .navi-item.has-submenu > a::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    color: #39a8b2;
}

/* アクティブなメニュー項目 */
.menu-link.active {
    background-color: #f5f5f5;
    color: #205c3b;
}

/* メインメニューのスタイル */
.navi-item {
    position: relative;
    white-space: nowrap;
}

.menu-link {
    display: block;
    padding: 0.5em 1em;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.menu-link:hover {
    background: #e0f2e9;
    color: #39a8b2;
}

/* サブメニューのスタイル */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
    padding: 0.5em 0;
}

/* サブメニューが開いている状態 */
.navi-item.has-submenu.open > .submenu {
    display: block;
}

/* サブサブメニューのスタイル */
.submenu .submenu {
    top: 0;
    left: 100%;
    margin-left: 2px;
}

/* アクティブなメニュー項目 */
.menu-link.active {
    background: #e0f2e9;
    color: #39a8b2;
    font-weight: bold;
}


/* 共通スタイル */
.container {
    padding: 15px;
}
.page-title {
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #333;
}