@charset "utf-8";

/* CSS Document */

body {
    background-image: url(../../image/top/background.png);
}

#contents-primary {
	position:relative;
}

#contents {
	position:relative;
	padding-bottom: 100px;
}

article {
	width:100%;
	max-width: 1200px;
	margin-left:auto;
	margin-right:auto;
	position:relative;
	transition:0.3s;
	box-sizing:border-box;
}

@media screen and (max-width: 1200px) {
	article {
		width:100%;
		padding-left:30px;
		padding-right:30px;
	}

    article > nav{
    	margin-left: -20px;
    }
}

/*----------------------------------------------------------------------------
   blog
------------------------------------------------------------------------------*/
.subpage #mainvisual .panel {
	height: 280px;
	background-repeat: no-repeat;
	background-position: bottom center;
}

.subpage #mainvisual h2 {
    position: relative;
    top: 180px;
	display: block;
    width: 409px;
    height: 187px;
	margin: 0 auto;
	padding: 45px 0 18px;
	color: #527d2f;
	font-size: 36px;
	font-weight: bold;
	text-align: center;
    transition: 0.2s;
    background-image: url("../../image/blog/back.png");
    /*box-shadow: 0px 8px 10px 1px rgb(0 0 0 / 14%), 0px 3px 14px 2px rgb(0 0 0 / 12%), 0px 5px 5px -3px rgb(0 0 0 / 20%);*/
}
.subpage #mainvisual h2 span {
    color: #9b9b9b;
    font-size: 18px;
    display: block;
    text-align: center;
}
#mainvisual .panel {
    background-image: url("../../image/blog/mv.png");
}

#contents article {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-top: 30px;
}

@media screen and (max-width: 1000px) {
	#contents article {
		flex-wrap: wrap;
	}
}

@media screen and (max-width: 640px) {
    #mainvisual .panel {
        background-image: url("../../image/blog/mv-sp.png");
    }
}


/* content */

.content {
    width: calc(100% - 300px);
	padding-right: 50px;
	border-right: 1px solid #c5c5c5;
	box-sizing: border-box;
}
.info .detail-head {
    background-color: #ffffff;
    padding: 20px;
    padding-bottom: 15px;
    border-radius: 10px;
    box-sizing: border-box;
    border: 3px solid #527d2f;
}

.info .detail-head span.title {
    display: block;
    color: #527d2f;
    font-size: 22px;
}

.info .detail-head span.date {
    display: inline-block;
    font-size: 16px;
    color: #666666;
    margin-right: 1em;
}
.info .detail-head span.cate-ic {
    display: inline-block;
    font-size: 85%;
    padding: 0 .75em;
    color: #fff;
}

@media screen and (max-width: 1000px) {	
	.content {
        width: 100%;
        padding-right: 0;
        border-right: none;
        margin-bottom: 50px;
	}
}

.catetitle {
    margin: 0;
    padding: 0.5em 1em;
    color: #fff;
}
.catetitle span {
    font-size: 75%;
}

.post {
	display: block;
	margin-bottom: 120px;
	color: inherit;
	text-decoration: none;
    min-height: 260px;
}

.post h3 {
	border-bottom: 1px solid #c5c5c5;
	color: #ffffff;
    display: block;
    font-size: 1.17em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}
.post h3 span {
	display: block;
	font-size: 85%;
	color: #cccccc;
}

.post .thumbnail {
    float: left;
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-right: 1em;
    margin-bottom: 1em;
}

.post .read-button {
	width: 220px;
	float: right;
    margin-top: 30px;
}

.post .read-button a {
	width: 220px;
	background-color: #201615;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	color: #ffffff;
	text-decoration: none;
	display: block;
	position: relative;
	top: 0;
	left: 0;
	overflow: hidden;
	z-index: 1;
	transition: 0.2s;
}
.post .read-button a:after {
	background-image: url("../image/layout/ar01.png");
	width: 16px;
	height: 16px;
	display: block;
	content: "";
	position: absolute;
	right: 15px;
	top: 50%;
    transform: translateY(-50%);
	transition: 0.2s;
}
.post .read-button a:hover:after {
	right: 10px;
}
.post .read-button a:before {
	content: "";
	background-color: #5a3d1b;
	display: block;
	width: 250px;
	height: 200px;
	transform: rotate(-15deg);
	position: absolute;
	top: 0;
	left: -250px;
	transition: 0.3s;
	z-index: -1;
}
.post .read-button a:hover:before {
	width: 250px;
	left: 0;
	top: -30px;
}

