html, body {
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	font-size: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	color: #313131;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-text-size-adjust:100%;
    -webkit-text-size-adjust:100%;
    -ms-text-size-adjust:100%;
}

header {
    position: fixed;
	text-align: center;
    z-index: 10000;
    width: 100%;
}

main {
    overflow-y: scroll;
    /*padding-top: 32px;*/
}

#foot {
    clear: both;
    background-color: #003f88;
    padding: 8px 4px 8px;
    font-size: 12px;
    color: #fff;
    margin: 0;
}

.flexbox {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	-webkit-justify-content: center;
	justify-content: center;
}

.main_box {
	flex: 1 1 400px;
	order: 0;
}

.btn_box {
	display: flex;
	flex: 0 0 276px;
	order: 1;
    margin: 2px 0px;
	padding: 2px 2px 2px;
	flex-direction: column;
	-webkit-align-items: center;
 	align-items: center;
	-webkit-justify-content: center;
 	justify-content: center;
}

.ads_box {
	display: flex;
    justify-content: center;
	flex: 0 0 308px;
    margin: 2px 0px;
	order: 2;
}

.ads_piece {
    width: 300px;
    height: 250px;
    margin: 4px 10px;
}

.review_box {
	display: flex;
	flex: 1 0 100%;
	align-items: center;
	padding: 6px 0px;
	order: 3;
}

.ads_box2 {
    display: flex;
    justify-content: center;
	flex: 1 0 100%;
    margin: 0px 0px;
}

.raku_box {
	text-align: center;
	width: 282px;
	margin: 0px 0px 2px;
	border: 0px;
	font-size: 1.0rem;
}

#raku_box2 {
	height: 4px;
	margin: 0px 0px 4px;
	background-color: #003f88; /*#32cd32;*/
}

.raku_header {
	line-height: 24px;
	text-align: center;
	margin: 0px;
	padding: 4px;
	text-align: center;
	background: #003f88;
	font-weight: normal;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	color: #fff;
}

.disc_box {
	text-align: center;
	width: 282px;
	margin: 0px 0px 2px;
	border: 0px;
	font-weight: bold;
	font-size: 1.0rem;
}

.disc_header {
	position: relative;
	display: inline-block;
	padding: 0 75px;
	color: #158b2b;
}

.disc_header:before, .disc_header:after {
	content: '';
	position: absolute;
	top: 50%;
	display: inline-block;
	width: 65px;
	height: 3px;
	background-color: #a6ddb0;
}

.disc_header:before {
	left:0;
}

.disc_header:after {
	right: 0;
}

.raku_flex {
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin: 0px 0px 2px;
}

.disc_flex {
	display: flex;
	flex-direction: row;
	justify-content: center;
	margin: 0px 0px 2px;
}

#raku_flex2 {
	display: none;
}

/* クチコミ評価 */
.avg_rating {
	flex: 0 1 auto;
	font-size: 2.0rem;
	vertical-align: middle;
	text-align: center;
    margin: 6px;
	color: #e7711b;
}

.map {
	border: 0px;
	width: 100%;
	height: 360px;
	margin: 0px;
}

.sub_btn {
	display: inline-block;
	width: 220px;
	height: 32px;
	line-height: 32px;
	margin-bottom: 4px;
	border: 2px solid #003f88;
	background-color: #fff;
	color: #333;
	border-radius: 5px;
	font-size: 1.125rem;
	cursor: pointer;
	transition: 0.05s;
	border-radius: 4px;
}

.google_place {
	text-align: center;
	width: 100%;
	font-size: 1.0rem;
}

.google_header {
	line-height: 24px;
	text-align: center;
	margin: 0px;
	padding: 4px;
	background: #003f88;
	color: #fff;
}

.rate_flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
    align-items: center;
}

/* googleロゴ */
.google_img {
	flex: 0 0 160px;
	align-self: center;
	margin: 0px 20px 0px 4px;
	text-align: right;
}

