/*
 Theme Name: NOEL Child Theme
 Template: noel_tcd072
 Description: NOELの子テーマ
 Version: 1.0.4
 Author: M
*/


/* トップお知らせ */
/* .news-tabs */
#top_notices {
    margin-bottom: 80px;
}
#top_notices .news-tabs ul.tab-menu {
    max-width: 1030px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    position: relative;
}
#top_notices .news-tabs ul.tab-menu::after {
    content: "";
    width: 100%;
    height: 5px;
    background-color: #f2f2f2;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}
#top_notices .news-tabs ul.tab-menu li {
    width: 200px;
    max-width: 100%;
    cursor: pointer;
    margin: 0;
    padding: 15px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #3d3d3d;
    font-size: 16px;
    font-weight: bold;
}
#top_notices .news-tabs ul.tab-menu li:hover {
    /* color: #e60012; */
}
#top_notices .news-tabs ul.tab-menu li.active {
    position: relative;
}
#top_notices .news-tabs ul.tab-menu li.active::after {
    content: "";
    width: 100%;
    height: 5px;
    background-color: #000000;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}
/* .tab-content */
#top_notices .tab-content {
    margin: 50px auto 0;
    padding: 0 15px;
    max-width: 1030px;
    width: 100%;
}
#top_notices .tab-content .tab-pane {
    display: none;
}
#top_notices .tab-content .tab-pane.active {
    display: block;
}
#top_notices .tab-content .tab-pane ul {
    margin: 0;
    padding: 0;
}
#top_notices .tab-content .tab-pane ul li {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}
#top_notices .tab-content .tab-pane ul li .notice_item {
    display: flex;
}
#top_notices .tab-content .tab-pane ul li .notice_item .notice_item_terms {
    display: flex;
}

#top_notices .tab-content .tab-pane ul li .notice_item .categ {
    border: solid 2px #808080;
    border-radius: 10px;
    width: 120px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #808080;
    font-size: 13px;
    font-weight: bold;
    margin-right: 30px;
    line-height: 1;
}
#top_notices .tab-content .tab-pane ul li .notice_item .postdate {
    font-weight: bold;
    font-size: 16px;
    color: #2A2B30;
    margin-right: 30px;
    line-height: 1;
    padding-top: 9px;
}
#top_notices .tab-content .tab-pane ul li a:link {
    color: #126198;
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}
#top_notices .tab-content .tab-pane ul li a:hover {
    text-decoration: none;
    color: #126198;
}
#top_notices .tab-content .tab-pane ul li a:visited {
    text-decoration: none;
    color: #126198;
}
#top_notices .tab-content .tab-pane ul li h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0!important;
    padding: 2px 0 0;
    line-height: 1.6;
}
#top_notices .tab-content .tab-pane ul li h3 .notice_atc {
    margin-left: 0.5em;
}
#top_notices .tab-content .tab-pane ul li h3 .notice_atc .atc_icon {
    font-size: 13px;
    font-weight: bold;
    padding: 1px 7px;
    border: 2px solid #dadada;
    border-radius: 12px;
    position: relative;
    top: -1px;
    margin-left: 0.2em;
}
#top_notices .tab-content .tab-pane ul li h3 .atc_pdf .atc_icon {
    color: #c60e0b;
}
#top_notices .tab-content .tab-pane ul li h3 .atc_excel .atc_icon {
    color: #217346;
}
#top_notices .tab-content .tab-pane ul li h3 .atc_word .atc_icon {
    color: #2B579A;
}
#top_notices .tab-content .tab-pane ul li h3 .atc_power_point .atc_icon {
    color: #D24726;
}

@media screen and (max-width: 767px) {
    #top_notices {
        margin-bottom: 60px;
    }
    #top_notices h1 {
        margin-bottom: -20px;
    }
    #top_notices .news-tabs ul.tab-menu {
        justify-content: space-between;
    }
    #top_notices .news-tabs ul.tab-menu li {
        font-size: 13px;
        width: auto;
    }
    #top_notices .tab-content {
        margin: 30px auto 0;
        padding: 0 5px;
    }
    #top_notices .tab-content .tab-pane ul li .notice_item {
        display: block;
    }
    #top_notices .tab-content .tab-pane ul li .notice_item .notice_item_terms {
        margin-bottom: 13px;
        display: flex;
        align-items: center;
    }
    #top_notices .tab-content .tab-pane ul li .notice_item .categ {
        margin-right: 10px;
        height: 20px;
        width: fit-content;
        min-width: 80px;
        border-radius: 7px;
        border-width: 1px;
    }
    #top_notices .tab-content .tab-pane ul li .notice_item .postdate {
        font-size: 13px;
        padding-top: 0;
    }
    #top_notices .tab-content .tab-pane ul li h3 {
        padding: 0;
        font-size: 14px;
    }
    #top_notices .tab-content .tab-pane ul li h3 .notice_atc .atc_icon {
        font-size: 11px;
        padding: 1px 7px 0;
    }
}

/* #my_custom_slider */
#my_custom_slider {
    margin: -40px 0 80px;
}
#my_custom_slider .custom-slider {
    max-width: 100%;
    margin: 0 auto;
}
#my_custom_slider .custom-slider {
    visibility: hidden;
}
#my_custom_slider .custom-slider.slick-initialized {
    visibility: visible;
}
#my_custom_slider .custom-slider .slide {
    text-align: center;
    max-width: 1040px;
    width: 100vw;
    padding: 0 20px;
}
#my_custom_slider .custom-slider .slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
#my_custom_slider .slick-prev,
#my_custom_slider .slick-next {
    width: 50px;
    height: 50px;
    z-index: 100;
}
#my_custom_slider .slick-prev::before,
#my_custom_slider .slick-next::before {
    content: ""!important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#my_custom_slider .slick-prev {
    left: 30px;
}
#my_custom_slider .slick-next {
    right: 30px;
}
#my_custom_slider .slick-prev::before {
    background-image: url(./img/my_slick/slick_prev.svg);
}
#my_custom_slider .slick-next::before {
    background-image: url(./img/my_slick/slick_next.svg);
}

#my_custom_slider .slick-dots {
    margin: 5px 0 0;
    position: static;
}
#my_custom_slider .slick-dots li button:before {
    content: '' !important;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    opacity: .2;
    background-color: black;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
#my_custom_slider .slick-dots li.slick-active button:before {
    opacity: .8;
}
@media screen and (max-width: 768px) {
    #my_custom_slider {
        margin-bottom: 40px;
    }
    #my_custom_slider .custom-slider .slide {
        padding: 0 30px;
    }
}
