@charset "UTF-8";

#wrapper {
	min-width:320px;
	overflow:hidden;
}


.mt_1{margin-top:5px; display:block;}
.mt_2{margin-top:10px; display:block;}
.mt_3{margin-top:15px; display:block;}
.mt_4{margin-top:20px; display:block;}
.mt_5{margin-top:25px; display:block;}
.mt_6{margin-top:30px; display:block;}
.mt_7{margin-top:35px; display:block;}
.mt_8{margin-top:40px; display:block;}
.mt_9{margin-top:45px; display:block;}

.mb_1{margin-bottom:5px; display:block;}
.mb_2{margin-bottom:10px; display:block;}
.mb_3{margin-bottom:15px; display:block;}
.mb_4{margin-bottom:20px; display:block;}
.mb_5{margin-bottom:25px; display:block;}
.mb_6{margin-bottom:30px; display:block;}
.mb_7{margin-bottom:35px; display:block;}
.mb_8{margin-bottom:40px; display:block;}
.mb_9{margin-bottom:45px; display:block;}


.cld_menu01{
	max-width:500px;
	margin:0 auto;
}

.cld_menu01 ul{
	width:100%;
	display: flex; 
	justify-content: space-between; 
}

.cld_menu01 ul li{
	flex-grow: 1; 
}