header.bc1 {
	background-color: #c53d43;
}
header.bc2 {
	background-color: #f08300;
}
header.bc3 {
	background-color: #7c272b;
}
header.bc4 {
    background-color: #1e50a2;
}
header.bc5 {
	background-color: #0073e0;
}
header.bc6 {
	background-color: #b60015;
}
header.bc8 {
	background-color: #522f60;
}
header.bc16 {
	background-color: #ea5506;
}
header.bc17 {
	background-color: #ea5506;
}
header.bc32 {
	background-color: #8f2e14;
}
header.bc64 {
	background-color: #005243;
}
header.bc128 {
	background-color: #474b42;
}

header.mc0 {
	background-color: #1e50a2;
}
header.mc1 {
	background-color: #f39800;
}
header.mc2 {
	background-color: #c53d43;
}
header.mc3 {
	background-color: #69b076;
}

h1 {
	font-size: 1.5rem;
	font-weight: normal;
	color: #fff;
	padding: 8px 4px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
    transition: .3s;
}

h1.ek {
	padding: 6px 0px 2px 0px;
}

header.is_scroll {
    opacity: 0.96;
}

h1.is_scroll {
    font-size: 1.25rem;
    padding: 4px 4px;
}

.sub_name.is_scroll {
    font-size: 0.875rem;
    padding: 2px 4px;
}

.sub_name  {
	font-size: 1.25rem;
    padding: 6px 8px;
}

.middle_name {
    font-size: 1.5rem;
    padding: 4px 0px;
}

.small_name {
    font-size: 1.5rem;
    padding: 4px 0px;
}

.yomi {
	font-size: 0.8rem;
	font-weight: normal;
	color: #fff;
    margin: 0px;
	padding: 0px 8px 4px;
	text-align: right;
}

.mess {
	font-size: 0.875rem;
	font-weight: normal;
	color: #fff;
	margin: 4px 0px 0px;
/*    margin: -4px 0px 4px;*/
	text-align: center;
}

.nav {
	text-align: left;
	margin: 0 auto;
	font-size: 1.0rem;
}

.breadcrumb {
	width: 100%;
	margin: 0 auto;
	padding: 8px 4px;
    font-size: 1.0rem;
	line-height: 1.25rem;
	text-align: left;
	text-decoration: none;
}

.breadcrumb a {
	text-decoration: none;
}

.breadcrumb {
    box-sizing: border-box;
}

.breadname {
	display: none;
}

.breadcrumb-inner {
	width: 100%;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.breadcrumb-current {
	color: #313131;
    font-size: 1.0rem;
}

a {
  transition: color 0.05s;
  text-decoration: none;
}

a:link {
  color: #1A0DAB;
}

a:visited {
  color: #660099;
}

a:hover {
  color: #96c03d;
}

table.detailtable {
	margin: 0px 4px 0px;
	width: 98%;
	width: calc(100% - 16px);
}

/* 温泉ヘッダテーブル */
table.ob {
	table-layout: fixed;
	border-collapse:collapse;
	border-spacing: 0px;
	padding: 0px;
	margin: 2px 1px 0px 1px;
	border: 0px;
}

/* 温泉情報テーブル */
table.ot {
	table-layout: fixed;
	border-collapse: collapse;
	padding: 0px;
	border: 0px;
	margin: 2px 1px 0px 1px;
}

/* 施設名 */
td.oname {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	color: #fff;
	height: 48px;
	border-radius: 5px;
	font-weight: bold;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	cursor: pointer;
}

/* 温泉ヘッダ */
td.oh {
    width: 100px;
    height: 2.0rem;
    line-height: 1.25rem;
    font-size: 1.0rem;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    color:#888;
    margin-bottom: 2px;
}

/* 温泉情報 */
td.oi {
    text-align: left;
    vertical-align: middle;
    line-height: 1.25rem;
    font-size: 1.0rem;
    padding: 6px;
}

td.c0 {
    color: #12509b;
}
td.c1 {
    color: #d23f40;
}
td.c2 {
    color: #ff8c0a;
}
td.c3 {
    color: #b2383e;
}
td.c4 {
    color: #3e62ad;
}
td.c5 {
    color: #0073e0;
}
td.c6 {
    color: #E5001A;
}
td.c8 {
    color: #7a4171;
}
td.c16 {
    color: #f96e29;
}
td.c17 {
    color: #f96e29;
}
td.c32 {
    color: #B6391A;
}
td.c64 {
    color: #00846C;
}
td.c128 {
    color: #474b42;
}

td.m0 {
    color: #1e50a2;
}
td.m1 {
	color: #f39800;
}
td.m2 {
	color: #c53d43;
}
td.m3 {
	color: #69b076;
}

#charge_info {
	display: none;
}

