/*---------- ページ全体の指定 ----------*/

html, body, header, section, article, nav, footer,
div, span, h1, h2, h3, h4,
ul, ol,p, li, dl, dt, dd,
table, tr, th, td, tbody, thead, tfoot {
  margin: 0;
  padding: 0;
}

img {border: 0;}

body {
  width: 100%;
  background-color: #ffffff;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS P Gothic", Verdana, sans-serif;
    line-height: 1.7;

}

a:link {
  color: #005ebb;
}

a:hover {
  color: #004080;
}

a:visited {
  color: #005ebb;

}




/*---------- ヘッダー ----------*/

header {
  width: 100%;
}

header h1 {
  padding: 2px 0 2px 8px;
  text-align: left;
  font-size: 12px;
  color: #ffffff;
  background-color: #167ee5;
}

header h2 {
  padding: 10px 0 10px 0;
  font-size: 18px;
  text-align: center;
  color: #333333;
}

header h2 a {
  color: #333333 !important;
  font-size: 18px;
  text-decoration: none;
}

header h2 a:hover {
  color: #004080 !important;
  font-size: 18px;
  text-decoration: underline;
}

header img.main_photo {
  width: 100%;
  height: auto;
}

#top_border {
  margin: 0;
  padding: 0;
}

#top_title{
  max-width:768px;
  margin:0 auto;
  padding: 0;
}

#top_img{
  max-width:768px;
  margin:0 auto;
  padding: 0;
}



/*---------- コンテンツ ----------*/

#content {
  max-width:768px;
  margin:0 auto;
  padding: 6px;
}

section {
  margin: 0 0 8px 0;
}

section h2 {
  margin: 0 0 8px 0;
  padding: 5px 0 3px 22px;
  font-size: 14px;
  border-bottom: solid 1px;
  border-bottom-color: #cccccc;
  background: url(img/h_icon.gif) left top no-repeat;
  background-color: #eeeeee;
}

section p {
  margin: 0 0 6px 0;
  line-height: 1.8;
}

section .gray_bg {
  margin: 8px 0 8px 0;
  padding: 2px 8px 2px 8px;
  line-height: 1.7;
  letter-spacing: 1px;
  border-top: solid 1px #dddddd;
  border-right: solid 1px #dddddd;
  border-bottom: solid 1px #dddddd;
  border-left: solid 1px #dddddd;
  background-color: #eeeeee;
}

section .gray_bg p {
  padding: 3px;
  line-height: 1.7;
  letter-spacing: 1px;
}

section img.picture {
  margin: 0 10px 10px 0;
  float: left;
}

section img.picture_r {
  margin: 0 0 10px 10px;
  float: right;
}

section span.red {
  color: #e60033;
}

section span.red_b {
  color: #e60033;
  font-weight: bold;
}

section span.blue {
  color: #007bbb;
}

section span.pink {
  color: #c53d43;
}

section span.brown {
  color: #993300;
}

section span.brown_b {
  color: #993300;
  font-weight: bold;
}

section span.green {
  color: #00ae4f;
}

section table.table_line {
  width: 100%;
  border-collapse: collapse;
  border: solid 0px #bbbbbb;
  margin : 8px  0 8px 0;
}

section td.table_line {
  border-collapse: collapse;
  border: solid 1px #bbbbbb;
  padding : 8px 10px 8px 10px;
}

section th.table_line {
  border-collapse: collapse;
  border: solid 1px #bbbbbb;
  padding : 8px 10px 8px 10px;
}

section .calendar {
  width: 100%;
  border-collapse: collapse;
  border: solid 0px #bbbbbb;
  margin : 8px  0 8px 0;
}

.calendar td{
  text-align:center;
  border-collapse: collapse;
  border: solid 1px #bbbbbb;
  padding : 8px 10px 8px 10px;
}

/*---------- ナビ ----------*/

nav {
  width: 100%;
  text-decoration: none;
  margin: 0 0 10px 0;
  background: url(img/nav_bg.gif) repeat-x;
}

nav h2 {
  padding: 5px 0 3px 22px;
  font-size: 14px;
  border-bottom: solid 1px;
  border-bottom-color: #cccccc;
  background: url(img/h_icon_gray.gif) left top no-repeat;
  background-color: #eeeeee;
}

nav ul {
  width: 100%;
  border-top: solid 1px;
  border-top-color: #cccccc;
}

nav li {
  width: 100%;
  list-style: none;
  text-align: center;
}

