@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/* ヘッダー部 */
#header-container{
  background: url(/files/header.jpg) 0 0 repeat;
  filter: drop-shadow(3px 3px 3px rgba(0,0,0,0.3));
}
#header-container .navi{ background-color: transparent; }
.header-container-in.hlt-top-menu .logo-header img{ margin: 5px 0; }

.navi-in a{
  color: #752100;
  transition: all 0.5s ease-in-out;
}
.navi-in a:hover{
  color: #f7fcfe;
  background-color: rgba(117, 33, 0, 0.3);
}
.logo-image{ padding: 20px 0 0; }

/* リンクボタン */
.button a{
  color: #c9171e;
  position: relative;
  display: block;
  padding: 5px 4px;
  border: 2px solid #c9171e;
  text-align: center;
  text-decoration: none;
  transition: .3s;
}
.button a:hover { color: #fff; }
.button a::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  content: '';
  background: #c9171e;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.button a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

/* h2 */
.article h1 {
  margin: 0 0 35px;
  position: relative;
  font-weight: normal;
  font-size: 40px;
  text-align: center;
  height: 156px;
  width: 100%;
  vertical-align: middle;
  display: table-cell;
}
.article h1:before {
  content: '';
  width: 150px;
  height: 150px;
  line-height: 150px;
  border-radius: 50%;
  border: solid #f4b3c2;
  display: block;
  position: absolute;
  left: 0; 
  right: 0;
  margin: auto;
  top: 0; 
  z-index: -1; 
}
.article h1:after {
  content: '';
  width: 140px;
  height: 140px;
  line-height: 10px;
  border-radius: 50%;
  border: 1px solid #f4b3c2;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 7px;
  z-index: -1;
}

/* h2 */
.article h2 {
  position: relative;
  line-height: 1.5;
  padding: 15px;
  display: block;
  text-align: center;
  background-color: transparent;
}
.article h2:before, .article h2:after { 
  content:'';
  width: 50px;
  height: 50px;
  position: absolute;
  display: inline-block;
}

.article h2:before {
  border-left: solid 1px #c9171e;
  border-top: solid 1px #c9171e;
  top:0;
  left: 0;
}

.article h2:after {
  border-right: solid 1px #ff5722;
  border-bottom: solid 1px #ff5722;
  bottom:0;
  right: 0;
}

/* h3 */
.article h3 {
  position: relative;
  padding: 15px 25px;
  border-right: none;
  border-left: none;
  border-top: solid 1px #c9171e;
  border-bottom: solid 1px #c9171e;
}
.article h3:before, .article h3:after {
  content: '';
  position: absolute;
  top: -7px;
  width: 1px;
  height: -webkit-calc(100% + 14px);
  height: calc(100% + 14px);
  background-color: #c9171e;
}
.article h3:after { right: 7px; }
.article h3:before { left: 7px; }

/* h4 */
.article h4{
  border-color: #c9171e;
  border-width: 1px;
  padding: 15px;
  margin-bottom: 30px;
}

.center{ text-align: center; }
p{ margin: 10px 0; }
.eye-catch-wrap{ margin-top: 40px; }


/************************************
** サイドナビ
************************************/
.main{ padding-left: 0; }
.sidebar{ padding-right: 0; }
.sidebar h3 {
  display: inline-block;
  position: relative;
  height: 60px;
  line-height: 60px;
  text-align: center;
  padding: 0 40px 0 18px;
  background: #c9171e;
  color: #FFF;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
}
.sidebar h3:after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  z-index: 1;
  top: 0;
  right: 0;
  border-width: 30px 15px 30px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}
.widget{ margin-bottom: 30px; }
.widget_recent_entries ul li a:hover, .widget_categories ul li a:hover, .widget_archive ul li a:hover,
.widget_pages ul li a:hover, .widget_meta ul li a:hover, .widget_rss ul li a:hover,
.widget_nav_menu ul li a:hover{ background-color: #f3f3f2; }
.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a,
.widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a{ padding: 10px; }
/* #profile_img{
  border-radius: 50%;
  overflow: hidden;
  height: 250px;
  width: 250px;
} */


/************************************
** フロントページ
************************************/
.content-top{
  background: url(/files/profile.jpg) center 0 no-repeat;
  -webkit-background-size: 100%;
  background-size: 100%;
  background-attachment: fixed;
  height: 400px;
  text-align: center;
  display: none;
  margin-top: 0;
}
body.home .content-top{ display: block; }
.textwidget{ padding-top: 1vw; }
.textwidget .button{
  width: 40%;
  margin: 0 auto;
  position: relative;
  z-index: 100;
}
.top_text{
  width: 80%;
  margin: 0 auto 20px;
}

.home.page .entry-title{ display: none; }

/* Blog */
.new-entry-cards{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  margin-bottom: 0;
}
.widget-entry-cards.card-large-image .a-wrap{
  max-width: 300px;
  margin-left: 20px;
  line-height: 1.5;
  padding: 0;
}
.widget-entry-cards.card-large-image .a-wrap:first-child{ margin-left: 0; }
.widget-entry-cards.card-large-image figure{ margin-bottom: 10px; }
.widget-entry-card-thumb{ margin: 0; }

/* コンテンツ初期 */
.article h2:first-child{ margin-top: 0; }

/* 投稿日・著者の削除 */
.page .date-tags,
.page .author-info {
    display: none;
} 

/* ホームページ制作料金表 */
.article #menu_list>div .comment{
  font-size: 80%;
}

/* PC（834px以上） */
@media screen and (min-width: 834px){
  /* インナーを囲む */
  .wrap {
    width: 1100px;
    margin: 0 auto;
  }

  /* ホームページ制作料金表 */
  .article #menu_list dd{ margin-left: 0; }
  #menu_list{
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    height: 100%;
    margin-top: 50px;
  }
  #menu_list>div{
    width: 50%;
    border-bottom: 1px dashed #752100;
    padding: 10px;
  }
  #menu_list>div:first-child, #menu_list>div:nth-child(2){
    border-top: 1px dashed #752100;
  }
  #menu_list>div:nth-child(8), #menu_list>div:nth-child(20){
    padding: 26px 10px;
  }
  .article #menu_list>div .comment{
    font-size: 80%;
  }
}

/* Tablet（834px以下） */
@media screen and (max-width: 834px){
  .content-top{ height: 205px; }
}

/* SP（480px以下） */
@media screen and (max-width: 480px){
  /* ホームページ制作料金表 */
  #menu_list>div{
    text-align: center;
    padding: 10px;
  }
  #menu_list>.menu{
    background-color: #f3f3f2;
  }

  /* フッター調整 */
  #navi-footer{ display: none; }
  .footer-bottom{ margin-top: 0; }
}
