@charset "UTF-8";

/* PR動画参加園一覧ページ用スタイル */

/* コンテナ */
.pr-list-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

/* イベント情報バナー */
.event-info-banner {
  background: #ffeeee;
  border-radius: 10px;
  padding: 20px 30px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.event-date-section {
  min-width: 150px;
}

.event-date {
  font-size: 30px;
  font-weight: bold;
  color: #fe4958;
  line-height: 1.2;
  margin: 0;
}

.event-date span {
  font-size: 18px;
}

.event-details-section {
  flex: 1;
  padding-left: 30px;
  border-left: 1px solid #fe4958;
}

.event-title {
  font-size: 18px;
  font-weight: bold;
  color: #fe4958;
  margin-bottom: 8px;
  line-height: 1.4;
}

.event-subtitle {
  font-size: 15px;
  color: #fe4958;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.event-meta {
  display: flex;
  gap: 20px;
  align-items: center;
}

.event-time,
.event-place {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  color: #fe4958;
  margin: 0;
}

.event-meta .icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  background-color: #fe4958;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.event-meta .icon-calendar {
  -webkit-mask-image: url('../img/renewal/icon-calendar.svg');
  mask-image: url('../img/renewal/icon-calendar.svg');
}

.event-meta .icon-map-pin {
  -webkit-mask-image: url('../img/renewal/icon-map-pin.svg');
  mask-image: url('../img/renewal/icon-map-pin.svg');
}

/* カテゴリー検索エリア */
.category-search-area {
  background: #fff;
  border: 1px solid #333;
  border-radius: 10px;
  overflow: hidden;
}

.search-title {
  height: 48px;
  line-height: 48px;
  background: #333;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  text-align: center;
}

.category-section {
  padding: 40px 36px 32px 36px;
}

.category-section:nth-of-type(2) {
  padding-top: 0;
  padding-bottom: 0;
}

.category-label {
  background: #ffeeee;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  padding: 8px 13px;
  margin: 0 0 20px 0;
  border-left: 2px solid #fe4958;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.category-tags .tag {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 80px;
  padding: 4px 16px;
  font-size: 12px;
  color: #222;
  cursor: pointer;
  transition: all 0.2s;
}

.category-tags .tag:hover {
  border-color: #fe4958;
  color: #fe4958;
}

.category-tags .tag.active {
  background: #fe4958;
  border-color: #fe4958;
  color: #fff;
}

.search-btn {
  padding: 32px 0;
  text-align: center;
}

.search-btn .btn-reset-filter {
  height: 48px;
  line-height: 48px;
  padding: 0 40px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.search-btn .btn-reset-filter {
  background: #5bbcc9;
  color: #fff;
}

.search-btn .btn-reset-filter:hover {
  background: #4aa9b5;
}

/* 検索ボックス */
.search-box-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
  gap: 10px;
  align-items: center;
}

.search-box-wrapper::before {
  content: '検索';
  font-size: 13px;
  font-weight: bold;
  color: #222;
}

.search-input {
  width: 190px;
  height: 40px;
  padding: 0 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 13px;
  background: #f5f5f5;
}

