/*
Theme Name: Sakura Grace Atelier — Cocoon Child
Template: cocoon-master
Version: 0.1.0
Text Domain: sakura-grace-cocoon
License: GNU General Public License v2 or later
*/
:root{--sga-ink:#493f38;--sga-muted:#70665d;--sga-paper:#fffefa;--sga-ivory:#f6f2eb;--sga-pink:#f5e7e6;--sga-rose:#854557;--sga-line:#ddd3c8}
.sga-front{margin:0;background:var(--sga-paper);color:var(--sga-ink);font:18px/1.95 'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;letter-spacing:.035em}
.sga-front *{box-sizing:border-box}.sga-front img{display:block;max-width:100%;height:auto}.sga-front a{color:inherit;text-underline-offset:5px}.sga-front a:focus-visible{outline:3px solid var(--sga-rose);outline-offset:5px}
.sga-draft{background:#ece4dc;text-align:center;padding:8px 20px;font-size:14px}.sga-header,.sga-footer{padding:28px 4%;display:flex;gap:25px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--sga-line)}.sga-brand{display:flex;align-items:center;gap:14px;text-decoration:none;font:24px/1.5 'Yu Mincho',Georgia,serif}.sga-brand img{width:52px}.sga-brand small{display:block;font:12px/1.8 sans-serif;letter-spacing:.12em}.sga-nav{display:flex;gap:22px;flex-wrap:wrap;font-size:16px}.sga-nav a{text-decoration:none}.sga-nav a:hover{text-decoration:underline}.sga-menu{display:none}
.sga-home{margin:0}.sga-home h1,.sga-home h2,.sga-home h3{font-family:'Yu Mincho','Hiragino Mincho ProN',Georgia,serif;font-weight:500;background:none;border:0;padding:0;color:var(--sga-ink)}.sga-home h1{font-size:64px;line-height:1.55;letter-spacing:.12em;margin:22px 0}.sga-home h2{font-size:36px;line-height:1.7;letter-spacing:.06em;margin:12px 0 28px}.sga-home h3{font-size:24px;line-height:1.7;margin:18px 0}.sga-home p{margin:0 0 20px;line-height:1.95}.sga-home .wp-block-columns{display:flex;gap:42px;align-items:center;margin:30px 0}.sga-home .wp-block-column{flex:1;min-width:0}.sga-home figure{margin:0}.sga-home .sga-eyebrow{color:var(--sga-rose);font:13px/1.5 Georgia,serif;letter-spacing:.18em}.sga-section,.sga-hero{padding:90px max(24px,calc((100% - 1160px)/2))}.sga-hero{padding-top:50px;padding-bottom:75px}.sga-hero .wp-block-columns{gap:75px}.sga-home .sga-lead{font:24px/1.9 'Yu Mincho',serif}.sga-hero-image{padding:25px;background:#fff;border:1px solid #e8ded1;box-shadow:16px -20px 0 #eee5d9}.sga-hero-image img{width:100%;height:560px;object-fit:contain}.sga-art-caption{font-family:'Yu Mincho',serif;text-align:center;padding-top:20px}.sga-intro{text-align:center;border-top:1px solid var(--sga-line)}.sga-intro h2{font-size:32px}.sga-home .wp-block-button__link{display:inline-block;background:var(--sga-rose);color:white;border:1px solid var(--sga-rose);border-radius:0;padding:17px 25px;min-height:55px;font-size:17px;text-decoration:none;line-height:1.7}.sga-home .wp-block-button__link:hover{background:#703748}.sga-home .sga-text-link{font-size:17px;margin-top:18px}.sga-gift,.sga-enjoy{background:var(--sga-ivory)}.sga-gift .wp-block-columns .wp-block-columns{gap:18px;margin:18px 0}.sga-gift figure{background:white;padding:10px;border:1px solid var(--sga-line)}.sga-gift figure img{aspect-ratio:.78;object-fit:contain}.sga-home .sga-note{font-size:15px;color:var(--sga-muted);line-height:1.9}.sga-home .sga-pending{display:inline-block;border:1px solid #c7b3aa;padding:10px 15px;font-size:16px}.sga-label{color:var(--sga-rose);font-weight:bold}.sga-video-note{font-size:16px}.sga-news-empty{padding:24px 0;border-top:1px solid var(--sga-line);border-bottom:1px solid var(--sga-line);margin-top:30px}.sga-book-card{padding:20px 0}.sga-book-cover{background:#eee5d9;aspect-ratio:.8;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #d5c7b7}.sga-home .sga-book-number{font:60px/1.5 Georgia,serif;color:#84705c}.sga-book-cover p:last-child{font-size:15px}.sga-book-card h3{font-size:22px}.sga-home .sga-step-number{font:42px/1.5 Georgia,serif;color:#a8757d}.sga-enjoy .wp-block-columns{align-items:stretch}.sga-step{padding:25px;border-top:1px solid var(--sga-line)}.sga-journal{background:#f5efe9}.sga-journal .wp-block-columns{align-items:stretch}.sga-journal-card{height:100%;padding:30px;background:var(--sga-paper);border-top:2px solid #c4a8a1}.sga-journal-card h3{font-size:25px}.sga-senior figure{padding:25px;background:var(--sga-ivory)}.sga-senior figure img{max-height:470px;object-fit:contain;width:100%}.sga-about{text-align:center;background:var(--sga-pink)}.sga-signature{font:27px/1.8 Georgia,serif;color:var(--sga-rose)}.sga-footer{padding-block:40px;flex-wrap:wrap}.sga-footer small{font-size:14px}.sga-skip{position:absolute;top:-100px}.sga-skip:focus{top:10px;left:10px;background:white;z-index:9999;padding:12px}
@media(max-width:1050px){.sga-header{flex-wrap:wrap}.sga-nav{font-size:15px;gap:18px}.sga-hero .wp-block-columns{gap:35px}.sga-home h1{font-size:52px}.sga-hero-image img{height:440px}.sga-section,.sga-hero{padding-inline:32px}}
@media(max-width:760px){.sga-front{font-size:18px;letter-spacing:.015em}.sga-header{padding:20px}.sga-brand{font-size:19px}.sga-brand img{width:42px}.sga-brand small{font-size:11px}.sga-nav{width:100%;font-size:15px;gap:12px 20px}.sga-home .wp-block-columns{display:block;margin:25px 0}.sga-home .wp-block-column+.wp-block-column{margin-top:32px}.sga-section,.sga-hero{padding:60px 24px}.sga-hero{padding-top:35px}.sga-home h1{font-size:46px}.sga-home h2{font-size:30px}.sga-home h3{font-size:24px}.sga-home .sga-lead{font-size:22px}.sga-hero-image img{height:400px}.sga-gift .wp-block-columns .wp-block-columns{display:flex;gap:12px}.sga-gift .wp-block-columns .wp-block-columns .wp-block-column{margin:0}.sga-home .sga-note{font-size:15px}.sga-book-cover{aspect-ratio:1;max-width:300px;margin:auto}.sga-book-card{text-align:center}.sga-journal-card{padding:25px}.sga-intro h2{font-size:29px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.sga-entry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:30px 0}.sga-entry-grid a{overflow-wrap:anywhere}@media(max-width:760px){.sga-entry-grid{grid-template-columns:1fr}}

/* Shared reading pages */
body:not(.sga-front){background:var(--sga-ivory);color:var(--sga-ink);font-size:18px;line-height:1.95}body:not(.sga-front) #header-container,body:not(.sga-front) .header-container{background:var(--sga-paper)}body:not(.sga-front) .main{background:var(--sga-paper);border:1px solid var(--sga-line);padding:36px}body:not(.sga-front) .article h1,body:not(.sga-front) .article h2,body:not(.sga-front) .article h3{font-family:'Yu Mincho','Hiragino Mincho ProN',Georgia,serif;line-height:1.7;color:var(--sga-ink)}body:not(.sga-front) .article h2{background:var(--sga-pink);border:0;padding:18px 22px}body:not(.sga-front) .article a{color:#75404f;text-underline-offset:4px}body:not(.sga-front) .article p{line-height:1.95;margin-bottom:1.5em}.page .sns-share,.page .sns-follow,.page .date-tags{display:none}body:not(.sga-front) #navi,body:not(.sga-front) #footer{background:var(--sga-paper)}body:not(.sga-front) .wp-block-button__link{background:var(--sga-rose);color:#fff;border-radius:0;font-size:18px;line-height:1.7;padding:16px 24px}.sga-footer nav{font-size:16px;line-height:2;flex-basis:100%}.sga-home.sga-catalog .wp-block-columns{align-items:stretch}.sga-home.sga-catalog h3{font-size:23px}.sga-home.sga-catalog img{width:100%;height:auto}.sga-home.sga-catalog .sga-book-card{height:100%}@media(max-width:760px){body:not(.sga-front) .main{padding:22px 18px}body:not(.sga-front) .article h1{font-size:28px}body:not(.sga-front) .article h2{font-size:25px;padding:15px 17px}.sga-footer nav{font-size:16px}}

/* Readable filled buttons, including visited links on reading pages. */
body .article a.wp-block-button__link,body .article a.wp-block-button__link:visited,.sga-home a.wp-block-button__link,.sga-home a.wp-block-button__link:visited{color:#fff;background:#854557;text-decoration:none}
body .article a.wp-block-button__link:hover,.sga-home a.wp-block-button__link:hover{color:#fff;background:#703748}
body .article a.wp-block-button__link:focus-visible{outline:3px solid #493f38;outline-offset:4px}
