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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.month-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}
@media (max-width:768px){
  .month-list{ grid-template-columns:repeat(2, 1fr); }
}
.month-list a{
  display:block;
  padding:12px 14px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:10px;
  text-decoration:none;
}
.month-list a:hover{
  opacity:.75;
}
/* ===== kyo366 目次（フルワイド版） ===== */
#toc{
  width: 100%;
  margin: 40px 0;
  padding: 24px 28px;
  background: #fafafa;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
  box-sizing: border-box;
}

/* 目次タイトル */
#toc .toc-title{
  display: block;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #444;
  margin-bottom: 18px;
  cursor: pointer;
}

/* チェックボックス非表示 */
#toc .toc-checkbox{
  display: none;
}

/* ===== リスト全体 ===== */
#toc .toc-list{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

/* 第1階層 */
#toc .toc-list > li{
  margin-bottom: 12px;
}

/* 第1階層リンク */
#toc .toc-list > li > a{
  display: block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

/* 第2階層 */
#toc .toc-list ol{
  margin-top: 6px;
  padding-left: 18px;
}

/* 第2階層リンク */
#toc .toc-list ol li a{
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #555;
  padding: 3px 0;
  text-decoration: none;
}

/* hover */
#toc a:hover{
  color: #b49b78;
  text-decoration: underline;
}

/* ===== 回遊導線の区切り ===== */
#toc a[href*="他の日"]{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #ddd;
}


.kyo366-cal__cell.is-today{
  background: rgba(180,155,120,.18) !important;
  border-radius: 10px !important;
}

.kyo366-cal__cell.is-today .kyo366-cal__nolink,
.kyo366-cal__cell.is-today .kyo366-cal__link{
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #b49b78;
  color: #fff !important;
  font-weight: 800 !important;
}
.kyo366-figure{
  margin:24px auto;
  text-align:center;
}

.kyo366-figure img{
  max-width:100%;
  height:auto;
}

.kyo366-figure figcaption{
  margin-top:6px;
  font-size:13px;
  color:#666;
}

.kyo366-fvdate__holiday{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .08em;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.75);
  width: fit-content;
}

.kyo366-topcal .kyo366-cal__cell.is-today .kyo366-cal__link{
  background: #f7f6ee;
  outline: 2px solid #b49b78;
}

/* ===== Kyo366 Calendar ===== */
.kyo366-cal{
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px;
  background:#fff;
  overflow:hidden;
  margin: 18px 0;
}

.kyo366-cal__head{
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  align-items:center;
  border-bottom:1px solid rgba(0,0,0,.12);
  padding:10px 8px;
}

.kyo366-cal__title{
  justify-self:center;
  font-weight:800;
  text-decoration:none;
  color:inherit;
}

.kyo366-cal__nav{
  width:36px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:inherit;
}

.kyo366-cal__grid{
  display:grid;
  grid-template-columns: repeat(7, 1fr);
}

.kyo366-cal__dow{
  font-size:12px;
  opacity:.75;
  padding:10px 0;
  text-align:center;
  border-bottom:1px solid rgba(0,0,0,.12);
}

.kyo366-cal__cell{
  aspect-ratio: 1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  border-right:1px solid rgba(0,0,0,.12);
  border-bottom:1px solid rgba(0,0,0,.12);
}

.kyo366-cal__cell:nth-child(7n){
  border-right:none;
}

.kyo366-cal__cell--empty{
  background: rgba(0,0,0,.02);
}

.kyo366-cal__link,
.kyo366-cal__nolink{
  width: 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:inherit;
  font-weight:700;
}

.kyo366-cal__nolink{
  opacity:.35;
  font-weight:600;
}

.kyo366-cal__cell.is-current .kyo366-cal__link{
  background: rgba(0,0,0,.06);
  border-radius: 12px;
}

.kyo366-cal__cell.is-today .kyo366-cal__link{
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: -6px;
  border-radius: 12px;
}

.kyo366-topcal{
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px;
  background:#fff;
  overflow:hidden;
  margin: 18px 0;
}
.kyo366-topcal__head{
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  align-items:center;
  padding: 10px 8px;
  border-bottom:1px solid rgba(0,0,0,.12);
}
.kyo366-topcal__btn{
  width:36px; height:36px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-size:18px;
  line-height:1;
}
.kyo366-topcal__btn:disabled{ opacity:.45; }
.kyo366-topcal__title{
  justify-self:center;
  font-weight:800;
}
.kyo366-topcal__body{
  padding: 10px 10px 6px;
  transition: opacity .15s ease;
}
.kyo366-topcal__links{
  margin: 0;
  padding: 10px 12px 12px;
  border-top:1px solid rgba(0,0,0,.12);
  font-size: 13px;
  opacity:.75;
}
.kyo366-topcal__links a{ color: inherit; }

