@charset "utf-8";

body{
	position: relative;
	background-color:#99d6ea;
	z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../250804summer/bg_sky.jpg');
  background-repeat: repeat;
  background-size: contain;
  background-position: top center;
  opacity: 0.3; /* ← ここで薄さを調整 */
  z-index: -1;
  pointer-events: none;
}

.summer-main {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* メイン画像 */
.main-visual {
  width: 100%;
  max-width: 2000px;
  height: auto;
  display: block;
  margin: 0 auto;
}


.content-wrapper {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  position: relative;
  z-index: 2;
}

.content-base {
	position: relative;
  background-color: #fff100;
  padding: 8px;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
	margin:0 1rem;
  box-sizing: border-box;
}

.content-stripe {
  background-image: repeating-linear-gradient(
    45deg,
    #f2b952 0px,
    #f2b952 60px,
    #1ea9d2 60px,
    #1ea9d2 120px,
    #5eb259 120px,
    #5eb259 180px,
    #e55e91 180px,
    #e55e91 240px
  );
  border-radius: 12px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 12px;
}

.content-inner {
  background-image: url('../250804summer/bg.jpg');
  background-repeat: repeat;
  background-size: auto;
  border-radius: 8px;
  padding: 100px 30px 50px;
  color: #003366;
  font-size: 1rem;
}

@media screen and (max-width: 768px) {
.content-inner {
  padding: 50px 30px 50px;
}
}


/* キャラ画像共通 */
.chara {
  position: absolute;
  top: -20px; /* 枠より少し上に出す */
  width: 120px;
  max-width: 50%;
  height: auto;
  z-index: 3;
}

/* 左上 */
.chara-left {
  left: -40px;
  width: 500px;
}

/* 右上 */
.chara-right {
  right: -40px;
  width: 200px;
}

/* ラッパーに relative を追加して重ねられるように */
.content-wrapper {
  position: relative;
  margin: 40px auto;
  z-index:2;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .chara {
    width: 80px;
    top: -20px;
  max-width: 70%;
  }

  .chara-left {
    left: 0px;
    width: 400px;
  }

  .chara-right {
    right: 0px;
    width: 100px;
  }
}

h1.section-title {
  font-size: 2.5rem;
  color: #003366;
  font-family: 'Helvetica Neue', 'Noto Sans JP', 'Med游ゴシック ium', 'Hiragino Kaku Gothic ProN', meiryo, sans-serif;	
}

/* 見出し */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 40px 0 20px;
}

/* 本文テキスト */
.section-text {
  text-align: center;
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* 賞品画像リスト */
.prize-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* 賞品画像 */
.prize-img {
  width: 80%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.footer-bg {
  width: 100%;
  height: 581px;
  background-image: url('../250804summer/bg_sunflower.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-top:-581px;
  opacity: 70%;
}
