@charset "utf-8";

html {
    scroll-behavior: smooth;
}

body {
/*    font-family: "游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;*/
    padding-top: 80px;
    margin: 0;
    background: #ffecb3;
}

p {font-weight: 500; font-size: .95rem; line-height: 1.8;}

div#global-navi {
    position: fixed;
    width: 100%;
    z-index: 100;
    padding: 0;
    margin: 0;
    top: 0;
}

.navbar-nav {
    width: 100%;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: #fff;
    font-weight: 600;
}

.navbar-light .navbar-nav .nav-link { color: #fff; }
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover { color: rgba(255,255,255,.6); }
.bg-light { background-color: #878787 !important; }
.navbar-toggler { padding: 0; }

a.navbar-brand {
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    background: #3e3e3e;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
    margin-left: 10px;
    color: #FFF !important;
}


ul.navbar-nav > li { padding-right: .5rem; }

h1, h2, h3 {
    margin-top: 0;
    margin-bottom: 10px;
}


@media (min-width: 992px) {
    ul.navbar-nav > li.nav-item:last-child {
        margin-right: 5px;
    }

    ul.navbar-nav > li.nav-item:nth-last-child(1) {
        margin-left: auto;
    }

    ul.navbar-nav > li:nth-last-child(1) {
        padding-right: 0;
    }

    ul.navbar-nav > li:last-child a,
    ul.navbar-nav > li:nth-last-child(1) a{
        background: #FFF;
        color: #000 !important;
        font-weight: bold;
        padding: 5px;
    }

    ul.navbar-nav > li:last-child a {
        border-radius: 6px;
        margin: 3px 0 0 0;
    }
    ul.navbar-nav > li:nth-last-child(1) a{
        border-radius: 6px;
        margin: 3px 1px 0 0;
    }
}

a.nav-link {
    font-size: .9rem;
}


.lead {
    font-size: 1.6rem;
    padding: 5px 0 5px 0;
    font-weight: 600;
}

.lead small {
    font-size: 80%;
}





#jumbotron h1 {
    font-size: 4rem;
    margin: 2rem 0 0.5rem 0;
    letter-spacing: .1rem;
    font-family: UD Reimin ExtraBold;
    font-feature-settings: 'kern' 1;
    text-rendering: optimizeLegibility;
}

#jumbotron h1 a img {
    width: 100%;
    height: 100%;
}

.jumbotron___kbslogo {
    padding: 10px;
}


/* 575pxまで */

@media (max-width: 565px) {
    #jumbotron h1 {font-size: 2rem;}
    .lead { font-size: 1rem; }
    p { font-size: .9rem; }
}

/* 576px以上 */

@media (min-width: 576px) {


    .lead {font-size: 1.2rem;}
}

/* 768px以上 */

@media (min-width: 768px) {

}

/* 992px以上 */

@media (min-width: 992px) {

}

/* 1200px以上 */

@media (min-width: 1200px) {

}

/* 1400px以上 */

@media (min-width: 1400px) {

}


/* カルーセル */

.swiper {
    width: 100%;
}

.swiper-pagination {
    position: static;
}

.swiper-wrapper { align-items: stretch!important; }
.swiper-slide { height: auto !important; }


.swiper-slide div {
    margin: 5px;
    border-radius: 6px;
    background-color: #0d6efd;
    color: #FFF;
    box-shadow: 2px 2px 4px #FFF;
    padding: 0 15px;
}
.swiper-slide div { height: 100% !important; }

.swiper-pagination span {
    display: inline-block;
    width: 9.5em;
    font-size: 1rem;
    border-radius: 2px;
    height: 100%;
    color: #FFF;
    background: #607d8b;
    opacity: unset;
    padding: 7px 3px;
    margin-bottom: 5px !important;
}

span.swiper-pagination-bullet-active {
    background: #03a9f4;
}

.swiper-button-next, .swiper-button-prev {
    top: 40%;
}

.swiper h3 {
    text-align: center;
}

