@charset "utf-8";

/* 白背景枠 */
.about-section {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px 50px;
  margin: 30px auto;
  max-width: 1200px;
  text-align: left;
  position: relative;
  box-sizing: border-box;
}

/* 開催概要タイトル */
.about-titleline {
  position: relative;
  text-align: center;
  margin: -40px auto 40px;
  font-size: 22px;
  font-weight: bold;
  z-index: 1;
}
.about-titleline span {
  display: inline-block;
  padding: 20px 30px;
  background: #fbec6b;
  color: #c40018;
  border: 3px solid #000;
  border-radius: 12px;
  box-shadow: 6px 6px 0 #000;
  transform: rotate(-2deg);
  animation: popTitle 1s ease-out forwards;
}
@keyframes popTitle {
  0% { transform: scale(0.6) rotate(-10deg); opacity: 0; }
  60% { transform: scale(1.1) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(-2deg); }
}
@media screen and (min-width: 751px) {
  .about-titleline { font-size: 32px; }
  .about-titleline span { padding: 30px 50px; }
}

/* タイトル下コミカル枠 */
.about-title-box {
  display: inline-block;   /* テキストサイズに合わせた枠にする */
  padding: 15px 25px;      /* 左右余白（調整可） */
  margin: 0 auto 30px;     /* 枠ごと中央寄せ */
  font-family: 'Comic Sans MS', sans-serif;
  font-size: 18px;
  color: #000;
  background: #fff7e6;
  border: 3px solid #000;
  transform: rotate(-1deg);
  box-shadow: 5px 5px 0 #e2cc4e;
  font-weight: bold;
  text-align: center;      /* 中の複数行テキストも中央寄せ */
}
.about-title-box p {
  margin: 0;               /* pタグの余白をリセット */
}

.about-title-wrapper {
  text-align: center;
}

/* 左右二分割（PC版） */
.about-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: nowrap;
}

/* 左側テキスト */
.about-left {
  flex: 1 1 50%;
}

/* 縦並びテキスト */
.about-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-item-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 5px;
}
.about-item-content {
  font-size: 16px;
  line-height: 1.6;
}

/* 項目間の点線 */
.about-separator {
  border: none;
  border-top: 3px dotted #c40018;
  margin: 15px 0;
}

/* プログラム・出演のデザイン */
.program-box {
  background: #fff7e6;
  border: 2px dashed #ce6016;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
}
.program-box h4 {
  margin: 0 0 10px 0;
  color: #ce6016;
  font-weight: bold;
}
.program-box p {
  margin: 0 0 5px 0;
  line-height: 1.4;
}

/* 右側画像 */
.about-right {
  flex: 1 1 50%;
}
.about-right img {
  width: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

/* TOPボタン */
.top-btn-wrap-outside {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}
.top-btn-wrap-outside .fes-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #fbec6b;
  color: #000;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
}
.top-btn-wrap-outside .fes-btn:hover {
  background-color: #ce6016;
  color: #fff;
  transform: translateY(-2px);
}

/* スマホ対応（縦並び、白枠の外に左右均等余白） */
@media screen and (max-width: 750px) {
  .about-content {
    flex-direction: column;
    gap: 20px;
  }
  .about-left,
  .about-right {
    flex: 1 1 100%;
  }

/* スマホ版の白枠外余白 */
  .about-section {
    width: calc(100% - 20px); /* 左右10pxずつ空ける */
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;  /* 内側パディングはそのまま */
    padding-right: 30px;
    box-sizing: border-box;
  }
}

/* aboutページ全体のリンク色 */
body#about a,
body.about a {
  color: #c40018;        /* 赤 */
  text-decoration: none;
}
body#about a:hover,
body.about a:hover {
  color: #ce6016;        /* オレンジ */
  text-decoration: none;
}

/* ===============================
   top-btn-wrap-outside 内だけ個別指定
   =============================== */
body#about .top-btn-wrap-outside a {
  color: #000;
}
body#about .top-btn-wrap-outside a:hover {
  color: #fbec6b;
}
