
:root {
    --color-cta: #f3971b;
    --color-default-anchor: #0073aa;
    --color-default-anchor-hover: #00a0d2;
}

:where(:root) {
    text-spacing-trim: trim-start;
}

body,
button,
input,
optgroup,
select,
textarea {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    text-rendering: auto;
    max-width: 100%;
    font-family: "Montserrat", "游ゴシック Medium", "YuGothic Medium", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

body {
    padding: 0;
    margin: 0;
}

.line {
    display: inline-block;
}

/* SP */
@media only screen and (max-width: 639px) {
    .fa-caret-square-up:before {}
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.company-info {
    margin-top: 1rem !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.6rem;
}

.company-info .cat-lead-text {
    grid-column: span 2;
    display: flex;
    text-align: center;
    justify-content: center;
    position: relative;
    margin-bottom: 3px;
}

.company-info .cat-lead-text p {
    display: inline-block;
    background: #fff;
    z-index: 1;
    position: relative;
    padding: 0 1rem;
    font-size: .9rem;
    font-weight: bold;
}

.company-info .cat-lead-text:after {
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    background: #b5b5b6;
    position: absolute;
    top: 50%;
}

.company-info > a {
    background-color: var(--color-cta);
    color: #fff !important;
    padding: .5rem .8rem .4rem;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
}

.company-info p {
    margin: 0;
}

.company-info > a > p {
    line-height: 1.3;
}
.company-info .cta-text {
    font-family: Arial, "Yu Gothic Medium","游ゴシック Medium","游ゴシック体",YuGothic, "ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","Hiragino Kaku Gothic Pro",sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.company-info .cta-text:before {
    content: '';
    display: block;
    width: 1.2rem;
    height: 1.2rem;
}

.company-info .phone-text:before {
    background: url(img/icon-phone.svg) no-repeat center / contain;
    transform: translateY(-2px);
}

.company-info .mail-text:before {
    background: url(img/icon-email.svg) no-repeat center / contain;

}

.company-info .cta-detail {
    font-size: .8rem;
    letter-spacing: 0;
}

.company-info {
    grid-template-columns: 1fr 1fr;
}

/*
header .company-info .cat-lead-text {
    grid-column: span 2;
}

 */

.company-info a {
    margin: 0;
}

.company-info .cta-text {
    font-size: 1rem;
}


@media screen and (max-width: 639px) {
    .company-info > a {
        padding-top: .65rem;
        padding-bottom: .65rem;
    }
    .company-info .mail-text {
        font-size: .9rem;
    }
    .company-info .cta-detail .cta-detail-label {
        display: none;
    }
}


header .site-description-wrap {
    background: #888;
    display: flex;
    align-items: center;
}

header .site-description {
    color: #fff;
}

header .header-content-wrap {
    background: #ccc;
}

header #primary-menu {
    /* background: #000; */
}




@media screen and (max-width: 639px) {
    body.menu-open {
        overflow: hidden;
    }
    .site-description-wrap {
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    }

    #primary-menu-mb li a {
        color: #333;
    }

    #site-navigation {
        display: none;
    }
}



header .site-description-wrap {
    background: #034693;
}

header .site-description-wrap p {
    font-size: 12px;
}

header .header-content-wrap {
    background: #fff;
}


@media (max-width: 1000px) and (min-width: 640px) {
    header .site-description-wrap p {
        padding: 0 6rem 0 1rem;
    }
}

/*navigation*/
#page header #site-navigation {
    background: #fff;
    color: #666666;
    background-image: linear-gradient(transparent 85%, #D8D8D8 0);
    margin-top: 20px;
}

header #site-navigation,
header #site-navigation li {
    background: #fff;
    height: 2.5rem;
    opacity: 1;
}

#site-navigation #global-menu {
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
    padding: 0;
}

#site-navigation #global-menu li {
    list-style: none;
    text-align: center;
    position: relative;
    zoom: 1;
    width: auto;
    flex-grow: 1;
    background: transparent;
}
#site-navigation #global-menu > li:before,
#site-navigation #global-menu > li:last-child:after {
    content: '';
    display: block;
    position: absolute;
    width: 1px;
    height: 1rem;
    background: #D8D8D8;
    top: 0;
}

