/*
Theme Name: FM Template NEXT "コンテンツワイド2カラム右（白）"
Description: フレンドマーク制作のテンプレートです。
Theme URI: http://friendm1.com/fmtemp/
Author: フレンドマーク
Author URI: http://friendmark-studio.com/
License: 再配布禁止
License URI: http://friendm1.com/d9nextd2/kiyaku/
*/

/*******************************

Basic Settings

********************************/


body{
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color:#333;
	font-size: 14px;
	line-height: 160%;
	overflow: auto;
	margin: 0px;
}

img{
	max-width: 100%;
	height: auto;
	width: auto;
}

.wp-block-image{
	margin-bottom: 0!important;
}
.wp-block-image .aligncenter{
	margin: 0 auto!important;
}

/*******************************

Typography

********************************/

a {
	text-decoration: underline;
	color: #0086C7;
}

a:hover{
	color: #00ACFF;
}

a:hover img{
	opacity:0.8;
	filter:alpha(opacity=80);
	-ms-filter: “alpha( opacity=80 )”;
}

p{
	padding: 0 20px;
}

.main h1{
	padding:20px 30px;
	margin: 0 0 20px 0;
	border:3px double #e5e5e5;
}

.main h1 a{
	color: #333;
	font-size: 1em;
	line-height: 160%;
	text-decoration: none;
	display: block;
}

.main h1 a:hover{
	color: #898989;
}

.main h2{
	width: auto;
	padding: 20px;
	margin-top:0px;
	background: #ecf0f1;
	color: #333;
	font-size: 1.5em;
}
	
.main h2 a{
	color: #333;
	text-decoration: none;
	display: block;
}

.main h2 a:hover{
	color: #bdbdbd;
}


.main h3{
	position: relative;
 	color: #111;
 	font-size: 1.5em;
 	font-weight: bold;
 	margin: 0 0 1.5em!important;
 	padding: 0.5em 0.5em 0.5em 1.7em!important;
 	border-bottom: 3px solid #bdbdbd;
}
 
.main h3:before{
	content: "";
	position: absolute;
	background: #e5e5e5;
	top: 0;
	left: 0.4em;
	height: 16px;
	width: 16px;
	transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
}
 
.main h3:after{
	content: "";
	position: absolute;
	background:#bdbdbd;
	top: 1.0em;
	left: 0.1em;
	height: 12px;
	width: 12px;
	transform: rotate(15deg);
	-moz-transform: rotate(15deg);
	-webkit-transform: rotate(15deg);
	-o-transform: rotate(15deg);
	-ms-transform: rotate(15deg);
}

.main h4{
	position: relative;
	font-size: 1.5em;
	font-weight: bold;
	margin: 60px 0 0 0;
	padding: 0.5em 0.5em 0.5em 2.0em;
	border-bottom: 2px solid #bdbdbd;
}
 
.main h4:before{
	content: "□";
	font-size: 150%;
	position: absolute;
	color: #e5e5e5;
	top: -0.8em;
	left: 0.3em;
	height: 12px;
	width: 12px;
}
 
.main h4:after{
	content: "□";
	font-size: 150%;
	position: absolute;
	color: #bdbdbd;
	top: -0.5em;
	left: 0;
	height: 12px;
	width: 12px;
}

.main h5{
	position:relative;
	padding:9px;
	padding-left:0px;
	font-weight: bold;
	font-size: 1.5em;
}
 
.main h5:before{
	content:'';
	height:15px;
	width: 100%;
	display:block;
	position:absolute;
	top:18px;
	left:0px;
	background-color:#ccc;
	filter:alpha(opacity=20);
	-moz-opacity:0.20;
	-khtml-opacity: 0.20;
	opacity:0.20;
	box-shadow: 0px 3px 3px 3px rgba(255,255,255, 0.3) inset;
}

.main h6{
	position: relative;
	margin: 0 0 1.5em;
	padding: 0.8em;
	background: #bdbdbd;
	color: #fff;
	font-size: 1.5em;
	font-weight: bold;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
 
.main h6:after{
	position: absolute;
	bottom: -12px;
	left: 10%;
	z-index: 90;
	margin-left: -15px;
	border-top: 15px solid #bdbdbd;
	border-left: 15px solid transparent;
	border-right: 15px solid transparent;
	border-bottom: 0;
	content: "";
}

/*******************************

Layouts

********************************/

#wrap{
	width: 1150px;
	height: auto;
	background: rgba(255, 255, 255, 0.7);
	padding: 20px 0;
	margin: 30px auto;
	box-shadow:rgba(216, 216, 216, 0.65098) 0px 0px 3px 2px;
	-webkit-box-shadow:rgba(216, 216, 216, 0.65098) 0px 0px 3px 2px;
	-moz-box-shadow:rgba(216, 216, 216, 0.65098) 0px 0px 3px 2px;
	border-radius:3px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
}

