/*
Template: jstork
Theme Name: stork_custom
Theme URI:http://open-cage.com/stork/
*/

/* ==========================================================================
全デバイス共通設定
========================================================================== */
@import url(css/fonts.css);
@import url(css/addquicktag.css);
@import url(css/ad.css);
@import url(css/kaereba.css);

.entry-content a {
    color: #2582ca !important;
}

.entry-content .linkcard a {
    color: #fff !important;
}

.entry-content p {
    margin: 0 0 2.1em;
    line-height: 1.8;
}

.imgBorder{
  width: 100%;
  border:6px solid #eee;
  padding: 6px;
}

/*　補足＆注意ボックス */
.supplement{
  background: #fff4d6 !important;
  border: 6px solid #FFEEC1 !important;
}
.supplement:before{
  content: '\f27a' !important;
}
.supplement.warning{
  background: #fff2f3 !important;
  border: 6px solid #ffe8eb !important;
}
.supplement.warning:before{
  content: '\f071' !important;
}
.entry-content .supplement ul{
  margin-bottom: 0;
}
.entry-content .supplement ul li {
  padding-left: 1.2em;
  margin: 15px 0;
}
.entry-content .supplement ul li:last-child {
  padding-left: 1.2em;
  margin-bottom: 0;
}
.entry-content .supplement ul li:before{
  width: 7px;
  height: 7px;
  top: 7px;
}
.entry-content .supplement p{
  margin-bottom: 1.5em;
}


/* ベースレイアウト設定 */
.home #content{
  margin: 100px 0 0 0;
}
#inner-content{
  margin-bottom: 2em;
  padding: 0;
  box-shadow: none;
  background: rgba(255,255,255,0) !important;
}

/* ヘッダー設定 */
.header.headercenter #logo {
  padding: 0 !important;
}
.header.headercenter #logo .h1 {
  padding: 11px 0 0 0 !important;
}
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0.9;
  z-index: 1000;
}
.header.bg{
  background: #ffffff;
  margin-top: 0;
}
#inner-header{
  min-height: 50px;
  padding: 0 10px;
}
#logo{
  padding: 0;
}
#logo .img{
  margin-bottom: 0;
}
#logo .h1{
  display: block;
  height: 20px;
  vertical-align: none;
  padding: 4px 0 0 0;
}
#logo a{
  line-height: 1;
}
#logo a img{
  line-height: 1;
  max-height: 20px;
}
.header.headercenter #logo img{
  max-height: 20px;
}
.header.headercenter #logo{
  display: block;
  margin: 0 auto;
  padding: 4px 0 0 0;
  width: 100%;
  text-align: center;
}
.header.headercenter #logo .h1{
  display: block;
  height: auto;
  vertical-align: middle;
  padding: 4px 0 0 0;
  margin: 0;
}
.header.bg + #custom_header{
  margin: 60px 0 0 0;
}
.nav > li > a{
  padding: 12px 1.8em 8px;
}

/* hタグ設定 */
/*.entry-content h2{
  border: medium none;
  border-radius: 0;
  box-shadow: none;
  font-size: 1.25em;
  margin: 2.1em 0 0.6em 0;
  padding: 15px 0 10px 0;
  position: relative;
  border-top: 8px solid #FFABB3;
  background: none !important;
  color: #333 !important;
}*/

/* balloon-1 bottom */
.entry-content hr + .entry-content h2{
  margin-top: 0 !important;
}
.entry-content h2 + .entry-content h3{
  margin-top: 0 !important;
}
.entry-content h2 {
  position: relative;
  display: inline-block;
  margin: 25px 0 22px 0;
  padding: 18px 12px;
  width: 100%;
  height: auto;
  font-size: 130% !important;
  line-height: 1.3;
  color: #000 !important;
  background: #fff4f5 !important;
  border: 3px solid #000;
  z-index: 0;
  box-sizing: border-box;
}
.entry-content h2:before {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 10%;
  margin-left: -11px;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 11px 11px 0 11px;
  border-color: #fff4f5 transparent transparent transparent;
  z-index: 0;
}
.entry-content h2:after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 10%;
  margin-left: -13px;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 13px 13px 0 13px;
  border-color: #000 transparent transparent transparent;
  z-index: -1;
}

.entry-content h3{
  border-left: none;
  border-top: 2px solid;
  border-bottom: 1px solid;
  padding: 12px 3px;
  margin-top: 40px;
  font-size: 130% !important;
  line-height: 1.3;
}

.entry-content .voicecomment h3{
  border-left: none;
  border-top: 2px solid;
  border-bottom: 1px solid;
  padding: 8px 0 !important;
  font-size: 110% !important;
  line-height: 1.3;
}