.swiper-pagination span:nth-child(1)::before { content: "京都市北区";}
.swiper-pagination span:nth-child(2)::before { content: "京都市上京区";}
.swiper-pagination span:nth-child(3)::before { content: "京都市左京区";}
.swiper-pagination span:nth-child(4)::before { content: "京都市中京区";}
.swiper-pagination span:nth-child(5)::before { content: "京都市東山区";}
.swiper-pagination span:nth-child(6)::before { content: "京都市山科区";}
.swiper-pagination span:nth-child(7)::before { content: "京都市下京区";}
.swiper-pagination span:nth-child(8)::before { content: "京都市南区";}
.swiper-pagination span:nth-child(9)::before { content: "京都市右京区";}
.swiper-pagination span:nth-child(10)::before { content: "京都市西京区";}
.swiper-pagination span:nth-child(11)::before { content: "京都市伏見区";}
.swiper-pagination span:nth-child(12)::before { content: "福知山市";}
.swiper-pagination span:nth-child(13)::before { content: "舞鶴市";}
.swiper-pagination span:nth-child(14)::before { content: "綾部市";}
.swiper-pagination span:nth-child(15)::before { content: "宇治市";}
.swiper-pagination span:nth-child(16)::before { content: "宮津市";}
.swiper-pagination span:nth-child(17)::before { content: "亀岡市";}
.swiper-pagination span:nth-child(18)::before { content: "城陽市";}
.swiper-pagination span:nth-child(19)::before { content: "向日市";}
.swiper-pagination span:nth-child(20)::before { content: "長岡京市";}
.swiper-pagination span:nth-child(21)::before { content: "八幡市";}
.swiper-pagination span:nth-child(22)::before { content: "京田辺市";}
.swiper-pagination span:nth-child(23)::before { content: "京丹後市";}
.swiper-pagination span:nth-child(24)::before { content: "南丹市";}
.swiper-pagination span:nth-child(25)::before { content: "木津川市";}
.swiper-pagination span:nth-child(26)::before { content: "大山崎町";}
.swiper-pagination span:nth-child(27)::before { content: "久御山町";}
.swiper-pagination span:nth-child(28)::before { content: "井手町";}
.swiper-pagination span:nth-child(29)::before { content: "宇治田原町";}
.swiper-pagination span:nth-child(30)::before { content: "笠置町";}
.swiper-pagination span:nth-child(31)::before { content: "和束町";}
.swiper-pagination span:nth-child(32)::before { content: "精華町";}
.swiper-pagination span:nth-child(33)::before { content: "南山城村";}
.swiper-pagination span:nth-child(34)::before { content: "京丹波町";}
.swiper-pagination span:nth-child(35)::before { content: "伊根町";}
.swiper-pagination span:nth-child(36)::before { content: "与謝野町";}

@media (max-width: 565px) {
    .swiper-pagination span {
        display: inline-block;
        width: 8em;
        font-size: .7rem;
    }
    .swiper-button-next:after, .swiper-button-prev:after {
        font-size: 15px;
    }
    .swiper-button-next, .swiper-button-prev {
        top: 16.5%;
    }
}

/* */

.table___all  {
    width: 100%;
    margin-bottom: 1.5rem;
}

.table___area {
    width: 80%;
    margin: 0 auto 1.5rem auto;
}

.table___area td {
    width: 25%;
}

.table___all .st {
    text-align: center;
}

.table___all .kaihyoritsu {
    text-align: right;
}

.table___all .kaihyoritsu span {
    font-size: 1.5rem;
}

.table___all tr {
    border-top: 3px solid;
}

.table___area tr {
    border-top: 1px solid;
}

.table___all td.face {
    width: 10%;
}

.table___all .name {
    font-size: 1.5rem;
    font-weight: 550;
    text-align: center;
    white-space: nowrap;
}

.table___all td.p-data {
    font-size: 1.6rem;
    text-align: right;
    font-weight: 600;
}

.table___all .face img {
    border: 1px solid #cbcbcb;
    margin: .5rem;
}

.table___all td.update {
    text-align: right;
    padding: 5px;
}

.table___area td.p-data {
    text-align: right;
    font-weight: 600;
}

.table___area td.kaihyoritsu {
    text-align: right;
}

.table___area td.kaihyoritsu span {
    font-size: 1.2rem;
}


@media (max-width: 767px) {
    .table___all .st img {width: 30px; height: auto;}
    .table___all .face img {width: 40px; height: auto;}
    .table___all td {font-size: .9rem !important;}
    .table___all .kaihyoritsu span {font-size: 1.2rem;}

    .table___area td {width: auto; font-size: .9rem;}
    .table___area .face img {width: 30px; height: auto;}

    .table___all td.kaihyoritsu span {font-size: 1rem;}
    .table___area td.kaihyoritsu span {font-size: 1rem;}
}

tr.b-none {
    border: none;
}

tr.b-none td {
    text-align: right;
    padding-top: 1rem;
}

