/*
Theme Name: cafe-sabuhiro-menu
Author: minoru kubota
Version: 1
*/

/*
----------------------------------------
reset
----------------------------------------
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

body {
	line-height: 1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
	display: block;
}

nav ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote: before, blockquote:after,
q: before, q:after {
	content: '';
	content: none;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

ins {
	background-color: #ff9;
	color: #000;
	text-decoration: none;
}

mark {
	background-color: #ff9;
	color: #000;
	font-style: italic;
	font-weight: bold;
}

del {
	text-decoration: line-through;
}

abbr[title], dfn[title] {
	border-bottom: 1px dotted;
	cursor:help;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #cccccc;
	margin: 1em 0;
	padding: 0;
}

input, select {
	vertical-align: middle;
}

html[lang='ja'] {
	margin: 0 !important;
}

#wpadminbar {
	top: auto !important;
	bottom: 0;
}


/*
----------------------------------------
common
----------------------------------------
*/


/*
----------------------------------------
default
----------------------------------------
*/

html {
	font-size: 62.5%;
}

body {
	font-size: 1.6rem;
	line-height: 1.8;
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	color: #595757;
	text-align: center;
	position: relative;
	min-width: 300px;
	-webkit-text-size-adjust: 100%;
    overflow-scrolling: touch;
}

body * {
	box-sizing: border-box;
}

a {
	color: #595757;
	text-decoration: none;
}

ul, ol {
	list-style: none;
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
}

.ofi img {
	object-fit: cover;
	font-family: 'object-fit: cover;'; /* ie */
}


/*
----------------------------------------
single
----------------------------------------
*/

body.single {
	width: 100vw;
	height: 100vh;
	background: #eee;
	overflow: hidden;
}

body.single .item {
	position: fixed;
	overflow: auto;
    overflow-scrolling: touch;
	top: 0;
	right: 3vw;
	bottom: 0;
	left: 60vw;
	background: rgba( 255, 255, 255, .75 );
	padding: 80px 30px;
	text-align: left;
}

body.single .item .ttl {
	font-size: 3.6rem;
	color: #7f4f21;
}

body.single .item .ttl .size {
	font-size: 2rem;
}

body.single .item .price {
	font-size: 2rem;
	letter-spacing: 4px;
	white-space: nowrap;
}

body.single .item .price span {
	font-size: 3.2rem;
}

body.single .item .content {
	margin-top: 10px;
	padding-top: 20px;
	border-top: dashed 2px #7f4f21;
}

body.single .back-btn {
	margin-top: 40px;
}

body.single .back-btn a {
	display: inline-block;
	color: #7f4f21;
	padding: 1px 20px;
	border: solid 1px #7f4f21;
	letter-spacing: 4px;
}

body.single .no-item {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba( 0, 0, 0, .5 );
	color: #fff;
}

body.single .no-item p {
	display: inline-block;
	padding: 5px 20px;
	background: #fff;
	color: #595757;
	border: solid 1px #595757;
	font-size: 2rem;
	letter-spacing: 4px;
}


/*
----------------------------------------
archive
----------------------------------------
*/

body.archive {
	padding: 30px;
}

body.archive h1 {
	font-size: 2rem;
	letter-spacing: 8px;
	color: #7f4f21;
	margin-bottom: 20px;
}

body.archive h1 img {
	width: 178px;
	transform: translateX( -10px );
}

body.archive .item-list {
	display: flex;
	flex-wrap: wrap;
	border-top: dashed 2px #7f4f21;
	padding: 30px 0;
}

body.archive .item {
	width: calc( ( 100% - 60px ) / 3 );
	margin-right: 30px;
	margin-bottom: 30px;
}

body.archive .item:nth-child( 3n ) {
	margin-right: 0;
}

body.archive .item a {
	display: block;
}

body.archive .item h2 {
	font-size: 2rem;
	color: #7f4f21;
	text-align: left;
}

body.archive .item .info {
	display: flex;
	align-items: flex-end;
}

body.archive .item .size {
	color: #7f4f21;
	margin-right: auto;
	padding-right: 1rem;
}

body.archive .item .price span {
	font-size: 2rem;
}