#site-navigation #global-menu li a {
    display: flex;
    align-items: flex-start;
}

#site-navigation #global-menu > li.menu-item-has-children > a:before {
    content: '▼' / '展開する';
    font-size: .72rem;
    transform: translate(-1px, 2px);
}

#global-menu>li>a {
    /*background-image: linear-gradient(transparent 85%, #D8D8D8 0);*/
    width: 100%;
    height: 100%;
    line-height: 1;
    color: #666666;
    font-weight: bolder;
    font-size: 16px;
    text-decoration: none;
    margin: 0;
    /*border-image: linear-gradient(#D8D8D8 50%, transparent 50%, transparent 84%, #D8D8D8 84%) 1/0 0 0 1px;*/
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
    padding-right: .25rem;
    display: grid;
    place-items: center;
}

header #global-menu>li>a:hover {
    background-image: linear-gradient(#FFFFFF 85%, #A2BFE0 0);
    color: #034693;
}



header #global-menu .sub-menu {
    position: absolute;
    left: -999px;
    margin: 0;
    background: #fff;
    width: 300px;
    padding: 0 1rem 0 0;
}

header #global-menu li ul li a {
    height: 40px;
    line-height: 40px;
    width: 100%;
    display: block;
}

header #global-menu li:hover .sub-menu li {
    overflow: visible;
    height: 40px;
    border: none;
}

header #global-menu .sub-menu li {
    transition: .2s;
    overflow: hidden;
    height: 0;
    position: relative;
    padding: 0 0 0 10px;
    width: 142px;
    line-height: 40px;
    margin: 0 0 -1px 0;
    text-align: left;
    background: #fff;
    color: #034693;
    font-size: 13px;
    font-weight: 400;

}

header #global-menu .sub-menu li:hover {
    border: none;
    background-image: linear-gradient(#EBEBEB 90%, #95b0ce 0);
    color: #034693;
}

header #global-menu .sub-menu li a:hover {
    color: #034693;
}

#global-menu li:hover>ul,
#global-menu li:focus>ul {
    display: block;
    left: auto;
}

@media screen and (max-width: 820px) {
    .header-content {
        flex-direction: column;
        padding-top: 1rem;
    }
    header .header-content .site-branding {
        width: 100% !important;
        align-items: center !important;
    }
    header .header-content .company-info {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 640px) {
    header .header-content {
        min-height: 126px;
    }

    header .header-content .site-branding {
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
        align-items: start;
    }

    header .header-content .site-branding img {
        width: 349px;
        height: auto;
    }

    header .header-content .site-branding::after {
        content: '〒543-0018　大阪府大阪市天王寺区空清町2-20';
        font-size: 14px;
        letter-spacing: 0.09em;
        width: 349px;
        line-height: 1;
        display: block;
    }

    .company-info {
        width: 447px !important;
        max-width: none !important;
    }
}

/* SP */
@media only screen and (max-width: 639px) {
    header .header-content {
        padding: 0 15px 15px;
    }

    .company-info {
        padding-left: 0 !important;
        padding-right: 0 !important;
        column-gap: 1rem;
    }

    /*
    .company-info .cta-detail {
        display: none;
    }

     */

    .site-branding {
        margin: 15px auto;
    }
}


/* ヘッダレイアウト変更により、1000px以下でスマホメニュー表示 */
@media (max-width: 1000px) {
    header.site-header {
        position: relative;
    }
    .nav-mb-wrap {
        overflow-y: scroll;
    }
    #site-navigation-mb {
        position: fixed;
        top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        z-index: 10;
        left: 0;
        transition-property: transform;
        transition-duration: .5s;
        transform: translateX(-100%);
    }
    .main-navigation.toggled ul, .menu-toggle {
        display: block;
        margin: 0 auto;
    }
    header .menu-toggle[aria-controls=primary-menu] {
        position: absolute;
        top: 6px;
        right: 18px;
        z-index: 10;
        padding: 10px;
        line-height: 1;
        font-weight: 700;
    }
    #site-navigation-mb.active {
        transform: translateX(0);
    }
    #site-navigation-mb #primary-menu-mb, #site-navigation-mb [class$=-container]{
        height: 100%;
        position: relative;
        z-index: 12;
        background: #fff;
    }

    #primary-menu-mb,
    #primary-menu-mb ul {
        margin: 0;
        padding: 0;
    }

    #primary-menu-mb li {
        list-style: none;
    }
    #primary-menu-mb li a {
        padding: 2px 10px 0 32px;
        line-height: 37px;
        display: block;
        border-bottom: 1px solid #ccc;
        text-decoration: none;
        color: #333;
        background: #fff;
    }
    #primary-menu-mb ul li a {
        padding-left: 52px;
        color: #333;

    }

    #primary-menu-mb > li > a:before,
    #primary-menu-mb ul li > a:before {
        content: none;
    }
    #primary-menu-mb > li > a:before {
        content: "\f0da";
        font-family: "Font Awesome 5 Free";
        margin-right: 8px;
        font-weight: 900;
    }



    #site-navigation-mb .cover {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        background-color: transparent;
        transition-property: background;
        transition-duration: .8s;
        z-index: 11;
    }
    #site-navigation-mb .cover.active {
        background: rgba(0,0,0,.5);
    }



    #site-navigation {
        display: none;
    }
}


