﻿/*
 * StyleName: shared.css
 * Version: 1.6
 *
 * Project: FC-Blog
 *
 * FoodConnection
 * http://foodconnection.jp/
 * http://foodconnection.vn/
 *
 */



@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600;700&family=Oswald:wght@300&display=swap');


/*=============================================
 * body
 *=============================================*/

body {
	color: #484848;
	background-color: #fff;
	background-repeat: repeat;
	background-position: center;
	background-image: url('../img/bg.jpg');
}



/*=============================================
 * #header
 *=============================================*/

#header {
	background-color: #AFAFAF;
	/* background-image: url(); */
	height: 650px;
	max-height: 650px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	background: transparent;
}
#header h1 {
	color: #fff;
	font-size: .85em;
	line-height: 1.6em;
	letter-spacing: .1em;
	text-align: center;
	text-shadow: 1px 1px 1px #010101;
}
body.col-x2 #header .col1 {
	background-color: rgba(0, 0, 0, .25);
	/* background-image: url(); */
}
body.col-x2 #header .col2 {
	background-color: rgba(0, 0, 0, .3);
	/* background-image: url(); */
}
#header .logo {
	padding:  5%;
	top: 20%;
}
#header .logo img {
	max-width: 100%;
	height: auto;
}

#header{
	display: flex;
	justify-content: space-between;
}

#header section{
	width: 33%;
	position: relative;
}

#header .col1 {
	background: url('../img/key_shop1.jpg') no-repeat center top 25% / cover;
}
#header .col2 {
	background: url('../img/key_shop2.jpg') no-repeat center top 25% / cover;
}
#header .col3 {
	background: url('../img/key_shop3.jpg') no-repeat center top 25% / cover;
}

/*=============================================
 * #navbar
 *=============================================*/

#navbar {
	background-color: rgba(8, 5, 1, 0.96);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	font-family: "Noto Serif JP", serif;
	padding: 20px 0;
	background-image: url('../img/bg2.jpg');
}

body.col-x2 #navbar menu:before {
	background: #27170C;
}
body.col-x2 #navbar menuitem {
	color: #FFF;
}
#navbar nav {
	color: #FEFEFE;
}
body.col-x2 #navbar ul {
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
#navbar li {
	display: inline-block;
	min-width: initial;
	padding: 0 15px;
}
#navbar a {
	display: block;
	padding: 5px 0;
	letter-spacing: 0.1em;
	position: relative;
	color: #222222;
	font-weight: bold;
	font-size: 16px;
}
#navbar a:after {
	content:"";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	transition: 0.2s;
	width: 0;
	background: #222222;
}
#navbar a:hover {
	text-decoration: none;
}
#navbar a:hover:after {
	width: 100%;
}
#navbar .sub {
  font-weight: 300;
  font-family: 'Oswald', sans-serif;
  transform: none;
  width: 120px;
  left: 50%;
  margin-left: -60px;
}

#navbar .sub a {
	font-weight: 300;
	text-align: left;
	padding: 8px 5px 8px 20px;
  	letter-spacing: 0.1em;
}

#navbar .sub a:after {
  content:  none;
}

#navbar .sub li {
  padding: 0;
}

#navbar .sub li:nth-child(1) a {
  background: #222;
  color:  #fff;
}

#navbar .sub li:nth-child(2) a {
  background: #fff;
}

/*=============================================
 * #container
 *=============================================*/

#container {
}
#container .title {
	color: #795548;
}



/*=============================================
 * #sidebar
 *=============================================*/

#sidebar section {
	background: #fff;
	box-shadow: 0 0 3px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 0 3px rgba(0, 0, 0, .3);
	-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .3);
}
#sidebar h2 {
	color: #FEFEFE;
	background-color: #171009;
	font-weight: 500;
	letter-spacing: 2.5px;
	font-family: "Noto Serif JP", serif;
	background-image: url('../img/bg3.jpg');
}
#sidebar h2:before {
	border-top-color: #FEFEFE;
}
#sidebar li a {
	color: #000;
}
#sidebar li a:hover {
	color: #CC9E5A;
}
#sidebar li a:before {
	background: #CC9E5A;
}
#sidebar li a:hover:before {
	background: #BA863A;
}
#sidebar .calendar th {
	color: #A77834;
}
#sidebar .calendar td {
	background: #FEFEFE;
	border-color: #AFAFAF;
}
#sidebar .calendar tr:nth-of-type(odd) td {
	background: #EFEFEF;
}
#sidebar .calendar .header {
	color: #92580D;
	background: #F2EBE3;
	border-color: #AFAFAF;
}
#sidebar .calendar a {
	color: #222222;
}
#sidebar .calendar .having_posts {
	color: #A63435;
	background: #F6E1E1 !important;
}



/*=============================================
 * #main
 *=============================================*/

