@media screen and (max-width: 480px) {
   html {
        font-size: 0.9rem; 
   }
   body {
        /* font-size: 0.9rem; */
   }
}

/* 新着情報の表示設定　*/
.new-info header h2 {
  pointer-events: none;
  color: black;
  font-size: 1rem; 
  margin-bottom: 0;
  text-align: right;
}

.new-info header b {
    display: none; 
}

.new-info header h2 a{
    color: #555555;
   font-weight: 400;
      font-size: 0.9em;
}

.new-info span {
   text-align: right;
}

.new-info {
   font-weight: 400;
}

#frame-card-11 form[name="narrowing_down11"]{
    display: none;
}

#frame-card-163 form[name="narrowing_down163"]{
    display: none;
}

.new-info #frame-card-11 > div > nav > ul {
   display: none;
}

/* 緊急・重要なお知らせ　*/
#frame-card-163 {
   background-color: white;
   border: 3px solid #ab0f50;
   color: black; /*color: #ab0f50;*/
   font-weight: 400;
}

#frame-card-163 h1 {
    border-left: none;
    border: 2px solid white;
    background-color: white;
    color: #ab0f50;
   font-weight: 550;
}

#frame-card-163 h2 a{
    color: #ab0f50;
   font-weight: 400;
   font-size: 0.9em;
}

#frame-card-163 > div > article > div > p  a{
   color: #ab0f50;

}

.company-details,
.contact-details {
  margin-bottom: 20px;
}

.company-details span {
  display: block;
}

.input-group > * {
  margin-top: 10px;
}

/* リンクの色　*/
a {
  color: #1760a0;
   /* color: #000080; */
}

/* ドロップダウンメニューの文字サイズ変更　*/
.top-menu li{
   font-size: 0.8em;
   /* background-color: #d0d0d0; */
}
.top-menu a:hover{
  /* color: black; */
}

.dropdown-item.active, .dropdown-item:active {
   /* color: black; */
   font-size: 0.8em;
}

/* ドロップダウンメニューの設定　*/
div.dropdown-menu{
   background-color: white;
   color: black;
}

div.dropdown-menu a.dropdown-item {
   color: black;
   font-size: 0.8em;
}


a.nav-link.active.dropdown-toggle.depth-0{
   background-color: #F0F0F0;
   color: black;
}

.dropdown-item {
   color: white;
   font-size: 0.8em;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
   /* background-color: black;
   color: white;*/
   background-color: #F0F0F0;
   color: black;
   border-bottom: 7px solid darkblue;
}

div > nav > ul > li.nav-item.dropdown.show > div > a.dropdown-item.depth-1.active{
    background-color: black;
    color: white;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #888888;
}

.fixed {
   position: fixed;
   top: 55px;
   left: 0;
   width: 100%;
   z-index: 10;
}

/*　スマホのメニュー表示調整　*/
.nav-item i {
   padding-left: 10px;
}


#frame-129 {
   transition: all 0.3s ease-in-out;
}


@media (max-width: 767.97px){
   #frame-card-344{
      min-height: 600px;
   }
}

/* フッターの背景色　*/

.nav-item li a{
    background-color: #000; /* メニューバーの背景色 */
    color: #b3d0d7;
}


.footer_copyright div{
     background-color: #1760a0; 
     color: white;
}
.footer_copyright a{
     color: #f2f2f2; ;
}

/* ヘッダーにみきゃん画像を追加　*/
.navbar-brand.cc-custom-brand:before {
    content: "";
    background-image: url('/themes/Users/css/images/mikyan01.gif');
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    height: 30px; /* 画像の高さを指定 */
    width: 40px; /* 画像の幅を指定 */
    margin-right: 0px; /* テキストとの間隔を指定 */
    vertical-align: middle; /* 上下中央に配置　*/
}


/* スライドショーのレスポンシブ表示の調整　*/

@media (max-width: 767.98px){
   #frame-card-125 {
      min-height: 200px;
   }
}

@media (min-width: 768px){
   #frame-card-125 {
      min-height: 600px;
   }
}

@media (max-width: 767.98px){
   #frame-card-342{
      min-height: 200px;
   }
}