/*--------------------------------------------------------------
## Archive
--------------------------------------------------------------*/
.entry-meta>*:before {
    color: #034693;

}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
/* PC */
.footer-menu-wrap li {
    line-height: 1.3;
    padding-top: .2em;
    padding-bottom: .2em;
    position: relative;
}
.footer-menu-wrap a {
    font-size: 14px;
    border-bottom: 0 !important;
}
.footer-menu-wrap > ul > li > a {
    font-weight: bold;
}

.footer-menu-wrap .sub-menu a {
    letter-spacing: -1px;
}

#colophon .footer-content {
    flex-direction: column;
}


.footer-info {
    display: flex;
    row-gap: 1rem;
}

.footer-info > * {
    flex-shrink: 0;
}

footer .company-info-wrap {
    width: 540px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
footer .company-info-wrap > .widget {
    margin-bottom: 0;
}
footer .company-info {
    margin: 0 auto !important;
}
footer .company-info .cat-lead-text p {
    background-color: #F5F5F5;
}

.footer-cat-lead-text {
    font-size: .9rem;
    letter-spacing: -1px;
}

.footer-cat-lead-text p {
    margin: 0;
    display: inline-block;
    text-align: center;
}

@media (min-width: 991px) {
    footer .company-info-wrap {
        margin-right: 0;
    }
}

@media (max-width: 990px) { /* フッタバナー折り返し用 */
    .footer-info {
        flex-direction: column;
    }
    .footer-cat-lead-text {
        margin-bottom: 1rem;
    }
}

@media (min-width: 640px) {
    footer#colophon {
        background-color: #F5F5F5 !important;
    }

    footer#colophon a {
        text-decoration: none;
        color: #2e2e2e;
    }
    footer#colophon .footer-menu-wrap > ul > li > a {
        color: #2e2e2e;
        position: relative;
    }

    #colophon .footer-content .footer-info {
        width: 100%;
        max-width: none;
        justify-content: space-between;
    }

    footer#colophon .footer-content .footer-info div.site-branding {
        margin: 0;
        display: block;
    }
    footer .company-info-wrap {
        /*margin-right: 0;*/
    }
    footer .footer-nav .footer-menu-wrap {
        padding-left: 0;
    }
    #colophon .footer-content .footer-nav {
        width: 100%;
        gap :1rem;
    }
    #colophon .footer-content .footer-nav > * {
        width: 50%;
    }

    footer .footer-content #return_top {
        color: #000;
    }

    #copyright {
        background: #001e43;
        color: #ddd;
    }

    #copyright p a {
        color: #ddd;
    }


    footer#colophon .footer-content .site-branding img {
        width: 338px;
        height: auto;
    }

    #page footer #site-navigation {
        display: none;
        color: #666666;
        background-image: linear-gradient(transparent 85%, #D8D8D8 0);
    }

}

@media (max-width: 639px) {
    footer .company-info .cat-lead-text p {
        background-color: #fff;
    }

    .footer-cat-lead-text p {
        text-align: left;
        line-height: 1.5;
    }
    .footer-cat-lead-text p br {
        display: none;
    }
}

