﻿@charset "UTF-8";
/* CSS Document */

@import url("reset.css");

a{
      transition: .2s linear;
    -webkit-transition: .2s linear;
    -moz-transition: .2s linear;
    -o-transition: .2s linear;
    -ms-transition: .2s linear;
}
body{
	background-color: #f9f6ee;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Osaka, sans-serif,"source-han-sans-japanese";
}

#header{
	width: 100%;
	height: 60px;
	position: relative;
	border-bottom: 1px solid #ccc;
	background-color: #ffffff;
}

#header .logo{
	position: absolute;
	top:16px;
	left: 20px;
}

#header .search-bar{
position: absolute;
top: 10px;
right: 20px;
}

.search-bar #search-phrase,
.search-box .search-bar #search{
	width: 22vw;
  padding: 8px 16px;
	font-size: 14px;
  font-size: 1.4rem;
  height: 40px;
	background: none;
	background-color: #fff;
  border: 1px solid #b5b5b5;
  border-radius: 20px;
  box-shadow: none;
  display: inline;
  font-weight: normal;
  line-height: 1.0;
  margin: 0;
  text-overflow: ellipsis;
	vertical-align: top;
  margin-right: 8px;
}

#sidebar .search-bar{
  margin-bottom: 10px;
}

#sidebar .search-bar #search-phrase{
	width: 88%;
  padding: 8px 16px;
	font-size: 14px;
  font-size: 1.4rem;
  height: 40px;
	background: none;
	background-color: #fff;
  border: 1px solid #b5b5b5;
  box-shadow: none;
  display: inline;
  font-weight: normal;
  line-height: 1.0;
  margin: 0;
  text-overflow: ellipsis;
	vertical-align: top;
  margin-right: 1vw;
}

.search-bar .fa{
	font-size: 16px;
	font-size: 1.6rem;
	color: #fff;
	vertical-align: top;
}

.search-bar_submit {
  border: none;
  border-radius: 20px;
  background-color: #333;
  padding: 8px;
  width: 40px;
  height: 40px;
  margin: 0;
}
.search-box .search-bar #search{
	width: 94%;
	background-color: #fff;
  font-size: 18px;
  font-size: 1.8rem;
}
.search-box .search-bar_submit {
	background-color: #fff;
}

#contents .search-box{
  max-width: 540px;
  margin: 40px auto;
}

#contents .search-box .notes{
  margin-top: 1em;
}
#contents .search-box .search-bar #search{
	width: 86%;
  height: 46px;
  border: 1px solid #b5b5b5;
  border-radius: 4px;
  margin-right: 2%;
}

#contents .search-bar_submit {
    border-radius: 4px;
    background-color: #333;
    padding: 8px 8px;
    width: 12%;
    height: 46px;
    font-size: 18px;
    color: #fff;
}

.yougo_list li{
  font-size: 0;
}

a.search-item {
    padding: 1em 0.5em;
    border-bottom: 1px solid #ede5d2;
    display: block;
    font-size: 18px;
    font-size: 1.8rem;
}

.yougo_list li .kana{
  font-size: 12px;
  opacity: 0;
}

.navbar-nav{
  position: absolute;
  top: 15px;
  right: 20px;
	width: 380px;
	float: right;
}

.navbar-nav li{
	float: left;
	width: 180px;
  margin: 0 5px;
}

.navbar-nav li a{
	display: block;
	width: 180px;
	height: 60px;
	position: relative;
}

.navbar-nav li a img{
	position:absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right:0;
	margin: auto;
}

.navbar-nav li a.enmoku_logo{
	background-color: #202a24;
}

.navbar-nav li a.enmoku_logo img{
	width: 132px;
}

.navbar-nav li a.kabuki_logo{
	background-color: #202020;
}

.navbar-nav li a.kabuki_logo img{
	width: 112px;
}

#main{
	background: #202020 url(../img/main-bg2.png) center top no-repeat;
	background-size: cover;
	position: relative;
	min-height:300px;
}

#main:before{
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top:0;
  left: 0;
  background-color: rgba(0,0,0,0.4);
}

#main:after{
	content: "";
	display: block;
	width: 100%;
	height: 40px;
	background: url(../img/main_dec.png) center 0 repeat-x;
	position: absolute;
	bottom:0;
}

#main .main-inner{
	width: 620px;
	margin: auto;
	color: #fff;
	text-align: center;
	position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%,-50%);
-moz-transform: translate(-50%,-50%);
-ms-transform: translate(-50%,-50%);
-o-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}

