@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');
}

@font-face {
	font-family: 'SourceHanCodeJP';
	src: url('../fonts/SourceHanCodeJP/SourceHanCodeJP-Normal.otf') format('otf');
}

/*すべてのwebページに適用される*/
html {
	font-family: DotGothic16;
	/*font-family: sans-serif;*/
}

html * {
	box-sizing: border-box;
}

body {
	margin: 0 0 0 0;
	background-image: url('../../images/back.png');
	height: 100%;
}

.update {
	width: 200px;
	height: 100px;
	max-height: 50px;
	float: left;
}

.update img {
	height: 100%;
	max-height: 100%;
	margin: auto 0;
}

main {
	margin-left: 15px;
	margin-right: 15px;
	margin-top: 0px;
	margin-bottom: 0px;
	height: 100%;
}

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;
	border-bottom: 4px 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;
}

h3 {
	color: #3f5170;
	font-size: 22px;
	border-bottom: 4px 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;
}

.images{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
}

.images img.inline{
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: 0 auto;
}

img.inline {
	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;
	max-width: 100%;
	max-height: 400px;
	display: block;
	margin-bottom: 10px;
	margin-left: auto;
    margin-right: auto;
	height: auto;
}

.article_item {
	background-image: url('../../images/article_item_back.png');
	border: solid #ccc 8px;
	border-image-source: url('../../images/eyecatch_border.png');
	border-image-slice: 8 8 8 8;
	border-image-repeat: round;
	width: 100%;
	height: auto;
	margin-bottom: 10px;
	padding-top: 5px;
	padding-bottom: 10px;
}

.article_item a{
	width: auto;
	text-decoration: none;
	color:#000000;
	display: flex;
}

.article_image{
	max-width: 30%;
	width: 30%;
	max-height: 200px;
	height: auto;
	margin: 10px;
	display: flex;
	text-align: center;
}

.article_image img{
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	margin: 0 auto;
}

.article_info{
	max-width: 60%;
	width: 60%;
	height: auto;
	margin-bottom: 10px;
	margin: 10px;
	display: flex;
	flex-direction: column;
}

.article_info .article_title{
	height: 80%;
}

.article_info .upload_date{
	height: 20%;
	margin-left: 0;
	font-size: 15px;
	display: block;
	display: flex;
	justify-content: flex-start; 
}

.upload_date img{
	max-height: 32px;
	min-height: 32px;
	height: 32px;
	display: flex;
	justify-content: center;
}

.upload_date p{
	height: auto;
	display: flex;
	justify-content: center;
}

img.thumbnail {
	max-width: 100%;
	max-height: 100%;
	height: auto;
	width: auto;
}


h2 img {
	max-width: 100%;
	max-height: 100%;
	height: 32px;
	width: auto;
}

.slide {
    position: relative;
    width: 100%;
}

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%;
}

/* すべてのページに適用　- ヘッダー - */
.logo {
	margin: 50px 0 40px 0;
	line-height: 0;
	text-align: center;
}

.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;
}

/* すべてのページ - フッター -*/
.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');
}

.SNS {
	margin-top: 30px;
	margin-bottom: 30px;
	display: flex;
	justify-content: space-around;
}

.SNS a {
	height: 100%;
	max-height: 100%;
	margin: auto 0;
}

.footer_SNS {
	margin-top: 30px;
	margin-bottom: 30px;
	justify-content: space-around;
	display: flex;
	text-align: center;
}

.footer_SNS>a>img {
	margin-top: 30px;
	margin-bottom: 30px;
	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;
}

.pixelarts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
	/* アイテム間のスペース */
	width: 100%;
	box-sizing: border-box;
}

.pixelart_image {
	background-color: lightgray;
	width: 100%; /* 幅を100%に設定 */
	/* 高さは任意に調整可能 */
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* 横位置の中央揃え */
	justify-content: center;
	/* 縦位置の中央揃え */
	padding: 10px;
	/* 内側の余白 */
}

.pixelart_image img {
	max-width: none;
	/* 親要素の幅に合わせない */
	height: auto;
	/* アスペクト比を保持 */
	display: block;
	/* ブロック要素として表示 */
	margin-top: 10px;
	margin-bottom: 10px;
	/* 画像とテキストの間に余白を追加 */
}

.pixelart_image p {
	margin: 5px 0; /* テキスト間のスペースを調整 */
	text-align: center; /* 中央揃え */
	width: 100%; /* 親要素の幅に合わせる */
	box-sizing: border-box; /* パディングとボーダーを含む */
	white-space: nowrap; /* 改行を防ぐ */
	overflow: hidden; /* はみ出した部分を隠す */
	text-overflow: ellipsis; /* はみ出した部分を省略記号で表示 */
}

/* スマートフォン向けcss */
@media (max-width: 767px) {

	/* 全体 - ナビゲーション  */
	.wrapper {
		margin: 0 8px;
	}

	.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%;
	}

	.footer_SNS>a>img {
		margin-top: 30px;
		margin-bottom: 30px;
		height: 30px;
	}

}