@charset "utf-8";

/*
Theme Name: サイエンスホーム青森のテーマ
Theme URI: https://www.itomitsu.com/blog/
Description: : サイエンスホーム青森のテーマ
Version: 1.0
Author: 
Author URI: https://www.itomitsu.com/blog/
Tags: 
*/

.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
}

video {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 0;
	width: 100%;
}

body {
	font-size: 16px;
	line-height: 1.7em;
	color: #000;

}

h1,h2,h3 { margin-top: 0; font-weight: normal; }
h4,th,dt { font-weight: normal; }

li { list-style: none; }

.blog-detail-box span { line-height: 1.5em; }

a { color: #000; }
a:hover img {
	opacity: 1;
	-webkit-animation: flash 3s;
	animation: flash 3s;
}
@-webkit-keyframes flash {
	0% {
		opacity: 2;
	}
	100% {
		opacity: 1;
	}
}
@keyframes flash {
	0% {
		opacity: .2;
	}
	100% {
		opacity: 1;
	}
}




/**************************************************
メインイメージ
***************************************************/
#main-img {
	position: relative;
	padding: 0 0;
	background:  url(image/main_bg.jpg) top center no-repeat;
	background-size: cover;
}
#main-img .container {
	padding: 0;
	
}
.main_catch img{
	text-align: center;
	margin: auto;
}
.blog-title {
	background: #3f312b;
	text-align: center;
	color: #fff;
	font-size: 13px;
	margin-bottom: 0;
	padding: 0.35em 0;
	border-bottom: 2px solid #3f312b;
}

#main-img .bba-logo {
	position: absolute;
	top: 5%;
	left: 5%;
	width: 150px;
}

/**************************************************
ヘッダー
***************************************************/

#top-header {
	margin-bottom: 50px;
}
.header {
	
}
header .logo { height: 100%; }

