/* いろはの衣 成瀬店 パソコン用（共通設定） */

* {
	box-sizing: border-box;
}

/* 背景色を指定 */
body {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	background-image: url(img/bgpic.jpg);
	font-family: "Hiragino Maru Gothic ProN W4", "Arial", "メイリオ";
}

/* 外枠を左右中央に配置・横幅・色を指定 */
div#container {
	margin: 0 auto 0 auto;
	width: 900px;
	background-image: url(img/container.png);
}

/*ヘッダー部*/

header {
	background-image: url(img/cover.png);
	background-size: cover;
	background-position: center center;
	width: 900px;
	height: 300px;
	text-align: center;
}

/* タイトルの背景画像・文字色・文字の配置を指定 */
.title {
	font-size: 400%;
	font-weight: bold;
	color: maroon;
	line-height: 120%;
}

.inoji {
	font-size: 80%;
}

div.callme {
	font-size: 200%;
	font-weight: bold;
	color: blue;
	text-align: center;
	line-height: 150%;
}

.callme a {
	text-decoration: none;
}

h1 {
	font-size: 20px;
	color: black;
	margin-top: 0;
	padding: 1em 1em;
	text-align: center;
}


/* ナビゲーションバーの設定 */

nav ul {
	margin: 0;
	padding: 0 0;
	display: flex;
	justify-content: space-around;
	gap: 1px;
	background-color: white;
}

nav ul li{
	flex: 1;
	height: 50px;	/*ナビバーの高さを指定*/
	text-align: center;
	background-image: url(img/nav.png);	/* ナビバーのボタン画像*/
	background-size: cover;
	list-style-type: none;
}

li.mobile {
	display: none;
}

nav a {
	display: block;	/* ナビバー全体をボタンにする */
	color: maroon;
	text-decoration: none;
	font-weight: bold;
	line-height: 50px;
}

nav a:visited {
	display: block;	/* ナビバー全体をボタンにする */
	color: maroon;
	text-decoration: none;
}

/* コンテンツブロック（メインブロックとサイドブロック） */

/* 親要素の設定 */
.contents_block {
	overflow: hidden;
	zoom: 1;
	display: flex;
	justify-content: space-between;
}


/* メインブロックの設定 */


.main_block {
	flex-basis: 75%;
}

.main_block p {
	padding-left: 2em;
}

.main_block ul {
	margin-left: 1em;
}

.main_block li {
	line-height: 300%;
}

div.center {
	text-align: center;
}


/* h2タグの設定 */

