/*
Theme Name:twentyten-child
Template: twentyten
Version:2.7
*/

/*
LAYOUT: Two columns
DESCRIPTION: Two-column fixed layout with one sidebar right of content
*/

@media screen and (max-width: 782px) {
	html {
		margin-top: 0px !important;
	}
}

@media screen and (max-width:670px) {
	#content {
		margin: 0;
	}
}

body {
	-webkit-text-size-adjust: 100%;
}

/*sub&widget setting**/
@media screen and (max-width:890px) {
	#primary {
		display: none;
	}

	.frix-decoy {
		display: none !important;
	}
}

.sp-br {
	display: none;
}

@media screen and (max-width:890px) {
	.sp-br {
		display: block;
	}
}

address,
a {
	font-style: normal;
}

.widget-container ul li a {
	color: #888E8C;
}

.widget-container ul li a:hover {
	color: #626262;
}

.widget-title {
	margin-bottom: 10px;
}

@media screen and (max-width:890px) {
	.widget-container ul li {
		font-size: 18px;
		line-height: 2em;
	}
}

.widget-title,
#wp-calendar caption {
	color: #40210F;
	font-size: 15px;
	margin-left: 0.5em;
}

#primary .widget-container ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#primary .widget-container li:before {
	content: "• ";
	color: grey;
}

/*sub-menu*/
.sub-menu {
	display: none;
	text-align: center;
	cursor: pointer;
	background: #fff100;
	width: 50px;
	height: 50px;
	vertical-align: middle;
	text-align: center;
}

@media screen and (max-width:890px) {
	.sub-menu {
		display: inline-block;
		z-index: 110;
		position: fixed;
		top: 5%;
		right: 0;
		opacity: 0.6;
		border-radius: 9px;
	}
}

/*ずれ防止*/
body.min,
html.min {
	overflow: hidden;
	height: 100%;
}

/*secondary=sub*/
.sub-menu span {
	display: block;
	height: 5px;
	background: #913703;
	position: absolute;
	width: 70%;
	left: 8px;
	transition: all .4s;
}

.sub-menu span:nth-of-type(1) {
	top: 7px;
}

.sub-menu span:nth-of-type(2) {
	top: 23px;

}

.sub-menu span:nth-of-type(3) {
	top: 39px;
}

.sub-menu.open span:nth-of-type(1) {
	-webkit-transform: translateY(12px) rotate(-45deg);
	transform: translateY(14px) rotate(-45deg);
}

.sub-menu.open span:nth-of-type(2) {
	opacity: 0;
}

.sub-menu.open span:nth-of-type(3) {
	-webkit-transform: translateY(-17px) rotate(45deg);
	transform: translateY(-18px) rotate(45deg);
}


#secondary {
	float: none;
	width: 100vw;
	padding: 5%;
	display: none;
	background: #ffffff;
	padding-top: 30px;
	overflow: auto;
	height: 100vh;
	-webkit-overflow-scrolling: touch;

}


#secondary li {
	list-style: none;
	font-size: 16px;
}


.sub {
	display: block;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 100;
}

.post-date {
	color: #888E8C;
}


@media screen and (max-width:890px) {
	.sub {
		display: block;
		display: inline-block;
	}
}

#secondary .widget-title {
	font-size: 17px;
	margin-bottom: 7px;
}

#secondary .post-date {
	font-weight: 600;
	height: 22px;
}


#secondary .widget-container li {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: reverse;
	-ms-flex-direction: column-reverse;
	flex-direction: column-reverse;
}

#secondary .widget-container li a {
	margin-top: 10px;
	line-height: 20px;
}

#secondary .widget-archive ul li {
	font-size: 16px;
	letter-spacing: 2px;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}

#secondary .widget-archive ul li a {
	height: 31px;
}

.sub-menu p {
	color: #40210F;
	padding: 21px 0;
	border-bottom: solid 2px;
	font-size: 16px;
	font-family: sans-serif;
	font-weight: 600;
}


.sub-menu-content {
	display: none;
}



.open {
	display: block;
	transition: all .4s;
}


/*left-menu*/
#primary li {
	margin-bottom: 3px;
	font-size: 14px;
}

#primary .banner-area,
#primary .widget_calendar,
#primary .widget_archive {
	margin-top: 25px;
}


/*バナー*/

.banner {
	margin-top: 15px;
}

.banner-area__top {
	display: none;
	width: 100%;
}

.banner-box {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	justify-content: space-around;
	width: 100%;
	padding: 20px 0;
}


@media screen and (max-width:890px) {
	.banner-area__top {
		display: block;
	}

}

.banner-area a img {
	width: 100%;
}

@media screen and (max-width:480px) {
	.banner-box a img {
		max-width: 90%;
	}
}

.banner-box a {
	display: block;
}

/* =Fonts
-------------------------------------------------------------- */

