* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic Pro", "Meiryo", "MS Gothic", sans-serif;
  background-color: #2a2a2a;
  color: #333;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.container {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  background-color: #e5e5e5;
  position: relative;
  z-index: 1;
}

/* Sidebar */
.sidebar {
  width: 220px;
  background-color: #3a3a3a;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 10px;
  flex-shrink: 0;
}

.logo-box {
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, #4aa3e0 0%, #2d8cd0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 5px;
  position: relative;
  border: 3px solid #555;
}

.logo-box::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, transparent 50%, #555 50%);
  box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo-text {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

.copyright {
  font-size: 10px;
  color: #aaa;
  text-align: center;
  margin-bottom: 15px;
  padding: 0 5px;
}

.sidebar nav ul {
  list-style: none;
  width: 100%;
}

.sidebar nav ul li {
  margin-bottom: 2px;
}

.sidebar nav ul li a {
  display: block;
  padding: 10px 15px;
  color: #e0e0e0;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.2s;
}

.sidebar nav ul li a:hover {
  background-color: #444;
}

.sidebar nav ul li a.active {
  background-color: #4aa3e0;
  color: #fff;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  text-align: center;
}

.sidebar-footer p {
  font-size: 12px;
  color: #ccc;
  margin-bottom: 15px;
  line-height: 1.5;
}

.btn-youtube,
.btn-new-site {
  display: block;
  width: 180px;
  margin: 5px auto;
  padding: 8px;
  background: linear-gradient(to bottom, #7a7a7a, #5a5a5a);
  border: 1px solid #444;
  border-radius: 4px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
}

.btn-youtube:hover,
.btn-new-site:hover {
  background: linear-gradient(to bottom, #8a8a8a, #6a6a6a);
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Header Banner */
.header-banner {
  position: relative;
  height: 120px;
  background: linear-gradient(90deg, #4aa3e0 0%, #5cb3e0 50%, #4aa3e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 4px solid #333;
}

.header-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(90deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.08) 40px,
      rgba(255, 255, 255, 0.08) 80px);
}

.header-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: overlay;
}

.banner-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-text h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 5px;
  letter-spacing: 2px;
}

.banner-text .sub {
  font-size: 14px;
  margin-bottom: 3px;
}

.banner-text .tagline {
  font-size: 14px;
}

/* Content Wrapper */
.content-wrapper {
  display: flex;
  padding: 15px;
  gap: 15px;
  flex: 1;
}

.welcome-box {
  width: 380px;
  flex-shrink: 0;
  background-color: #d5d5d5;
  padding: 15px;
  border-radius: 2px;
  min-height: 160px;
}

.right-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.welcome-box h2 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #444;
}

.welcome-box p {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

/* News Section */
.news-section {
  flex: 2;
  display: flex;
  flex-direction: column;
}

.news-header {
  background-color: #6d6d6d;
  color: #fff;
  padding: 8px 15px;
  font-size: 14px;
  border-radius: 4px 4px 0 0;
}

.news-item {
  background-color: #e0e0e0;
  padding: 12px 15px;
  border-bottom: 1px solid #ccc;
}

.news-item:last-child {
  border-radius: 0 0 4px 4px;
}

.news-item h4 {
  font-size: 14px;
  margin-bottom: 5px;
  color: #444;
}

.news-item p {
  font-size: 13px;
  color: #555;
  margin-bottom: 5px;
}

.news-item ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 13px;
  color: #555;
}

.toggles {
  display: flex;
  gap: 8px;
  padding-left: 2px;
}

.toggle-btn {
  display: inline-block;
  width: 40px;
  height: 12px;
  background-color: #ccc;
  border: 1px solid #999;
  border-radius: 2px;
}

.toggle-btn.dark {
  background-color: #555;
}

/* Footer Banner */
.footer-banner {
  display: flex;
  height: 140px;
  margin-top: auto;
  border-top: 4px solid #333;
}

.banner-left {
  width: 160px;
  background: linear-gradient(135deg, #4aa3e0, #2d8cd0);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #555;
  margin: 10px 0 10px 10px;
}

.mini-logo {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.banner-center {
  flex: 1;
  background: linear-gradient(135deg, #c8b898, #a89878);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px;
  text-align: center;
  color: #3a3020;
}

.center-text {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.center-sub {
  font-size: 14px;
  color: #4a4030;
}

.banner-right {
  width: 200px;
  background: linear-gradient(135deg, #1a3a5a, #0d2040);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin: 10px 10px 10px 0;
  padding: 10px;
  font-size: 14px;
  line-height: 1.4;
}