@charset "utf-8";
/* CSS Document */

html {
	font-family: 'メイリオ', Meiryo, sans-serif;
	letter-spacing: 0.1em;
	color: #2c2525;
	font-size:87.5%;
}
.sp-only {
	display: none;
}
img {
	max-width: 100%;
	height: auto;
}
.page-id-8 #navi li:nth-child(2) a {
	background: #c33e3e;
}

body {
	background: url(images/bg-body.jpg);
	background-repeat: repeat;
	background-attachment: fixed;
	height: 100%;
}


/*-----------category----------*/
.category {
	list-style: none;
	padding: 5px 0;
	margin: 0;
	color: #00a9b8;
	font-size: 14px;
	text-align: center;
	background: rgba(255,255,255,0.70);
}

.category-sp-only{
	display: none;
}

.category li {
	display: inline-block;
	margin: auto;
	padding: 9px 15px;
}
.category li:before {
	content: '';
	display: inline-block;
	border: transparent solid 5px;
	border-left-color: #00a9b8;
}
.category-sp-1st {
	text-indent: 1px;
}
.category-sp-1st:before {
	content: '';
	display: inline-block;
	border: transparent solid 5px;
	border-left-color: #00a9b8;
}
.category li a {
/*	color: #00a9b8;
	text-decoration: none;*/
	color: #00a9b8;
}

.category li:hover {
	background: #fff;
	border-radius: 6px;
}

/*-----title------*/
.news-title {
	background: url(images/titleframe.png);
	background-repeat: no-repeat;
	max-width: 598px;
	height: 90px;
	margin: 60px auto 35px;
	font-size: 24px;
	text-align: center;
	color: #00a9b8;
	line-height: 100px;
}
.news-title ul li {
	list-style: none;
}
.news-title a {
	text-decoration: none;
	color: #00a9b8;
}
.news-title a:hover {
	text-decoration: none;
}

#heding h3 {
	border-bottom: dashed 1px #00a9b8;
	font-size: 1.125rem;
	font-weight: bold;
	margin: 14px 0 0;
	padding-bottom: 5px;
	text-align: center;
	word-wrap: break-word;
	line-height: 1.5;
}

/*-----contents------*/
.contents {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	max-width: 1000px;
	margin: 0 auto 70px;
	background: rgba(255,255,255,0.7);
	border-radius: 6px;
	padding: 65px 60px 40px;
	box-sizing: border-box;
}

.contents_main {
	max-width: 410px;
	width: 48%;
	position: relative;
	margin-bottom: 40px;
}

.contents_main a{
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	z-index: 50;
}

.contents_main img {
	height: 285px;
	border-radius: 90px;
	text-align: center;
	object-fit: cover;
	object-position: bottom;
	margin-top: -3px;

}
.contents_main p {
	text-align: right;
	font-size: 16px;
	margin: 20px 0;
	color: #2c2525;
}
.contents_main:last-child p {
	margin-bottom: 0px;
}
.contents_main:nth-last-child(2) p {
	margin-bottom: 0px;
}

#photo{
	position: relative;
	display: block;
	max-width: 400px;
	max-height: 290px;
	overflow: hidden;
	padding: 10px;
	box-sizing: border-box;
}


#photo .photo-mask {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	max-width: 410px;
	width: 100%;
	height: 292px;
	background: url(images/eyecatchframe.png) no-repeat center center;
	background-size: 100% 100%;
	z-index: 20;
}

.thumbnail{
	object-fit: cover;
	position: relative;
	z-index: 10;
}

.thumbnail2{
	object-fit: cover;
	position: relative;
	z-index: 5;
}


#heding {
	padding: 0 25px;
}

.nopage{
	font-size: 1.25rem;
	margin: 0 auto;
}

.nopage .fa-feather-alt{
	color: #00a9b8;
	margin-right: 0.5rem;
}



