/*
Theme Name: Miyajidake
Theme URI: 
Author: 
Author URI: 
Description: d.
Version: 1.2.9
License: 
License URI: 
Text Domain: Miyajidake
Tags: 
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
  min-height: 100%;
  font-size:62.5%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
	background: #fff;
}

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

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
  text-decoration:none;
	outline: 0;
}
a:link, a:visited {
  color: #660607;
}
a:hover, a img:hover {
  opacity: 0.7;
}


abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

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

td,
th {
	padding: 0;
}


.bg-secondary {
  background-color:#f9f5ef;
  color:#000000;
}
.bg-primary {
  background-color:#660607;
}
.bg-tertiary {
  background-color:#430405;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans Japanese", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, Meiryo, sans-serif;
  font-size:16px;
  font-size:1.6rem;
	line-height: 1.42857;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
  margin-bottom: 1em;
  padding-top: 2em;
}
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  padding-top: 0;
}
h1 + h2,
h2 + h3,
h3 + h4,
h4 + h5,
h5 + h6 {
  padding-top:0;
}
hr + h1,
hr + h2,
hr + h3,
hr + h4,
hr + h5,
hr + h6 {
  padding-top:0;
}

p {
	margin-bottom: 1.5em;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.8;
}

dfn,
cite,
em,
i {
	font-style: italic;
}


blockquote {
position: relative;
  margin: 2em 0;
padding: 2em;
  color: #5F5F5F;
  border-left:#d5d5d5 solid 6px;
border-right:#d5d5d5 solid 6px; 
-moz-border-radius: 12px;
-webkit-border-radius: 12px;
  border-radius: 12px;
}
blockquote p{
position: relative;
z-index: 2;
}
blockquote:before,
blockquote:after{
position: absolute;
font-size: 10rem;
  width: 83px;
  height: 54px;
  opacity: .5;
}
blockquote:before{
content: "";
top: 16px;
left: 24px;
background: url(assets/img/quotation-left.png) no-repeat;
}
blockquote:after{
content: "";
bottom: 16px;
right: 24px;
background: url(assets/img/quotation-right.png) no-repeat;
}


address {
	margin: 0 0 1.5em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 1.5rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

/* blockquote:before,
blockquote:after, */
q:before,
q:after {
	content: "";
}

/* blockquote, */
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 3em 0;
}
.hr-dotted {
  border-top: 1px dotted #ccc;
  background-color:transparent;
}
.hr-mg05em {
  margin: 0.5em 0;
}
.hr-mg2em {
  margin: 2em 0;
}
.hr-clearfix {
  clear: both;
}

ul {
	list-style: disc;
  margin: 0 0 1em 1.5em;
  padding: 0;
}

ol {
	list-style: decimal;
  margin: 0 0 1em 1.5em;
  padding: 0;
}

li {
  margin-bottom: 0.5em;
}
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 500;
}

dd {
	margin: 0 1.5em 1.5em;
}
.dl dt {
  color: #430405;
  font-size: 18px;
  font-size: 1.8rem;
}

.dl dd {
  margin: 0 0 1.5em;
}


img {
  display: block;
	height: auto; /* Make sure images are scaled correctly. */
	width: 100%; /* Adhere to container width. */
}


figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
  padding: 0.8em 8px;
}
.table tr:last-child {
  border-bottom:#dddddd solid 1px;
}

.table-gray > thead > tr > th, .table-gray > tbody > tr > th, .table-gray > tfoot > tr > th, .table-gray > thead > tr > td, .table-gray > tbody > tr > td, .table-gray > tfoot > tr > td {
  border:#f9f5ef solid 1px;
}
.table-gray th {
  text-align: center;
  background-color: #cecece;
  vertical-align: middle!important;
}
.table-gray td {
  background-color: #e5e5e5;
  border-color: transparent;
}