.entry-content h4{
  padding: 10px 0 5px 0;
  margin: 0 0 10px 0;
  border-top: 2px dotted #ccc;
  border-bottom: 2px dotted #ccc;
}

.entry-content ul li{
  padding-bottom: 12px;
  line-height: 1.6;
  font-weight: bold;
}
.entry-content ul li:before{
  top: 8px;
  background: #f26982 !important;
}

.entry-content ol li{
  padding-bottom: 12px;
  line-height: 1.6;
  font-weight: bold;
}
.entry-content ol > li:before{
  top: 5px;
}

/* パンくず設定（ヘッダー固定に伴い調整が必要）*/
#breadcrumb{
  background: #ffffff none repeat scroll 0 0;
  font-size: 0.7em;
  margin-bottom: 5px;
  margin-top: 90px;
  padding: 15px 0;
}

/* 記事一覧設定 */
.post-list-card .post-list{
  -webkit-transition: 0.3s ease-in-out;  
  -moz-transition: 0.3s ease-in-out;  
  -o-transition: 0.3s ease-in-out;  
  transition: 0.3s ease-in-out; 
  width:48%;
  margin: 0 1% 2.5%;
  float:left;
  height: auto;
  border: 8px solid #ddd;
}
.post-list-card .post-list:hover{
  border: 8px solid rgba(236,141,153,0.5);
}
.post-list-card .post-list h1{
  -webkit-transition: 0.3s ease-in-out;  
  -moz-transition: 0.3s ease-in-out;  
  -o-transition: 0.3s ease-in-out;  
  transition: 0.3s ease-in-out; 
}
.post-list-card .post-list:hover h1{
  color: #EC8D99;
}
.post-list-card .post-list a{
  display:block;
  padding: .6em;
  text-decoration:none;
  color: #333;
  background: #fff;
  height:100%;
  box-shadow: none;
  overflow: hidden;
  position: relative;
}
.post-list-card .post-list a:after{
  content: '';
  display: block;
  width: 100%;
  background:none;
  position: absolute;
  bottom: 0;
}
.post-list-card .post-list a:hover{
  box-shadow: none;
}
.post-list-card .post-list a:hover .eyecatch img{
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  transform: scale(1);
}
.post-list-card .post-list .eyecatch{
  text-align:center;
  overflow: hidden;
  position:relative;
}
.post-list-card .post-list .description{
  filter: alpha(opacity=90);
  -ms-filter: "alpha(opacity=90)";
  opacity: 0.9;
  font-size: .85em;
}
.post-list-card .post-list .entry-content{
  padding:0;
}
.post-list-card .post-list .entry-content .entry-title{
  font-size: 1.1em;
  margin-top: 0.5em;
  margin-bottom:0.3em;
}
.post-list-card .post-list .entry-content p{
  font-size: .9em;
  margin-bottom:0.3em;
}
.top-post-list .post-list .eyecatch{
  float: left;
  max-height: 180px;
  overflow: hidden;
  position: relative;
  width: 30%;
}
.single .authorbox .author-newpost li .eyecatch,
.related-box li .eyecatch{
  height: auto;
}

/* 吹き出しカスタマイズ */
.voice.fb .voicecomment {
  background: #f5f5f5 !important;
  border-color: #EEE !important;
  color: #000 !important;
}
.voice.l.fb .voicecomment:before {
  border-right-color: #EEE !important;
}
.voice.r.fb .voicecomment:before {
  border-left-color: #EEE !important;
}
.voice.line .voicecomment {
  background: #f5f5f5 !important;
  border-color: #EEE !important;
  color: #000 !important;
}
.voice.l.line .voicecomment:before {
  border-right-color: #EEE !important;
}
.voice.r.line .voicecomment:before {
  border-left-color: #EEE !important;
}

/* 詳細ページカスタマイズ */
.entry-content h2:first-child{
  margin-top: 10px;
}
.single-title, .page-title{
  margin: 12px 0;
  padding: 12px 0;
  border-top: double #3e3e3e 4px;
  border-bottom: solid #3e3e3e 1px;
  font-size: 135%;
  line-height: 1.4;
}

/* テキスト装飾 */
.gf{
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}
.byline .date:before,
.byline .writer:before{
  font-weight: normal;
}
.archivettl h1{
  border-bottom: 3px solid;
  font-size: 1.1em;
  margin: 0 0 1.5em;
  padding: 0 0.3em 0.3em 0.3em;
}
.archivettl h1 span{
  display: block;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.4;
}
.widget.widget_tag_cloud a{
  background: rgba(50, 50, 50, 0.5) none repeat scroll 0 0;
  color: #666;
  display: inline-block;
  border-radius: 5px;
  font-size: 12px !important;
  line-height: 12px;
  margin: 0 0.1em 0.2em 0;
  padding: 0.6em;
}
.widget.widget_tag_cloud a:hover{
  filter: alpha(opacity=90);
  -ms-filter: "alpha(opacity=90)";
  opacity:0.9;
  background: rgba(0,0,0,1);
  color: #fff;
  text-decoration: none !important;
}