/*-----------pager----------*/
.pager {
	text-align: center;
	font-weight: normal;
	font-size: 1.25rem;
	padding: 4% 0;
}
.pager .page-numbers {
	padding: 2%;
	border: 1px solid #ccc;
	background: #47c2cd;
	color: #45c2cd;
}
.pager .current {
	background: #46C2CD;
	color: #fff;
}
.pager .next, .prev {
	font-weight: bold;
}
.pager a:hover {
	opacity: 0.8;
}


/*-----------pagenation----------*/
.pagenation {
	display: table;
	margin: 0 auto 100px;
}
.pagenation ul:after {/* clearfix モダンブラウザ向け */
	content: "";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
.pagenation ul { /* IE6,7向け*/
	zoom: 1;
}
.pagenation:after, .pagenation ul:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}
.pagenation ul {
	margin: 0;
}
.pagenation li {
	float: left;
	list-style: none outside none;
	border-top: solid 1px #7d9294;
	border-bottom: solid 1px #7d9294;
	border-left: solid 1px #7d9294;
}
.pagenation li:first-child {
	margin-left: 0;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
	-moz-border-top-left-radius: 6px;	/* Mozilla Firefox用 */
	-ms-border-top-left-radius: 6px;	/* Microsoft IE用 */
	-moz-border-bottom-left-radius: 6px;	/* Mozilla Firefox用 */
	-ms-border-bottom-left-radius: 6px;/* Microsoft IE用 */
}
.pagenation li:last-child {
	margin-left: 0;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
	-moz-border-top-right-radius: 6px;	/* Mozilla Firefox用 */
	-ms-border-top-right-radius: 6px;	/* Microsoft IE用 */
	-moz-border-bottom-right-radius: 6px;	/* Mozilla Firefox用 */
	-ms-border-bottom-right-radius: 6px;/* Microsoft IE用 */
	border-right: solid 1px #7d9294;
}
.pagenation li.active {
	background: #47C2CD;
	color: #FFFFFF;
	cursor: not-allowed;
	width: 50px;
	height: 50px;
	text-align: center;
	line-height: 50px;
}
.pagenation li a {
	background: none repeat scroll 0 0  rgba(255,255,255,0.70);
	color: #45c2cd;
	display: block;
	width: 50px;
	height: 50px;
	text-align: center;
	line-height: 50px;
}
.pagenation li:first-child a {
	margin-left: 0;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
	-moz-border-top-left-radius: 6px;	/* Mozilla Firefox用 */
	-ms-border-top-left-radius: 6px;	/* Microsoft IE用 */
	-moz-border-bottom-left-radius: 6px;	/* Mozilla Firefox用 */
	-ms-border-bottom-left-radius: 6px;/* Microsoft IE用 */
}
.pagenation li:last-child a {
	margin-left: 0;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
	-moz-border-top-right-radius: 6px;	/* Mozilla Firefox用 */
	-ms-border-top-right-radius: 6px;	/* Microsoft IE用 */
	-moz-border-bottom-right-radius: 6px;	/* Mozilla Firefox用 */
	-ms-border-bottom-right-radius: 6px;/* Microsoft IE用 */
}


/*-----------single----------*/

.single_main {
	max-width: 1000px;
	margin: 60px auto 50px;
	background: rgba(255,255,255,0.7);
	border-radius: 6px;
	padding: 45px 90px 100px;
	box-sizing: border-box;
	position: relative;
}
.contents_title {
	background-image: none;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    border-bottom: dashed 1px #00a9b8;
    max-width: 570px;
    width: 100%;
    padding-bottom: 20px;
    word-wrap: break-word;
	line-height: 1.5;
	margin-left: 20px
}

.single_h2{
	display: flex;
    align-items: center;
}