/*******************************
 * Footer Menu
********************************/

footer .footer-menu-wrap {
    width: 100% !important;
    flex-basis: 100% !important;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 2rem;
}

.menu-column .menu-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #034693;
    border-bottom: 1px solid #034693;
    line-height: 1.3;
    margin-bottom: .6rem;
}

.menu-column ul {
    list-style: none;
    margin-left: 0;
}

.menu-column li {
    line-height: 1.3;
    padding-top: .2em;
    padding-bottom: .2em;
    position: relative;
}

.menu-column a {
    text-decoration: none;
    color: #2e2e2e;
    display: inline-block;
    margin-bottom: 10px;
}

.menu-column > div > ul {
    padding-left: .7rem !important;
}

.menu-column > div > ul > li > a {
    font-weight: bold;
}

.menu-column > div > ul > li:before {
    content: '';
    display: inline-block;
    left: -10px;
    top: .55rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    background: #333;
}

.menu-column ul li ul.sub-menu {
    padding-left: 1.25rem;
    margin-left: 0;
}

.menu-column ul li ul.sub-menu li {
    position: relative;
}

.menu-column ul li ul.sub-menu li::before {
    content: "";
    border-left: 1px dotted rgba(90, 90, 90, 0.5);
    position: absolute;
    left: -1em;
    width: 1em;
}

.menu-column ul li ul.sub-menu li:first-child:not(:last-child)::before {
    top: -5px;
    /*height: calc(100% + 0.5em + 1px);*/
    height: calc(100% + 0.1em);
}

.menu-column ul li ul.sub-menu li:not(:last-child)::before {
    height: 100%;
    top: calc(-0.25em + 1px);
}

.menu-column ul li ul.sub-menu li:last-child::before {
    height: calc(.92em + 1px);
    top: calc(-0.39em + 1px);
}

.menu-column ul li ul.sub-menu li::after {
    content: "";
    height: 0.5em;
    width: 0.75em;
    border-bottom: 1px dotted rgba(90, 90, 90, 0.5);
    position: absolute;
    top: calc(0.5em - 5px);
    left: calc(-1em + 1px);
}

.menu-column ul li ul.sub-menu li a {
    padding-left: 0.1em;
}

@media screen and (max-width: 1039px) {
    footer .footer-menu-wrap {
        grid-template-columns: 1fr 1fr;
    }

}

@media screen and (max-width: 639px) {
    footer .footer-menu-wrap {
        grid-template-columns: 1fr;
    }

}

