section#top {
	max-width: 1920px;
}

header {
    min-height: 280px !important;
}
header h1 {
	margin: 16px 0 16px 0;
	font-size: 32px;
}

header .button {
    cursor: pointer;
    user-select: none;
}
header #tag_menu a {
    text-decoration: none;
    color: #ffffff;
}
header #tag_menu a:hover {
    text-decoration: none;
    color: #666699;
}

ul.tags {
	padding: 0;
	list-style: none;
}
ul.tags li {
	display: inline-block;
	margin: 0 .3em .3em 0;
	padding: 0;
}
ul.tags li a {
	display: inline-block;
	height: 28px;
	line-height: 28px;
	padding: 0 1em;
	background-color: #fff;
	border: 1px solid #aaa;
	border-radius: 3px;
	white-space: nowrap;
	overflow: hidden;
	color: #333;
	font-size: 13px;
	text-decoration: none;
	-webkit-transition: .2s;
	transition: .2s;
}
ul.tags li a:hover {
	background-color: #3498db;
	border: 1px solid #3498db;
	color: #fff;
}

/* 検索欄 */
header #tag_menu {
	display: flex;
	flex-direction: row;
}
header #tag_menu > * {
	margin: 0 16px;
	font-size: 16px;
	cursor: pointer;
}

header #search_form_container {
	display: none;
	margin-top: 32px;
	padding: 32px 16px;
	border-radius: 16px;
	text-align: center;
}

header #search_form h2 {
	margin: 0 0 16px 0;
}
header #descr {
	margin-top: 48px;
	font-size: 18px;
}

header #search_form {
	display: flex;
	flex-direction: row;
	justify-content: center;
}

header #search_form > div {
	width: 280px;
}

header #search_form select {
	width: 240px;
	font-size: 24px;
	height: 48px;
}


header form input[type="submit"] {
	margin-top: 56px;
	font-size: 20px;
	width: 160px;
	height: 48px;
	cursor: pointer;
}

/* カテゴリ変更 */
header #category_form_container {
	display: none;
}

/* 本体 */
section#top {
	padding-top: 0;
}

.tagitemlist {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
    align-items: center;
	margin-top: 48px;
}

.tagitemlist > div {
	box-sizing: border-box;
	width: 800px;
	padding: 16px 16px 32px 16px;
	text-decoration: none;
	color: #222244;
	transition: .3s;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.tagitemlist > div > .image,
.tagitemlist > div > .noimage {
    flex-shrink: 0;
}
.tagitemlist > div > .descr {
    flex-shrink: 1;
}

.tagitemlist > div a.noimage {
    border-radius: 4px;
    border: 1px solid #cccccc;
    background-color: #eeeeee;
    color: #000000;
	width: 400px;
    height: 344px;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 32px;
    box-sizing: border-box;

    text-decoration: none;
}

.tagitemlist > div .image img {
	width: 400px;
    height: 344px;
	box-sizing: border-box;
	border: 1px solid #dddddd
}

.tagitemlist .shadow {
	box-shadow: 0 3px 10px 0 rgba(0, 0, 0, .5);
}

.tagitemlist > div .descr {
    padding-left: 32px;
    padding-right: 24px;
    text-align: left;
}

.tagitemlist > div .name {
	margin-top: 4px;
	margin-bottom: 8px;
	font-size: 18px;

	font-weight: bold;
	line-height: 26px;
}

.movepage {
	margin: 32px 0;
}