body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-image: url('image/common/bg.jpg');
  color: #333;
  line-height: 1.6;
}

header {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.9);
}

h1 {
  margin: 0;
  font-size: 2rem;
}

h3 {
  background: rgba(255, 255, 255, 0.85);
  padding: 1rem;
}

h4 {
  background: rgba(255, 255, 255, 0.85);
  padding: 1rem;
}

.tagline {
  font-size: 1rem;
  color: #555;
}

main {
  padding: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.intro {
  background: rgba(255, 255, 255, 0.85);
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 2rem;
}

.gallery .image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
  gap: 1rem;
}

.image-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-item img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.image-caption {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  padding: 0.3rem 0;
  background-color: #3b2f2f;
  color:#ffffff;
  weight: bold;
  border-radius: 0 0 4px 4px;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.85);
}

.relative{
  position: relative;
  width: 100%;
  aspect-ratio: 289 / 433; 
  flex-shrink: 0;
}
.absolute{
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

    .outstream-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.95);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 9999;
    }

    .outstream-container {
      width: 800px;
      height: 1200px;
      background-color: black;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .outstream-message,
    .outstream-message2 {
      color: white;
      text-align: center;
      font-size: 24px;
      padding: 10px;
    }

    #outstream-ad-slot {
      flex-grow: 1;
    }
