@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
*/
/* Homepage — approved design, 2026-10-06 */
.home.page .entry-title,.home.page .date-tags,.home.page .author-info{display:none}
.home.page:has(.cm-home){background:#fff8f6;color:#382a2d}
.home:has(.cm-home) .content,.home:has(.cm-home) .article,.home:has(.cm-home) .entry-content{margin:0}
.home:has(.cm-home) .content-in,.home:has(.cm-home) .main{width:100%;max-width:none;padding:0;background:transparent;border:0}
.home:has(.cm-home) .header-container{background:#fff8f6;box-shadow:none;border-bottom:1px solid #f7d5d2}
.home:has(.cm-home) .header-container-in{max-width:1160px;padding:0 24px}
.home:has(.cm-home) .navi{background:transparent}
.home:has(.cm-home) .navi a{color:#382a2d;font-weight:700;font-size:15px}
.home:has(.cm-home) .logo-header a{font-size:24px;font-weight:900;color:#382a2d;text-decoration:none}
.home:has(.cm-home) .logo-header img{max-height:48px;width:auto}
.cm-home{--cm-ink:#382a2d;--cm-muted:#786b70;--cm-pink:#ff498e;--cm-coral:#ff886c;--cm-line:#f6d4cf;font-family:'Hiragino Maru Gothic ProN','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;color:var(--cm-ink);font-size:17px;line-height:1.9;max-width:none!important;margin:0!important;padding:0}
.cm-home .wp-block-group{margin-block:0}
.cm-home .is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width:none}
.cm-home p{margin:0 0 22px}
.cm-home figure{margin:0}
.cm-home a{color:#bd2b61;text-underline-offset:5px;overflow-wrap:anywhere}
.cm-home a:focus-visible,.cm-home input:focus-visible,.cm-home textarea:focus-visible{outline:3px solid #9e2253;outline-offset:5px}
.home .article .cm-home h1,.home .article .cm-home h2,.home .article .cm-home h3{font-family:inherit;background:none;border:0;box-shadow:none;padding:0;color:var(--cm-ink);font-weight:900;letter-spacing:.025em}
.home .article .cm-home h1{font-size:clamp(34px,4.2vw,56px);line-height:1.55;margin:20px 0 26px;color:white}
.home .article .cm-home h2{font-size:clamp(27px,3vw,38px);line-height:1.5;display:flex;gap:15px;align-items:center;margin:0 0 36px}
.home .article .cm-home h2:before{content:'';display:block;flex:0 0 8px;width:8px;height:36px;border-radius:8px;background:linear-gradient(var(--cm-coral),var(--cm-pink))}
.home .article .cm-home h3{font-size:21px;line-height:1.5;margin:0 0 18px;color:#ca3268}
.cm-home .cm-section{max-width:1160px!important;margin-inline:auto!important;padding:76px 24px;scroll-margin-top:110px}
.cm-home .cm-hero{background:linear-gradient(115deg,#ff886c 0%,#ff627b 50%,#ff498e 100%);color:#fff;padding:56px 24px 0}
.cm-home .cm-hero .wp-block-columns{display:grid;grid-template-columns:1.12fr 1fr;gap:64px;align-items:center;max-width:1112px!important;margin:0 auto}
.cm-home .wp-block-column{min-width:0}
.cm-home .cm-hero .wp-block-column:first-child{padding:24px 0 58px}
.cm-home .cm-eyebrow{font-size:14px;font-weight:700;margin:0 0 16px}
.cm-home .cm-hero p{max-width:540px}
.cm-home .cm-portrait img{display:block;width:100%;height:610px;object-fit:cover;object-position:right center;border-radius:260px 260px 0 0;border:2px solid #ffffff80;border-bottom:0}
.cm-home .cm-link{font-weight:700;font-size:16px;margin:28px 0 0}
.cm-home .cm-link a{display:inline-flex;align-items:center;gap:16px;min-height:46px}
.cm-home .cm-hero .cm-link{display:inline-block;margin:14px 12px 0 0}
.cm-home .cm-hero .cm-link a{border:2px solid #fff;border-radius:60px;color:#fff;text-decoration:none;padding:14px 26px;min-height:56px}
.cm-home .cm-hero .cm-link-primary a{background:#fff;color:#bc285b}
.cm-home .cm-hero .cm-link a:hover{background:#fff;color:#bc285b}
.cm-home .cm-themes .wp-block-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0}
.cm-home .cm-themes .wp-block-column{padding:32px 28px;border:1px solid var(--cm-line);background:#fff;border-radius:24px}
.cm-home .cm-themes .wp-block-column:nth-child(2){background:#ffe4de;border-color:#ffe4de}
.cm-home .cm-themes .wp-block-column p{font-size:16px;color:var(--cm-muted);margin:0}
.cm-home .cm-news{padding-top:12px}
.cm-home .cm-news .new-list-box{display:block;margin:0;border:0}
.cm-home .cm-news .new-entry-card-link{display:block;background:transparent;border:0;border-top:1px solid var(--cm-line);border-radius:0;margin:0;padding:22px 4px;color:var(--cm-ink);text-decoration:none}
.cm-home .cm-news .new-entry-card-link:last-child{border-bottom:1px solid var(--cm-line)}
.cm-home .cm-news .new-entry-card-link:hover{background:#ffece7}
.cm-home .cm-news .new-entry-card{padding:0;min-height:44px;display:block}
.cm-home .cm-news .new-entry-card-thumb{display:none}
.cm-home .cm-news .new-entry-card-content{margin:0;padding:0;display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:28px}
.cm-home .cm-news .new-entry-card-title{font-size:18px;font-weight:500;line-height:1.7}
.cm-home .cm-news .new-entry-card-date{flex-shrink:0;width:110px;font-size:14px;color:var(--cm-muted)}
.cm-home .cm-news .cm-link{text-align:right}
.cm-home .cm-profile .wp-block-columns{display:grid;grid-template-columns:.85fr 1.15fr;gap:56px;align-items:center;margin:0}
.cm-home .cm-profile-photo img{display:block;width:100%;height:480px;object-fit:cover;object-position:right center;border-radius:32px}
.cm-home .cm-profile .cm-profile-detail{margin-top:32px;max-width:900px!important;margin-inline:auto}
.cm-home .cm-profile-detail img{width:100%;height:auto}
.cm-home .cm-record{padding-top:0}
.cm-home .cm-record .wp-block-columns{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin:0}
.cm-home .cm-record .wp-block-column{padding:32px;border:1px solid var(--cm-line);border-radius:24px;background:#fff}
.cm-home .cm-contact{max-width:none!important;background:#ffe4de;padding:76px 24px}
.cm-home .cm-contact-inner{max-width:820px!important;margin:auto!important;background:#fff;border-radius:32px;padding:48px}
.cm-home .cm-contact-inner>p{color:var(--cm-muted)}
.cm-home .wpcf7{margin-top:30px}
.cm-home .wpcf7 label{font-size:16px;font-weight:700}
.cm-home .wpcf7 input:not([type=submit]),.cm-home .wpcf7 textarea{box-sizing:border-box;width:100%;max-width:100%;border:1px solid var(--cm-line);background:#fff8f6;border-radius:14px;padding:16px;font:inherit;min-height:54px;margin-top:8px}
.cm-home .wpcf7 textarea{min-height:180px}
.cm-home .wpcf7 input[type=submit]{width:100%;color:#fff;background:linear-gradient(115deg,#f57963,#e92878);border:0;border-radius:60px;min-height:60px;padding:15px 32px;font:inherit;font-weight:700;cursor:pointer}
.cm-home .wpcf7 input[type=submit]:hover{filter:brightness(.95)}
.cm-home .cm-footer{padding:30px 24px;text-align:center;font-size:14px;background:#fff8f6}
@media(max-width:1023px){.cm-home .cm-hero .wp-block-columns{gap:32px}.cm-home .cm-portrait img{height:530px}.cm-home .cm-themes .wp-block-column{padding:26px 20px}.cm-home .cm-profile .wp-block-columns{gap:32px}}
@media(max-width:767px){.cm-home{font-size:16px}.cm-home .cm-section{padding:52px 22px}.cm-home .cm-hero{padding:32px 22px 0}.cm-home .cm-hero .wp-block-columns{grid-template-columns:1fr;gap:0}.cm-home .cm-hero .wp-block-column:first-child{padding:8px 0 32px}.home .article .cm-home h1{font-size:clamp(32px,7.8vw,44px);line-height:1.55}.cm-home .cm-portrait{max-width:390px;margin:auto!important}.cm-home .cm-portrait img{height:440px}.cm-home .cm-themes .wp-block-columns,.cm-home .cm-profile .wp-block-columns,.cm-home .cm-record .wp-block-columns{grid-template-columns:1fr;gap:22px}.cm-home .cm-news .new-entry-card-content{flex-direction:column-reverse;align-items:flex-start;gap:8px}.cm-home .cm-news .new-entry-card-title{font-size:16px}.cm-home .cm-profile-photo{max-width:390px;margin:auto!important}.cm-home .cm-profile-photo img{height:420px}.cm-home .cm-contact{padding:48px 16px}.cm-home .cm-contact-inner{padding:30px 22px;border-radius:24px}.home .article .cm-home h2{font-size:28px;margin-bottom:28px}.cm-home .cm-record{padding-top:0}.cm-home .cm-hero .cm-link a{font-size:14px;padding:12px 18px}.cm-home .cm-footer{padding:24px 16px}}
@media(max-width:389px){.cm-home .cm-section{padding-inline:18px}.cm-home .cm-hero{padding-inline:18px}.home .article .cm-home h1{font-size:30px}.cm-home .cm-portrait img{height:390px}}
@media(prefers-reduced-motion:reduce){.cm-home *{transition:none;scroll-behavior:auto}}

/* Editable homepage navigation */
.home:has(.cm-home) .header-container,.home:has(.cm-home) #footer,.home:has(.cm-home) .footer{display:none}
.cm-home .cm-nav{position:sticky;top:0;z-index:20;background:#fff8f6;border-bottom:1px solid var(--cm-line);padding:10px 24px}
.admin-bar .cm-home .cm-nav{top:32px}
.cm-home .cm-nav .wp-block-columns{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;max-width:1112px!important;margin:auto}
.cm-home .cm-nav p{margin:0}
.cm-home .cm-brand a{font-size:24px;font-weight:900;color:var(--cm-ink);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.cm-home .cm-nav-links{display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.cm-home .cm-nav-links a{color:var(--cm-ink);font-weight:700;font-size:15px;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.cm-home .cm-nav-links a:hover{color:#bd2b61}
@media(max-width:767px){.cm-home .cm-nav{padding:8px 18px}.admin-bar .cm-home .cm-nav{top:46px}.cm-home .cm-nav .wp-block-columns{grid-template-columns:1fr;gap:0}.cm-home .cm-nav-links{gap:8px 16px}.cm-home .cm-nav-links a{font-size:12px;min-height:36px}.cm-home .cm-brand a{font-size:22px;min-height:34px}.cm-home .cm-hero .cm-link{margin-right:8px}}

/* Full-width sections and final typography */
.cm-home > *{max-width:none!important}
.home .article .cm-home h1,.home .article .cm-home h2,.home .article .cm-home h3{font-family:'Arial Rounded MT Bold','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;font-weight:900}
.cm-home .cm-hero .wp-block-column:last-child{align-self:end}
.cm-home .cm-news .new-entry-card-update-date,.cm-home .cm-news .new-entry-card-date .fa{display:none}
.cm-home .cm-news .new-entry-card-date{order:-1}

.home:has(.cm-home) .mobile-footer-menu-buttons{display:none}
@media(max-width:767px){.cm-home .cm-news .new-entry-card-content{flex-direction:column}.cm-home .cm-news .new-entry-card-date{order:-1}}

.cm-home .cm-news .new-entry-card-content{flex-direction:row}
.cm-home .cm-news .new-entry-card-meta{order:-1;flex-shrink:0;margin:0}
@media(max-width:767px){.cm-home .cm-news .new-entry-card-content{flex-direction:column}}

/* Requested photograph and news alignment */
.cm-home .cm-portrait img{object-position:center center}
.cm-home .cm-profile-photo img{object-position:40% center}
.cm-home .cm-news{width:100%;box-sizing:border-box;margin-left:auto!important;margin-right:auto!important}
.home .article .cm-home .cm-news h2{justify-content:center;text-align:center}
.cm-home .cm-news .new-list-box{width:100%;margin-inline:auto!important}
.cm-home .cm-news .cm-link{text-align:center}

.cm-home .cm-news .new-entry-card-content{justify-content:center}

/* Approved diagonal portrait hero — 2026-10-06 */
.cm-home .cm-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#ff886c,#ff498e);padding:30px 24px 0}
.cm-home .cm-hero::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(125deg,#edbddf,#d98ec2);clip-path:polygon(57% 0,100% 0,100% 100%,82% 100%)}
.cm-home .cm-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:#fff8f6;clip-path:polygon(0 100%,100% 68%,100% 100%)}
.cm-home .cm-hero .wp-block-columns{max-width:1112px!important;min-height:660px;grid-template-columns:1.15fr 1fr;gap:24px;align-items:end}
.cm-home .cm-hero .wp-block-column:first-child{padding:32px 0 140px}
.cm-home .cm-hero .cm-eyebrow{font-size:24px;line-height:1.5;margin:0 0 24px;font-weight:700}
.cm-home .cm-hero .cm-eyebrow strong{font-size:44px;font-weight:900}
.home .article .cm-home .cm-hero h1{font-size:clamp(36px,4.2vw,54px);line-height:1.45;margin:0 0 24px}
.cm-home .cm-portrait{margin:0!important;border:0;border-radius:0;background:transparent;overflow:visible}
.cm-home .cm-portrait img{display:block;width:100%;height:650px;object-fit:contain;object-position:center bottom;border-radius:0;background:transparent}
.cm-home .cm-hero .cm-link a{background:#fff;color:#652645;border:0;box-shadow:0 5px 14px #77284520}
@media(max-width:1023px) and (min-width:768px){.cm-home .cm-hero .wp-block-columns{min-height:600px;gap:16px}.cm-home .cm-portrait img{height:590px}.cm-home .cm-hero .wp-block-column:first-child{padding-bottom:125px}.cm-home .cm-hero .cm-eyebrow strong{font-size:38px}}
@media(max-width:767px){.cm-home .cm-hero{padding:28px 22px 0}.cm-home .cm-hero::before{clip-path:polygon(100% 10%,100% 100%,20% 100%)}.cm-home .cm-hero::after{clip-path:polygon(0 100%,100% 84%,100% 100%)}.cm-home .cm-hero .wp-block-columns{grid-template-columns:1fr;min-height:0;gap:0}.cm-home .cm-hero .wp-block-column:first-child{padding:0 0 24px}.cm-home .cm-hero .cm-eyebrow{font-size:20px;margin-bottom:20px}.cm-home .cm-hero .cm-eyebrow strong{font-size:36px}.home .article .cm-home .cm-hero h1{font-size:clamp(28px,7.5vw,40px)}.cm-home .cm-portrait{max-width:390px;margin:auto!important}.cm-home .cm-portrait img{height:480px}.cm-home .cm-hero .cm-link a{padding:12px 16px}}
@media(max-width:389px){.cm-home .cm-hero{padding-inline:18px}.cm-home .cm-portrait img{height:410px}}

.cm-home .cm-portrait img{border:0}
