@charset "utf-8";
/* CSS Document */

header {
	min-height: 72px;
	border-bottom: 5px double #666;	
}
header .header-title {
	text-align: center;
	padding-top: 8px;
	padding-bottom: 8px;
}
header .header-title div {
	display: inline-block;
}
header h1 {
	display: inline-block;
	margin-top: 10px;
	padding-bottom: 10px;
	font-size: 32px;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
/*
	font-style: italic;
	text-shadow: 5px 5px #ccc;
*/
}
header .header-logo {
	float: left;
	margin-left: 10px;
	vertical-align: middle;
}
#top-page {
	padding-left: 10px;
	padding-right: 10px;
}
#top-page h1 {
	margin-top: 20px;
	font-size: 24px;
	text-align: center;
}

#top-page h2 {
	margin-top: 30px;
	font-size: 18px;
	text-align: center;
}

.article-block {
	margin-top: 20px;
}

.article-text {
	font-size: 16px;
	line-height: 150%;
}

.color-title {
	font-size: 16px;
}

.color-text {
	padding-left: 1.5em;
}

.trend {
	margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trend h3 {
    max-width: 250px;
    width: 100%;
	font-size: 21px;
	font-weight: bold;
}

.trend a {
    color: #000;
}


.trend-arrow {
    color: #08c;
    /*color: #000;*/
}
.trend-image-block {
    margin-top: 50px;
    /*justify-self: center;*/
    max-width: 250px;
    width: 100%;
}

.trend-image-space {
    display: none;
    max-width: 50px;
}
.trend-image {
    max-width: 250px;
    width: 100%;
}

footer {
	margin-top: 30px;
	border-top: 1px solid #000;
}

.copyright {
	font-size: 16px;
	text-align: right;
}

.text-block {
	margin-top: 20px;
}


@media ( min-width: 640px ) {
	header h1 {
		font-size: 36px;
	}
	#top-page h1 {
		font-size: 26px;
	}
	#top-page h2 {
		font-size: 22px;
	}
    .trend {
        margin-top: 50px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: row;
    }
	.trend h3 {
		font-size: 16px;
	}

    .trend-image-space {
        display: block;
        max-width: 50px;
        width: 100%;
    }
    
    .trend-image-block {
        margin-top: 50px;
        max-width: 300px;
        width: 100%;
    }
    .trend-image {
        max-width: 300px;
        width: 100%;
    }

}

@media ( min-width: 800px ) {
	#top-page {
		margin-left: auto;
		margin-right: auto;
		max-width: 800px;
	}
    .article-block {
        margin-top: 20px;
    }
    .trend {
        margin-top: 50px;
        display: flex;
        justify-content: space-between;        
        flex-wrap: wrap;
        flex-direction: row;
    }
	.trend h3 {
		font-size: 20px;
	}
    .trend-image-space {
        display: none;
    }
    .trend-image-block {
        margin-top: 50px;
        max-width: 350px;
        width: 100%;
    }
    .trend-image {
        max-width: 350px;
        width: 100%;
    }

}