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

/* TAKERU editorial A display additions. */
body.takeru-editorial{--tk-paper:#f7f5f0;--tk-ink:#272b2b;--tk-muted:#626866;--tk-line:#d7d9d2;--tk-accent:#a4432b;--tk-wash:#e9ede6;--tk-serif:'Yu Mincho','Hiragino Mincho ProN',serif;--tk-sans:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;--tk-body-size:18px;--tk-body-line-desktop:2.1;--tk-body-line-mobile:2.05;--tk-article-outer:800px;--tk-page-gutter-desktop:44px;--tk-page-gutter-mobile:22px}
/* LOCAL Cocoon adapter candidate; not installed. Load after shared tokens + child CSS. */
body.takeru-editorial{background:var(--tk-paper);color:var(--tk-ink)}
body.takeru-editorial .header-container,body.takeru-editorial .footer{background:var(--tk-paper)}
body.takeru-editorial .header-in,body.takeru-editorial .footer-in{max-width:1160px;width:100%;padding-inline:44px}
body.takeru-editorial .logo-header{padding:30px 0;text-align:left;border-bottom:1px solid var(--tk-ink);margin:0}
body.takeru-editorial .logo-header .site-name-text-link{display:block;text-decoration:none}
body.takeru-editorial .logo-header .site-name-text-link:before{content:'TAKERU';display:block;font:35px Georgia,serif;letter-spacing:.18em;color:var(--tk-ink);margin-bottom:10px}
body.takeru-editorial #header .logo-header .site-name-text{font-size:11px;letter-spacing:.05em;color:var(--tk-ink)}
body.takeru-editorial.takeru-sidebar-reviewed .content-in{max-width:1160px;width:100%;margin-inline:auto;gap:0}
body.takeru-editorial.takeru-sidebar-reviewed .content-in{display:block}
body.takeru-editorial.takeru-sidebar-reviewed .content .main{width:100%;max-width:100%;margin:0;padding:0;background:transparent;border:0;box-shadow:none}
body.takeru-editorial.takeru-sidebar-reviewed .sidebar{display:none}
body.takeru-editorial .article{max-width:var(--tk-article-outer);margin-inline:auto;padding:48px var(--tk-page-gutter-desktop)}
body.takeru-editorial .article-header .entry-title{font-family:var(--tk-serif);font-size:41px;text-wrap:balance;padding:0;margin:23px 0;font-weight:500;line-height:1.65;letter-spacing:.04em}
body.takeru-editorial .entry-content{font-size:var(--tk-body-size);line-height:var(--tk-body-line-desktop);letter-spacing:.025em;color:var(--tk-ink);overflow-wrap:break-word}
body.takeru-editorial .entry-content p{margin-block:0 1.65em;line-height:inherit}
body.takeru-editorial .entry-content h2{font-family:var(--tk-serif);font-size:26px;line-height:1.8;font-weight:600;background:transparent;border:0;padding:9px 0 0;margin:2.5em 0 1em}
body.takeru-editorial .entry-content h2:before{content:'';display:block;width:32px;height:2px;background:var(--tk-accent);margin-bottom:20px}
body.takeru-editorial .entry-content a{color:var(--tk-accent);text-underline-offset:5px}
body.takeru-editorial .entry-content img{max-width:100%;height:auto}
body.takeru-editorial :is(a,button,input,summary):focus-visible{outline:3px solid var(--tk-accent);outline-offset:5px}
body.takeru-editorial .toc{font-size:13px;border:0;border-block:1px solid var(--tk-line);background:transparent;padding:21px 0}
body.takeru-editorial .tk-home-intro,body.takeru-editorial .tk-feature,body.takeru-editorial .tk-entry,body.takeru-editorial .tk-topics{margin:0 44px;padding:35px 0;border-bottom:1px solid var(--tk-line)}
body.takeru-editorial .tk-home-intro :is(h1,h2){font:500 36px/1.7 var(--tk-serif);letter-spacing:.04em;margin:15px 0;background:transparent;border:0;padding:0}
body.takeru-editorial .tk-kicker{font-size:11px;letter-spacing:.12em;color:var(--tk-accent)}
body.takeru-editorial .tk-feature{display:flex;align-items:center;gap:45px}
body.takeru-editorial .tk-entry-copy{flex:1;min-width:0}
body.takeru-editorial .tk-feature h2{font:500 34px/1.65 var(--tk-serif);background:transparent;border:0;padding:0}
body.takeru-editorial .tk-entry h2{font:500 21px/1.8 var(--tk-serif);background:transparent;border:0;padding:0}
body.takeru-editorial .tk-entry-copy a{color:var(--tk-ink);text-decoration:none}
body.takeru-editorial .tk-entry-copy p:not(.tk-kicker){font-size:14px;line-height:2;color:var(--tk-muted)}
body.takeru-editorial .tk-entry-copy time{font-size:11px;color:var(--tk-muted)}
body.takeru-editorial .tk-read-link{display:block;font-size:12px;margin-top:20px;text-decoration:underline!important;text-underline-offset:5px}
body.takeru-editorial .tk-entry-media{flex:0 1 42%;max-width:42%}
body.takeru-editorial .tk-entry-media img{display:block;width:100%;height:auto}
body.takeru-editorial .tk-topics h2{font-size:20px;background:transparent;padding:0;border:0}
body.takeru-editorial .tk-topics>a{display:inline-block;border:1px solid var(--tk-line);padding:12px 18px;margin:5px;font-size:13px;color:var(--tk-ink)}
/* No rule hides or collapses ad-area, ad-responsive, ins, iframe, share or TOC content. */
@media(max-width:720px){
 body.takeru-editorial .header-in,body.takeru-editorial .footer-in{padding-inline:22px}
 body.takeru-editorial .article{padding:27px var(--tk-page-gutter-mobile)}
 body.takeru-editorial .article-header .entry-title{font-size:30px;line-height:1.7}
 body.takeru-editorial .entry-content{line-height:var(--tk-body-line-mobile);letter-spacing:.015em}
 body.takeru-editorial .entry-content h2{font-size:24px}
 body.takeru-editorial .tk-home-intro,body.takeru-editorial .tk-feature,body.takeru-editorial .tk-entry,body.takeru-editorial .tk-topics{margin-inline:22px;padding:25px 0}
 body.takeru-editorial .tk-home-intro :is(h1,h2),body.takeru-editorial .tk-feature h2{font-size:28px}
 body.takeru-editorial .tk-feature{display:block}
 body.takeru-editorial .tk-entry-media{display:block;max-width:100%;margin-top:25px}
}
/* Keep Cocoon's existing main query, pagination, list inserts and ad hooks. */
body.takeru-editorial.home .tk-home-intro{width:calc(100% - 88px);max-width:1072px;margin-inline:auto}
body.takeru-editorial.home .tk-home-intro h2{text-wrap:balance}
body.takeru-editorial .article-header .eye-catch{max-width:360px;margin-inline:auto}
body.takeru-editorial .article-header .eye-catch img{display:block;max-width:100%;height:auto}
body.takeru-editorial .article-header a.share-button{background:transparent;color:var(--tk-muted);border:1px solid var(--tk-line);border-radius:0;min-height:40px;height:auto;line-height:1.5;font-size:12px;padding:10px 6px}
/* Keep sidebar ad hooks rendered below the article; hide only audited stock widgets. */
body.takeru-editorial.takeru-sidebar-reviewed .sidebar{display:block;width:100%;max-width:800px;margin:0 auto;padding:0;background:transparent;border:0;box-shadow:none}
body.takeru-editorial.takeru-sidebar-reviewed .sidebar :is(#block-2,#block-3,#block-4,#block-5,#block-6){display:none}
body.takeru-editorial.home .tk-home-description{font-size:16px;line-height:2;color:var(--tk-muted);max-width:42em}
body.takeru-editorial.home .tk-topic-links{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:24px}
body.takeru-editorial.home .tk-topic-links a{font-size:13px;line-height:1.8;color:var(--tk-ink);text-decoration:underline;text-underline-offset:5px}
body.takeru-editorial.home .list{display:block;margin:0 44px}
body.takeru-editorial.home .entry-card-wrap{display:block;width:100%;padding:32px 0;margin:0;border:0;border-bottom:1px solid var(--tk-line);border-radius:0;background:transparent;color:var(--tk-ink);transition:background-color .15s ease}
body.takeru-editorial.home .entry-card-wrap:hover{background:var(--tk-wash)}
body.takeru-editorial.home .entry-card{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:start;gap:28px;height:auto;min-height:0}
body.takeru-editorial.home .entry-card-thumb{float:none;width:100%;margin:0}
body.takeru-editorial.home .entry-card-content{margin:0;padding:0;min-width:0}
body.takeru-editorial.home .entry-card-title{font:500 22px/1.8 var(--tk-serif);margin:0 0 12px;color:var(--tk-ink);overflow-wrap:anywhere}
body.takeru-editorial.home .entry-card-snippet{display:block;font-size:14px;line-height:2;color:var(--tk-muted);max-height:none;overflow:visible}
body.takeru-editorial.home .entry-card-meta{position:static;margin-top:18px;font-size:12px;color:var(--tk-muted)}
body.takeru-editorial.home .entry-card-wrap:first-of-type{padding:40px 0}
body.takeru-editorial.home .entry-card-wrap:first-of-type .entry-card{grid-template-columns:minmax(0,1fr) 40%;gap:44px;align-items:center}
body.takeru-editorial.home .entry-card-wrap:first-of-type .entry-card-content{grid-column:1;grid-row:1}
body.takeru-editorial.home .entry-card-wrap:first-of-type .entry-card-thumb{grid-column:2;grid-row:1}
body.takeru-editorial.home .entry-card-wrap:first-of-type .entry-card-title{font-size:32px;line-height:1.75}
body.takeru-editorial.home .entry-card-wrap:first-of-type .entry-card-title:before{content:'注目記事';display:block;font:500 12px/1.8 var(--tk-sans);letter-spacing:.12em;color:var(--tk-accent);margin-bottom:18px}
body.takeru-editorial.home .entry-card:not(.has-post-thumbnail){display:block}
body.takeru-editorial.home .pagination,body.takeru-editorial.home .pagination-next{margin-block:36px}
body.takeru-editorial .cat-label{max-width:100%;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:720px){
 body.takeru-editorial.home .tk-home-intro{width:calc(100% - 44px)}
 body.takeru-editorial .article-header .eye-catch{max-width:240px}
 body.takeru-editorial.home .list{margin-inline:22px}
 body.takeru-editorial.home .entry-card{grid-template-columns:80px minmax(0,1fr);gap:16px}
 body.takeru-editorial.home .entry-card-title{font-size:18px;line-height:1.9}
 body.takeru-editorial.home .entry-card-snippet{font-size:13px;line-height:1.9}
 body.takeru-editorial.home .entry-card-wrap:first-of-type .entry-card{display:flex;flex-direction:column;gap:24px;align-items:stretch}
 body.takeru-editorial.home .entry-card-wrap:first-of-type .entry-card-title{font-size:27px;line-height:1.7}
 body.takeru-editorial.home .entry-card-wrap:first-of-type .entry-card-thumb{order:2;max-width:100%}
 body.takeru-editorial.home .tk-home-description{font-size:15px}
}
