@charset "utf-8";
/* CSS Document */



/**************************************/
body{
	font-family: 'Noto Sans JP', sans-serif!important;
	color:#444!important;
}
a{
	transition : all 0.4s ease 0s;
}
a:hover{
	color:#495844;
	text-decoration: none!important;
}

header{
	margin-bottom: 10px;
}
nav a{
	padding-bottom: 10px;
	border-bottom:3px solid #fff;
	font-weight: bold;
	color:#444!important;
}
nav a:hover{
	border-bottom:3px solid #495844;
	transition :none;
}
h2 a{
	color:#444!important;
	line-height:1.7rem;
}
h2 a:hover{
	color:#495844!important;
	text-decoration: none!important;
}
.m_box{
	background-color:#fff;
	box-shadow: 1px 1px 6px #999;
	border-radius: 0 0 5px 5px;
	height:100%;
}
.m_box .cat{
	font-size:0.9rem;
}
.m_box .cat span{
	background-color:#495844;
	color:#fff;
	padding:3px 7px;
	border-radius: 3px;
	margin-right:10px;
}

/****フッターをページ下部におくため****************************/
body{
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
/***************/
footer{
	text-align:center;
	color:#fff;
	background-color:#333;
	padding:5px 0;
}


/*******動画投稿ページ*********/
.post_page h2{
	font-size:1.7rem;
	font-weight: bold;
}
.post_page p{
	font-size: 1.2rem;
	font-weight: normal;
}

/****ページング****/
.pagination{
   margin:40px 0 0;
}
.nav-links{
   display:flex;
}
.pagination .page-numbers{
   display:inline-block;
   margin-right:10px;
   /*padding:20px 25px;*/
	padding:10px 10px;
   color:#333;
   border-radius:3px;
   box-shadow:0 3px 3px #999;
   background:#fff;
}
.pagination .current{
   /*padding:20px 25px;*/
	padding:10px 10px;
   background:#495844;
   color:#fff;
}
.pagination .prev,
.pagination .next{
   background:transparent;
   box-shadow:none;
   color:#495844;
}
.pagination .dots{
   background:transparent;
   box-shadow:none;
}

/**********/
.side_bar img{
	width:100%;
	height:200px;
	object-fit:cover;
	object-position: 50% 50%;
}
.new-txt{
	background-color:red;
	color:#fff;
	padding:0 5px;
	font-size:0.8rem;
	border-radius:999px;
}


/**メールフォーム***/
.cform {
	padding-bottom:100px;
}
.cform-inner {
  width: 90%;
  margin: 0 auto;
}
.cform dt {
  display: flex;
  align-items: center;
}
.cform dt span {
  padding-left: 0.5em;
  font-size: 0.8rem;
  color: #f00;
}
.cform dd {
  margin-bottom: 15px;

}
.cform .text {
	margin-bottom: 2em;
}
.cform .name,.cform .mail,.cform .tel
{	
    height: 2.4em;
    width: 100%;
    padding: 5px 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.cform .message
{	
    height: 7em;
    width: 100%;
    padding: 5px 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.cform .name:focus,.cform .mail:focus,.cform .tel:focus,.cform .message:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}
.cform .btn {
  width: 200px;
  padding: 10px 20px;
  border-radius: 15px;
  font-size: 1rem;
  color: #fff;
}
.cform .btn:hover {
  color: #fff;
}
.cform .btn-back {
  background: #ccc;
  margin-right: 15px;
}
.cform .btn-submit {
  background: #495844;
}
.cform .btn-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.mw_wp_form_preview {
  margin-left: 0.5em;
}

@media screen and (max-width: 560px) { 
.cform-inner {
  width: 100%;}
}

/*********ハンバーガーメニュー************/
@media screen and (min-width: 992px) {
	.hamburger-menu{display: none;}
}
@media screen and (max-width: 992px) {
	#nav{
		display: none;
	}
.menu-btn {
  position: fixed;
  top: 15px;
  right: 10px;
  display: flex;
  height: 40px;
  width: 40px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background-color: gray;
}
.menu-btn:hover {
  cursor: pointer;
}
/* 三本線の実装 */
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
}
.menu-btn span:before {
  bottom: 8px;
}
.menu-btn span:after {
  top: 8px;
}
/* チェックボックスを非表示にする */
#menu-btn-check {
  display: none;
}

#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(
    255,
    255,
    255,
    0
  ); /*メニューオープン時は真ん中の線を透明にする*/
}

/* メニューを開いている時はハンバーガーボタンが×になる */
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}
/* =================
メニュー部分の実装
================= */

.menu-content {
  z-index:10; 
  width: 80%;
  height: auto;
  position: fixed;
  top: 0;
  left: 100%;
  background-color:gray;
  transition: all 0.5s;
}
.menu-content ul {
  padding: 50px 10px 0;
}
.menu-content ul li {
  border-bottom: solid 1px #ffffff;
  list-style: none;
}
.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 15px 10px 0;
  position: relative;
}

#menu-btn-check:checked ~ .menu-content{
		left: 50%;}
}
	
	