/* ウィジェットカスタマイズ */
.textwidget .photo{
  display: block;
  width: 150px;
  margin: 0 auto;
}
.textwidget .photo img{
  width: 100%;
}
.textwidget .twitterBox{
  border: 5px solid #ddd;
  text-align: center;
}

/* フォーム設定 */
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field{
  display: block;
  padding: 2% 3%;
  margin-bottom: 14px;
  font-size: 1em;
  color: #666;
  border: 3px solid rgba(51, 51, 51, 0.1);
  border-radius: 1px;
  vertical-align: middle;
  max-width: 92%;
  max-width: 100%\9;
  background-color: #FFFFFF;
  -webkit-transition: background-color 0.24s ease-in-out;transition: background-color 0.24s ease-in-out;-webkit-appearance: none;
  appearance: none;
}

/* WordPress Popular Postsカスタマイズ */
.wpp-list .thumbBox{
  width: 60px;
  height: 60px;
  float: left;
  margin: 0 10px 0 0;
}
.wpp-list .thumbBox img{
  width: 100%;
}
ul.wpp-list li{
  border-bottom: 1px dotted rgba(125, 125, 125, 0.2);
}
.widget ul.wpp-list li{
    margin-bottom: 0.75em;
}

/* ==========================================================================
PC設定
========================================================================== */
/* ベースレイアウト設定 */
.wrap{
  width: 1030px;
}

/* メインカラム設定 */
#main{
  margin: 0;
  padding: 0;
  width: 700px;
}

/* 下層ページリスト表示の下マージン削除 */
#main .top-post-list article{
  margin-bottom: 0;
}

/* サイドバー設定 */
#sidebar1{
  width: 300px;
}

/* 下層ページ設定 */
.single #main article{
  padding: 29px;
  border: 1px solid #ddd;
}

/* 固定ページ設定 */
.page #main article{
  padding: 29px;
  border: 1px solid #ddd;
}

/* ContactForm7設定 */
.wpcf7-form-control-wrap input,.wpcf7-form-control-wrap textarea{
  width: 100% !important;
  margin: 0;
}
.wpcf7-submit {
  background: #ED8D99 none repeat scroll 0 0;
  border: medium none;
  color: #fff;
  display: block;
  font-weight: bold;
  margin: 2em auto;
  max-width: 96%;
  padding: 15px 5px;
  width: 250px;
}

/* グローバルナビ設定 */
#g_nav{
  display: block;
}
.search_btn{
  display: none;
}

/* LSC Mag. */
.lscmagBox a:hover{
  opacity: 0.8;
}

/* ==========================================================================
タブレット　横レイアウト設定
========================================================================== */
@media only screen and (max-width:1166px){
/* ベースレイアウト設定 */
.wrap{
  width: 100%;
  position: relative;
}
#inner-content{
  padding: 0 12px;
}

/* メインカラム設定 */
#main{
  float: left;
  width: 100%;
  margin: 0 -320px 0 0;
  padding: 0 0 0 0;
}
.archivettl{
  margin: 0 320px 0 0;
}
.top-post-list{
  margin: 0 320px 0 0;
}
#main article:nth-child(odd){
  margin: 0 1% 1% 0;
}
#main article:nth-child(even){
  margin: 0 0 1% 1%;
}

/* サイドバー設定 */
#sidebar1{
  width: 300px;
  float: right;
}

/* 記事一覧設定 */
.post-list-card{
  margin: 0 320px 0 0;
}
.post-list-card .post-list{
  width: 49%;
  height: auto;
  margin: 0;
  float: left;
}

/* 下層ページ設定 */
.single #main article{
  padding:20px;
  margin: 0 320px 0 0;
}
#breadcrumb{
  margin-top: 80px;
  padding: 15px 25px;
  border: none;
}

/* 固定ページ設定 */
.page #main article{
  padding:20px;
  margin: 0 320px 0 0;
}
}


/* ==========================================================================
タブレット 縦レイアウト設定
========================================================================== */
@media only screen and (max-width: 768px){
/* ヘッダー設定 */
#inner-header .text{
  display: none;
}
#logo .h1{
  display: block;
  margin: 0 auto;
  padding: 3px 0 0 0;
  height: 20px;
  text-align: center;
}
#logo a{
  line-height: 1;
}
#logo a img{
  line-height: 1;
  max-height: 20px;
}

