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

/* Nandemo portal: shared shell. All original styles above are preserved. */
.nd-site{--nd-green:#0f5a3c;--nd-dark:#143c2c;--nd-ink:#17231d;--nd-muted:#65726a;--nd-soft:#f6f8f5;--nd-cream:#f5f1e8;--nd-line:#e4e8e5;--nd-radius:7px;background:#fff;color:var(--nd-ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
.nd-site .nd-icon{display:inline-block;width:22px;height:22px;flex:0 0 auto;vertical-align:middle}
.nd-site .nd-icon--tower{width:34px;height:44px}
.nd-site :where(.nd-masthead,.nd-home,.nd-footer) :where(a,button,summary,input):focus-visible{outline:3px solid #c28d36;outline-offset:4px}
.nd-masthead,.nd-masthead *,.nd-footer,.nd-footer *,.nd-home,.nd-home *{box-sizing:border-box}
.nd-masthead{position:relative;z-index:30;background:#fff;border-bottom:1px solid var(--nd-line);color:var(--nd-dark)}
.nd-header-inner{max-width:1440px;min-height:80px;padding:10px 32px;margin:auto;display:flex;align-items:center;gap:24px}
.nd-site .nd-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;flex-shrink:0}
.nd-brand span{display:flex;flex-direction:column;gap:2px}
.nd-brand strong{font-size:21px;line-height:1.35;letter-spacing:-.05em;font-weight:800}
.nd-brand small{font-size:10px;line-height:1.4;font-weight:600;letter-spacing:.025em}
.nd-primary{display:flex;align-items:center;justify-content:center;gap:22px;flex:1}
.nd-site .nd-primary a{color:var(--nd-ink);font-size:12px;font-weight:700;white-space:nowrap;display:flex;align-items:center;min-height:44px;text-decoration:none}
.nd-primary a:hover,.nd-menu-panel a:hover{color:var(--nd-green);text-decoration:underline}
.nd-header-search{width:200px;flex-shrink:0}
.nd-search{display:flex;align-items:center;width:100%;min-width:0;margin:0;padding:4px;background:#fff;border:1px solid var(--nd-line);border-radius:40px;gap:4px}
.nd-search input[type=search]{min-width:0;flex:1;border:0;border-radius:30px;padding:10px 17px;margin:0;width:100%;height:46px;font-size:16px;line-height:1.3;background:#fff;color:var(--nd-ink);box-shadow:none;appearance:none}
.nd-search input::placeholder{color:#6d766f;opacity:1}
.nd-search button{display:grid;place-items:center;flex:0 0 60px;width:60px;min-height:46px;height:46px;padding:0;border:0;border-radius:30px;background:var(--nd-green);color:#fff;cursor:pointer}
.nd-search button:hover{background:var(--nd-dark)}
.nd-search--small{padding:2px}
.nd-search--small input[type=search]{font-size:11px;height:34px;padding:5px 10px}
.nd-search--small button{flex-basis:34px;width:34px;min-height:34px;height:34px}
.nd-search--small .nd-icon{width:17px;height:17px}
.nd-menu,.nd-search-toggle{position:static;flex-shrink:0}
.nd-menu summary,.nd-search-toggle summary{list-style:none;display:grid;place-items:center;min-width:44px;min-height:44px;cursor:pointer;border-radius:4px;color:var(--nd-dark)}
.nd-menu summary::-webkit-details-marker,.nd-search-toggle summary::-webkit-details-marker{display:none}
.nd-menu[open] summary,.nd-search-toggle[open] summary{background:var(--nd-soft)}
.nd-search-toggle{display:none}
.nd-menu-panel,.nd-search-panel{position:absolute;right:24px;top:100%;width:min(440px,calc(100% - 32px));padding:24px;background:#fff;border:1px solid var(--nd-line);border-radius:0 0 8px 8px;box-shadow:0 8px 20px #143c2c14;max-height:calc(100dvh - 110px);overflow:auto}
.nd-menu-panel p{margin:0 0 12px;font-size:14px;font-weight:700;color:var(--nd-dark)}
.nd-menu-panel>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;margin-bottom:24px}
.nd-site .nd-menu-panel a{display:flex;align-items:center;gap:10px;min-height:44px;color:var(--nd-dark);font-size:13px;text-decoration:none}
.nd-menu-panel .nd-menu-all{padding-top:12px;border-top:1px solid var(--nd-line);justify-content:space-between}
.nd-site #footer{margin-top:40px;padding:0;background:var(--nd-dark);color:#fff;border:0}
.nd-site #footer-in{max-width:1280px;width:100%;padding:0 32px;margin:auto}
.nd-footer{display:grid;grid-template-columns:1.4fr 1fr .65fr;gap:32px;padding:36px 0 20px;text-align:left}
.nd-footer .nd-brand strong{font-size:20px}
.nd-footer .nd-brand small{font-size:10px;margin-top:4px}
.nd-footer-brand>p{font-size:12px;color:#d2dfd7;margin:18px 0 0;line-height:1.9}
.nd-footer-label{font-size:11px;font-weight:700;letter-spacing:.12em;margin:0 0 14px;color:#ceddd3}
.nd-footer nav>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}
.nd-site .nd-footer nav a{color:#fff;text-decoration:none;font-size:12px;min-height:30px;display:flex;align-items:center}
.nd-footer nav a:hover{text-decoration:underline}
.nd-footer-bottom{grid-column:1/-1;display:flex;align-items:center;gap:20px;padding-top:20px;border-top:1px solid #ffffff26}
.nd-footer-bottom small{font-size:10px;color:#d2dfd7}
.nd-footer-bottom nav{display:flex;gap:20px;flex:1}
.nd-site .nd-to-top{display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff80;border-radius:50%;color:#fff;margin-left:auto}
/* Preserve the Cocoon article and its custom HTML. Style only the shell and ordinary blocks. */
.nd-site:not(.nd-front) #content{margin:24px 0 0}
.nd-site:not(.nd-front) #content-in{max-width:1240px;width:100%;padding:0 24px;margin:auto;gap:32px}
.nd-site:not(.nd-front) #main{min-width:0;border:0;border-radius:0;background:#fff;box-shadow:none;padding:24px}
.nd-site.single #main{max-width:900px}
.nd-site.single.no-sidebar #main{margin:auto;width:100%}
.nd-site.single #main .article-header h1.entry-title{color:var(--nd-dark);font-size:clamp(24px,3vw,34px);line-height:1.55;background:none;border:0;padding:0}
.nd-site.single .entry-content>p:not([class]){font-size:17px;line-height:1.95;margin-block:1.4em}
.nd-site.single .entry-content>:is(h2,h3).wp-block-heading{background:var(--nd-soft);color:var(--nd-dark);border:0;border-left:3px solid var(--nd-green);padding:14px 18px;line-height:1.5}
.nd-site.single .entry-content>p:not([class]) a{color:var(--nd-green);text-decoration:underline;text-underline-offset:3px}
.nd-site .breadcrumb{color:var(--nd-muted);font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.nd-site .breadcrumb a{color:var(--nd-muted)}
.nd-site .related-entry-heading{background:var(--nd-soft);color:var(--nd-dark);border:0;border-left:3px solid var(--nd-green);font-size:20px}
.nd-site.nd-archive #main{width:100%;max-width:none}
.nd-site.nd-archive #list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.nd-site.nd-archive #main #list>.entry-card-wrap{width:auto;min-width:0;margin:0;padding:0;border:1px solid var(--nd-line);border-radius:var(--nd-radius);background:#fff;box-shadow:none;overflow:hidden;text-decoration:none}
.nd-site.nd-archive #list .entry-card{display:flex;flex-direction:column;height:100%;padding:0}
.nd-site.nd-archive #list .entry-card-thumb{float:none;width:100%;margin:0;aspect-ratio:16/10;overflow:hidden}
.nd-site.nd-archive #list .entry-card-thumb img{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.nd-site.nd-archive #list .entry-card-content{display:flex;flex-direction:column;flex:1;min-width:0;margin:0;padding:14px 16px;color:var(--nd-ink)}
.nd-site.nd-archive #list .entry-card-title{font-size:16px;line-height:1.65;margin:0 0 12px;padding:0;background:none;border:0;color:var(--nd-ink);letter-spacing:0}
.nd-site.nd-archive #list .entry-card-snippet{display:none}
.nd-site.nd-archive #list .entry-card-meta{position:static;margin-top:auto;font-size:11px;color:var(--nd-muted)}
.nd-site.nd-archive #list .cat-label{background:var(--nd-green);color:#fff;border:0;font-size:10px;max-width:90%;white-space:normal}
.nd-site.nd-archive .pagination{margin:28px 0;gap:8px}
.nd-site.nd-archive .pagination .current{background:var(--nd-green);color:#fff;border-color:var(--nd-green)}
@media(min-width:1280px){.nd-site.nd-archive.no-sidebar #list{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1250px){.nd-header-inner{gap:16px;padding-inline:24px}.nd-primary{gap:16px}.nd-header-search{display:none}.nd-search-toggle{display:block}}
@media(max-width:1023px){.nd-primary{display:none}.nd-header-inner{min-height:72px}.nd-brand{margin-right:auto}.nd-footer{grid-template-columns:1.3fr 1fr}.nd-footer>nav:last-of-type{grid-column:2}.nd-site.nd-archive #list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
.nd-header-inner{height:62px;min-height:62px;padding:6px 12px;gap:2px}.nd-brand{gap:6px}.nd-masthead .nd-brand small{display:none}.nd-brand strong{font-size:17px;letter-spacing:-.05em}.nd-masthead .nd-icon--tower{width:24px;height:36px}.nd-menu summary,.nd-search-toggle summary{min-width:40px;min-height:44px}.nd-menu-panel,.nd-search-panel{right:12px;width:calc(100% - 24px);padding:18px}.nd-search input[type=search]{font-size:16px;padding-left:14px}.nd-search button{width:48px;flex-basis:48px}.nd-site #footer{margin-top:24px}.nd-site #footer-in{padding:0 20px}.nd-footer{grid-template-columns:1fr 1fr;gap:24px 20px;padding:28px 0 18px}.nd-footer-brand{grid-column:1/-1}.nd-footer-brand>p{display:none}.nd-footer .nd-brand strong{font-size:18px}.nd-footer>nav:last-of-type{grid-column:auto}.nd-footer nav>div{grid-template-columns:1fr;gap:0}.nd-site .nd-footer nav a{min-height:40px;font-size:12px}.nd-footer-bottom{flex-wrap:wrap;gap:6px 12px;padding-top:12px}.nd-footer-bottom nav{flex-basis:60%;order:2;gap:12px}.nd-footer-bottom nav a{font-size:10px}.nd-footer-bottom .nd-to-top{position:relative}.nd-site:not(.nd-front) #content-in{padding:0 12px;gap:20px}.nd-site:not(.nd-front) #main{padding:12px 4px;margin:0;width:100%}.nd-site.single #main .article-header h1.entry-title{font-size:24px}.nd-site.single .entry-content>p:not([class]){font-size:16px}.nd-site.nd-archive #list{gap:12px}.nd-site.nd-archive #list .entry-card-content{padding:10px}.nd-site.nd-archive #list .entry-card-title{font-size:14px;line-height:1.65}.nd-site.nd-archive #list .entry-card-meta{font-size:10px}.nd-site.nd-archive #list .entry-card-thumb{aspect-ratio:4/3}
}
@media(prefers-reduced-motion:reduce){.nd-site .nd-home,.nd-site .nd-masthead{scroll-behavior:auto}}