.post .kiji-box {
	padding-bottom: 20px;
}

.post .kiji-box:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
}

.post img {
	max-width: 100%;
	margin-bottom: 30px;
}


/* sidebar */

#content-sidebar {
	width: 250px;
    margin-left: 50px;
	transition: 0.3s;
	box-sizing: border-box;
}

@media screen and (max-width: 1000px) {		
	#content-sidebar {
        width: 100%;
        margin-left: 0;
        display: flex;
        justify-content: space-between;
	}
}

#content-sidebar .sidebox {
    margin-bottom: 50px;
}
@media screen and (max-width: 1000px) {
    #content-sidebar .sidebox {
        width: calc(50% - 15px);
    }
    #content-sidebar .sidebox:first-of-type {
        margin-right: 30px;
    }
}

#content-sidebar .sidebox h4 {
	padding: 0;
	padding-top: 15px;
	padding-bottom: 15px;
    background-color: #f8b500;
	text-align: center;
	font-size: 1.25em;
	font-weight: bold;
	margin: 0;
	display: block;
	box-sizing: border-box;
	letter-spacing: 5px;
    color: #fff;
}

#content-sidebar .blog-latest {
	list-style: none;
	margin: 0;
	padding: 0;
}

#content-sidebar .blog-latest li:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}

#content-sidebar .blog-latest li a,
#content-sidebar .blog-latest li div {
	position: relative;
	display: block;
	color: inherit;
	text-decoration: none;
	background-image: url("../image/layout/dotline.gif");
	background-repeat: repeat-x;
	background-position: bottom;
	transition: 0.3s;
}
#content-sidebar .blog-latest li a:hover {
	padding-left: 10px;
}

#content-sidebar .blog-latest li a:after {
	background-image: url("../image/layout/ar02.png");
	background-position: right top;
	background-repeat: no-repeat;
	content: "";
	display: block;
	width: 23px;
	height: 23px;
	position: absolute;
	top: 50%;
	right: 20px;
  transform: translateY(-50%);
	transition: 0.2s;
}
#content-sidebar .blog-latest li a:hover:after {
	right: 10px;
}

#content-sidebar .blog-latest li span {
	display: block;
	font-size: 14px;
	color: #777777;
}

#content-sidebar .blog-category {
	list-style: none;
	margin: 0;
	padding: 0;
	margin-top: 15px;
	margin-bottom: 30px;
}

#content-sidebar .blog-category li a {
	background-color: #f8b500;
    color: #ffffff;
	padding: 10px;
	text-align: center;
	position: relative;
	border: 1px solid #f5f5f5;
	box-sizing: border-box;
	transition: 0.2s;
	text-decoration: none;
	display: block;
}

#content-sidebar .blog-category li {
	margin-bottom: 5px;	
}

#content-sidebar .blog-category li a:hover {
	background-color: #ffffff;
	border: 1px solid #cccccc;
	box-sizing: border-box;
    color: #f8b500;
}

#content-sidebar .blog-month ul {
	margin: 0;
	padding: 0;
}

#content-sidebar .blog-month select {
	width: 100%;
}


/* detail */

@media screen and (max-width:1000px) {    
    .info .detail {
        padding-bottom: 40px;
    }
}

.info .detail h3 {
    padding-top: 6px;
    padding-bottom: 6px;
}
.info .detail-head {
    background-color: #527d2f;
    padding: 20px;
    border-radius: 10px;
}
.info .detail-head span.date {
    display: inline-block;
    font-size: 85%;
	color: #cccccc;
    margin-right: 1em;
}
.info .detail-head span.cate-ic {
    display: inline-block;
    font-size: 85%;
    padding: 0 .75em;
    color: #fff;
}
.info .detail-head span.title {
    display: block;
    color: #fff;
}

.info .back-button {
    margin: 0 auto;
	width: 220px;
}

.info .back-button a {
	width: 220px;
	background-color: #201615;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	color: #ffffff;
	text-decoration: none;
	display: block;
	position: relative;
	top: 0;
	left: 0;
	text-indent: -10px;
	overflow: hidden;
	z-index: 1;
	transition: 0.2s;
}
.info .back-button a:after {
	background-image: url("../image/layout/ar01.png");
	width: 16px;
	height: 16px;
	display: block;
	content: "";
	position: absolute;
	right: 15px;
	top: 50%;
    transform: translateY(-50%);
	transition: 0.2s;
}
.info .back-button a:hover:after {
	right: 10px;
}
.info .back-button a:before {
	content: "";
	background-color: #5a3d1b;
	display: block;
	width: 250px;
	height: 200px;
	transform: rotate(15deg);
	position: absolute;
	top: 0;
	left: 230px;
	transition: 0.3s;
	z-index: -1;
}
.info .back-button a:hover:before {
	width: 250px;
	left: 0;
	top: -100px;
}