/* 補足 */
td.ms {
    font-size: 0.875rem;
	line-height: 1.125rem;
}
/* 補足 */
td.mm {
    font-size: 1.0rem;
	line-height: 1.25rem;
}

/* 温泉 */
td.oo {
    font-weight: bold;
    color: #c53d43;
}

div.l2 {
	font-size: 1.0rem;
	line-height: 1.5rem;
}

/* 設備ヘッダ */
td.mh {
	max-width: 140px;
	min-width: 80px;
	font-size: 1.0rem;
	font-weight: normal;
	text-align: center;
	vertical-align: middle;
	color: #fff;
	background-color: #427CDB; /*#003f88;*/
	border-bottom: solid 1px #eee;
	margin-bottom: 2px;
}

table#facilitytable {
    border-collapse: collapse;
    border-spacing: 5px;
    margin: 0px auto 4px;
    padding: 0;
}
/*
table#facilitytable tr {
    border-bottom: solid 1px white;
}
*/
table#facilitytable tr:last-child {
    border-bottom: none;
}

table#facilitytable th {
    border-bottom: solid 1px #ddd;
}

table#facilitytable tr:last-child td {
    border-bottom: none;
}

table#facilitytable th {
    position: relative;
    width: 110px;
    background-color: #427CDB;
    color: white;
    text-align: center;
    font-weight: normal;
    vertical-align: middle;
    padding: 4px 0;
}

table#facilitytable th:after {
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top:calc(50% - 10px);
    right:-10px;
    border-left: 10px solid #427CDB;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

table#facilitytable td.mp {
    position: relative;
    max-width: 48px;
	min-width: 28px;
    background-color: #427CDB;
    color: white;
    text-align: center;
    font-weight: normal;
    vertical-align: middle;
	border-bottom: solid 1px #ddd;
    padding: 4px 0;
}

table#facilitytable td.mp:after {
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top:calc(50% - 10px);
    right:-10px;
    border-left: 10px solid #427CDB;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

table#facilitytable td {
    width: auto;
    text-align: center;
    vertical-align: middle;
    padding: 4px 0;
}

/* 風呂 */
th.ob {
    background-color: #CF6268 !important;
}

th.ob:after {
    border-left: 10px solid #CF6268 !important;
}

/* 設備情報 */
td.mi {
	text-align: center;
	vertical-align: middle;
	font-size: 1.125rem;
	font-weight: normal;
    min-width: 46px;
	padding: 4px;
}

/* 警告 */
td.oa {
	font-size: 0.75rem;
}

/* バス停・駅 */
td.os {
	text-align: left;
	vertical-align: middle;
	font-size: 0.875rem;
	line-height: 1.4rem;
	padding: 0px 4px;
}

td.red {
	font-weight: bold;
	color: red;
}

/* モバイル用TEL */
.tl {
	color: #06F;
	font-weight: bold;
}

.tax {
	color: #FF0000;
	font-size: 0.75rem;
	padding: 2px 0px 0px;
}

td.ar {
	color: #bc64a4;
}

td.fs {
	border-top: #427CDB 1px solid;
}

td.fsb {
	border-top: #CF6268 1px solid;
}

td.ls {
	border-bottom: none;
}