.single_day_bg {
    background: #00a9b8;
    height: 120px;
    width: 120px;
    border-radius: 50%;
    display: table;
    position: relative;
}
.single_day {
	color: #fff;
    font-size: 20px;
    text-align: center;
    letter-spacing: 3px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.contents_img {
	margin: 85px auto 80px auto;
	text-align: center;
	max-width: 70%;
	clear: both;
}

.contents_img img{
	display: block;
	margin: 0 auto
}

.single_main_content{
	padding-top: 1rem;
}

video {
	width: 100%;
}
/*-----------ワードプレスの全称セレクタ----------*/

.single_main_content strong , .single_main_content b{
	font-weight: bold;
}

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

.single_main_content h1,.single_main_content h2,.single_main_content h3,.single_main_content h4,.single_main_content h5{
	font-weight: bold;
	line-height: 3;
}

.single_main_content h1{
	font-size: 1.5rem;
}

.single_main_content h2{
	font-size: 1.4rem;
}

.single_main_content h3{
	font-size: 1.3rem;
}

.single_main_content h4{
	font-size: 1.2rem;
}

.single_main_content h5{
	font-size: 1.1rem;
}

/*-----------ここまで----------*/


.single_main_content p{
	padding-bottom: 1rem;
	line-height: 1.5;
}

.single_main_content a{
	text-decoration: underline;
	color: #00a9b8;
	word-wrap: break-word;
}

.single_main_content a:hover{
	color: #30C4D1;
}

.single_main_content img{
	display: block;
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
    height: auto;
}

.ico-bird {
	position: absolute;
	bottom: 0px;
	right: 25px;
}

/*-----------perv_next----------*/

#prev_next {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	padding: 15px 0 15px;
	border-top: #00A9B7 1px dashed;
	border-bottom: #00A9B8 1px dashed;
	background: rgba(255,255,255,0.50);
	display: flex;
}
.prev_next_prev, .prev_next_next {
	max-width: 400px;
	width: 100%;
}
.prev_next_prev {
	position: relative;
	align-items: center;
	border-right: #00A9B8 1px dashed;
}
.prev_next_prev p {
	word-break: break-all;
    display: inline-block;
    line-height: 1.5;
    margin-right: 20px;
	max-width: 340px;
    width: 100%;
	padding-left: 25px;
}
#prev_title_box {
    align-items: center;
    display: flex;
}
#prev_title {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	color: #38b6c2;
}
#next_title_box {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
}
.prev_next_next {
	position: relative;
	align-items: center;
}
.prev_next_next p {
	word-break: break-all;
    display: inline-block;
    width: 100%;
    margin: 0 auto 0 20px;
    line-height: 1.5;
    padding-right: 25px;
	max-width: 340px;
}
#next_title {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	color: #38b6c2;
}


.btn-back{
	position: relative;
	margin: 95px auto 125px;
	max-width: 239px;
}

.btn-back a img:hover{
opacity: 0.7;
}

.btn-back span{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    white-space: nowrap;
    color: #fff;
}


