
/* RESET CSS */

* {
	margin:0;
	padding:0;
	color: #666666; 
}

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

.c {
	text-align: center;
}

.r {
	text-align: right;
}

a:hover { 
	color: #006666; 
	text-decoration: none;
}

figure {
	margin: 0px !important;
	padding: 0px !important;
}

.cfix::after {
	content: "";
	display: block;
	clear: both;
}

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

.imgc {
	display: block !important;
	text-align: center !important;
}

ul, ol {
	list-style-type: none;
}

html {
		font-size: 14px;
		color: #333333;
}

body {
	font-weight: 400;
	font-family: 'Noto Serif JP', serif;
	text-align: left;
}

header {
	width: 100%;
}

header .container div {
	font-size: 11px;
}

header .container h1 {
	text-align: center;
}

header .container h1 a {
	display: block;
	width: 250px;
	height: 59px;
	background-image: url("https://www.tokyopanino.jp/wp-content/themes/tokyopanino_theme/img/500w-px_TP_logo.png");
	background-repeat: no-repeat;
	background-size: 250px 59px;
	text-indent: -9999px;
	margin: 0px auto;
}

header .container dl dt {
	width: 41px;
	height: 28px;
	background-image: url("https://www.tokyopanino.jp/wp-content/themes/tokyopanino_theme/img/spmenu.png");
	background-repeat: no-repeat;
	background-size: 41px 28px;
	text-align: left;
	text-indent: -9999px;
}

header .container dl dd:nth-of-type(1),
header .container dl dd:nth-of-type(1) a {
	font-size: 13px;
}

header .container dl dd:nth-of-type(2) {
	margin-top: 7px;
	font-size: 12px;
}

header .container dl dd:nth-of-type(2) span {
	font-size: 10px;
}

nav ul {
	text-align: left;
	/* width: 100%; */
}

nav ul li {
	display: inline-block;
}

nav ul li a {
	display: inline-block;
	text-decoration: none;
	font-size: 14px;
	line-height: 24px;
	color: #666666;
	padding: 15px 10px 19px 10px;
	margin: 0 5px;
	border-bottom: 3px solid transparent;
}

nav ul li a:hover {
	color: #666666;
}

nav ul li.active a {
	border-bottom: 3px solid #669999;
}

nav ul li a:hover {
	border-bottom: 3px solid #99CCCC;
}

nav ul li:before {
	content: url(https://www.tokyopanino.jp/wp-content/themes/tokyopanino_theme/img/ico_topmenu.png);
	position: relative;
	top: 3px;
	left: -3px;
}

nav ul li:first-child:before {
	content:'';
}

footer {
	width: 100%;
	text-align: center;
	margin: 30px auto 0px auto;
	background: #4b6a6a;
}

footer * {
	color: #FFFFFF;
}

footer a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}

footer dl {
	list-style-type: none;
	margin: 0px;
	padding: 30px 0px;
	text-align: left;
}

footer dt,
footer dd {
	line-height: 175%;
}

footer dt {
	font-size: 24px;
}

footer dt:nth-of-type(2) {
	margin-top: 50px;
}

footer dd {
	font-size: 14px;
}

.arrowup,
.arrowdw {
	display: block;
	text-align: center;
	min-height: calc(29px + 1.1rem);
	margin: 30px auto 60px auto;
	padding-top: calc(29px + 11px);
	color: #333333;
	text-decoration: none;
}

