@charset "utf-8";

.part+.part {
    padding-top: 40px;
}
.part p {
    font-size: 14px;
    line-height: 2;
}
.part .common-cross-title {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    background-color: #e84715;
    color: #fff;
    padding: 6px 12px; padding: 1.6vw 3.2vw;
}
.part .common-cross-title+.common-large-txt {
    margin-top: 4px;
}
.part .common-large-txt {
    font-size: 18px; font-size: 4.166vw;
    line-height: 1.25;
    font-weight: 700;
    color: #e84715;
    padding: 12px 0;
}
.part .common-large-txt+p {
    margin-top: -6px;
}
.part .fig-container {
    display: block;
    padding: 12px 0;
}
.indent-group {
    padding-left: 2em;
}
.indent-group li {
    font-size: 14px;
    line-height: 2;
    padding-left: 1.2em;
    position: relative;
}
.indent-group li::before {
    content: "";
    display: block;
    width: 0.8em;
    height: 0.8em;
    background-color: #e84715;
    position: absolute;
    left: 0;
    top: 0.6em;
}
.common-part-notes li {
    font-size: 14px;
    line-height: 2;
    position: relative;
    padding-left: 1em;
}
.common-part-notes li::before {
    content: "※";
    position: absolute;
    left: 0;
}

.reference-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 12px 0;
}
.reference-links li {
    flex-basis: 180px;
    flex-grow: 2;
    max-width: 300px;
}
.reference-links li a {
    border: solid 1px #000;
    background-color: #333333;
    color: #fff!important;
    text-decoration: none!important;
    text-align: center;
    font-size: 14px; font-size: clamp(12px, 3.733vw, 14px);
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 52px; min-height: clamp(44px, 13.866vw, 52px);
    padding: 6px 12px; padding: clamp(5px, 1.6vw, 6px) clamp(10px, 3.2vw, 12px);
}

#map-container {
    padding: 0 0 50% 0;
    position: relative;
    margin-bottom: 6px;
}
#map-container iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#carport-navigation {
    display: flex;
    flex-direction: column;
}
#carport-navigation .fig-container {
    order: 1;
    margin-bottom: -10px;
}
#carport-navigation .reference-links {
    order: 2;
}

@media screen and (min-width: 480px)
{
    .part .common-cross-title {
        padding: 8px 16px;
    }
    .part .common-large-txt {
        font-size: 20px;
    }
}

@media screen and (min-width: 768px)
{
    .part p,
    .common-part-notes li,
    .reference-links li a,
    .indent-group li {
        font-size: 1.927vw;
    }

    .reference-links li {
        max-width: 340px;
    }

    .part+.part {
        padding-top: 7.2992vw;
    }
    .part .common-cross-title {
        font-size: 2.1897vw;
        padding: 1.0948vw 2.1897vw;
    }
    .part .common-cross-title+.common-large-txt {
        margin-top: 0.3649vw;
    }
    .part .common-large-txt {
        font-size: 2.9197vw;
        padding: 1.4598vw 0;
    }
    .part .common-large-txt+p {
        margin-top: -0.5474vw;
    }
    .indent-group {
        padding-left: 4em;
    }
}

@media screen and (min-width: 830px)
{
    .part p,
    .common-part-notes li,
    .reference-links li a,
    .indent-group li {
        font-size: 16px;
    }
    .part .fig-container {
        padding: 1.4598vw 0;
    }
}

@media screen and (min-width: 1096px)
{
    .part+.part {
        padding-top: 80px;
    }
    .part p {
        font-size: 16px;
    }
    .part .common-cross-title {
        font-size: 24px;
        padding: 12px 24px;
    }
    .part .common-cross-title+.common-large-txt {
        margin-top: 4px;
    }
    .part .common-large-txt {
        font-size: 32px;
        padding: 16px 0;
    }
    .part .common-large-txt+p {
        margin-top: -6px;
    }
    .part .fig-container {
        padding: 16px 0;
    }


/*
.reference-links li a {
    border: solid 1px #000;
    background-color: #f5f2e9;
    color: #000!important;
    text-decoration: none!important;
    text-align: center;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 52px;
    padding: 6px 12px;
}
*/
    .reference-links {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 20px;
        min-width: 340px;
        max-width: 340px;
        padding: 16px 0;
    }
    .reference-links li {
        flex-basis: auto;
        flex-grow: 1;
    }
    .reference-links li a {
        min-height: 56px;
        padding: 6px 12px;
    }
    
    #map-container {
        margin-bottom: 8px;
    }

    #carport-navigation {
        flex-direction: row;
        align-items: flex-start;
    }
    #carport-navigation .reference-links {
        order: 1;
    }
    #carport-navigation .fig-container {
        order: 2;
        margin: 0 0 0 64px;
    }
}