nav li a {
  padding: 10px;
  display: block;
  color: #005ebb !important;
  font-weight: bold;
  text-decoration: none;
  border-bottom: solid 2px;
  border-bottom-color: #cccccc;
  background: url(img/nav_bg.gif) repeat-x;
}

nav li a:hover {
  color: #004080 !important;
  display: block;
  font-weight: bold;
  text-decoration: none;
  border-bottom: solid 2px;
  border-bottom-color: #cccccc;
  background: url(img/nav_bg_hover.gif) repeat-x;
}


/*---------- トップに戻る ----------*/

#page_back {
  margin: 0 0 8px 0;
  padding: 0 6px 0 0;
  text-align: right;
}


/*---------- フッター ----------*/

footer {
  width: 100%;
  padding: 10px 0 10px 0;
  color: #333333;
  text-align: center;
  border-top: solid 1px;
  border-top-color: #cccccc;
  background-color: #eeeeee;
}

footer p {
  padding: 10px;
  color: #555555;
}

footer a {
  color: #555555 !important;
}

footer a:hover {
  color: #777777 !important;
}

footer a:visited {
  color: #555555;
}

footer p.copy {
  padding: 10px;
  font-size: 12px;
  color: #555555;
}

footer p.copy a {
  color: #005ebb !important;
  text-decoration: none;
}

footer p.copy a:hover {
  color: #004080 !important;
  text-decoration: underline;
}

footer p.copy a:visited {
  color: #005ebb;
  text-decoration: none;
}



