@charset "utf-8";
/*
Theme Name: ぞっこん四国 2018 SSL
Theme URI:
Description: 
Author: e-press
Version: 1.0
Tags: 
*/


@import url("/common/css/style.css");
@import url("/common/css/page.css");

/*
■■■■■■■■■■　WordPress　デフォルト　CSS　■■■■■■■■■■
*/


/*ログイン中の編集ボタン
---------------------------------------------------------------*/
div.post_edit {
  clear: both;
  display: block;
  background-color: #0397EE;
  text-align: center;
  padding: 5px 0;
  color: #FFF;
  margin-bottom: 30px;
}

div.post_edit a {
  color: #FFF;
  font-weight: bold;
}


/*ページナビ
---------------------------------------------------------------*/
.wp-pagenavi a, .wp-pagenavi span {
  text-decoration: none;
  border: 1px solid #CCC;
  padding: 3px 11px;
  margin: 2px;
  color: #333;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
  background: #0079EA;
  color: #FFF;
}

.wp-pagenavi span.current {
  font-weight: bold;
}


/*初期設定
-------------------------------------------------------------- */

/*-post_content-*/

.post_content:after {
  content: "";
  display: block;
  clear: both;
}


/*投稿設定*/
.post_content p, .post_content ul, .post_content ol, .post_content dd, .post_content pre, .post_content hr {
  margin-bottom: 1em;
}

.post_content ul ul, .post_content ol ol, .post_content ul ol, .post_content ol ul {
  margin-bottom: 0;
}

.post_content pre, .post_content kbd, .post_content tt, .post_content var {
  font-size: 15px;
  line-height: 21px;
}

.post_content code {
  font-size: 13px;
}

.post_content dt, .post_content th {
  color: #000;
}

.post_content h1, .post_content h2, .post_content h3, .post_content h4, .post_content h5, .post_content h6 {
  color: #000;
  line-height: 1.5em;
  margin: 0 0 20px 0;
}

.post_content table {
  border: 1px solid #e7e7e7;
  margin: 0 0 24px 0;
  text-align: left;
  width: 100%;
}

.post_content tr th, .post_content thead th {
  color: #888;
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
  padding: 9px 24px;
}

.post_content tr td {
  border-top: 1px solid #e7e7e7;
  padding: 6px 24px;
}

.post_content tr.odd td {
  background: #f2f7fc;
}

.post_content blockquote.left {
  float: left;
  margin-left: 0;
  margin-right: 24px;
  text-align: right;
  width: 33%;
}

.post_content blockquote.right {
  float: right;
  margin-left: 24px;
  margin-right: 0;
  text-align: left;
  width: 33%;
}

.post_content .video-player {
  padding: 0;
}

.video-player {
  padding: 0;
}


/* ギャラリー
-------------------------------------------------------------- */
.category-gallery .size-thumbnail img {
  border: 10px solid #f1f1f1;
  margin-bottom: 0;
}

.category-gallery .gallery-thumb {
  float: left;
  margin-right: 20px;
  margin-top: -4px;
}

.home #content .category-gallery .entry-utility {
  padding-top: 4px;
}


/* 画像
-------------------------------------------------------------- */
.wp-caption {
  background: #f1f1f1;
  line-height: 18px;
  margin-bottom: 20px;
  padding: 4px;
  text-align: center;
}

.wp-caption img {
  margin: 5px 5px 0;
}

.wp-caption p.wp-caption-text {
  color: #888;
  font-size: 12px;
  margin: 5px;
}


/* ナビゲーション
-------------------------------------------------------------- */
.navigation {
  color: #888;
  font-size: 12px;
  line-height: 18px;
  overflow: hidden;
}

.navigation a:link, .navigation a:visited {
  color: #888;
  text-decoration: none;
}

.navigation a:active, .navigation a:hover {
  color: #333;
}

.nav-previous {
  float: left;
  width: 50%;
}

.nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

#nav-above {
  margin: 0 0 18px 0;
}

#nav-above {
  display: none;
}

.paged #nav-above, .single #nav-above {
  display: block;
}


/* ウィジェット
-------------------------------------------------------------- */
.widget-area ul {
  list-style: none;
  margin-left: 0;
}

.widget-area ul ul {
  list-style: square;
  margin-left: 1.3em;
}

.widget_search #s {
  width: 60%;
}

.widget_search label {
  display: none;
}

.widget-container {
  margin: 0 0 18px 0;
}

.widget-title {
  color: #222;
  font-weight: bold;
}

.widget-area a:link, .widget-area a:visited {
  text-decoration: none;
}

.widget-area a:active, .widget-area a:hover {
  text-decoration: underline;
}

.widget-area .entry-meta {
  font-size: 11px;
}

#wp_tag_cloud div {
  line-height: 1.6em;
}

#wp-calendar {
  width: 100%;
}

#wp-calendar caption {
  color: #222;
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 4px;
  text-align: left;
}
#wp-calendar thead {
  font-size: 11px;
}

#wp-calendar thead th {
}

#wp-calendar tbody {
  color: #aaa;
}

#wp-calendar tbody td {
  background: #f5f5f5;
  border: 1px solid #fff;
  padding: 3px 0 2px;
  text-align: center;
}

#wp-calendar tbody .pad {
  background: none;
}

#wp-calendar tfoot #next {
  text-align: right;
}

.widget_rss a.rsswidget {
  color: #000;
}

.widget_rss a.rsswidget:hover {
  color: #ff4b33;
}

.widget_rss .widget-title img {
  width: 11px;
  height: 11px;
}

/* 過去の記事 */
h3.old_post_list{
  cursor: pointer;
  border-bottom: 2px solid #1F85F0;
  font-size: 1.6rem;
  padding: 7px;
  background: #FFF;
  position: relative;
}

