@charset "utf-8";
@import "anime.css";

/*
------------
modelhouse_index.css
------------
*/

/* title_area */
#title_area::before {
    background-image: url(../../images/content/modelhouse/titleBg.webp);
}
@media only screen and (max-width: 768px) {
    #title_area::before {
        background-image: url(../../images/content/modelhouse/titleBgSP.webp);
    }
}
/* map_area */
#map_area {
    margin: 85px 0 0 0;
}
#map_area .inner {
    width: calc(100vw * 1100 / 1400);
    max-width: 1100px;
    margin: 0 auto;
}
#map_area .inner #map_element {
    width: 100%;
    height: 550px;
    border-radius: clamp(10px, calc(100vw * 20 / 1400), 20px);
    overflow: hidden;
}
#map_area .inner #map_element .mapinfo_box {
    padding: 0 20px 20px 20px;
    font-family: "Zen Kaku Gothic Antique", sans-serif;
}
#map_area .inner #map_element .mapinfo_box ul li {
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    font-weight: 500;
    line-height: 1.6;
}
#map_area .inner #map_element .mapinfo_box ul li:nth-child(1) {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent_color);
    margin: 0 0 5px 0;
}
#map_area .inner #map_element .mapinfo_box ul li:nth-child(3) {
    margin: 20px 0 0 0;
    font-size: 1.4rem;
}
#map_area .inner #map_element .mapinfo_box ul li:nth-child(3) a {
    display: inline-block;
    background-color: var(--accent_color);
    color: var(--sub_font_color);
    padding: 5px 10px;
    border-radius: 6px;
    transition: all .3s ease;
}
#map_area .inner #map_element .mapinfo_box ul li:nth-child(3) a:hover {
    background-color: var(--main_bg_color);
    color: var(--accent_color);
}
@media only screen and (max-width: 768px) {
    #map_area {
        margin: 80px 0 0 0;
    }
    #map_area .inner {
        width: 100%;
        max-width: 100%;
    }
    #map_area .inner #map_element {
        height: calc(100vw * 430 / 375);
        border-radius: 0;
    }
    #map_area .inner #map_element .mapinfo_box ul li {
        font-size: 1.4rem;
        line-height: 1.4;
    }
    #map_area .inner #map_element .mapinfo_box ul li:nth-child(1) {
        font-size: 1.6rem;
    }
    #map_area .inner #map_element .mapinfo_box ul li:nth-child(3) {
        margin: 15px 0 0 0;
    }
    #map_area .inner #map_element .mapinfo_box ul li:nth-child(3) a:hover {
        background-color: var(--accent_color);
        color: var(--sub_font_color);
    }
}
/* list_area */
#list_area {
    margin: 125px 0 0 0;
}
#list_area .inner {
    width: calc(100vw * 1100 / 1400);
    max-width: 1100px;
    margin: 0 auto;
}
#list_area .inner .area:not(:first-child) {
    margin: 125px 0 0 0;
}
#list_area .inner .area h3 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    position: relative;
    display: flex;
    align-items: center;
}
#list_area .inner .area h3::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--accent_color);
    margin: 0 0 0 1em;
}
#list_area .inner .area .list {
    margin: 65px 0 0 0;
}
#list_area .inner .area .list article {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}
#list_area .inner .area .list article:not(:first-child) {
    margin: 30px 0 0 0;
}
#list_area .inner .area .list figure {
    width: 360px;
    height: 240px;
    aspect-ratio: 360 / 240;
    overflow: hidden;
    border-radius: clamp(10px, calc(100vw * 14 / 1400), 14px);
}
#list_area .inner .area .list .item {
    width: calc(100% - 360px - min(65px, 100vw * 65 / 1400));
}
#list_area .inner .area .list .item h4 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent_color);
    line-height: 1.4;
}
#list_area .inner .area .list .item dl {
    margin: 20px 0 0 0;
    display: grid;
    grid-template-columns: 8rem 1fr;
    gap: 6px 0;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.5;
}
#list_area .inner .area .list .item dl dt {
    grid-column: 1;
}
#list_area .inner .area .list .item dl dd {
    grid-column: 2;
}
#list_area .inner .area .list .item ul {
    margin: 30px 0 0 0;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}
@media only screen and (max-width: 768px) {
    #list_area {
        margin: 65px 0 0 0;
    }
    #list_area .inner {
        width: 85vw;
        max-width: 85vw;
    }
    #list_area .inner .area:not(:first-child) {
        margin: 65px 0 0 0;
    }
    #list_area .inner .area h3 {
        font-size: 2.2rem;
    }
    #list_area .inner .area .list {
        margin: 40px 0 0 0;
    }
    #list_area .inner .area .list article {
        display: block;
    }
    #list_area .inner .area .list article:not(:first-child) {
        margin: 65px 0 0 0;
    }
    #list_area .inner .area .list figure {
        width: 100%;
        height: auto;
        border-radius: 14px;
    }
    #list_area .inner .area .list .item {
        width: 100%;
        margin: 20px 0 0 0;
    }
    #list_area .inner .area .list .item dl {
        margin: 10px 0 0 0;
        grid-template-columns: 7rem 1fr;
    }
    #list_area .inner .area .list .item ul {
        margin: 28px 0 0 0;
        gap: 6px;
    }
}