﻿@CHARSET "UTF-8";

/* 全体設定 ---------------------------------------------------------*/

/* 全Div要素のスクロールバーを非表示にしている */
div::-webkit-scrollbar {
	display: none;
}

/* reset.cssに下記を追加 */
header,
footer,
main,
nav,
article,
aside,
section {
	display: block;
}

@media all and (min-width:0px){
	/*0px以上で適用する内容*/
	html {
		min-height: 100%;
		margin: 0;
		width: 100%;
		padding:0;
	}

	body {
		min-height: 100%;
		margin: 0 auto;
		padding: 20px;
		width: 85%;
		text-align: left;
		overflow: visible;
	}
}

@media all and (min-width:600px){
	/*600px以上で適用する内容*/
	html {
		min-height: 100%;
		width:100%;
		margin:0;
		padding:0;

		background-image:url(../img/material/background-image.jpg);
		background-repeat: no-repeat;
		background-position: right center;
		background-attachment: fixed;
		background-size: contain;

	}

	body {
		min-height: 100%;
		margin: 0;
		padding: 25px;
		width: 60%;
		text-align: left;
	}
}

/* ヘッダ・フッタ -----------------------------------------------------*/

header {
	width: 100%;
	padding: 0px 0px 20px 0px;
	margin: 0px;
	text-align: left;
}

footer {
	position: relative;
	bottom: 0;
	margin: 0 auto;
	width: 90%;
	text-align: center;
}

/* nav(メニュー）部分 -----------------------------------------------*/

nav {
	width: 100%;
	margin: 0;
	padding: auto;
	overflow: hidden;
	font-family: "Courier New", "Courier", "ＭＳ Ｐ明朝";
}

nav ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

nav ul li a {
	display: block;
	width: 100%;
	height: 100%;
}

@media all and (min-width:0px){
	/*0px以上で適用する内容*/
	nav ul li {
		width: 95%;
		height: 30px;
		text-align:center;
		line-height: 32px;
		border:1px #84807A solid;
		margin: 5px auto;
		font-size: 18px;
	}
}
@media all and (min-width:600px){
	/*600px以上で適用する内容*/
	nav ul li {
		width: 100px;
		height: 38px;
		text-align: center;
		line-height: 40px;
		border: 1px #84807A solid;
		float: left;
		margin: 0 8px 2px 0;
		font-size: 18px;
	}
}

/* コンテンツ内容表示部分 -------------------------------------------*/
main {
	padding: 20px 0px 0px 0px;
	overflow: visible;
}

section {
	margin: 0 0 20px 0;
}

/* 段落 */
section div.paragraph{
	margin-bottom:15px;
}

/* 見出し */
h2 {
	width: 100%;
	margin: 0 0 5px 0;
	padding: 0;
	font-size: x-large;
	font-weight: bold;
	font-family: "Courier New", "Courier", "ＭＳ Ｐ明朝";
	border-bottom: 1px #000 dashed;
}

h3 {
	background-color: #000;
	color: #fff;
	font-size: 14px;
	margin:10px 0px;
	padding:5px 10px;
	font-family: "Courier New", "Courier", "ＭＳ Ｐ明朝";
}

h4{
	border-bottom: 1px #000 dashed;
	margin: 0px 0px 10px 0px;
	padding: 2px 0px 2px 5px;
}

/* データ */
div.columnName {
	font-weight: bold;
}
div.columnDetail {
	padding-left: 20px;
	margin-bottom: 5px;
}

/* フレームのレスポンシブ対応 --------------------------------*/

.wrapper-objectUpdate {
	width: 100%;
	margin: 0px;
	padding: 0px;
	height: 60px;
}

/* 管理人について ---------------------------------------------------*/

table#boxManager {
	border: 1px #444 solid;
	border-radius: 15px;
	padding: 10px;
	margin-bottom: 30px;
}

table#boxManager th {
	font-weight: bold;
	font-size: large;
	font-family: "Courier New", "Courier", "ＭＳ Ｐ明朝";
	text-align: left;
	margin-bottom: 3px;
	border-bottom: 1px #000 dashed;
}

table#boxManager td.text {
	padding: 15px 10px;
}


