* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, sans-serif;
    color: #000;
    background: #fff;
}

body {
    background-image: url('bg.jpg');
}

.container {
    width: 560px;
    max-width: 100%;
    margin: 30px auto;
    padding: 0;
}

.frame {
    background: rgba(255,255,255,0.95);
    border: 2px solid #000;
}

.banner {
    border-bottom: 2px solid #000;
}

.banner img {
    display: block;
    width: 100%;
    height: auto;
}

.main-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 10px;
    padding: 10px;
}

.nav-box {
    border: 2px solid #000;
    background: #fff;
    padding: 10px 8px 8px 8px;
    position: relative;
}

.nav-label {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 12px;
    text-transform: none;
}

.nav-list {
    border-left: none;
    padding-left: 0;
    height: auto;
    overflow: visible;
}

.nav-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list li {
    margin-bottom: 10px;
}

.nav-list a {
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    display: inline-block;
}

.disclaimer {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #000;
    line-height: 1.4;
}

.scroll-note {
    margin-top: 14px;
    font-size: 0.9rem;
}

.content-box {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}


.showcase-card {
    display: block;
    border: none;
    background: transparent;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
    min-width: 0;
}

.showcase-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-1px);
}

.showcase-picture img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border: 2px solid #000;
}

.showcase-title p {
    margin: 10px 0 0;
    font-size: 1rem;
    text-decoration: underline;
    text-align: center;
}

.content-card {
    border: 2px solid #000;
    background: #fff;
    padding: 14px;
}

.content-card h1 {
    margin: 0 0 10px;
    font-size: 1.8rem;
}

.content-card p {
    margin: 0 0 10px;
    font-size: 1rem;
    line-height: 1.4;
}

.image-box {
    border: none;
    padding: 0;
    margin: 0 -14px -14px;
    width: calc(100% + 28px);
    background: transparent;
}

.image-box img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

