.main-visual-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.main-visual-row > .main-visual-col {
    float: none;
    display: flex;
    flex-direction: column;
    height: 508px;
    min-height: 0;
    border: 1px solid #dddddd;
}

.dx-req-map-section {
    flex: 1 1 auto;
    display: flex;
    height: 100%;
    min-height: 0;
    margin: 0;
}

.dx-req-map-canvas-wrap {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #fff;
    border: 1px solid #dddddd;
    box-sizing: border-box;
    overflow: hidden;
}

#dx-req-map,
#dx-req-map .ol-viewport {
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #fff;
}

.dx-req-map-filters {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    width: max-content;
    min-width: 0;
    padding: 12px 12px 10px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #cfe3d4;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    transition: padding 0.32s ease, background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.dx-req-map-filters-toggle {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
    color: #1f1f1f;
    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    white-space: nowrap;
    text-align: left;
    cursor: default;
    transition: padding 0.32s ease, background 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.dx-req-map-filters-toggle:focus {
    outline: none;
}

.dx-req-map-filters:not(.is-collapsed) {
    min-width: 123px;
}

.dx-req-map-filter-body {
    display: grid;
    grid-template-rows: 1fr;
    width: 0;
    min-width: 100%;
    margin: 10px 0 0;
    opacity: 1;
    transition: grid-template-rows 0.32s ease, margin 0.32s ease, opacity 0.32s ease;
}

.dx-req-map-filter-body-inner {
    min-height: 0;
    overflow: hidden;
}

.dx-req-map-filters.is-collapsed {
    padding: 0;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.dx-req-map-filters.is-collapsed .dx-req-map-filters-toggle {
    width: auto;
    padding: 4px 10px;
    border-color: #b7d2be;
    background: #f4faf6;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.dx-req-map-filters.is-collapsed .dx-req-map-filters-toggle:hover,
.dx-req-map-filters.is-collapsed .dx-req-map-filters-toggle:focus {
    background: #e7f5ec;
}

.dx-req-map-filters.is-collapsed .dx-req-map-filter-body {
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    pointer-events: none;
}

.dx-req-map-filters-hide {
    display: block;
    width: 100%;
    height: 26px;
    margin-top: 10px;
    padding: 0 8px;
    border: 1px solid #b7d2be;
    border-radius: 4px;
    background: #f4faf6;
    color: #2f6b45;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
}

.dx-req-map-filters-hide:hover,
.dx-req-map-filters-hide:focus {
    background: #e7f5ec;
    outline: none;
}

.dx-req-map-filters .form-group {
    position: relative;
    margin-bottom: 10px;
}

.dx-req-map-filters .form-group label {
    display: block;
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    color: #2f6b45;
}

.dx-req-map-filters .form-group:last-child {
    margin-bottom: 0;
}

.dx-req-map-filters .form-control {
    width: 100%;
    height: 34px;
    padding: 4px 28px 4px 10px;
    font-size: 13px;
    color: #333;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.dx-req-map-filters .form-control::-ms-expand {
    display: none;
}

.dx-req-map-tools {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dx-req-map-tools button {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #c5d9cb;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.96);
    color: #2f6b45;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    font-size: 14px;
    line-height: 32px;
}

.dx-req-map-tools button:hover,
.dx-req-map-tools button:focus {
    background: #f4faf6;
    outline: none;
}

.dx-req-map-legend {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 5;
    background: transparent;
    padding: 0;
    font-size: 12px;
    line-height: 1.2;
    color: #444;
}

.dx-req-map-legend .item {
    display: flex;
    align-items: center;
    margin: 4px 0;
}

.dx-req-map-legend .swatch {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 1px solid rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
}

.dx-req-map-loading {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    color: #444;
}

.dx-req-map-loading.is-on {
    display: flex;
}

.dx-req-map-tip {
    position: absolute;
    z-index: 7;
    display: none;
    pointer-events: none;
    background: rgba(33, 37, 41, 0.9);
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
}

.main-visual-col .main-gallery {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    box-sizing: border-box;
}

.main-shortcut-row {
    display: flex;
    flex: 1 1 0;
    width: 100%;
    min-height: 0;
    margin: 0;
}

.main-shortcut-row:before,
.main-shortcut-row:after {
    display: none;
    content: none;
}

.main-shortcut-row > [class*="col-"] {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    float: none;
    padding: 0;
    display: flex;
}

.main-shortcut-row .banner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    box-sizing: border-box;
    padding: 12px 8px;
    text-align: center;
}

.main-shortcut-row .banner-box img,
.main-shortcut-row .shortcut-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
}

.main-shortcut-row .shortcut-icon {
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    font-size: 28px;
    color: #fff;
}

.main-shortcut-row .banner-box h4 {
    margin: 14px 0 0;
    font-size: 18px;
    font-weight: 700;
}

.main-shortcut-row .banner-box p {
    margin-top: 6px;
    font-size: 15px;
}

.main-bn-0 {
    background-color: #2f8f62;
}

.main-bn-0:hover,
.main-bn-0:focus {
    background-color: #257552;
    text-decoration: none;
}

.main-lower-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 8px;
}

.main-lower-row > [class*="col-"] {
    float: none;
}

.main-notice-col,
.main-chart-col {
    align-self: flex-start;
}

.main-lower-row .notice-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 160px;
    margin-top: 0;
    overflow: hidden;
}

