@import url("/css/reset.css");

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  color: #111;
}

img {
  width: 100%;
}


/* common */
/* ============================================ */
.contents_header {
  display: flex;
  justify-content: space-between;
  max-width: 940px;
  margin: 20px auto;
}


/* menu */
/* ============================================ */
nav > ul {
  display: flex;
  justify-content: space-around;
  max-width: 940px;
  margin: 20px auto;
}


/* cast */
/* ============================================ */
#cast .delete_select button:disabled,
#cast .delete_count button:disabled {
  opacity: 0.3;
}

#cast .delete_count button{
  
}

#cast .delete_count,
#cast .delete_cancel {
  display: none;
}

#cast .cast_list {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
}

#cast .cast_box {
  background: #fff;
  position: relative;
  width: 160px;
  margin: 0 5px;
  text-align: center;
}

#cast .cast_box.passive {
  background: #aaa;
}

#cast .cast_box.passive .image img {
  opacity: 0.7;
}

#cast .cast_box.role_type_dammy {
  background: #dfb9eb;
}

#cast .cast_box.role_type_event {
  background: #b9ebd3;
}

#cast .cast_box .image {
  width: 100%;
  height: 210px;
  padding: 5px;
  overflow: hidden;
  cursor: grab;
}

#cast .cast_box .delete_box {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba( 255, 255, 255, 0.7 );
  z-index: 5;
}

#cast .cast_box label {
  display: inherit;
  height: inherit;
  cursor: pointer;
  text-align: left;
}

#cast .cast_box label input {
  appearance: none;
  position: relative;
  margin: 10px;
  width: 20px;
  height: 20px;
  border: 1px solid #aaaaaa;
  border-radius: 2px;
  cursor: pointer;
}

#cast .cast_box label input:checked::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 3px;
  width: 20px;
  height: 10px;
  border-bottom: 4px solid #ff0000;
  border-left: 4px solid #ff0000;
  transform: rotate(-45deg);
}

#cast-detail .cast_edit_table td.image_box{
  display: flex;
}

#cast-detail .cast_edit_table div.image{
  display: flex;
  flex-wrap: wrap;
}

#cast-detail .cast_edit_table div.image .image_item{
  width: 180px;
  cursor: grab;
}

#cast-detail .cast_edit_table div.image .image_top{
  position: relative;
}

#cast-detail .cast_edit_table div.image .image_top .image_delete{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  display: none;
  cursor: pointer;
  color: #ff0000;
  background: rgba( 255, 255, 255, 0.7 );
}


#cast-detail .cast_edit_table div.drop{
  position: relative;
  border: 1px dashed #000;
  border-radius: 10px;
  max-width: 100%;
  min-width: 180px;
  min-height: 240px;
}

#cast-detail .cast_edit_table div.drop:hover{
  background: rgba( 255, 255, 240, 0.5 );
}

#cast-detail .cast_edit_table div.drop input{
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

#cast-detail .cast_edit_table div.drop input::file-selector-button{
  width: 0;
  padding: 0;
  border: none;
}

/* schedule */
/* ============================================ */
#schedule .page_navi .prev.active:hover,
#schedule .page_navi .next.active:hover,
#schedule .page_navi .page li:hover{
  background: #f5f5f5;
  cursor: pointer;
}

#schedule .page_navi .page li.active{
  background: #f5f5f5;
}

#schedule .page_navi .page li.active:hover{
  cursor: auto;
}

#schedule .week_navi .this_week.active:hover,
#schedule .week_navi .prev_week:hover,
#schedule .week_navi .next_week:hover{
  background: #f5f5f5;
  cursor: pointer;
}

#schedule .schedule_list .cast_box .cast_header{
  display: flex;
  justify-content: start;
}

#schedule .cast_box.passive {
  background: #aaa;
}

#schedule .cast_box.passive .image img {
  opacity: 0.7;
}

#schedule .cast_box.role_type_dammy {
  background: #dfb9eb;
}

#schedule .cast_box.role_type_event {
  background: #b9ebd3;
}