.header-nav {  }
nav { font-size: 1.7rem; }
.navbar {
	margin: 0;
	padding: 15px 0;
	 box-shadow: 0px 9px 3px -3px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0px 9px 3px -3px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 9px 3px -3px rgba(0,0,0,0.3);
	z-index: 10;
	border-radius: 0;
}
.navbar-brand {
	line-height: 1em;
	width: 300px;
	font-size:2.8rem;
	font-weight: bold!important;
	color: #3f312b!important;
	font-family: serif;
	letter-spacing:0.1em;
}
.navbar-brand span {
	font-size: 1.5rem;
}
.navbar-default .navbar-nav > li > a { letter-spacing:0.05em; color: #3f312b; }
nav li {
	margin: 5px 5px 0;
	font-size: 1.5rem;
	font-weight: bold;
}

/**************************************************
フッター
***************************************************/
.footer-inner {
	padding: 50px 0;
	color: #fff;
	background: #FCFCFC;
}

.footer-wiget ul {
	padding-left: 0;
	font-size: 1.4rem;
	line-height: 2em;
}

.footer-inner a {
	color: #fff;
}

.footer-inner .footer-menu {
	line-height: 2.3em;
}

footer .copy {
	padding: 20px 0;
	background:#3f312b;
	font-size: 80%;
	color: #fff;
	text-align: center;
	
}

/**************************************************
サイド
***************************************************/

.top-side h3 {
	position: relative;
	margin-bottom: 0;
	padding: 15px 15px 15px 1.4em;
	letter-spacing: 0.1em;
	font-size: 1.4rem;
	color: #fff;
	background: #3f312b;
	text-align: center;
	
}


.side-wiget {
	margin-bottom: 30px;
}
.side-wiget ul {
	font-size: 1.4rem;
	padding: 0 10px 20px;
	background: #fff;
}
.side-wiget li {
	padding: 7px 0;
	border-bottom: 1px solid #f5f5f5;
	font-size: 1.2rem;
}
.side-wiget li a { color: #000; }
.side-wiget .children { border: none; padding-bottom: 0; }
.side-wiget .children li { border-bottom: 1px dashed #f5f5f5; line-height: 1.3em; }

.nickname {
	text-align: center;
	font-weight: bold;
	font-size: 1.1em;
	color: #3f312b;
}

/** プロフィール **/
.prof { background: #fff; margin-top: 5vh; }
.prof h3 { margin-bottom: 20px; }
.prof .photo { text-align: center; }
.prof .photo img { width: 70%; margin:auto; }
.prof table { width: 90%; margin: 0 5% 30px; font-size: 1.3rem; }
.prof th {
	padding: 5px 0;
	border-bottom: 1px solid #f5f5f5;
	color: #000;
}
.prof td {
	padding: 5px 0;
	border-bottom: 1px solid #f5f5f5;
}
.prof .comment {
	width:90%;
	margin: 0 5% 0;
	padding-bottom: 20px;
	font-size: 1.3rem;
	line-height: 1.8em;
}
.prof .comment h4 {color: #000;}

/** カテゴリ **/
.side-wiget ul .cat-item a {
	position: relative;
	display: inline-block;
	padding: 5px 0 5px 10px;
}
.side-wiget ul .cat-item a::after {
	position: absolute;
	top: 50%;
	left: 0;
	content: '';
	margin-top: -5px;
	border: 7px solid transparent;
	border-top-width: 5px;
	border-bottom-width: 5px;
	border-left-color: #000;
	transition: all .3s;
}
.side-wiget ul .children .cat-item a::after {
	border-left-color: #000;
}
.side-wiget ul .cat-item a:hover {
	color: #000;
}



/** 最近の投稿 **/
#npcatch .title {
	width: 70%;
}
#npcatch li {
	padding: 5px 0;
	line-height: 1.5em;
}
#npcatch .date {
	display: block;
	text-align: right;
	font-size: 1.2rem;
}

/** 人気記事 **/
.wpp-list { line-height: 1.5em; }
.wpp-views { display: block; text-align: right; color: #3b73c6; }

/** カレンダー **/
#wp-calendar {
	width: 100%;
	text-align: center;
	background: #fff;
}
#wp-calendar caption { text-align: center; }
#wp-calendar th {
	background: #000;
	border: 1px solid #fff;
	text-align: center;
	color: #fff;
}
#wp-calendar tbody td { border: 1px solid #eee; }

/**************************************************
トップページ
***************************************************/
.top-container {
	padding: 50px 0 0;
}
.top-contents h2 {}
.new-article {
	margin: 0 0 30px 0;
	background: #fff;
	border-radius: 2px;
	box-shadow:1px 1px 1px 1px #e7e7e7;
}
.new-article .photo {
	position: relative;
	height: 150px;
	overflow: hidden;
	text-align: center;
	background: #fafafa ;
}
.new-article .photo img {
	width: 100%;
	height:auto;
	max-width:auto;
	max-height:auto;
	vertical-align: middle;/*IE7*/
	overflow:hidden;
}
.new-article .photo .category-name {
	position: absolute;
	bottom:0;
	text-align: center;
	background: #fff;
	color: #fff;
	width: 100%;
	display: block;
	background: rgba(10,66,127,0.75);
}

.new-article .detail { padding: 20px 1em 15px; }
.new-article-box .category-name {
    padding: 0;
    font-size: 1.4rem;
    color: #000;
	
}
.new-article-box .category-name a { color: #3f312b; }
new-article .fb-count { padding: 0 0 0 1em;}

.new-article .month {
	margin: 0;
    padding: 0;
    color: #9A9A9A;
    text-align: left;
}

.new-article h3 {
	font-size: 115%;
	font-weight: bold;
	line-height: 1.5em;
	min-height: 4.5em;
}
.new-article h3 a { color: #3f312b; }
.new-article .text {
	font-size: 1.4rem;
	line-height: 1.5em;
	min-height: 6.7em;
}

/**************************************************
固定記事
***************************************************/
.infomation {
	background:#3f312b;
	padding: 5vh 0;
}
.infomation .photo {
	margin-bottom: 0;
}
.infomation .text {
	background: #fff;
}
.infomation h3 {
	font-size: 2rem;
	text-align: center;
	font-weight: bold;
	padding: 0.75em;	
}
.infomation h3 a {color: #3f312b;}

/**************************************************
オススメ記事
***************************************************/
.reco {
	padding: 50px 0;
	background: #f7efe3;
	background-attachment: fixed;
}
.reco h2 {
	position: relative;
	height: 60px;
	line-height: 60px;
	margin-bottom: 30px;
	padding: 0 1em;
	font-size: 2.5rem;
	font-weight: bold;
	background: rgba(255,255,255,1);
	color: #3f312b;
	border-bottom: 3px solid #3f312b;
	border-radius: 6px;
}

.reco-box {
	background: #fff;
	margin-bottom: 15px;
	border-right: 3px solid #aaa;
	border-bottom: 3px solid #aaa;
	border-radius: 6px;
}
#contents .reco-box .photo {
	float: left;
	width: 35%;
	height: 125px;
	margin-bottom: 0;
	overflow: hidden;
}
.reco-box .photo img { height: 100%; width: auto; }
.reco-box .text {
	float: right;
	width: 65%;
	padding: 0;
}
.reco-box h3 {
	padding: 10px 20px 0;
	margin-bottom: 0;
	font-size: 100%;
	min-height: 4em;
	line-height: 1.7em;
	font-weight: bold;
}
.reco-box h3 a {
	color: #000;
}
/**************************************************
フォーム
***************************************************/
.form {margin-bottom: 5vh;}
.form .text {margin-bottom: 3vh;}
.form table {margin-bottom: 3vh; }
.form th {
	padding: 1em!important;
	background: #efefef;
	border: none;
	border-bottom: 1px solid #3f312b;
	color: #3f312b;
	width: 30%;
}
.form td {
	padding: 1em!important;
	border: 1px solid #aaa;
	border-bottom:  1px solid #aaa;
}
.form input[type="submit"] {
	width: 100%;
}

/**************************************************
共通
***************************************************/
#container {  }
.sub-container {
	padding: 50px 0 0 0;
}
#contents {
	position: relative;
	z-index: 2;
}

.archive-box,
.search-box {
	margin-top: 50px;
}

.archive-box .category-text h1,
.search-box .category-text h1 {
	margin-bottom: 1em;
	padding: 1em 0;
	font-size: 2rem;
	text-align: center;
	background: #3f312b;
	color: #fff;
	font-weight: bold;
}
	

.sub-container .blog-detail-box a {
	text-decoration: underline;
}

#contents h1 {  }
#contents h2 {  }

#contents .container {  }

.blog-img { margin-bottom: 50px; }
.blog-detail { margin-bottom: 50px; }
.blog-detail a {color: #337ab7;}
.blog-detail-box {
	background: #fff none repeat scroll 0 0;
	
	padding: 30px;
}
.blog-detail-box .category-name {
	text-align: center;
}
.blog-detail-box .category-name a {
	color: #3b73c6;
	text-decoration: none;
}
.blog-detail-box h1 {
	position: relative;
	padding: .5em 1em .5em 1em;
	margin-bottom:30px;
	line-height: 1.4em;
	font-size: 3rem;
	color: #3f312b;
	font-weight: bold;
}
.blog-detail-box h1::after {
	position: absolute;
	top: .5em;
	left: .5em;
	content: '';
	width: 6px;
	height: -webkit-calc(100% - 1em);
	height: calc(100% - 1em);
	background-color: #3f312b;
	border-radius: 4px;
}
.blog-detail-box .date p { margin-bottom: 1em; }
.blog-detail-box p { margin: 0; }

.blog-detail-box img {
	height: auto;
	max-width: 100%;
}

.blog-detail-box h2 {
	font-weight: 2.2rem;
	padding: .75em 1em;
	border: 1px solid #3f312b;
	border-top: 3px solid #3f312b;
	color: #3f312b;
	margin-bottom: 1.5em;
	font-weight: bold;
	background: -webkit-linear-gradient(top, #fff 0%, #f0f0f0 100%);
	background: linear-gradient(to bottom, #fff 0%, #f0f0f0 100%);
	box-shadow: 0 -1px 0 rgba(255, 255, 255, 1) inset;
}

.blog-detail-box h3 {
	font-size: 1.8rem;
	padding: .75em 1em;
	border-top: 1px solid #3f312b;
	border-bottom: 1px solid #3f312b;
	color: #3f312b;
	margin-bottom: 1.5em;
	font-weight: bold;
	
}

.pd0 { padding: 0; }


/**************************************************
記事下
***************************************************/
.sub-container .blog-detail-box .next-prev-bt a,
.sub-container .blog-detail-box .wp_rp_title,
.sub-container .blog-detail-box .bt-area a {
	text-decoration: none;
}

.next-prev-bt {
	padding: 15px 0;
	margin-bottom: 30px;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	font-weight: normal;
}

.next-prev-bt .prev,
.next-prev-bt .next { margin: 0; }
.next-prev-bt .prev a,
.next-prev-bt .next a { display: block; text-align: center; color: #000; }

.next-prev-bt .prev { padding: 0 20px 0 0; border-right: 1px solid #000; }
.next-prev-bt .next { padding: 0 0 0 20px; }

.bt-area { margin: 30px 0; }
.bt-area p a {
	display: block;
	padding: 15px 0;
	border: 1px solid #3f312b;
	border-radius: 6px;
	background-color: #fff; 
	text-align: center;
	font-size: 2rem;
	text-decoration:none;
	font-weight: bold;
	color: #3f312b;
}

ul.related_post li {
	float: left;
	padding: 0 2%;
	margin: 0 1%;
	text-align: center;
	width: 23%;
}

.footer-rank-bt  { margin: 30px 0; }
.footer-rank-bt a {
	display: block;
	width: 100%;
	margin: 0;
	padding: 15px 0;
	font-size: 1.4em;
	font-weight: normal;
	text-decoration: none;
}
.footer-rank-bt .vote-bt a {
	margin-top: 0;
}
.vote-bt a {
	margin-top: 20px;
	background: #8C272D url(image/ok.png) no-repeat;
	background: -moz-linear-gradient(top,#ED1C24 0%,#8C272D) url(image/ok.png);
	background: -webkit-gradient(linear, left top, left bottom, from(#ED1C24), to(#8C272D)) url(image/ok.png);
	background-size: auto 50%;
	background-position: 20px center;
	color: #FFF;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #53272D;
	-moz-box-shadow: 1px 1px 1px rgba(000,000,000,0.3),inset 0px 0px 3px rgba(255,255,255,0.5);
	-webkit-box-shadow: 1px 1px 1px rgba(000,000,000,0.3),inset 0px 0px 3px rgba(255,255,255,0.5);
	text-shadow: 0px 0px 3px rgba(0,0,0,0.5);
}

.voted-bt a {
	margin-top: 20px;
	background: #27338E url(image/ok.png) no-repeat;
	background: -moz-linear-gradient(top,#3C4CC4 0%,#27338E) url(image/ok.png);
	background: -webkit-gradient(linear, left top, left bottom, from(#3C4CC4), to(#27338E)) url(image/ok.png) 20% auto;
	background-size: auto 50%;
	background-position: 20px center;
	color: #FFF;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #1C2672;
	-moz-box-shadow: 1px 1px 1px rgba(000,000,000,0.3),inset 0px 0px 3px rgba(255,255,255,0.5);
	-webkit-box-shadow: 1px 1px 1px rgba(000,000,000,0.3),inset 0px 0px 3px rgba(255,255,255,0.5);
	text-shadow: 0px 0px 3px rgba(0,0,0,0.5);
}

.rank-bt a {
	background: -moz-linear-gradient(center top , #f3e18b 0%, #cb9b0c) repeat scroll 0 0;
	background: -webkit-gradient(linear, left top, left bottom, from(#f3e18b), to(#cb9b0c));
	border: 1px solid #b07b00;
	border-radius: 4px;
	color: #fff;
	text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

/* コメント部分 */
#contents h2 {
	margin-bottom: 1.5em;
	font-size: 2rem;
}
.comment-list { 
	padding: 0;
	margin: 0 0 30px ;
}
.comment-body {
	padding: 0 0 15px;
	border-bottom: 1px dashed #ddd;
}
#reply-title {
	background: #000;
	font-size: 2rem;
	font-weight: bold;
	margin: 50px 0 30px;
	padding: 15px 0;
	text-align: center;
	color: #fff;
}

/* ページネーション */
.pagination span, .pagination a {
	background: #555 none repeat scroll 0 0;
	color: #fff;
	display: block;
	float: left;
	margin: 2px 2px 2px 0;
	padding: 6px 9px 5px;
	text-decoration: none;
	width: auto;
}

/* 検索 */
#searchform label { display: none; }
#searchform {
	position:relative;
	background-color:#fff;
	border:1px solid #aaa;
	border-radius:6px;
}
#s {
	width:70%;
	height:30px;
	line-height:30px;
	background:none;
	border:none;
}
#searchsubmit {
	position:absolute;
	top:1px;
	right:1px;
	width:30%;
	background: #3f312b;
	border:none;
	border-radius: 0 6px 6px 0;
	color: #fff;
	padding: 0;
}
.sub-contents .post {
	text-align: center;
	font-size: 2rem;
	font-weight: normal;
}

/* ショップ情報 */
.shop-info {
	background:#3f312b;
	border-radius: 6px;
	padding: 30px;
	margin-bottom: 5vh;
	background-size: cover;
}
.shop-info h3 {
	text-align: center;
	width: 50%;
	margin: 0 auto 1em;
	color: #fff;
	font-weight: bold;
}

.shop-info .menu {
	background: #fff;
	padding: 2em 1em;
	text-align: center;
	margin-bottom: 3vh;
}
.shop-info .menu p {
	margin-bottom: 1em;
}

.shop-info .menu .contact {
	width: 70%;
	margin:0 auto;
}
.shop-info .menu .line_box {
	width: 100%;
	margin:3vh auto 0;
}
.shop-info .menu .contact .tel {
	padding: 0;
	font-size: 3rem;
	font-weight: bold;
	border-bottom: none;
	text-align: center;
}
.shop-info .menu .contact .tel a {
	text-decoration: none;
	color: #3f312b;
}

.shop-info .menu .contact .btn-reva,
.hp-btn{
	background: #3f312b;
	text-align: center;
	width: 100%;
	margin: auto;
	padding: 0.5em 0;
	border-radius: 6px;
	text-decoration: none;
	color: #fff;
}


.shop-info .detail {color: #fff;}
.shop-info .detail table { width: 100%; }
.shop-info .detail .name {
	text-align: center;
}
.shop-info .detail .name span {display: inline;}
.shop-info .detail th,
.shop-info .detail td {
	display: block;
	padding: 0.5em;
	text-align: center;
	font-weight: normal;
}
.shop-info .detail th {
	background: #fff none repeat scroll 0 0;
    color: #3f312b;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    margin: 0.5em 0;
	text-align: center;
	padding: 0.25em 0;
    position: relative;
}
.shop-info .detail td span {
	display: block;
	text-align: right;
}

.shop-info .menu .line {
	margin:  1em 0 1em;
	text-align: center;
}
.shop-info .menu .line span {
	color: #4FCD2B;
}
.shop-info .menu .line-btn {
	background: #4FCD2B;
	text-align: center;
	width: 100%;
	margin: auto;
	color: #fff;
	padding: 0.5em 0;
	border-radius: 6px;
	text-decoration: none;
}
.shop-info .hp-btn {
	background: #fff;
	color: #3f312b;
	font-size: 1.6rem;
	font-weight: bold;
	margin: 3vh 0 0 0;
	padding: 0.75em 0;
	border-radius: 10px;
	text-align: center;
	text-decoration: none!important;
	display: block;
	border-bottom: 5px solid #144546;
}

/***リブログ風***/
.card-wrapper {
	max-height: none;
	border: 3px solid #aaa;
	box-shadow:2px 2px 2px 2px #d1d1d1;
	-moz-box-shadow:2px 2px 2px 2px #d1d1d1;
	-webkit-box-shadow:2px 2px 2px 2px #d1d1d1;
}
.card-wrapper-inner { padding: 20px; }
.card-content .card-title {
	font-size: 2rem;
	margin-bottom: 1em;
	font-weight: bold;
	max-height: none;
}
.card-content .card-title a {
 	color:#337ab7
}

/***メルマガ***/
#mailmagazine {
	padding: 3vh 3vw;
	margin-bottom: 5vh;
	background:  url(image/mailmaga.jpg) left bottom no-repeat;
	background-size: cover;
}
#mailmagazine .inner {
	width: 60%;
}
#mailmagazine h4 {
	background: #000;
	padding: 0.5em 0;
	margin-bottom: 3vh;
	text-align: center;
	color: #fff;
	font-size: 2.2rem;
	font-weight: bold;
}
#mailmagazine .inner p {
	text-align: center;
}
#mailmagazine dl {margin: 2vh 0;}
#mailmagazine dt {
	text-align: right;
	font-weight: bold;
}
#mailmagazine .pub_form {
	margin-bottom: 3vh;
}
#mailmagazine #submit {
	padding: 0.5em 0;
	width: 100%;
	color: #fff;
	border-radius: 6px;
	border: 1px solid #fff;
	display: block;
	background: #000;
	box-shadow:2px 2px 3px 0px #9c9c9c;

}

/**************************************************
見出し装飾
***************************************************/
.font-s { font-size: 1rem; }
.font-m { font-size: 2.7rem; }
.font-l { font-size: 3.7rem; }
.font-ll { font-size: 5rem; }

/**囲い線***/
.enclosure {
	padding: 1em;
	border: 2px solid #b0b0b0;
}
/***左見出し赤***/
.left-balloon {
	position: relative;
	background: #FFEFEF;
	border: 4px solid #f59191;
	padding: 1em;
	margin-bottom: 1em;
	width: 55%;
	border-radius: 4px;
	box-shadow:2px 2px 2px 2px #d1d1d1;
-moz-box-shadow:2px 2px 2px 2px #d1d1d1;
-webkit-box-shadow:2px 2px 2px 2px #d1d1d1;
}
.left-balloon:after,
.left-balloon:before {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-radius: 4px;
}

.left-balloon:after {
	border-color: rgba(255, 221, 221, 0);
	border-right-color: #FFEFEF;
	border-width: 15px;
	margin-top: -15px;
}
.left-balloon:before {
	border-color: rgba(245, 145, 145, 0);
	border-right-color: #f59191;
	border-width: 21px;
	margin-top: -21px;
}

/***左見出し青***/
.left-balloon-b {
	position: relative;
	background: #EDF2FF;
	border: 4px solid #3f312b;
	padding: 1em;
	margin-bottom: 1em;
	width: 55%;
	border-radius: 4px;
	box-shadow:2px 2px 2px 2px #d1d1d1;
-moz-box-shadow:2px 2px 2px 2px #d1d1d1;
-webkit-box-shadow:2px 2px 2px 2px #d1d1d1;
}
.left-balloon-b:after,
.left-balloon-b:before {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-radius: 4px;
}

.left-balloon-b:after {
	border-color: rgba(237, 242, 255, 0);
	border-right-color: #EDF2FF;
	border-width: 15px;
	margin-top: -15px;
}
.left-balloon-b:before {
	border-color: rgba(237, 242, 255, 0);
	border-right-color: #3f312b;
	border-width: 21px;
	margin-top: -21px;
}

/***左見出しオレンジ***/
.balloon-oranze {
	border: 4px solid #3f312b;
}

.balloon-oranze:before {
	border-color: rgba(246, 146, 30, 0);
	border-right-color: #3f312b;
}

/***左見出し紫***/
.balloon-purple {
	border: 4px solid #631ff4;
}

.balloon-purple:before {
	border-color: rgba(99, 31, 244, 0);
	border-right-color: #631ff4;
}


/***囲い枠***/
.enclosure {
    width: 55%;
    background: #fcfcfc;
    padding: 20px;
    margin-bottom: 1em;
    border: 2px dashed #fff;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    box-shadow: 0 0 0 5px #FABE00, 0 2px 3px 5px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 0 0 5px #FABE00, 0 2px 3px 5px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 0 0 5px #FABE00, 0 2px 3px 5px rgba(0,0,0,0.5);
}
/***リブログ風***/
.card-wrapper {
	max-height: none;
	max-width: 100%;
	border: 3px solid #aaa;
	box-shadow:2px 2px 2px 2px #d1d1d1;
	-moz-box-shadow:2px 2px 2px 2px #d1d1d1;
	-webkit-box-shadow:2px 2px 2px 2px #d1d1d1;
}
.card-wrapper-inner { padding: 2em 1.5em; }
.card-content .card-title {
	font-size: 2rem;
	margin-bottom: 1em!important;
	font-weight: bold;
	max-height: none;
}
.card-content .card-title a {
 	color:#337ab7
}
/***タイトル***/
.detail-title {
text-align: center;
padding: 0.3em;
font-size:2.4rem;
margin-bottom:1em;
font-weight: bold;
}

.title-green {
color: #00ba6c;
border-top: solid 2px #00ba6c;
border-bottom: solid 2px #00ba6c;
background: -webkit-repeating-linear-gradient(-45deg, #f2fff2, #f2fff2 3px,#eaffeb 3px, #eaffeb 7px);
background: repeating-linear-gradient(-45deg, #f2fff2, #f2fff2 3px,#eaffeb 3px, #eaffeb 7px);
}

.title-red {
color: #c61f19;
border-top: solid 2px #c61f19;
border-bottom: solid 2px #c61f19;
background: -webkit-repeating-linear-gradient(-45deg, #fff2f2, #fff2f2 3px,#ffeaea 3px, #ffeaea 7px);
background: repeating-linear-gradient(-45deg, #fff2f2, #fff2f2 3px,#ffeaea 3px, #ffeaea 7px);
}

.title-blue {
color: #3f312b;
border-top: solid 2px #3f312b;
border-bottom: solid 2px #3f312b;
background: -webkit-repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px,#e9f4ff 3px, #e9f4ff 7px);
background: repeating-linear-gradient(-45deg, #f0f8ff, #f0f8ff 3px,#e9f4ff 3px, #e9f4ff 7px);
}

.title-yellow {
color: #ffd256;
border-top: solid 2px #ffd256;
border-bottom: solid 2px #ffd256;
background: -webkit-repeating-linear-gradient(-45deg, #fffcf2, #fffcf2 3px,#fff7ea 3px, #fff7ea 7px);
background: repeating-linear-gradient(-45deg, #fffcf2, #fffcf2 3px,#fff7ea 3px, #fff7ea 7px);
}
.title-oranze {
color: #3f312b;
border-top: solid 2px #3f312b;
border-bottom: solid 2px #3f312b;
background: -webkit-repeating-linear-gradient(-45deg, #fffcf2, #fffcf2 3px,#fff7ea 3px, #fff7ea 7px);
background: repeating-linear-gradient(-45deg, #fffcf2, #fffcf2 3px,#fff7ea 3px, #fff7ea 7px);
}
.title-purple {
color: #631ff4;
border-top: solid 2px #631ff4;
border-bottom: solid 2px #631ff4;
background: -webkit-repeating-linear-gradient(-45deg, #faf2ff, #faf2ff 3px,#f4eaff 3px, #f4eaff 7px);
background: repeating-linear-gradient(-45deg, #faf2ff, #faf2ff 3px,#f4eaff 3px, #f4eaff 7px);
}
/**引用***/
blockquote {
position: relative;
margin: 1em 0;
padding: 3em 2em;
font-size: .9em;
border: 1px solid #CCC;
border-radius: 6px;
background: #fafafa;
width: 70%;
}
blockquote:before,
blockquote:after{
position: absolute;
font-size: 8em;
color: #fff;
}
blockquote:before{
top: 40px;
left: 20px;
content: '“';

}
blockquote:after{
bottom: -5px;
right: 20px;
content: '”';

}


/**************************************************
ボタン
***************************************************/
.button a { display: block; width: 100%; height: 100%; }
.button {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  padding: 0.7em;
  margin-bottom: 1em;
  border: 1px solid #D4D4D4;
  background: #fff;
  text-align: center;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  -webkit-transition: .3s;
  transition: .3s;
}
.button:after {
  position: absolute;
  -webkit-transition: .3s;
  transition: .3s;
  content: '';
  width: 0;
  left: 50%;
  bottom: 0;
  height: 3px;
  background: #f7f7f7;
}
.button:nth-of-type(2):after {
  left: 0;
}
.button:nth-of-type(3):after {
  right: 0;
  left: auto;
}
.button:nth-of-type(4):after {
  left: 0;
  bottom: auto;
  top: -3px;
  width: 100%;
}
.button:nth-of-type(5):after {
  height: 120%;
  left: -10%;
  -webkit-transform: skewX(15deg);
          transform: skewX(15deg);
  z-index: -1;
}
.button:hover {
  cursor: pointer;
}
.button:hover:after {
  width: 100%;
  left: 0;
}
.button:hover:nth-of-type(4):after {
  top: calc(100% - 3px);
}
.button:hover:nth-of-type(5) {
  color: #5bcaff;
}
.button:hover:nth-of-type(5):after {
  left: -10%;
  width: 120%;
}
.button:hover:nth-of-type(6) {
  -webkit-box-flex: 3;
      -ms-flex-positive: 3;
          flex-grow: 3;
}
.button:hover:nth-of-type(6):after {
  width: 0%;
}
.button:hover:nth-of-type(7) {
  border-radius: 30px;
}
.button:hover:nth-of-type(7):after {
  width: 0%;
}
.button:hover:nth-of-type(8) {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
}
.button:hover:nth-of-type(8):after {
  width: 0%;
}
.button:hover:nth-of-type(9) {
  box-shadow: inset 0px 0px 0px 3px #f7f7f7;
}
.button:hover:nth-of-type(9):after {
  width: 0%;
}
.button:hover:nth-of-type(10) {
  box-shadow: 0px 0px 0px 3px #f7f7f7;
}
.button:hover:nth-of-type(10):after {
  width: 0%;
}


.fb-page { width: 100% !important; }

.embed-content .entry-title {
	margin: 0;
}

/*--------------------
 吹き出しを作る
--------------------*/
.balloon {
 margin: 40px 0;
 padding : 0 40px;
 position: relative;
}
.balloon:after,.balloon:before {
 clear: both;
 content: "";
 display: block;
}
.balloon-image-left {
 position: absolute;
 left: 0;
 margin: 0;
 width: 60px;
 height: 60px;
}
.balloon-image-right {
 position: absolute;
 right: 0;
 margin: 0;
 width: 60px;
 height: 60px;
}
.balloon figure img {
 width: 100%;
 height: 100%;
 border: 1px solid #aaa;
 border-radius: 50%;
 margin: 0;
}
.balloon-image-description {
 padding: 5px 0 0;
 font-size: 10px;
 text-align: center;
}
.balloon-text-right {
 position: relative;
 margin-left: 40px;
 padding: 1em;
 border: 3px solid #f59191;
 border-radius: 10px;
 float: left;
 max-width: 100%;
 background: #fff4f4;
}
.balloon-text-left {
 position: relative;
 margin-right: 40px;
 padding: 1em;
 border: 3px solid #92AEF4;
 border-radius: 10px;
 float: right;
 max-width: 100%;
 background: #f7f9ff;
}
.balloon p {
 margin: 0 0 20px;
}
.balloon p:last-child {
 margin-bottom: 0;
}
/* 会話 */
.balloon-text-right:before {
 position: absolute;
 content: '';
 border: 15px solid transparent;
 border-right: 15px solid #f59191;
 top: 15px;
 left: -30px;
}
.balloon-text-right:after {
 position: absolute;
 content: '';
 border: 15px solid transparent;
 border-right: 15px solid #fff4f4;
 top: 15px;
 left: -26px;
}
.balloon-text-left:before {
 position: absolute;
 content: '';
 border: 15px solid transparent;
 border-left: 15px solid #92AEF4;
 top: 15px;
 right: -30px;
}
.balloon-text-left:after {
 position: absolute;
 content: '';
 border: 15px solid transparent;
 border-left: 15px solid #f7f9ff;
 top: 15px;
 right: -26px;
}
/* 考え毎 */
.think .balloon-text-right,.think .balloon-text-left {
 border-radius: 30px;
}
.think .balloon-text-right:before {
 border: 1px solid #f59191;
 border-radius: 50%;
 width: 8px;
 height: 8px;
 top: 15px;
 left: -12px;
}
.think .balloon-text-right:after {
 border: 1px solid #f59191;
 border-radius: 50%;
 width: 4px;
 height: 4px;
 top: 20px;
 left: -19px;
}
.think .balloon-text-left:before {
 border: 1px solid #92AEF4;
 border-radius: 50%;
 width: 8px;
 height: 8px;
 top: 15px;
 right: -12px;
}
.think .balloon-text-left:after {
 border: 1px solid #92AEF4;
 border-radius: 50%;
 width: 4px;
 height: 4px;
 top: 20px;
 right: -19px;
}

.balloon-image-left br,
.balloon-image-right br {display: none;}


#wp_rp_first {
  margin: 5vh 0;
}

.related_post_title {
 border: 1px solid #223a70;
    color: #223a70;
    margin: 5vh 0 3vh;
    font-size: 2rem;
    font-weight: bold;
    padding: 0.75em 0;
    text-align: center;
}
ul.related_post {
  margin: 0 0 30px;
  padding: 0;
}
ul.related_post li {
    float: left;
    padding: 0 2%;
    text-align: center;
   
}
ul.related_post li a {
display: block;
}
ul.related_post li img {
  margin-bottom: 15px;
}
.related_post .wp_rp_title {
  font-size: 1.3rem;
  color: #333;
  text-align: left;
  line-height: 1.3em;
}


/*** お問い合わせ  ***/

.tbl_inquiry {
	margin-bottom: 5vh;
}
.wpcf7 {
	text-align: center;
	padding: 3vh 1em!important;
	background: #f3f3f3;
}
.wpcf7-form label {
	padding: 0.5em 0;
}
.tbl_inquiry th  span {
    background-color: #C92D3F;
    color: #fff;
    display: inline-block;
	margin-left:10px;
    padding: 1px 10px;
    border-radius: 5px;
	font-size:1.3rem;
	vertical-align:middle;
}
.tbl_inquiry th,
.tbl_inquiry td {
	padding: 1em;
}
.tbl_inquiry th {
	background: #eee;
	color: #3f312b;
	font-weight: bold;
	border: 1px solid #3f312b;
}
.tbl_inquiry td {
	border: 1px solid #ddd;
}

input:focus {
    background: #e4e4e4 none repeat scroll 0 0;
}


label {
    display: block;
    margin: 5px 0;
}
input.wpcf7-not-valid, textarea.wpcf7-not-valid {
    background: #ffe6e6 none repeat scroll 0 0;
}
input[type="number"], input[type="email"], input[type="text"], input[type="tel"], textarea, select {
    border: 2px solid #ccc;
    border-radius: 5px;
    outline: medium none;
    padding: 8px;
}
input#zip[type="text"] {
    margin-bottom: 10px;
}

input[type="submit"] {
    background-color: #3f312b;
    border: medium none;
    border-radius: 3px;
    color: #fff;
    font-weight: 新ゴ B;
	font-size: 1.8rem;
    outline: medium none;
    padding: 0.75em 0;
	width: 50%;
}
input[type="button"] {
	margin-right:10px;
    background-color: #666;
    border: medium none;
    border-radius: 3px;
    color: #000;
    font-weight: bold;
    outline: medium none;
    padding: 15px 60px;
}
input[type="checkbox"] {width: auto; }


@media only screen and (min-width:900px) and (max-width:1366px) {
/**************************************************
メインイメージ
***************************************************/


.main-title {
	padding: 37vh 0 8vh;
}
.main-txt h2 {
	font-size: 2.6rem;
}
.main-title h1 {
	font-size: 13px;
}

/**************************************************
ヘッダー
***************************************************/
.navbar-brand {
	margin-top: -8px;
	width: 250px;
}
}