td.rv {
	border-top: #003f88  1px solid;
	border-bottom: #003f88 1px solid;
}

#facilitytable {
	max-width: 520px;
}
/* 温泉背景色 */
body.tc1 {
	background-color: #fff0f5;
}
body.tc2 {
	background-color: #fdf5e6;
}
body.tc3 {
	background-color: #fdeeee;
}
body.tc4 {
	background-color: #f0ffff;
}
body.tc5 {
    background-color: #e5f2ff;
}
body.tc6 {
    background-color: #ffe5e8;
}
body.tc8 {
	background-color: #e6e6fa;
}
body.tc16 {
	background-color: #ffffe0;
}
body.tc17 {
	background-color: #ffffe0;
}
body.tc32 {
	background-color: #ffdab9;
}
body.tc64 {
	background-color: #f0fff0;
}
body.tc128 {
	background-color: #dcdcdc;
}

/* 道の駅背景色 */
body.mb0 {
	background-color: #e1eeff;
}
body.mb1 {
	background-color: #f5f0e1;
}
body.mb2 {
	background-color: #fff0f5;
}
body.mb3 {
	background-color: #e9f8f3;
}

/* 温泉ボタン */
td.om {
	text-align: center;
	margin: 0px;
	padding: 0px;
}

img.i16 {
	cursor: default;
	vertical-align: middle;
	width: 18px;
	height: 18px;
	margin-bottom: 4px;
}

img.i24 {
	cursor: default;
	vertical-align: middle;
	width: 24px;
	height: 24px;
}

img.i28 {
	cursor: default;
	vertical-align: middle;
	width: 28px;
	height: 28px;
}

img.i32 {
	cursor: pointer;
	vertical-align: middle;
	width: 32px;
	height: 32px;
	padding: 6px 4px 6px 0px;
}

img.pict2 {
	width: 24px;
	height: 24px;
	margin: 0px;
}

.btn_text {
	width: 180px;
	margin-left: 12px;
	text-align: left;
}

.ghost_btn {
	width: 283px;
	height: 44px;
    line-height: 44px;
	display: flex;
	margin: 2px;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	border: 2px solid #003f88;
	background-color: #fff;
	color: #333;
	border-radius: 5px;
	font-size: 1.0rem;
	cursor: pointer;
	transition: 0.05s;
}

.ghost_btn:hover {
	background-color: #cfffcf;
}

.saunaikitai {
	color: #174de4;
}

.raku_btn {
	width: 88px;
	height: 64px;
	display: flex;
	flex-direction: column;
	margin: 2px;
	padding: 0px;
 	-webkit-align-items: center;
 	align-items: center;
	-webkit-justify-content: center;
 	justify-content: center;
	border: 2px solid #003f88;
	background-color: #fff;
	color: #333;
	border-radius: 5px;
	font-size: 0.875rem;
	cursor: pointer;
	transition: 0.05s;
}

.raku_btn:hover {
	background-color: #cfffcf;
}

img.raku_pict {
	width: 32px;
	height: 32px;
	margin: 0px 0px 6px;
}

.rakuten_credit {
	text-align: center;
	padding: 8px;
	font-size: 0.875rem;
}

.gray {
	border: 2px solid #adadad;
	background-color: #adadad;
    color: #888;
    cursor: not-allowed;
}

.gray:hover {
	background-color: #adadad;
}

.gpmess {
	font-size: 0.875rem;
	padding: 4px;
}

.rate {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 18px;
  font-size: 1.125rem;
}

.rate:before, .rate:after {
    position: absolute;
    top: 0;
    left: 0;
    content: '★★★★★';
    display: inline-block;
    height: 18px;
    line-height: 18px;
}

.rate:before {
  	color: #ccc;
  }

.rate:after {
  	overflow: hidden;
  	white-space: nowrap;
}

.rate_access:after {
	color: #bc64a4;
}

.rate_review {
	color: #eb6e00;
}

.rate_review:after {
	color: #eb6e00;
}