/* メインカラム設定 */
#main{
  float: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
#main article{
  margin: 0 0 10px 0;
}
.archivettl{
  margin: 0;
}
.top-post-list{
  margin: 0;
}

/* サイドバー設定 */
#sidebar1{
  float: none;
  width: 100%;
  padding: 0;
}

/* 記事一覧設定 */
.post-list-card{
  margin: 0 0 0 0;
}

/* 下層ページ設定 */
.single #main{
  margin: 0;
  padding: 0;
  width: 100%;
}
.single #main article{
  padding: 30px;
  margin: 0 0 0 0;
}
#g_nav .nav{
  display: none !important;
}
.nav_btn {
  width: 50px;
  height: 100%;
  padding: 0;
  border-right: 1px solid #fff;
  background: none;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  display: block;
  line-height: 100%;
  text-decoration: none;
}
.search_btn {
  width: 50px;
  height: 100%;
  padding: 0;
  border-left: 1px solid #fff;
  background: none;
  text-align: center;
  position: absolute;
  bottom: 0;
  right: 0;
  color: #fff;
  display: block;
  line-height: 100%;
  text-decoration: none;
}
.search_btn:hover{
  color: #fff;
}

.nav_btn:before{
  display: block;
  font-size: 20px;
  width: 100%;
  line-height: 100%;
  padding: 15px 0 0 0;
  font-family: "icomoon";
  content: "\e900";
}

.search_btn:before {
  display: block;
  font-size: 20px;
  width: 100%;
  line-height: 100%;
  padding: 15px 0 0 0;
  font-family: "icomoon";
  content: "\e902";
}

/* Close button */
.remodal-close-custom {
  display: block;
  overflow: visible;
  /*margin: 1em auto;*/
  padding: 0;
  margin: 5px 0 0 0;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  text-align:center;
  color: #ccc;
  border: 0;
  outline: 0;
  background: #000;
  font-size: 1.2em;
  position:static!important;
  width: 100%;
  line-height: 50px;
  height: 50px;
  letter-spacing: 2px;
}

.remodal-close-custom:hover,
.remodal-close-custom:focus {
  color: #fff;
}

.remodal-close-custom:before {
  font-family:"icomoon";
  content: "\e901";
  font-size: 1.2em;
  display: inline-block;
  position: relative;
  top: 3px;
  line-height: 1;
}
.remodal-close-custom .text{
  margin-left: .2em;
  font-size: .8em;
  display: inline-block;
}

/* モーダルフォーム */
.remodal input{
  width: 100%;
  min-width: 100%;
  padding: 10px;
  height: 40px;
  box-sizing: border-box;
}
.remodal.searchbox button#searchsubmit {
    position: absolute;
    right: 10px;
    top: 9px;
    border: 0;
    background: none;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    font-size: 20px;
}

/* 固定ページ設定 */
.page #main{
  margin: 0;
  padding: 0;
  width: 100%;
}
.page #main article{
  padding: 30px;
  margin: 0 0 0 0;
}
}


/* ==========================================================================
スマホ設定
========================================================================== */
@media only screen and (max-width: 414px){
/* ヘッダー設定 */
.nav_btn .text{
  display: none;
}
#logo .h1{
  display: block;
  margin: 0 auto;
  padding: 0;
  height: 18px;
  vertical-align: middle;
  text-align: center;
}
#logo a{
  line-height: 1;
}
#logo a img{
  line-height: 1;
  max-height: 18px;
}
.header.headercenter #logo img{
  max-height: 18px;
}
.header.headercenter #logo .h1{
  display: block;
  height: 18px;
  vertical-align: middle;
  padding: 4px 0 0 0;
}

/* メインカラム設定 */
.home #content{
  margin: 70px 0 0 0;
}
#main article:nth-child(odd){
  margin: 0 0 10px 0;
}
#main article:nth-child(even){
  margin: 0 0 10px 0;
}
.post-list-card .post-list{
  width: 100%;
  height: auto;
  margin: 0;
  float: none;
}

/* 下層ページ設定 */
.single #main article{
  padding: 0.5em 1em;
  border: none;
  width: 100%;
}
.single #inner-content{
  padding: 0;
}
.single #sidebar1{
  padding: 0 1em;
}
.single .authorbox, .single .related-box{
  padding: 0 1em;
}
#breadcrumb{
  margin-top: 65px;
  padding: 8px 15px;
  border: none;
}

/* 固定ページ設定 */
.page #main article{
  padding: 0.5em 1em;
  border: none;
  width: 100%;
}
.page #inner-content{
  padding: 0;
}
.page #sidebar1{
  padding: 0 1em;
}
.page .authorbox, .page .related-box{
  padding: 0 1em;
}
}