@charset "utf-8";
/* CSS Document */


/*--------------------------------------------------------*/
/* 変数
/*--------------------------------------------------------*/
:root{
	--main:#003366;
}
/*--------------------------------------------------------*/
/* グリッド定義
/*--------------------------------------------------------*/
body {
    display: grid;
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
	max-width: 1000px;
    min-height: 100vh;
    grid-template-rows: 145px max-content 1fr 60px;
    grid-template-columns: 30.2% 1fr;
    grid-template-areas:
		"header  header  "
		"nav    aside   "
		"nav    main   "
		"footer footer "
		;    
}
/*
@media (max-width:690px) {
	body {
		grid-template-rows: 145px 60px 1fr 30px;
	}
	aside div i{
    	display: block !important;
	}
}
*/
@media (max-width:770px) {
	body {
    display: grid;
    margin-top: 2%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    min-height: 100vh;
    grid-template-rows: 145px 300px max-content max-content 30px;
    grid-template-columns: 1fr;
    grid-template-areas:
		"header"
		"aside"
		"nav"
		"main"
		"footer"
		;
    row-gap: 0;
    max-width: 96%;
	}

}
/*--------------------------------------------------------*/
/* ヘッダ
/*--------------------------------------------------------*/
header {
    grid-area: header;
    background-image: url(../img_top_2018/hokejyo.jpg);
    background-repeat: no-repeat;
    background-position: right bottom;
    border-bottom: 5px solid var(--main);
    width: 100%;
}
@media (max-width:770px) {
	header {
    	padding-bottom: 1rem;		
	}
}
@media (max-width:770px) {
	header {
		background-image: none;
	}
}
header h1{
    margin-top: 1.2rem;
    margin-top: 1.2rem;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
    text-align: left;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.8rem;
    padding: 0;
    color: var(--main);
    width: 100%;
}
header p{
    padding-top: 2px;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
    font-family: "MS Serif", "New York", serif;
    color: #BF0003;
    border-top: 1px solid var(--main);
    width: 50%;
    margin-top: 0.3rem;
    margin-left: 3rem;
    text-align: center;
	font-size: 1rem;
	margin-bottom: 6px;
}
/*--------------------------------------------------------*/
/* Google 検索エリア
/*--------------------------------------------------------*/
header #cse-search-form{
    width: 37%;
    padding: 0;
    margin-left: 4.2rem;
    margin-top: 0;
}
header #cse-search-form td {
    padding: 0 !important;
}
header #cse-search-form input[type="text"] {
    height: 24px!important;
    width: 80%;
    border-radius: 0px 5px 5px 0px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    box-shadow: 0 0 5px #DDDDDD;
    -moz-box-shadow: 0 0 5px #DDDDDD;
    -webkit-box-shadow: 0 0 5px #DDDDDD;
    padding-left: 0.5em!important;
}
header #cse-search-form input[type="submit"] {
	background: url("http://blog.lqd.jp/img/icon_search.gif") no-repeat scroll 50% 50% #FFFFFF;
	border: 0 none;
	color: #FFFFFF;
	height: 25px;
	margin-left: 0;
	overflow: hidden;
	text-indent: -50px;
	width: 20px;
	-webkit-appearance: none;
}
@media (max-width:950px) {
	header p{
		width: 50%;
		font-size: 0.9rem;
	}
}

@media (max-width:770px) {
	header h1{
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
	header p{
    width: 90%;
    margin-left: auto;
    padding: 0;
    margin-right: auto;
    margin-bottom: 1rem;
	font-size: 0.8rem;	
	}
	header #cse-search-form{
    margin-top: 0;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    padding: 0;
    width: 80%;
	}
}

@media (max-width:420px) {
	header h1{
		font-size: 1.6rem;
	}
	header p{
		font-size: 0.8rem;
	}
	header{
    border-bottom: 0px solid var(--main);
	}
}
@media (max-width:362px) {
	header h1{
    	font-size: 1.4rem;
	}
	header p{
		font-size: 0.6rem;
	}	

}


