pub
:root {
  --font-family-en: "Roboto", sans-serif;
  --font-family-J: "Noto Sans JP", sans-serif;
}

.contents#event h3 {
  width: 312px;
  height: 44px;
  text-align: center;
  line-height: 44px;
  background-color: #0f1643;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%);
  margin: 0 auto;
  font-size: 24px;
  font-weight: 700;
  text-shadow: #000 2px 2px 2px;
  margin-bottom: 20px;
  position: relative;
  z-index: 8;
}

.contents h3::after {
  content: "イベント情報";
}

#event_info {
  width: 100%;
  min-height: 140px;
  padding-top: 70px;
  background: url("../images/event _i.png") no-repeat 40px center rgba(0, 0, 0, 0.4);
  padding: 20px 0;
}

.pick_event_wrap {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 0px 16px;
}

/* 注目イベントスライダー
------------------------------------------------------------*/
#pick_event {
  width: 100%;
  height: 266px; /* yui edit */
}

/* 注目イベントなし時 */
#pick_event.non::before {
	content: "ただいま情報はございません。";
	background: rgba(0,0,0,0.7);
	color: #999;
	font-size: 20px;
	text-align: center;
	line-height: 1;
	display: flex;
	justify-content: center;
	align-items: center;
  width: 400px;
	height: 100%;
	margin: auto;
	position: absolute;
	inset: 0;
}
#pick_event.non ul,
#pick_event.non span {
	display: none;
}

#pick_event ul {
  /* display: flex; */
  /* height: 266px; */
  height: 100%; /* yui edit */
  /* gap: 10px; */ /* event.jsに記述 */
  /* padding: 0 10px; */
}

#pick_event ul li {
  background: rgba(0, 0, 0, 0.7);
  border: 2px #08a300 solid;
  border-radius: 14px;
  flex: 0 0 262px;
  /* height: 262px; */
  height: calc(100% - 4px); /* yui edit */
  position: relative;
}

#pick_event ul li a.pick_eve {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 262px;
  height: 262px;
}

#pick_event ul li dl {
  width: 232px;
  height: 232px;
  margin: 15px;
  display: flex;
  flex-direction: column;
}

#pick_event ul li dl dt {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  white-space: normal;
  line-clamp: 2; /* ← 2行まで表示 */ /* yui edit */
  -webkit-line-clamp: 2; /* ← 2行まで表示 */ /* yui edit */
  /* -webkit-line-clamp: 7; */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  height: 45px; /* yui edit */
  margin-bottom: 8px;
  padding-bottom: 0;
  overflow: hidden;
}
#pick_event ul li dl dt span.date_s {
  font-family: var(--font-family-en);
  font-size: 18px;
  font-weight: 700;
  margin-right: 2px;
}
#pick_event ul li dl dt span.date {
  font-family: var(--font-family-en);
  font-size: 22px;
  font-weight: 700;
}

#pick_event ul li dl dt span.yobi {
	background: #666;
  border-radius: 12px;
  font-size: 14px;
  line-height: 14px;
  display: inline-block;
  margin-left: 4px;
  padding: 5px 4px 3px;
}
#pick_event ul li dl dt span.yobi.hol {background: #cc1616;}
#pick_event ul li dl dt span.yobi.sat {background: #1f7ad5;}

#pick_event ul li dl dd {
  background: #999; /* yui edit */
  flex: 1;
  overflow: hidden;
}
#pick_event ul li dl dd img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  object-fit: contain; /* yui edit */
  /* object-position: center; */
}

#bo_small {
  text-align: right;
  font-size: 24px;
  color: #fff;
  padding-top: 4px;
  padding-right: 30px;
  font-family: var(--font-family-J);
}
#bo_small .pink0 {color: rgba(202, 44, 102, 0.6);}
#bo_small .green0 {color: rgba(6, 137, 140, 0.6);}

.photo_wrap {
  position: relative;
  width: 780px;
}
.photo_wrap .photo2,
.photo_wrap .photo3,
.photo_wrap .photo4,
.photo_wrap .photo5,
.photo_wrap .photo6 {
  width: 240px;
  float: left;
  margin-left: 8px;
}
.photo_wrap .photo2 {
  margin-left: 0px;
}

.photo_wrap .photo2 img,
.photo_wrap .photo3 img,
.photo_wrap .photo4 img,
.photo_wrap .photo5 img,
.photo_wrap .photo6 img {
  width: 240px;
}

/* 絞り込みUI
------------------------------------------------------------*/
.search-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  /* width: 100%; */
  width: 400px; /* yui edit */
  margin: 0 auto; /* yui edit */
  padding-top: 16px;
  position: relative;
}

/* JSで生成した固定用のクローン */
.search-area-wrap {
  background: #000;
  display: none; /* 初期は非表示 */
  width: 100%;
  padding: 12px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}
.search-area-wrap .search-area {
  padding-top: 0;
}

