body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fffbeb !important;
  background-image: radial-gradient(circle, #ffe1b47a 2px, transparent 2px), radial-gradient(circle, #ffe1b47a 2px, transparent 2px);
  background-position: 0 0, 7px 14px;
  background-size: 14px 28px;
  position: relative; /* bodyに相対位置を追加 */
}

body::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* 最背面に配置 */
}



.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0px;
  z-index: 99;
}





.section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 0.6s ease-out;
  margin-top: 0px;
  padding: auto;
  width: 100%;
  text-align: center;
  justify-content: center; /* 画像を中央に揃える */
  z-index: 97; /* 最前面に配置 */
}

.section img, {
  margin: 200px;}


.section.show {
  opacity: 1;
  transform: translateY(0);
}

.p1 {
	line-height: 2.2; /* 行間を広げる */
		letter-spacing: 0.1em;

}

.p2 {
	font-size: bold; 	
	line-height: 2.5; /* 行間を広げる */
	font-weight: bold;

}

.p3 {
	line-height: 0; /* 行間を広げる */
	font-weight: bold;
	font-size: 20px;
}

.section2 {
  width: 100%;
  padding: 0;
  margin-bottom: 10%;
  display: flex;
  justify-content: center;
  position: relative; /* 位置調整を可能にする */
	top: 0; /* .container と重なるように */
  z-index: 99; /* 最背面に配置 */

}


.section2 img {
  width: 100%; /* セクションの幅にぴったり合わせる */
  height: auto; /* アスペクト比を保つ */
  display: block; /* 余白をなくすためにブロック要素に */
  margin-top: 40px; /* 画像の外側の余白をなくす */
  padding: 0; /* 画像の内側の余白をなくす */
}

.section2 img.second-img {
  width: 50%; /* 2つ目の画像のサイズを変更 */
	height: auto;
	margin: 20% auto 10%;
}

.section2 .3rd-img {  /* クラスを正しく指定 */
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  padding: 0;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}




.section3 {
  padding: 0; /* パディングをリセット */
  margin-bottom: 0; /* マージンをリセット */
  display: flex; /* フレックスボックスで整列 */
	justify-content: center; /* 画像を中央に配置 */

}

.section3 img {
  width: 110px; /* セクションの幅にぴったり合わせる */
  height: auto; /* アスペクト比を保つ */
	display: block; /* 余白をなくすためにブロック要素に */
	margin-top: 10px; /* 画像の外側の余白をなくす */
  margin-bottom: 30%; /* 画像の外側の余白をなくす */
  padding: 0; /* 画像の内側の余白をなくす */
}



.section4 img {
  width: 90%;
  margin: -8% auto -50%;
  padding: 0;
  display: block;
  position: relative; /* 画像を基準に */
	
}




.can-container {
    align-items: center;
    text-align: center;
    max-width: 100%;
    width: 100%; /* 明示的に100%を指定 */
    margin: 0 auto;
    background: #f0f0f0;
    padding: 0 1%;
	overflow:visible; /* はみ出しを防ぐ */
	box-sizing: border-box; /* padding を含めて計算 */

}

        .header-image, .footer-image {
            width: auto;
            max-width: 20%;
            margin: 0 auto 0 auto;
            display: block;
        }
        .title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 20px;
}

.campaign-item {
    margin-bottom: 2%;
    width: 100%;
    box-sizing: border-box;
    height: auto; /* 高さを自動調整 */
}

.campaign {
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
	gap: 1%;
	width: 100%; /* はみ出しを防ぐ */
	    align-items: stretch; /* 高さを揃える */

    box-sizing: border-box; /* padding や border を含めて計算 */
}

.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* 画像を重ねる基準点 */
    height: auto;
    border-radius: 10px;
    overflow: hidden;
}

.coming-soon img {
    width: 100%;
    height: auto;
    border-radius: 0; /* 画像の切れを防ぐ */
}

/* `overlay` クラスがあるときだけ `off.png` を重ねる */
.coming-soon.off::after {
    content: "";
    background: url('/static/upload/game.smktg.jp/seminar/6835/shared/LP/img/off.png') no-repeat center center;
    background-size: cover; /* 画像サイズを調整 */
    position: absolute;
    top: 0;
	left: 0;
    border-radius: 10px;
    width: 100%;
    height: 100%;
}

.highlight {
            background: white;
            color: rgba(255, 94, 140, 1);
            padding: 5px;
            border: 1px solid rgba(255, 94, 140, 1);
            border-radius: 5px;
            font-size: 12px;
            display: inline-block;
	margin-bottom: 8px;
	letter-spacing: -0.02em;
}

        .img-placeholder {
            height: 100px;
            background: #ddd;
            margin-bottom: 10px;
        }