@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){
  /*必要ならばここにコードを書く*/
}

/************************************
** 当たらぬも八卦✳︎｜トップページ試作
** WPVibe draft only
************************************/

body.home{
  background:#f5f3ee;
  color:#242533;
}

body.home .header-container{
  background:
    radial-gradient(circle at 14% 28%,rgba(255,255,255,.78) 0 1px,transparent 1.5px),
    radial-gradient(circle at 78% 18%,rgba(255,255,255,.58) 0 1px,transparent 1.5px),
    radial-gradient(circle at 88% 72%,rgba(255,224,168,.55) 0 1px,transparent 1.5px),
    radial-gradient(circle at 42% 68%,rgba(255,255,255,.48) 0 1px,transparent 1.5px),
    linear-gradient(145deg,#0b1024 0%,#172449 55%,#0d142d 100%);
  border-bottom:1px solid rgba(255,255,255,.08);
}

body.home #header{
  padding:24px 0 20px;
}

body.home .site-name-text{
  color:#fff;
  font-size:clamp(26px,4vw,38px);
  letter-spacing:.06em;
  text-shadow:0 2px 18px rgba(0,0,0,.28);
}

body.home #navi{
  background:rgba(7,12,29,.78);
  border-top:1px solid rgba(255,255,255,.06);
}

body.home #navi .item-label{
  color:#f8f4ea;
  font-weight:600;
}

body.home #content{
  margin-top:0;
}

body.home #content-in{
  max-width:1180px;
  padding-top:34px;
}

body.home #main{
  width:100%;
  background:transparent;
  border:none;
  box-shadow:none;
  padding:0;
}

body.home #sidebar{
  display:none;
}

body.home #custom_html-2,
body.home #custom_html-3{
  width:49%;
  margin:0 0 30px;
}

body.home #custom_html-2{
  float:left;
}

body.home #custom_html-3{
  float:right;
}

body.home .yogen-top-card,
body.home .asobiba-top-card{
  margin:0 !important;
}

body.home .yogen-top-card a,
body.home .asobiba-top-card a{
  min-height:178px;
  padding:26px 28px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:22px !important;
  background:
    radial-gradient(circle at 88% 18%,rgba(255,224,168,.16),transparent 30%),
    radial-gradient(circle at 12% 80%,rgba(143,155,255,.13),transparent 34%),
    linear-gradient(145deg,#141b3a,#202957) !important;
  box-shadow:0 14px 34px rgba(18,23,52,.16) !important;
  transition:transform .18s ease,box-shadow .18s ease;
}

body.home .yogen-top-card a:hover,
body.home .asobiba-top-card a:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 38px rgba(18,23,52,.22) !important;
}

body.home .yogen-top-title,
body.home .asobiba-top-title{
  font-size:23px !important;
  letter-spacing:.02em;
}

body.home .yogen-top-desc,
body.home .asobiba-top-desc{
  margin-top:8px !important;
  font-size:14px !important;
  line-height:1.75 !important;
}

body.home #list{
  clear:both;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  padding-top:12px;
}

body.home #list::before{
  content:"新着記事";
  grid-column:1/-1;
  display:block;
  margin:0 0 2px;
  color:#23263b;
  font-size:25px;
  font-weight:800;
  letter-spacing:.04em;
}

body.home #list .entry-card-wrap{
  height:100%;
  margin:0;
  border:none;
  border-radius:20px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 28px rgba(28,32,56,.09);
  transition:transform .18s ease,box-shadow .18s ease;
}

body.home #list .entry-card-wrap:hover{
  transform:translateY(-2px);
  box-shadow:0 15px 34px rgba(28,32,56,.14);
}

body.home #list .entry-card{
  display:flex;
  flex-direction:column;
  height:100%;
  padding:0;
}

body.home #list .entry-card-thumb{
  position:relative;
  width:100%;
  height:105px;
  margin:0;
  overflow:hidden;
  background:
    radial-gradient(circle at 14% 25%,rgba(255,255,255,.84) 0 1px,transparent 1.6px),
    radial-gradient(circle at 32% 70%,rgba(255,255,255,.54) 0 1px,transparent 1.5px),
    radial-gradient(circle at 68% 28%,rgba(255,255,255,.74) 0 1px,transparent 1.6px),
    radial-gradient(circle at 84% 62%,rgba(255,224,168,.68) 0 1px,transparent 1.6px),
    linear-gradient(155deg,#0b122b,#1a2850 52%,#111936);
}

body.home #list .entry-card-thumb img.no-image{
  opacity:0;
  width:100%;
  height:100%;
}

body.home #list .cat-label{
  top:14px;
  left:14px;
  right:auto;
  bottom:auto;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(245,160,0,.94);
  color:#231700;
  font-size:11px;
  font-weight:700;
}

body.home #list .entry-card-content{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:20px 21px 18px;
}

body.home #list .entry-card-title{
  margin-bottom:10px;
  color:#202235;
  font-size:19px;
  line-height:1.55;
  font-weight:750;
}

body.home #list .entry-card-snippet{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  margin-bottom:16px;
  color:#626577;
  font-size:13px;
  line-height:1.8;
}

body.home #list .entry-card-meta{
  margin-top:auto;
  color:#9294a0;
  font-size:11px;
}

body.home #list .entry-card-categorys{
  display:none;
}

