/* 全般設定 */
body {color:black; background:white; margin:0; padding:0;}

/* 全般的なリンクの設定 */
a {color:#000066; text-decoration:underline;}
a:hover {color:#ff6600;}
a:visited {color:#333399;}

/* リスト表示の設定 中央左右のブロックなどで使用 */
ul {margin:2px; padding:2px; list-style:decimal inside; text-align:left;}
li {margin-left:2px; list-style:square inside; color:#2F5376}

/* テーブル設定 */
table {width:100%; border-collapse:collapse;}
table th {background: #2F5376; color:#FFFFFF; padding:2px; vertical-align:middle;}
table td {padding:0; vertical-align:top;}
#schedule tr{border-bottom: thin solid rgb(240, 240, 240);}
#schedule tbody tr:last-child{border-bottom: thin solid rgb(199, 197, 228);}
#schedule tbody{border-top: thin solid black;border-bottom: thin solid black;}
#schedule td{
	height: 4em;
    vertical-align: middle;
    padding-left: 2em;
    padding-right: 2em;
}
#schedule tr.course{
    text-align: center;
    color: rgb(0, 0, 0);
    background-color: rgb(204, 240, 205);
}
#schedule tr.bold-tr{
    font-weight: bold;
}
#schedule td[colspan]{
    text-align:center;
}
html body div#headerbar table th{
    padding: 0.5em;
    border-left: solid white 1px;
    border-right: solid white 1px;
}
html body div#headerbar table th:first-child,
html body div#headerbar table th:last-child{
    border: none;
}

table tr td ul li {
    color: #000000;
}

/*ヘッダーブロックの定義*/
#header {padding:10px 10px 10px 10px;background-position:center top; height:220px;background-image: url(../img/bg_top.jpg);border:1px solid #999999;background-repeat:no-repeat;}
#headerl {height:220px;vertical-align:middle; text-align:left;color:#FFFFFF;}
#headerr {height:220px;padding-right:10px;vertical-align:middle; text-align:right; color:#FFFFFF;}
#headerr a{color:#FFFFFF;}
#headerr a:hover{color:#FFFFFF; text-decoration:underline;}
#headersearch {border-bottom:1px solid #000000; border-top:1px solid #666666; background:#333333; text-align:right; padding:3px; color:#FFFFFF;vertical-align:middle;}
#headerbar {border-bottom:1px solid #000000; border-top:1px solid #666666; background:#333333; text-align:left; padding:3px; color:#FFFFFF;vertical-align:middle;}
#headerbar a{color:#FFFFFF; text-decoration:none;}
#headerbar a:hover{color:#FFFFFF; text-decoration:underline;}

#footer {text-align:center; color:#666666; line-height:130%; line-height:180%; padding:5px;}

#content{
	width: 80%;
	margin: auto;
}

.video_wrapper{
	display: flex;
	flex-direction: column;
	text-align:center;
}

.video{
	width: 50vw;
	margin: 12px auto;
}

.youtube {
  width: 100vw;
  margin: 12px auto;
}
.youtube iframe {
  text-align:center;
  width: 100% !important;
  height: 100% !important;
}

#headerbar,
#headerbar th{
	background-color: black;
}

#headerbar > table{
	width: 20%;
}

fieldset {
	margin: 20px;
	padding-top: 10px;
	padding-bottom: 20px;
	padding-left: 30px;
	height: 150%;
}

legend {
    padding: 3px 6px;
}

input {
    margin: 0.4rem;
}


.button, button, input[type='button'], input[type='reset'], input[type='submit'] {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    border-style: solid;
    color: initial;

    display: inline-block;
    border: none;
    padding: 1rem 2rem;
    margin: 0;
    text-decoration: none;
    background: #0453b3;
    color: #ffffff;
    font-family: sans-serif;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    text-align: center;
    transition: background 250ms ease-in-out, transform 150ms ease;
    -webkit-appearance: none;
    -moz-appearance: none;
}