/*--------------------------------------------------------*/
/* 新着情報
/*--------------------------------------------------------*/
main {
    grid-area: main;
    padding-top: 1.5rem;
}
@media (max-width:770px) {
	main {
    padding-top: 1rem;
	}
}
.news_title{
    font-family: a-otf-ud-shin-go-pr6n, sans-serif;
    font-size: 1.1rem;
    width: 100%;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    text-align: center;
    color: #FFFFFF;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-weight: bold;
}
@media (max-width:770px) {
	.news_title{
		font-size: 1.1rem;
		padding-top: 0.8rem;
    	padding-bottom: 0.8rem;
	}
}
.red_back_color{
    background-color: #D01919;	
}
.red_back_color2{
    background-color: #FFF9F9;
}

.green_back_color{
    background-color: #0A9A31;	
}
.green_back_color2{
    background-color: #FAFEFB;	
}

.news_box{
    width: 100%;
    height: 300px;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
    margin-bottom: 1.5rem;
    overflow-y: auto;
}
.news_box2{
    width: 100%;
    height: 500px;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
    margin-bottom: 3rem;
    overflow-y: auto;
}
@media (max-width:800px) {
	.news_box{
		height: 400px;
	}
}
.news{
    margin: 0;
    display: flex;
    width: 98%;
    border-bottom: 1px dotted #CCCCCC;
    padding-left: 1%;
    padding-right: 1%;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
	font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.news_box .new,
.news_box2 .new{
    padding-right: 0.7rem;
    color: #D01919;
    font-size: 1rem;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    width: 2em;
}

.news_box .txt a,
.news_box2 .txt a{
    font-size: 1rem;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    text-decoration: none;
    color: #333;
}
.news_box .txt a:hover,
.news_box2 .txt a:hover{
    color: #D01919;
    text-decoration: underline;
}
@media (max-width:800px) {
	.news{
		margin: 0;
		display: flex;
		flex-flow: column;
		width: 98%;
		border-bottom: 1px dotted #CCCCCC;
		padding-left: 1%;
		padding-right: 1%;
		padding-top: 1rem;
		padding-bottom: 1rem;
	}

}
/*--------------------------------------------------------*/
/* 和歌山市感染症対策ネットワーク
/*--------------------------------------------------------*/


#banner{
    width: 100%;
    height: auto;
    margin-top: -10px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 0;
    padding: 0;
    text-align: center;
}
#banner a{
    width: auto;
    height: 60px;
    display: block;
    text-decoration: none;
    line-height: 60px;
    font-size: 1.2rem;
    font-family: a-otf-ud-shin-go-pr6n, sans-serif;
    color: #21436B;
    background-image: -webkit-linear-gradient(222deg,rgba(121,166,224,1.00) 0%,rgba(225,239,250,1.00) 25.91%,rgba(112,160,222,1.00) 50.26%,rgba(209,228,246,1.00) 75.13%,rgba(103,154,220,1.00) 100%);
    background-image: -moz-linear-gradient(222deg,rgba(121,166,224,1.00) 0%,rgba(225,239,250,1.00) 25.91%,rgba(112,160,222,1.00) 50.26%,rgba(209,228,246,1.00) 75.13%,rgba(103,154,220,1.00) 100%);
    background-image: -o-linear-gradient(222deg,rgba(121,166,224,1.00) 0%,rgba(225,239,250,1.00) 25.91%,rgba(112,160,222,1.00) 50.26%,rgba(209,228,246,1.00) 75.13%,rgba(103,154,220,1.00) 100%);
    background-image: linear-gradient(228deg,rgba(121,166,224,1.00) 0%,rgba(225,239,250,1.00) 25.91%,rgba(112,160,222,1.00) 50.26%,rgba(209,228,246,1.00) 75.13%,rgba(103,154,220,1.00) 100%);
    background-size: cover;
    text-indent: 2em;
    font-weight: bold;
    border-radius: 5px;
}
#banner a:hover{
    transition: .3s;
    background-image: -webkit-linear-gradient(222deg,rgba(216,233,247,1.00) 0%,rgba(112,160,222,1.00) 22.28%,rgba(225,239,250,1.00) 48.19%,rgba(103,154,220,1.00) 74.09%,rgba(209,228,246,1.00) 100%);
    background-image: -moz-linear-gradient(222deg,rgba(216,233,247,1.00) 0%,rgba(112,160,222,1.00) 22.28%,rgba(225,239,250,1.00) 48.19%,rgba(103,154,220,1.00) 74.09%,rgba(209,228,246,1.00) 100%);
    background-image: -o-linear-gradient(222deg,rgba(216,233,247,1.00) 0%,rgba(112,160,222,1.00) 22.28%,rgba(225,239,250,1.00) 48.19%,rgba(103,154,220,1.00) 74.09%,rgba(209,228,246,1.00) 100%);
    background-image: linear-gradient(228deg,rgba(216,233,247,1.00) 0%,rgba(112,160,222,1.00) 22.28%,rgba(225,239,250,1.00) 48.19%,rgba(103,154,220,1.00) 74.09%,rgba(209,228,246,1.00) 100%);
}
@media (max-width:770px) {
#banner a{
    width: auto;
    height: 60px;
    display: block;
    text-decoration: none;
    line-height: 60px;
    font-size: 1.2rem;
    font-family: a-otf-ud-shin-go-pr6n, sans-serif;
    color: #21436B;
    background-image: url(../img_top_2018/netowork_back.png);
    background-size:cover;
    text-indent: 2em;
    font-weight: bold;
}
}