#main .main-text{
	font-size: 18px;
	font-size: 1.8rem;
	margin: 36px 0;
	line-height: 1.7;
}

#main .main-text a{
	color: #fff;
}

#main .search-bar #search-phrase{
	width: 516px;
  padding: 8px 16px;
	font-size: 20px;
  font-size: 2.0rem;
  height: 80px;
	background: none;
	background-color: #fff;
  border: none;
  box-shadow: none;
  display: inline;
  font-weight: normal;
  line-height: 1.0;
  margin: 0;
  min-width: 60px;
  text-overflow: ellipsis;
	vertical-align: top;
}

#main .search-bar .fa{
	font-size: 30px;
	font-size: 3.0rem;
	color: #999999;
	vertical-align: top;
}

#main .search-bar_submit {
	border: none;
	border-radius: 0;
	background-color: #fff;
	padding: 8px;
	min-height: 60px;
	width: 80px;
	height: 80px;
	margin: 0;
}


#contents{
	margin: 60px auto;
	padding:0 60px;
	max-width:1920px;
}

#contents .linkBox h2{
	font-size: 30px;
	font-size: 3.0rem;
	color:#a15a48;
	text-align: center;
	margin-bottom: 48px;
}

#top-categoryBox .parent{
  display: flex;
  flex-wrap: wrap;
}

#top-categoryBox .parent > li{
  width: 19.2%;
  padding: 0.4%;
  margin: 0.4%;
  border: 1px solid transparent;
}

#top-categoryBox .parent > li a{
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
}

#top-categoryBox .parent > li:hover{
  background-color: #fff;
  border: 1px solid #dfc8bc;
}

#top-categoryBox .parent > li .img{
  width: 30%;
  height: 4vw;
  max-height:80px;
  overflow: hidden;
  position: relative;
  float: left;
}
#top-categoryBox .parent > li .txt{
  display: block;
  width: 70%;
  float: left;
  text-align: left;
  padding: 10px 0 10px 15px;
}

@media screen and (max-width:1680px) {
  #top-categoryBox .parent > li{
    width: 19.2%;
  }
}
@media screen and (max-width:1440px) {
  #top-categoryBox .parent > li .img{
    max-height:60px;
  }
}
@media screen and (max-width:1280px) {
  #top-categoryBox .parent > li{
    width: 31%;
  }
  #top-categoryBox .parent > li .img{
    height: 7vw;
  }
}
@media screen and (max-width:948px) {
  #contents{
	  margin: 40px auto;
	  padding:0 4vw;
  }
  #top-categoryBox .parent > li{
    width: 48%;
  }
  #top-categoryBox .parent > li .img{
    height: 12vw;
    max-height:120px;
  }
}

 .top-infoBox{
    border: 1px solid #a35d4a;
    background-color: #fff;
    padding: 40px 4vw;
    text-align: center;
    line-height: 1.7;
    font-size: 16px;
    font-size: 1.6rem;
    color: #a35d4a;
    width: 70%;
    margin: 40px auto;
}

@media screen and (max-width:767px) {
  
.top-infoBox{
    padding: 20px 4vw;
    width: 100%;
    margin: 20px auto;
  text-align: left;
}

.top-infoBox br{
  display: none;
}
  
  .main-title,
  .main-text,
  .main-inner,
  .main-inner img{
    width: 100% !important;
  }
  .main-inner{
    padding: 4vw;
  }
  #main .main-text {
    font-size: 16px;
    font-size: 1.6rem;
    margin: 20px 0;
    line-height: 1.7;
  }
  #top-categoryBox .parent > li{
    width: 100%;
  }
  #top-categoryBox .parent > li .img{
    height: 24vw;
    max-height:180px;
  }
}

#top-categoryBox .parent > li .img img{
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}

#top-categoryBox .parent > li a h2{
  font-size: 18px;
  color: #fff;
  background-color: #a35d4a;
  font-weight: normal;
  text-decoration: none;
  display: block;
  margin-bottom: 15px;
  text-decoration: none;
  padding: 8px 12px 8px 16px;
}

#top-categoryBox .parent > li:hover h2{
  color: #000;
  background-color: #fff;
}

#top-categoryBox .parent > li a h2:before{
  content: '\f105';
  font-family: 'FontAwesome';
  margin-right: 8px;
}

#top-categoryBox .parent > li:hover h2:before{
  color: #a35d4a;
}

#top-categoryBox .parent .child li{
  font-size: 14px;
  color: #333;
}

