﻿@import url('/fuzoku.common.css');
/* CSS Document */
@media screen and (max-width: 800px)  {
	header {
		width: 100%;
	}
	header h1 {
		position: fixed;
		//font-size: large;
		top: 0px;
		left: 74px;
		padding: 5px;
		margin: 0px;
		display: block;
		font-size: 16px;
		//min-width: 800px;
		//transform: translateX(-300px);
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		z-index: 10;
	}
	#main h1 {
		font-size: x-large;
		margin: 5px;
	}
	#number {
		position: sticky;
		background-color: #ffffff;
		border-bottom: 1px solid #cccccc;
		top: 0px;
		padding: 5px;
		font-size: small;
	}
	#number b {
		font-size: large;
	}
	#result {
	}
	#result ol {
		margin: 5px;
		padding: 0px;
	}
	#result ol li {
		margin: 0px 0px 10px 0px;
		display: block;
		background: #ffffff;
		border: thin solid #cccccc;
		list-style-type: none;
		border-radius: 5px 5px 5px 5px;
		//-moz-border-radius: 5px;
		//-webkit-border-radius: 5px;
	}
	#result ol li:hover {
		border-color: #999999;
	}
	#result ol li h2 {
		background: linear-gradient(#FFFFFF, #FAFAFA);
		//border-top: 2px solid #cc99ff;
		font-size: large;
		margin: 2px 0px 0px 0px;
		padding: 0px 5px 3px 5px;
	/*
		border-left-width: 1px;
		border-left-style: solid;
		border-left-color: #CCCCCC;
		border-right-width: 1px;
		border-right-style: solid;
		border-right-color: #CCCCCC;
	*/
		border-bottom: 1px solid #cccccc;
	/*
		boader-radius: 5px, 5px, 0px, 0px;
		-moz-border-radius: 5px, 5px, 0px, 0px;
		-webkit-border-radius: 5px, 5px, 0px, 0px;
	*/
	}
	#result dl {
		margin: 0px 0px 2px 2px;
	}
	#result dl dt {
		color: #999999;
		font-size: x-small;
		margin: 0px 0px 0px 0px;
	}
	#result dl dd {
		margin: 0px 0px 0px 0px;
		font-size: small;
	}
	#result .addresss {
		display: inline-block;
	}
	#result .building {
		display: inline-block;
	}
	#result dl.category dt,
	#result dl.course dt,
	#result dl.addresss dt {
		color: #999999;
		margin: 0px 0px 5px 5px;
	}
	#result dl.category dd,
	#result dl.course dd,
	#result dl.addresss dd {
		display: inline-block;
		margin: 0px 0px 5px 0px;
	}
	#result dl.category dd:after,
	#result dl.course dd:after {
		content: ",";
		margin-right: 5px;
	}
	#result dl.course dd:last-child:after {
		content: "";
	}
	#result .image {
		display: flex;
		overflow: hidden;
	}
	#result .image img {
		#max-width: 72px;
		#min-height: 72px;
		#max-height: 72px;
		//min-width: 36px;
		//max-width: 62px;
		width: 62px;
		
		height: 62px;
		object-fit: contain;
		filter: grayscale(100%) blur(2px);
		border: 1px solid #cccccc;
		margin: 1px;
	}
	
	#latest {
		clear: both;
		display: block;
		float: none;
		width: 100%;
	}
	#room h2 {
		background-color: #9900FF;
		padding: 5px;
		color: #FFFFFF;
	}
	#room ul {
		margin: 0px;
		padding: 0px;
	}
	#room ul li {
		margin: 0px;
		padding: 0px;
		list-style-type: none;
	}
	#room ul li img {
		width: 100%;
	}
	#photo h2 {
		background-color: #9900FF;
		padding: 5px;
		color: #FFFFFF;
	}
	#photo ul {
		margin: 0px;
		padding: 0px;
	}
	#photo ul li {
		margin: 0px;
		padding: 0px;
		list-style-type: none;
	}
	#photo ul li img {
		width: 100%;
	}
	#paging {
		position: fixed;
		bottom: 36px;
		height: 32px;
		width: 100%;
		background-color: #ffffff;
		border-top: 1px solid #cccccc;
		margin: 0px;
		padding: 0px;
		//overflow-x: auto;
		align-items: center;
		box-sizing: border-box;
		
	}
	#paging ul {
		margin: 0px;
		padding: 0px;
		display: flex;
		gap: 0px;
		list-style: none;
		align-items: center;
		/line-height: 1;
		//height: 30px;
		width: 100%;
		box-sizing: border-box;
	}
	#paging ul li {
		display: block;
		//flex-direction: column;
		//margin: 0px;
		//padding: 0px;
		min-width: 32px;
		height: 32px;
		//height: 32px;
		text-align: center;
		vertical-align: middle;
		font-size: 16px;
		line-height: 1;
	}
	#paging ul li a {
		display: block;
		//border-right: 1px solid #cccccc;
		padding: 8px 0px;
		margin: 0px;
		text-decoration: none;
		//width: 100%;
		//height: 30px;
		line-height: 1;
		vertical-align: middle;
	}
	#paging ul li a:hover {
		background-color: #fafafa;
	}
	#paging ul li b {
		display: block;
		//width: 16px;
		//height: 30px;
		background-color: #eeeeee;
		//border-right: 1px solid #e0e0e0;
		padding: 8px 0px;
		margin: 0px;
	}
}