.contents{
	width: 1100px;
	margin: 0 auto;
}

.main{
	width: 800px;
	margin: 0 auto;
	float: left;
}

.kiji{
	width: 760px;
	margin: 0 auto;
	padding: 0 20px;
}

.side{
	width: 300px;
	float: right;
	
}

/*video*/

/*動画の最大幅を指定する*/
.video-container{
  max-width:720px;
}
 
/*動画の大きさを調整*/
.video {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}
 
/*動画を囲んでいるdiv目一杯に広げる*/
.video iframe,
.video object,
.video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*header*/

#header{
	width: 1100px;
	min-height: 150px;
	margin:0 auto;
	padding: 10px;
	position: relative;
}

#header h1{
	position: relative;
	top: 0;
	left: 0;
	margin: 0;
}

.title{
	position: absolute;
	top: 30%;
	left: 5%;
}

.site-title{
	position: absolute !important;
   clip: rect(1px 1px 1px 1px);
   clip: rect(1px, 1px, 1px, 1px);
}

.description{
	padding-left: 20px;
	margin: 20px;
	position: relative;
}

/*Footer*/

#footer {
	clear: both;
	background: #ecf0f1;
	color: #333;
}


/* mod_nav
-----------------------------------------*/

.mod_nav{
	float: left;
	width: 100%;
	margin-bottom: 20px;
	min-height:45px;
	background: #ecf0f1;
}
.mod_nav p.navtitle{
	display:none;
}
.menu{
	display: table;
	table-layout: fixed;
	padding: 0;
	margin:0 auto;
}

.mod_nav ul {
	display: table;
	table-layout: fixed;
	width:1100px;
	padding: 0;
	margin:0 auto;
	border-right:1px solid #D8D8D8;
}
.mod_nav ul li{
	display: table-cell;
	color: #333;
	line-height:45px;
	text-align:center;
	padding:0;
	list-style-type: none;
	border-left: 1px solid #D8D8D8;
	margin-left: -1px;
	position: relative;
}

.mod_nav ul li a{
	display: block;
	color: #333;
}

.mod_nav ul li.current a{
	font-weight:bold;
}
.mod_nav ul li a:link    {
	color:#333;
	text-decoration:none;
}
.mod_nav ul li a:visited {
	color:#333;
	text-decoration:none;
}
.mod_nav ul li a:hover{
	color:#333;
	text-decoration:none;
	background-color:#fff;
}
.mod_nav ul li a:active{
	color:#333;
	text-decoration:none;
	background-color:#fff;
}

/*プルダウン*/

.mod_nav ul li ul{
	z-index: 100;
	list-style: none;
	width: 100%;
	position: absolute;
	top: 100%;
	left: 0;
	margin: 0;
	padding: 0;
	background: #ecf0f1;
}

.mod_nav ul li ul li{
	display: none;
	width: 100%;
	height: 0;
	color: #333;
	-moz-transition: .2s;
	-webkit-transition: .2s;
	-o-transition: .2s;
	-ms-transition: .2s;
	transition: .2s;
}

.mod_nav ul li ul li a{
	display: block;
}

.mod_nav ul li:hover ul li{
	display: block !important;
	height: auto;
}

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

nav	{
	float: left;
	width: 100%;
	margin-bottom:0px;
}
.mod_nav{
	height:auto;
}
.mod_nav p.navtitle{
	cursor:pointer;
	display:block;
	line-height:45px;
	color:#333;
	padding:0 0 0 50px;
	font-size:110%;
	font-weight:bold;
	margin: 0;
}

.mod_nav ul li{
	float:none;
	border: none;
}
.mod_nav ul li{
	width:100%;
	padding: 0;
	text-align:left;
display: block;
}
.mod_nav ul li a{
	width: 100%;
	color: #5A5132;
	border-left: none;
	padding-left: 50px;
}

}


