/* i gave up :< */
@font-face {
    font-family: 'Noto Sans JP Variable';
    src: url('@fontsource-variable/noto-sans-jp');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP Variable', Tahoma, Geneva, Verdana, sans-serif;
    
    background-color: #fff0f4; 
    background-image: radial-gradient(#f8d0da 2px, transparent 2px);
    background-size: 30px 30px;
    color: #5A2333;
}

.wrapper {
    display: flex;
    max-width: 1050px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 30px;
}

.sidebar {
    width: 260px;
    flex-shrink: 0; 
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #CF7B8D;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(207, 123, 141, 0.2);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0px 4px 6px rgba(90, 35, 51, 0.15));
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-link {
    text-decoration: none;
    color: #5A2333;
    background-color: #ffffff;
    padding: 12px 20px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 800;
    text-align: center;
    border: 2px solid #CF7B8D; 
    box-shadow: 0 4px 0px #CF7B8D;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: #CF7B8D;
    color: #ffffff;
    transform: translateY(2px);
    box-shadow: 0 2px 0px #ab5f70;
}

.lang-switch {
    margin-top: 10px;
    background-color: #fdf0f2;
    border-style: dashed;
}

.updates-box {
    background-color: #fff0f4;
    border: 2px dashed #CF7B8D;
    border-radius: 15px;
    padding: 15px;
    font-size: 0.9rem;
    height: 140px;
    overflow-y: auto;
}

.updates-box h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    text-align: center;
    color: #CF7B8D;
}

.updates-box p {
    margin: 5px 0;
    border-bottom: 1px dotted #CF7B8D;
    padding-bottom: 5px;
}

.main-content {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #CF7B8D;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(207, 123, 141, 0.2);
}

.welcome-banner h1 {
    margin-top: 0;
    font-size: 2.2rem;
    color: #CF7B8D;
    border-bottom: 3px dashed #f8d0da;
    padding-bottom: 15px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.grid-item {
    background-color: #fdf0f2;
    border: 2px solid #CF7B8D;
    border-radius: 15px;
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    color: #CF7B8D;
    box-shadow: 0 4px 0px rgba(207, 123, 141, 0.3);
    transition: transform 0.2s;
    cursor: pointer;
}

.grid-item:hover {
    transform: scale(1.05);
}

.footer-area {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 3px dashed #f8d0da;
    font-size: 0.9rem;
}

@media (max-width: 800px) {
    .wrapper {
        flex-direction: column;
        align-items: center;
    }
    .sidebar {
        width: 100%;
        max-width: 400px;
        box-sizing: border-box;
    }
    .main-content {
        width: 100%;
        box-sizing: border-box;
        padding: 25px;
    }
}