/*SP*/
@media screen and (max-width: 639px) {

    footer#colophon {
        padding-top: 0;
    }

    footer .footer_right_widget {
        padding: 0 15px;
    }

    footer .footer-content .site-title {
        display: none;
    }

    footer .footer-content {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }

    footer .footer-content div.footer-nav div:nth-last-of-type(2) {
        display: block;
    }

    footer .site-branding {
        margin: 5px auto;
    }

    footer .footer-nav {
        background: #001e43;
        width: 100vw;
        display: block;
        margin: 0;
        padding: 30px 15px;
    }

    footer .footer-menu-wrap {
        grid-template-columns: 1fr;
    }

    footer#colophon .footer-nav .footer-menu-wrap:first-child {
        margin-bottom: 0;
    }

    footer .footer-menu-wrap ul#footer-menu li,
    footer .footer-menu-wrap ul#footer-menu-sub li:not(:last-child) {
        margin: 0 0 12px 0;
    }

    footer .footer-nav .menu {
        width: 90%;
    }

    footer .menu-column .menu-title {
        text-align: left;
        color: #fff;
        border-color: #fff;
    }

    footer .menu-column > div > ul > li:before {
        background: #fff;
    }

    footer .footer-menu-wrap ul li {
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        text-align: left;
    }


    footer .menu-column ul li ul.sub-menu li::before,
    footer .menu-column ul li ul.sub-menu li::after {
        border-color: #fff !important;
    }

    footer .footer-menu-wrap ul li a {
        margin: 0;
        color: #FFFFFF;
        border-bottom: none;
        text-decoration: none;
    }

    footer .footer-menu-wrap ul#footer-menu-sub li:last-child {
        margin: 0;
    }

    footer .footer-menu-wrap ul#footer-menu li ul.sub-menu li::before {
        border-left: 1px dotted rgba(255, 255, 255, 0.3);
    }
    footer .footer-menu-wrap ul li ul.sub-menu li::after {
        border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
    }

    footer .footer-menu-wrap ul li ul.sub-menu li:first-child:not(:last-child)::before {
        height: calc(100% + 0.77em + 1px);
    }

    footer .footer-menu-wrap ul li ul.sub-menu li:not(:last-child)::before {
        height: calc(100% + .65em + 1px);
    }

    #copyright p {
        font-size: 12px;
    }

    footer #return_top {
        top: -40px;
        right: 7px;
        height: 33px;
        overflow: hidden;
    }

    footer .footer-info {
        padding: 25px;

    }

    #page footer>.footer-menu-wrap {
        display: none;
    }

    footer .footer-info {
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        padding: 20px 15px 40px;
    }

    footer .footer-content {
        width: 100%;
        flex-wrap: wrap;
        margin: 0 auto;
        padding-bottom: 0;

    }

    footer .footer-content .company-info .textwidget p {
        width: 100%;
        letter-spacing: 0.06rem;
        margin: 0;
        text-align: right;
        font-size: 13px;
    }

    #footer-menu a {
        display: inline-block;
        border-bottom: 1px dotted #666;
        margin: 0 0 10px 0;
    }

    footer#colophon .footer_right_widget {
        width: 100%;
        position: relative;
        right: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        order: 3;
    }

    footer#colophon .footer_right_widget div:first-child {
        order: 3;
    }

    footer#colophon .footer_right_widget div:nth-child(2) {
        order: 1;
        width: 100%;
    }

    footer#colophon .footer_right_widget div:nth-child(3) {
        order: 2;
        width: 100%;
    }

    footer#colophon .footer_right_widget .barb_text_banner {
        width: 100%;
    }

    footer#colophon .footer_right_widget #text-2 {
        margin: 25px auto 0;
        width: 100%;
        background-color: #BFD6EF;
        padding: 10px;
        text-align: justify;
    }

    footer#colophon .footer_right_widget #text-2 p {
        font-size: 13px;
        color: #191e23;
        margin: 0;
    }

    footer#colophon .footer_right_widget #text-2 p br {
        display: none;
    }

    footer .footer-content div.barb_text_banner {
        width: 48%;
        background: none !important;
    }

    footer .footer-content div.barb_text_banner a {
        width: 100%;
        max-height: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        -ms-border-radius: 5px;
        border-radius: 5px;
        padding: 10px;
        background-color: #034693;
        color: #FFF;
    }

    footer .footer-content div.barb_text_banner a span:first-child {
        margin-right: 5px;
    }

    footer .footer-content div.barb_text_banner:nth-child(4) {
        margin-left: 345px;
    }

    footer .footer-content div.barb_text_banner a {
        margin: 0;
        text-decoration: none;
    }
}