#main article {
	background: #FEFEFE;
}
#main h2 {
	color: #FEFEFE;
	background-color: #171009;
	font-weight: 500;
	letter-spacing: 2.5px;
	font-family: "Noto Serif JP", serif;
	background-image: url('../img/bg3.jpg');
}
#container.tpl-post #main figcaption {
	display: none;
}
#main time {
	color: #7E7E7E;
}
#main .more a {
	color: #010101;
	border-color: #010101;
}
#main .more a:hover {
	color: #A24814;
	border-color: #A24814;
}
#main .more a:before,
#main .more a:after {
	background: #010101;
}
#main .more a:hover:before,
#main .more a:hover:after {
	background: #A24814;
}
#main .pagination {
	color: #909090;
}
#main .pagination li {
	background: #F6F6F6;
	box-shadow:
		0 -1px #FEFEFE,
		0 1px 1px rgba(0, 0, 0, .3);
	-moz-box-shadow:
		0 -1px #FEFEFE,
		0 1px 1px rgba(0, 0, 0, .3);
	-webkit-box-shadow:
		0 -1px #FEFEFE,
		0 1px 1px rgba(0, 0, 0, .3);
}
#main .pagination li:hover {
	color: #FEFEFE;
	background: #222222;
	box-shadow:
		0 -1px #222222,
		0 1px 1px rgba(0, 0, 0, .3);
	-moz-box-shadow:
		0 -1px #222222,
		0 1px 1px rgba(0, 0, 0, .3);
	-webkit-box-shadow:
		0 -1px #222222,
		0 1px 1px rgba(0, 0, 0, .3);
}
#main .pagination .active,
#main .pagination .active:hover {
	color: #FEFEFE;
	background: #222222;
	box-shadow:
		0 -1px #222222,
		0 1px 1px rgba(0, 0, 0, .3);
	-moz-box-shadow:
		0 -1px #222222,
		0 1px 1px rgba(0, 0, 0, .3);
	-webkit-box-shadow:
		0 -1px #222222,
		0 1px 1px rgba(0, 0, 0, .3);
}
#main .pagination .first,
#main .pagination .last {
	color: #222222;
	font-weight: 600;
}
#main .pagination .more-point-right:hover {
	color: inherit;
	background: #F6F6F6;
	box-shadow:
		0 -1px #FEFEFE,
		0 1px 1px rgba(0, 0, 0, .3);
	-moz-box-shadow:
		0 -1px #FEFEFE,
		0 1px 1px rgba(0, 0, 0, .3);
	-webkit-box-shadow:
		0 -1px #FEFEFE,
		0 1px 1px rgba(0, 0, 0, .3);
}



/*=============================================
 * #footer
 *=============================================*/

#footer {
	background-image: url('../img/bg3.jpg');
	color: #fff;
}



/*=============================================
 * copyright
 *=============================================*/

address {
}



/*=============================================
 * #calendar
 *=============================================*/

#calendar {
	display: none;
}


	@media screen and (max-width: 768px) {
	iframe { 
		width: 100% !important;
		height: 50vw !important;
		}
		
	}


/*=============================================
 * RESPONSIVE
 *=============================================*/
/*
@media screen and (max-width: 1024px) {
	#header {
		min-height: 400px;
	}
}*/

@media screen and (max-width: 960px) {
	#navbar a{
		font-size: 15px;
	}
	#navbar li{
		padding: 0 10px;
	}
	#navbar .sub {
		width: 100px;
		margin-left: -50px
	}
}

@media screen and (max-width: 768px) {
	#header {
		width: 100%;
		height: auto;
		display: block;
		min-height: 300px;
	}
	#header section {
		width: 100%;
		height: 180px;
		margin-top: 5px;
	}
	#header .col1{
		background: url('../img/key_shop1_sp.jpg') no-repeat center right / cover;
	}
	#header .col2{
		background: url('../img/key_shop2_sp.jpg') no-repeat center right / cover;
	}
	#header .col3{
		background: url('../img/key_shop3_sp.jpg') no-repeat center right / cover;
	}
	#header h1 {
		position: static;
		color: #b8b8b8;
	}
	body.col-x2 #header section {
		min-height: 150px;
	}
	#header .logo {
		max-width: 150px;
		padding: 0;
		left: 50%;
		top: 48%;
	}
	#header .logo img {
		/* max-height: 120px; */
	}
	#navbar {
		background: none;
	}
	#navbar.active .toggle {
		right: 230px;
	}
	body.col-x2 #navbar menuitem {
		background: #757575;
	}
	#navbar nav {
		background: #FEFEFE;
		width: 230px;
		right: -230px;
	}
	body.col-x2 #navbar nav {
		width: 230px;
	}
	#navbar li {
		display: block;
		border-top: 1px solid #DFDFDF;
		border-bottom: 1px solid #DFDFDF;
	}
	#navbar a {
		color: #27170C;
		background: none;
		box-shadow: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
	}
	#navbar a:hover {
		background: transparent;
	}
	#navbar .sub {
		background: none;
		position: relative;
		display: flex;
		z-index: 2;
		left: 0;
		width: 100%;
		margin: -15px 0 8px;
	}
	#navbar .sub a:before {
		background: #606060;
	}
	#navbar .sub li {
		width: 50%;
		border: none;
	}
	#navbar .sub li a {
		padding: 5px 0;
		text-align: center;
		color:  #222 !important;
		background: transparent !important;
	}
	#navbar .sub a:before{
		content: none;
	}
	#navbar .sub li + li {
		position: relative;
	}
	#navbar .sub li + li:before {
		content: "";
		height: 20px;
		top: 50%;
		left: 0;
		width: 1px;
		position: absolute;
		background: #222;
		margin-top: -10px;
	}
	#navbar li {
		padding: 0;
	}
	#navbar a{
		padding: 20px;
		font-size: 15px;
	}
	#navbar a:after{
		content: none;
	}
}

@media screen and (max-width: 640px) {
	#header {
		min-height: 200px;
	}
	#header h1 {
		display: block;
	}
}