/* IMPORT CSS */
@import url("grid.css");
@import url("content.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
/*    display:block; */
    color: #000; /*666*/
    text-decoration-line: none;
}

.sub a {
	color: #069;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}
a img:hover {
	opacity: 0.8;
}
.underline {
	border-bottom: 3px solid #000;
	padding-bottom: 0.5rem;
}

/*ヘッダー
-------------------------------------*/
header {
	background:url(../img/blue-line1.gif) repeat-x top;
}

.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
	background:url(../img/blue-line2.gif) repeat-x bottom;
    
}

.head h1 { 
    padding: 1rem 0 0 0;
    margin-bottom: 0;
}
.telbox {
	margin-left: auto;
	font-size: 2.5rem;
	padding: 1rem 0 0 0;
}

.telbox a {
	color: #1e90ff!important;
	display:inline;
}

/* pcでの電話発信無効化（IE10未対応） */
@media(min-width: 768px){
  a[href^="tel:"]{
    pointer-events: none;
  }
}

nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 1rem;
}
nav li {
    display: block;
    flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
}
nav a:hover {
    background-color: #f7f7f7;    
}
nav a {
    padding: 1rem;
}

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

#navi {
    /* display: block !important; */
    display:none;
}
}

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

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
/* menuボタンと重ならないように */
img.ccilogo {
	width:220px;
}
}

/*メイン画像 （当面は非表示）。
-------------------------------------*/
.headmenu {
	width: 100vw;
}

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

/*新着情報(未使用　使用分は後述）
-------------------------------------*/
.news h2 {
    border-bottom: 3px solid #189FC7;
	padding: 0.5rem;
	font-size:3rem;
	color: #189FC7;
	background-color:#eff7ff;
	margin-top:1em;
}
.news li {
    list-style-type: none;
	border-bottom: 1px solid #ccc;
	padding: 0.5rem 0;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #f7f7f7;
    padding: 0.5rem 0;
}
footer h5 {
    border-bottom: 3px solid #ccc;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
    font-size:1.2rem;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}
address {
	font-size:1.4rem;
	margin-bottom:1rem;
}

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

