/*
======================================================================
■ 八幡平市商工会 CSS
■ Copyright スカヘルネット
■ https://isp.sukaheru.net/
====================================================================*/

/* 初期設定
-------------------------------------------------------------*/
* {
	box-sizing: border-box;
}
body	{
	margin: 0;
	padding: 0;
	font: 16px "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #333;
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	display: flex;
	flex-direction: column;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure {
	margin: 0;
	padding: 0;
	font-size: 100%;
}
ul	{
	list-style-type: none;
}
img	{
	border: 0;
	vertical-align: bottom;
}
table	{
	border: 1px solid #bbb;
	border-collapse: collapse;
	font-size: 0.9em;
}
table th, table td	{
	border: 1px solid #bbb;
	padding: 6px;
}
a	{
	color: #06f;
	text-decoration: none;
}
a:hover	{
	color: #f60;
}

/* container
----------------------------------------------------------------------*/
#container {
	width: 1000px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding: 10px 0;
}
/* facebook -------------------------*/
.fb-container	{
	width: 100%;
	margin: 0 auto 30px;
	text-align: center;
}
.fb-container .fb-page	{
	display: block !important;
	width:100%;
	margin: auto;
	height:450px;
}
/* section /article -------------------------*/
article[id],
section[id],	{
	margin-top: -30px;
	padding-top: 30px;
}
article	{
	margin-bottom: 40px;
}
section	{
	margin-bottom: 30px;
}

/* header
------------------------------------------------------------------------------*/
.head-catch	{
	width: 100%;
	margin: 0 auto 5px;
	display: flex;
	justify-content: space-between;
	font-size: 0.95em;
}
.head-catch .h-catch-com {

}
.head-catch .h-tel {
	text-align: right;
}
header	{
	width: 100%;
	margin: 0 auto;
	border: 1px solid #acacac;
	background: #081794;
	height: 80px;
	display: flex;
	align-items: center;
}
header h1 img	{
}

/* contents
------------------------------------------------------------------------------*/
.contents	{
	flex: 1 1 auto;
	width: 100%;
	margin: 0;
	padding: 0 0 26px;
	border-width: 0 1px;
	border-style: solid;
	border-color: #acacac;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	position: relative;
}
/* サブタイトル */
h2 {
	width: 100%;
	margin: 0 auto 10px;
	text-align: center;
	font-size: 1.6em;
	color: #000080;
	font-weight: bold;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
h2 span {
	font-size: 1.2rem;
}
h3 {
	width: 98%;
	margin: 0 auto 5px;
	font-size: 1.2em;
	color: #000080;
	font-weight: bold;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
h3 span {
	font-size: 0.8em;
	text-shadow: none;
	font-weight: normal;
}
/* コメント */
.com	{
	width: 98%;
	margin: 0 auto 15px;
	font-size: 0.95em;
}
.com p	{
	margin-bottom: 15px;
}
.com p:last-child	{
	margin-bottom: 0;
}
/* パンくずリスト -------------------------*/
.breadcrumb {
	width: 98%;
	margin: 0 auto;
	font-size: 0.8em;
}
.breadcrumb ul {
	width: 98%;
	display: flex;
	flex-wrap: wrap;
	margin: 10px auto 5px;
}
.breadcrumb ul li {
	margin-right: 5px;
	margin-bottom: 5px;
}
.breadcrumb ul li::after {
	content: ">";
	margin-left: 5px;
}
.breadcrumb ul li:last-child::after {
	content: "";
	margin-left: 0;
}
/* ページ切替 -------------------------*/
.pagetop	{
	position: absolute;
	bottom: 10px;
	right: 40px;
}
.pagetop a	{
	font-size: 0.8em;
	color: #000080;
	font-weight: bold;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
	display: flex;
	align-items: center;
	line-height: 1;
}
.pagetop a::after	{
	content: "▲";
	display: flex;
	justify-content: center;
	align-items: center;
	width: 15px;
	height: 15px;
	margin-left: 3px;
	text-indent: 0.075em;
	border-radius: 15px;
	background: #000080;
	color: #fff;
	font-size: 12px;
	text-shadow: none;
	box-shadow: 1px 1px 1px rgba(0,0,0,0.4);
}

/* main ==============================================*/
.main	{
	width: calc(100% - 280px);
	padding: 0 20px 20px;
}

/* sub ==============================================*/
.sub	{
	width: 280px;
	padding: 0 20px 20px;
	height: 100%;
}
/* バナーリスト ----------*/
.sub .bnr-list {
	width: 100%;
	margin: 0 auto 40px;
}
.sub .bnr-list li {
	margin-bottom: 10px;
}
.sub .bnr-list li.bnr-com {
	text-align: center;
	font-size: 0.8em;
}

/* アコーディオンメニュー ----------*/
.sub .category {
	width: 100%;
	margin: 0 auto 40px;
}
.sub .category .category-ttl {
	position: relative;
	margin: 0 0 6px;
	font-size: 0.9em;
	color: #333;
}
.sub .category .category-ttl>a,
.sub .category .category-ttl>.children {
	display: block;
	background: -webkit-linear-gradient(top, #fff 20%, #eaedf2);
	background: linear-gradient(to bottom, #fff 20%, #eaedf2);
	border: 1px solid #879bb4;
	padding: 8px 7px;
	color: #333;
	line-height: 1;
	cursor: pointer;
}
.sub .category .category-ttl>a:hover,
.sub .category .category-ttl>.children:hover {
	color: #f00;
}
.sub .category .sub-category {
	display: none;
	border-width: 0 1px 1px;
	border-style: solid;
	border-color: #879bb4;
	padding: 5px 0;
}
.sub .category .sub-category li {
}
.sub .category .sub-category li>a,
.sub .category .sub-category li>span {
	display: block;
	padding: 4px 7px 4px 15px;
	color: #333;
	line-height: 1;
}
.sub .category .sub-category li>a:hover,
.sub .category .sub-category li>span:hover {
	color: #f00;
}
/* 商工会情報 ----------*/
.sub .side-addr	{
}
.sub .side-addr .box	{
	width: 90%;
	margin: 0 auto 15px;
	border: 1px solid #acacac;
	padding: 10px 15px;
	font-size: 0.8em;
	color: #000080;
}
.sub .side-addr .box .box-ttl	{
	text-align: center;
	font-weight: bold;
}
.sub .side-addr .box .box-tel,
.sub .side-addr .box .box-fax	{
	font-weight: bold;
	text-align: right;
}
.sub .side-addr .box .box-tel::before	{
	content: "TEL：";
	font-weight: normal;
}
.sub .side-addr .box .box-fax::before	{
	content: "FAX：";
	font-weight: normal;
}

/* footer
------------------------------------------------------------------------------*/
.f-shokokai	{
	display: flex;
	margin: 30px auto -30px;
	text-align: center;
	justify-content: space-around;
	font-size: 0.9em;
	color: #000080;
}

.f-shokokai .f-box {
	width: 45%;
	margin: 0 15px;
	border: 1px solid #ccc;
	padding: 10px;
}
footer	{
	width: 100%;
	margin: 0 auto;
	border: 1px solid #acacac;
	padding: 10px;
	text-align: center;
	font-size: 0.85em;
	color: #000080;
}
footer .copy {
	font-size: 0.9em;
}

/* その他
------------------------------------------------------------------------------*/
.bl	{ color: blue; }
.rd	{ color: red; }
.small	{ font-size: 0.85em; }
.c	{ text-align: center; }
.r	{ text-align: right; }