span.update {
    border: 1px solid #000;
    padding: .3rem;
    font-size: .85rem;
}

/* footer */
#footer {
  background-color: #eee;
}
#banner-footer-nav, #banner-footer-license {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
@media (min-width: 768px) {
  #banner-footer-nav .navbar-nav>li>a {
    padding-top: 0;
  }
}
@media (max-width: 767px) {
  #banner-footer-nav {
    margin-bottom: 0;
  }
}



/* add */

.navbar {
    padding: 0;
    z-index: 100;
}

.navbar > .container, #footer, #footer > .container {
	background: transparent;
    background-color: transparent;
}

.navbar___header {
  padding: 8px 8px 3px 8px;
  margin: 0;
}


@media (max-width: 991px) {
    ul.navbar-nav > li {
        padding: .2rem .5rem;
        /* background: #3f51b5; */
        border-bottom: 1px solid #000;
    }
    .navbar-nav {
        width: 100%;
        background: #FFF;
    }

    a.nav-link {
        color: #000 !important;
        font-weight: 600;
        text-shadow: 1px 1px 3px #fff;
    }
}


@media (min-width: 992px) {
    ul.navbar-nav > li {
        padding: .5rem .1rem;
    }
}








/* Add */





/* entry nav */

nav.entry-navigation {
    margin-top: 3rem;
    border-top: 1px dotted #999;
    padding-top: 1rem;
}

ul.entry-navigation-list {
    padding: 0;
    margin: 0;
    display: flex;
}

ul.entry-navigation-list li {
    list-style: none;
    width: 50%;
    margin: 0;
    padding: 0;
}

ul.entry-navigation-list li.entry-navigation-prev {
    font-size: 1rem;
    text-align: left;

}

ul.entry-navigation-list li.entry-navigation-prev i {
    font-size: 2rem;
    margin-right: .6rem;
    float: left;
}

ul.entry-navigation-list li.entry-navigation-next {
    font-size: 1rem;
    text-align: right;

}

ul.entry-navigation-list li.entry-navigation-next i {
    font-size: 2rem;
    margin-left: .6rem;
    float: right;
}

ul.entry-navigation-list li p {
    display: inline-table;
    width: 86%;
    margin-top: .3rem;
}

@media (max-width: 767px) {
    ul.entry-navigation-list { display: block; }
    ul.entry-navigation-list li { width: 100%; }
}

footer.page-navigation {
    text-align: center;
}

footer.page-navigation nav {
    display: flex;
    justify-content: center;
}




/* page-top */

#page-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1rem;
    font-size: 1.2rem;
    line-height: 1;
    background: #000000;
    color: #ffffff;
    border: solid 3px;
    border-radius: 50%;
    z-index: 1000;
    box-shadow: 2px 2px 5px #000;
    width: 3rem;
    height: 3rem;
    text-align: center;
    padding-top: .6rem;
}


/* メニュー開閉 */

.openbtn4{
  position: relative;
  background:#D54884;
  cursor: pointer;
    width: 40px;
    height:40px;
  border-radius: 5px;
}

.openbtn4 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 12px;
    height: 2px;
    border-radius: 5px;
    background: #fff;
    width: 45%;
}

.openbtn4 span:nth-of-type(1) {top:8px;} 
.openbtn4 span:nth-of-type(2) {top:14px;}
.openbtn4 span:nth-of-type(3) {top:20px;}

.openbtn4 span:nth-of-type(3)::after {
    content:"Menu";
    position: absolute;
    top:5px;
    left:-6px;
    color: #fff;
    font-size: 0.6rem;
    text-transform: uppercase;
}