/*******************************

Main Contents

********************************/

#breadcrumb{
	margin-bottom: 15px;
}

#breadcrumb ul li{
	list-style-type: none;
	display: inline;
}

#breadcrumb ul li:before{
	content:" > ";
}

#breadcrumb ul li:first-child:before{
	content: none;
}

.kiji .post,
.kiji .page{
	overflow: hidden;
	margin-bottom: 20px;
	border-bottom: 1px solid transparent;
	background: rgba(255, 255, 255, 0.7);
}

.post-meta{
	margin-bottom: 1.5em;
}
.post-meta .post-date,
.post-meta .category{
		padding-right: 1em;
}

.attachment-post-thumbnail{
	float: left;
	margin: 10px 30px;
	border:3px solid rgb(255, 255, 255);
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	box-shadow:rgba(0, 3, 51, 0.388235) 0px 0px 5px 1px;
	-webkit-box-shadow:rgba(0, 3, 51, 0.388235) 0px 0px 5px 1px;
	-moz-box-shadow:rgba(0, 3, 51, 0.388235) 0px 0px 5px 1px;
}

.attachment-single-post-thumbnail{
	float: left;
	margin: 10px 30px;
	border:3px solid rgb(255, 255, 255);
	box-shadow:rgba(0, 3, 51, 0.388235) 0px 0px 5px 1px;
	-webkit-box-shadow:rgba(0, 3, 51, 0.388235) 0px 0px 5px 1px;
	-moz-box-shadow:rgba(0, 3, 51, 0.388235) 0px 0px 5px 1px;
}

.post_text{
	display: box;
	overflow: auto;
	zoom: 1;
}
	
.comment-num{ 
	white-space: nowrap;
}

.more-link{
	float: right;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

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

img.alignleft {
	display: inline-block;
    	margin: 0 1.5em 1em 0;
}
/****************************************

Comments

*****************************************/

#comment-area{
	margin: 0 auto 20px auto;
	padding: 10px;
	background: rgba(255, 255, 255, 0.5);
}

#comment-area h3{
	font-size: 150%;
	font-family: 'Josefin Sans', sans-serif;
}

.required{ color: #fe56aa;}

.commets-list,
.trackback-list{
	overflow: hidden;
	margin-top: -20px;
	margin-bottom: 40px;
}
	.commets-list li,
	.trackback-list li{
		overflow: hidden;
		margin-top: -1px;
		padding: 20px 0 0;
		width: 100%;
		border-top: 1px solid #ddd;
		border-bottom: 1px solid transparent;
	}
		.commets-list .avatar{
			float: left;
			margin-right: 10px;
			margin-bottom: 10px;
		}

		.comment-meta,
		.reply,
		.comment-notes,
		.form-allowed-tags,
		span.small{
			font-size: 80%;
		}

		.comment-body p{
			clear: both;
		}
		.reply{
			text-align: right;
		}

.bypostauthor{
	/* 記事投稿者のコメントのスタイル */
}

.children{
	padding-left: 2em;
}

#respond{
	margin-bottom: 40px;
	padding: 5px 30px;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
textarea {
	margin: 0;
	margin-bottom: 20px;
	padding: 6px 4px;
	max-width: 100%;
	width: 90%;
	outline: none;
	border: 1px solid #ddd;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	background: #eee;
	color: #777;
	vertical-align: bottom;
	font-size: 13px;
	display: block;
}

#comment-area input[type="text"],
#comment-area textarea{
	display: block;
}

textarea {
	overflow: auto;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
textarea:focus {
	border: 1px solid #777;
	background: #fff;
	-webkit-box-shadow: 0 0 3px 2px rgba(216, 216, 216, 0.6);
 	-moz-box-shadow: 0 0 3px 2px rgba(216, 216, 216, 0.6);
	box-shadow:  0 0 3px 2px rgba(216, 216, 216, 0.6);
 	color: #444;
}

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	display: inline-block;
	margin-bottom: 20px;
	padding: 8px 20px;
	border: none;
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 1px;
	background: #ecf0f1;
	color: #333;
	text-decoration: none;
	font-weight: bold;
	font-size: 12px;
	line-height: normal;
	cursor: pointer;
	/* Old browsers */
}

	.button:hover,
	button:hover,
	input[type="submit"]:hover,
	input[type="reset"]:hover,
	input[type="button"]:hover {
	  	border: none;
	background: #ecf0f1;
		color: #bdbdbd;
	}

	.button:active,
	button:active,
	input[type="submit"]:active,
	input[type="reset"]:active,
	input[type="button"]:active {
		position: relative;
		top:1px;
	}


