@charset "utf-8";

:root {
 --keycolor: #346EB3;
 --subcolor: #E7EFF7;
 --thirdcolor:#D3EEFF;
}
html, body {
  font-size: 16px;
}


.col-keycolor {
  color: var(--keycolor);
}
.col-subcolor {
  color: var(--subcolor);
}

.bg-keycolor {
  background: var(--keycolor);
}
.bg-subcolor {
  background: var(--thirdcolor);
}


/* header ------------------------------------ */
.header {
  background: var(--keycolor);
}

.header__wrap {
  position: relative;
}
.header__wrap h1 {
  max-width: 480px;
}
/*.header__wrap .wrap-headbtn {
  position: absolute;
  top: 10px;
  right: 10px;
}*/
.header nav ul {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.header nav ul a {
  color: var(--subcolor);
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .header__wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }
  .header__wrap h1 {
    width: 40%;
  }
}
@media screen and (min-width: 769px), print {
  .header__wrap {
    display: flex;
    /*justify-content: space-between;*/
    align-items: flex-end;
    gap: 5%;
    padding: 10px;
  }
}

/* header sub ------------- */

.header-sub {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}

.header-sub .wrap-search {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
}
.header-sub .wrap-search input {
  padding: 5px;
}
.header-sub .wrap-search .list-login {
  display: flex;
  flex-wrap: nowrap; 
  color:white; 
}

.header-sub .wrap-headbtn {
  justify-self: end;
  display: flex;
  flex-wrap: nowrap;
}
.header-sub .wrap-headbtn a {
  display: block;
  padding: 10px 1.5em;
  flex-grow: 1;
  color: #fff;
  font-weight: bold;
  background: #4E4E4E;
}
.header-sub .wrap-headbtn a.logout {
   background-color: #024D9A;
}



/* pageheader ------------- */
.pageheader {
  padding: 5vw 0;
  color: #fff;
  background: var(--keycolor) url("../img/pageheader.webp") no-repeat bottom center / cover;
}
.pageheader h2 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: .25em;
}
.pageheader p {
  margin-bottom: 0;
  color: #86C1F5;
  font-weight: bold;
  letter-spacing: .5em;
}
@media screen and (max-width: 768px) {
  .pageheader h2 {
    font-size: 7vw;
  }
}



/* container ------------------------------------ */
@media screen and (max-width: 768px) {
  .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}
@media screen and (min-width: 769px), print {
  .container {
    display: flex;
/*    justify-content: space-between;
    flex-wrap: nowrap;*/
    
    flex-direction: column;
    gap: 30px;
  }
  .container .maincontent {
    width: 50%;
    flex-grow: 1;
  }
  .container .sidebar {
    width: 250px;
  }
}

/* sidebar ------------- */
/* footer ------------- */

.footnav {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.footnav a {
  color: #fff;
  font-weight: bold;
}






/* headline ------------- */

.hd01 {
  position: relative;
  padding-bottom: .5em;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1.625em;
  text-align: center;
}

.hd01 .bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  width: 5em;
  height: 5px;
  margin: auto;
  background: background: var(--keycolor);
background: linear-gradient(90deg, var(--keycolor) 50%, rgba(33,33,33,1) 50.1%);
;
}

.hd02 {
  position: relative;
  padding-bottom: .5em;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1.625em;
}


.hd03 {
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 1.35em;
}

.hd04 {
  margin-bottom: 1rem;
  padding: .5em;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.35em;
  color: #fff;
  background: var(--keycolor);
}

/* button ------------- */

.btn-block {
  display: inline-block;
  padding: 1em 1em;
  text-align: center;
  border: #aaa solid 1px;
  line-height: 1.1;
  background: #fff;
}
.btn-round {
  display: inline-block;
  padding: .5em 1em;
  text-align: center;
  border: #aaa solid 1px;
  border-radius: 1.5em;
  line-height: 1.1;
  background: #fff;
}

.btn-search {
  display: inline-block;
  padding: .5em 1em;
  text-align: center;
  border: 0;
  line-height: 1.1;
  border-radius: 1.5em;
  color: #242424;
  background: #C0D5E5;
}

a.btn-txt {
  display: inline-block;
  line-height: 1.1;
  color: var(--keycolor);
  font-weight: bold;
}


/* pagination ------------- */
.pagination b {
  background: var(--keycolor);
}
.pagination a:hover {
  background: var(--subcolor);
}


/* tab ------------- */
.tab-wrap .tab-label:hover,
.tab-wrap .tab-radio:checked + .tab-label {
  border-color: var(--keycolor);
  background-color: var(--keycolor);
}


/* list ------------- */


.list-news {
  
}
.list-news li {
  display: grid;
  grid-template-columns: min-content 1fr;
  gap: 20px;
  padding: 10px 0;
  border-bottom: #707070 dashed 1px;
}

