@charset "UTF-8";
@import url("grid.css");

image {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #333;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}
a image:hover {
	opacity: 0.8;
}
.fakebuster_a {
	background-color: #b22222;
	color: #fff;
	padding: 1rem;
}
.fakebuster_b {
	border-top: solid 2px #b22222;
	border-bottom: solid 2px #b22222;
	padding: 1rem;
}
.fakebuster_c {
  padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
  color: #003399;/*文字色*/
  background: #f4f4f4;/*背景色*/
  border-left: solid 5px #003399;/*左線*/
  border-bottom: solid 3px #d7d7d7;/*下線*/
}
.underline {
	border-bottom: 3px solid #003399;
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}
blockquote p {
    font-family: 'Hiragino Kaku Gothic ProN';
    font-style: italic;
}
q 
{
    font-family: 'Hiragino Kaku Gothic ProN';
    font-style: italic;
    quotes: "“" "”";
    color: #993300;
}
.float_right {
	float: right;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 0.2rem 0 0 0;
}

.head h1 { 
    padding: 0.2rem 0;
    font-size: 1.2rem;
}
.telbox {
	margin-left: auto;
	font-size: 1.4rem;
	padding: 0.2rem 0 0 0;
}
.menu {
	background-color: #fff;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
	color: #000;
}
nav a:hover {
    background-color: #3366FF;    
	color: #fff;
}
nav a {
    padding: 0.2rem 1rem;
	display: block;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../image/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../image/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

/*メイン画像
-------------------------------------*/
.mainimg image {
	width: 90%;
}



/*メインコンテンツ
-------------------------------------*/
main {
    margin: 1rem 0 5rem 0;
}

td, th {
padding: 5px 10px 10px 10px;
}

/*メイン
-------------------------------------*/
.pankuzu {
	text-align: right;
}
.news h2 {
    background-color: #C8EF10;
	color: #222;
	padding: 1rem;
	font-weight: bold;
}
.news li {
    list-style-type: none;
	border-bottom: 1px solid #ccc;
	padding: 0.5rem 0;
}

/*右サイドメニューバー
-------------------------------------*/
.midashi {
	background-color: #66FFFF;
	color: #222;
	padding: 0.2rem;
	margin-bottom: 1.6rem;
	text-align: center;
	font-weight: bold;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #333365;
    padding: 5rem 0;
	color: #fff;
}
footer h5 {
    border-bottom: 2px solid #fff;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #333365;
}
.copyright p {
    color: #fff;
    text-decoration: none;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #333365;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #3366FF;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}