/*******************************

Navigation

********************************/

.navigation{
overflow: hidden;
margin-bottom: 20px;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
	.navigation > div{
		width: 50%;
	}

	.navigation .alignright{
		text-align: right;
	}

	.navigation a{
		display: block;
		padding: 1em;
		border: none;
	}
		.navigation a:hover{
			background: #e5e5e5;
			color: #000;
			top: 0px;
			left: 0px;
		}
			.navigation .alignright{
				border-left: 1px solid #ddd;
				margin-left: -1px;
			}


/*******************************

Side bars

********************************/

.side .widget{
	width: 270px;
	margin: 0 auto 30px auto;
	padding: 15px;
}

.widget h2{
	position: relative;
 	color: #111;
 	font-size: 14px;
 	font-weight: bold;
 	margin: 0 0 1em;
 	padding: 0.5em 0.5em 0.5em 1.7em;
 	border-bottom: 3px solid #bdbdbd;
}
 
.widget h2:before{
	content: "";
	position: absolute;
	background: #e5e5e5;
	top: 0;
	left: 0.4em;
	height: 12px;
	width: 12px;
	transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
}
 
.widget h2:after{
	content: "";
	position: absolute;
	background:#bdbdbd;
	top: 1.0em;
	left: 0;
	height: 8px;
	width: 8px;
	transform: rotate(15deg);
	-moz-transform: rotate(15deg);
	-webkit-transform: rotate(15deg);
	-o-transform: rotate(15deg);
	-ms-transform: rotate(15deg);
}
.widget ul{
	list-style: none;
	padding-left:0px;
	width: 100%;
}
.widget li a{
	display: block;
	position: relative;
	padding: 10px 25px 10px 10px;
	border-bottom: 1px solid #D9D9D6;
	color: #333;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}

.widget li a:after {
	display: block;
	content: "";
	position: absolute;
	top: 50%;
	right: 10px;
	width: 0;
	height: 0;
	margin: -3px 0 0 0;
	border-top: 8px solid #333;
	border-left: 8px solid transparent;
	-webkit-transform: rotate(45deg);
        transform: rotate(45deg);
}

.widget li a:hover{
	color: #cccccc;
	background: rgba(255, 255, 255, 0.7);
	display: block;
}

li.recentcomments a:after {
border: none;
}

/*******************************

Other Widgets

********************************/

.kiji .widget{
	margin: 0 auto 50px auto;
	padding: 10px;
	background: rgba(255, 255, 255, 0.7);
}

.kiji .widget h2{
	position: relative;
 	color: #111;
 	font-size: 1.5em;
 	font-weight: bold;
 	margin: 0 0 1em;
	background: none;
 	padding: 0.5em 0.5em 0.5em 1.7em;
	border: none;
 	border-bottom: 3px solid #bdbdbd;
}
 
.kiji .widget h2:before{
	content: "";
	position: absolute;
	background: #e5e5e5;
	top: 0;
	left: 0.4em;
	height: 12px;
	width: 12px;
	transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
}
 
.kiji .widget h2:after{
	content: "";
	position: absolute;
	background:#bdbdbd;
	top: 1.0em;
	left: 0;
	height: 8px;
	width: 8px;
	transform: rotate(15deg);
	-moz-transform: rotate(15deg);
	-webkit-transform: rotate(15deg);
	-o-transform: rotate(15deg);
	-ms-transform: rotate(15deg);
}

.kiji .widget .textwidget{
	margin-top: 1em;
	margin-bottom: 1em;
	padding: 0 20px;
}

.kiji .widget .textwidget p{
	padding: 0px;
}

.kiji .single-top-widget{
	width: 100%;
	margin: 0 auto 20px;
}

.kiji .single-top-widget .textwidget{
	margin-top: 1em;
	margin-bottom: 1em;
	padding: 0 20px;
}

.kiji .single-top-widget .textwidget p{
	padding: 0px;
}

/*******************************

Footer

********************************/

#copyright{
	clear: both;
	padding: 20px 0;
	text-align:center;
	font-size: 80%;
	position:relative;
}

.wrapper a{
	text-decoration: none;
	color: #FFF;
}

.wrapper{
	width:1000px;
	margin: 0 auto;
}

#footer_contents{
	width: 1100px;
	margin: 0 auto;
}

