@charset "UTF-8";
@font-face {
    font-family: 'misaki';
    src: url('../../fonts/misaki_woff.woff') format('woff');
}
@font-face {
    font-family: 'DotGothic16';
    src: url('../../fonts/DotGothic16-Regular.woff') format('woff');
}

/*すべてのwebページに適用される*/
html {
	font-family: DotGothic16;
	/*font-family: sans-serif;*/
}
html * {
	box-sizing: border-box;
}

time{
	display:none;
}

#series{
	display:none;
}

#category{
	display:none;
}

body {
	margin: 0 0 0 0;
	background-image: url('/images/back.png');
	height: 100%;
}

main {
	margin-left: 15px;
	margin-right: 15px;
	margin-top: 0px;
	margin-bottom: 0px;
	height: 100%;
}

main img{
	margin: auto;
	display: block;
	max-width: 480px;
	width: 90%;
	height: auto;
	margin-bottom: 10px;
}

main > img{
	margin: auto;
	display: block;
	max-width: 480px;
	width: 90%;
	height: auto;
	margin-bottom: 10px;
	background-image: url('../../images/loading.gif'); 
	background-repeat: no-repeat;
	background-position: center center; 
	min-height: 32px;
}

main iframe {
	background-image: url('../../images/header_background.png');
	border: solid #ccc 8px;
	border-image-source: url('../../images/window_border.png');
	border-image-slice: 8 8 8 8;
	border-image-repeat: round;
	padding-bottom: 5px;
	margin: auto;
	display: block;
	max-height: 100%;
	max-width: 100%;
}

main .twitter-tweet{
	margin: auto;
	display: block;
}

.github img{
	max-width: 100%;
	height: auto;
}

.update{
	display: flex;
	justify-content: flex-end;
	max-height: 50px;
}

.update .first{
	display: flex;	
	height: 90%;
}

.update .edit{
	display: flex;
	height: 90%;
}

.update img{
	height: 90%;
	width: 32px;
}

.wrapper{
	margin: 0 0 0 0;
	/*max-width: 960px;*/
}

h1 {
	text-align: center;
}

h2 {
	background-image: url('../../../images/header_background.png');
	border: solid #ccc 8px;
	border-image-source: url('../../../images/window_border.png');
	border-image-slice: 8 8 8 8;
	border-image-repeat: round;
	color: #3f5170;
	font-size: 22px;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
}

h3 {
	color: #3f5170;
	font-size: 22px;
	border-bottom: 3px double #000000;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
}

p {
	line-height: 1.6;
}
a:link{
	color: #0000ff;
}
a:visited{
	color: #0000ff;
}
a:hover{
	color: #0000ff;
}
a:active{
	color: #0000ff;
}

pre {
	margin: 1em 0; /* ブロック前後の余白 */
	padding: 1em; /* ブロック内の余白 */
	background: #25292f; /* 背景色 */
	color: #fff; /* 文字色 */
	white-space: pre-wrap; /* はみ出たときに折り返す */
}

/* すべてのページに適用　- ヘッダー - */
.logo{
	margin: 50px 0 40px 0;
	line-height: 0;
	text-align: center;
}

time {
	visibility: hidden;
}

.nav li{
	font-size: 30px;
	display: inline-flex;
	list-style-type: none;
	padding-right: 30px;
}
.nav ul{
	margin: 0 0 0 0;
	text-align: center;
	padding: 20px 10px 15px 20px;
	background-image: url(../../images/menu-bg.png);
	background-repeat: repeat-x;
}
.nav a:link{
	color: #4d3c40;
	text-decoration: none;
}
.nav a:visited{
	color: #3c454d;
	text-decoration: none;
}
.nav a:hover{
	color: #ff0582;
	text-decoration: none;
}
.nav a:link{
	color: #5a9bc0;
	text-decoration: none;
}