.table-responsive {
  clear: both;
}
.table-th-width th {
    min-width: 33%;
}
.thead-inverse th {
  color: #fff;
  background-color: #292b2c;
}
.table-th-nowrap th {
  white-space: nowrap
}

@media only screen and (max-width:640px) {
.table-responsive-block th, .table-responsive-block td {
  display: block;
}
.table.table-responsive-block th + td {
  padding-top: 0;
  border-top: none;
  }
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header#masthead {
    box-shadow: 0 0 2px -1px #333;
	margin-bottom: 0;
}
.navbar-brand > a {
	color: #563d7c;
	font-weight: bold;
}
.navbar-brand > a:visited, .navbar-brand > a:hover {
	color: #563d7c;
	text-decoration: none;
}
div#page-sub-header {
	position: relative;
	padding: 30px 0;
	color: #cdbfe3;
	text-align: center;
	text-shadow: 0 1px 0 rgba(0,0,0,.1);
	background-color: #6f5499;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#563d7c),to(#6f5499));
	background-image: -webkit-linear-gradient(top,#563d7c 0,#6f5499 100%);
	background-image: -o-linear-gradient(top,#563d7c 0,#6f5499 100%);
	background-image: linear-gradient(to bottom,#563d7c 0,#6f5499 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#563d7c', endColorstr='#6F5499', GradientType=0);
	background-repeat: repeat-x;
	margin-bottom: 40px;
	font-size: 20px;
}
div#page-sub-header h1{
	margin-top: 0;
	color: #fff;
	margin-bottom: 10px;
}
div#page-sub-header p{
	margin-bottom: 0;
	font-weight: 300;
	line-height: 1.4;
}



@media screen and (min-width: 768px) {
	div#page-sub-header h1{
		font-size: 60px;
		line-height: 1;
	}
	div#page-sub-header {
		padding-top: 60px;
		padding-bottom: 60px;
		text-align: left;
		font-size: 24px;
	}
}
@media screen and (min-width: 992px) {
	div#page-sub-header p{
		max-width: 640px;
	}
}

.widget_categories ul a {
  display: inline-block;
}
.widget_categories .nav > li > a:hover, .widget_categories .nav > li > a:focus {
  background-color: #fff;
}


/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

.home-news-btn {
  padding-top: 2em;
  text-align: center;
}
.btn {
  padding: 8px 12px;
  line-height: 1.2;
  letter-spacing: normal;
}
a.btn-info {
  color: #fff;
}
a.btn-default:after {
font-family: "Glyphicons Halflings";
content: "\e258";
margin-left: 0.5em;
margin-right: -0.3em;
vertical-align:middle;
}


.more-link {
  font-size: 90%;
}
.list-link-area {
  position: relative;
}
.list-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.list-link-area:hover {
  opacity: 0.7;
}

a.label {
  display:inline-block;
  margin-right: 3px;
  margin-bottom: 3px;
  padding: 8px;
  width: 86px;
  background: #333;
  color: #fff;
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: 100;
  text-align: center;
  text-decoration: none;
}
a.label-topics {
    background-color: #d6890f;
}
a.label-diary {
    background-color: #e60092;
}
a.label-festival {
    background-color: #930a1a;
}
a.label-nature {
    background-color: #186606;
}
a.label-sightseeing {
    background-color: #260666;
}
a.label-history {
    background-color: #065566;
}
a.label-okunomiya {
    background-color: #664306;
}
a.label-shinto {
    background-color: #66063e;
}
a.label-tsukushimai {
    background-color: #361a31;
}
a.label-etc {
    background-color: #999;
}
a.label-column {
    background-color: #8a3a25;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.navbar {
  margin:0;
  border:none;
  background-color:#660607;
}

#masthead .navbar-nav > li {
  margin: 0;
  border-bottom: #56090a solid 1px;
}

#masthead .navbar-nav > li > a {
  color: #ffffff;
}

#masthead .navbar-nav > li > a:hover, #masthead .navbar-nav > li > a:focus {
  color: #ffffff;
  background:#430405;
  opacity: 1;
}