.main-lower-row .notice-box:before,
.main-lower-row .notice-box:after {
    display: none;
    content: none;
}

.main-lower-row .notice-box h4 {
    flex: 0 0 auto;
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 14px 12px;
    text-align: center;
}

.main-lower-row .notice-body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    align-items: stretch;
}

.main-lower-row .notice-box .swiper-notice {
    position: relative;
    flex: 1 1 auto;
    float: none;
    width: auto;
    height: auto;
    min-height: 0;
    min-width: 0;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.main-lower-row .notice-box .swiper-notice .swiper-slide {
    display: flex;
    align-items: center;
    height: auto;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    box-sizing: border-box;
}

.main-lower-row .notice-box .swiper-notice .swiper-slide a {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.main-lower-row .notice-box .notice-date {
    flex: 0 0 auto;
    white-space: nowrap;
    color: #999999;
    padding-right: 10px;
}

.main-lower-row .notice-box .notice-title {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    word-break: break-all;
}

.notice-nav {
    flex: 0 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
}

.notice-nav-up,
.notice-nav-down {
    position: relative;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 1px solid #cccccc;
    background: #fff;
    cursor: pointer;
}

.notice-nav-up:after,
.notice-nav-down:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    margin: 0;
    border-top: 2px solid #555;
    border-right: 2px solid #555;
}

.notice-nav-up:after {
    transform: translate(-50%, -35%) rotate(-45deg);
}

.notice-nav-down:after {
    transform: translate(-50%, -65%) rotate(135deg);
}

.notice-nav-up:disabled,
.notice-nav-down:disabled {
    opacity: 0.35;
    cursor: default;
}

.main-gallery .swiper-gallery {
    position: relative;
    padding: 0 22px;
    box-sizing: border-box;
}

.main-gallery .swiper-gallery .swiper-button-prev,
.main-gallery .swiper-gallery .swiper-button-next {
    width: 14px;
    height: 22px;
    margin-top: 0;
    top: 66px;
    background-size: 14px 22px;
    z-index: 5;
}

.main-gallery .swiper-gallery .swiper-button-prev {
    left: 0;
    right: auto;
}

.main-gallery .swiper-gallery .swiper-button-next {
    right: 0;
    left: auto;
}

.main-chart-panel {
    width: 100%;
    height: 160px;
    padding: 0;
    border: 1px solid #dddddd;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.main-chart-panel .highcharts-figure {
    width: 100%;
    height: 100%;
    margin: 0;
}

.main-chart-panel #container {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 767px) {
    .main-visual-row > .main-visual-col {
        width: 100%;
        height: auto;
    }

    .dx-req-map-section,
    .dx-req-map-canvas-wrap,
    #dx-req-map {
        height: 420px;
    }

    .main-shortcut-row {
        flex: 0 0 auto;
    }

    .main-shortcut-row .banner-box {
        height: auto;
        min-height: 120px;
        padding: 12px 4px;
    }

    .main-shortcut-row .banner-box h4 {
        font-size: 13px;
    }

    .main-shortcut-row .banner-box p {
        font-size: 11px;
    }

    .main-notice-col {
        margin-bottom: 12px;
    }

    .dx-req-map-filters:not(.is-collapsed) {
        width: 156px;
        max-width: calc(100% - 64px);
    }

    .dx-req-map-filters:not(.is-collapsed) .dx-req-map-filter-body,
    .dx-req-map-filters:not(.is-collapsed) .dx-req-map-filter-body-inner,
    .dx-req-map-filters:not(.is-collapsed) .form-group,
    .dx-req-map-filters:not(.is-collapsed) .form-control {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
}
