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

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

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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

:root {

  /* ==========================
     Color
  ========================== */

  --kd-primary: #ff6a00;
  --kd-primary-hover: #e95f00;

  --kd-text: #222222;
  --kd-text-light: #666666;

  --kd-bg: #ffffff;
  --kd-surface: #ffffff;

  --kd-border: #e9e9e9;
  --kd-orange-light:#fff2e8;
  --kd-light:#f7f8fa;
  --kd-black:#222222;

  /* ==========================
     Radius
  ========================== */

  --kd-radius-sm: 8px;
  --kd-radius: 16px;
  --kd-radius-lg: 24px;

  /* ==========================
     Shadow
  ========================== */

  --kd-shadow-sm: 0 2px 6px rgba(0,0,0,.05);
  --kd-shadow: 0 6px 18px rgba(0,0,0,.08);

  /* ==========================
     Space
  ========================== */

  --kd-space-8: 8px;
  --kd-space-16: 16px;
  --kd-space-24: 24px;
  --kd-space-32: 32px;
  --kd-space-48: 48px;

  /* ==========================
     Layout
  ========================== */

  --kd-max-width: 1100px;

  /* ==========================
     Animation
  ========================== */

  --kd-speed: .2s;
}

body{
    background:var(--kd-bg);
    color:var(--kd-text);
}

/* トップページを1カラム化 */
.home .content {
    width: 100%;
}

.home #main {
    width: 100%;
}

.home #sidebar {
    display: none;
}

/* ==========================
   カマシドキ デザイン
========================== */

.kamashidoki-home {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.kamashidoki-home h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

.kamashidoki-home h2 {
    font-size: 24px;
    margin: 40px 0 20px;
}

.kamashidoki-home hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 40px 0;
}

.kd-card{
    background:#fff;
    border:1px solid var(--kd-border);
    border-left:4px solid var(--kd-primary);
    border-radius:var(--kd-radius);
    margin-bottom:12px;
    transition:.25s;
}

.kd-card a{
    display:block;
    padding:18px 20px;
    text-decoration:none;
    color:#222;
    font-weight:600;
}

.kd-ranking-list:hover{

    transform:translateY(-2px);

    box-shadow:0 14px 30px rgba(0,0,0,.08);

}

/* ==========================
   CARD
========================== */

.kd-card a{
    display:block;
    padding:18px 20px;
    text-decoration:none;
    color:inherit;
}

.kd-card a::after{
    content:"›";
    font-size:26px;
    color:#b8b8b8;
    transition:.2s;
}

.kd-card:hover a::after{
    color:var(--kd-orange);
    transform:translateX(4px);
}
/* ==========================
   CARD CONTENT
========================== */

.kd-card-title{
    font-size:18px;
    font-weight:700;
    color:var(--kd-text);
    margin-bottom:6px;
}

.kd-card-text{
    font-size:14px;
    color:var(--kd-text-light);
    line-height:1.6;
}
/* ==========================
   Layout
========================== */

.kd-container {
    width: 100%;
    max-width: var(--kd-max-width);
    margin: 0 auto;
    padding: 0 var(--kd-space-24);
    box-sizing: border-box;
}
/* ==========================
   検索ヒーロー
========================== */

.kd-search-hero{
    text-align:center;
    padding:20px 0 32px;
}

.kd-search-copy{
    margin:0 0 28px;
    color:#222;
    font-size:42px;
    font-weight:700;
    letter-spacing:.03em;
    line-height:1.4;
}

/* 検索ボックス */

.kd-search-hero .search-form{
    max-width:760px;
    margin:0 auto;
}

.kd-search-hero .search-field{
    height:58px;
    font-size:18px;
    border:1px solid #e5e5e5;
    border-radius:12px;
    padding:0 20px;
    box-shadow:none;
}

.kd-search-hero .search-field:focus{
    border-color:#ff6b00;
    outline:none;
}
/* ==========================
   Ranking
========================== */

.kd-ranking{
    margin-top:24px;
    margin-bottom:56px;
}

.kd-section-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

.kd-section-title{
    margin:0;
    font-size:30px;
    font-weight:700;
}