/* =Structure
-------------------------------------------------------------- */

/* The main theme structure */

#access .menu-header,
div.menu,
#colophon,
#branding,
#main,
#wrapper {
	max-width: 940px;
	width: 100%;
}

#wrapper {
	margin-top: 0px;
}

#site-info {
	width: 100%;
}



/* =Global Elements
-------------------------------------------------------------- */

/* Main global 'theme' and typographic styles */
body {
	background: none;
}

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


/* =Header
-------------------------------------------------------------- */

#header {
	padding: 0;
}

/* This is the custom header image */
#branding img {
	border-top: 0px;
	border-bottom: 0px;
	float: none;
	display: block;
	max-width: 940px;
	width: 100%;
}

/**content
-----------------**/

#content {
	width: 100%;
	max-width: 640px;
}


#content p {
	color: #333333;
	font-family: sans-serif;
}

.nav-next,
.nav-previous {
	font-size: 12px;
}

/* =Footer
-------------------------------------------------------------- */

#colophon {
	border-top: 0px;
	margin-top: 0px;
	overflow: hidden;
	padding: 23px 18px;
	background-color: #FFF000;
	color: #333333;
	max-width: 940px;
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

#site-info a{color:#333333;
}

@media screen and (max-width:780px) {
	#colophon {
		-webkit-box-align: center;
		-ms-flex-align: center;
		flex-direction: column;
		-webkit-box-align: stretch;
		-moz-box-align: stretch;
		-ms-flex-align: stretch;
		-webkit-align-items: stretch;
		-moz-align-items: stretch;
		align-items: stretch;
		padding: 30px 18px;
	}

	#site-info {
		margin-bottom: 20px;
	}

	#site-info a {
		color: #333333;
		letter-spacing: 0.1em;
		line-height: 23px;
		text-decoration: none;
		font-size: 17px;
	}

}

#site-generator {
	float: right;
	min-width: 352px;
	font-family: sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	color: #333333;
	line-height: 1.5em;
	position: static;
}


@media screen and (max-width:780px) {
	#site-generator {
		min-width: 100%;
		letter-spacing: 0.1em;
	}

	#site-generator ul > :first-child {
		margin-bottom: 3px;
	}

	#site-generator ul address,
	#site-generator ul address + a {
		font-size: 13px;
	}
}


#site-generator a {
	color: #333333;
	line-height: 1.5em;
	padding-left: 0px;
	text-decoration: none;
	background: none;
}


#site-generator a:hover {
	text-decoration: underline;
}


/*追加CSS*/

select {
	font-size: 20px;
}

.widget-container li {
	font-size: 16px;
	color: black;
	font-family: sans-serif;
}




* {
	box-sizing: border-box
}


img {
	display: inline-block;
	max-width: 100%;
	height: auto;

}

#main2 {
	text-align: center;
	background: #40210F;
	width: 100%;
}

.h30 {
	height: 100%;
	max-height: 200px;
	color: #fff;
	padding: 7px 0;
	font-size: 15px;
	font-weight: bold;
	font-family: sans-serif;
	line-height: 1.5em;
}

@media screen and (max-width:670px) {
	.h30 {
		font-size: 9px;
		padding: 8px 0;
	}
}

/*footer*/
.entry-title::before {
	content: "";
	display: inline-block;
	background-image: url("images/common/icon_balloon.png");
	background-size: contain;
	background-repeat: no-repeat;
	width: 20px;
	height: 20px;
	padding: 6px;
	vertical-align: middle;
}

.footer-copy {
	text-align: center;
	padding: 20px 0;
}

small {
	color: #40210F;
	font-size: 14px;
	font-weight: 600;
}

/******page top*********/
#page-top {
	position: fixed;
	bottom: 20px;
	right: 0px;
	z-index: 110;
}


#page-top a {
	text-decoration: none;
	display: block;
}

#page-top img {
	width: 50px;
	height: auto;
	opacity: 0.8;
}



/*ぺージャー*/
#pagenation-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	max-width: 480px;
	width: 100%;
}

#pagenation:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

#pagenation #pagenation-list li {
	float: left;
	background: none;
	list-style: none;
	padding: 0;
	margin: 0 5px 5px 0;
}

#pagenation #pagenation-list li:last-child {
	margin-left: 0;
}

#pagenation #pagenation-list a,
#pagenation #pagenation-list span {
	background: none;
	display: block;
	margin: 0;
	padding: 6px 11px;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

#pagenation #pagenation-list .current {
	background: #E3007F;
	color: #FFFFFF;
}

#pagenation #pagenation-list .omit {
	padding: 6px 2px;
	color: #777777;
}

#pagenation #pagenation-list li a {
	background: #FFF555;
	color: #913703;
	text-decoration: none;
}

#pagenation #pagenation-list a:hover {
	background: #FFF59C;
	color: #917053;
	text-decoration: none;
}