/*--------------------------------------------------------*/
/* メニュー
/*--------------------------------------------------------*/
nav {
	grid-area: nav;
	background: #fff;
}
nav .type1{
    font-family: a-otf-ud-shin-go-pr6n, sans-serif;
    font-size: 1.3rem;
    margin-top: 10px;
    font-weight: bold;
}
nav .type1 a{
    display: block;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 10px;
    padding: 0;
    width: 94%;
    border: 1px solid #6F6F6F;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
    text-indent: 0.3em;
    color: #D01919;
    background-image: -webkit-linear-gradient(270deg,rgba(255,255,255,1.00) 9.84%,rgba(218,218,218,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(255,255,255,1.00) 9.84%,rgba(218,218,218,1.00) 100%);
    border-radius: 3px;
	/*-----はみ出したテキストを「...」で表示-----*/
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;

}
nav .type1 a:hover{
	transition: .3s;
	color: #FF7600;
    background-image: -webkit-linear-gradient(270deg,rgba(218,218,218,1.00) 13.99%,rgba(255,255,255,1.00) 100%);
    background-image: -moz-linear-gradient(270deg,rgba(218,218,218,1.00) 13.99%,rgba(255,255,255,1.00) 100%);
    background-image: -o-linear-gradient(270deg,rgba(218,218,218,1.00) 13.99%,rgba(255,255,255,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(218,218,218,1.00) 13.99%,rgba(255,255,255,1.00) 100%);
}
nav .type2{
    font-family: a-otf-ud-shin-go-pr6n, sans-serif;
    font-size: 1.3rem;
    font-weight: bold;    
}
nav .type2 a{
    display: block;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 10px;
    padding: 0;
    width: 94%;
    border: 1px solid #6F6F6F;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
    text-indent: 0.3em;
    color: #003366;
    background-image: -webkit-linear-gradient(270deg,rgba(255,255,255,1.00) 9.84%,rgba(218,218,218,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(255,255,255,1.00) 9.84%,rgba(218,218,218,1.00) 100%);
    border-radius: 3px;
	/*-----はみ出したテキストを「...」で表示-----*/
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
}
nav .type2 a:hover{
	transition: .3s;
	color: #FF7600;
    background-image: -webkit-linear-gradient(270deg,rgba(218,218,218,1.00) 13.99%,rgba(255,255,255,1.00) 100%);
    background-image: -moz-linear-gradient(270deg,rgba(218,218,218,1.00) 13.99%,rgba(255,255,255,1.00) 100%);
    background-image: -o-linear-gradient(270deg,rgba(218,218,218,1.00) 13.99%,rgba(255,255,255,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(218,218,218,1.00) 13.99%,rgba(255,255,255,1.00) 100%);
}
@media (max-width:810px) {
	nav .type1 a,
	nav .type2 a{
		height: 40px;
		line-height: 40px;
		/*-----はみ出したテキストを「...」で表示-----*/
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}
/*
@media (max-width:680px) {
	nav .type1 a i,
	nav .type2 a i{
		display: none;
	}
	nav .type1 a,
	nav .type2 a{
		height: 50px;
		line-height: 50px;
		
	}	
}*/

@media (max-width:770px) {

	nav .type1 a i,
	nav .type2 a i{
    display: inline-block;
	}
	nav .type1,
	nav .type2{
    font-size: 1.3rem;
    font-weight: bold;

	}	
	nav .type1 a,
	nav .type2 a{
    	width: 100%;
		padding-top: 0.3rem;
    	padding-bottom: 0.3rem;
		font-size: 1.3rem;
	}

}
/*--------------------------------------------------------*/
/* アコーディオンメニュー
/*--------------------------------------------------------*/
.accordion-container {
    width: 94%;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 10px;
}
@media (max-width:770px) {

	.accordion-container {
		width: 100%;
		padding-top: 0;
		padding-right: 0;
		padding-left: 0;
		padding-bottom: 0;
		margin-top: 0;
		margin-bottom: 10px;
	}
}
.accordion-container a{
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    display: block;
    margin-left: 5%;
    width: 92%;
    background-image: -webkit-linear-gradient(270deg,rgba(255,255,255,1.00) 9.84%,rgba(218,218,218,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(255,255,255,1.00) 9.84%,rgba(218,218,218,1.00) 100%);
    border-left: 1px solid #6F6F6F;
    border-right: 1px solid #6F6F6F;
    border-bottom: 1px solid #6F6F6F;
    border-top: 0px solid #6F6F6F;
    border-radius: 0px;
    margin-bottom: 0;
    text-decoration: none;
    font-family: a-otf-ud-shin-go-pr6n, sans-serif;
    font-size: 1rem;
    z-index: -50;
    padding-left: 3%;
    padding-right: 0%;
    color: #333;
    font-weight: 700;
    /*-----はみ出したテキストを「...」で表示-----*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width:770px) {
	.accordion-container a{
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: block;
    width: 82%;
    background-image: -webkit-linear-gradient(270deg,rgba(255,255,255,1.00) 9.84%,rgba(218,218,218,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(255,255,255,1.00) 9.84%,rgba(218,218,218,1.00) 100%);
    border-left: 1px solid #6F6F6F;
    border-right: 1px solid #6F6F6F;
    border-bottom: 1px solid #6F6F6F;
    border-top: 0px solid #6F6F6F;
    border-radius: 0px;
    margin-bottom: 0;
    text-decoration: none;
    font-family: a-otf-ud-shin-go-pr6n, sans-serif;
    font-size: 1.2rem;
    z-index: 1000;
    padding-left: 3%;
    padding-right: 0%;
    color: #333;
    font-weight: 700;
    margin-right: 15%;
    margin-left: 0;
	}
}
.accordion-container a:hover{
	transition: .3s;
	color: #FF7600;
    background-image: -webkit-linear-gradient(270deg,rgba(218,218,218,1.00) 13.99%,rgba(255,255,255,1.00) 100%);
    background-image: -moz-linear-gradient(270deg,rgba(218,218,218,1.00) 13.99%,rgba(255,255,255,1.00) 100%);
    background-image: -o-linear-gradient(270deg,rgba(218,218,218,1.00) 13.99%,rgba(255,255,255,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(218,218,218,1.00) 13.99%,rgba(255,255,255,1.00) 100%);	
}

details {
    padding: 0;
    margin: 0;
}
summary {
    display: block;
    cursor: pointer;
    font-family: a-otf-ud-shin-go-pr6n, sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
    display: block;
    margin-top: 10px;
    margin-right: 0;
    margin-left: 0;
    padding: 0;
    width: 100%;
    border: 1px solid #6F6F6F;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
    text-indent: 0.3em;
    color: #003366;
    background-image: -webkit-linear-gradient(270deg,rgba(255,255,255,1.00) 9.84%,rgba(218,218,218,1.00) 100%);
    background-image: linear-gradient(180deg,rgba(255,255,255,1.00) 9.84%,rgba(218,218,218,1.00) 100%);
    border-radius: 3px;
    z-index: 9999;
}

.accordion-content {
    margin: 0;
    padding: 0;

}

details[open] summary {
  color: #003366;
}

@media (max-width:770px) {
	summary {
    	width: 100%;
	}
}












/*--------------------------------------------------------*/
/* 和歌山市の状況
/*--------------------------------------------------------*/
aside {
    grid-area: aside;
    display: flex;
    background-color: var(--main);
    justify-content: space-evenly;
    padding-bottom: 0.4rem;
    padding-top: 0;
}
aside h2{
	display: none;
}
aside div a{
    display: block;
    padding-top: 0.8rem;
    padding-right: 0.8rem;
    padding-left: 0.8rem;
    padding-bottom: 0.8rem;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 0.5rem;
    font-family: "nitalago-rera", sans-serif;
    font-weight: bold;
	font-size: 1rem;
}
aside div a:hover{
    background-color: #149CD5;
	transition: .3s;
}
@media (max-width:990px) {
	aside div a{
		font-family: "nitalago-rera", sans-serif;
		font-weight: normal;
		font-size: 0.9rem;
	}

}
@media (max-width:880px) {
	aside div a{
    font-family: "nitalago-rera", sans-serif;
    font-weight: normal;
    font-size: 0.8rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
	}

}
/*
@media (max-width:760px) {
	aside div a{
    font-family: "nitalago-rera", sans-serif;
    font-weight: normal;
    font-size: 0.75rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
	}
	aside div i{
    	display: none !important;		
	}
}
*/
@media (max-width:770px) {
	aside {
		grid-area: aside;
		display: flex;
		background-color: #fff;
		margin: 0;
		padding: 0;
		flex-direction: column;
		row-gap: 0.5rem;
		justify-content:center;
	}
	aside div a{
		display: block;
		padding: 1rem;
		color: #fff;
		border: 1px solid var(--main);
		border-radius: 5px;
		text-decoration: none;
		font-family: "nitalago-rera", sans-serif;
		font-weight: normal;
		font-size: 1.2rem;
		width: auto;
		margin-left: auto;
		margin-right: auto;
		background-color: var(--main);
		margin-top: 0;
	}
	aside h2{
		font-family: "hiragino-kaku-gothic-pron", sans-serif;
		padding: 0;
		width: 100%;
		margin: 0;
		text-align: center;
		font-size: 1.4rem;
		display: block;
		font-style: normal;
		font-variant: normal;
		color: #333333;
		line-height: normal;
		height: auto;
	}
	aside div i{
    	display: inline-block !important;
	}
}



footer {
	grid-area: footer;
}
#footer{
    font-family: "nitalago-rera", sans-serif;
    width: 100%;
    height: auto;
    text-align: center;
    color: #333;
    padding-bottom: 3rem;
    padding-top: 1rem;
    font-size: 0.7rem;
}
@media (max-width:500px) {
	#footer{
		font-size: 0.75rem;
	}
}