#schedule .schedule_list .cast_box .cast_header .image{
  width: 90px;
  height: 120px;
  overflow: hidden;
}

#schedule .schedule_list .cast_box .cast_header .name{
  width: 60px;
}

#schedule .schedule_list .cast_box .schedule_input{
  position: relative;
}

#schedule .schedule_list .cast_box .schedule_input .time,
#schedule .schedule_list .cast_box .schedule_input .comment{
  display: flex;
  justify-content: start;
  align-items: baseline;
}

#schedule .schedule_list .cast_box .schedule_input .time input[type="text"]{
  width: 66px;
  padding: 3px 6px 6px;
  vertical-align: middle;
}

#schedule .schedule_list .cast_box .schedule_input .time .start,
#schedule .schedule_list .cast_box .schedule_input .time .end{
  position: relative;
}

#schedule .time-list{
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  width: 100%;
  max-height: 250px;
  overflow-y: scroll;
  cursor: default;
  user-select: none;
  z-index: 5;
}

#schedule .time-list li{
  height: 22px;
  line-height: 1.4rem;
}

#schedule .time-list li:hover{
  background: #87cefa;
}

#schedule .pop_message, 
#schedule .pop_message_paste{
  display: none;
  position: absolute;
  width: 120px;
  height: 30px;
  line-height: 30px;
  background-color: #4169e1;
  color: #fff;
  top: 20px;
  left: 0px;
  margin: auto;
  text-align: center;
  border-radius: 5px;
}

#schedule th{
  vertical-align: bottom;
}

/* slide-banner */
/* ============================================ */
#slide-banner .banner_area{
  display: flex;
}

#slide-banner .banner_list{
  width: 60%;
}

#slide-banner .banner_edit{
  width: 40%;
}

#slide-banner .image_item{
  position: relative;
}

#slide-banner .image_item img{
  cursor: grab;
}

#slide-banner .image_item .image_delete{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  display: none;
  cursor: pointer;
  color: #ff0000;
  background: rgba( 255, 255, 255, 0.7 );
}

#slide-banner .banner_edit div.drop{
  position: relative;
  border: 1px dashed #000;
  border-radius: 10px;
  max-width: 100%;
  min-width: 180px;
  min-height: 240px;
}

#slide-banner .banner_edit div.drop:hover{
  background: rgba( 255, 255, 240, 0.5 );
}

#slide-banner .banner_edit div.drop input{
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

#slide-banner .banner_edit div.drop input::file-selector-button{
  width: 0;
  padding: 0;
  border: none;
}

#slide-banner [class^=group_],
#slide-banner .not_set{
  min-height: 100px;
  border: 1px solid #000;
  border-radius: 8px;
  padding: 15px;
}

#slide-banner .image_item .switch{
  font-size: 20px;
  font-weight: bold;
  height: 30px;
  color: #000;
  position: relative;
}

#slide-banner .image_item .switch::before{
  position: absolute;
  font-family: 'Font Awesome 5 Free';
  content: '\f13a';
  font-weight: 900;
  right: 10px;
  transition: 0.3s;
}

#slide-banner .image_item .switch.open::before{
  transform: rotate(180deg);
}


/* media-banner */
/* ============================================ */
#media-banner .banner_area{
  display: flex;
}

#media-banner .banner_list{
  width: 70%;
}

#media-banner .banner_edit{
  width: 30%;
}

#media-banner .image_item{
  position: relative;
}

#media-banner .image_item img{
  width: auto;
  max-width: 100%;
  cursor: grab;
}

#media-banner .image_item .image_delete{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  display: none;
  cursor: pointer;
  color: #ff0000;
  background: rgba( 255, 255, 255, 0.7 );
}

#media-banner .banner_edit div.drop{
  position: relative;
  border: 1px dashed #000;
  border-radius: 10px;
  max-width: 100%;
  min-width: 180px;
  min-height: 240px;
}

#media-banner .banner_edit div.drop:hover{
  background: rgba( 255, 255, 240, 0.5 );
}