#top-categoryBox .parent .child li:nth-child(6),
#top-categoryBox .parent .child li:nth-child(7),
#top-categoryBox .parent .child li:nth-child(8),
#top-categoryBox .parent .child li:nth-child(9),
#top-categoryBox .parent .child li:nth-child(10),
#top-categoryBox .parent .child li:nth-child(11),
#top-categoryBox .parent .child li:nth-child(12),
#top-categoryBox .parent .child li:nth-child(13),
#top-categoryBox .parent .child li:nth-child(14),
#top-categoryBox .parent .child li:nth-child(15),
#top-categoryBox .parent .child li:nth-child(16),
#top-categoryBox .parent .child li:nth-child(17),
#top-categoryBox .parent .child li:nth-child(18),
#top-categoryBox .parent .child li:nth-child(19),
#top-categoryBox .parent .child li:nth-child(20){
  display: none;
}

#top-categoryBox .parent .child li:before{
  content: '・';
  display: inline-block;
  vertical-align: middle;
  color: #a35d4a;
}

.top-head-nav {
    display: flex;
      margin: 10px 4vw;
}

.top-head-nav li {
    width: 49%;
    margin: 1%;
}

.top-head-nav li a {
    font-size: 16px;
    display: block;
    text-align: center;
    text-decoration: none;
    border: 1px solid #8b4f3f;
    background-color: #fff;
    color: #8b4f3f;
    padding: 8px 16px;
}

.top-head-nav li a:hover{
  opacity: 0.7;
}

.top-head-nav li a span{
      color: #8b4f3f;
}

.top-head-nav li a span:before {
    content: '\f105';
    font-family: 'FontAwesome';
    margin-right: 8px;
}

.page-template #contents{
	max-width: 948px;
}

.page-template #contents h2{
	font-size: 24px;
	font-size: 2.4rem;
	margin: 4rem 0 3rem;
}

.page-template #contents ul{
	font-size: 16px;
	font-size: 1.6rem;
}

.page-template #contents dt {
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.6;
	color: #a15a48;
  float:left;
  clear:left;
  width:20%;
	margin: 2rem 0;
}
.page-template #contents dd {
  float:left;
  width:80%;
	padding: 0 30px;
	margin: 2rem 0;
}

.page-template #contents dd ul li{
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

#contents .linkBox h3{
	font-size: 20px;
	font-size: 2.0rem;
	margin: 48px 0 20px 10px;
}

#contents .linkBox .fa{
	display: block;
	margin: 12px 0;
	text-align: center;
}

#contents .linkBox .title{
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Osaka, "source-han-serif-japanese",serif;
}

#contents .linkBox ul{
	width:100%;
	list-style: none;
	margin: 0 0;
	padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.linkBox li{
	width: 18%;
	margin: 1%;
  background-color: #fff;
}

.linkBox li a{
	width: 100%;
	display: inline-block;
	vertical-align: top;
	background-color: #fff;
}

.linkBox li:hover {
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2) !important;
}

dl,dd{
	margin: 0;
	padding: 0;
}

.linkBox dt{
  width: 100%;
  height: 8vw;;
  background: #fff;
  display: block;
  text-align: center;
	overflow: hidden;
}
	
.linkBox dt img{
	position: relative;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}

#enmokuBox.linkBox dt{
  height: 109px;
}

.linkBox dt.aligin-top img{
	top: 0;
  left: 50%;
}

.linkBox a{
	text-decoration: none;
}

.linkBox a dd{
	padding: 16px 32px;
	background-color: #fff;
	color: #202020;
	text-decoration: none;
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 1.4;
	text-align: center;
  position: relative;
}

.linkBox a dd:after {
    font-size: 28px;
    content: '\f105';
    font-family: 'FontAwesome';
    margin-right: 8px;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);
    -webkit-transition: all .3s;
    transition: all .3s;
    color:#8b4f3f;
    opacity: 0.5;
}

.linkBox a:hover dd{
  color:#8b4f3f;
}

.linkBox a:hover dd:after{
    right: 4px;
  opacity: 1;
}

.left{
	float: left;
}

.right{
	float: right;
}

.align-right{
	text-align: right !important;
}

#contents h1{
  font-size: 40px;
  font-size: 4rem;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", Osaka, sans-serif,"Source Han Serif";
  line-height: 1.2;
  margin:30px 0 30px 0;
}

#contents h1 ruby{
	font-size: 14px;
  font-size: 1.4rem;
	display: block;
	margin-bottom: 1rem;
}
#contents p {
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.7;
  text-align: left;
  margin:1rem 0 1.5rem 0;
}