.images ul {
	display: flex;
	justify-content: center;
    margin: 0 10px 10px;
	padding: 0 0 0 0;
}

.images ul li{
    list-style: none;
	max-height: 360px;
	height: auto;
	width: auto;
	align-items: center;
    margin: 0 10px;
	padding: 0 0 0 0;
}

.images ul li img{
    list-style: none;
	align-items: center;
	max-height: 360px;
	height: auto;
	width: auto;
    margin: 0 10px;
	padding: 0 0 0 0;
}

/* すべてのページ - フッター -*/
.footer{
	margin-top: 30px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	width: 100%;
	font-size: 12px;
	color:#000000;
	text-align: center; 
	background-image: url('../../images/footer_background.png');
}

.pre_and_next_article{
	margin-bottom: 30px;
	height: 120px;
	display: flex;
	justify-content: space-between;
	text-align: center; 
}

.pre_and_next_article img{
	max-height: 120px;
	height: auto;
	max-width: 80px;
	width: auto;
	display: flex;
	align-items: center;
}

.pre_and_next_article *{
	max-height: 120px;
	height: auto;
	width: auto;
	display: flex;
	align-items: center;
}

.footer_SNS{
	margin-bottom: 30px;
	display: flex;
	justify-content: space-around;
	text-align:  center; 
}

.footer_SNS > a > img {
	height: 30px;
}

/* 個別のスタイル */
/* index.html */
.keyvisual{
	margin: 15px 0 0 0;
}
.news-item{
	margin: 0;
}
/* about.html */
.shop-photo {
	float: left;
	padding: 0 1em 1em 0;
}
.clear{
	clear: both;
}
.info {
	border-collapse: collapse;
}
.info th, .info td {
	padding: 8px;
	border: 1px solid #bec2c7;
	text-align: left;
}
.info th {
	background-color: #dde2ea;
	width: 90px;
	color: #3f5170;
	vertical-align: top;
}
/* menu.html */
.menu-item {
	display: flex;
	border-bottom: 1px dashed #bec2c7;
	padding: 20px 8px;
}
.menu-photo {
	margin-right: 16px;
	flex: 1 1 auto;
}
.menu-text {
	flex: 0 0 336px;
}

/* access.html */
.map {
	text-align: center;
}

/* contact.html */
form div {
	padding: 12px;
	border-bottom: 1px dashed #bec2c7;
}
selsect {
	width: 30em;
}
input[name="subject"] {
	width: 30em;
}
textarea {
	width: 30em;
	height: 6em;
}
input[type="submit"] {
	margin: 20px 0;
	width: 30em;
}

/* スマートフォン向けcss */
@media (max-width: 767px) {
	/* 全体 - ナビゲーション  */
	.wrapper {
		margin: 0 0px;
	}
	.logo {
		margin: 30px 0;
	}
	.logo img {
		width: 200px;
	}
	.nav {
		background-color: #dfddda;
	}
	.nav li {
		display: block;
	}
	/* menu.html - 横並び解除 */
	.menu-item {
		display: block;
	}
	.menu-photo {
		margin-right: 0;
		width: 100%;
	}
	.menu-text {
		width: 100%;
	}
	/* about.html - 画像のパディングを調整 */
	.shop-photo {
		padding-right: 0;
	}
	/* contact.html - フォーム */
	select {
		width: 100%;
	}
	input[name="subject"] {
		width: 100%;
	}
	textarea {
		width: 100%;
	}
	input[type="submit"] {
		margin: 20px 0;
		width: 100%;
	}

	.pre_and_next_article{
		margin-bottom: 30px;
		height: 120px;
		text-align: center; 
	}
	
	.pre_and_next_article img{
		max-height: 120px;
		height: auto;
		max-width: 80px;
		width: auto;
		align-items: center;
	}
	
	.pre_and_next_article *{
		max-height: 120px;
		height: auto;
		width: auto;
		align-items: center;
	}

}