@media screen and (min-width: 960px)  {
	header h1 {
		position: fixed;
		//font-size: large;
		top: 0px;
		left: 50%;
		padding: 5px;
		margin: 0px;
		display: block;
		font-size: 16px;
		//min-width: 800px;
		transform: translateX(-390px);
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		z-index: 10;
	}

	#main a {
		color: #0066CC;
	}

	#main h1 span {
		font-size: 50%;
		font-weight: normal;
		#padding-top: 5px;
		margin-bottom: 10px;
	}
	#main h1 span:before {
		content: " < ";
	}
	#main h3 span {
		font-size: 50%;
		font-weight: normal;
		#padding-top: 5px;
		margin-bottom: 10px;
	}
	#main h3 span:before {
		content: " < ";
	}
	#number {
		position: sticky;
		top: 0px;
		//width:100%;
		background-color: #ffffff;
		border-bottom: 1px solid #cccccc;
		margin: 0px;
		padding: 1px;
		font-size: small;
	}
	#number b {
		font-size: large;
		margin: 0px 2px;
	}
	#result {
		//padding-bottom: 36px;
		margin-bottom: 72px;
	}
	#result ol {
		margin: 0px;
		padding: 0px;
	}
	#result ol li {
		//margin-top: 0px;
		//margin-left: 0px;
		//margin-right: 0px;
		margin-bottom: 0px;
		padding: 0px;
		display: block;
		background-color: #ffffff;
		border-bottom: 1px solid #cccccc;
		list-style-type: none;
		//border-radius: 5px;
		//-moz-border-radius: 5px;
		//-webkit-border-radius: 5px;
	}
	#result ol li h2 {
		font-size: large;
		padding: 4px;
		margin: 0px;
		//background: linear-gradient(#FFFFFF, #FAFAFA);
		//border-top-width: 1px;
		//border-top-style: solid;
		//border-top-color: #CC99FF;
	/*
		border-left-width: 1px;
		border-left-style: solid;
		border-left-color: #CCCCCC;
		border-right-width: 1px;
		border-right-style: solid;
		border-right-color: #CCCCCC;
	*/
		//border-bottom: 1px solid #CCCCCC;
	/*
		boader-radius: 5px, 5px, 0px, 0px;
		-moz-border-radius: 5px, 5px, 0px, 0px;
		-webkit-border-radius: 5px, 5px, 0px, 0px;
	*/
	}
	#result h2 span {
		font-size: 50%;
		font-weight: normal;
		#padding-top: 5px;
		margin-bottom: 10px;
	}
	#result h2 span:before {
		content: " < ";
	}
	#result .address {
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 2px;
	}
	#result .address dt{
		grid-row: 1 / span 2; /* アイコンを2行分に縦揃え */
		width: 16px;
		height: 16px;
		margin-top: 5px;
		background-image: url('/img/icon.address.png');
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
		text-indent: -9999px;
		overflow: hidden;
		white-space: nowrap;
	}
	#result .address dd {
		margin: 0;
		padding: 0;
	}
	#results .address dd:first-of-type::before {
		content: "";
		display: inline-block;
		background-image: url('/img/icon.address.png');
		background-size: contain;
		background-repeat: no-repeat;
		width: 16px;
		height: 16px;
		background-position: 0px 0px;
		//vertical-align: middle;
		//margin-top:4px;
	}

	#result .hour {
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 2px;
	}
	#result .hour dt{
		grid-row: 1 / span 2; /* アイコンを2行分に縦揃え */
		width: 16px;
		height: 16px;
		margin-top: 5px;
		background-image: url('/img/icon.hour.png');
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
		text-indent: -9999px;
		overflow: hidden;
		white-space: nowrap;
	}
	#result .hour dd {
		margin: 0;
		padding: 0;
	}

	#result dl {
		margin: 4px;
	}
	#result dl.category dt,
	#result dl.course dt,
	#result dl.addresss dt {
		color: #999999;
		font-size: small;
		margin-bottom: 1px;
	}
	#result dl.category dd,
	#result dl.course dd,
	#results dl.addresss dd {
		margin: 5px;
		display: table-cell;
	}
	#result dl.category dd:after,
	#result dl.course dd:after {
		margin-right: 5px;
	}
	#result dl.course dd:last-child:after {
		content: "";
	}
	
	#paging {
		position: fixed;
		display: block;
		//top: 100%;
		bottom: 36px;
		height: 36px;
		//width: 475px;
		//margin-left: 5px;
		margin-right: 5px;
		background-color: #ffffff;
		border-top: 1px solid #cccccc;
		//border-left: 1px solid #cccccc;
		border-right: 1px solid #cccccc;
		//border-top-left-radius: 5px 5px;
		border-top-right-radius: 5px 5px;
		//margin: 0px;
		//padding: 0px;
		//overflow: visible;
		align-items: center;
		z-index: 2;
		
	}
	#paging ul {
		margin: 0px 2px;
		//margin: 0px;
		padding: 0px;
		display: flex;
		gap: 0px;
		list-style: none;
		align-items: center;
		line-height: 1;
		width: 400px;
		//height: 30px;
	}
	#paging ul li {
		display: block;
		//flex-direction: column;
		//margin: 0px;
		//padding: 0px;
		width: 10%;
		text-align: center;
	}
	#paging ul li a {
		display: block;
		//border-right: 1px solid #cccccc;
		//font-size: 100%;
		padding: 8px 0px;
		//margin: 0px;
		text-decoration: none;
		height: 36px;
		box-sizing: border-box;
	}
	#paging ul li a:hover {
		background-color: #fafafa;
	}
	#paging ul li b {
		box-sizing: border-box;
		background-color: #fafafa;
		display: block;
		//border: 1px solid #e0e0e0;
		padding: 8px 0px;
		//margin: 0px;
		height: 36px;
	}

	#foot {
		position: fixed;
		bottom: 0px;
		background-color: #FFFFFF;
		display: block;
		width: 100%;
		height: 36px;
		border-top-width: thin;
		border-top-style: solid;
		border-top-color: #CCCCCC;
	}
}

/* For Desktop */

/* For Desktop */

/* For Smartphone */

