* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    background: #f2f2f2;
}

/* Top bar */
.topbar {
    background: #6a1b9a;
    color: #fff;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar input {
    padding: 4px;
}

/* Banner */
.banner {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.banner img {
    width: 1200px;
    height: 300px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.banner-text {
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 10px 25px;
    font-size: 30px;
    font-weight: bold;
}

/* Menu */
.menu {
    background: #ffffff;
    text-align: center;
    padding: 10px 0;
    border-bottom: 2px solid #4caf50;
}

.menu a {
    text-decoration: none;
    margin: 0 15px;
    color: #333;
    font-weight: bold;
}

.menu a:hover {
    color: #2e7d32;
}

/* Layout */
.main {
    width: 1200px;
    margin: 20px auto;
    display: flex;
    gap: 20px;
}

/* Left */
.left {
    width: 75%;
    background: #fff;
    padding: 20px;
}

.left h2 {
    color: #c62828;
}

/* Notice */
.notice {
    list-style: none;
    padding-left: 0;
}

.notice li {
    padding: 6px 0;
    border-bottom: 1px dotted #ccc;
}

.notice a {
    color: #1b5e20;
    font-weight: bold;
    text-decoration: none;
}

.notice a:hover {
    text-decoration: underline;
}

/* Image boxes */
.image-box {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.image-box img {
    width: 600px;
    height: 400px;
    object-fit: cover;
    border: 1px solid #ccc;
    background: #fff;
    padding: 4px;
}

/* Right */
.right {
    width: 25%;
    background: #fff;
    padding: 20px;
    text-align: center;
}

.right img {
    width: 150px;
    height: 180px;
    object-fit: cover;
    border: 1px solid #ccc;
}

/* Footer */
.footer {
    background: #2e7d32;
    color: #fff;
    text-align: center;
    padding: 12px;
    margin-top: 30px;
}

.image-box-vertical {
    margin-top: 20px;
}

.image-box-vertical img {
    width: 100%;
    height: auto;          /* KEY */
    display: block;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}