#masthead .navbar-nav .open > a, #masthead .navbar-nav .open > a:hover, #masthead .navbar-nav .open > a:focus {
  color: #ffffff;
  background:#430405;
  opacity: 1;
}

#masthead .navbar-nav ul {
  background-color: #430405;
}
#masthead .navbar-nav ul li a{
  color: #f9f5ef;
}
#masthead .navbar-nav ul li a:hover {
  color: #430405;
 background-color: #f9f5ef;
  opacity: 1;
}

#masthead .active a, #masthead .active a:hover, #masthead .active a:focus {
  color: #430405!important;
  background-color:#f9f5ef;
}
#masthead .navbar-nav > li.active > a:hover, #masthead .navbar-nav > li.active > a:focus {
  color: #430405!important;
  background-color:#f9f5ef;
}



.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}
.navbar-brand {
  width:120px;
  height:auto;
  margin:0 0 0 10px;
  padding:8px 0 0 0;
  line-height:1;
}
.navbar-brand img {
  width:100%;
  height:auto;
}

.navbar-header .menutxt {
	color:#FFF;
	font-size:80%;
	float:right;
	margin:15px 5px 0 0;}

.navbar-toggle .icon-bar {
	background: #fff none repeat scroll 0 0;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

@media screen and (min-width: 769px) {
	.dropdown-menu li > .dropdown-menu {
		right: -158px;
		top: 22px;
	}
}

.comment-navigation,
.posts-navigation,
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
  letter-spacing: normal;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: right;
	text-align: right;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: left;
	width: 50%;
}


.posts-navigation {
  padding: 2em 15px 0;
}
.posts-navigation a,
.post-navigation a {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background-image: none;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
}
.posts-navigation .nav-previous a:after,
.post-navigation .nav-previous a:after {
font-family: "Glyphicons Halflings";
content: "\e258";
margin-left: 0.5em;
margin-right: -0.3em;
vertical-align:middle;
}

.posts-navigation .nav-next a:before,
.post-navigation .nav-next a:before {
font-family: "Glyphicons Halflings";
content: "\e257";
margin-left: -0.3em;
margin-right: 0.5em;
vertical-align:middle;
}
#side-nav
 {
   padding-top:20px;
   padding-bottom: 3em;
}
#side-nav:after {
  content:"";
  display:block;
  clear:both;
}
.logo {
  margin:0 7% 20px 7%;
}

#side-nav nav ul {
  width:100%;
  margin:0;
  padding:0;
  list-style:none;
  font-size:18px;
  font-size:1.8rem;
}
#side-nav nav ul li {
  margin:0;
  padding:0;
}
/*
@media (max-width: 1200px) {
  #side-nav nav ul {
  font-size:16px;
  font-size:1.6rem;
}
} */
#side-nav nav ul li a {
  display:block;
  padding:6px 8%;
  color:#f9f5ef;
  line-height:1.2;
  background-color:transparent;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#side-nav nav ul > li a:hover {
  background:#430405;
  opacity: 1;
}
#side-nav nav ul li {
  width:100%;
  border-bottom:#56090a solid 1px;
}

#side-nav nav ul ul {
  padding:0 0 10px 0;
    background:#430405;

/*  background:#f9f5ef; */
}
#side-nav nav ul ul li {
  border:none;
}

#side-nav nav ul ul li a {
  font-size: 86%;
  padding:7px 12%;
color:#f9f5ef;
}


#side-nav nav ul ul li a:hover {
  color:#430405;
  background-color:#f9f5ef;
}
#side-nav .open a{
  background-color:#430405;
}
#side-nav a:focus {
  text-decoration:none;
}
#side-nav .dropdown-menu {
  position:static;
  float:none;
  border:none;
  box-shadow:none;
