﻿/*.under #content {
    width: 100%;
    padding: 3%;
}*/
/*.mainvisual-under img{width:100%;}*/

/*.breadcrumb {
    padding: 5px 0;
    
    background: #8c8c8c;
    background: -webkit-linear-gradient(to top, #d7d2cc, #f5f5f5);
    background: linear-gradient(to top, #d7d2cc, #f5f5f5);
}
.breadcrumb .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.under-ttl {
    font-size: 26px;
    color: #000;
	padding-bottom: 10px;
    line-height: 1.5em;
    margin-bottom: 30px;
    text-transform: uppercase;
    border-bottom: 1px solid #f1f1f1;
}*/
.under {
    padding-bottom: 60px;
}

#wrapper:has(.under) #header {
    position: relative;
    margin-bottom: 35px;
}

#wrapper:has(.under) .logo img {
    /*width:80px;*/
}



.breadcrumb01 {
    position: relative;
    width: 100%;
    margin: 25px auto 35px;
}

.under_banner {
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

    .under_banner:before {
        content: '';
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        height: 100%;
        background: #0000005c;
    }

.breadcrumb_main {
    text-align: center;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb_ttl {
    font-size: 34px;
    width: 100%;
    margin-bottom: 7px;
    text-align: center;
    color: var(--m-color);
    font-weight: 800;
}

.topic-path {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .topic-path li {
        font-size: 14px;
        color: #000;
        text-transform: lowercase;
        font-weight: 500;
        font-style: italic;
    }

        .topic-path li::first-letter {
            text-transform: uppercase;
        }

    .topic-path a {
        text-decoration: none;
        color: #000;
        font-size: 14px;
    }

    .topic-path li:not(:last-child):after {
        content: '\f101';
        display: inline-block;
        position: relative;
        margin: 0 10px;
        font-family: 'FontAwesome';
        font-size: 8px;
    }

    .topic-path a:hover {
        color: var(--m-color);
    }

.pager {
    margin: 45px 0;
    text-align: center;
}

    .pager a {
        padding: 4px 11px;
        text-align: center;
        text-decoration: none;
        border: 1px solid #fff;
        color: #000;
        transition: all 0.5s ease;
        background: #fff;
        /* box-shadow: 0px 0px 0px 1px #000; */
        margin: 0 5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 0 5px;
        border: 2px solid var(--primary-color);
        text-decoration: none;
        color: var(--primary-color);
        font-weight: 500;
        transition: all 0.3s;
    }

        .pager a:hover {
            border: 1px solid #fff;
            color: #fff;
            background: var(--primary-color);
            box-shadow: 0px 0px 0px 1px var(--primary-color);
        }

    .pager strong {
        margin: 0 5px;
        padding: 4px 11px;
        text-align: center;
        text-decoration: none;
        border: 1px solid #fff;
        color: #fff;
        font-weight: normal;
        background: var(--primary-color);
        box-shadow: 0px 0px 0px 1px var(--primary-color);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin: 0 5px;
        border: 2px solid var(--primary-color);
        text-decoration: none;
        /* color: var(--primary-color); */
        font-weight: 500;
        transition: all 0.3s;
    }

    .pager a:first-child {
        padding: 4px 11px;
        background: #fff;
    }

        .pager a:first-child:hover {
            background: var(--primary-color);
            color: #fff;
            border-color: #fff;
            box-shadow: 0px 0px 0px 1px var(--primary-color);
        }

    .pager a:last-child {
        padding: 4px 11px;
        background: #fff;
    }

        .pager a:last-child:hover {
            background: var(--primary-color);
            color: #fff;
            border-color: #fff;
            box-shadow: 0px 0px 0px 1px var(--primary-color);
        }

.page_container {
    width: 1000px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .under {
        padding: 0 0 25px;
    }

    .breadcrumb01 {
        width: 100%;
        padding: 0 3%;
    }

    .breadcrumb_ttl {
        font-size: 20px;
        margin-bottom: 0;
    }

    .topic-path li, .topic-path li a {
        font-size: 10px;
        line-height: 1.8em;
    }

    .under .page_container {
        width: 100%;
        padding: 0 3%;
    }

    .under .mainvisual {
    }

    .breadcrumb {
    }

    .topic-path li:not(:last-child):after {
        content: '/';
        margin: 0 5px;
    }
}

@media screen and (max-width: 480px) {
    .breadcrumb01 {
        width: 100%;
        padding: 0;
    }

    .under_banner {
        border-radius: 0;
    }

    .under-ttl {
        font-size: 24px;
    }

    .breadcrumb .container {
        display: block;
    }

    .topic-path {
    }
}
