@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.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
body {
  font-size: 16px;
}
.header-site-logo-image {
  max-width: 300px;
}
.ranking {
  counter-reset: rank;
  list-style: none;
  padding: 0;
}

.ranking li {
  position: relative;
    padding: 0px 10px 10px 35px;
}
.ranking li span {
    font-size: 0.75em;
}

.ranking li:not(:last-child) {
    margin-bottom: 10px;
    border-bottom: 1px dotted #ccc;
}
.ranking li:nth-child(-n + 3)::after {
    color: #fff;
    font-weight: bold;
}
.ranking li:nth-child(-n + 3)::before { /* 王冠のスタイル */
    font-family: "Font Awesome 5 Free";
    content: "\f521";
    font-weight: 900;
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 26px;
}

.ranking li:nth-child(1)::before { /* 1位（王冠）のスタイル */
  color: #e6c300;
}

.ranking li:nth-child(2)::before { /* 2位（王冠）のスタイル */
  color: #a9a9a9;
}

.ranking li:nth-child(3)::before { /* 3位（王冠）のスタイル */
  color: #815a2b;
}

.ranking li:nth-child(n + 4)::before { /* 3位以下のスタイル */
  content: "";
  position: absolute;
}

.ranking li::after {
counter-increment: rank;
    content: counter(rank);
    position: absolute;
    top: 1px;
    left: 10px;
    font-size: 1em;
}
.categories {
    margin: 0;
    padding: 5px 0 20px 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
.categories li {
    position: relative;
    border: 1px solid #c5c5c5;
    width: calc(50% - 10px);
    margin: 5px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 5px;
}
.categories li::before {
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    color: #0b5394;
    font-size: 26px;
    pointer-events: none;
}
.categories li a {
    width: 100%;
    padding: 40px 6px 10px 6px;
    display: block;
    box-sizing: border-box;
}
.categories .cat-item-jyouken::before {
    content: "\f074";
}
.categories .cat-item-hiyou::before {
    content: "\f157";
}
.categories .cat-item-setsubi::before {
    content: "\e16d";
}
.categories .cat-item-tetsuzuki::before {
    content: "\f573";
}
@media screen and (max-width: 1023px) {
    .no-mobile-sidebar .sidebar {
        display: block;
    }
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