@media screen and (max-width:834px){
  body.home #content-in{
    padding:24px 14px 0;
  }

  body.home #custom_html-2,
  body.home #custom_html-3{
    float:none;
    width:100%;
    margin-bottom:14px;
  }

  body.home .yogen-top-card a,
  body.home .asobiba-top-card a{
    min-height:auto;
    padding:21px 20px !important;
  }

  body.home #list{
    grid-template-columns:1fr;
    gap:16px;
    padding-top:20px;
  }

  body.home #list .entry-card-thumb{
    height:92px;
  }

  body.home #list::before{
    font-size:22px;
  }
}

/************************************
** トップページ｜整理版
************************************/

body.home .hakke-front{
  margin-top:0;
}

body.home .hakke-front #content-in{
  max-width:1060px;
  padding:34px 18px 58px;
}

body.home .hakke-front-main{
  width:100%;
  padding:0;
  background:transparent;
  border:none;
  box-shadow:none;
}

.hakke-front-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-bottom:36px;
}

.hakke-front-action{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:4px 14px;
  padding:17px 19px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  background:
    radial-gradient(circle at 92% 18%,rgba(255,224,168,.12),transparent 34%),
    linear-gradient(145deg,#151b39,#202852);
  color:#fff !important;
  text-decoration:none !important;
  box-shadow:0 8px 22px rgba(20,25,53,.10);
}

.hakke-front-action:hover{
  transform:translateY(-1px);
  box-shadow:0 11px 26px rgba(20,25,53,.14);
}

.hakke-front-action-kicker{
  grid-column:1/-1;
  color:#f0d9a7;
  font-size:11px;
  letter-spacing:.06em;
}

.hakke-front-action strong{
  font-size:17px;
  line-height:1.4;
}

.hakke-front-action > span:last-child{
  color:#d7d8e5;
  font-size:12px;
  text-align:right;
}

.hakke-front-section{
  margin-top:36px;
}

.hakke-front-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:13px;
  padding:0 2px;
}

.hakke-front-section-head h2{
  margin:2px 0 0;
  padding:0;
  border:none;
  background:none;
  color:#222538;
  font-size:23px;
  line-height:1.4;
}

.hakke-front-eyebrow{
  display:block;
  color:#8b7353;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
}

.hakke-section-more{
  flex:none;
  color:#555b78 !important;
  font-size:12px;
  font-weight:700;
  text-decoration:none !important;
}

.hakke-new-list,
.hakke-category-list{
  overflow:hidden;
  border:1px solid #e5e1d8;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(28,32,56,.055);
}

.hakke-new-item{
  display:flex;
  align-items:center;
  gap:13px;
  min-height:80px;
  padding:13px 17px;
  border-bottom:1px solid #eeebe4;
  color:#202335 !important;
  text-decoration:none !important;
}

.hakke-new-item:last-child{
  border-bottom:none;
}

.hakke-new-item:hover,
.hakke-category-item:hover{
  background:#faf9f5;
}

.hakke-new-mark{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 38px;
  width:38px;
  height:38px;
  border-radius:11px;
  background:linear-gradient(145deg,#16203f,#263361);
  color:#f3ddaa;
  font-size:14px;
}

.hakke-new-copy{
  min-width:0;
  flex:1;
}

.hakke-new-meta{
  display:flex;
  gap:9px;
  margin-bottom:3px;
  color:#8c8d98;
  font-size:10px;
  line-height:1.4;
}

.hakke-new-meta span{
  color:#8b7353;
  font-weight:700;
}

.hakke-new-title{
  display:block;
  color:#25283a;
  font-size:15px;
  font-weight:700;
  line-height:1.55;
}

.hakke-new-arrow{
  flex:none;
  color:#9a927f;
  font-size:24px;
  line-height:1;
}

.hakke-category-section{
  padding-top:5px;
}

.hakke-category-item{
  display:grid;
  grid-template-columns:80px minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  min-height:57px;
  padding:10px 17px;
  border-bottom:1px solid #eeebe4;
  color:#292c3d !important;
  text-decoration:none !important;
}

.hakke-category-item:last-child{
  border-bottom:none;
}

.hakke-category-item time{
  color:#999aA3;
  font-size:10px;
}

.hakke-category-item span{
  font-size:14px;
  line-height:1.55;
}

.hakke-category-item b{
  color:#aaa28f;
  font-size:20px;
  font-weight:400;
}

.hakke-empty{
  margin:0;
  padding:20px;
  color:#858691;
  font-size:13px;
}

@media screen and (max-width:700px){
  body.home .hakke-front #content-in{
    padding:22px 12px 44px;
  }

  .hakke-front-actions{
    grid-template-columns:1fr;
    gap:10px;
    margin-bottom:29px;
  }

  .hakke-front-action{
    padding:15px 16px;
    border-radius:14px;
  }

  .hakke-front-section{
    margin-top:30px;
  }

  .hakke-front-section-head{
    align-items:center;
    gap:10px;
    margin-bottom:10px;
  }

  .hakke-front-section-head h2{
    font-size:20px;
  }

  .hakke-front-eyebrow{
    font-size:10px;
  }

  .hakke-new-item{
    min-height:72px;
    gap:10px;
    padding:11px 13px;
  }

  .hakke-new-mark{
    flex-basis:32px;
    width:32px;
    height:32px;
    border-radius:9px;
    font-size:12px;
  }

  .hakke-new-title{
    font-size:14px;
  }

  .hakke-category-item{
    grid-template-columns:1fr auto;
    gap:4px 10px;
    padding:11px 13px;
  }

  .hakke-category-item time{
    grid-column:1;
    font-size:9px;
  }

  .hakke-category-item span{
    grid-column:1;
    font-size:13px;
  }

  .hakke-category-item b{
    grid-column:2;
    grid-row:1/3;
    align-self:center;
  }
}