.kyo366-topcal{
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px;
  background:#fff;
  overflow:hidden;
  margin: 18px 0;
}
.kyo366-topcal__head{
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  align-items:center;
  padding: 10px 8px;
  border-bottom:1px solid rgba(0,0,0,.12);
}
.kyo366-topcal__btn{
  width:36px; height:36px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  font-size:18px;
  line-height:1;
}
.kyo366-topcal__btn:disabled{ opacity:.45; }
.kyo366-topcal__title{
  justify-self:center;
  font-weight:800;
}
.kyo366-topcal__body{
  padding: 10px 10px 6px;
  transition: opacity .15s ease;
}
.kyo366-topcal__links{
  margin: 0;
  padding: 10px 12px 12px;
  border-top:1px solid rgba(0,0,0,.12);
  font-size: 13px;
  opacity:.75;
}
.kyo366-topcal__links a{ color: inherit; }

.kyo366-fvdate{
  margin: 18px 0 22px;
}

.kyo366-fvdate__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 680px){
  .kyo366-fvdate__grid{
    grid-template-columns: 1fr;
  }
}

.kyo366-fvdate__card{
  position: relative;
  border-radius: 16px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.kyo366-fvdate__card::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(180,155,120,.18), rgba(247,246,238,.55));
  pointer-events:none;
}

.kyo366-fvdate__card.is-2026::before{
  background: linear-gradient(135deg, rgba(180,155,120,.22), rgba(247,246,238,.70));
}

.kyo366-fvdate__card.is-2027::before{
  background: linear-gradient(135deg, rgba(150,170,200,.22), rgba(247,246,238,.65));
}

.kyo366-fvdate__year{
  position: relative;
  font-weight: 900;
  letter-spacing: .06em;
  font-size: 14px;
  opacity: .85;
}

.kyo366-fvdate__date{
  position: relative;
  display:flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}

.kyo366-fvdate__md{
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
}

.kyo366-fvdate__dow{
  font-size: 16px;
  font-weight: 800;
  opacity: .9;
}

.kyo366-fvdate__rokuyo{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .08em;
  border: 1px solid rgba(0,0,0,.14);
  width: fit-content;
}

.kyo366-fvdate__rokuyo.is-taian{
  background: rgba(255, 255, 255, .75);
}

.kyo366-fvdate__rokuyo.is-butsumetsu{
  background: rgba(255, 255, 255, .75);
}
/* =========================
   kyo366 年バッジ（保険付き）
========================= */

.kyo366-day-hero__years {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.kyo366-badge {
  background: #f6f7f8;
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

.kyo366-badge__y {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.kyo366-badge__meta {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

/* =========================
  kyo366 day hero (force)
========================= */

.entry-content .kyo366-day-hero{
  margin: 18px 0 16px !important;
}

.entry-content .kyo366-day-hero__inner{
  padding: 14px 16px !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 12px !important;
  background: #fff !important;
}

.entry-content .kyo366-day-hero__date{
  margin-bottom: 10px !important;
}

.entry-content .kyo366-day-hero__md{
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.entry-content .kyo366-day-hero__sub{
  font-size: 13px !important;
  color: #666 !important;
  margin-top: 6px !important;
}

/* 年バッジ */
.entry-content .kyo366-day-hero__years{
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
}

/* Cocoon側で display や margin が変に触られても崩れないように */
.entry-content .kyo366-badge{
  display: block !important;
  background: #f6f7f8 !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  min-width: 140px !important;
  text-align: center !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.06) !important;
  margin: 0 !important;
}

.entry-content .kyo366-badge__y{
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.entry-content .kyo366-badge__meta{
  font-size: 13px !important;
  color: #666 !important;
  margin-top: 4px !important;
}
/* “大きく見せる”調整（PCでさらに強調したい場合） */
@media (min-width: 1024px){
  .kyo366-fvdate__md{ font-size: 34px; }
}
.entry-content .kyo366-day-hero { outline: 3px solid red !important; }
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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