@charset "utf-8";  

body{
	background:#FFF;
	color:#000;
}

h1.page_logo{
	background: #FF9900;
	color:#000;
	border-radius:10px 10px 0 0;
}

aside h2, main>article>h2, main>section>h2{
	position: relative;
	background:#663300;
	color:#FFF;
        padding-left:0.5em;
	border-radius:5px;
}

@media screen and (min-width: 640px){
    aside h2, main>article>h2{
        padding-left:3em;
    }
    aside h2::before, main>article>h2::before{
	content: "";
	position: absolute;
	background: #EEE;
	top: 0.8em;
	left: 1em;
	height: 1.2em;
	width:1.2em;
	border-radius: 50%;
	box-shadow: 1px 1px 1px #777 inset;
    }
}

main>article>section>h3{
	border-bottom: 3px solid #B92A2C;
}

main>article>section>h3::before{
	background: #d26466;
}

main>article>section>h3::after{
	background:#B92A2C;
}

h4{
	border-bottom: 1px solid #006;
        padding-left:2em;
}

h4::before{
	content:counter(count)".";
	font-size: 100%;
	color: #191970;
}

h4::after{
	content: "";
	color: #000080;
}

th{
    background:  #663300;
    color:#FFF;
}

dt::before{
	color:#00008b;
}

strong{
        color:rgba(255,40,0,1);
}

em{
        color:rgba(0,65,255,1);
}

a{
	color:#006400;
        text-decoration:underline;
}

a:visited{
	color:rgba(102,51,0,1);
}

a:hover{
	color:#00859E;
}

footer a{
	color:white;
}

footer a:link{
	color:white;
}

nav a{
        text-decoration:none;
}

article a[target="_blank"]{
        text-decoration:underline;
}

a[href$="xlsx"]::after {
    content: "[xlsx]";
}

a[href$="docx"]::after {
    content: "[docx]";
}

a[href$="pptx"]::after {
    content: "[pptx]";
}

a[href$="accdb"]::after {
    content: "[accdb]";
}

a[href$="pdf"]::after {
    content: "[pdf]";
}

a[href$="zip"]::after {
    content: "[zip]";
}

a[href$="txt"]::after {
    content: "[txt]";
}

article a[target="_blank"]::after {
    content:"[別窓]";
}

td, th {
    border: 1px solid black;
}

@media screen and (min-width: 640px){
        header div.subtitle{
	    color:#000;
    }
}

header nav{
	background:#663300;
	color: #FFF;
}

header nav a{
	color: #FFF;
	text-shadow: 1px 1px 10px #000;
}

header nav a:visited {
	color: #FFF;
}

header nav a:hover {
	color: #CCC;
}

footer{
	background: #663300;
	color: #FFF;
	text-shadow: 1px 1px 10px #000;
	border-radius:0 0 10px 10px;
}

footer a{
	color: #FFC;
	text-decoration: none;
}

footer a:visited{
	color: #FFC;
}

.news{
    background: #C8C8CB;
    border: 2px solid #FF2800;
}

.point{
    background:#FFF;
    border:2px solid #663300;
}

.source{
    background: #FFF;
    border: 2px solid #663300;
}

.speechBalloon {
    background: #FFF; 
    border:4px solid #663300;
}
 
.speechBalloon::after {
    border-color: transparent transparent #663300 transparent  ;
}

.exercise::before{
    color:#FF2800;
}