/**
 * トップページ — ECサイト風レイアウト（コンテンツ1200px / スライダー100%）
 */

:root {
    --home-text: #1c2d42;
    --home-muted: #5a6b7d;
    --home-border: #e2e6ec;
    --home-accent: #b50400;
    --home-bg: #ffffff;
    --home-shell-pad: 16px;
    --home-max: 1200px;
    --home-sidebar-width: 280px;
    --home-slider-height: 540px;
    --home-slider-center-w: min(1200px, calc(100% - 160px));
    --home-slider-gap: 8px;
    --home-slider-btn-size: 64px;
    --site-gap-sm: 8px;
    --site-gap-md: 16px;
    --site-gap-lg: 24px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.page-site-rebuild,
body.page-home-rebuild {
    margin: 0;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--home-text);
    background: #fff;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 10000;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    text-decoration: none;
}

.skip-link:focus {
    left: 8px;
    top: 8px;
}

.shell {
    width: 100%;
    max-width: var(--home-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--home-shell-pad);
    padding-right: var(--home-shell-pad);
}

/* ----- ヘッダー ----- */
.site-brand-header {
    border-bottom: 1px solid var(--home-border);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.06);
}

.site-brand-header__inner {
    padding-top: 12px;
    padding-bottom: 12px;
}

.site-brand-header__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(140px, auto);
    align-items: center;
    gap: 16px 24px;
}

.site-brand-header__brand {
    min-width: 0;
}

.site-brand-header__tagline {
    margin: 0 0 4px;
    font-size: 0.72rem;
    line-height: 1.35;
    font-weight: 600;
    color: var(--home-accent);
}

.brand-logo {
    margin: 0;
}

.brand-logo a {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.site-brand-header__logo-img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 52px;
    object-fit: contain;
    object-position: left center;
}

.site-brand-header__nav {
    justify-self: center;
    min-width: 0;
}

.site-brand-header__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px 20px;
}

.site-brand-header__menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--home-border);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.site-brand-header__menu-icon,
.site-brand-header__menu-icon::before,
.site-brand-header__menu-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--home-text);
    border-radius: 1px;
}

.site-brand-header__menu-icon {
    position: relative;
}

.site-brand-header__menu-icon::before,
.site-brand-header__menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.site-brand-header__menu-icon::before {
    top: -6px;
}

.site-brand-header__menu-icon::after {
    top: 6px;
}

.site-brand-header__nav-link {
    text-decoration: none;
    color: var(--home-text);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.site-brand-header__nav-link:hover,
.site-brand-header__nav-link:focus-visible {
    color: var(--home-accent);
}

.site-brand-header__nav-item.has-dropdown {
    position: relative;
}

.site-brand-header__nav-link--parent {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.site-brand-header__nav-caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.7;
    transform: translateY(1px);
}

.site-brand-header__dropdown {
    list-style: none;
    margin: 0;
    padding: 8px 0 0;
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 100;
    min-width: 220px;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.site-brand-header__nav-item.has-dropdown:hover .site-brand-header__dropdown,
.site-brand-header__nav-item.has-dropdown:focus-within .site-brand-header__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.site-brand-header__dropdown-item + .site-brand-header__dropdown-item {
    margin-top: 0;
}

.site-brand-header__dropdown-link {
    display: block;
    padding: 12px 20px;
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: var(--home-text);
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.site-brand-header__dropdown-link:hover,
.site-brand-header__dropdown-link:focus-visible {
    color: var(--home-accent);
    border-color: #ccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.site-brand-header__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-shrink: 0;
    min-width: 0;
}

.site-brand-header__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
    line-height: 1.35;
    white-space: nowrap;
    flex-shrink: 0;
}

.site-brand-header__phone {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--home-text);
    text-decoration: none;
    line-height: 1.3;
}

.site-brand-header__phone:hover {
    color: var(--home-accent);
}

.site-brand-header__hours {
    display: block;
    font-size: 0.75rem;
    color: var(--home-muted);
    line-height: 1.3;
}

.site-brand-header__ec {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-shrink: 0;
    padding-left: 16px;
    border-left: 1px solid var(--home-border);
}

.site-brand-header__ec-link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    min-width: 52px;
    padding: 0 2px;
    text-decoration: none;
    color: var(--home-text);
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.2;
}

.site-brand-header__ec-link:hover {
    color: var(--home-accent);
}

.site-brand-header__ec-icon {
    display: block;
}

