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

/* BWI editorial styles, scoped to the woodworking collection. */
body:has(.bwi-project),body:has(.bwi-hub){background:#faf8f3;color:#26332c;font-family:Arial,Helvetica,sans-serif;}
.article:has(.bwi-project) .article-header .eye-catch-wrap,.article:has(.bwi-project) .ss-top,.article:has(.bwi-project) .date-tags,.article:has(.bwi-hub) .article-header .eye-catch-wrap,.article:has(.bwi-hub) .ss-top{display:none;}
.bwi-project,.bwi-hub{font-size:18px;line-height:1.8;overflow-wrap:break-word;}
.bwi-project p,.bwi-hub p{margin:0 0 1.25em;}
.bwi-project h2,.bwi-hub h2{background:transparent;border:0;border-bottom:2px solid #d6c3a8;padding:0 0 .45em;margin:2.2em 0 1em;color:#203f30;font-size:1.5em;line-height:1.3;}
.bwi-project h3,.bwi-hub h3{border:0;padding:0;color:#203f30;font-size:1.15em;line-height:1.4;}
.bwi-project figure,.bwi-hub figure{margin:1.2em 0 1.6em;}
.bwi-project img,.bwi-hub img{display:block;width:100%;height:auto;border-radius:10px;}
.bwi-project figcaption,.bwi-hub figcaption{font-size:13px;line-height:1.5;color:#656b65;margin-top:.6em;}
.bwi-disclosure{font-size:15px;line-height:1.6;padding:16px 18px;background:#f3eee4;border-left:4px solid #ad8455;border-radius:3px;}
.bwi-project table{table-layout:fixed;width:100%;font-size:16px;border-collapse:collapse;}
.bwi-project th{width:32%;text-align:left;background:#eee9df;color:#26332c;}
.bwi-project th,.bwi-project td{border:1px solid #deddd5;padding:12px;vertical-align:top;}
.bwi-project li{margin-bottom:.85em;}
.bwi-project a,.bwi-hub a{color:#24593d;text-underline-offset:3px;}
.bwi-cta{background:#edf2ec;border:1px solid #cbd8c7;border-radius:12px;padding:24px;margin:2em 0;}
.bwi-cta h2{margin:0 0 .7em;border:0;font-size:1.3em;padding:0;}
.bwi-cta p{font-size:16px;}
.bwi-project a.bwi-button,.bwi-hub a.bwi-button{display:inline-block;background:#244d35;color:#fff;text-decoration:none;font-size:17px;line-height:1.4;font-weight:700;border-radius:6px;padding:15px 21px;max-width:100%;box-sizing:border-box;}
.bwi-button:hover{background:#163724!important;}
.bwi-button:focus-visible{outline:3px solid #ac7437;outline-offset:4px;}
.bwi-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}
.bwi-card{background:#fff;border:1px solid #e4ded2;border-radius:12px;overflow:hidden;padding:18px;}
.bwi-card h3{margin:.8em 0 .4em;}.bwi-card p{font-size:16px;line-height:1.65;}.bwi-card img{aspect-ratio:4/3;object-fit:cover;}
@media(max-width:600px){.bwi-project,.bwi-hub{font-size:17px;line-height:1.75;}.bwi-cta{padding:19px;}.bwi-project table{font-size:14px;}.bwi-project th,.bwi-project td{padding:9px;}.bwi-grid{grid-template-columns:1fr;gap:18px;}.bwi-disclosure{font-size:14px;}.bwi-project h2,.bwi-hub h2{font-size:1.4em;}}


/* BWI media homepage: scoped to the new page. */
body:has(.bwi-home){background:#fff;color:#29332c;}
body:has(.bwi-home) #content{margin-top:0;}
body:has(.bwi-home) #content-in{max-width:1200px;width:100%;padding:0;}
body:has(.bwi-home) #main{width:100%;max-width:none;padding:0;border:0;background:#fff;}
body:has(.bwi-home) #sidebar,body:has(.bwi-home) .article-header,body:has(.bwi-home) .article-footer,body:has(.bwi-home) .sns-share,body:has(.bwi-home) .sns-follow,body:has(.bwi-home) .breadcrumb,body:has(.bwi-home) .under-entry-content,body:has(.bwi-home) .read-time,body:has(.bwi-home) .toc,body:has(.bwi-home) .date-tags{display:none;}
body:has(.bwi-home) .entry-content{margin:0;}
body:has(.bwi-home) #header-in{min-height:0;}
body:has(.bwi-home) .logo{margin:12px 0 6px;line-height:1.2;}
body:has(.bwi-home) .logo-text{font-family:Georgia,'Times New Roman',serif;font-size:26px;font-weight:700;color:#29332c;}
body:has(.bwi-home) .tagline{font-size:12px;color:#6a6d66;}
body:has(.bwi-home) #navi{border-bottom:1px solid #eee8de;}
body:has(.bwi-home) #navi a{font-size:14px;}
.bwi-home{font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.7;}
.bwi-home *{box-sizing:border-box;}
.bwi-home h1,.bwi-home h2,.bwi-home h3{font-family:Georgia,'Times New Roman',serif;color:#26362b;background:none;border:0;padding:0;line-height:1.16;}
.bwi-home h1{font-size:clamp(34px,4.1vw,54px);letter-spacing:-1.4px;margin:12px 0 20px;}
.bwi-home h2{font-size:clamp(27px,3vw,36px);letter-spacing:-.6px;margin:0 0 18px;}
.bwi-home h3{font-size:21px;margin:18px 0 12px;}
.bwi-home p{margin:0 0 20px;}
.bwi-home a{color:#385d42;text-underline-offset:4px;}
.bwi-home a:focus-visible{outline:3px solid #ac7437;outline-offset:5px;}
.bwi-home .bwi-home-eyebrow{text-transform:uppercase;letter-spacing:1.8px;color:#94623e;font-size:11px;line-height:1.5;font-weight:700;margin:0 0 12px;}
.bwi-home-hero{display:grid;grid-template-columns:1fr 1.05fr;align-items:stretch;background:#f6f1e8;}
.bwi-home-hero-copy{padding:54px 42px 40px;align-self:center;}
.bwi-home-hero-copy>p:not(.bwi-home-eyebrow){max-width:470px;color:#555e56;}
.bwi-home-hero figure{margin:0;position:relative;min-width:0;}
.bwi-home-hero figure img{width:100%;height:100%;min-height:470px;object-fit:cover;display:block;}
.bwi-home-hero figcaption{position:absolute;bottom:10px;right:10px;padding:3px 8px;background:rgba(255,255,255,.9);font-size:10px;color:#51594f;border-radius:3px;}
.bwi-home .bwi-home-button,.bwi-home a.bwi-button{display:inline-block;color:#fff;background:#35533d;border:0;border-radius:5px;text-decoration:none;font-size:15px;font-weight:700;padding:14px 22px;line-height:1.5;}
.bwi-home .bwi-home-button:hover,.bwi-home a.bwi-button:hover{background:#25402c;}
.bwi-home-tags{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:24px;font-size:11px;font-weight:700;color:#65715f;}
.bwi-home-tags span:before{content:'•';color:#ab8057;margin-right:7px;}
.bwi-home-section{padding:48px 36px;}
.bwi-home-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:baseline;margin-bottom:24px;}
.bwi-home-section-heading h2{margin:0;}
.bwi-home-text-link{font-size:14px;font-weight:700;}
.bwi-home-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px;}
.bwi-home-card{min-width:0;display:flex;flex-direction:column;}
.bwi-home-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;display:block;}
.bwi-home-card h3 a{text-decoration:none;color:inherit;}
.bwi-home-card h3 a:hover{text-decoration:underline;}
.bwi-home-card p{font-size:14px;color:#60665f;line-height:1.65;margin-bottom:14px;}
.bwi-home-card .bwi-project-link,.bwi-home-card .bwi-coming-soon{margin-top:auto;font-size:13px;}
.bwi-home-card .bwi-project-link{font-weight:700;}
.bwi-home-card .bwi-coming-soon{color:#76786e;}
.bwi-home-card time{font-size:12px;color:#73776e;margin:0 0 12px;}
.bwi-home-collection{margin:12px 36px 0;display:grid;grid-template-columns:1fr 1.5fr;background:#f5f1e8;border-radius:10px;overflow:hidden;}
.bwi-home-collection>img{height:100%;min-height:350px;width:100%;object-fit:cover;}
.bwi-home-collection-copy{padding:38px;align-self:center;}
.bwi-home-collection-copy h2{font-size:31px;}
.bwi-home-collection-title{font-family:Georgia,'Times New Roman',serif;font-size:22px;color:#6f4d32;}
.bwi-home-intro{text-align:center;max-width:780px;margin:0 auto 30px;}
.bwi-home-intro p{color:#626a61;}
.bwi-home-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.bwi-home-benefit{background:#faf8f3;border-radius:8px;padding:23px 20px;}
.bwi-home-benefit .bwi-home-number{display:inline-flex;align-items:center;justify-content:center;background:#e9ecdf;color:#486047;border-radius:50%;width:38px;height:38px;font-size:12px;letter-spacing:1px;font-weight:700;}
.bwi-home-benefit h3{font-size:19px;}
.bwi-home-benefit p{font-size:14px;color:#657063;margin:0;}
.bwi-home-latest{padding-top:10px;}
.bwi-home-latest-empty{padding:30px;border:1px solid #e6e4d8;border-left:4px solid #819275;border-radius:8px;background:#fafbf7;}
.bwi-home-latest-empty h3{margin-top:0;font-size:25px;}
.bwi-home-latest-empty p{max-width:680px;font-size:15px;}
.bwi-home-affiliate{background:#f3eee4;margin:0 36px 42px;padding:38px;border-radius:10px;display:grid;grid-template-columns:1fr 230px;gap:30px;align-items:center;}
.bwi-home-affiliate h2{font-size:30px;}
.bwi-home-affiliate p{font-size:15px;color:#5d6459;}
.bwi-home-affiliate img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:50%;}
.bwi-home-affiliate .bwi-home-disclosure{font-size:12px;margin:18px 0 0;color:#65695f;line-height:1.65;}
@media(min-width:1100px){.bwi-home-featured{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;}.bwi-home-featured h3{font-size:17px;}.bwi-home-featured p{font-size:12px;}.bwi-home-featured .bwi-coming-soon{font-size:11px;}}
@media(max-width:767px){.bwi-home-hero{grid-template-columns:1fr;}.bwi-home-hero-copy{padding:34px 24px;}.bwi-home h1{font-size:37px;letter-spacing:-1px;}.bwi-home-hero figure img{min-height:0;max-height:300px;aspect-ratio:16/9;}.bwi-home-section{padding:36px 22px;}.bwi-home-section-heading{align-items:flex-start;gap:12px;flex-direction:column;}.bwi-home-projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px;}.bwi-home-card h3{font-size:19px;}.bwi-home-card p{font-size:13px;}.bwi-home-collection{margin:0 22px;grid-template-columns:1fr;}.bwi-home-collection>img{min-height:0;max-height:220px;aspect-ratio:16/9;}.bwi-home-collection-copy{padding:28px 24px;}.bwi-home-collection-copy h2{font-size:28px;}.bwi-home-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.bwi-home-benefit{padding:19px 15px;}.bwi-home-benefit h3{font-size:18px;}.bwi-home-affiliate{margin:0 22px 32px;padding:28px 24px;grid-template-columns:1fr;}.bwi-home-affiliate img{display:none;}.bwi-home-affiliate h2{font-size:28px;}.bwi-home-latest-empty{padding:24px;}}
@media(max-width:359px){.bwi-home-projects,.bwi-home-benefits{grid-template-columns:1fr;}.bwi-home h1{font-size:32px;}}

/* Compact masthead and balanced homepage hero. */
body:has(.bwi-home) #header-container-in{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;}
body:has(.bwi-home) #header-in{width:auto;padding:22px 24px;}
body:has(.bwi-home) .logo{margin:0;}
body:has(.bwi-home) .site-name{padding:0;line-height:1.25;}
body:has(.bwi-home) .tagline{display:none;}
body:has(.bwi-home) #navi{border:0;background:#fff;}
body:has(.bwi-home) #navi-in{width:auto;}
body:has(.bwi-home) #navi .menu-header>li{width:auto;}
body:has(.bwi-home) #navi .menu-header>li>a{padding:0 16px;}
.bwi-home h1{font-size:clamp(34px,3.6vw,46px);}
.bwi-home-hero-copy{padding:40px 40px 36px;}
.bwi-home-hero-copy>p:not(.bwi-home-eyebrow){font-size:16px;line-height:1.65;}
.bwi-home-hero figure img{min-height:420px;}
@media(max-width:767px){body:has(.bwi-home) #header-container-in{display:block;}body:has(.bwi-home) #header-in{padding:18px 16px 8px;}body:has(.bwi-home) .logo-text{font-size:22px;}body:has(.bwi-home) #navi .menu-header>li>a{padding:0 12px;font-size:12px;}.bwi-home-hero-copy{padding:32px 24px;}.bwi-home h1{font-size:37px;}.bwi-home-hero figure img{min-height:0;}}

body:has(.bwi-home) .logo{padding:0;}
@media(max-width:767px){body:has(.bwi-home) #navi .menu-mobile{flex-wrap:nowrap;justify-content:center;}body:has(.bwi-home) #navi .menu-mobile>li{width:auto;flex:0 1 auto;}body:has(.bwi-home) #navi .menu-mobile>li>a{padding:0 12px;font-size:12px;}.bwi-home h1{font-size:34px;line-height:1.14;}}

/* Expansion guides: editorial pages distinct from the existing collection. */
body:has(.bwi-guide){background:#faf8f3;color:#26352b;}
body:has(.bwi-guide) .entry-content{font-size:17px;line-height:1.8;}
body:has(.bwi-guide) .article-header h1{color:#28372d;letter-spacing:-.025em;}
.bwi-guide{max-width:100%;}
.bwi-guide h2{color:#31533c;font-size:1.48em;margin-top:2em;}
.bwi-guide h3{color:#344d38;font-size:1.18em;margin-top:1.45em;}
.bwi-guide p,.bwi-guide li{line-height:1.8;}
.bwi-guide a{color:#24593d;text-underline-offset:3px;}
.bwi-guide .bwi-disclosure{background:#f3eee4;border-left:4px solid #a58157;padding:14px 18px;font-size:14px;line-height:1.65;margin:0 0 22px;}
.bwi-guide-hero{margin:0 0 22px;}
.bwi-guide-hero img{display:block;width:100%;height:auto;border-radius:9px;}
.bwi-guide-hero figcaption{font-size:12px;color:#6f756b;margin:7px 3px;}
.bwi-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:25px 0 35px;}
.bwi-guide-card{border:1px solid #e3dfd5;background:white;border-radius:10px;overflow:hidden;display:flex;flex-direction:column;}
.bwi-guide-card>a{display:block;}
.bwi-guide-card img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block;}
.bwi-guide-card>div{padding:16px 18px 19px;display:flex;flex-direction:column;flex:1;}
.bwi-guide-card h3{font-size:1.03em;margin:0 0 9px;line-height:1.35;}
.bwi-guide-card h3 a{text-decoration:none;}
.bwi-guide-card p{font-size:14px;line-height:1.65;color:#4c594f;margin:0 0 12px;}
.bwi-guide-card .bwi-project-link{font-size:14px;font-weight:700;margin-top:auto;}
.bwi-guide .bwi-cta{background:#edf2ec;border:1px solid #cbd8c7;border-radius:12px;padding:24px;margin:35px 0;}
.bwi-guide .bwi-cta h2{margin:0 0 10px;padding:0;border:0;}
.bwi-guide a.bwi-button{display:inline-block;background:#244d35;color:white;text-decoration:none;border-radius:6px;padding:14px 21px;font-weight:700;}
@media(max-width:620px){body:has(.bwi-guide) .entry-content{font-size:16px;}.bwi-guide-grid{grid-template-columns:1fr;gap:16px;}.bwi-guide-card>div{padding:16px;}.bwi-guide .bwi-cta{padding:19px;}}

body:has(.bwi-guide) .article-header .eye-catch{display:none;}

.bwi-home-interest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.bwi-home-interest-card{background:#faf8f3;border:1px solid #e8e3d9;border-radius:9px;padding:14px;}
.bwi-home-interest-card img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:5px;}
.bwi-home-interest-card h3{font-size:20px;line-height:1.3;margin:13px 0 8px;}
.bwi-home-interest-card h3 a{color:inherit;text-decoration:none;}
.bwi-home-interest-card p{font-size:14px;line-height:1.6;color:#5c665d;margin:0;}
@media(max-width:767px){.bwi-home-interest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.bwi-home-interest-card{padding:11px;}.bwi-home-interest-card h3{font-size:17px;}.bwi-home-interest-card p{font-size:12px;}}
@media(max-width:359px){.bwi-home-interest-grid{grid-template-columns:1fr;}}