.list-cattxt {
  
}
.list-cattxt li {
  padding: 5px 0;
  border-bottom: #707070 dashed 1px;
}
.list-cattxt li .txt {
  font-weight: bold;
}
.list-cattxt li .sub_txt {
  font-size: .8em;
}

.list-catitem li {
  position: relative;
  background: #EBEBEB;
}
.list-catitem li .txt {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  line-height: 1.2;
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 768px) {
  .list-catitem li .txt {
    font-size: 5vw;
  }
}

.list-video_date {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.list-video_date > li {
  gap: 10px;
  border: #ccc solid 1px;
  padding: 10px;
}
.list-video_date > li .txt {
  display: flex;
  flex-direction: column;
  gap: 5px;
  line-height: 1.3;
}
.list-video_date > li .txt .title {
  font-weight: bold;
  font-size: 1.3em;
}

@media screen and (max-width: 768px) {
  .list-video_date > li {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}
@media screen and (min-width: 769px), print {
  .list-video_date > li {
    display: grid;
    gap: 10px;
    grid-template-columns: 15% 1fr max-content;
    align-items: top;
  }
  .list-video_date > li .btn {
    align-self: flex-end;
  }
}

.list-tag-cat {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: .8em;
  font-weight: bold;
}
.list-tag-cat > li {
  padding: .5em;
}
.list-tag-cat > li.cat-venue {
  color: #fff;
  background-color: #D7C68F;
}
.list-tag-cat > li.cat-course {
  color: #fff;
  background-color: #ADD2AD;
}
.list-tag-cat > li.cat-date {
  color: #fff;
  background-color: #CEA7D2;
}


.tag_watched {
  display: inline-block;
  padding: .25em .75em;
  color: #fff;
  font-size: .8em;
  font-weight: bold;
  background: #ED4A4A;
}

/* video ------------- */
#video {
  display: block;
  margin-top: 1rem;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
}

#video:fullscreen::-webkit-media-controls-fullscreen-button {
}
#video:fullscreen::-webkit-media-controls-play-button {
  display: none;
}
#video:fullscreen::-webkit-media-controls-timeline {
  display: none;
}
#video:fullscreen::-webkit-media-controls-current-time-display{
  display: none;
}
#video:fullscreen::-webkit-media-controls-time-remaining-display {
  display: none;
}
#video:fullscreen::-webkit-media-controls-mute-button {
  display: none;
}
#video:fullscreen::-webkit-media-controls-toggle-closed-captions-button {
  display: none;
}
#video:fullscreen::-webkit-media-controls-volume-slider {
  display: none;
}

#player_info {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  border-top: #eee solid 5px;
  padding: 5px;
  padding-left: 8px;
  background: #333;
  color: #fff;
}
#player_info_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}
#player_info #bar {
  position: absolute;
  top: -5px;
  left: 0;
  display: block;
  width: 0;
  height: 5px;
  background: #E93C3C;
}
#player_info #video_play {
  border: #ccc solid 1px;
  border-radius: 50%;
  background: none;
  width: 3em;
  height: 3em;
  line-height: 2;
  text-align: center;
  color: #fff;
}
#player_info #video_fullscreen {
  border-width: 0;
  background: none;
  padding: 5px;
  text-align: center;
  color: #fff;
}



/* notice mesasge ------------- */
.notice-error,
.notice-success {
	margin-bottom: 1rem;
	padding: 10px;
	border-left: #ccc 5px solid;
	text-align: left;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(255,255,255,.85);
	background: #fff;
	box-shadow: 0 2px 3px rgba(0,0,0,.3);
}
.notice-error > *:last-child,
.notice-success > *:last-child {
	margin-bottom: 0;
}

.notice-error {
	border-color: #F44144;
	color: #F44144;
  background: #FCE9E9;
}
.notice-success {
	border-color: #009681;
	color: #009681;
  background: #ebfbf7;
}


/* form ------------- */

.form-item {
  margin-bottom: .5em;
}
.form-item [type="text"],
.form-item [type="email"],
.form-item [type="password"],
.form-item [type="url"],
.form-item textarea {
  width: 100%;
  padding: 5px;  
}
@media screen and (max-width: 768px) {
  .form-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
}
@media screen and (min-width: 769px), print {
  .maincontent .form-item {
    display: grid;
    gap: 10px;
    grid-template-columns: 15% 1fr max-content;
  }
  .sidebar .form-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
}


/* block ------------- */

.block-round {
  padding: 20px;
  border-radius: 10px;
}


/* table ------------- */
.tbl-log {
  width: 100%;
}
.tbl-log th, .tbl-log td {
  border: #ccc solid 1px;
  padding: 5px;
}

@media screen and (max-width: 768px) {
  .wrap-scroll {
    overflow: scroll;
  }
  .wrap-scroll::-webkit-scrollbar {
    background: rgba(0,0,0,.35);
    width: 15px;
    height: 15px;
    border-radius: 20px;
  }
  .wrap-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.65);
    border-radius: 20px;
  }
  
  .wrap-scroll table {
    width: 750px;
  }
}