.content-warp{
  display: flex;
  flex-wrap: wrap;
}

.content-warp #sidebar{
  flex: 0 0 16.66667%;
  max-width: 16.66667%;
  padding: 40px 30px;
  background-color: #fff;
}

.content-warp #contents{
  flex: 0 0 83.33333%;
  max-width: 83.33333%;
  margin-top: 0;
}

.content-warp #sidebar　ul {
  display: block;
  margin:0;
  padding:0;
  list-style:none;
}

.content-warp #sidebar a:hover{
  opacity: 0.7;
}

.content-warp #sidebar > ul > li{
  padding: 12px 0;
}

.content-warp #sidebar > ul > li a{
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #000;
}

.content-warp #sidebar > ul > li:before{
  content: '\f105';
  font-size: 18px;
  font-family: FontAwesome;
  color: #a35d4a;
  margin-right: 6px;
}

.content-warp #sidebar ul.child {
  margin-top: 16px;
  margin-left: 16px;
  margin-bottom: 20px;
}
.content-warp #sidebar ul.child li{
}

.content-warp #sidebar ul.child a{
  font-size: 14px;
  padding: 0 0;
  color: #333;
  text-decoration: none;
  line-height: 1.05;
  font-weight: normal;
}

.content-warp #sidebar ul.child li:before{
  content: '\f105';
  font-size: 16px;
  font-family: FontAwesome;
  color: #a35d4a;
  margin: 0 6px;
  display: inline-block;
}

.content-warp #sidebar .side-navbar{
  display: none;
}

.forTAB{
  display: none !important;
}

@media screen and (max-width:948px) {
  .forTAB{
    display: block !important;
  }
  .content-warp #sidebar .side-navbar{
    display: block;
    font-size: 18px;
    cursor:pointer;
    padding: 20px 0;
  }
  .content-warp #sidebar .side-navbar:before{
    content: '\f0c9';
    font-size: 18px;
    font-family: FontAwesome;
    color: #a35d4a;
    margin: 0 6px 0 0 ;
    display: inline-block;
  }
  .content-warp #sidebar .parent{
    display: none;
    padding-bottom: 20px;
  }
}

.censure{
	border-top: 1px solid #333;
	text-align: right !important;
	padding: 1em 0;
}

#contents .writer {
	text-align:right;
	margin-top: 2rem;
}


.imgBox{
	width:420px;
  margin-left: 60px;
	vertical-align: top;
	text-align: center;
	float:right;
}

.imgBox img{
  width: auto !important;
	height: auto !important;
  max-width: 420px;
	margin: 0;
	padding: 0;
	vertical-align: bottom;
}

.txtBox{
	vertical-align: top;
	padding: 0 0 0 0;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.7;
}

#foot{
  position: relative;
	background-color: #ffffff;
	padding: 20px;
}

#foot div.inner{
margin: 0 auto;
padding:0 15px;
}

#foot div.cr{
	width: 520px;
	text-align: left;
	line-height: 22px;
}

#foot div.foot_link{
	width: 400px;
	text-align: left;
	font-size: 14px;
	font-size: 1.4rem;
  margin-bottom: 10px;
}

#foot a{
	color: #202020;
	text-decoration: none;
}

.fa-angle-right{
	font-size: 14px;
	color: #a35d4a;
	margin-right: 8px;
}

/* ===========================================================



	topic path



=========================================================== */

.breadcrumbs {
	margin: 48px auto 48px auto;
}

.breadcrumbs ol {
	list-style: none;
	padding: 10px 20px;
	display: block;
	background-color: #eeebe3;
	 border-radius: 5px;
}

.breadcrumbs ol li {
	float: left;
	margin: 10px 0;
	font-size: 16px;
	font-size:1.6rem;
}

.contents_body{
    margin: 0 -60px 36px;
}

.contents_body li:first-child,
.contents_body li:last-child{
  display: none;
}

.contents_body li:nth-child(2),
.contents_body li:nth-child(3){
  display: block;
}

.single-phraseology .contents_body li:last-child{
  display: none;
}

.contents_body li:nth-child(2) span{
  display: block;
  color: #fff;
  background-color: #a35d4a;
  padding: 36px 52px;
  font-size: 40px;
}

.contents_body li:nth-child(2) a span{
  display: block;
  color: #fff;
  background-color: #a35d4a;
  padding: 16px 20px;
   font-size: 20px;
}