-moz-box-shadow:none;
-webkit-box-shadow:none;
border-radius:0;
-moz-border-radius:0;
-webkit-border-radius:0;
}
#side-nav .dropdown-toggle {
}
.caret {
 display:block;
  position: absolute;
  top:8px;
  right: 28px;
  width: 8px;
  height: 8px;
  margin-top:4px;
  border: 0;
  border-top: solid 2px #f9f5ef;
  border-right: solid 2px #f9f5ef;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
 }
.open .caret {
  -ms-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
 }

#masthead .navbar-nav .caret{
  top:33%;
}


/*
#side-nav .current-menu-parent .caret {
  -ms-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
 }
#side-nav .current-menu-parent a {
  background-color:#430405;
}
*/
#side-nav .active a, #side-nav .active a:hover{
  color: #430405;
  background-color:#f9f5ef;
}
/*
#side-nav .current-menu-parent > .dropdown-menu {
  display: block;
}
*/


#side-nav nav ul li.box-menu, #side-nav nav ul li.box-menu-diary {
  margin: 4px 0 0 6%;
  border-bottom: none;
}
#side-nav nav ul li.menu-top {
  margin-top: 18px;
}
#side-nav nav ul li.box-menu a {
  width: 90%;
  text-align: center;
  background-color: #430405;
  font-size: 86%;
  border-radius:6px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
  border-radius: 3px;
}
#side-nav nav ul li.box-menu-diary a {
  width: 90%;
  text-align: center;
  color: #fff;
  background-color: #430405;
  font-size: 86%;
  border-radius:6px;
-webkit-border-radius:3px;
-moz-border-radius:3px;
  border-radius: 3px;
}
#side-nav nav ul li.box-menu-diary a:before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 21px;
  margin-top: -3px;
  background: url(assets/img/mikoicon.png) no-repeat;
  background-size: auto 21px;
  vertical-align: middle;
}
#side-nav nav ul li.box-menu:hover {
  opacity: 0.7;
    -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#side-nav nav ul li.box-menu-diary:hover {
  opacity: 0.7;
    -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#side-nav nav ul li.menu-bk a {
  background-color: #000;
}
#side-nav nav ul li.menu-wh a {
  padding-top:0.5em;
  padding-bottom: 0.5em;
  color: #660607;
  background-color:#fff;
}

#side-nav .box-menu.active a, #side-nav .box-menu.active a:hover{
  color: #fff;
  background-color:#430405;
}
#side-nav .box-menu-diary.active a, #side-nav .box-menu-diary.active a:hover{
  color: #fff;
  background-color:#430405;
}
#side-nav .box-menu.menu-bk.active a, #side-nav .box-menu.menu-bk.active a:hover{
  color: #fff;
  background-color:#000;
}
#side-nav .box-menu.menu-wh.active a, #side-nav .box-menu.menu-wh.active a:hover{
  color: #660607;
  background-color:#fff;
}

@media only screen and (max-width:1200px) {
  #side-nav nav ul li a {
  display:block;
  padding:7px 6%;
}
  #side-nav nav ul ul li a {
  padding:9px 8%;
}
.caret {
  right: 15px;
  }
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 1.4rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin-bottom: 2em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}
.widget_search .search-form input[type="submit"] {
	display: none;
}
/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.jumbotron {
  position: relative;
  width: 100%;
  margin-bottom: 0;
  padding: 0;
  background-color: #000000;
}

.jumbotron:before {
  content: "";
  display: block;
  clear: both;
}

.hero-banner {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

#primary {}

#primary:after {
  content: "";
  display: block;
  clear: both;
}

@media only screen and (max-width:980px) {
  .jumbotron {
    border-bottom: #f9f5ef solid 2em;
  }
}

.fixed {
  position: fixed;
  top: 20px;
  margin-bottom: 100px;
}

.fixed.test2 {
  top: inherit;
  bottom: 100px;
}
.sub-head {
  color: #430405;
  font-size: 20px;
  font-size: 2.0rem;
  font-weight: 500;
}