/*PC*/
@media screen and (min-width: 640px) {
    #colophon footer .footer-info {
        width: 400px;
        max-width: 400px;
        position: relative;
        top: 0;
        left: 0;
    }


    footer .footer-content {
        max-width: 1080px;
        width: 100%;
        flex-wrap: nowrap;
        gap: 50px;
        margin: 0 auto;
        justify-content: space-between;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    footer .footer-content .company-info .textwidget p {
        width: 100%;
        letter-spacing: 0.06rem;
        margin: 0;
        text-align: right;
        font-size: 13px;
    }

    #footer-menu a,
    #footer-menu-sub a {
        display: inline-block;
        border-bottom: none;
        margin: 0;
    }

    footer .footer-menu-wrap #footer-menu li,
    footer .footer-menu-wrap #footer-menu-sub li {
        line-height: 1.5;
        /*line-height: 1.3;*/
        margin-top: 0.5em;
    }

    footer .footer-menu-wrap #footer-menu>li:first-child,
    footer .footer-menu-wrap #footer-menu-sub>li:first-child {
        margin-top: 0;
    }

    #footer-menu ul li a,
    #footer-menu-sub ul li a {
        margin-left: 0;
    }

    #footer-menu>ul>li>a{
        font-weight: bold;
    }

    footer .footer-menu-wrap ul#footer-menu,
    footer .footer-menu-wrap ul#footer-menu-sub {
        border: none;
    }




    footer#colophon .footer_right_widget {
        width: 338px;
        position: relative;
        right: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 auto;
    }

    footer#colophon .footer_right_widget #text-2 {
        margin: 5px auto;
        width: 338px;
    }

    footer#colophon .footer_right_widget #text-2 p {
        font-size: 13px;
        color: #191e23;
        margin: 0 0 20px 0;
    }

    footer .footer-content div.barb_text_banner {
        width: 160px;
        background: none !important;
    }

    footer .footer-content div.barb_text_banner a {
        width: 160px;
        max-height: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        -ms-border-radius: 5px;
        border-radius: 5px;
        padding: 10px;
        background-color: #034693;
        color: #FFF;
    }

    footer .footer-content div.barb_text_banner a span:first-child {
        margin-right: 5px;
    }

    footer .footer-content div.barb_text_banner:nth-child(4) {
        margin-left: 345px;
    }

    footer .footer-content div.barb_text_banner a {
        margin: 0 auto;
    }

}

/* SP */
@media only screen and (max-width: 639px) {
    footer #copyright {
        text-align: center;
    }
}



/*--------------------------------------------------------------
# Side Navigation
--------------------------------------------------------------*/
#main-content #side-nav > li {
    margin-bottom: 1.25rem;
}
#main-content #side-nav a:has(img) {
    display: block;
}
#main-content #side-nav a:hover {
    opacity: 0.9;
    transform: translate(1px, 1px);
}

#main-content #side-nav div.barb_text_banner {
    width: 100%;
    border-top: #BFD6EF solid 1px;
    padding: 0;
    margin-bottom: 0;
    height: 60px;
}


#main-content #side-nav li:not(.simple-link) > div {
    margin-bottom: 15px;
}

#main-content #side-nav li.side-company > div {
    margin-bottom: 0;
}

#main-content #side-nav li.side-achievement > div {
    padding-bottom: 0;
}

#main-content #side-nav .side-staff-blog div,
#main-content #side-nav .side-recruit div,
#main-content #side-nav .side-introduce div {
    border: #BFD6EF solid 1px;
    background-repeat: no-repeat;
    background-size: cover;
}

#main-content #side-nav .side-staff-blog div,
#main-content #side-nav .side-recruit div,
#main-content #side-nav .side-introduce div {
    position: relative;
}

#main-content #side-nav .side-staff-blog div a span:last-child,
#main-content #side-nav .side-recruit div a span:last-child,
#main-content #side-nav .side-introduce div a span:last-child {
    position: absolute !important;
    bottom: 0;
    left: 0;
    padding-left: 13px;
    width: 100% !important;
    height: 37px;
    display: flex !important;
    align-items: center;
}

#main-content #side-nav .side-recruit div,
#main-content #side-nav .side-introduce div {
    margin-bottom: 10px;
    height: 172px;
}

#main-content #side-nav .side-introduce div {
    background-image: url(img/sidenav_staff.png);
}


#main-content #side-nav li.health a img {
    border: 1px solid #00b2a1;
}

#main-content #side-nav .simple-link {
    margin-bottom: 0;
}

.side-links p {
    margin: 0;
}
.side-links a {
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 0 .5rem 1rem;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    line-height: 1.5;
    gap: .5rem;
    border-top: #BFD6EF solid 1px;
    min-height: 60px;
}

.side-links p:last-of-type a {
    border-bottom: #BFD6EF solid 1px;
}

.side-links a:after {
    content: "\f138";
    font-family: 'Font Awesome 5 Free';
    color: #BFD6EF;
    flex-shrink: 0;
}

.side-links a:hover {
    background: #F5F9FD;
}




#main-content #side-nav .simple-link a:hover {
    background: #F5F9FD;
}

#main-content #side-nav .side-staff-blog > div:hover,
#main-content #side-nav .side-recruit > div:hover,
#main-content #side-nav .side-introduce div:hover {
    position: relative;
    top: 1px;
    left: 1px;
}