.rating {
	font-size: 0.875rem;
    height: 14px;
    line-height: 14px;
}

.rating:after {
	color: #eb6e00;
}

.low {
    color: #7b7c7d;
}

.low:after {
    color: #7b7c7d;
}

.high {
    color: #93ca76;
}

.high:after {
    color: #93ca76;
}

.tap_btn {
	display: inline-block;
	margin: 0px 8px 2px;
	padding: 4px;
    height: 32px;
    line-height: 32px;
    font-size: 1.0rem;
    font-weight: normal;
    text-decoration: none;
    /*text-shadow: 0 1px 1px rgba(0, 0, 0, .3);*/
    text-shadow: none;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.tap_btn:hover,
.tap_btn:focus {
	background-image: -webkit-linear-gradient(top, rgba(255,255,255,.2), rgba(0,0,0,0));
	background-image:    -moz-linear-gradient(top, rgba(255,255,255,.2), rgba(0,0,0,0));
	background-image:     -ms-linear-gradient(top, rgba(255,255,255,.2), rgba(0,0,0,0));
	background-image:      -o-linear-gradient(top, rgba(255,255,255,.2), rgba(0,0,0,0));
	background-image:         linear-gradient(top, rgba(255,255,255,.2), rgba(0,0,0,0));
}

#addition {
	height: 24px;
    line-height: 24px;
	margin-left: 10px;
	font-size: 0.875rem;
	background-color: #aaaaaa;
}

#yadococo {
	height: 24px;
    line-height: 24px;
	margin-left: 10px;
	font-size: 0.875rem;
	background-color: #d6426b;
}

.travel {
	position: relative;
	height: 36px;
    line-height: 36px;
    width: 64px;
    padding: 0px;
    border: 1px solid #003f88;
	background-color: #fff;
    margin: 2px;
    font-size: 0.875rem;
    font-weight: bold;
}

.travel .link{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#rakuten {
/*    background-color: #00b900;*/
    color: #00b900;
}
#jalan a {
    color: #ff4e00;
}
#yahoo a {
    color: #ff0033;
}
#ikkyu a {
    color: #cc9f00;
}
#yuko a {
    color: #b80930;
}
#knt a {
    color: #0051ab;
}
#jtb a {
    background-color: #df0027;
}

.jaf {
	font-weight: bold;
    color: #1d255f;
}
.jalan {
	font-weight: bold;
    color: #ff4e00;
}
.asoview {
	font-weight: bold;
    color: #ee2214;
}

.raku_review {
    min-width: 58px;
    color: #fff;
    background-color: #eb6e00;
}

.rlow {
    background-color: #7b7c7d;/*#8b0000;*/
}

.rhigh {
    background-color: #93ca76;/*#32cd32;*/
}

.sb {
  	display: block;
  	overflow-y: scroll;
}

.nb {
  	display: block;
  	overflow-y: hidden;
}

.reviewtable {
	width: calc(100% - 8px);
	border-width: 0px;
	margin: 4px;
	font-size: 0.875rem;
}

#next_review, #all_rev {
    display: none;
}

.iconbox {
	padding: 4px 0px;
	width: 36px;
  	height: 36px;
	vertical-align: middle;
	text-align: left;
}

.userbox {
	width: 100%;
	margin: 0px;
    padding: 5px 10px 0px;
    text-align: left;
}

.ratingbox {
    margin: 0px;
    padding: 2px 0px 2px 10px;
    text-align: left;
}

.datebox {
	font-size: 0.875rem;
	line-height: 18px;
}

.textbox {
	width: 100%;
    text-align: left;
	font-size: 0.9375rem;
	line-height: 20px;
	padding: 2px 0px 6px 4px;
}

.moreinfo {
    width: 80px;
	height: 18px;
	line-height: 18px;
    margin-left: 6px;
	border: 1px solid #003f88;
	background-color: #fff;
	color: #333;
	border-radius: 5px;
	font-size: 0.875rem;
	cursor: pointer;
	transition: 0.05s;
	text-align: center;
	vertical-align: middle;
}