.contents_body li a{
  display: block;
    color: #fff;
  text-decoration: none;
}

.contents_body li:nth-child(3) span{
  display: block;
  font-size: 40px;
  color: #8b4f3f;
  border-bottom: 1px solid #8b4f3f;
  padding: 36px 0;
  margin: 0 40px;
}

.contents_body li:nth-child(3) a{
  display: block;
  color: #8b4f3f;
  text-decoration: none;
}

.contents_body li:nth-child(3) a span{
  font-size: 20px;
  padding: 16px 0;
  margin: 0 40px;
}


#contents .contents_head {
  margin: 0 -60px 36px;
}

#contents .contents_head .contents_head_parent {
display: block;
color: #fff;
background-color: #a35d4a;
padding: 16px 20px;
font-size: 20px;
}

#contents .contents_head .contents_head_parent a:link,
#contents .contents_head .contents_head_parent a:visited,
#contents .contents_head .contents_head_parent a:hover {
color: #fff;
  text-decoration: none;
}

#contents .contents_head_inner {
  display: block;
  color: #fff;
  background-color: #a35d4a;
  padding: 36px 52px;
}

#contents .contents_head_inner.child {
display: block;
color: #8b4f3f;
border-bottom: 1px solid #8b4f3f;
padding: 36px 0;
margin: 0 40px;
background-color: transparent;
}

#contents .contents_head rb {
  font-size: 12px;
  margin-bottom: 5px;
}

#contents .contents_head h1 {
  font-size: 40px;
  margin: 0;
}

.prev_nav{
  margin: 40px 0;
}
.prev_nav ol{
  display: flex;
}

.prev_nav li{
  width: 32.333%;
  margin: 1%;
}
.prev_nav li:last-child{
  display: none;
}

.prev_nav li a{
  font-size: 18px;
  display: block;
  text-align: center;
  text-decoration: none;
  border: 1px solid #8b4f3f;
  color: #8b4f3f;
  padding: 32px;
}

.prev_nav li a:hover{
  background-color: #8b4f3f;
  color: #fff !important;
}

.prev_nav li a span:before{
  content: '\f104';
  font-family: 'FontAwesome';
  margin-right: 12px;
}

#contents p.catchphrase {
    font-size: 24px;
    font-size: 2.4rem;
    margin-bottom: 30px;
}

#contents #relationBox dd div.catchphrase {
    font-size: 13px;
    font-size: 1.3rem;
  margin-top: 10px;
    margin-bottom: 0px;
    color: #555;
}

@media screen and (max-width:948px) {
  .contents_body {
    margin: 0 -4vw 36px;
  }
	.breadcrumbs ol li {
		font-size: 14px;
		font-size:1.4rem;
	}
}

.breadcrumbs ol li:before {
	content: "＞";
	padding: 0 12px;
	color: #a35d4a !important;

}

.breadcrumbs ol li:first-child {

	padding: 0

}

.breadcrumbs ol li:first-child:before {

	content: "";

	padding: 0;

}

.breadcrumbs ol li a {

}

.breadcrumbs ol li:before {

	content: "＞";

}

.breadcrumbs ol a:link, .breadcrumbs ol a:visited {
	text-decoration: underline;
	color: #333;
}

.breadcrumbs ol a:hover {

	text-decoration: none;

}


.floatcontainer:after{
  content: "."; 
  display: block; 
  height: 0; 
  font-size:0;	
  clear: both; 
  visibility:hidden;
}
	
.floatcontainer{display: inline-block;} 

/* Hides from IE Mac \*/
* html .floatcontainer {height: 1%;}
.floatcontainer{display:block;}
/* End Hack */ 


@media screen and (max-width:1680px) {  }
@media screen and (max-width:1440px) {  }
@media screen and (max-width:1280px) {  }
@media screen and (max-width:948px) { 
  #contents{width: 100%;}
  .content-warp{
    width: 100%;
    display: block;
    flex-wrap: wrap;
  }
  .content-warp #sidebar{
    flex:none;
    width: 100%;
    max-width: 100%;
    padding: 0 4vw;
    background-color: #fff;
  }
  .content-warp #contents{
    flex:none;;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }
  .imgBox {
    width: 100%;
    margin-left: 0;
    vertical-align: top;
    text-align: center;
    float: none;
    margin-bottom: 20px;
  }
  #header .search-bar{
    display: none;
  }
  .post-type-archive #header .search-bar,
  .page-template-page_phraseology #header .search-bar{
    display: block;
    position: static;
  }
  #sidebar .search-bar #search-phrase, #sidebar .search-bar #search {
    width: 80vw;
  }
  .post-type-archive .search-bar #search-phrase,
  .post-type-archive .search-box .search-bar #search,
  .page-template-page_phraseology .search-bar #search-phrase,
  .page-template-page_phraseology .search-bar #search{
    width: 88vw;
  }
  .post-type-archive .search-bar_submit,
  .page-template-page_phraseology .search-bar_submit{
    width: 12vw;
  }
  .post-type-archive #header .search-bar, .page-template-page_phraseology #header .search-bar{
    display: none;
  }
  #contents .search-box .search-bar #search{
	  width: 72%;
  }
  #contents .search-bar_submit {
    width: 24%;
  }
}