.search-button {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.search-button:hover {
  background: #e5e5e5;
}

.search-button img {
  width: 20px;
  height: 20px;
}

/* 参加園一覧テーブル */
.school-list-table-wrapper {
  margin: 100px 0;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  overflow: hidden;
}

.school-list-table {
  width: 100%;
  border-collapse: collapse;
}

.school-list-table thead {
  background: #ccedf2;
}

.school-list-table thead th {
  padding: 20px 10px;
  font-size: 13px;
  font-weight: bold;
  color: #222;
  text-align: center;
}

.school-list-table thead th:last-child {
  border-right: none;
}

.school-list-table thead .col-booth {
  width: 10%;
}

.school-list-table thead .col-organization {
  width: 20%;
}

.school-list-table thead .col-school {
  width: 40%;
}

.school-list-table thead .col-location {
  width: 15%;
}

.school-list-table thead .col-detail {
  width: 15%;
}

.school-list-table tbody tr {
  background: #f5f5f5;
}

.school-list-table tbody tr.row-white {
  background: #fff;
}

.school-list-table tbody tr:last-child {
  border-bottom: none;
}

.school-list-table tbody td {
  padding: 20px 10px;
  font-size: 13px;
  color: #222;
  vertical-align: middle;
  text-align: left;
  border-right: 0.5px solid #CCCCCC;
}

.school-list-table tbody td:first-child, .school-list-table tbody td:last-child {
  text-align: center;
}

.school-list-table tbody td:last-child {
  border-right: none;
}

.booth-no {
  font-weight: normal;
}

.organization-name {
  text-align: left;
  padding-left: 20px;
}

.school-info {
  text-align: left;
  padding-left: 20px;
}

.school-name {
  font-size: 13px;
  color: #222;
  margin: 0 0 6px 0;
  line-height: 1.6;
}

.school-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.school-tag {
  display: inline-block;
  background: #fff;
  border: 1px solid #fe4958;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  color: #fe4958;
  line-height: 1.4;
}

.location {
  font-weight: normal;
}

.btn-pr-video {
  display: inline-block;
  background: #5bbcc9;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-pr-video:hover {
  background: #4aa9b5;
}

/* ページトップボタン */
.page-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #fe4958;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 100;
}

.page-top-btn:hover {
  background: #e43847;
  transform: translateY(-2px);
}

.page-top-btn::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid #fff;
}

/* モーダルのカスタマイズ */
.modaal-overlay {
  background: rgba(0, 0, 0, 0.65);
}

/* YouTubeのタイトルや要素を完全に非表示 */
.modaal-video-wrap iframe {
  pointer-events: auto;
}

.ytp-chrome-top, .ytp-chrome-bottom {
  display: none!important;
}

.modaal-wrapper {
  background: transparent !important;
}

.modaal-video-wrap {
  border-radius: 8px;
  overflow: hidden;
}

.modaal-video .modaal-inner-wrapper {
  padding: 0;
}

.modaal-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.modaal-video-container iframe,
.modaal-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modaal-close {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  top: 10px;
  right: 10px;
  transition: all 0.3s ease;
}

.modaal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: rotate(90deg);
}

.modaal-close:after,
.modaal-close:before {
  background: #fff;
  width: 20px;
  height: 2px;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before {
  background: #e43847!important;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1200px) {
  .pr-list-container {
    max-width: 100%;
    padding: 20px 15px 40px;
  }
}

@media screen and (max-width: 768px) {
  .event-info-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .event-date {
    font-size: 24px;
  }

  .event-title {
    font-size: 16px;
  }

  .event-subtitle {
    font-size: 13px;
  }

  .event-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .category-search-area {
    font-size: 14px;
  }

  .search-buttons {
    flex-direction: column;
  }

  .btn-search-filter,
  .btn-reset-filter {
    width: 100%;
  }

  .search-box-wrapper {
    justify-content: stretch;
  }

  .search-input {
    flex: 1;
  }

  .school-list-table-wrapper {
    overflow-x: auto;
  }

  .school-list-table {
    min-width: 800px;
  }
}

/* ローディングオーバーレイ */
.loading-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.85);
	z-index: 99999;
	justify-content: center;
	align-items: center;
}
.loading-overlay.active {
	display: flex;
}
.loading-spinner {
	text-align: center;
}
.spinner {
	width: 50px;
	height: 50px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #fe4958;
	border-radius: 50%;
	margin: 0 auto 15px;
	animation: spin 0.8s linear infinite;
}
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.loading-text {
	font-size: 14px;
	color: #333;
	margin: 0;
}

/*--------------------------------------
フローティングボタン
--------------------------------------*/
section.list-pr-floating-btn ul.participation-btn li:first-of-type a {
  color: #fff;
	border: 1px solid #fe4958;
	background-color: #fe4958;
  margin-right: 0;
}