.pull-left-responsive {
  float: left;
}

.pull-right-responsive {
  float: right;
}

@media only screen and (max-width:640px) {
  .pull-left-responsive, .pull-right-responsive {
    float: none;
    width: 100%;
  }
}


.title {
  margin: 0 0 0.3em 0;
  color: #430405;
  font-weight: bold;
}



/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	background: #f5f5f5 none repeat scroll 0 0;
	border-radius: 3px;
	box-shadow: 0 0 2px 1px #ccc;
	padding: 2rem;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.entry-categories {
  padding-top: 0.5em;
}

.entry-categories:after {
  content: "";
  display: table;
  clear: both;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.archive-list {
  padding-bottom: 2em;
}
.archive-list .post-thumbnail {
  position: relative;
  overflow: hidden;
}
.archive-list .post-thumbnail:before {
    content:"";
    display: block;
    padding-top: 66.666%;
}

.archive-list .post-thumbnail > img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.archive-list .entry-content {
	margin: 1em 0 0;
}
.archive-list .entry-content p {
  font-size: 15px;
  font-size: 1.5rem;
  line-height: 1.36;
}

article .post-thumbnail {
  margin: 0 -15px;
}

.news-list article .post-thumbnail {
  margin: 0;
}

article .news-container .post-thumbnail {
  margin: 0;
}

.post-meta {
  margin: 1em 0;
  padding-bottom: 3px;
  border-bottom: #430405 dotted 1px;
}

.post-share {
  padding-bottom: 0.5em;
  float: right;
}

@media only screen and (max-width:640px) {
  .post-share {
    float: none;
    padding-top: 6px;
  }
.news-list{
  margin-left: -15px;
  margin-right: -15px;

}
}

.post-categories {
  margin: 1em 0 2em;
}

@media only screen and (max-width:980px) {
  article .post-thumbnail {
    margin: 0;
  }
  article header .post-thumbnail {
    margin: 0 -15px;
  }
}

.category-title {
  margin: 0 -15px;
  padding: 0.5em 0;
  text-align: center;
  color: #FFFFFF;
  font-size: 36px;
  font-size: 3.6rem;
  line-height: 1.2;
}

@media only screen and (max-width:640px) {
  .category-title {
    font-size: 24px;
    font-size: 2.4rem;
  }
}

.category-title span {
  display: block;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1;
}

.post-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5em 4% 6em 4%;
}

.post-container.news-container {
  max-width: 980px;
}

@media only screen and (max-width:640px) {
  .post-container {
    padding: 1.5em 0 4em 0;
  }
}

.breadcrumbs {
  padding: 0.5em 0 1em 0;
}

.breadcrumbs span {
  font-size: 90%;
  line-height: 1.2;
  vertical-align: baseline;
}

.post-container h1 {
  padding: 0 0 5px 0;
  color: #430405;
  font-size: 30px;
  font-size: 3.0rem;
  border-bottom: #430405 solid 3px;
}

.post-container h2 {
  color: #430405;
  font-size: 24px;
  font-size: 2.4rem;
}

.post-container h3 {
  margin-bottom: 0.5em;
  color: #430405;
  font-size: 20px;
  font-size: 2.0rem;
  line-height: 1.3;
}

h1.archive-title {
  margin: 0 15px 1.5em;
  padding: 0 0 5px 0;
  color: #430405;
  font-size: 30px;
  font-size: 3.0rem;
  letter-spacing: normal;
  border-bottom: #430405 solid 3px;
}

h1.archive-title span {
  padding-left: 0.3em;
  font-size: 80%;
}

.photobox {
  padding: 2em 0;
  letter-spacing: -.3em;
}

.photobox img {
  display: inline-block;
  letter-spacing: normal;
  vertical-align: top;
}

.photobox.photo2 img {
  width: 48%;
  height: auto;
  margin: 0 1% 0 0;
}