.site-brand-header__cart-badge {
    position: absolute;
    top: -6px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--home-accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.site-brand-header__ec-link--cart {
    padding-right: 8px;
}

/* 製品一覧サブナビ（ヘッダー内・常時表示） */
.site-brand-header .product-subtabs {
    border-top: 1px solid var(--home-border);
    border-bottom: none;
    background: #fff;
    position: static;
    top: auto;
    z-index: auto;
    box-shadow: none;
}

.product-subtabs {
    border-bottom: 1px solid var(--home-border, #e2e6ec);
    background: #fff;
}

.product-subtabs__inner {
    padding-top: 0;
    padding-bottom: 0;
}

.product-subtabs__list {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.product-subtabs__item {
    flex: 0 0 auto;
}

.product-subtabs__item--more {
    display: none;
}

.product-subtabs__link {
    display: block;
    padding: 12px 14px;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--home-muted, #5a6b7d);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.product-subtabs__link:hover,
.product-subtabs__link:focus-visible {
    color: var(--home-accent, #b50400);
    outline: none;
}

.product-subtabs__link.is-current {
    color: var(--home-accent, #b50400);
    border-bottom-color: var(--home-accent, #b50400);
}

@media (min-width: 900px) {
    .product-subtabs__list {
        flex-wrap: wrap;
        overflow: visible;
        justify-content: flex-start;
    }

    .product-subtabs__link {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
}

/* ----- ヒーロースライダー（中央＋左右チラ見せ / ko-hyo風） ----- */
.home-hero-slider {
    --home-slider-peek: max(0px, calc((100% - var(--home-slider-center-w)) / 2));
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--home-border);
}

.home-hero-slider__stage {
    position: relative;
    width: 100%;
}

.home-hero-slider__viewport {
    overflow: hidden;
    width: 100%;
    height: var(--home-slider-height);
}

.home-hero-slider__track {
    display: flex;
    gap: var(--home-slider-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scroll-padding-inline: var(--home-slider-peek);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    height: var(--home-slider-height);
    padding-inline: var(--home-slider-peek);
    box-sizing: border-box;
}

.home-hero-slider__track::-webkit-scrollbar {
    display: none;
}

.home-hero-slider__slide {
    flex: 0 0 var(--home-slider-center-w);
    width: var(--home-slider-center-w);
    height: var(--home-slider-height);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: block;
    line-height: 0;
    text-decoration: none;
    opacity: 0.72;
    transition: opacity 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    border-radius: 2px;
}

.home-hero-slider__slide.is-active {
    opacity: 1;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.home-hero-slider__slide img {
    display: block;
    width: 100%;
    height: var(--home-slider-height);
    object-fit: cover;
    object-position: center;
}

.home-hero-slider__btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--home-slider-btn-size);
    height: var(--home-slider-btn-size);
    margin: 0;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #555;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.home-hero-slider__btn svg {
    display: block;
    width: 22px;
    height: 22px;
}

.home-hero-slider__btn:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.home-hero-slider__btn:focus-visible {
    outline: 2px solid var(--home-accent);
    outline-offset: 2px;
}

/* 中央スライドと左右チラ見せの境界に配置 */
.home-hero-slider__btn--prev {
    left: calc(var(--home-slider-peek) - var(--home-slider-btn-size) / 2);
}

.home-hero-slider__btn--next {
    right: calc(var(--home-slider-peek) - var(--home-slider-btn-size) / 2);
}

.home-hero-slider__thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 12px auto 16px;
    padding: 0;
}

.home-hero-slider__thumb {
    flex: 0 0 auto;
    margin: 0;
    padding: 2px;
    border: 2px solid #ccc;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
    line-height: 0;
    opacity: 0.65;
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.home-hero-slider__thumb.is-active {
    border-color: var(--home-accent);
    opacity: 1;
}

.home-hero-slider__thumb img {
    display: block;
    width: 80px;
    height: 44px;
    object-fit: cover;
}

/* ----- ボディ 2カラム ----- */
.home-body {
    padding: 20px 0 40px;
}

.home-body__grid {
    display: grid;
    gap: 24px;
    align-items: start;
}

@media (min-width: 900px) {
    .home-body__grid {
        grid-template-columns: var(--home-sidebar-width) minmax(0, 1fr);
    }
}

.home-body__main {
    min-width: 0;
}

.home-panel {
    margin: 0 0 20px;
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 4px;
}

.home-panel:last-child {
    margin-bottom: 0;
}

.home-panel__inner {
    padding: 18px 20px 22px;
}

.home-section-title {
    margin: 0 0 14px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--home-text);
}

/* ----- サイドバーバナー ----- */
.home-body__sidebar > .home-sidebar {
    margin-bottom: 16px;
}

.home-sidebar-banners {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.home-sidebar-banners__item {
    display: block;
    line-height: 0;
    text-decoration: none;
    border: 1px solid var(--home-border);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.15s ease;
}

.home-sidebar-banners__item:hover {
    box-shadow: 0 4px 12px rgba(28, 45, 66, 0.12);
}

.home-sidebar-banners__item img {
    display: block;
    width: 100%;
    max-height: 180px;
    height: auto;
    object-fit: contain;
    background: #f4f6f8;
}

/* ----- サイドバー（選挙コラム） ----- */
.home-sidebar {
    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 4px;
    padding: 14px 12px 16px;
}

.home-sidebar__section + .home-sidebar__section {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dotted var(--home-border);
}

.home-sidebar__heading {
    margin: 0 0 10px;
    padding: 0 4px;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--home-accent);
}

.home-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-sidebar__item + .home-sidebar__item {
    margin-top: 10px;
}

.home-sidebar__link {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
}

.home-sidebar__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: #e8ecf1;
    overflow: hidden;
}

.home-sidebar__icon--image {
    background: #f0f2f5;
}

.home-sidebar__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- コラム新着カルーセル ----- */
.home-column-carousel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.home-column-carousel__header .home-section-title {
    margin: 0;
}

.home-column-carousel__controls {
    display: flex;
    gap: 8px;
}

.home-column-carousel__btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--home-border, #d8dde6);
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.home-column-carousel__btn:hover,
.home-column-carousel__btn:focus-visible {
    border-color: var(--home-accent, #b50400);
    color: var(--home-accent, #b50400);
    outline: none;
}

.home-column-carousel__viewport {
    overflow: hidden;
}

.home-column-carousel__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2px 0 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.home-column-carousel__card {
    flex: 0 0 min(220px, 72vw);
    scroll-snap-align: start;
    border: 1px solid var(--home-border, #e2e6ec);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.home-column-carousel__card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.home-column-carousel__image {
    margin: 0;
    aspect-ratio: 16 / 10;
    background: #f0f2f5;
    overflow: hidden;
}

.home-column-carousel__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-column-carousel__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
}

.home-column-carousel__date {
    font-size: 0.72rem;
    color: var(--home-muted, #5a6b7d);
}

.home-column-carousel__title {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.45;
    color: #1c2d42;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-column-carousel__card-link:hover .home-column-carousel__title {
    color: var(--home-accent, #b50400);
}

.home-column-carousel__more {
    margin: 4px 0 0;
    text-align: right;
    font-size: 0.85rem;
}

.home-column-carousel__more a {
    color: var(--home-accent, #b50400);
    text-decoration: none;
    font-weight: 700;
}

.home-column-carousel__more a:hover {
    text-decoration: underline;
}

@media (min-width: 900px) {
    .home-column-carousel__card {
        flex-basis: calc((100% - 24px) / 3);
        min-width: 0;
    }
}

/* ----- トップ：選挙プロダクト一覧 ----- */
.home-product-lineup__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.home-product-lineup__header .home-section-title {
    margin: 0;
}

.home-product-lineup__more {
    flex: 0 0 auto;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--home-accent);
    text-decoration: none;
}

.home-product-lineup__more:hover {
    text-decoration: underline;
}

.home-product-lineup__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.home-body__sidebar > .home-product-lineup {
    margin-bottom: 16px;
}

.home-body__sidebar .home-product-lineup .home-panel__inner {
    padding: 14px 12px 16px;
}

.home-body__sidebar .home-product-lineup__header .home-section-title {
    font-size: 0.9rem;
    color: var(--home-accent);
}

.home-body__sidebar .home-product-lineup__more {
    font-size: 0.75rem;
}

.home-body__sidebar .home-product-lineup__link {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.home-body__sidebar .home-product-lineup__image {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    aspect-ratio: auto;
}

.home-body__sidebar .home-product-lineup__body {
    padding: 6px 8px 6px 0;
    gap: 3px;
}

.home-body__sidebar .home-product-lineup__title {
    font-size: 0.82rem;
}

.home-body__sidebar .home-product-lineup__desc {
    display: none;
}

.home-body__sidebar .home-product-lineup__price {
    font-size: 0.75rem;
}

.home-product-lineup__card {
    min-width: 0;
    border: 1px solid var(--home-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.home-product-lineup__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.home-product-lineup__card:hover {
    box-shadow: 0 4px 14px rgba(28, 45, 66, 0.1);
}

.home-product-lineup__image {
    margin: 0;
    aspect-ratio: 4 / 3;
    background: #f4f6f8;
    overflow: hidden;
}

.home-product-lineup__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.home-product-lineup__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
}

.home-product-lineup__badge {
    align-self: flex-start;
    padding: 1px 7px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--home-accent);
    background: #fdecec;
    border-radius: 3px;
}

.home-product-lineup__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--home-text);
}

.home-product-lineup__link:hover .home-product-lineup__title {
    color: var(--home-accent);
}

.home-product-lineup__desc {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--home-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-product-lineup__price {
    margin: auto 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--home-accent);
}

.home-sidebar__title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    color: #222;
}

.home-sidebar__desc {
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--home-muted);
}

.home-sidebar__link:hover .home-sidebar__title {
    color: var(--home-accent);
    text-decoration: underline;
}

/* ----- トピックス ----- */
.home-topics__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-topics__item {
    padding: 10px 0;
    border-bottom: 1px dotted var(--home-border);
}

.home-topics__item:first-child {
    padding-top: 0;
}

.home-topics__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.home-topics__link {
    color: var(--home-text);
    text-decoration: none;
    font-size: 0.92rem;
}

.home-topics__link::before {
    content: "・";
    color: var(--home-accent);
}

.home-topics__link:hover {
    color: var(--home-accent);
    text-decoration: underline;
}

/* ----- 今月の選挙 ----- */
.home-elections__lead {
    margin: 0 0 12px;
    font-size: 0.88rem;
    color: var(--home-muted);
}

.home-elections__empty {
    margin: 0;
    padding: 16px 0;
    font-size: 0.88rem;
    color: var(--home-muted);
}

.home-elections__more {
    margin: 14px 0 0;
    text-align: right;
    font-size: 0.88rem;
}

.home-elections__more a {
    color: var(--home-accent);
    font-weight: 700;
    text-decoration: none;
}

.home-elections__more a:hover {
    text-decoration: underline;
}

.home-elections__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.home-elections__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.home-elections__table th,
.home-elections__table td {
    padding: 8px 10px;
    border: 1px solid var(--home-border);
    text-align: left;
    white-space: nowrap;
}

.home-elections__table th {
    background: #f7f8fa;
    font-weight: 700;
}

.home-elections__table tbody tr:nth-child(even) {
    background: #fafbfc;
}

/* ----- 選挙仕事人の仕事とは ----- */
.home-about__title {
    padding-bottom: 10px;
    border-bottom: 2px solid var(--home-accent);
}

.home-about__grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 700px) {
    .home-about__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.home-about__heading {
    margin: 0 0 8px;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--home-text);
}

.home-about__heading::before {
    content: "■ ";
    color: var(--home-accent);
}

.home-about__body {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.75;
    color: #274a78;
}

/* ----- フッター ----- */
.site-footer-rebuild {
    border-top: 1px solid var(--home-border);
    padding: 28px 0 36px;
    background: #f7f8fa;
    font-size: 0.85rem;
    color: var(--home-muted);
    text-align: center;
}

.site-footer-rebuild a {
    color: var(--home-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer-rebuild__contact {
    margin-bottom: 16px;
}

.site-footer-rebuild__address,
.site-footer-rebuild__phone {
    margin: 0 0 4px;
}

.site-footer-rebuild__hours {
    margin-left: 8px;
    color: var(--home-muted);
}

.site-footer-rebuild__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 4px;
    align-items: center;
}

.site-footer-rebuild__sep {
    color: #ccc;
    user-select: none;
}

.site-footer-rebuild__social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 18px 0 14px;
}

.site-footer-rebuild a.site-footer-rebuild__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    text-decoration: none;
}

.site-footer-rebuild a.site-footer-rebuild__social-link:hover {
    background: var(--home-accent);
    color: #fff;
}

.site-footer-rebuild a.site-footer-rebuild__social-link svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    display: block;
}

.site-footer-rebuild__copy,
.site-footer-rebuild__note {
    margin: 8px 0 0;
}

/* ----- モバイル ----- */
@media (max-width: 1100px) {
    .site-brand-header__row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand actions"
            "nav nav";
    }

    .site-brand-header__brand {
        grid-area: brand;
    }

    .site-brand-header__actions {
        grid-area: actions;
    }

    .site-brand-header__nav {
        grid-area: nav;
        justify-self: stretch;
        border-top: 1px solid var(--home-border);
        padding-top: 10px;
    }

    .site-brand-header__nav-list {
        flex-wrap: wrap;
        gap: 4px 16px;
    }
}

@media (max-width: 899px) {
    :root {
        --home-shell-pad: 16px;
    }

    .site-brand-header__nav {
        display: none;
    }

    .site-brand-header__menu-toggle {
        display: none;
    }

    .product-subtabs__item--more {
        display: block;
    }

    .product-subtabs__item--more-start {
        margin-left: 8px;
        padding-left: 8px;
        border-left: 1px solid var(--home-border);
    }

    .site-brand-header__nav-list {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 8px;
    }

    .site-brand-header__nav-list.is-open {
        display: flex;
    }

    .site-brand-header__nav-link {
        display: block;
        padding: 10px 4px;
        border-bottom: 1px solid var(--home-border);
    }

    .site-brand-header__nav-item.has-dropdown .site-brand-header__nav-link--parent {
        justify-content: space-between;
        width: 100%;
    }

    .site-brand-header__dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        min-width: 0;
        padding: 4px 0 8px 12px;
    }

    .site-brand-header__dropdown-item + .site-brand-header__dropdown-item {
        margin-top: 0;
    }

    .site-brand-header__dropdown-link {
        text-align: left;
        font-size: 0.82rem;
        padding: 10px 14px;
    }

    .site-brand-header__actions {
        gap: 10px;
    }

    .site-brand-header__ec {
        gap: 12px;
        padding-left: 10px;
    }

    .site-brand-header__ec-label {
        display: none;
    }

    .site-brand-header__logo-img {
        max-height: 44px;
    }

    .home-hero-slider {
        --home-slider-center-w: calc(100vw - 48px);
        --home-slider-btn-size: 36px;
        --home-slider-gap: 8px;
        --home-slider-height: clamp(180px, 32vw, 260px);
    }

    .home-hero-slider__slide,
    .home-hero-slider__slide img {
        background: #f3f5f7;
    }

    .home-hero-slider__slide img {
        object-fit: contain;
    }

    .home-hero-slider__btn {
        width: var(--home-slider-btn-size);
        height: var(--home-slider-btn-size);
    }

    .home-hero-slider__btn svg {
        width: 16px;
        height: 16px;
    }

    .home-hero-slider__thumb img {
        width: 64px;
        height: 36px;
    }
}

@media (max-width: 599px) {
    .home-hero-slider {
        --home-slider-center-w: 100%;
        --home-slider-peek: 0px;
        --home-slider-btn-size: 32px;
        --home-slider-gap: 0px;
        --home-slider-height: clamp(200px, 52vw, 280px);
    }

    .home-hero-slider__slide img {
        object-fit: cover;
        object-position: center;
    }

    .home-hero-slider__slide {
        border-radius: 0;
    }

    .home-hero-slider__btn {
        width: var(--home-slider-btn-size);
        height: var(--home-slider-btn-size);
        background: rgba(255, 255, 255, 0.92);
    }

    .home-hero-slider__btn--prev {
        left: 8px;
    }

    .home-hero-slider__btn--next {
        right: 8px;
    }

    .home-hero-slider__thumbs {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 6px;
        margin: 10px auto 14px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .home-hero-slider__thumbs::-webkit-scrollbar {
        display: none;
    }

    .home-hero-slider__thumb {
        width: 8px;
        height: 8px;
        flex: 0 0 8px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: #c8cdd3;
        opacity: 1;
    }

    .home-hero-slider__thumb.is-active {
        width: 18px;
        flex-basis: 18px;
        background: var(--home-accent);
    }

    .home-hero-slider__thumb img {
        display: none;
    }

    .site-brand-header__contact {
        display: none;
    }

    .site-brand-header__ec {
        padding-left: 0;
        border-left: none;
    }

    .site-footer-rebuild__sep {
        display: none;
    }

    .site-footer-rebuild__nav {
        flex-direction: column;
    }

    .home-elections__table {
        font-size: 0.75rem;
    }
}

/* ===== 全ページ共通：TOPへ戻るフロート ===== */
.site-back-to-top {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 1200;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 52px;
    min-height: 52px;
    padding: 8px 10px;
    border: 1px solid rgba(28, 45, 66, 0.12);
    border-radius: 999px;
    background: #fff;
    color: var(--home-accent, #b50400);
    box-shadow: 0 6px 18px rgba(28, 45, 66, 0.16);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.15s ease, color 0.15s ease;
}

.site-back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.site-back-to-top:hover,
.site-back-to-top:focus-visible {
    background: var(--home-accent, #b50400);
    color: #fff;
    outline: none;
}

.site-back-to-top__icon {
    font-size: 0.7rem;
    line-height: 1;
}

.site-back-to-top__label {
    font-size: 0.68rem;
}

@media (max-width: 599px) {
    .site-back-to-top {
        right: 12px;
        bottom: 14px;
        min-width: 48px;
        min-height: 48px;
    }
}

@media print {
    .site-back-to-top {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-back-to-top {
        transition: none;
    }
}