.review1:after {
	width: 14px;
}

.review2:after {
	width: 28px;
}

.review3:after {
	width: 42px;
}

.review4:after {
	width: 56px;
}

.review5:after {
	width: 70px;
}

.uicon {
	margin: 0px 4px;
	width: 36px;
	height: 36px;
	cursor: pointer;
}

.uicon {
  	transition: 0.1s;
}

.uicon:hover{
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-ms-transform: scale(1.2);
	-o-transform: scale(1.2);
	transform: scale(1.2);
}

.total {
	color: #eb6e00;
	font-size: 0.875rem;
}

.route {
	display: inline-block;
	margin-top: 3px;
	padding: 0px;
    width: 64px;
    height: 36px;
    line-height: 36px;
	font-size: 0.875rem;
	font-weight: normal;
	text-decoration:none;
    text-shadow: none;
    text-align:center;
	border: 1px solid #003f88;
	background-color: #fff;
    color: #333;
    border-radius:5px;
    cursor: pointer;
}

.area_title {
	font-size: 1.0rem;
	font-weight: bold;
	text-align: center;
	margin: 8px 0px;
}

.price {
    font-weight: bold;
    color: #555;
}

#onsentable {
	width: calc(100% - 8px);
	min-width: 300px;
	margin: 4px;
}

a.white:link {
    text-decoration : underline;
    color : #ffffff;
}
a.white:visited {
    color : #ffffff;
}
a.white:hover {
    color : #ffffff;
}

#scroll_table {
	height: 280px;
}

/* webkitで常にスクロールバーを表示 */
#scroll_table::-webkit-scrollbar {
    width: 10px;
}

#scroll_table::-webkit-scrollbar-track {
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .1);
}

#scroll_table::-webkit-scrollbar-thumb {
  background-color: #bbb;
  border-radius: 10px;
  box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
}

.banner_btn {
	text-align: center;
	vertical-align: middle;
}

.banner_img {
	width: auto;
	padding: 0;
    margin: 0;
    background: none;
    border: 0;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
}

#banner1 {
	display: none;
	padding: 2px 0px 4px;
}

#banner2 {
	display: flex;
	padding: 2px 0px 8px;
}

a.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4px;
  width: 280px;
  height: 48px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}

a.btn:hover {
  opacity: 0.8;
}

#day_spa {
	background-color:#c53d43;
}

#michi_eki {
    background-color:#12509b;
}

#ios_pwa {
	display: none;
}

.jaf_btn {
	position: relative;
	display: inline-block;
	margin: 14px 0;
	padding: 7px 10px;
	min-width: 240px;
	max-width: 100%;
	color: #fff;
	text-align: center;
	font-size: 16px;
	background: #003f88;
	border: solid 2px #003f88;
	border-radius: 5px;
	box-sizing: border-box;
	cursor: pointer;
}

.triangle {
	display: inline-block;
	vertical-align: middle;
	margin: 0px 0px -12px;
	color: #003f88;
	line-height: 1;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent;
	border-width: 0.64952em 0.375em;
	border-top-color: currentColor;
	border-bottom: 0;
}

/* タブレット */
@media only screen and (max-width: 1024px) {

	.main_box {
		flex: 1 0 400px;
		max-width: calc(100% - 276px);
		order: 0;
	}

	.btn_box {
		flex: 0 0 276px;
		order: 1;
	}

    .ads_box {
		display: flex;
        flex: 1 0 100%;
        order: 2;
	}

    .ads_piece {
        width: 100%;
        height: 250px;
        margin: 4px 0px;
    }

    .review_box {
		flex: 0 1 1020px;
		padding: 0px 6px 6px;
		order: 3;
	}

	.nav {
		width: 100%;
		max-width: 100%;
		text-align: left;
	}

	.breadcrumb {
		width: 100%;
		max-width: 100%;
	}

	table.detailtable {
		margin: 0px 0px 0px 8px;
		width: 98%;
		width: calc(100% - 8px);
	}

	#scroll_table {
		height: auto;
	}

	.sb {
		height: auto;
		overflow-y: visible;
	}
}