.breadcrumb2 {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb2 li {
    display: inline;/*横に並ぶように*/
    list-style-type: none;
}
.breadcrumb2 li a {
    display: inline-block;
    color: #959fa5;
}
.breadcrumb2 li:after {
  /* >を表示*/
  content: '>';
  padding: 0 0.2em;
}

/*汎用
-----------------------------*/
.mt1 {
	margin-top:1em;
}
.mt2 {
	margin-top:2em;
}
.mb1 {
	margin-bottom:1em;
}
.mb2 {
	margin-bottom:2em;
}
.ml2 {
	margin-left:2em;
}
.mt4 {
	margin-top:4em;
}
.floatleft {
	float:left;
	margin-right:10px;
}
.small {
	font-size:85%;
}
.aligncenter {
	text-align: center;
}

/*スマホ　PC 表示切り替え
-------------------------------------*/
@media screen and (max-width: 768px){
.pconly {
	display:none!important;
}
.sponly {
	display: block;
}
}

@media screen and (min-width: 768px){
.sponly {
	display:none;
}
.pconly {
	display: block;
}
}

.nodisp {
	display:none;
}

/*ヘッダー４メニューをスマホで２列表示
-----------------------------------*/
@media screen and (max-width: 768px) {
	table.headermenu td {
		width:48%;
		padding:0px 10px;
	}
}
		


/*新着情報
-------------------------------------*/
.topics dl {
padding: 2px 0;
border-bottom: 1px solid #ccc;
}

.topics dt {
padding-bottom: 5px;
font-size:85%;
}

.topics dd.gaiyou {
font-size:85%;
line-height:1.4;
}

@media screen and (min-width: 768px) {
.topics dt {
clear: left;
float: left;
width: 15%;
}
.topics dd {
margin-left: 11%;
}
.topics dd.gaiyou {
margin-left:20%;	
}
}

@media screen and (max-width: 768px) {
.topics dd.gaiyou {
margin-left:2em;	
}
}

.cat-blue {
  background-color:#189FC7;
  color:#ffffff;
  font-size:85%;
  padding:2px;
  letter-spacing:0em;
  margin-right:10px;
}
.cat-blue2 {
  background-color:#ffffff;
  border:1px solid #189FC7;
  color:#189FC7;
  font-size:85%;
  padding:2px;
  letter-spacing:0em;
  margin-right:10px;
}

.cat-green {
  background-color:#009900;
  color:#ffffff;
  font-size:85%;
  padding:2px;
  letter-spacing:0.2em;
  margin-right:10px;
}
.cat-green2 {
  background-color:#ffffff;
  border:1px solid #009900;
  color:#009900;
  font-size:85%;
  padding:2px;
  letter-spacing:0.2em;
  margin-right:10px;
}

.cat-orange {
  background-color:#ff6633;
  color:#ffffff;
  font-size:85%;
  padding:2px;
  letter-spacing:0.2em;
  margin-right:10px;
}
.cat-red {
  background-color:#cc0000;
  color:#ffffff;
  font-size:85%;
  padding:2px;
  margin-right:10px;
}
.cat-red2 {
  background-color:#ffffff;
  border:1px solid #cc0000;
  color:#cc0000;
  font-size:85%;
  padding:2px;
  margin-right:10px;
}

.cat-yellow {
  background-color:#ffff00;
  border:1px solid #ffff00;
  color:#000000;
  font-size:85%;
  padding:2px;
  margin-right:10px;
}
.cat-yellow2 {
  background-color:#ffffb6;
  border:1px solid #ffff00;  
  color:#000000;
  font-size:85%;
  padding:2px;
  margin-right:10px;
}


/* サイドバー のメニュー
---------------------------------*/

ul.sidemenu {
	width: 100%;
	margin: 0;
	padding: 0;
	list-style-type: none;
    border-top:1px solid #ccc;
   border-right:1px solid #ccc;
   border-bottom:1px solid #ccc;    
}
ul.sidemenu li a {
	display: block;
	padding: 8px 0 8px 22px;
	text-decoration: none;
	color: #000000;
	background:#ffffff url(../img/bg_navi.png) no-repeat left;	
}
ul.sidemenu li {
	text-align: left;
	margin-bottom:0;
	border-bottom:1px solid #ccc;
}
ul.sidemenu li:last-child {
	border-bottom: none;
}
ul.sidemenu li a.active {
	background-color: #189FC7;
	color: #ffffff;	
}
ul.sidemenu li a:hover:not(.active) {
	background-color: #efffff;
}




/* スマホ用メニュー
-----------------------------------*/
@media screen and (max-width: 768px) {
	#navi {
		background-color: #ffffea;
		padding-bottom:20px;
		padding-top:10px;
	}
	ul.sidemenu {
		width:80%;
		margin-left:10%;
	}
	ul.sidemenu li a {
		text-align:left;
	}
	.sp4menu {
		margin-top:0;
	}
}

/* サイドバー（バナー）
-----------------------------------*/
.banners {
	text-align:center;
}

.banners img {
	margin-bottom:10px;
}

/* フッターメニュー
-------------------------------------*/

.hmenu{
	text-align: center;
	margin-bottom:2rem;
}

ul#footer-menu {
	margin: 0;
	padding: 0;
}
ul#footer-menu li {
	list-style-type: none;
	display:inline-block;
	color:#333;
	padding: 0px 0px 0px 15px;
	margin-bottom:0;
}

ul#footer-menu li a {
	font-size: 1.5rem;
	background: url(../img/square_arrow.png) no-repeat left center;
	padding: 0px 0px 0px 15px;
	color: #336699;
	text-decoration: none;
}
ul#footer-menu li a:hover {
	background: url(../img/square_arrow_on.png)  no-repeat left center;
}
ul#footer-menu li.active a{
	background: url(../img/square_arrow_on.png)  no-repeat left center;
}

/* スマホ用 フッターaddressの改行
-----------------------------------*/
@media screen and (max-width: 768px) {
	.place:before {
		content: '\A';
		white-space: pre;
	}
	.place:after {
		content: '\A';
		white-space: pre;
	}
}

/* サービス一覧
-------------------------------------*/
ul.bluelist li {
	list-style-type: none;
	display:inline-block;
	color:#333;
	padding: 0px 10px 0px 15px;
	margin-bottom:5px;
	background: url(../img/square_arrow.png)  no-repeat left center;
	border-bottom:none;
}

ul.bluelist li a {
	color: #336699;
	text-decoration: underline;
}

ul.orangelist li {
	list-style-type: none;
	display:inline-block;
	color:#333;
	padding: 0px 10px 0px 15px;
	margin-bottom:5px;
	background: url(../img/square_arrow_on.png)  no-repeat left center;
	border-bottom:none;
}

ul.orangelist li a {
	color: #336699;
	text-decoration: underline;
}