#wrap{width:100%;
display:-webkit-box;/*--- Androidブラウザ用 ---*/
display:-ms-flexbox;/*--- IE10 ---*/
display:-webkit-flex;/*--- safari（PC）用 ---*/
display:flex;
justify-content: center;padding:0;list-style: none;}
.box0{width:calc(100%    );margin:2px;background-color: #eeeeee;border: outset 5px;}
.box1{width:calc(100% / 2);margin:2px;background-color: #eeeeee;border: outset 5px;}
.box2{width:calc(100% / 3);margin:2px;background-color: #eeeeee;border: outset 5px;}
.box0:hover, .box1:hover, .box2:hover{opacity:0.6;}
li p{text-align:center;font-weight:bold;}





/*---------- タブメニュー ----------*/

/* 表示領域全体 */
div.tabbox {
   margin: 0px; padding: 0px; width: 100%;
}

/* タブ部分 */
p.tabs { margin: 0px; padding: 0px; }
p.tabs a {
   display: block;
   min-width: 15%;
   float: left;
   margin: 0px 1px 0px 0px; padding: 3px;
   text-align: center;
   border-radius: 4px 4px 0px 0px; /* 角を丸くする */
}
p.tabs a.tab1 { background-color: #FFCCCC; color: black;text-decoration: none; }
p.tabs a.tab2 { background-color: #FFCCFF; color: black;text-decoration: none;}
p.tabs a.custom1 { background-color: #E9F6D7; color: black;text-decoration: none; }
p.tabs a.custom2 { background-color: #C9E9EE; color: black;text-decoration: none; }
p.tabs a.custom3 { background-color: #D2CCF4; color: black;text-decoration: none; }
p.tabs a.custom4 { background-color: #CCFFFF; color: black;text-decoration: none; }
p.tabs a.custom5 { background-color: #E5FFCC; color: black;text-decoration: none; }
p.tabs a.custom6 { background-color: #FFFFCC; color: black;text-decoration: none; }
p.tabs a.custom7 { background-color: #FFE5CC; color: black;text-decoration: none; }
p.tabs a:hover { color: yellow; }

/* タブ中身のボックス */
div.tab { overflow: auto; clear: left; }
div#tab1 {
   border: solid #66aaff; background-color: #FFCCCC; border-width: 0px 0px 0px 0px;
}
div#tab2 {
   border: solid #c7c769; background-color: #FFCCFF; border-width: 0px 0px 0px 0px;
}
div#custom1 {
   border: solid #f6a3a3; background-color: #E9F6D7; border-width: 0px 0px 0px 0px;
}
div#custom2 {
   border: solid #d6a3a3; background-color: #C9E9EE; border-width: 0px 0px 0px 0px;
}
div#custom3 {
   border: solid #d6a3a3; background-color: #D2CCF4; border-width: 0px 0px 0px 0px;
}
div#custom4 {
   border: solid #d6a3a3; background-color: #CCFFFF; border-width: 0px 0px 0px 0px;
}
div#custom5 {
   border: solid #d6a3a3; background-color: #E5FFCC; border-width: 0px 0px 0px 0px;
}
div#custom6 {
   border: solid #d6a3a3; background-color: #FFFFCC; border-width: 0px 0px 0px 0px;
}
div#custom7 {
   border: solid #d6a3a3; background-color: #FFE5CC; border-width: 0px 0px 0px 0px;
}
div.tab p { margin: 0.5em; }

div.pfm{float:left; text-align: center; border: solid  1px #bbbbbb;padding:3px;border-collapse: collapse;font-size:small;width:15%;}

div.startend{text-align:left;font-size:small;}





#footerFloatingMenu {
    display: block;
    width: 100%;
    max-width:400px;
    margin: 0 auto;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 2px;
    z-index: 9999;
    text-align: center;
    padding: 0 auto;
}

#footerFloatingMenu img {
    max-width: 99%;
}



/*---------- 利用店舗 ----------*/
ul.riyo_tenpo{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
	flex-wrap: wrap;
}
ul.riyo_tenpo li{
	width: 50%;
    height: 200px;
    display: flex;
    display:table-cell;
    vertical-align:middle;
    text-align:center;
}

ul.riyo_tenpo li a{
	display:block;
    text-decoration:none;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul.riyo_tenpo li a figure{
	margin:0px;
}

ul.riyo_tenpo li a figure img{
	width: 100%;
    height: 150px;
}

ul.riyo_tenpo li a figure figcaption{
	font-size: small;
}





/*---------- ヘッダーナビ ----------*/

ul.header_navi {
    display:table;
    table-layout:fixed;
    position: fixed;
    width:100%;
    padding-bottom: 40px;
    padding: 0px;
    margin:0px;

}
ul.header_navi li {
    display:table-cell;
    vertical-align:middle;
    text-align:center;
    background-color:rgba(221, 221, 221, 0.8);
    border-left:1px solid #bbbbbb;
    border-bottom:1px solid #bbbbbb;
}
ul.header_navi li:first-child {
    border-left:none;
}
ul.header_navi li a {
    display:block;
    text-decoration:none;
    color:black;
    height: 50px;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul.header_navi li a figure {
  margin:0px;
}

ul.header_navi li a figure img{
	height : 25px;
}

ul.header_navi li a figure figcaption{
	font-size: xx-small;
}



/*---------- フッターナビ ----------*/
ul.footer_navi {
    display:table;
    table-layout:fixed;
    width:100%;
    padding: 0px;
    margin:0px;
    position: fixed;
    bottom: 0;
}
ul.footer_navi li {
    display:table-cell;
    vertical-align:middle;
    text-align:center;
    background-color:rgba(221, 221, 221, 0.7);
    border-left:1px solid #bbbbbb;
    border-top:1px solid #bbbbbb;
}
ul.footer_navi li:first-child {
    border-left:none;
}
ul.footer_navi li a {
    display:block;
    text-decoration:none;
    color:black;
    height: 50px;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul.footer_navi li a figure{
	margin : 0;
}

ul.footer_navi li a figure img{
	height : 25px;
}

ul.footer_navi li a figure figcaption{
	font-size: xx-small;
}





/*---------- 店舗情報 ----------*/
table.shopinfo {
  border-collapse:collapse;
  margin:0 auto;
  width:100%;
}
table.shopinfo td,table.shopinfo th{
  border:1px solid #ccc;
  padding:10px;
}
table.shopinfo th{
  background:#EFEFEF;
  width:35%;
}
table.shopinfo tr:first-child th{
  border-top:5px solid #7aaaef;
}
table.shopinfo tr:first-child td{
  border-top:5px solid #ccc;
}


/*---------- 外部ＨＰリンクアイコン ----------*/
img.hplinkicon{
  border-width:5px;
  border-style:solid;
  border-radius: 25px;
  width: 80px;
}

img#hplink{
	border-color:#7aaaef;
}
img#majanoukokulink{
	border-color:#7a85ac;
}
img#jansakulink{
	border-color:#c25051;
}

/*---------- ライバル ----------*/
ul.rivallist{
display: flex;
flex-wrap: wrap;
border: 0px solid #ff00ff;
list-style: none;
}

ul.rivallist li{
      border: 1px #ccc solid;
      width: 33%;
      height: 100px;
      margin: 0 -1px -1px 0;
      background-color: #FFF;
}
div.rivalimg{
	height: 80%;
	display: flex;
	align-items: center;
	justify-content: center;
}
div.rivaldata{
	height: 20%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: xx-small;
}
ul.rivallist li div img{
	max-width: 80%;
	max-height: 80%;
}
