.container {
  max-width: 850px;
  margin: 50px auto;
  background: #fff;
  padding: 40px 50px;
  border-radius: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  animation: popIn 0.7s ease;
  position: relative;
  overflow: hidden;
  color: #000;
}

/* 左上の水玉（企画番号用） */
.container::before {
  content: attr(data-number); /* JSONから渡した番号を表示 */
  position: absolute;
  top: -40px; left: -40px;
  width: 150px; height: 150px;
  background: #66ccff34;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 50px;
  font-weight: 700;
  color: rgb(255, 255, 255);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
  opacity: 0.95;
  z-index: 1;
}

.container::after {
  width: 120px; height: 120px;
  background: #ffcc66;
  bottom: -40px; right: -40px;
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
}

.container h1 {
      font-size: 32px;
      margin-bottom: 30px;
      text-align: center;
      color: #007acc;
    }

  /*ここまで汎用*/


  /*event用*/
.description {
  border: 3px dashed #66bfff;
  border-radius: 16px;
  padding: 20px;
  min-height: 150px;
  margin-bottom: 25px;
  background: #f0faff;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* id="image" じゃなくて、imgにスタイルを適用する */
#PR_jpg {
  max-width: 66%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;        /* インライン扱いをやめる */
  margin: 0 auto;
}
#PR_jpg:hover {
  transform: rotate(-2deg) scale(1.05);
  box-shadow: 0 10px 22px rgba(0,0,0,0.3);
}



.info {
  display: flex;            /* 横並びにする */
  align-items: flex-start;  /* 上揃え */
  margin: 15px 0;
  font-size: 17px;
  background: #e6f7ff;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
   white-space: normal;
  word-break: break-all; /* 英単語・URLも折り返す */
}
.info:hover {
  transform: scale(1.03);
}

.label {
  font-weight: bold;
  width: 100px;             /* ラベルの固定幅 */
  flex-shrink: 0;           /* ラベル幅を縮めない */
  color: #006699;
}

.value-wrapper {
  flex: 1;                  /* 残り幅いっぱいを使う */
}

.value {
  display: block;
  margin-bottom: 8px;
  color: #333;
}


/* ===== 共通設定 ===== */.event-header {
  display: flex;
  justify-content: center; /* 全体を中央寄せ */
  align-items: center;
  gap: 20px;               /* 間隔を調整 */
  text-align: center;
  margin-bottom: 40px;
  flex-wrap: wrap;         /* スマホ時に自然に折り返す */
}

#number {
  order: 1;                /* flexの並び順（左側） */
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  background: #66bfff;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  transform: translateX(-10px); /* ← タイトルとの微妙なバランス調整 */
}

#title {
  order: 2;                /* 番号の右 */
  font-size: 32px;
  color: #333;
  margin: 0;
}

/* スマホ用（縦並び） */
@media (max-width: 800px) {
  .event-header {
    flex-direction: column;
    gap: 8px;
  }

  #number {
    transform: none;
    font-size: 28px;
  }

  #title {
    font-size: 24px;
  }
}

/*ここまで*/

/*helpとaccess用*/
    .info-block {
      font-size: 17px;
      background: #e6f7ff;
      padding: 20px 25px;
      border-radius: 12px;
      margin-bottom: 25px;
    }
    .info-block h2 {
      font-size: 22px;
      color: #006699;
      margin-top: 0;
      margin-bottom: 15px;
      border-bottom: 2px solid #007acc;
      padding-bottom: 8px;
    }
    .info-block h3 {
        font-size: 18px;
        color: #333;
        margin-top: 15px;
        margin-bottom: 5px;
    }
    .info-block p {
      color: #333;
      line-height: 1.7;
      margin: 0;
      padding-left: 1em; /* 少しインデント */
    }

    .info-block ul {
        color: #333;
        line-height: 1.8;
        margin: 0;
        font-size: 16px;
        list-style-type: none;
        padding-left: 10px;
      }

      .info-block li {
          margin-bottom: 10px;
      }

                  .info-block.warning { /* 警告用のスタイル */
          background: #fff0f0;
      }

      .info-block.warning h2 {
          color: #c00;
          border-bottom-color: #c00;
      }
      .info-block li::before {
          content: "■";
          color: #007acc;
          margin-right: 10px;
      }




    .info-block .email {
        font-weight: bold;
        color: #005f9e;
    }


    
    /* Googleフォームへのボタン */
    .gform-button {
      display: inline-block;
      padding: 12px 25px;
      background-color: #34a853;
      color: white;
      text-decoration: none;
      border-radius: 8px;
      font-weight: bold;
      transition: background-color 0.3s, transform 0.2s;
    }
    .gform-button:hover {
      background-color: #2c8e46;
      transform: scale(1.05);
    }