@media only screen and (max-width: 999px) {

	html {
		font-size: 87.5%;
	}
	
	img {
		max-width: 100%;
		height: auto;
	}
	
	.news-title {
		background: url(images/titleframe.png) center center;
		background-repeat: no-repeat;
		background-size: 90% auto;
		margin: 6% auto 3.5%;
		font-size: 1.3rem;
	}

	/*-----------category----------*/

	.category-pc-only {
		display: none;
	}
	.category-sp-only {
		display: block;
	}

	.category {
		margin: 5%;
		border-radius: 6px;
		max-width: 90%;
		text-align: left;
		max-height: auto;
		height: auto;
		padding: 4% 0 2% 1em;
		font-size: 0.75rem;
	}
	.category li {
		display: block;
		height: 2rem;
		line-height: 2rem;
		padding: 0;
	}

	.category li:hover{
		background: none;
	}

	.category-sp-1st {
		font-weight: bold;
		padding-left: -1em;
			color: #00a9b8;
	}
	.category-sp-2nd {
		padding: 0.5rem 0 0 1rem;
	}


	.contents {
		max-width: 90%;
		margin: 0 auto 8%;
		border-radius: 6px;
		padding: 6.5% 6% 4%;
	}
	.contents_main img {
		border-radius: 30%
	}
	.contents_main p {
		font-size: 14px;
		margin: 2% 0 20% 0;
	}
	.contents_main:nth-last-child(2) p {
		margin-bottom: 20%;
	}
	.contents_main:last-child p {
		margin-bottom: 20%;
	}
	.thumbnail img,.thumbnail2 img {
		width: 100%;
		height: 190px;
	}

	#photo .photo-mask {
		height: 200px;
	}

	#photo{
	   max-height: 200px;
	}

	/*-----------single----------*/

	.single_main {
		max-width: 90%;
		margin: 6% auto 5%;
		padding: 4.5% 9% 10%;
	}
	.single_day_bg {
		height: 75px;
		width: 75px;
	}
	.single_day {
		font-size: 14px;
		letter-spacing: 0.2em;
	}
	.single_main h2 {
		font-size: 1.3rem;
		margin: 8% auto 0;
		max-width: 75%;
		padding-bottom: 2%;
	}
	.contents_img {
		margin: 8% auto 8% auto;
	}
	.ico-bird {
		right: 2%;
		max-width: 9%;
	}

	.btn-back {
		text-align: center;
		font-size: 1rem;
		height: 48px;
		max-width: 239px;
		width: 90%;
		margin: 9.5% auto 12.5%;
		background-repeat: no-repeat;
		background-size: 90% auto;
	}
	.btn-back a {
		color: #fff;
		text-decoration: none;
		line-height: 50px;
	}

	/*-----------prev_next----------*/
	#prev_next {
		width: 80%;
		max-width: 800px;
		padding: 1.5% 0;
	}

	.pagenation {
		margin: 0 auto 10%;
		font-size: 0.8rem;
	}
	.pagenation li.active {
		width: 30px;
		height: 30px;
		line-height: 30px;
	}
	.pagenation li a {
		width: 30px;
		height: 30px;
		line-height: 30px;
	}
}

@media only screen and (max-width: 800px) {

	.single_h2{
	display: block;
	}

	.single_main h2{
	margin: 5% 0;
		max-width: 100%;
		text-align: left;
	}

	.single_main_content img {
		width: 60%;
	}
}



@media only screen and (max-width: 499px) {  

	html {
		font-size: 87.5%;
	}

	body{
	background-image: url(images/sp-bg-body.jpg);
	}

	body:before {
	  background:url(images/sp-bg-body.jpg) repeat left top;
	  display: block;
	  position: fixed;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
	  padding-bottom: 108px;
	  content: "";
	  z-index: -2;
	}  

	/*-----------single----------*/
	.news-title{
		padding-bottom: 5px;
	}

	.contents {
		display: block;
		margin: 0 auto 7%;
	}
	.contents_main {
		max-width: 90%;
		width: auto;
		margin: 0 auto;
	}
	#heding{
		padding: 0 5px;
	}

	#heding h3 {
		font-size: 14px;
	}

	.pc-only {
		display: none;
	}
	.sp-only {
		display: block;
	}

	.single_main{
		padding: 4.5% 2% 10%;
	}

	.single_main h2 {
		margin: 2% auto 0;
		max-width: 90%;
		text-align: justify;
	}
	.single_main_content{
		max-width: 90%;
		margin: 0 auto;
		text-align: justify;
	}

	.single_day_bg{
		height: 50px;
		width: 50px;
	}

	.single_day{
		font-size: 0.7rem;
	}

	.btn-back {
		margin: 7.5% auto 8.5%;
	}

	.nopage{
		font-size: 1rem;
		margin: 0 auto;
		text-align: center;
	}


	/*-----------prev_next----------*/

	#prev_next{
	font-size: 0.7rem;
	}

	.prev_next_prev p {
		margin-right: 5px;
			padding-left: 15px;
	}

	.prev_next_next p {
		margin-left: 5px;
		padding-right: 15px;
	}

}