h2 {
	font-size: 100%;
	color: maroon;
	background: linear-gradient(to left, #FFA500, #FFDEAD) ;
/*h2の見出し文字列を1文字内側へ寄せて、高さを指定*/
	padding: 3px 0 3px 1em;
}

/* h3タグの設定 */

h3 {
	font-size: 100%;
	color: white;
	margin-left: 1em;
	background: linear-gradient(to left, #0099FF, blue) ;
	padding: 3px 0 3px 1em;
}

/* =============================================== */
/* 各ページの設定 */
/* =============================================== */

/*page1 ホーム*/

div.insta {
	display: inline-block;
	width: 49%;
}


/*page2 買取のご案内*/

ol.kaitori li {
	margin-bottom: -25px;
	font-weight: bold;
}

p.kaitori {
	margin-left: -1em;
}

div.arrow {
	padding-left: 50px;
}

div.qanda p {
	padding-left: 3em;
	text-indent: -2em;
}

/*page3 取扱い商品*/

div.goods {
	padding: 3px 1em 3px 2em;
	margin-top: -16px;
	margin-left: 1em;
	background-color: #FFCC66;
/*	background-color: #CCFF66;*/
}

table.goods td {
	text-align: left;
}

table.goods td.explain {
	width: 70%;
	padding-left: 2em;
	padding-top: 10px;
	vertical-align: top;
}

table.goods td.image {
	vertical-align: middle;
}

/*page4 店舗案内*/

table.tenpo td {
	text-align: center;
}

table.tenpo img {
	width: 90%;
}

div.gmap {
	width: 100%;
	height: 450px;
	text-align: center;
}


/*問い合わせ*/

.inquiry li {
	line-height: 1.5;
	margin-bottom: 15px;
}


/* サイドブロック（「サイドバー」と「その他の情報」 */

div.side_block {
	flex-basis: 24%;	/* 右に余白を作るため1％減らした */
	overflow: hidden;
}

/* =============================================== */
/* サイドのメニュー表示用ボックス */
/* =============================================== */

div.menu_box {
	display: inline-box;
	width: 100%;
	height: 60px;
/*	font-family: "Times New Roman", "fantasy";*/
	text-align: center;
	padding-top: 1em;
	font-weight: bold;
	color: maroon;
	font-size: 20px;
	background-image: url(img/cover.png);
}

/* =============================================== */
/* サイドバーの設定 */
/* =============================================== */

div.side_bar {
	padding: 1px 0;
	text-align: right;

}

ul.side_bar {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

ul.side_bar li{
	display: inline-block;
	width: 216px;
	padding: 18px 0;
	text-align: center;
	color: blue;
	background-image: url(img/side.png);
	background-size: cover;
	border: solid 1px gray;
	border-width: 0 0 1px 0;
}

.side_bar a {
	display: block;	/* ナビバー全体をボタンにする */
	color: maroon;
	text-decoration: none;
	font-weight: bold;
}

		/* =============================================== */
		/* 「その他の情報」の設定 */
		/* =============================================== */

div.information {
	width: 216px;
	margin-right: 4px;	/* このブロックを右端にぴったりつけるため */
	margin-top: 12px;	/* サイドバーとの間隔を空けるため */
	margin-bottom: 8px;	/* サイドブロックとヘッダーの間隔を空ける */
	border: solid 1px silver;
}

div.info_title {
	background-image: url(img/nav.png);
	background-size: cover;
	text-align: center;
	padding: 5px 0;
	font-weight: bold;
	color: maroon;
}

.info_contents p {
	padding-left: 6px;
	font-size: 95%;
}


/* =============================================== */
/* フッターの設定 */
/* =============================================== */

footer {
	text-align: center;
	color: white;
	font-size: 80%;
	padding: 6px;
	background-image: url(img/cover.png);
}

footer a {
	color: maroon;
	text-decoration: none;
}


/*=========================*/
/*スマホ用設定*/

@media (max-width: 768px) {

	#container {
		max-width: 100%; /* max-widthの制限を解除 */
		width: 100%;
		margin: 0;
		}
		
	header {
		max-width: 100%; /* max-widthの制限を解除 */
		width: 100%;
		height: 220px;
		margin: 0;
		background-image: url(img/cover.png);
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
/*		align-items: flex-start; /* 上に寄せる */
	}
	
	.title {
		font-size: 200%;
		margin-bottom: 10px;
	}
	
	h1 {
		font-size: 100%;
		text-align: left;
		line-height: 1.1;
		padding-top: 4px;
	}
	
	
	/*ナビゲーションバー*/
	
	nav ul {
		display: flex;
		flex-wrap: wrap;
		margin: 0;
		justify-content: space-around;
		gap: 0;
	}
	
	nav ul li {
		flex: none;
		flex-basis: 50%;
		margin-bottom: 1px;
	}
	
	li.mobile {
		display: block;
	}
	
	
	
	
	
	
	
	.main_block {
		flex-basis: 100%;
	}
	
	
	.side_block {
		display: none;
	}
	
	
	/*取扱商品*/
	
	h3 {
		font-size: 100%;
		color: white;
		margin-left: 0;
		background: linear-gradient(to left, #0099FF, blue) ;
		padding: 3px 0 3px 1em;
	}
	

	
	div.goods {
		padding: 3px 1em 3px 2em;
		margin-top: -16px;
		margin-left: 0;
		background-color: #FFCC66;
	}
	
	
	/*店舗案内*/
	
	table.tenpo: img: {
		90%;
	}
	
	div.gmap {
		width: 95%;
	}
	
	div.gmap iframe {
		width: 95%;
	}
	
	
	
}