@media all and (min-width: 0px) {

	table#boxManager.description {
		width: 100%;
		margin: 0px 0px 10px 0px;
	}
	table#boxManager.twitter {
		height: 400px;
		width: 100%;
		margin: 0px;
	}

	.twitter-timeline {
		width : 100%;
		height: 100%;
		margin: 0px;
	}
}
@media all and (min-width: 600px) {
	div#aboutManager{
	/*
		display: -webkit-box; /*Android4.3*/
		display: -moz-box;    /*Firefox21*/
		display: -ms-flexbox; /*IE10*/
		display: -webkit-flex; /*PC-Safari,iOS8.4*/
		display:-moz-flex;
		display:flex;
		-webkit-box-lines:multiple;
		-moz-box-lines:multiple;
		-webkit-flex-wrap:wrap;
		-moz-flex-wrap:wrap;
		-ms-flex-wrap:wrap;
		flex-wrap:wrap;
		*/
	}
	table#boxManager {
		height: 550px;
		margin: 0px;
	}
	table#boxManager.description {
		width : 60% ;
		margin-right:10px;
		float: left;
	}
	table#boxManager.twitter {
		height: 550px;
		min-height: 550px;
		max-height: 550px;
		width: 250px;
		margin: 0px;
	}

	.twitter-timeline {
		height: 100%;
		min-height: 100%;
		max-height: 100%;
		margin: 0px;
	}

}


/* Main -------------------------------------------------------------*/
#main a {
	border: none;
	padding:0;
	margin:0;
}

#main a img {
	border: 1px #000 solid;
}

@media all and (min-width: 0px) {
	#top table#aboutSite {
		border: 0px;
		padding: 0px;
		width: 100%;
		border-spacing: 0px 7px;
	}
	#top table#aboutSite tr {
		padding: 0px;
		margin 0px;
		border: 0px;
	}
	#top table#aboutSite td {
		padding: 5px;
		margin 0px;
		border: 0px;
		vertical-align: top;
	}
	#top table#aboutSite td.name {
		border-left: 5px #000 solid;
		border-right: 1px #000 solid;
		font-weight: bold;
	}

}
@media all and (min-width: 600px) {
	#top table#aboutSite {
		border: 0px;
		width: 60%;
		padding: 0px;
		border-spacing: 0px 7px;
	}
	#top table#aboutSite tr {
		padding: 0px;
		margin 0px;
		border: 0px;
	}
	#top table#aboutSite td {
		padding: 10px;
		margin 0px;
		border: 0px;
		vertical-align: top;
	}
	#top table#aboutSite td.name {
		border-left: 5px #000 solid;
		border-right: 1px #000 solid;
		font-weight: bold;
	}
}

/* Offline -------------------------------------------------------------*/

@media all and (min-width:0px){
	/*0px以上で適用する内容*/
	#offline div.itemImage {
		margin: 0px auto;
		padding: 10px;
		background-color: #fff;
		text-align: center;
	}
	#offline div.itemImage img {
		border: 1px #000 solid;
		margin: 0px auto;
	}
	#offline div.itemText {
		margin: 0px auto;
		padding: 10px;
		width : 95% ;
	}
	#offline div.slogan {
		color:#cc0000;
		font-size: midium;
		text-align: center;
		line-height: 1.3em;
	}
}

@media all and (min-width:600px){
	#offline div.itemImage {
		float:left;
		margin: 0px;
		padding: 0px;
		background-color: transparent;
	}
	#offline div.itemImage img {
		border: 0px;
		margin: 0px;
	}
	#offline div.itemText {
		float:left;
		margin: 0px;
		padding: 10px;
		width : 70% ; /* IE8以下とAndroid4.3以下用フォールバック */
		width : -webkit-calc(100% - 200px) ;
		width : calc(100% - 200px) ;
	}
	#offline div.slogan {
		color:#cc0000;
		font-size:xx-large;
		text-align: left;
		line-height: 1.3em;
	}
}



/* twitterタイムライン --------------------------------------------- */

#twitter {
	padding: 0px;
	text-align: center;
	width: 100%;
	height: 100%;
	min-height: 100%;
	max-height: 100%;
	margin: 0px auto;
}
