/*
Theme Name: YKN Kosodate
Author: YKN Website Project
Description: よしかわ子育てネットワークのためのシンプルなテーマ。固定ページ・お知らせ・ブログに対応。
Version: 1.2.3
Requires at least: 6.5
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: ykn-wawawa
*/
:root{--ink:#303f37;--muted:#657169;--cream:#faf8f2;--orange:#ff9e74;--green:#d6e5c5;--line:#dce2da;--accent:#78452b}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:120px}body{margin:0;color:var(--ink);background:var(--cream);font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-size:15px;line-height:1.95}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}button{font:inherit}img{max-width:100%;height:auto}a:focus-visible,button:focus-visible{outline:3px solid #225e80;outline-offset:5px}.skip{position:absolute;top:-100px;left:10px;z-index:99;background:white;padding:10px}.skip:focus{top:10px}.wrap{width:min(1120px,88%);margin:auto}.topbar{font-size:11px;letter-spacing:.14em;padding:7px 6%;border-bottom:1px solid var(--line);color:var(--muted)}header{background:var(--cream);position:sticky;top:0;z-index:10;border-bottom:1px solid var(--line)}.head{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:100px}.brand{display:flex;align-items:center;gap:16px;line-height:1.6}.brand img{width:86px}.brand small{font-size:10px;display:block}.brand strong{font-size:16px;letter-spacing:.04em}.nav{display:flex;align-items:center;gap:26px;font-size:12px;font-weight:700}.nav a:last-child{background:var(--ink);color:white;padding:12px 22px;border-radius:30px}.toggle{display:none;background:none;border:1px solid var(--line);padding:7px 13px;border-radius:20px}.hero{padding:65px 0 25px;position:relative;overflow:hidden}.hero-grid{display:grid;grid-template-columns:.9fr 1.2fr;align-items:center;gap:35px}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:700;color:var(--muted)}h1{font-size:clamp(34px,4.2vw,58px);line-height:1.55;letter-spacing:.065em;margin:23px 0;font-weight:700}h1 span{background:linear-gradient(transparent 76%,#f6c6a9 76%,#f6c6a9 91%,transparent 91%)}.intro{font-size:14px;line-height:2.15}.pill{display:inline-flex;align-items:center;gap:35px;border:1px solid var(--ink);border-radius:40px;padding:12px 25px;font-size:13px;font-weight:700;margin-top:22px}.pill b{font-size:19px;font-weight:400}.visual{position:relative;padding:23px 0 22px 10px}.visual>img{width:100%;height:415px;object-fit:cover;border-radius:140px 20px 140px 20px;display:block;position:relative;z-index:1}.visual:before{content:"";position:absolute;inset:0 -22px 0 30%;border-radius:160px 0 140px 0;background:var(--green);transform:rotate(6deg)}.stamp{position:absolute;left:-22px;bottom:0;z-index:2;background:#ffe2d2;border-radius:50%;width:116px;height:116px;display:grid;place-content:center;text-align:center;font-size:12px;line-height:1.9;transform:rotate(-10deg)}.hero-foot{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.18em;padding-top:48px}.hero-foot i{display:inline-block;width:12px;height:12px;background:var(--orange);border-radius:50%;margin-right:10px}.section{padding:85px 0}h2{font-size:30px;line-height:1.6;letter-spacing:.06em;margin:10px 0 22px}h3{line-height:1.7}.about{margin-top:35px;background:#eef0e6}.about-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:90px}.about p{margin:0;line-height:2.3;font-size:14px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.section-head h2{margin-bottom:0}.text-link{font-size:12px;border-bottom:1px solid var(--ink);padding-bottom:5px}.empty{padding:24px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);font-size:14px}.news-section{padding-bottom:30px}.business{background:#fff}.business-intro{display:flex;justify-content:space-between;align-items:end;margin-bottom:35px}.business-intro p{max-width:420px;font-size:14px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.card{padding:30px 27px;background:var(--cream);border-radius:7px;position:relative}.card:nth-child(2){background:#f4f1f6}.card:nth-child(3){background:#edf4f5}.card .num{font-size:11px;letter-spacing:.15em;color:var(--muted)}.symbol{height:90px;margin:18px 0;position:relative}.symbol .sun{position:absolute;width:65px;height:65px;border-radius:50%;background:#ffac7e;left:18px;top:10px}.symbol .triangle{position:absolute;width:0;height:0;border-left:34px solid transparent;border-right:34px solid transparent;border-bottom:65px solid #c3dba8;left:65px;top:15px}.symbol .arch{position:absolute;width:75px;height:70px;background:#dabce4;border-radius:50px 50px 0 0;left:25px;top:10px}.symbol .dot{position:absolute;background:#ffb185;width:40px;height:40px;border-radius:50%;left:80px;top:40px}.symbol .house{position:absolute;width:70px;height:55px;background:#8bc6d8;left:22px;top:30px}.symbol .house:before{content:"";position:absolute;top:-25px;border-left:35px solid transparent;border-right:35px solid transparent;border-bottom:25px solid #8bc6d8}.card h3{font-size:23px;margin:12px 0}.card p{font-size:13px;line-height:2}.card details{font-size:13px;border-top:1px solid #d6dcd5;padding-top:13px;margin-top:25px}.card summary{cursor:pointer;font-weight:700}.card details p{margin-bottom:0}.blog{border-bottom:1px solid var(--line)}.join{padding:70px 0}.join-box{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;padding:48px 60px;background:#f8dfcb;border-radius:7px;gap:50px}.join-box h2{font-size:28px}.join-box p{font-size:14px}.join-box .pill{background:var(--ink);color:white;border:0;justify-content:center;margin:0}.contact{background:#e9eee5;text-align:center}.contact h2{font-size:32px}.contact p{font-size:14px}.mail{font-size:clamp(16px,2.5vw,25px);letter-spacing:.02em;border-bottom:1px solid var(--ink);padding-bottom:8px;display:inline-block;margin:20px 0}.contact small{display:block;color:var(--muted);font-size:12px}footer{padding:45px 0 25px;background:#fff}.footer-top{display:flex;align-items:center;justify-content:space-between;gap:25px}.footer-links{display:flex;gap:25px;font-size:12px}.copyright{border-top:1px solid var(--line);padding-top:20px;margin-top:30px;font-size:10px;color:var(--muted);display:flex;justify-content:space-between}.post-list{list-style:none;padding:0}.post-list>li{padding:20px 0;border-top:1px solid var(--line)}.post-list time{font-size:12px;margin-right:22px}.article{max-width:800px;margin:60px auto;min-height:45vh;overflow-wrap:anywhere}.article h1{font-size:36px}.article img{height:auto}.article a{color:#78452b;text-decoration:underline}.article iframe{max-width:100%}.preview-note{font-size:11px;background:#fff3d9;padding:10px 6%;text-align:center;color:#685438}.blog-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.blog-cards img{aspect-ratio:1.5;object-fit:cover}.blog-cards h3{font-size:18px}.pagination{margin:30px 0}.pagination a,.pagination span{margin-right:15px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.wp-caption{max-width:100%}.alignwide{max-width:1100px}.alignfull{width:100%}
@media(max-width:900px){.nav{gap:15px}.brand strong{font-size:13px}.brand img{width:60px}.hero-grid{gap:25px}.visual>img{height:340px}h1{font-size:40px}.about-grid{gap:40px}.join-box{padding:35px}.footer-links{flex-wrap:wrap}}@media(max-width:700px){.topbar{font-size:9px}.head{min-height:80px;flex-wrap:wrap;gap:0}.brand{gap:10px}.brand strong{font-size:13px}.brand small{font-size:9px}.toggle{display:block}.nav{display:none;width:100%;padding:12px 0 25px;flex-direction:column;align-items:stretch;gap:0}.nav.open{display:flex}.nav a{padding:12px 0}.nav a:last-child{text-align:center;margin-top:10px}.hero{padding-top:30px}.hero-grid{grid-template-columns:1fr;gap:15px}h1{font-size:39px;margin:18px 0}.intro{font-size:13px}.visual{margin-left:10px}.visual>img{height:290px;border-radius:85px 12px 85px 12px}.stamp{width:92px;height:92px;font-size:10px;left:-12px}.hero-foot{padding-top:30px;font-size:9px}.section{padding:55px 0}.about{margin-top:20px}.about-grid{grid-template-columns:1fr;gap:12px}h2{font-size:25px}.section-head{gap:20px}.business-intro{display:block}.cards,.blog-cards{grid-template-columns:1fr}.card{padding:25px}.symbol{float:right;width:130px;margin:0;height:95px}.card h3{font-size:22px}.join-box{display:block;padding:30px}.join-box h2{font-size:25px}.join-box .pill{margin-top:15px}.contact h2{font-size:27px}.footer-top{display:block}.footer-links{margin-top:25px;gap:16px}.copyright{display:block}.copyright span{display:block}.news-section{padding-bottom:20px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Version 1.1: navigation, heading wrapping and charter page. */
.hero h1{font-size:clamp(26px,3.6vw,52px)}
.hero h1 span{white-space:nowrap}
.join-box>div{min-width:0}
.join-box h2{font-size:clamp(20px,2vw,28px);letter-spacing:.03em}
.join-line{display:block;white-space:nowrap}
.contact h2{white-space:nowrap}
.hamburger{display:flex;flex-direction:column;gap:5px;width:22px}
.hamburger>span{display:block;width:22px;height:2px;background:currentColor;transition:transform .2s,opacity .2s}
.toggle[aria-expanded="true"] .hamburger>span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.toggle[aria-expanded="true"] .hamburger>span:nth-child(2){opacity:0}
.toggle[aria-expanded="true"] .hamburger>span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.charter h2{font-size:24px;margin-top:48px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.charter dl{margin:20px 0 35px}
.charter dt{font-weight:700;margin-top:25px}
.charter dd{margin:8px 0 8px 1em}
.charter .subitem{padding-left:1em}
.charter .subitem-deep{padding-left:2em}
.charter .table-scroll{overflow-x:auto;margin:25px 0}
.charter table{border-collapse:collapse;width:100%;min-width:560px;font-size:14px}
.charter th,.charter td{border:1px solid var(--line);padding:12px;text-align:left;vertical-align:top}
.charter th{background:#eef0e6}
.charter .charter-updated{color:var(--muted);font-size:13px}
@media(min-width:701px) and (max-width:1000px){.head{gap:12px}.brand{gap:8px}.brand img{width:50px}.brand strong{font-size:12px}.nav{gap:12px;font-size:11px}.nav a:last-child{padding:10px 12px}}
@media(max-width:700px){
 .head{position:relative;flex-wrap:nowrap;gap:12px}
 .head>.brand{min-width:0}.head>.brand strong{font-size:clamp(10px,3vw,13px)}
 .head>.brand img{width:clamp(40px,13vw,60px)}
 .toggle{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;padding:0;border-radius:50%;color:var(--ink);cursor:pointer}
 .nav{position:absolute;top:100%;left:0;background:var(--cream);border-bottom:1px solid var(--line);padding:12px 16px 20px;box-shadow:0 12px 18px #303f3710}
 .hero h1{font-size:clamp(28px,8.8vw,39px)}
 .join-box{padding:30px clamp(20px,6vw,30px)}
 .join-box h2{font-size:clamp(16px,5.2vw,25px);letter-spacing:.02em}
 .contact h2{font-size:clamp(19px,5.8vw,27px);letter-spacing:.02em}
 .charter{font-size:14px}.charter h1{font-size:30px}.charter h2{font-size:21px}
}
@media(prefers-reduced-motion:reduce){.hamburger>span{transition:none}}

/* Version 1.1.1: approved introduction and philosophy copy. */
.about .about-grid{grid-template-columns:1fr 1.6fr;gap:64px}
.about .about-grid h2{font-size:27px;line-height:1.8;letter-spacing:.03em;margin-top:12px}
.about .about-copy{min-width:0}
.about .about-copy p{font-size:15px;line-height:2.2;margin:0}
.about .about-copy p+p{margin-top:20px}
.about .philosophy{border-top:1px solid #d5dccd;margin-top:52px;padding-top:44px}
.about .about-copy .philosophy-lead{font-size:19px;line-height:1.9}
.about .about-copy p+.philosophy-lead{margin-top:30px}
@media(max-width:900px){.about .about-grid{gap:36px}}
@media(max-width:700px){
 .about .about-grid{grid-template-columns:1fr;gap:16px}
 .about .about-grid h2{font-size:23px;line-height:1.8;margin-bottom:8px}
 .about .about-copy p{font-size:14px;line-height:2.15}
 .about .about-copy .philosophy-lead{font-size:18px}
 .about .philosophy{margin-top:36px;padding-top:30px}
}

/* Version 1.2: native WordPress tag links and blog filtering. */
.blog-filters{margin:28px 0 32px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.filter-label{font-size:13px;font-weight:700;margin:0 0 12px}
.tag-options,.post-tags{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0;max-width:100%}
.tag-options li,.post-tags li{min-width:0;max-width:100%}
.article .tag-chip{display:inline-block;max-width:100%;padding:7px 15px;border:1px solid #a2afa3;border-radius:24px;font-size:13px;line-height:1.7;color:var(--ink);background:transparent;text-decoration:none;overflow-wrap:anywhere;vertical-align:top}
.article .tag-chip:hover{background:#e9eee5;border-color:var(--ink)}
.article .tag-chip.is-active{background:var(--ink);color:#fff;border-color:var(--ink)}
.article .post-tags{margin:14px 0 24px;gap:8px}
.article .post-tags .tag-chip{font-size:12px;padding:4px 12px}
.blog-archive .post-list>li{padding:28px 0}
.blog-archive .post-list h2{font-size:25px;margin:8px 0 12px;overflow-wrap:anywhere}
.blog-archive .post-list h2 a{color:var(--ink);text-decoration:none}
.blog-archive .post-list h2 a:hover{text-decoration:underline}
.filter-status{font-size:14px;color:var(--muted);margin:0 0 25px;overflow-wrap:anywhere}
.back-to-blog{margin-top:35px;font-size:14px}
@media(max-width:700px){.blog-filters{padding:18px 0}.tag-options{gap:8px}.article .tag-options .tag-chip{padding:8px 14px}.blog-archive .post-list h2{font-size:22px}}

/* Version 1.2.2: quieter archive rows and distinct return/navigation links. */
.blog-archive .blog-filters~.post-list>li:first-child{border-top:0}
.article .back-to-blog{margin:44px 0 30px;text-align:center}
.article .archive-return{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;max-width:100%;padding:12px 28px;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:#fff;font-size:14px;font-weight:700;line-height:1.7;text-decoration:none}
.article .archive-return svg{flex-shrink:0}
.article .archive-return:hover{background:#465b4e;border-color:#465b4e;text-decoration:none}
.post-navigation{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;margin:30px 0 0;padding-top:24px;border-top:1px solid var(--line)}
.post-nav-item{min-width:0}
.post-nav-item.is-previous{grid-column:1}
.post-nav-item.is-next{grid-column:2;text-align:right}
.article .post-navigation a{display:block;padding:8px 0;color:var(--ink);text-decoration:none;overflow-wrap:anywhere}
.post-nav-label{display:block;color:var(--muted);font-size:12px;line-height:1.8;margin-bottom:6px}
.post-nav-title{display:block;font-size:14px;line-height:1.9}
.article .post-navigation a:hover .post-nav-title{text-decoration:underline;text-underline-offset:5px}
@media(max-width:700px){.post-navigation{grid-template-columns:minmax(0,1fr);gap:16px}.post-nav-item.is-next{grid-column:1}.article .back-to-blog{margin-top:36px}}

/* Version 1.2.3: news archive heading and article section labels. */
.post-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;margin:0 0 20px}
.post-meta .eyebrow{margin:0}
.post-kind{display:flex;flex-wrap:wrap;gap:6px}
.post-kind>span{display:inline-block;padding:3px 9px;border-radius:3px;background:#e9eee5;color:var(--ink);font-size:11px;line-height:1.8;letter-spacing:.03em}
.post-nav-category{display:block;font-size:11px;line-height:1.8;letter-spacing:.03em;color:var(--muted);margin:0 0 5px}
