@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

body {/*背景グラデ*/
    background: linear-gradient(-135deg, #7d0b0b, #060506) fixed;
}

.searchform__submit, #toc_container .toc_title:before, .ez-toc-title-container:before, .cat-name, .pre_tag > span, .pagination .current, .post-page-numbers.current, #submit, .withtag_list > span, .main-bc-before li:before {
    background: linear-gradient(-135deg, #9f06de, #280044);
}

.widgettitle {/*サイドウィジェットタイトル*/
    color: #ffffff !important;
    background: linear-gradient(-135deg, #9f06de, #280044);
}

.widget ul {
  padding: 0;
  position: relative;
}
.widget ul li {
  line-height: 1.5;
  padding-bottom: 0.5em;
  border-bottom: 1px dashed #400163;
  list-style-type: none!important;
}

.widget ul li:last-of-type {
  border-bottom: none;/*最後のliの線だけ消す*/
}

.show_num li .rank {
    top: 5px;
    left: 5px;
}


.header, #footer-menu, .drawer__title {/*フッター背景*/
    background: linear-gradient(-135deg, #9f06de, #280044);
}


.entry-content h2 {
  position: relative;
  padding: 0.6em;
  background: #FA4141;
  color: #ffffff;
}

div.picup a.c_linkto img {
    margin: 0!important;
    width: 100%!important;
}

.entry-content h2:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #FA4141;
  width: 0;
  height: 0;
}

.entry-content h3 {
  position: relative;
  color: white;
  background: #880E4F;
  line-height: 1.4;
  padding: 0.5em 0.5em 0.5em 1.8em;
}

.entry-content h3:after {
  font-family: "Font Awesome 5 Free";
  content: "\f14a";
  font-weight: 900;
  position: absolute;
  left : 0.5em; /*左端からのアイコンまでの距離*/
}

.entry-content h3 {
    border-color: #420325!important;
}

.entry-content h4 {
  border-bottom: solid 3px #7e551a;
  position: relative;
}

.entry-content h4:before {
 position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #1A237E;
  bottom: -3px;
  width: 30%;
}

p.hh.hh5{/*見出し*/
    margin:0em auto 0.5em auto !important;
    letter-spacing:0.1em;
    font-weight: bold;
    font-size:130%!important;
    padding: 0.3em 0.4em;
    color: #ffffff !important;
    background:none!important;
 /*   border-bottom:#333 solid 2px!important;*/
}

div.picup a.c_linkto img{/*おすすめ記事アイキャッチ*/
    margin:0!important;
    width:100%!important;
}

div.newpst .longc_title{/*記事タイトル*/
    font-size:120%!important;
}

div.newpst a.c_linkto.longc_linkto:first-of-type:before{/*新着記事1つ目に「NEW」を出す*/
    position: absolute;
    content: " NEW";/*好きな文字*/
    display: inline-block;
    width: 75px;
    height: 27px;
    text-align: center;
    vertical-align: middle;
    background: yellow;/*好きな色*/
    font-size: 11px;
    line-height: 28px;
    color: #333;/*文字色*/
    letter-spacing: 3px;
    padding-left: 3px;
    border-radius: 0px;
}
.red-bc{/*リンクボタン*/
    background:#fff!important;
    color:#333;
    border:#333 solid 1px;
    font-size:90%!important;
}

.sidebar .my_popular_posts .widgettitle:before {/*人気記事アイコン*/
    content: "\f51e";
}

.sidebar .widget_recent_entries .widgettitle:before {/*新しい記事アイコン*/
    content: "\f651";
}

.prnx p {
    color: #ffffff;
}

.header {/*ヘッダー背景画像*/
    background-image: url(http://dd-on.jp/wp-content/uploads/2021/06/titBack.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    height: 200px;
}

#logo img  {/*ヘッダーロゴサイズ*/
    height: 180px;
}

/* WPPカスタマイズ */
.execphpwidget .my-widget li span a {
  padding: 0;
}
.execphpwidget .my-widget.show_num li {
  padding: 7px 0;
  display: table;
}

.execphpwidget .my-widget li a .my-widget__img {
  display: block;
}

.execphpwidget .my-widget__img img {
  width: 100%;
  border: solid 2px #f3f3f3;
  transition: .3s ease-in-out;
}

.execphpwidget .my-widget li a .my-widget__img {
  display: block;
  width: 130px;
  height: 88px;
  padding-right: 6px;
  vertical-align: middle;
}

.execphpwidget .my-widget li a {
  display: block;
  padding: 0;
}
.execphpwidget .my-widget.show_num li div {
  display: table-cell;
}
.execphpwidget .my-widget__text {
  width: 180px;
  width: calc(100% - 88px);
  font-size: .9em;
  vertical-align: middle;
  line-height: 1.5;
}

#archive_header {/*カテゴリヘッダ*/
    background: none;
    color: #ffffff;
    border: none;
}

.table-wrap {
  overflow-x: scroll;
}
.table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
.table th,
.table td {
  border: 2px solid #eee;
  padding: 4px 8px;
}

@media (max-width: 768px) {
    
 .header {/*ヘッダー背景画像*/
    height: 150px;
}

#logo img  {/*ヘッダーロゴサイズ*/
    height: 130px;
}   
    
    
}
