/* chiba-style: a calm, photo-led weekend journal. Home shortcode only. */
.ec-home-page {
 --ec-paper: #f3f5f3; --ec-ink: #192e30; --ec-ink-2: #344647; --ec-mute: #596867;
 --ec-line: #d4d8d0; --ec-accent: #ad3c27;
 background: var(--ec-paper); color: var(--ec-ink);
}
:is(body,#body_wrap).ec-home-page::before,
:is(body,#body_wrap).ec-home-page::after { display: none; }
.ec-home-page .l-header__bar { display: none; }
.ec-home-page .l-header { background: #fff; box-shadow: none; border-bottom: 1px solid #d4d8d0; }
.ec-home-page .l-header::before { display: none; }
.ec-home-page .c-gnav > .menu-item > a { color: #192e30; }
.ec-home-page .l-mainContent { padding-right: 0; }
.ec-home-page .post_content { line-height: 1.75; }
.ec-home.ec-home--with-sidebar { color: #192e30; gap: 40px; }
.ec-home .ec-home-main { gap: 0; }
.ec-home .ec-home-hero { grid-template-columns: minmax(0,1fr); margin-top: 22px; padding: 28px; overflow: hidden; background: #fff; color: #192e30; border: 1px solid #e0e4df; border-radius: 16px; isolation: auto; }
.ec-home .ec-home-hero::before,.ec-home .ec-home-hero::after { display: none; }
.ec-home .ec-home-hero__copy { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: 'date quick' 'title quick' 'regions quick' 'future quick'; align-items: center; column-gap: 32px; row-gap: 12px; }
.ec-home .ec-home-hero__regions { grid-area: regions; margin: 0; color: #596867; font-size: 11px; letter-spacing: .06em; }
.ec-home .ec-home-hero__date { grid-area: date; justify-self: start; padding: 0; background: none; color: #596867; border-radius: 0; font-size: 12px; letter-spacing: .08em; }
.ec-home .ec-home-hero__date::before { background: #ad3c27; width: 6px; height: 6px; }
.ec-home .ec-home-hero__title { grid-area: title; max-width: 18em; color: #192e30; font-size: clamp(30px,3.6vw,51px); font-weight: 750; line-height: 1.3; letter-spacing: -.035em; text-wrap: balance; }
.ec-home .ec-home-quick { grid-area: quick; display: flex; gap: 0; margin: 0; border: 1px solid #d4d8d0; background: #fffdf8; }
.ec-home .ec-home-quick__item { min-width: 76px; padding: 12px 15px; gap: 6px; border-radius: 0; box-shadow: none; background: none; transform: none; transition: background .2s; }
.ec-home .ec-home-quick__item + .ec-home-quick__item { border-left: 1px solid #d4d8d0; }
.ec-home .ec-home-quick__item:hover { background: #eceee6; box-shadow: none; transform: none; }
.ec-home .ec-home-quick__label { color: #344647; font-size: 11px; }
.ec-home .ec-home-quick__label::before { display: none; }
.ec-home .ec-home-quick__count { color: #596867; font-size: 11px; }
.ec-home .ec-home-quick__count strong { color: #192e30; font-size: 28px; font-weight: 500; letter-spacing: -.04em; }
.ec-home .ec-home-upcoming-link { grid-area: future; color: #ad3c27; font-size: 12px; text-decoration-thickness: 1px; }
.ec-home .ec-home-upcoming-link:focus-visible { outline-color: #ad3c27; }
.ec-home .ec-home-hero--with-photos { grid-template-columns: minmax(0,.95fr) minmax(0,1.15fr); gap: 26px; align-items: center; }
.ec-home .ec-home-hero--with-photos .ec-home-hero__copy { grid-template-columns: minmax(0,1fr); grid-template-areas: 'date' 'title' 'regions' 'quick' 'future'; gap: 18px; }
.ec-home .ec-home-hero--with-photos .ec-home-hero__title { font-size: clamp(30px,3.1vw,44px); }
.ec-home .ec-home-hero__mosaic { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); grid-template-rows: repeat(2,minmax(0,1fr)); gap: 8px; height: 330px; min-height: 0; max-height: none; }
.ec-home .ec-home-hero__mosaic--1 { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr); }
.ec-home .ec-home-hero__mosaic--2 { grid-template-rows: minmax(0,1fr); }
.ec-home .ec-home-hero__photo { min-width: 0; min-height: 0; border: 0; border-radius: 10px; box-shadow: none; background: #e1e5dc; transform: none; animation: none; }
.ec-home .ec-home-hero__photo:hover { transform: none; }
.ec-home .ec-home-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ec-home .ec-home-hero__caption { position: absolute; inset: auto 0 0; padding: 36px 14px 14px; background: linear-gradient(transparent,rgba(12,30,26,.88)); color: #fff; }
.ec-home .ec-home-hero__caption > span { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.ec-home .ec-home-hero__caption > strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.6; }
.ec-home .ec-home-editorial { padding-top: 22px; }
.ec-home .ec-home-editorial__selector { margin-bottom: 18px; padding: 18px; background: #fff; border: 1px solid #e0e4df; border-radius: 12px; }
.ec-home .ec-home-editorial__selector-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 12px; }
.ec-home .ec-home-editorial__label { margin: 0; color: #192e30; font-size: 14px; font-weight: 700; }
.ec-home .ec-home-editorial__hint { margin: 0; color: #596867; font-size: 11px; }
.ec-home .ec-home-editorial__tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; padding: 0; margin: 0; }
.ec-home .ec-home-editorial__tab { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 48px; padding: 9px 12px; border: 1px solid #c5cec8; border-radius: 7px; color: #344647; background: #f5f7f4; font-size: 13px; font-weight: 600; text-decoration: none; transition: color .18s,background .18s; }
.ec-home .ec-home-editorial__tab:hover { color: #192e30; background: #e6ede7; border-color: #6b8275; }
.ec-home .ec-home-editorial__tab[aria-selected="true"] { color: #fff; background: #192e30; border-color: #192e30; font-weight: 800; box-shadow: inset 0 -4px 0 #88b9a2; }
.ec-home .ec-home-editorial__panel[hidden] { display: none !important; }
.ec-home [data-ec-editorial-popular-list][hidden] { display: none !important; }
.ec-home .ec-home-editorial__lead { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(250px,1fr); gap: 24px; align-items: start; padding-bottom: 0; border: 0; }
.ec-home .ec-home-feature { min-width: 0; background: #fff; border: 1px solid #e0e4df; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgb(25 46 48 / 4%); }
.ec-home .ec-home-feature__media { position: relative; display: block; width: 100%; overflow: hidden; aspect-ratio: 16/10; background: #e1e5dc; }
.ec-home .ec-home-feature__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.ec-home .ec-home-feature__media:hover .ec-home-feature__img { transform: scale(1.025); }
.ec-home .ec-home-feature__body { display: block; padding: 22px; }
.ec-home .ec-home-feature__eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 10px; color: #ad3c27; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.ec-home .ec-home-feature__title { margin: 0 0 14px; padding: 0; border: 0; background: none; color: #192e30; font-size: clamp(20px,1.8vw,28px); line-height: 1.55; letter-spacing: -.025em; font-weight: 700; }
.ec-home .ec-home-feature__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none; }
.ec-home .ec-home-feature__date,.ec-home .ec-home-feature__place { display: block; margin: 6px 0; color: #596867; font-size: 12px; line-height: 1.7; }
.ec-home .ec-home-feature__link { display: block; padding: 0; color: #192e30; text-decoration: none; }
.ec-home .ec-home-feature__link:hover .ec-home-feature__title { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.ec-home .ec-home-popular { min-width: 0; padding: 4px 22px 20px; background: #fff; border: 1px solid #e0e4df; border-radius: 12px; box-shadow: 0 4px 18px rgb(25 46 48 / 4%); }
.ec-home .ec-home-popular > h2,.ec-home .ec-home-popular > .ec-ui-heading { margin: 0; padding: 15px 0; color: #192e30; background: none; border: 0; font-size: 17px; letter-spacing: -.015em; }
.ec-home .ec-home-popular__list { margin: 0; padding: 0; list-style: none; }
.ec-home .ec-home-popular__list > li { margin: 0; padding: 0; border-top: 1px solid #d4d8d0; }
.ec-home .ec-home-popular__list > li > a { display: grid; grid-template-columns: 30px minmax(0,1fr); column-gap: 12px; row-gap: 6px; padding: 15px 0; color: #192e30; text-decoration: none; }
.ec-home .ec-home-popular__rank { grid-column: 1; grid-row: 1 / span 3; color: #ad3c27; font-family: Georgia,'Times New Roman',serif; font-size: 25px; font-weight: 400; line-height: 1.2; }
.ec-home .ec-home-popular__copy { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; }
.ec-home .ec-home-popular__copy .ec-home-popular__title { flex-basis: 100%; }
.ec-home .ec-home-popular__title { grid-column: 2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #192e30; font-size: 13px; font-weight: 650; line-height: 1.7; }
.ec-home .ec-home-popular__date,.ec-home .ec-home-popular__status,.ec-home .ec-home-popular__views { grid-column: 2; color: #596867; font-size: 10px; line-height: 1.6; }
.ec-home .ec-home-popular__list > li > a:hover .ec-home-popular__title { text-decoration: underline; text-underline-offset: 3px; }
.ec-home .ec-home-editorial__week,.ec-home .ec-home-main > :is(.ec-home-section,.ec-sub-areas) { margin-top: 24px; padding: 24px; background: #fff; border: 1px solid #e0e4df; border-radius: 12px; }
.ec-home .ec-home-editorial__week h2,.ec-home .ec-home-editorial__week > .ec-ui-heading { margin: 0; padding: 0; color: #192e30; font-size: 22px; border: 0; background: none; }
.ec-home .ec-home-editorial__week .ec-home-section__head { margin-bottom: 22px; align-items: center; }
.ec-home .ec-home-editorial__week .ec-home-section__head > a { color: #596867; font-size: 12px; }
.ec-home .ec-home-events__grid { gap: 24px; }
.ec-home .ec-home-event { display: flex; flex-direction: column; min-width: 0; border: 1px solid #e0e4df; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 12px rgb(25 46 48 / 3%); background: #fff; transform: none; }
.ec-home .ec-home-event:hover { transform: none; box-shadow: 0 6px 20px rgb(25 46 48 / 8%); border-color: #bac6bf; }
.ec-home .ec-home-event__media { display: block; width: 100%; min-height: 0; aspect-ratio: 3/2; border-radius: 0; background: #e1e5dc; }
.ec-home .ec-home-event__img { object-fit: cover; }
.ec-home .ec-home-event__body { padding: 16px; }
.ec-home .ec-home-event__title { color: #192e30; font-size: 14px; font-weight: 650; line-height: 1.8; }
.ec-home .ec-home-event__date { color: #ad3c27; font-size: 11px; }
.ec-home .ec-home-event__place { color: #596867; font-size: 11px; }
.ec-home .ec-home-card-metric,.ec-home .ec-card-views { color: #596867; font-size: 11px; font-variant-numeric: tabular-nums; }
.ec-home .ec-badge { border-radius: 2px; box-shadow: none; font-size: 10px; padding: 3px 6px; }
.ec-home .ec-home-future { margin: 36px 0; }
.ec-home .ec-future-weeks { background: #fff; border: 1px solid #e0e4df; border-radius: 12px; padding: 24px; box-shadow: 0 4px 18px rgb(25 46 48 / 4%); }
.ec-home .ec-future-weeks__week { background: transparent; border-color: #bac6b8; border-radius: 2px; }
.ec-home .ec-future-weeks__week[aria-current] { background: #192e30; color: #fffdf8; border-color: #192e30; }
.ec-home .ec-home-sidebar__inner { padding: 20px 16px; border: 1px solid #e0e4df; border-radius: 12px; background: #fff; box-shadow: 0 4px 18px rgb(25 46 48 / 4%); }
.ec-home .ec-home-sidebar__title { color: #192e30; font-size: 13px; letter-spacing: .04em; }
.ec-home .ec-home-sidebar a { gap: 6px; padding: 10px 8px; border: 1px solid #e1e6e1; border-radius: 6px; background: #f5f7f4; color: #344647; font-size: 12px; min-height: 44px; align-items: center; }
.ec-home .ec-home-sidebar a:hover { color: #192e30; background: #e6ede7; border-color: #8c9f92; text-decoration: none; }
.ec-home .ec-home-sidebar a > span { flex: 0 0 auto; color: #607c6b; }
.ec-home .ec-home-sidebar__area-group { margin-top: 18px; padding-top: 16px; border-top: 1px solid #d4d8d0; }
.ec-home .ec-home-sidebar__group-label { margin: 0 0 10px; color: #596867; font-size: 11px; font-weight: 700; }
.ec-home .ec-home-sidebar__areas { margin: 0; padding: 0; border: 0; }
.ec-home .ec-article-views { color: #596867; font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ec-home .ec-home-popular__more { display: inline-block; margin-top: 16px; padding: 6px 0; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.ec-home .ec-home-ended-toggle { display: block; margin: 0 0 14px auto; padding: 8px 12px; min-height: 44px; border: 1px solid #c5cec8; border-radius: 6px; color: #344647; background: #fff; font: inherit; font-size: 11px; cursor: pointer; }
.ec-home .ec-home-ended-toggle:hover { background: #e6ede7; }
.ec-home .ec-home-ended-toggle[aria-pressed="true"] { color: #fff; background: #192e30; border-color: #192e30; }
.ec-home .ec-home-ended-toggle[hidden],.ec-home [data-ec-home-ended][hidden],.ec-home .ec-home-empty[hidden] { display: none !important; }
.ec-ended-events-control { display: flex; align-items: center; justify-content: flex-end; margin: 18px 0; }
.ec-listing-views { display: inline-block; color: #596867; font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ec-home .ec-home-tiles { margin: 36px 0; }
.ec-home .ec-home-area-content[hidden] { display: none !important; }
.ec-home .ec-home-area-content > .ec-home-section { margin-top: 24px; padding: 24px; background: #fff; border: 1px solid #e0e4df; border-radius: 12px; }
.ec-home .ec-home-tile { border: 1px solid #d8dfda; border-bottom: 5px solid var(--ec-tile-accent, #33755b); }
.ec-home .ec-home-area-content .ec-home-tile { animation: none; }
.ec-home .ec-home-tile__body { background: #fff; background: linear-gradient(90deg, color-mix(in srgb, var(--ec-tile-accent, #33755b) 16%, white), #fff); color: #192e30; padding-top: 10px; padding-bottom: 10px; }
.ec-home .ec-home-tile__label { color: #192e30; text-shadow: none; }
.ec-home .ec-home-tile__meta { background: #fff; color: #344647; }
.ec-home .ec-home-sidebar__inner > nav > a:nth-child(1) { background: #e7f1f7; border-color: #b4cfdf; color: #245572; }
.ec-home .ec-home-sidebar__inner > nav > a:nth-child(2) { background: #fcf0df; border-color: #e6c99c; color: #78501a; }
.ec-home .ec-home-sidebar__inner > nav > a:nth-child(3) { background: #f1eaf7; border-color: #d4c1e2; color: #68457c; }
.ec-home .ec-home-sidebar__areas a { border-left: 4px solid #60927c; background: #edf5f0; }
.ec-home-page a.ec-area-ranking-link { color: #78501a; background: #fcf0df; border-radius: 5px; }
.ec-home-page a.ec-area-ranking-link:hover { color: #5c3b10; background: #f7e2c0; }
@media (max-width:480px) { .ec-home .ec-home-area-content > .ec-home-section { padding: 16px 12px; } }
.ec-home a:focus-visible,.ec-home button:focus-visible { outline: 2px solid #ad3c27; outline-offset: 4px; }
@media (min-width:1200px) { .ec-home.ec-home--with-sidebar { grid-template-columns: minmax(0,1fr) 170px; gap: 38px; } }
@media (max-width:1100px) { .ec-home .ec-home-editorial__lead { gap: 24px; } .ec-home .ec-home-hero__copy { column-gap: 20px; } }
@media (max-width:800px) {
 .ec-home .ec-home-hero--with-photos { grid-template-columns: minmax(0,1fr); gap: 22px; }
 .ec-home .ec-home-hero__mosaic { height: 280px; }
 .ec-home .ec-home-hero__copy { grid-template-columns: 1fr; grid-template-areas: 'date' 'title' 'regions' 'quick' 'future'; gap: 14px; }
 .ec-home .ec-home-quick { justify-self: start; }
 .ec-home .ec-home-quick__item { min-width: 92px; }
 .ec-home .ec-home-editorial__lead { grid-template-columns: minmax(0,1fr); gap: 30px; }
 .ec-home .ec-home-popular__list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; }
 .ec-home .ec-home-feature__title { font-size: 23px; }
}
@media (max-width:480px) {
 .ec-home .ec-home-hero { margin-top: 16px; padding: 20px 16px; }
 .ec-home .ec-home-hero--with-photos .ec-home-hero__title { font-size: clamp(27px,7.6vw,35px); }
 .ec-home .ec-home-hero__mosaic { height: 220px; gap: 6px; }
 .ec-home .ec-home-hero__caption { padding: 28px 10px 10px; }
 .ec-home .ec-home-hero__caption > strong { font-size: 11px; }
 .ec-home .ec-home-editorial__week,.ec-home .ec-home-main > :is(.ec-home-section,.ec-sub-areas) { padding: 16px 12px; }
 .ec-home .ec-home-hero__title { font-size: clamp(27px,7.6vw,35px); }
 .ec-home .ec-home-quick { width: 100%; }
 .ec-home .ec-home-quick__item { flex: 1 1 0; min-width: 0; padding: 10px 12px; }
 .ec-home .ec-home-editorial { padding-top: 16px; }
 .ec-home .ec-home-editorial__selector { padding: 14px 10px; }
 .ec-home .ec-home-editorial__tabs { gap: 4px; padding: 0; }
 .ec-home .ec-home-editorial__tab { padding: 8px 1px; font-size: 11px; white-space: nowrap; }
 .ec-home .ec-home-feature__body { padding: 18px; }
 .ec-home .ec-home-popular { padding: 2px 18px 18px; }
 .ec-home .ec-home-event__body { padding: 12px; }
 .ec-home .ec-home-feature__title { font-size: 21px; line-height: 1.6; }
 .ec-home .ec-home-popular__list { display: block; }
 .ec-home .ec-home-popular__title { font-size: 14px; }
 .ec-home .ec-home-events__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
 .ec-home .ec-home-event__title { font-size: 13px; }
 .ec-home .ec-future-weeks { padding: 16px; }
}
@media (prefers-reduced-motion:reduce) {
 .ec-home *, .ec-home *::before, .ec-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