.cld_menu01 ul li p{
	border-radius: 6px;
	padding:5px;
	margin:2px;
	font-size: 12px; 
	background-color:#fff;
	border:solid 1px #fff;
	text-align:center;
	font-weight:bold;
	color:#555;
	cursor:pointer;
	background: linear-gradient(to bottom, #fefefe 55%,#ebebeb 100%);
	background: -moz-linear-gradient(top, #fefefe 55%, #ebebeb 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(55%,#fefefe), color-stop(100%,#ebebeb));
	background: -webkit-linear-gradient(top, #fefefe 55%,#ebebeb 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#ebebeb',GradientType=0 );
	box-shadow:2px 2px 0px rgba(000,000,000,0.05);
}

.cld_menu01 ul li.current p{
	background:#0cf;
	color:#fff;
	font-weight:bold;
}


.cld_box01{
	width:100%;
	margin:0 auto;
	padding:5px 0 0 0;
}

.cld_box01 .table_day01{
	width:100%;
	background-color:#fff;
}

.cld_box01 table{
	border-collapse: collapse ;	
	line-height: 1.4;
}


.table_day01 .hour{
	border:solid 1px #ccc;
}

.table_day01 .detail {
	border: solid 1px #ccc;
	border-left: none;
	position: relative;
	overflow: hidden;
	padding: 0; 
	line-height: 1.2;
}

.table_day01 .tbl_area01{
	width: 15%;
}

.table_day01 .tbl_area02{
	width: 85%;
	border: solid 1px #ccc;
	border-bottom: none;
}

.table_day01 th.tht_time{
	border:solid 1px #ccc;
	border-right: none;
	background-color:#e9e9e9;
	font-weight:bold;
	color: #777;
	background: linear-gradient(to bottom, #ffffff 0%,#eaeaea 100%);
	width: 15%;
	box-sizing: border-box;
	padding: 5px;
}


.table_hour01{
	width:100%;
}

.table_hour01 th{
	background-color:#e9e9e9;
	font-weight:bold;
	color: #777;
	background: linear-gradient(to bottom, #ffffff 0%,#eaeaea 100%);
	box-sizing: border-box;
	padding: 5px;
}

.table_hour01 .color1{
	color: #f00;
}


.table_hour01 .category {
	width: 15%;
	text-align: center;
	border-right: none;
}

.table_hour01 .event {
	width: 60%; 
}

.table_hour01 .level {
	width: 15%;  
	border-left: none; 
}




.detail .event-item {
	display: flex; 
	width: 100%;
	border-bottom: 1px dotted #ccc; 
	box-sizing: border-box;
	min-height: 25px;
	line-height: 1.2;
	align-items: center; 
}


.detail .event-item:last-child {
	border-bottom: none;
}


.detail .event-col {
	padding: 3px 5px; 
	font-size: 0.9em;
	box-sizing: border-box;
	align-self: center; 
	vertical-align: middle;
	line-height: 1.2;

}


.detail .event-item .event {
    width: 60%; 
    text-align: left;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    gap: 5px; 
}


.detail .event-item .event-name-text {
    white-space: normal !important;
    word-break: break-all;
}



.detail .event-item .event-duration {
    flex-shrink: 0; 
    text-align: right; 
    font-size: 0.85em;
    color: #888;
}

.event-name-text a {
  color: inherit;          
  text-decoration: none;   
}

.event-name-text a:hover {
  text-decoration: underline;  
}

.detail .event-item .event-duration.duration-day {
    font-weight: bold; 
    color: #007bff; 
}


.detail .event-item .category { 
	width: 15%; 
	text-align: center; 
	border-right: 1px dotted #ccc; 
	flex-shrink: 0;
}
.detail .event-item .level { 
	width: 15%;  
	text-align: center; 
	flex-shrink: 0;
}



.detail .event-item .category img {
	max-width: 40px;
	height: auto;
	vertical-align: middle; 
}


.table_day01 th p{
	padding:3px 12px;
}

.table_day01 td p{
	padding:0px 5px;
}

.table_hour01 .category {
	width: 15%; 
	text-align: center;
	padding: 3px 5px;
	vertical-align: top; 
}

.table_hour01 .event {
	padding: 3px 5px;
	vertical-align: top;
	text-align: left;
}

.table_hour01 .level {
	width: 15%; 
	padding: 3px 5px;
	text-align: center;
	vertical-align: top;
}


.table_hour01 .event-name-text {
	display: block;
	font-weight: bold;
	line-height: 1.2;
}


.table_hour01 .event-duration {
	display: block;
	font-size: 0.8em;
	color: #999;
	font-weight: normal;
	line-height: 1.2;
}


.table_hour01 .color0 .event-name-text {
	color: #333; 
}

.table_hour01 .color1 .event-name-text {
	color: #d90000; 
	font-weight: bolder;
}


.table_hour01 .category img {
	max-width: 40px; 
	height: auto;
}


.table_day02 {
	width: 100%;
	background-color: #fff;
	border-collapse: collapse;
}

.table_day02 th,
.table_day02 td {
	border: solid 1px #ccc;
	line-height: 1.4;
	padding: 5px;
	box-sizing: border-box;
}


.table_hour02 th {
	background: linear-gradient(to bottom, #ffffff 0%, #eaeaea 100%);
	color: #777;
	font-weight: bold;
	text-align: center;
}


.table_day02 .detail {
	display: flex;
	flex-direction: column;
	padding: 0;
}

.table_day02 .event-item {
	display: flex;
	width: 100%;
	min-height: 30px;
	align-items: center;
	padding: 2px 0;
	border-bottom: 1px dotted #ccc;
	box-sizing: border-box;
}

.table_day02 .event-item:last-child {
	border-bottom: none;
}

.table_day02 .event-col {
	padding: 0 5px;
	font-size: 0.9em;
	box-sizing: border-box;
}

.table_day02 .category { width: 15%; text-align: center; }
.table_day02 .event { width: 65%; text-align: left; }
.table_day02 .level { width: 20%; text-align: center; }

.table_day02 .category img {
	max-width: 40px;
	height: auto;
}

.table_day02 .event-name-text {
	font-weight: bold;
	display: block;
}
.table_day02 .event-duration {
	font-size: 0.8em;
	color: #999;
}

.event-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  min-height: 28px; 
  padding: 2px 0;
  box-sizing: border-box;
}

.event-col {
  flex-shrink: 0;
  padding: 2px 4px;
  box-sizing: border-box;
  border-right: 1px solid #eee;
}

.event-col:last-child {
  border-right: none;
}


.event-col.category {
  width: 40px; 
  text-align: center;
}

.event-col.category img {
  width: 30px; 
  height: 30px;
  object-fit: contain;
}


.event-col.event {
  flex: 1; 
  display: flex;
  align-items: center;
  gap: 6px; 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-name-text {
  font-weight: bold;
}


.event-duration {
  font-size: 0.85em;
  color: #888;
}


.event-col.level {
  width: 50px; 
  text-align: center;
}

.event-name-text a {
  color: inherit;
  text-decoration: none;
}
.event-name-text a:hover {
  text-decoration: underline;
}

.date_navigator {
    max-width: 500px;
    margin: 10px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date_navigator button {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    cursor: pointer;
    flex-grow: 1;
    margin: 0 4px;
}

.date_navigator #today_btn {
    background-color: #0cf;
    color: #fff;
    border-color: #0cf;
}

.table_day01 tr.current-hour {
 
    border-top: 2px solid rgb(255, 0, 0); 
    border-bottom: 2px solid rgb(255, 0, 0);
}

.table_day01 tr.current-hour .hour,
.table_day01 tr.current-hour .detail {
    border-left: 2px solid rgb(255, 0, 0); 
}
.table_day01 tr.current-hour {
    border-top: 2px solid rgb(255, 0, 0); 
    border-bottom: 2px solid rgb(255, 0, 0);
}

.table_day01 tr.current-hour .hour,
.table_day01 tr.current-hour .detail {
    border-left: 2px solid rgb(255, 0, 0); 

    border-right: 2px solid rgb(255, 0, 0);
}

.filter_menu {
    background-color: #FFF599;
    padding: 10px;
    margin-bottom: 10px;
}

#category_filters {
    display: flex;
    flex-wrap: wrap; 
    gap: 4px;     
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}

#category_filters li {
    flex-grow: 1;
}

#category_filters label {
    display: block;
    border-radius: 6px;
    padding: 8px 4px;
    font-size: 12px; 
    background-color: #fff;
    border: solid 1px #ccc;
    text-align: center;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    background: linear-gradient(to bottom, #fefefe 55%,#ebebeb 100%);
    box-shadow: 2px 2px 0px rgba(0,0,0,0.05);
    transition: all 0.1s;
    user-select: none;
}

#category_filters input[type="checkbox"] {
    display: none;
}

#category_filters label:has(input:checked) {
    background: #0cf;
    color: #fff;
    border-color: #0cf;
    box-shadow: none;
    transform: translateY(1px);
}

#category_filters li.full_width {
    width: 100%;
    margin-top: 8px;
    padding: 5px 0;
}

#show_details_label {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #555 !important;
    font-size: 13px !important;
    text-align: left !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
}