h3.old_post_list::after{
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background: url(img/arrow_white_r.svg) no-repeat center center #FF9B00;
  background-size: 4px 8px;
  border-radius: 7px;
  position: absolute;
  right: 15px;
  top: 50%;
  margin-top: -7px;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg)
}

h3.old_post_list + ul{
  display: none;
}


/* ページCSS　2カラム
────────────────────────────────────────*/
/* スマホ */

h1#contents_title {
  font-size: 24px;
  padding-top: 14px;
  padding-bottom: 15px;
}

#main_container {
  padding: 66px 15px 20px 15px;
}

/*#main_container main{
  padding-top: 66px;
}*/

h1#contents_img{
  margin-top: 15px;
  margin-bottom: 20px;
}

h1#contents_img img{
  width: 100%;
}

.page_title {
  color: #0397EE;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
}

.entry_title {
  font-size: 1.8rem;
  line-height: 120%;
  position: relative;
  padding: 10px 10px 10px 40px;
  font-weight: bold;
  background: #D8EFFC;
  border-radius: 10px;
  color: #0397EE;
}

.entry_title a{
  color: #0397EE !important;
  display: block;
}

.entry_title:before {
  content: "";
  background: url(img/icon_water_b.svg) no-repeat center;
  background-size: auto 24px;
  display: inline-block;
  width: 20px;
  height: 24px;
  margin-right: 1rem;
  vertical-align: top;
  position: absolute;
  left: 10px;
  top: 0.4em;
}


/*　投稿箇所　*/
.post {
  margin-bottom: 30px;
}

.post a {
  color: #333;
}

.post_head {
  margin-bottom: 20px;
}

.post_content {
  margin-bottom: 50px;
}

.post_foot {
  font-size: 14px;
  padding: 10px;
  background: #EEEEEE;
  text-align: right;
}

.post + #nav-below {
  padding: 0 0 15px 0;
  margin-top: -15px;
}

/*　一覧表示設定　*/
.list_preview .entry_title{
  border-radius: 10px 10px 0 0;
}

.list_preview .post_head{
  margin-bottom: 0;
}

.list_preview .post_foot{
  border-radius: 0 0 10px 10px;
}


/* ウィジェット */
.widget {
  background: #D8EFFC; /*背景カラー*/
  padding: 10px;
}

.widget + .widget {
  margin-top: 20px;
}

.widgettitle {
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 14px;
}

.widget ul {
  list-style-type: none;
  font-size: 14px;
}

.widget ul li {
  border-bottom: 1px solid #CCC;
}

.widget ul li a {
  color: #333;
  display: block;
  background: url(img/icon_water_b.svg) no-repeat 8px 0.9em #FFF;
  background-size: 12px 16px;
  padding: 10px 10px 9px 25px;
}


/*　ページナビ　*/
.wp-pagenavi {
  clear: both;
  margin-top: -10px;
  margin-bottom: 20px;
}


/*404
---------------------------------------------------------------*/
.error_title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.error_comments {
  margin-bottom: 50px;
}


/*画像処理
---------------------------------------------------------------*/
img.alignleft, img.alignright, img.aligncenter,img.alignnone {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin: 0 auto 12px;
  display: block;
}


/* Edit
---------------------------------------------------------------*/
div.post_edit span {
  display: block;
}



@media only screen and (min-width:1040px) {
  
  #main_container {
    padding: 147px 0 20px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
  }
  
  main {
    padding-top: 0 !important;
    width: 750px;
    display: block;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  
  aside {
    width: 250px;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    margin-right: 40px;
  }

  h1#contents_img{
    margin-top: 0;
    margin-bottom: 40px;
  }

  h1#contents_img img{
    width: 100%;
  }
  
  .page_title {
    font-size: 2.8rem;
    margin-bottom: 50px;
  }
  
  #page_title:before {
    left: 0;
    top: 0;
    margin-left: 0;
  }
  
  .entry_title {
    font-size: 24px;
    padding: 5px 0 0 60px;
  }
  
  .entry_title {
    font-size: 2.4rem;
    padding: 15px 15px 15px 50px;
  }


  .entry_title:before {
    background-size: auto 28px;
    width: 24px;
    height: 28px;
    margin-right: 1.5em;
    left: 15px;
    top: 0.6em;
  }

  
/*　-------post-------　*/
  .post {
    margin-bottom: 60px;
  }
  
  .post_head {
    margin-bottom: 40px;
  }
  
  .post_content {
    margin-bottom: 0;
    min-height: 200px;
  }
  
  .post + #nav-below {
    padding: 0 0 40px 0;
    margin-top: 0;
  }
  
  
  /* ウィジェット */
  .widget {
    padding: 20px;
  }
  
  .widget + .widget {
    margin-top: 40px;
  }
  
  .widgettitle {
    margin-bottom: 20px;
  }
  
  
  /*　ページナビ　*/
  .wp-pagenavi {
    clear: both;
    margin-top: 0;
    margin-bottom: 40px;
  }
  
  
  /*画像処理
---------------------------------------------------------------*/
  img.alignleft, img.alignright, img.aligncenter,img.alignnone {
    width: inherit;
    max-width: 700px;
    margin: 0;
  }
  
  img.alignleft{
    float: left;
    margin: 0 1em 1em 0;
  }
  
  img.alignright{
    float: right;
    margin: 0 0 1em 1em;
  }
  
  img.aligncenter{
    margin: 0 auto 1em;
  }
  
  img.alignnone{
    display: inherit;
    margin: 0 1em 1em 0;
  }


/* Edit
---------------------------------------------------------------*/
  div.post_edit span {
    display: inline;
  }

  
}