.arrowup {
	background: url(https://www.tokyopanino.jp/wp-content/themes/tokyopanino_theme/img/arrowupup.png) no-repeat center top;
}

.arrowdw {
	background: url(https://www.tokyopanino.jp/wp-content/themes/tokyopanino_theme/img/arrowdown.png) no-repeat center top;
}

main article {
	margin-bottom: 85px;
}

.gallery {
	text-align: center;
	margin: 0px auto 90px auto;
	overflow: hidden;
}

.gallery figure {
	background: #4b6a6a;
	cursor: pointer;
	position: relative;
	width: 50%;
	height: auto;
	float: left;
}

.gallery figure:before {
	content: "";
	display: block;
	padding-top: 75%;
}

.gallery figure img {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 2;
}

.gallery figure figcaption {
	user-select: none;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #FFFFFF;
	z-index: 1;
	overflow: hidden;
}

.gallery figure figcaption span {
	display: inline-block;
	color: #FFFFFF;
}

.gallery figure figcaption span::first-line {
	font-family: 'EB Garamond', serif;
	font-style: italic;
	 font-weight: 500; 
	font-size: 125%;
	line-height: 250%;
}

.cntr { 
	text-align: center;
}

.info {
	margin: 20px auto 50px auto;
}

.info p {
	text-align: left;
	line-height: 200%;
	margin-bottom: 30px;
}

.menuintro2 {
	
}

.menuintro2 h2 {
	margin-top: 50px;
	font-size: 30px;
	font-weight: normal;
}

.menuintro2 h3 {
	font-size: 24px;
	font-weight: normal;
	margin-bottom: 30px;
}

.menu2 p {
	line-height: 175%;
}

.menu2 blockquote {
	margin: 2rem auto;
}

.menu2 h2 {
	text-align: center;
	font-weight: 500;
	color: #669999;
	font-size: 24px;
	line-height: 41px;
}

.menu2 h2 strong { 
	display: inline-block;
	font-weight: 500;
	color: #669999;
	font-size: 36px;
	border-bottom: 1px solid #669999;
}

.menu2 h3 { 
	text-align: center;
	font-weight: 400;
	color: #669999;
	font-size: 24px;
	margin-top: 40px;
}

.menu2 img {
	margin: 10px auto;
}

.menu2 h4 { 
	margin-top: 30px;
	text-align: center;
	font-weight: 400;
	font-size: 20px;
}

.menu2 h4.narrowtop {
	margin-top: 15px;
}

.menu2 h4 em {
	font-style: normal;
	font-weight: normal;
	font-size: 14px;
}


/* ************************************************************************************************ */
@media all and (min-width: 1000px) {
	.container {
		width: 1000px;
		margin: 0px auto;
	}
	
	header .container {	
		margin: 45px auto 5px auto;
	}
	
	header .container div {
		
	}
	
	header .container h1 {

	}
	
	header .container dl {

	}
	
	header .container dl dt {
		display: none;
	}
	
	header .container ul li#tabl {
		right: 162px;
		top: -20px;
	}
	
	header .container ul li#tabr {
		right: 5px;
		top: 5px;
	}
	
	nav ul {
		display: block;	
		width: 1000px;
		margin: 0px auto;
	}
	
	.gallery figure figcaption {
		font-size: 18px;
		line-height: 180%;
	}
	
	.info {
		margin: 20px auto 50px auto;
	}
}


/* ************************************************************************************************ */
@media all and (max-width: 999px) {
	.container {
		width: 98%;
		margin: 0px auto;
		position: relative;
	}
	
	header .container {
		height: 100px;
	}
	
	header .container h1 a {
		display: block;	
		position: absolute;
		top: 0;
		left: calc(50% - 125px - 35px);
		bottom: 0;
		margin: auto;
	}
	
	header .container dl dt {
		display: block;	
		position: absolute;
		right: 0px;
		top: 34px;
	}
	
	nav ul {
		display:none;
	}
	
	nav ul li {
		width: 100%;
		padding: 0;
	}
	
	nav ul li a {
		margin: 0;
		display: block;
		width: 100%;
		text-align: center;
	}
	
	nav ul li:before {
		content: '';
	}
	
	nav ul li.active a {
		border-bottom: 1px solid #9b9b9b;
	}
	
	nav ul li a {
		border-bottom: 1px solid #9b9b9b;
		padding: 10px 0 10px 0;
	}
	
	nav ul li a:hover {
		border-bottom: 1px solid #9b9b9b;
	}
	
	.gallery figure figcaption {
		font-size: 1.8vm;
		line-height: 180%;
	}
	
}



/* ************************************************************************************************ */
@media all and (min-width: 769px) {
	
	.menu2 h4 br {
		display: none;
	} 
	
	.menu2 h4 em:nth-of-type(1) {
		padding-left: 1.1rem;
	}
	
	.menu2 h4 em:nth-of-type(2) {
		padding-left: 2rem;
	}
}


/* ************************************************************************************************ */
@media all and (max-width: 768px) {
	
	.menu2 h4 br:nth-of-type(2) {
		display: none;
	} 
	
	.menu2 h4 em:nth-of-type(2) {
		padding-left: 3rem;
	}
	
	.menu2 h4 {
		line-height: 100%;
	}
}

/* ************************************************************************************************ */

@media all and (max-width: 320px) {
	
	.menu2 h4 br:nth-of-type(2) {
		display: block;
	} 
	
	.menu2 h4 em:nth-of-type(2) {
		padding-left: 0rem;
	}
	
	.gallery figure figcaption {
		font-size: 1.8vm;
		line-height: 120%;
		box-sizing: border-box;
		padding: 0px 3px 0px 3px;
	}
	
	.gallery figure figcaption br {
		display: none;
	}
	
	} gallery figure figcaption br {
		display: none;
	}
	
} 