#media-banner .banner_edit div.drop input{
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

#media-banner .banner_edit div.drop input::file-selector-button{
  width: 0;
  padding: 0;
  border: none;
}

#media-banner [class^=group_],
#media-banner .not_set{
  display: flex;
  flex-wrap: wrap;
  min-height: 100px;
  border: 1px solid #000;
  border-radius: 8px;
  padding: 15px;
}

#media-banner .image_item .switch{
  font-size: 20px;
  font-weight: bold;
  height: 30px;
  color: #000;
  position: relative;
}

#media-banner .image_item .switch::before{
  position: absolute;
  font-family: 'Font Awesome 5 Free';
  content: '\f13a';
  font-weight: 900;
  right: 10px;
  transition: 0.3s;
}

#media-banner .image_item .switch.open::before{
  transform: rotate(180deg);
}


/* profile */
/* ============================================ */
#profile .profile_area{
  display: flex;
}

#profile .profile_list{
  width: 70%;
}

#profile .profile_edit{
  width: 30%;
}
#profile .profile_edit .member_create .edit,
#profile .profile_edit .member_create .member_detail{
  display: none;
}

#profile .profile_edit .member_create .member_detail .member_detail_list{
  padding: 10px;
}

#profile .profile_edit .member_create .member_detail .member_detail_list li{
  display: flex;
  justify-content: space-between;
  padding: 3px;
  border: 1px solid #000;
  border-radius: 6px;
  cursor: grab;
}

#profile .profile_item{
  position: relative;
  min-width: 250px;
  height: auto;
  border: 1px solid #000;
  border-radius: 6px;
}

#profile [class^=group_],
#profile .not_set{
  min-height: 100px;
  border: 1px solid #000;
  border-radius: 8px;
  padding: 15px;
}

#profile .profile_item .title{
  position: relative;
  font-size: 1.1rem;
  height: 50px;
  line-height: 50px;
  padding: 0 40px 0 10px;
  cursor: grab;
}

#profile .profile_item .switch::before{
  position: absolute;
  font-family: 'Font Awesome 5 Free';
  content: '\f13a';
  color: #000;
  font-size: 20px;
  font-weight: bold;
  right: 10px;
  transition: 0.3s;
  cursor: pointer;
}

#profile .profile_item .switch.open::before{
  transform: rotate(180deg);
}

#profile .profile_item .detail{
  border-top: 1px dotted #000;
  display: none;
}


/* topics */
/* ============================================ */
#topics .topics_list tr.passive,
#news .news_list tr.passive {
  background: #aaa;
}



/* schedule-comment */
/* ============================================ */
#schedule-comment .comment_area{
  display: flex;
}

#schedule-comment .comment_list{
  width: 400px;
  flex-wrap: wrap;
  min-height: 100px;
  border: 1px solid #000;
  border-radius: 8px;
  padding: 15px;
  line-height: 30px;
  margin-right: 30px;
}

#schedule-comment .comment_edit{
  width: 300px;
}

#schedule-comment .comment_item{
  border: 1px solid #000;
  border-radius: 6px;
}

#schedule-comment .comment_item .title{
  display: flex;
  justify-content: space-between;
  padding: 2px 5px;

}

#schedule-comment .comment_item .delete{
  font-size: 18px;
  font-weight: bold;
  width: 20px;
  height: 30px;
  color: #ff0000;
  position: relative;
  cursor: pointer;
}

#schedule-comment .comment_item .delete::before{
  position: absolute;
  font-family: 'Font Awesome 5 Free';
  content: '\f057';
  font-weight: 900;
  left: 1px;
}


/* login */
/* ============================================ */
.admin_contents {
  width: 90%;
  max-width: 940px;
}

.admin_contents h2 {
  margin-top: 100px;
  color: #777;
  font-size: 30px;
  line-height: 40px;
}

.admin_contents .login_form {
  background-color: #ffeeff;
  border-radius: 3px;
  padding: 20px;
  width: 400px;
  margin-left: auto;
  margin-right: auto;
  color: #777;
}