.photobox.photo2 img:last-child {
  margin: 0;
}

.photobox.photo3 img {
  width: 32%;
  height: auto;
  margin: 0 1% 0 0;
}

.photobox.photo3 img:last-child {
  margin: 0;
}

.panel {
  margin-bottom: 0;
  background-color: transparent;
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.panel-default, .panel-heading, .panel-body {
  margin: 0;
  padding: 0;
  background-color: transparent;
  border: none!important;
}

.panel-body {
  padding-bottom: 2em;
}

.panel-default>.panel-heading {
  background-color: transparent;
}

.panel-group .panel-heading+.panel-collapse>.panel-body, .panel-group .panel-heading+.panel-collapse>.list-group {
  border: none;
}

.panel-heading a:after {
  content: "【閉じる】";
  padding-top: 3px;
  float: right;
  font-size: 70%;
  margin-right: -2%;
}


/* Icon when the collapsible content is hidden */

.panel-heading a.collapsed:after {
  content: "【開く】";
}

.mt2emm {
  margin-top: -2em;
}

@media only screen and (max-width:640px) {
  .mt2emm {
    margin-top: 0;
  }
}

.news-main {
  padding-bottom: 3em;
  letter-spacing: -.3em;
}

.news-list {
  padding: 3em 0;
  letter-spacing: -.3em;
}

.news-main .archive-list, .news-list .archive-list {
  display: inline-block;
  float: none;
  vertical-align: top;
  letter-spacing: normal;
}

.img-responsive {
  width: auto;
  height: auto;
  margin: 0 auto;
}

img.img-responsive.pull-left {
  max-width: 50%;
  margin: 0 1.5em 2em 0;
}

img.img-responsive.pull-right {
  max-width: 50%;
  margin: 0 0 1.5em 2em;
}

@media only screen and (max-width:640px) {
  .img-responsive {
    width: 100%;
  }
  img.img-responsive.pull-left, img.img-responsive.pull-right {
    float: none;
    max-width: none;
    margin: 0 0 1em 0;
  }
}

.pull-img-left {
  float: left;
  max-width: 50%;
  margin: 0 2em 1.5em 0;
}

.pull-img-right {
  float: right;
  max-width: 50%;
  margin: 0 0 1.5em 2em;
}

.pull-img-left img, .pull-img-right img {
  margin-bottom: 0.5em;
}

@media only screen and (max-width:640px) {
  .pull-img-left, .pull-img-right {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0 0 1.5em 0;
  }
}


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
#comments {
  max-width: 980px;
    margin: 0 auto;
  padding: 1.5em 4% 4em 4%;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}


/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-item img {
  width: 98.8%;
  margin: 0 auto;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
  padding-top: 6px;
  font-size: 14px;
}

@media only screen and (max-width:640px) {
.gallery-columns-2 .gallery-item, .gallery-columns-4 .gallery-item, .gallery-columns-5 .gallery-item, .gallery-columns-7 .gallery-item, .gallery-columns-8 .gallery-item {
	max-width: 50%;
}
}
@media only screen and (max-width:640px) {
.gallery-columns-6 .gallery-item, .gallery-columns-9 .gallery-item {
	max-width: 33.33%
}
}
@media only screen and (max-width:480px) {
  .gallery-item {
	max-width: 100%!important;
}
}


/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
footer#colophon {
	background: #f8f8f8 none repeat scroll 0 0;
	margin: 20px 0 0;
	padding: 20px 0;
	text-align: center;
}
.footer {
clear:both;
  width: 100%;
  height:100px;
  color:#fff;
  text-align:center;
  background-color: #000000;
}
.copyright {
    font-size: 14px;
    margin:0;
    padding-top:40px;
    text-align: center;
}
.copyright a, footer#colophon a {
    color: inherit;
}


@media screen and (max-width: 767px) {
	#masthead .navbar-nav > li > a {
		padding-bottom: 15px;
		padding-top: 15px;
	}
}