.footer_left{
	width: 48%;
	float: left;
	padding: 20px 1%;
}

.footer_right{
	width: 48%;
	float: right;
	padding: 20px 1%;
}

#footer_contents h2{
	font-size: 1.5em;
	font-weight: bold;
	margin: 20px 0;
}

#footer_contents a{
	color: #333;
}

#footer_contents ul{
	list-style-type: square;
	padding-left: 20px;
	margin: 0;
}

#footer_contents ul li{
	background: none;
	border: none;
}

#page-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	font-size: 77%;
}
#page-top a {
	background: #ecf0f1;
	border: #FFF 2px solid;
	color: #333;
	width: 100px;
	padding: 20px 0;
	text-align: center;
	display: block;
	border-radius: 5px;
	text-decoration: none;
}

#page-top a:hover {
	text-decoration: none;
	background: #e5e5e5;
}

/*******************************

Mobile

********************************/

@media screen and (max-width: 1100px) {
#wrap {
	width: 100%;
	margin: 0 auto;
}
 
#header{
	width: 100%;
	min-height: 120px;
	height: auto;
	padding: 0;
}

#header #header-image{
	width: 100%;
	height: auto;
}

.mod_nav ul{
	display: table;
	table-layout: fixed;
	width:840px;
	padding: 0;
}

.contents {
	width: 100%;
}

.main{
	width: 70%;
	margin: 0;
}

.kiji{
	width: 100%;
	margin: 0 auto;
	padding: 0px;
}

.kiji .post,
.kiji .page{
	width: 90%;
	margin: 0 auto 20px;
}

.kiji .widget{
	width: 90%;
	margin: 0 auto 20px;
}


 
.side{
	width: 30%;
	float: left;
}

.side .widget{
	width: 90%;
	margin: 0 auto 20px;
	padding: 10px;
}

#footer_contents{
	width: 90%;
	margin: 0 auto;
}

#copyright{
	width: 100%;
}

.clear2{
	clear: both;
}

}


@media screen and (max-width: 840px) {
img{
	max-width: 100%;
	height: auto;
	width /***/:auto;
}

#wrap {
	width: 100%;
	margin: 0 auto;
}
 
#header{
	width: 100%;
	min-height: 120px;
	height: auto;
	padding: 0;
}

#header #header-image{
	width: 100%;
	height: auto;
}

#header h1{
	font-size: 1.5em;
}

.description{
	font-size: 0.8em;
}

.mod_nav ul{
	display: table;
	table-layout: fixed;
	width:640px;
	padding: 0;
}

.contents {
	width: 100%;
}

.main{
	width: 100%;
}

.kiji{
	width: 100%;
}

.kiji .post,
.kiji .page{
	width: 90%;
	margin: 0 auto 20px;
}

.kiji .widget{
	width: 90%;
	margin: 0 auto 20px;
}


 
.side {
	width: 100%;
}

.side .widget{
	width: 90%;
	margin: 0 auto 20px;
	padding: 10px;
}

#footer_contents{
	width: 90%;
	margin: 0 auto;
}

#copyright{
	width: 100%;
}

}

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

img.alignleft {
	display: inline-block;
	margin: 0 1.5em 1em 0;
	height: 50%;
	width: 50%;
}

#wrap {
	width: 100%;
	margin: 0 auto;
}

#header{
	width: 100%;
	min-height: 120px;
	height: auto;
	padding: 0;
}

#header #header-image{
	width: 100%;
	height: auto;
}

.title{
	top: 10%;
	left: 10px;
}

#header h1{
	font-size: 1em;
}

.description{
	font-size: 0.6em;
	margin: 5px;
	padding-left: 10px;
	padding-right: 10px;
}

.mod_nav ul{
	display:none;
	padding: 0;
}

.mod_nav ul li ul{
	position: relative;
	background: transparent;
}

.mod_nav ul li ul li{
	display: block;
	border: none;
	height: auto;
}

.mod_nav ul li ul li a{
	padding-left: 80px;
}

.contents {
	width: 100%;
}
 
.side{
	width: 100%;
}

.footer_left,
.footer_right{
	width: 90%;
	float: none;
	margin: 0 auto;
}

.attachment-post-thumbnail{
	float: none;
}
 
}