@media screen and (max-width:768px) { 
  
    .navbar-nav {
    display: block;
    width: 100%;
    float: none;
    top:0;
    right: 0;
  }
  .navbar-nav li {
    float: left;
    width: 50%;
    margin: 0;
  }
  .navbar-nav li a {
    display: block;
    width: 100%;
    height: 60px;
    position: relative;
  }
  
  #foot {
    position: relative;
    background-color: #ffffff;
    padding: 80px 4vw 20px;
}
}
@media screen and (max-width:480px) { 
  #header {
    width: 100%;
    height: auto;
    position: relative;
    border-bottom: 1px solid #ccc;
    background-color: #ffffff;
  }
  #header .logo {
    display: block;
    text-align: center;
    position: initial;
    padding: 20px;
  }
  .content-warp #contents{
    padding: 0 4vw;
  }
  
  #contents h1 {
    font-size: 36px;
    font-size: 3.6rem;
    margin: 60px 0 40px 0;
  }
  
  .breadcrumbs {
    margin: 24px auto;
  }
  .linkBox li {
    width: 48%;
    margin: 1%;
    background-color: #fff;
  }
  .linkBox dt {
    width: 100%;
    height: 24vw;
    background: #fff;
    display: block;
    text-align: center;
    overflow: hidden;
  }
  .linkBox a dd {
    padding: 10px;
    background-color: #fff;
    color: #202020;
    text-decoration: none;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: center;
  }
  
  .imgBox img {
    width: 100% !important;
    height: auto !important;
    max-width: auto;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
  }
  .contents_body li:nth-child(3) span {
    display: block;
    font-size: 40px;
    color: #8b4f3f;
    border-bottom: 1px solid #8b4f3f;
    padding: 36px 0;
    margin: 0 4vw;
  }
  
  .prev_nav{
    margin-bottom: 0;
  }
  
  .prev_nav ol {
    display: flex;
    flex-wrap: wrap;
  }
  .prev_nav ol li{
    margin-bottom: 10px;
  }
  
  #foot div.inner {
    margin: 0 auto;
    padding: 0 0;
  }
  #foot div.foot_link {
    width: 100%;
    text-align: left;
    font-size: 14px;
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  #foot div.cr {
    width: 100%;
    float: none;
    text-align: left;
    line-height: 1.15;
  }
  .prev_nav li {
    width: 100%;
    margin: 0;
  }
}

#contents h3 {
    font-size: 20px;
    font-size: 2.0rem;
    padding: 2rem 0 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #dfc8bc;
}

#contents h4 {
    font-size: 16px;
    font-size: 1.6rem;
    padding: 1rem 0;
    font-weight: bold;
}

#toc_container{
  border: 1px solid #dfc8bc;
  background-color: rgba(255,255,255,0.3);
  padding: 2rem;
  margin-bottom: 2rem;
}

#toc_container li{
  font-size: 16px;
  font-size: 1.6rem;
  margin: 1rem 0;
}

#contents a:link,
#contents a:hover{
  color: #a35d4a
}

#contents strong{
  font-weight: bold;
}
@media screen and (max-width:768px) { 
img.size-full{
  width: 100% !important;
  height: auto !important;
}
}

.search-bar,
#top-categoryBox .parent > li:nth-last-child(2),
#top-categoryBox .parent > li:nth-last-child(3),
#top-categoryBox .parent > li:nth-last-child(4),
#top-categoryBox .parent > li:nth-last-child(8),
.content-warp #sidebar .parent > li:nth-last-child(2),
.content-warp #sidebar .parent > li:nth-last-child(3),
.content-warp #sidebar .parent > li:nth-last-child(4),
.content-warp #sidebar .parent > li:nth-last-child(8){
  /*display: none;*/

}