#main-content #side-nav .side-staff-blog div:hover a:hover,
#main-content #side-nav .side-recruit div:hover a:hover,
#main-content #side-nav .side-introduce div:hover a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#side-nav .side-company {
    border: 1px solid #BFD6EF;
    padding: 2px;
}

#side-nav .side-company .side-company-info {
    padding: 15px 12px;
}

#side-nav .side-company .company-address {
    font-size: 0.875rem;
    line-height: 1.3;
    letter-spacing: 0;
}
#side-nav .side-company .side-company-contact {
    margin-bottom: 0;
}
#side-nav .side-company .side-company-contact a {
    color: #fff;
    background: var(--color-cta);
    padding: .5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.313rem;
    letter-spacing: .25rem;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: bold;
}

#side-nav .side-company .side-company-contact a:before {
    font-family: "Font Awesome 5 Free";
    content: "\f0e0";
    font-weight: 900;
}


#side-nav .side-health img {
    border: 1px solid #00b2a1;
}

@media (max-width: 639px) {
    #side-nav {
        display: none;
    }
}

/*--------------------------------------------------------------
# Table
--------------------------------------------------------------*/
table {
    width: 100%;
    border-collapse: inherit;
    border-spacing: 0;
    border: 1px solid #c1c1c1;
}

.left-th table th,
.left-th table td {
    border: 0;
    border-right: 1px solid #c1c1c1;
    border-bottom: 1px solid #c1c1c1;
    padding: 10px;
}

.left-th table th {
    width: 30%;
    background: #eee;
    font-weight: bold;
}

@media only screen and (max-width:639px) {

    /* レスポンシブテーブルの装飾 */
    .is-style-tbl_responsive table {
        border: 0;
    }

    .is-style-tbl_responsive table th {
        border-width: 0 0 2px 0;
        border-style: dotted;
        border-color: #333;
        padding: 5px 0;
        font-weight: bold;
        background: #fff;
        text-align: left;
    }

    .is-style-tbl_responsive table th:before {
        content: "\f00c";
        color: #333;
        padding: 0 5px 0 0;
        font-family: 'Font Awesome 5 Free';
    }

    .is-style-tbl_responsive table td {
        border: 0;
    }
}


/*--------------------------------------------------------------
# Related Post
--------------------------------------------------------------*/
#main-content #related_post h3 {
    margin-top: 0;
    border-bottom: 0;
    background-color: transparent;

}

#main-content #related_post h3:before {
    display: none;
}

/********** common **********/
#main-content h2 {
    background: #034693;
    color: #fff;
    padding: 0 15px;
    line-height: 42px;
}

#related_post img {
    width: 170px;
}

@media (max-width: 1050px) {
    #main-content {
        padding-left: 5%;
        padding-right: 5%;
    }

}

/********** table **********/
div.table {
    margin-bottom: 10px;
}

div.table,
div.table .tr {
    width: 100%;
    box-sizing: border-box;
}

div.table.stripe .tr:nth-child(odd) {
    background: #f5f5f5;
}

div.table .td {
    text-align: left;
}

div.table .th {
    background: linear-gradient(to bottom, #fcfcfc 0%, #e9e9e9 100%);
    text-align: center;
    font-weight: bold;
}

div.table .td,
div.table .th {
    box-sizing: border-box;
    font-size: .9em;
    /* height: 52px; */
    line-height: 1.3;
}

div.table .td,
div.table .th {
    padding: 10px;
    border-width: 1px 0 0 1px;
    border-style: solid;
    border-color: #ccc;
}

div.table .td:last-child,
div.table .th:last-child {
    border-right-width: 1px;
}

div.table {
    border: 0;
    border-bottom-width: 1px;
    border-style: solid;
    border-color: #ccc;
    box-sizing: border-box;
}

div.table div {
    box-sizing: border-box;
}

/* clearfix */
div.table .tr:before,
div.table .tr:after,
div.table .tr:before,
div.table .tr:after {
    content: " ";
    display: block;
}

div.table .tr:after,
div.table .tr:after {
    clear: both;
}

div.table .tr {
    display: flex;
    flex-wrap: wrap;
}

div.table .tr:nth-child(n+21) {
    display: none;
}