#show_details_label input[type="checkbox"] {
    display: inline-block;
    width: 16px;
    height: 16px;
}
.cld_ttl01 {
    background-color: #000;
    font-weight: bold;
    padding: 8px 12px;
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 15px;
    border-radius: 4px;
}

.search-container {
    max-width: 500px;
    margin: 20px auto;
    background: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.search-box-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.search-box-wrapper input {
    flex-grow: 1;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.search-box-wrapper input:focus {
    outline: none;
    border-color: #0cf;
}

#clear-search-btn {
    width: 44px;
    height: 44px;
    border: 2px solid #ddd;
    background: #f0f0f0;
    color: #999;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

#clear-search-btn:hover {
    background: #e0e0e0;
    color: #666;
}

#clear-search-btn:active {
    background: #ccc;
}

.search-box {
    width: 100%;
    margin-bottom: 10px;
}

.search-box input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #0cf;
}

#search-results {
    margin-top: 15px;
}

.search-info {
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
    padding: 8px;
    background: #f9f9f9;
    border-radius: 4px;
}

.result-item-container {
    margin: 5px 0;
    background: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s;
}

.result-item-header {
    padding: 10px;
    border-left: 4px solid #0cf;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.result-item-header:hover {
    background: #e8f8ff;
}

.result-item-id {
    display: inline-block;
    background: #0cf;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}

.result-item-name {
    font-size: 14px;
    color: #333;
    flex-grow: 1;
}

.result-detail-area {
    display: none;
    background: #fff;
    padding: 0 15px 15px 15px;
    border-left: 4px solid #ddd;
    border-top: 1px solid #eee;
}

.result-detail-area.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.event-title-link {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #0cf;
    margin: 10px 0;
    text-decoration: none;
}
.event-title-link:hover {
    text-decoration: underline;
}

.schedule-list-title {
    font-weight: bold;
    color: #333;
    margin: 10px 0 5px 0;
    font-size: 13px;
}

.schedule-item {
    padding: 6px 10px;
    margin: 4px 0;
    background: #f0f0f0;
    border-left: 3px solid #999;
    font-size: 13px;
    border-radius: 2px;
    display: flex;
    justify-content: space-between;
}

.schedule-item.long-term {
    background: #e6f7ff;
    border-left: 3px solid #007bff;
}

.schedule-date {
    font-weight: bold;
    color: #333;
}

.schedule-time {
    color: #555;
}

.no-results {
    text-align: center;
    padding: 20px;
    color: #999;
}