@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;
}

.about-item2 span {
  font-weight: bold;
  font-size: 18px;
  display: block;
  margin-top: 8px;
}

/* 左右二分割（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%;
  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;
}

/* ===================================================
   画像2列レイアウト（新クラス about-content2）
   =================================================== */

.about-content2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: stretch;
  margin-top: 20px;
  margin-bottom: 40px;
}

/* 各アイテム共通 */
.about-content2 > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 画像のサイズを統一（天地合わせ） */
.about-content2 img {
  width: 100%;
  height: 280px; /* 高さを揃え */
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* 特定の画像だけ上寄せトリミング */
.about-item2 img[src*="fpmtanaka.jpg"],
.about-item2 img[src*="sunahara.jpg"] {
  object-position: 50% 20%; /* 横50%、縦20% */
}

.about-item2 {
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-item2:hover {
  opacity: 0.7;
  transform: scale(1.02);
}

/* キャプション */
.about-content2 span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  font-size: 16px;
}

.about-content2 p.capblack {
  margin-top: 5px;
  font-size: 14px;
  color: #000;
}

/* スマホ（1列） */
@media screen and (max-width: 750px) {
  .about-content2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-content2 img {
    height: auto;
  }
}

/* ===================================================
   DAYタイトル（コミカルポップ演出）
   =================================================== */
.fes-daytitle {
  text-align: center;  /* 中央寄せ */
  margin-top: 60px;    /* 上マージン */
}
.fes-daytitle-main {
  font-size: 28px;
  font-weight: bold;
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  background-color: #638ac7; /* DAY1デフォルト */
  color: #fbec6b;
  position: relative;
  line-height: 1.3;
  text-align: center; /* 文字幅に対して線を中央に */
}

/* 上下線を文字幅に合わせる */
.fes-daytitle-main::before,
.fes-daytitle-main::after {
  content: "";
  display: block;
  height: 4px;
  border-radius: 2px;
  background-color: #fbec6b; /* 線の色 */
  margin: 6px auto;
  width: 100%; /* 文字幅に合わせる */
}

/* 上線と下線の間隔調整（任意） */
.fes-daytitle-main::before {
  margin-bottom: 6px;
}
.fes-daytitle-main::after {
  margin-top: 6px;
}

/* DAY1 / DAY2 背景差別化 */
.fes-daytitle.day1 .fes-daytitle-main {
  background-color: #638ac7;
}
.fes-daytitle.day2 .fes-daytitle-main {
  background-color: #87b969;
}

/* サブ情報 */
.fes-daytitle-sub {
  font-size: 18px;
  color: #000;
  margin: 4px 0;
  line-height: 1.5;
}

/* スマホ対応 */
@media screen and (max-width: 750px) {
  .fes-daytitle-main {
    font-size: 22px;
    padding: 8px 16px;
  }
  .fes-daytitle-sub {
    font-size: 16px;
  }
}

/* music.htmlページ専用 */
body#about .fes-btn {
  color: #ffffff;          /* 通常時は白 */
}

body#about .fes-btn:hover {
  color: #c40018;          /* ホバーで赤 */
}

/* モーダル全体 */
.artist-modal {
  display: none; /* 初期は非表示 */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

/* モーダルコンテンツ */
.artist-modal-content {
  background-color: #fff;
  margin: 60px auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 600px;
  text-align: center;
  position: relative;
}

/* 閉じるボタン */
.artist-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #333;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

/* 画像サイズ調整 */
.artist-modal-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 15px;
}

/* 名前とプロフィール */
.artist-modal-name {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.artist-modal-logo {
  display: block;
  margin: 10px auto;
  max-width: 200px; /* 適宜調整 */
}

.artist-modal-profile {
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}