.dropdown {
  position: relative;
}
.dropdown-toggle {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 18px;
  line-height: 40px;
  height: 40px;
  /* padding: 8px 16px; */
  cursor: pointer;
}
.dropdown-toggle.active {
  background: #005bac;
  color: #fff;
  border-color: #005bac;
}
.dropdown-toggle.on { /* 日付選択後 */
	display: flex;
	justify-content: center;
	align-items: center;

	> span.day_select {
		font-family: var(--font-family-en);
		font-size: 22px;

		> span {
			background: #000;
			border-radius: 50%;
			color: #fff;
			font-family: var(--font-family-J);
			font-size: 14px;
			font-weight: 500;
			line-height: 20px;
			display: inline-block;
			width: 20px;
			height: 20px;
			margin-left: 4px;
			translate: 0 -3px;
			&.sat {background: #1f7ad5;}
			&.hol {background: #cc1616;}
		}
	}
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  padding: 8px 0;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 100;
}
.dropdown-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dropdown-menu li a {
  display: block;
  padding: 10px 12px;
  font-size: 18px;
  text-decoration: none;
  color: #333;
  font-family: var(--font-family-J);
  font-weight: 500;
}
.dropdown-menu li a:hover {
  background: #f0f4ff;
}

.search-area > a {
  text-decoration: none; /* yui edit */
  width: calc((100% - 12px) / 2); /* yui edit */
}
.eve_btn_all {
  background: #3d04e2;
  border-radius: 4px;
  font-family: var(--font-family-en);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 40px;
  /* width: 180px; */
  width: 100%; /* yui edit */
  height: 40px;
  /* position: absolute; */
  /* top: 20px; */
  /* left: 20px; */
  cursor: pointer;
}
.eve_btn_all:hover {
  opacity: 0.7;
  transition: 0.3s all;
}
.eve_btn_all::after {
  content: "ALL";
}

#eve_date {
  /* width: 190px; */
  width: calc((100% - 12px) / 2); /* yui edit */
}
#eve_date {
  /* margin-left: 220px; */
}
#eve_date button,
#eve_date .dropdown-menu {
  width: 100%; /* yui edit */
}

#eve_date .dropdown-menu li a {
  font-family: var(--font-family-en);
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;

  span {
    background: #000;
    border-radius: 50%;
    color: #fff;
    font-family: var(--font-family-J);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 4px;
    &.sat {background: #1f7ad5;}
    &.hol {background: #cc1616;}
  }
}

#eve_race,
#eve_race button,
#eve_race .dropdown-menu {
  /* width: 390px; */
  width: 100%; /* yui edit */
}
#eve_race {
  /* margin-left: 20px; */
}

.blue {
  width: 400px;
  margin: 30px auto;
  color: #06898c;
  position: relative;
}
.blue .tit {
  font-family: var(--font-family-J);
  background: #3d04e2;
  line-height: 1.4;
  width: 94%;
  padding-top: 34px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding-left: 3%;
  padding-right: 3%;
  padding-bottom: 8px;
}

.date2 {
  font-family: var(--font-family-en);
  font-weight: 500;
  font-size: 18px;
  position: absolute;
  width: 240px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: #5064ff;
  clip-path: polygon(0 0, 100% 0, 94% 100%, 6% 100%);
  color: #fff;
  left: 50%;
  top: 0;
  margin-left: -120px;
}
.date2 span {
  font-family: var(--font-family-en);
  font-weight: 700;
  margin: 0 4px;
  font-size: 22px;
}
.date2 span.week {
  background: #fff;
  border-radius: 50%;
  color: #000;
  font-family: var(--font-family-J);
  font-size: 14px;
  line-height: 20px;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0;
}
.date2 span.week.hol {color: #cc1616;}
.date2 span.week.sat {color: #1f7ad5;}

.txt {
  background: rgba(255, 255, 255, 1);
  color: #000;
  margin-bottom: 30px;
  padding: 10px;
}

.eve_s {
	background: #fbffe8;
	padding: 10px;
	min-height: 320px;
	margin: 10px 0;
	position: relative;
	scroll-margin-top: 150px;
}
.eve_n {
	background: #f2f4ff;
	margin: 10px 0;
	padding: 10px;
	position: relative;
}

.txt .title_area {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
}

.day {
  font-family: var(--font-family-en);
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  line-height: 30px;
	grid-column: 1;
	min-width: 60px;
  height: 30px;
  padding: 0px 12px;
  /* float: left; */
}
.eve_s .day {background: #007b0e;}
.eve_n .day {background: #5064ff;}


.day span {
  background: #fff;
  border-radius: 50%;
  color: #000;
  font-family: var(--font-family-J);
  font-size: 14px;
  font-weight: 500;
	line-height: 20px;
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 0 2px;
}
.day span.days {
  padding: 0 10px;
}
.day span.hol {color: #cc1616;}
.day span.sat {color: #1f7ad5;}

.txt_area {
  width: 100%;
}

.photo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}
.photo img {
  display: block;
	width: 100%;
  height: auto;
}
.photo.ptn_100 > * {width: 100%;}
.photo.ptn_70 > * {width: 70%;}
.photo.ptn_50 > * {width: calc(50% - 5px);}
.photo.ptn_30 > * {width: 30%;}

.photo.none {
}

.txt h5 {
  border-bottom: 1px solid #666;
  font-family: var(--font-family-J);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
	grid-column: 1 / 3;
	grid-row: 2;
  width: 100%;
  padding: 12px 0;
}
.txt p {
  margin-top: 10px;
  font-size: 16px;
  line-height: 140%;
  /* width: 340px; */
  width: 100%; /* yui edit */
}
.txt p a {
  color: #000;
  font-weight: 700;
}

.txt span.small {
  font-size: 14px;
  display: inline-block;
  line-height: 1.4;
}

.eve_s_mark {
  background: #000;
  border-radius: 100vmax;
  color: #d3ff00;
  font-family: var(--font-family-J);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  line-height: 1;
	grid-column: 2;
	display: flex;
	justify-content: center;
	align-items: center;
  width: 124px;
  height: 28px;
  margin-left: 10px;
  /* float: left; */
}

.pick_tit {
  width: 100%;
  padding-bottom: 10px;
  text-align: center;
  font-size: 20px;
  font-family: var(--font-family-J);
  font-weight: 700;
  color: #d3ff00;
}

#cboxClose {
  background: url("../images/close_2.png") no-repeat center / 30px;
  border: 0;
  text-indent: -9999px;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  position: absolute;
  top: -38px;
  right: -4px;
  overflow: visible;
}