.link-button {
    margin-top: 30px;
}

.news-data {
    float: right;
    margin-bottom: 30px;
}

.list {
    display: flex;
    margin-bottom: 30px;
	color: #000000 !important;
    text-decoration: none !important;
}

.list div {
    width: 100%;
}

.list h4 {
    font-size: 22px;
    font-weight: normal;
    margin: 10px 0;
    border-bottom: 1px dotted #f8b500;
    width: 100%;
}

.list .cate, .list .data{
	color: #000000 !important;
    text-decoration: none !important;
}

.list {
    display: flex;
    margin-bottom: 30px;
	color: #000000 !important;
    text-decoration: none !important;
}

.thombnail {
    width: 200px;
    margin-right: 30px;
    border: 2px solid #f8b500;
}

.pmove {
	list-style: none;
	margin: 0;
	padding: 0;
	padding-top: 30px;
	display: block;
	width: 100%;
	position:relative;
	border-top: 1px solid #cccccc;
}

.pmove .prev {
	position: absolute;
	left:0;
}

.pmove .next {
	position: absolute;
	right:0;
}

.pmove .show-back {
	text-align: center;
	position: absolute;
	left: 50%;
	margin-left: -55px;
}


/*----------------------------------------------------------------------------------------------------

  ブログパターン
  
----------------------------------------------------------------------------------------------------*/

.p-glog {
  text-align:left;
}

.p-glog:after {
  content:"";
  display:block;
  height:0;
  clear:both;
}

.p-glog img {
    width: 100%;
    height: auto;
}

.p-glog a { text-decoration:underline; }
.p-glog a:hover { text-decoration:none; }

.p-glog ul,
.p-glog ol {
  margin-left:1.2em;
}

.p-glog b,
.p-glog strong {
  font-weight:600;
}

.p-glog__txt {
  word-break:break-all;
  display:inline;
}

.p-glog__txt--column,
.p-glog__img--center,
.p-glog__datafile {
  width:100%;
}

.p-glog__img--center {
  text-align:center;
}

.p-glog__img--left,
.p-glog__img--right {
  display:inline-block;
}

.img--center__item {
  display:inline-block;
}

.p-glog__datafile + .p-glog__txt {
  padding-top:2em;
}
.p-glog__txt + .p-glog__datafile {
  padding-top:2em;
}

.p-glog__img__cp {
  display:block;
  text-align:center;
  line-height:1.4;
  padding-top:0.75em;
}

@media print,screen and (min-width:751px) {
    .p-glog {
    }
  .p-glog__img--left {
    float:left;
  }
  
  .p-glog__img--right {
    float:right;
  }
  
  .p-glog__img--left:not([data-mg="0"]),
  .p-glog__img--right:not([data-mg="0"]) {
    margin-bottom:1.5em;
  }
  
  .img--center__item[data-ps="top"]:not([data-mg="0"]) {
    margin-bottom:60px;
  }
  
  .img--center__item[data-ps="bottom"]:not([data-mg="0"]) {
    margin-top:60px;
  }
}

@media screen and (max-width:750px) {
    .p-glog {
        /*margin-bottom: 4em;*/
    }
  .p-glog__img--left,
  .p-glog__img--right,
  .p-glog__img--left + .p-glog__txt,
  .p-glog__img--right + .p-glog__txt {
    width:100% !important;
  }

  .p-glog__img--left,
  .p-glog__img--right {
    max-width:100% !important;
    text-align:center;
  }
  
  .p-glog__img--left:not([data-mg="0"]),
  .p-glog__img--right:not([data-mg="0"]) {
    margin-bottom:2.5em;
  }
  
  .img--center__item[data-ps="top"]:not([data-mg="0"]) {
    margin-bottom:2.5em;
  }
  
  .img--center__item[data-ps="bottom"]:not([data-mg="0"]) {
    margin-top:2.5em;
  }

  .p-glog__img--left img,
  .p-glog__img--right img,
  .img--center__item {
    width:100% !important;
  }
  
  .p-glog__img--left:not([data-mg="0"]),
  .p-glog__img--right:not([data-mg="0"]) {
    margin-bottom:2.5em;
  }
}

