@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

.slider {
    opacity: 0;
    transition: opacity .3s linear;
    margin: 20px auto 15px;
    max-width: 1266px;
}

.slider.slick-initialized {
    opacity: 1;
}

.slider li img {
    width: 100%;
    height: auto;
    display: block;
}

.slick-dots li button:before {
    font-size: 18px;
}

.slick-dots li.slick-active button:before {
    color: #161616;
}

body #wrap .content_area#top {
    width: 100%;
    padding-bottom: 0;
}

body #wrap .content_area#top #history .section-content {
    background-color: #ffffff;
    background-image: linear-gradient(90deg, #e1e1e1 1px, transparent 1px), linear-gradient(#e1e1e1 1px, transparent 1px);
    background-position: 10px 10px;
    background-size: 22px 22px;
    padding-bottom: 60px;
}

#main-vidual .pr {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin: 30px 0 38px;
}

#main-vidual .pr .text {
    width: 60%;
}

#main-vidual .pr .text p {
    color: #825632;
    font-size: clamp(19px, 2.7vw, 24px);
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
}

#main-vidual .pr .text p strong {
    color: #e74337;
    font-size: 1.2em;
    font-weight: 600;
}

#main-vidual .pr .image {
    width: 40%;
}

#main-vidual .pr .image img {
    max-width: 90%;
    display: inline-block;
}

#main-vidual .banner-list {
    max-width: 1266px;
    margin: 0 auto 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    column-gap: 8px;
}

#main-vidual .banner-list .banner a {
    display: block;
    width: 100%;
}

#main-vidual .banner-list .banner img {
    height: auto;
    display: block;
    filter: drop-shadow(2px 4px 5px rgba(0, 0, 0, 0.35));
    border-radius: 0 0 0 0;
}


#main-vidual .banner-list .banner.multi-banner a:first-child {
    margin-bottom: 4px;
}

#history .tl-item {
    display: flex;
    justify-content: start;
}

#history .year {
    flex: 0 0 92px;
}

#history .year .common-era {
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    font-size: 35px;
    letter-spacing: 0.5px;
}

#history .year .japan-era {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
    font-size: 13px;
    text-align: right;
    padding-top: 3px;
    padding-right: 14px;
}

#history .month {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
    font-size: 22px;
    text-align: center;
    width: 54px;
    padding-top: 8px;
    padding-left: 6px;
    padding-right: 24px;
    position: relative;
}

#history .month::before {
    content: "";
    position: absolute;
    top: 16px;
    left: -5px;
    display: block;
    width: 11px;
    height: 11px;
    background-color: #333;
    border-radius: 50%;
}

#history .month::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 1px;
    height: 100%;
    background-color: #333;
}

#history .tl-item:first-child .month::after {
    transform: translateY(20px);
}

#history .content {
    padding-top: 5px;
    margin-bottom: 30px;
}

#history .content .flex {
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 15px;
}

#history .content .text {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 19px;
    padding-top: 5px;
}

#history .content .text p {
    font-size: 17px;
}

#history .content .text h4 {
    font-size: 22px;
    font-weight: 400;
    margin-top: -2px;
}

#history .content .text ul {
    list-style-type: disc;
    padding-left: 28px;
    margin-bottom: 0.5em;
}

#history .content .text ul li {
    font-size: 18px;
    line-height: 1.3;
}

#history .content .text ul li>span {
    vertical-align: -0.1em;
}

#history .content .text ul li::marker {
    font-size: 0.6em;
}

#history .content .text ul li .small {
    font-size: 0.7em;
}

#history .content.has-thumbnail {
    display: flex;
    justify-content: start;
    column-gap: 20px;
}

#history .content.has-thumbnail .thumbnail {
    line-height: 0;
}

#history .content.has-thumbnail .thumbnail img {
    width: 280px;
}

#history .content.has-thumbnail .text {
    padding-top: 0;
}

#history .content.has-thumbnail .text p {
    margin-bottom: 0.5em;
}

#history .content.has-thumbnail .text h4 {
    margin-top: 0;
    margin-bottom: 0.7em;
}

#history .tl-item,
#history .section-title {
    position: relative;
}

#history .link {
    position: absolute;
    bottom: 30px;
    right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#history .section-title .link {
    bottom: 35px;
}

#history .link p {
    line-height: 1.2;
    font-size: 17px;
}

#history .link img {
    width: 58px;
}

#history .business-wrap.dev-around-station .tl-item:last-child .month::after {
    transform: translateY(-60px);
}

#history .business-wrap.dev-around-station .content {
    margin-bottom: 60px;
}

#history .business-wrap.dev-around-station .link {
    bottom: 60px;
}

#history .business-wrap.parking .section-title {
    padding-top: 40px;
}

#history .business-wrap.parking .content {
    margin-bottom: 25px;
}

#history .business-wrap.estate .estate-info {
    margin-bottom: 30px;
}

#history .business-wrap.estate .estate-info p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    margin-bottom: 0.7em;
    line-height: 1.3;
}

#history .business-wrap.estate .content .flex {
    align-items: start;
}

#history .business-wrap.estate .content .text p {
    padding-top: 2px;
}

#history .business-wrap.estate .content .text h4 {
    margin-bottom: 0.5em;
}

#history .business-wrap.estate .content .text h4 .small {
    font-size: 0.7em;
}

#history .business-wrap.estate .content .text .link {
    bottom: 20px;
}

#history .store-management .text.flex {
    gap: 2px;
}

@media screen and (min-width: 768px) {
    #main-vidual .pr .image {
        text-align: left;
    }
}

@media screen and (max-width: 767px) {
    #main-vidual {
        margin: 0 15px;
    }

    #main-vidual .pr {
        display: block;
        margin: 8vw 0;
    }

    #main-vidual .pr .text {
        width: 100%;
        margin: 0 auto;
        margin-bottom: 5vw;
    }

    #main-vidual .pr .text p {
        font-size: clamp(16px, 3.8vw, 28px);
    }

    #main-vidual .pr .image {
        width: 70%;
        margin: 0 auto;
    }

    #main-vidual .banner-list {
        justify-content: space-evenly;
        flex-wrap: wrap;
        row-gap: 4vw;
        margin-bottom: 15vw;
    }

    #main-vidual .banner-list .banner {
        /* max-width: 48%; */
        max-width: 31%;
    }

    #history .content_inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    #history .content .flex {
        display: block;
    }

    #history .tl-item {
        display: block;
    }

    #history .year {
        padding-top: 10px;
        padding-bottom: 8px;
        display: flex;
        justify-content: start;
        align-items: baseline;
        gap: 10px;
        width: 100%;
    }

    #history .month {
        left: 10px;
        padding-bottom: 10px;
    }

    #history .business-wrap .content {
        margin-bottom: 0 !important;
        padding-left: 20px;
        padding-right: 10px;
        padding-bottom: 30px;
        border-left: 1px solid #333;
        left: 10px;
        position: relative;
        line-height: 1.2;
    }

    #history .content.has-thumbnail {
        display: block;
        padding-bottom: 1px;
    }

    #history .content.has-thumbnail .thumbnail {
        margin-bottom: 15px;
    }

    #history .content.has-thumbnail .thumbnail img {
        max-width: 100%;
        width: auto;
    }

    #history .link {
        position: relative;
        bottom: 0 !important;
        justify-content: end;
    }

    #history .business-wrap.dev-around-station .tl-item:last-child .month::after {
        transform: translateY(0);
    }

    #history .business-wrap.parking .section-title {
        padding: 12vw 0 10px;
    }

    #history .business-wrap.parking .section-title .link {
        bottom: -20px !important;
    }
}