.kd-badge{
    display:inline-block;
    margin-left:12px;
    padding:5px 10px;
    font-size:12px;
    font-weight:700;
    color:var(--kd-primary);
    border:1px solid var(--kd-primary);
    border-radius:999px;
}

.kd-more{
    text-decoration:none;
    color:var(--kd-primary);
    font-size:15px;
    font-weight:700;
}

.kd-ranking-list{

    background:#fff;

    border:1px solid var(--kd-border);

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 8px 24px rgba(0,0,0,.05);

}

.kd-ranking-item{

    display:grid;
    grid-template-columns:120px 1fr 170px 110px;

    align-items:center;

    padding:20px 24px;

    border-bottom:1px solid var(--kd-border);

}

.kd-ranking-item:last-child{
    border-bottom:none;
}

.kd-rank{
    font-weight:700;
}

.kd-name{

    font-size:22px;

    font-weight:700;

}

.kd-point{

    text-align:right;

    font-size:24px;

    font-weight:700;

    color:var(--kd-primary);

}
.kd-up{

    text-align:right;

    font-size:15px;

    color:var(--kd-primary);

}
/* 得点急下降ランキング */

.kd-ranking.down .kd-point,
.kd-ranking.down .kd-up{
    color:#2F80ED;
}

.kd-ranking.down .kd-badge{
    color:#2F80ED;
    border:1px solid #2F80ED;
}
/* 現在得点 */

.kd-score{

    text-align:right;

    font-size:18px;

    font-weight:600;

    color:#666;

}
/* 昇格圏ウォッチ見出し */

.kd-ranking-head{

    display:grid;

    grid-template-columns:120px 1fr 170px 110px;

    align-items:center;

    padding:14px 24px;

    font-size:14px;

    font-weight:700;

    color:#888;

    border-bottom:1px solid var(--kd-border);

    background:#fafafa;

}

.kd-ranking-head .kd-score,
.kd-ranking-head .kd-point{

    font-size:14px;

    font-weight:700;

    color:#888;

}
/* ==========================
   A級陥落危険ゾーン
========================== */

.kd-ranking.demotion .kd-point{
    color:#E53935;
}

.kd-ranking.demotion .kd-badge{
    color:#E53935;
    border:1px solid #E53935;
}

.kd-ranking.demotion .kd-more{
    color:#E53935;
}
/* 最新記事 */

.kd-latest{

    margin-top:40px;

}

.kd-latest-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 4px 18px rgba(0,0,0,.05);

}

.kd-post{

    padding:22px 24px;

    border-bottom:1px solid #eee;

}

.kd-post:last-child{

    border-bottom:none;

}

.kd-post a{

    color:var(--kd-text);

    text-decoration:none;

    display:block;

}

.kd-post h3{

    font-size:18px;

    margin-bottom:8px;

    line-height:1.5;

}

.kd-post time{

    color:#888;

    font-size:13px;

}
/*==========================
カマシドキとは
==========================*/

.kd-about{

    margin-top:50px;

}

.kd-about h2{

    font-size:34px;

    font-weight:700;

    margin-bottom:20px;

}

.kd-about-card{

    background:#fff;

    border-radius:20px;

    padding:36px;

    box-shadow:0 4px 18px rgba(0,0,0,.05);

}

.kd-about-card p{

    line-height:2;

    color:#555;

}

.kd-about-card p+p{

    margin-top:18px;

}
/* 最新記事 */

.kd-latest{
    margin-top:50px;
}

.kd-latest h2{
    font-size:34px;
    margin-bottom:20px;
}

.kd-latest-card{
    background:#fff;
    border-radius:20px;
    padding:30px;
    box-shadow:0 4px 18px rgba(0,0,0,.05);
}

.kd-post{
    padding:18px 0;
    border-bottom:1px solid #eee;
}

.kd-post:last-child{
    border-bottom:none;
}

.kd-post a{
    text-decoration:none;
    color:inherit;
    display:block;
}

.kd-post h3{
    font-size:18px;
    margin-bottom:6px;
}

.kd-post time{
    font-size:14px;
    color:#888;
}
/* ヘッダーロゴ */
.header .logo-image img,
.site-logo-image img{
    height: 46px;
    width: auto;
}