/* Desktop editorial edition. Below 1100px the existing mobile/tablet CSS wins.
   The legacy desktop-layout class is not enabled on this edition. */
@media (min-width: 1100px) {
  #body_wrap.home.matsusai-pc-home {
    --pc-brand: #0A385A;
    --pc-ink: #192b39;
    --pc-muted: #657582;
    --pc-line: #e0e6ea;
    --pc-gap: clamp(18px, 1.6vw, 26px);
    --pc-gutter: clamp(24px, 2.4vw, 40px);
    background: #fff;
    color: var(--pc-ink);
    font-family: var(--matsusai-font-sans);
  }
  #body_wrap.home.matsusai-pc-home #content {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 var(--pc-gutter) 42px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto min-content auto;
    gap: 0 var(--pc-gap);
    align-items: start;
    box-sizing: border-box;
  }
  #body_wrap.home.matsusai-pc-home #main_content,
  #body_wrap.home.matsusai-pc-home #main_content > .l-mainContent__inner,
  #body_wrap.home.matsusai-pc-home .w-frontTop,
  #body_wrap.home.matsusai-pc-home .w-frontTop > .c-widget,
  #body_wrap.home.matsusai-pc-home .w-frontTop > .c-widget > .textwidget,
  #body_wrap.home.matsusai-pc-home .matsusai-flash { display: contents; }
  #body_wrap.home.matsusai-pc-home .matsusai-desktop-status-shell {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    margin: 0 0 22px;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--pc-line);
    background: #fff;
  }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions {
    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;
    padding: 0;
    left: auto;
    transform: none;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--pc-gap);
    align-items: center;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    color: var(--pc-ink);
  }
  #body_wrap.home.matsusai-pc-home .matsusai-promotion-band { display: none !important; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__weather,
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__roads,
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index {
    width: 100%; min-width: 0; margin: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none;
  }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__weather { grid-column: 2; grid-row: 1; display: block; padding: 0; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__weather > .matsusai-conditions__title {
    width: auto; height: auto; margin: 0 0 9px; padding: 0; border: 0; display: block;
  }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__title span {
    display: block; writing-mode: horizontal-tb; color: var(--pc-brand); font: 700 14px/1.4 var(--matsusai-font-sans); white-space: nowrap;
  }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__title strong,
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__title small,
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__weather-retry { display: none !important; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__day {
    position: relative; display: grid; grid-template-columns: 55px minmax(0, 1fr); grid-template-rows: auto auto auto;
    min-width: 0; min-height: 86px; padding: 0; gap: 5px 7px; align-items: center; border: 0;
  }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__day + .matsusai-conditions__day::before {
    content: ""; position: absolute; left: -6px; top: 4px; bottom: 4px; width: 1px; background: #e5e9ec;
  }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__day > div:first-child {
    grid-column: 1; grid-row: 1 / 4; display: flex; flex-direction: column; align-items: center; align-self: stretch; justify-content: flex-start; gap: 9px;
  }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__day > div:first-child strong { margin: 0; font-size: 13px; font-weight: 600; color: var(--pc-ink); }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__day > div:first-child > span { min-width: 0; font-size: 25px; width: 55px; line-height: 1.1; }
  #body_wrap.home.matsusai-pc-home .has-mobile-weather-icon [data-weather-field="emoji"] { display: none !important; }
  #body_wrap.home.matsusai-pc-home .matsusai-mobile-weather-icon { display: inline-flex !important; align-items: center; justify-content: center; gap: 0; }
  #body_wrap.home.matsusai-pc-home .matsusai-mobile-weather-icon svg { width: 38px; height: 38px; overflow: visible; }
  #body_wrap.home.matsusai-pc-home .matsusai-mobile-weather-icon--mixed svg { width: 31px; height: 36px; }
  #body_wrap.home.matsusai-pc-home .matsusai-mobile-weather-icon--mixed svg + svg { margin-left: -8px; margin-top: 9px; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__day p { grid-column: 2; grid-row: 1; margin: 0; padding: 0; color: var(--pc-ink); font-size: 12px; font-weight: 600; line-height: 1.45; white-space: normal; overflow: visible; text-align: left; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__temps { grid-column: 2; grid-row: 2; display: flex; align-items: baseline; flex-wrap: wrap; justify-content: flex-start; gap: 3px 8px; margin: 0; padding: 0; font-size: 10px; line-height: 1.4; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__temps span { white-space: nowrap; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__temps span:first-child { color: #cb423b; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__temps span:last-child { color: #2371b5; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__temps b { font-size: 17px; font-weight: 600; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__precip { grid-column: 2; grid-row: 3; margin: 0; padding: 0; display: flex; justify-content: flex-start; align-items: baseline; gap: 6px; color: var(--pc-muted); font-size: 11px; line-height: 1.4; text-align: left; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__precip b { color: var(--pc-ink); font-size: 14px; font-weight: 600; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__roads { grid-column: 1; grid-row: 1; padding: 0; display: block; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__roads > .matsusai-conditions__title { display: none; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__road-status { display: flex; flex-direction: column; gap: 0; overflow: hidden; border-radius: 8px; background: #fff5dd; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__alert {
    display: grid; grid-template-columns: auto minmax(0, 1fr) 12px; align-items: center; gap: 9px;
    min-height: 40px; margin: 0; padding: 9px 11px; border: 0; border-radius: 0; background: #fff5dd; text-decoration: none;
  }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__alert + .matsusai-conditions__alert { border-top: 1px solid #e9dfc7; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__alert b { width: auto; padding: 0; border: 0; color: #9a650c; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__alert span { display: block; overflow: visible; white-space: normal; color: var(--pc-ink); font-size: 13px; font-weight: 600; line-height: 1.5; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__alert i { color: #8a784e; font-size: 0; }
  #body_wrap.home.matsusai-pc-home .matsusai-conditions__alert i::before { content: "›"; font: 22px/1 Arial, sans-serif; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index {
    grid-column: 3; grid-row: 1;
    display: grid; grid-template-columns: 48px minmax(90px, 1fr) max-content; grid-template-areas: "heading heading heading" "value flow numbers" "meta meta meta" "source source source";
    align-items: center; gap: 7px 10px; padding: 0; color: var(--pc-ink);
  }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__heading { grid-area: heading; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__heading strong { color: var(--pc-brand); font-size: 14px; line-height: 1.4; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__heading small { display: none !important; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__numbers { grid-area: numbers; display: flex !important; flex-direction: column; align-items: flex-end; gap: 3px; min-width: 0; color: var(--pc-muted); line-height: 1.3; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__numbers strong { color: var(--pc-ink); font-size: 11px; font-weight: 600; white-space: nowrap; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__numbers b { font-size: 20px; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__numbers small { font-size: 9px; white-space: nowrap; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__value { grid-area: value; display: flex; align-items: baseline; gap: 2px; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__value b { font-size: 24px; color: var(--pc-brand); }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__value span { color: var(--pc-muted); font-size: 13px; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__flow { grid-area: flow; display: flex; flex-direction: column; align-items: stretch; min-width: 0; gap: 7px; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__flow strong { order: -1; color: var(--pc-brand); font-size: 16px; line-height: 1.4; white-space: nowrap; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__meter { width: 100%; height: 6px; border-radius: 8px; background: #e9eef1; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__meta { grid-area: meta; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 10px; font-size: 11px; color: var(--pc-muted); }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__meta a { color: var(--pc-brand); font-size: 12px; text-decoration: none; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__source { grid-area: source; padding: 0; margin: 0; font-size: 9px; line-height: 1.5; color: var(--pc-muted); white-space: normal; }
  #body_wrap.home.matsusai-pc-home .matsusai-traffic-index__source a { color: var(--pc-muted); }

  /* Before JS, the feature track cannot absorb a tall side column's surplus.
     After grouping, each reading column has its own continuous vertical flow. */
  #body_wrap.home.matsusai-pc-home .matsusai-pc-news-column { display: block; min-width: 0; grid-column: 2; grid-row: 2 / 4; padding: 0 var(--pc-gap) 0 0; border-right: 1px solid var(--pc-line); }
  #body_wrap.home.matsusai-pc-home .matsusai-mobile-featured { display: block !important; min-width: 0; grid-column: 1; grid-row: 2; margin: 0 0 22px; padding: 0 var(--pc-gap) 0 0; border-left: 0; border-right: 1px solid var(--pc-line); }
  #body_wrap.home.matsusai-pc-home #main_content .p-homeContent { min-width: 0; width: 100%; margin: 0 !important; padding: 0 var(--pc-gap) 0 0; grid-column: 1; grid-row: 3; border-left: 0; border-right: 1px solid var(--pc-line); background: #fff; }
  #body_wrap.home.matsusai-pc-home .w-frontBottom { min-width: 0; width: 100%; margin: 0; padding: 0; grid-column: 3; grid-row: 2 / 4; display: flex; flex-direction: column; gap: 24px; }
  #body_wrap.home.matsusai-pc-home #sidebar { grid-column: 3; grid-row: 4; width: 100%; }
  #body_wrap.home.matsusai-pc-home #sidebar:not(:has(.c-widget)) { display: none; }
  #body_wrap.home.matsusai-pc-home.has-pc-article-flow #content { grid-template-rows: auto auto auto; }
  #body_wrap.home.matsusai-pc-home.has-pc-article-flow .matsusai-pc-news-column,
  #body_wrap.home.matsusai-pc-home.has-pc-article-flow .w-frontBottom,
  #body_wrap.home.matsusai-pc-home.has-pc-article-flow #main_content .p-homeContent { grid-row: 2; }
  #body_wrap.home.matsusai-pc-home.has-pc-article-flow .p-homeContent > .matsusai-mobile-featured { width: 100%; margin: 0 0 26px; padding: 0; border: 0; }
  #body_wrap.home.matsusai-pc-home .w-frontBottom > * { margin: 0; min-width: 0; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-events { display: block !important; order: 0; }
  #body_wrap.home.matsusai-pc-home #block-2 { order: 1; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-rail-ad { order: 2; }
  #body_wrap.home.matsusai-pc-home .w-frontBottom > .widget_swell_ad_widget { order: 3; }
  #body_wrap.home.matsusai-pc-home .w-frontBottom > .widget_swell_prof_widget { order: 4; }
  #body_wrap.home.matsusai-pc-home .matsusai-desktop-news-heading { display: block; margin: 0; padding: 0 0 11px; min-height: 0; border: 0; border-bottom: 1px solid var(--pc-line); background: #fff; }
  #body_wrap.home.matsusai-pc-home .matsusai-news-heading-original,
  #body_wrap.home.matsusai-pc-home .matsusai-desktop-news-heading > div > span { display: none !important; }
  #body_wrap.home.matsusai-pc-home .matsusai-news-heading-mobile,
  #body_wrap.home.matsusai-pc-home .matsusai-mobile-featured > h2,
  #body_wrap.home.matsusai-pc-home .matsusai-pc-stories-title,
  #body_wrap.home.matsusai-pc-home .matsusai-pc-section-heading h2,
  #body_wrap.home.matsusai-pc-home #block-2 h2 {
    display: block !important; margin: 0; padding: 0 0 0 12px; min-height: 0; border: 0; border-left: 4px solid var(--pc-brand); background: none; border-radius: 0;
    color: var(--pc-ink); font-family: var(--matsusai-font-sans); font-size: 20px; font-weight: 750; line-height: 1.25; letter-spacing: 0;
  }
  #body_wrap.home.matsusai-pc-home .matsusai-mobile-featured > h2 { margin-bottom: 13px; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-stories-title { margin-bottom: 15px; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__list { display: block; margin: 0; padding: 0; border: 0; border-radius: 0; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__item {
    position: relative;
    display: grid; grid-template-columns: max-content minmax(0, 1fr) 16px; grid-template-rows: auto auto; min-height: 0; padding: 12px 1px;
    gap: 6px 10px; align-items: center; border: 0; border-bottom: 1px solid var(--pc-line); background: #fff; color: var(--pc-ink);
  }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__item time { grid-column: 1; grid-row: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 0; color: var(--pc-muted); font-size: 12px; font-weight: 400; line-height: 1.4; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__item time b { margin: 0; padding: 1px 3px; color: #bd5436; background: #fff1e9; border: 0; font: 700 9px/1.4 Arial, sans-serif; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__item-link { display: contents; color: inherit; text-decoration: none; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__item-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__item:has(a:focus-visible) { outline: 2px solid var(--pc-brand); outline-offset: 2px; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__item h3 { grid-column: 1 / 3; grid-row: 1; display: block; margin: 0; color: var(--pc-ink); font-size: 15px; font-weight: 650; line-height: 1.6; overflow: visible; letter-spacing: 0; -webkit-line-clamp: unset; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__item small { grid-column: 2; grid-row: 2; margin: 0; font-size: 12px; font-weight: 400; line-height: 1.4; color: var(--pc-muted); }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__arrow { grid-column: 3; grid-row: 1 / 3; width: 16px; height: auto; border: 0; background: none; color: #587285; font-size: 0; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__arrow::before { content: "›"; font: 24px/1 Arial, sans-serif; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__item:hover h3 { color: var(--pc-brand); text-decoration: underline; text-underline-offset: 3px; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__ad--list { display: none !important; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash > .matsusai-flash__ad--bottom { grid-column: 3; grid-row: 4; margin: 20px 0 0; padding: 0; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__pagination { margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; border: 0; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__pagination > div { display: flex; flex-wrap: wrap; gap: 5px; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__pagination a,
  #body_wrap.home.matsusai-pc-home .matsusai-flash__pagination span { width: 32px; min-width: 32px; height: 32px; min-height: 32px; padding: 0; border-radius: 50%; font-size: 12px; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__pagination > a,
  #body_wrap.home.matsusai-pc-home .matsusai-flash__pagination > span { width: 42px; border-radius: 999px; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__pagination [aria-current="page"] { background: var(--pc-brand); border-color: var(--pc-brand); }

  #body_wrap.home.matsusai-pc-home .matsusai-mobile-featured__link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
  #body_wrap.home.matsusai-pc-home .matsusai-mobile-featured__media { width: 100%; aspect-ratio: 16 / 9; margin: 0 0 10px; overflow: hidden; border-radius: 4px; }
  #body_wrap.home.matsusai-pc-home .matsusai-mobile-featured__image { display: block; width: 100%; height: 100%; object-fit: cover; }
  #body_wrap.home.matsusai-pc-home .matsusai-mobile-featured__body { display: flex; flex-direction: column; gap: 6px; }
  #body_wrap.home.matsusai-pc-home .matsusai-mobile-featured h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.55; }
  #body_wrap.home.matsusai-pc-home .matsusai-mobile-featured time { order: -1; font-size: 12px; color: var(--pc-muted); }
  #body_wrap.home.matsusai-pc-home .p-homeContent::before { content: "マツサイの記事"; display: block; margin-bottom: 15px; padding-left: 12px; border-left: 4px solid var(--pc-brand); font-size: 20px; font-weight: 750; line-height: 1.25; }
  #body_wrap.home.matsusai-pc-home .p-homeContent:has(.matsusai-pc-stories-title)::before { display: none; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .p-postList { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; margin: 0; padding: 0; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .p-postList__item { display: block; width: auto; min-width: 0; margin: 0; padding: 0; border: 0; box-shadow: none; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .matsusai-pc-featured-duplicate { display: none; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .p-postList__link { display: flex; flex-direction: column; height: auto; text-decoration: none; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .p-postList__thumb,
  #body_wrap.home.matsusai-pc-home .p-homeContent .c-postThumb__figure { width: 100%; height: auto; margin: 0; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; border: 0; border-radius: 3px; box-shadow: none; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .c-postThumb__figure::before,
  #body_wrap.home.matsusai-pc-home .p-homeContent .c-postThumb__figure::after,
  #body_wrap.home.matsusai-pc-home .p-homeContent .c-postThumb__cat { display: none; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .c-postThumb__img { width: 100%; height: 100%; object-fit: cover; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .p-postList__body { min-width: 0; padding: 9px 0 0; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .p-postList__title { margin: 0; font-size: 15px; font-weight: 650; line-height: 1.6; color: var(--pc-ink); }
  #body_wrap.home.matsusai-pc-home .p-homeContent .p-postList__meta { color: var(--pc-muted); font-size: 12px; margin: 7px 0 0; }
  /* Keep two large story images, then a readable photo-led list. Excluding the
     already-featured story avoids an empty card and keeps the lower page short. */
  #body_wrap.home.matsusai-pc-home .p-homeContent .p-postList__item:nth-child(n+3 of :not(.matsusai-pc-featured-duplicate)) { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--pc-line); }
  #body_wrap.home.matsusai-pc-home .p-homeContent .p-postList__item:nth-child(n+3 of :not(.matsusai-pc-featured-duplicate)) .p-postList__link { display: grid; grid-template-columns: 28% minmax(0, 1fr); align-items: start; gap: 13px; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .p-postList__item:nth-child(n+3 of :not(.matsusai-pc-featured-duplicate)) .p-postList__body { padding: 0; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .c-pagination { margin: 24px 0 0; gap: 5px; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .page-numbers { min-width: 34px; height: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--pc-line); box-shadow: none; color: var(--pc-ink); border-radius: 50%; font-size: 12px; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .page-numbers.current { background: var(--pc-brand); border-color: var(--pc-brand); color: #fff; }
  #body_wrap.home.matsusai-pc-home .p-homeContent .page-numbers.dots { border: 0; background: none; }

  #body_wrap.home.matsusai-pc-home .matsusai-pc-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 0 11px; border-bottom: 1px solid var(--pc-line); }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-section-heading > a { white-space: nowrap; font-size: 12px; color: var(--pc-brand); text-decoration: none; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-events__item { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--pc-line); text-decoration: none; color: inherit; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-events__item[hidden] { display: none !important; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-events__item > time { display: flex; flex-direction: column; align-items: center; padding: 7px 1px; border-radius: 4px; background: #f2f5f7; font-size: 11px; line-height: 1.4; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-events__item > time b { font-size: 20px; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-events__item h3 { margin: 0; font-size: 15px; font-weight: 650; line-height: 1.55; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-events__item p { margin: 5px 0 0; font-size: 12px; color: var(--pc-muted); line-height: 1.5; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-events__item small { font-size: 11px; color: #ad4f24; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-events__empty { margin: 14px 0 0; color: var(--pc-muted); font-size: 13px; line-height: 1.6; }
  #body_wrap.home.matsusai-pc-home #block-2 { padding: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
  #body_wrap.home.matsusai-pc-home #block-2 h2 { margin-bottom: 12px; }
  #body_wrap.home.matsusai-pc-home #block-2 h2::before,
  #body_wrap.home.matsusai-pc-home #block-2 h2::after { display: none; }
  #body_wrap.home.matsusai-pc-home #block-2 .wpp-list { counter-reset: pc-rank; margin: 0; padding: 0; list-style: none; max-height: none; overflow: visible; }
  #body_wrap.home.matsusai-pc-home #block-2 .wpp-list li { position: relative; display: grid; grid-template-columns: 35% minmax(0, 1fr); align-items: start; gap: 10px; min-height: 0; margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid var(--pc-line); overflow: visible; counter-increment: pc-rank; }
  #body_wrap.home.matsusai-pc-home #block-2 .wpp-list li::before { content: counter(pc-rank); position: absolute; z-index: 1; top: 8px; left: -3px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 2px solid #fff; border-radius: 50%; background: #0A385A; color: #fff; font: 700 12px/1 Arial, sans-serif; box-sizing: border-box; }
  #body_wrap.home.matsusai-pc-home #block-2 .wpp-list li:nth-child(1)::before { background: #b18a20; }
  #body_wrap.home.matsusai-pc-home #block-2 .wpp-list li:nth-child(2)::before { background: #7d8b98; }
  #body_wrap.home.matsusai-pc-home #block-2 .wpp-list li:nth-child(3)::before { background: #b57547; }
  #body_wrap.home.matsusai-pc-home #block-2 .wpp-list li > a:first-child { width: 100%; min-width: 0; display: block; float: none; }
  #body_wrap.home.matsusai-pc-home #block-2 img.wpp-thumbnail { display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; margin: 0 !important; object-fit: cover; border-radius: 3px; float: none !important; }
  #body_wrap.home.matsusai-pc-home #block-2 .wpp-post-title { min-width: 0; display: block; width: 100%; margin: 0; padding: 0; color: var(--pc-ink); font-size: 13px; font-weight: 650; line-height: 1.6; text-decoration: none; overflow: visible; -webkit-line-clamp: unset; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-rail-ad { width: 100%; max-width: none; min-height: 0; margin: 0; padding: 0; display: block; border: 0; border-radius: 0; background: #fff; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-rail-ad .matsusai-flash__a8-code { width: 100%; max-width: none; margin: 0; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-rail-ad .matsusai-flash__a8-code > a { display: block; width: 100%; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-rail-ad img:not([width="1"]) { width: 100%; height: auto; max-width: 100%; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-ad-disclosure { display: block !important; margin: 0 0 3px; color: #5d6972; font-size: 9px; font-weight: 400; line-height: 1.5; text-align: right; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__pc-adsense { display: block; min-height: 250px; aspect-ratio: 6 / 5; margin: 14px 0 0; background: #fff; }
  #body_wrap.home.matsusai-pc-home .matsusai-flash__pc-adsense:has([data-ad-status="unfilled"]) { min-height: 0; aspect-ratio: auto; margin: 0; }
  #body_wrap.home.matsusai-pc-home .p-profileBox { border: 0; border-radius: 10px; background: #f4f6f8; padding: 18px; box-shadow: none; }
  #body_wrap.home.matsusai-pc-home #content > .matsusai-pc-profile { grid-column: 1 / -1; grid-row: 3; width: 100%; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--pc-line); }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-profile .p-profileBox { display: grid; grid-template-columns: 76px minmax(0,1fr) auto; grid-template-areas: "icon name social" "icon text social"; gap: 7px 24px; align-items: center; margin: 0; padding: 20px 24px; text-align: left; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-profile .p-profileBox__icon { grid-area: icon; width: 76px; height: 76px; margin: 0; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-profile .p-profileBox__iconImg { position: static !important; width: 76px; height: 76px; margin: 0; border-radius: 50%; object-fit: cover; transform: none !important; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-profile .p-profileBox__name { grid-area: name; margin: 0; font-size: 15px; font-weight: 700; text-align: left; align-self: end; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-profile .p-profileBox__text { grid-area: text; max-width: 880px; margin: 0; font-size: 13px; line-height: 1.8; }
  #body_wrap.home.matsusai-pc-home .matsusai-pc-profile .c-iconList { grid-area: social; margin: 0; }
  #body_wrap.home.matsusai-pc-home #footer { margin-top: 0; border-top: 1px solid var(--pc-line); background: #fff; }
  #body_wrap.home.matsusai-pc-home #footer .l-footer__foot { padding: 26px 24px; background: #fff; color: #53616c; }
  #body_wrap.home.matsusai-pc-home #footer .l-footer__nav { justify-content: center; gap: 16px; padding: 0; }
  #body_wrap.home.matsusai-pc-home #footer .l-footer__nav a { border: 0; padding: 0; font-size: 12px; }
  #body_wrap.home.matsusai-pc-home #footer .copyright { margin: 12px 0 0; text-align: center; font-size: 11px; }
  #body_wrap.home.matsusai-pc-home a:focus-visible { outline: 2px solid #0A385A; outline-offset: 3px; }
}