@media (min-width: 768px){
   #frame-card-342 {
      min-height: 600px;
   }
}


/* h1の背景色 */
h1.card-header {
    border-top: 5px solid #1760a0;
    border-bottom: 1px dotted #1760a0;
    background-color: #f2f2f2;
    font-weight: 550;
}

div.card {
   /*margin-top:  1em;*/
}

/* リンクリストの左マージンの調整　*/
.link-list dd{
    margin-left: 2.0ch;
}

.link-list dd:before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-top: 2px solid #2589d0;
    border-right: 2px solid #2589d0;
    transform: rotate(45deg);
    margin-right: 5px;
}



/* TOPメニューの調整　*/
.site-list-top ul {
  list-style-type: none;
}

.site-list-top  ul li::before {
   content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-top: 2px solid #2589d0;
    border-right: 2px solid #2589d0;
    transform: rotate(45deg);
    margin-right: 5px;
}

.site-list-top  ul ul > li::before {
   content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-top: 2px solid #dbedf0;
    border-right: 2px solid #dbedf0;
    transform: rotate(45deg);
    margin-right: 5px;
}




.sns-container li {
   float: left;
   margin-right: 10px;
   animation: loop-slide 30s infinite linear 1s both; 
}

.sns-container img.img-fluid {
   max-width: none;
   width: 200px;
}



#frame-card-165 .card-body a{
   display: inline-block;
   padding: 10px 20px;
   margin: 10px;
   font-size: 16px;
   text-align: center;
   text-decoration: none;
   background-color: #f2f2f2; 
   color: #1760a0;
   font-weight: 550;
   border-radius:  5px;
   border: 3px solid #ccc;
}

#frame-card-165 a:hover {
   background-color: #ccc;
}

#frame-card-165 div.card-body {
   display: flex;
   flex-wrap: wrap;
   align-items: flex-start;
   justify-content: flex-start;
}



/* お問い合わせの要素非表示 */
[aria-label="事務局連絡先のページ付け"] {
   display: none;
};



#frame-card-298 .database_data a:not(.btn) {
  pointer-events: none;
  cursor: default;
}




/* TOPICSの画像を横方向に流れる */
.topicsslide {
  display: flex;
}

/*
.sns-flex div :not(a){
   display: flex;
   flex-wrap: wrap;
}

.sns {
   flex: 1 0 auto;
}
*/


.carousel_base{
   display: flex;
   overflow-x: hidden;
   overflow-y: hidden;
   scroll-snap-type: x mandatory;
   scroll-behavior: smooth;
/*   scrollbar-width: none;
   -ms-overflow-style: none; */
}

/*
.carousel_base::-webkit-scrollbar {
   display: none;
} */


.carousel_img{
   flex: none;
   scroll-snap-align: start;
   width: 25%;
   height: 25%;
   transform-origin: center center;
   transform: scale(1);
   transfom: transform 0.5s;
   position: relative;
   padding: 1em;
   box-sizing: border-box;
}
@media screen and (max-width: 768px) {
   .carousel_img {
      width: 50%;
      height: 50%;
  }
}

.carousel_button {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   background: rgba(255,255,255,0.7);
   border: none;
   font-size: 2em;
   padding: 10px;
   z-index: 1;
}

.carousel_button--left {
   left: 10px;
}

.carousel_button--right {
   right: 10px;
}

.carousel_button--left ,.carousel_button--right {
   pointer-events: auto;
}

.carousel-container {
   potsition: relative;
}

div.database_data.border.p-3 a {
   pointer-events: none;
   cursor: default;
   text-decoration: none;
   color: inherit;
}

/* アコーディオンメニュー　*/
.accordion-003 {
    max-width: 100%;
    margin-bottom: 7px;
    border-bottom: 2px solid #d0d0d0;
}

.accordion-003 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
    background-color: #f3f0ea;
}

.accordion-003 summary::-webkit-details-marker {
    display: none;
}

.accordion-003 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

.accordion-003[open] summary::after {
    transform: rotate(225deg);
}

.accordion-003 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-003[open] p {
    transform: none;
    opacity: 1;
}