body {
    margin-top: 85px; /* header+notice分 */
}

#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 10;
    display: none;
}

#notice {
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 25px;
    font-size: 14px;
    background-color: #ff4b00;
    color: #fff;
    z-index: 1;
    transition: transform .3s ease;
    white-space: nowrap;
    overflow: hidden;
}

#notice.scrolled {
    transform: translateY(-100%);
}

#notice.scrolled + header {
    top: 0;
}

#notice > span {
    display: none;
}

@keyframes scroll-notice {
    0% { transform: translateY(-100%) translateX(0) scaleY(.2); }
    5% { transform: translateY(2px) translateX(0); }
    7% { transform: translateY(0) translateX(0) scaleY(1); }
    15% { transform: translateY(0) translateX(0) scaleY(1); }
    100% { transform: translateY(0) translateX(-120%) scaleY(1); }
}

header {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 20px;
    position: fixed;
    top: 25px;
    left: 0;
    right: 0;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease, background-color 0.3s ease;
}

header::before {
    content: '';
    position: absolute;
    background-color: #fff;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: 0.3s ease;
    z-index: -1;
}

header.scrolled::before {
    height: 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
}

.header-text {
    margin-left: 20px;
    font-weight: bold;
}

.header-text span {
    font-size: 14px;
}

.header-text div {
    margin: 0;
    font-size: 20px;
}

#menu-btn {
    display: block;
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 11;
}

#menu-btn svg {
    width: 80px;
    height: 80px;
}

#modal-menu {
    position: fixed;
    inset: 0;
    margin: auto;
    width: 60%;
    height: 90%;
    background-color: #ffffff;
    z-index: 11;
    display: none;
    transform-origin: top center;
}

.container {
    display: flex;
    flex-direction: row;
    width: 80%;
    margin: 40px auto;
}

.container main {
    flex: 1;
    width: 70%;
    padding: 20px;
}

.container aside {
    width: 30%;
    padding: 20px;
    border-left: 1px solid #eee;
}


footer {
    text-align: center;
    padding: 10px 0;
    background-color: #f5f5f5;
    border-top: 2px solid #8cc63f;
}

.footer-info {
    width: 70%;
    margin: 10px auto 20px;
    text-align: left;
}

footer span {
    display: block;
    margin: 5px 0;
}

.footer-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}