/* スマホ */
@media only screen and (max-width: 720px) {

    .sub_name  {
        font-size: 1.125rem;
    }

    .middle_name {
        font-size: 1.25rem;
    }

    .small_name {
        font-size: 1.25rem;
    }

	.nav {
		width: 100%;
		max-width: 100%;
		margin: 0 auto;
		text-align: left;
		font-size: 0.875rem;
	}

    .yomi {
        padding: 4px 8px 4px;
    }

	.breadcrumb {
		width: 100%;
		margin: 0 auto;
	}

	.main_box {
		width: 100%;
        max-width: 100%;
		flex: 1 1 100%;
		order: 0;
	}

	.ads_box {
		display: flex;
		flex: 1 0 100%;
		order: 1;
	}

	.btn_box {
		max-width: 100%;
		flex: 1 0 100%;
		margin: 0px;
		order: 2;
	}

    .review_box {
		flex: 1 0 250px;
		padding: 0px 8px 0px;
		order: 1;
	}

	table.detailtable {
		margin: 0px;
		width: 100%;
	}

    table#facilitytable {
        margin-bottom: 0px;
    }

    table#facilitytable th {
        width: 90px;
    }

    #onsentable {
        width: 100%;
        min-width: 300px;
        margin: 4px 0px;
    }

	#scroll_table {
		height: auto;
	}

	.sb {
		height: auto;
		overflow-y: visible;
	}

	#banner1 {
		display: table-cell;
	}

	#banner2 {
		display: none;
	}

	.ghost_btn:hover {
		background-color: #fff;
	}
}

/* 小型スマホ */
@media only screen and (max-width: 420px) {
	h1 {
		font-size: 1.375rem;
        padding: 8px 0px;
	}

    h1.is_scroll {
        font-size: 1.125rem;
        padding: 4px 0px;
    }

    #sub_name  {
        display: block;
        font-size: 1.0rem;
        padding: 0px 0px 4px 0px;
    }

    #sub_name.is_scroll  {
        font-size: 0.875rem;
        padding: 0px 0px 2px 0px;
    }

    .middle_name {
        font-size: 1.25rem;
    }

    .small_name {
        font-size: 1.125rem;
    }

	td.oh {
		width: 98px;
		line-height: 1.125rem;
		font-size: 1.0rem;
	}

	td.oi {
		font-size: 1.0rem;
	}

	td.oa {
		font-size: 0.75rem;
	}

	td.os {
		font-size: 0.875rem;
	}

	td.mh {
		font-size: 1.0rem;
	}

    td.ms {
        font-size: 0.75rem !important;
        line-height: 1.0rem !important;
    }

    td.mm {
        font-size: 0.875rem !important;
        line-height: 1.25rem !important;
    }
}

/* 印刷時 */
@media print {

	body.tc1, body.tc2, body.tc4, body.tc8, body.tc16, body.tc32, body.tc64, body.tc128,
	header.bc1, header.bc2, header.bc4, header.bc8, header.bc16, header.bc32, header.bc64, header.bc128 {
		background-color: #fff;
	}

	header {
		color: #000;
		background-color: #fff;
		text-shadow: none;
	}

	a:link, a:visited, a:hover {
	  color: #000;
	}

	td.oh, td.oi {
		color: #000;
		background-color: #fff;
		border-bottom: solid 1px #eee;
		text-shadow: none;
	}

	td.ar {
		border-bottom: solid 1px #eee;
	}

	td.rating {
		border-top: solid 1px #eee;
		border-bottom: solid 1px #eee;
	}

	.tl {
		color: #000;
	}

	.breadcrumb, .ghost_btn, .zoom_btn {
		display: none;
	}

	.map {
	 	margin-top: 28px;
	}
}