.openbtn4.active span:nth-of-type(1) {
    top: 8px;
    left: 15px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn4.active span:nth-of-type(2) {opacity: 0;}

.openbtn4.active span:nth-of-type(3){
    top: 20px;
    left: 15px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

.openbtn4.active span:nth-of-type(3)::after {
    content:"Close";
    transform: translateY(0) rotate(-45deg);
    top: 5px;
    left: -1px;
}


/* ぱんくずリスト */

nav.nav___bcl {
    overflow-x: scroll;
    display: flex;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: #dee2e6;
}

nav.nav___bcl::-webkit-scrollbar {
 display:none;
}

.nav___bcl span {
    background: #0d3771;
    transform: skew(20deg, 0deg);
    margin: 0 0 0 1.5px;
    display: inline-flex;
    color: #FFF;
}

.nav___bcl span a {
    font-size: .7rem;
    transform: skew(-20deg, 0deg);
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    display: inline-block;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    white-space: nowrap;
    color: #FFF;
    text-decoration: none;
}

.nav___bcl span:hover {
    background: #dc3545;
    transform: skew(20deg, 0deg);
}

.nav___bcl > span:first-child {
    margin-left: -1rem;
    padding-left: .8rem !important;
}

@media (max-width: 767px) {
    .dropdown-item {
        font-size: .9rem;
        font-weight: 600;
    }
}

/* 記事一覧 */

.article___list {

}

.article___list h1 {
	font-family: A1 Gothic M;
    font-size: 1.4rem;
    font-feature-settings: 'kern' 1; 
    text-rendering: optimizeLegibility; 
}

.article___list-item {
    border-bottom: 1px solid #bbb;
    margin-bottom: 1rem;
}



.article___list-item h2 {
	font-family: A1 Gothic M;
    font-size: 1.2rem;
    font-feature-settings: 'kern' 1; 
    text-rendering: optimizeLegibility;
    margin-bottom: .25rem;
}

.article___list-item a {
    text-decoration: none;
    padding: .5rem;
    margin: 0;
}

.article___list-item a img {
    display: block;
    transform: scale(1);
    transition-duration: 0.5s;
}

.article___list-item a:hover img {
    transform: scale(1.1);
    transition-duration: 0.5s;
}

.article___list-item a:hover,
.article___list-item a:focus{
/*    background: #e9ecef;*/
    color: #000;
}


.article___list-item-inner {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 24px 0;
    color: inherit;
}

.article___list-media {
    flex-basis: 30%;
}

@media (max-width: 575px) {
    .article___list-media {flex-basis: 30%;}
}

.article___list-content {
    flex-basis: 70%;
    position: relative;
    margin: 0 0 0 25px;
}


time.entry___time {font-size: .8rem; margin-bottom: .2rem; display: block;}
.article___list-content header {line-height: 1;}
.article___list-content p {font-size: .85rem;}

.article___list-item footer {
    margin: -5vh 0 0 0;
    text-align: right;
    padding-bottom: 15px;
}

a.tag___cat {
    background: #cdcdcd;
    color: #323232;
    font-size: .75rem;
    padding: .2rem .8rem;
    border-radius: 1rem;
    position: relative;
    font-weight: 600;
    letter-spacing: .05rem;
    text-decoration: none;
}

a.tag___cat:hover {
    background: #eee;
}

@media (max-width: 575px) {
    .article___list-content {flex-basis: 70%;}
    .article___list-content time {font-size: .70rem;}
    .article___list-content h2 {font-size: .85rem;}
    .article___list-content p {font-size: .75rem;}
    .article___list-item footer a {font-size: .75rem;}
}



figure {
  overflow: hidden;
  aspect-ratio: 5/3;
}
figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* SNS */

.navbar___header-sns {
    width: 45%;
}

.navbar___footer-sns {
    width: 100%;
    margin: 0 0 1.5rem 0;
}

.navbar___header-sns-inner,
.navbar___footer-sns-inner {
    text-align: center;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.navbar___header-sns li,
.navbar___footer-sns li {
    list-style: none;
    width: 100%;
    display: block;
}

.navbar___footer-sns a.fb {background: #4267B2;}
.navbar___footer-sns a.tw {background: #1DA1F2;}
.navbar___footer-sns a.li {background: #13bf00;}

.navbar___header-sns li a,
.navbar___footer-sns li a {
    color: #FFF;
    font-size: 1.5rem;
    list-style: none;
    text-align: center;
    display: block;
}




.main-title {
	font-family: A1 Gothic M;
    font-size: 1.4rem;
}

.section {
    background: #FFF;
    padding: 2rem .5rem 1rem .5rem;
    border-radius: 6px;
    box-shadow: 2px 2px 2px #727272;
}

.section h3 {
    font-size: 1.4rem;
    padding: 5px 0 5px 0;
    font-family: A1 Gothic B;
    font-feature-settings: 'kern' 1;
    text-rendering: optimizeLegibility;
}

.movie {
    height: 0;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 56.25%;
/*    padding-top: 30px;*/
    position: relative;
}

.movie iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}




/* load */

#overlay{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height:100%;
    display: none;
    background: rgba(0,0,0,0.6);
}
.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spinner {
    width: 80px;
    height: 80px;
    border: 4px #ddd solid;
    border-top: 4px #999 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}
.is-hide{
    display:none;
}

