/******************************/
/*           共通　           */
/******************************/ 
.main_wrap{
  margin-bottom:30px;
}

.uk-icon {
  color: #fefefe;
}

.uk-close{
  color:#333;
}

/* リスト区切り線 */
.uk-list-divider>li:nth-child(n+2) {
    border-top: 1px dashed #9c9c9c;
    margin-top: 12px;
}

/* テーブル */
.custom-uk-table {
  margin: 0; 
  margin-top: 0;
  color: #333;
  font-weight: bold;
}
.custom-table thead th, .custom-table tbody td {
  height: 40px; 
  vertical-align: middle;
}
.custom-uk-table thead th {
  color: #6d6d6d;
}
.custom-table tbody tr {
  display: flex;
  align-items: center;
}


/* タイトル */
.top-title {
  position: absolute;
  top: -180px;
  left: 0px;
  height: 170px;
  width: inherit;
  z-index: 0;
}
.top-title-news {
  position: absolute;
  top: -180px;
  left: -80px;
  height: 70%;
  width: -webkit-fill-available;;
  z-index: 0;
}
.title-topics-icon {
  background: url("/assets/img/title/shimanekko-36.png") no-repeat left top / contain;
  position: absolute;
  top: -160px;
  left: 250px;
  width: 175px;
  height: 123px;
  z-index: 0;
}
.title-news {
  background: url("/assets/img/title/title-news.svg") no-repeat left top / contain;
}
.title-topics {
  background: url("/assets/img/title/title-topics.svg") no-repeat left top / contain;
}
.title-surveillance {
  background: url("/assets/img/title/title-surveillance.svg") no-repeat left top / contain;
}
.title-map {
  background: url("/assets/img/title/title-map.svg") no-repeat left top / contain;
}
.title-classclosure {
  background: url("/assets/img/title/title-classclosure.svg") no-repeat left top / contain;
}
.title-portalfile {
  background: url("/assets/img/title/title-portalfile.svg") no-repeat left top / contain;
}

.top-date-text{
  text-align:right;
  color: #40785e;
  padding-right:5px;
}

/* 新着情報・お知らせ */
.custom-icon.news {
  color: #ababab;
}
.custom-icon.topics {
  background-color: #ff1a00;
  border-radius: 0px;
}

/* 感染症サーベイランス */
.surveillance-title {
  position: relative;
  display: block;
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  padding-left: 40px;
  text-align:left;
  padding-bottom: 5px;
}
.surveillance-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  border-radius: 6px;
}
.surveillance-title-danger::before {
  background: #fa4b41;
}
.surveillance-title-danger {
  color: #fa4b41;
}
.surveillance-title-warning::before {
  background: #f98a3f;
}
.surveillance-title-warning {
  color: #f98a3f;
}
.surveillance-title-normal::before {
  background: #676767;
}
.surveillance-title-normal {
  color: #676767;
}
.s-message-danger {
  color: #fa4b41;
  margin-bottom: 10px;
}
.s-message-warning {
  color: #f98a3f;
  margin-bottom: 10px;
}

.uk-accordion-title:hover {
    color: black;
    text-decoration: none;
    outline: 0;
}

/* 2025-01-15 ogasawara add */
/* iPhone8など一部端末では文字サイズが小さくなるよう設定 */
@media (max-width: 375px) {
  #map_link, #topics_link, #news_link{
    font-size: 13px;
  }

.title-news {
  /* background-image: url("/assets/img/title/title-news_sp.svg"); */
  background-image: url("/assets/img/title/title-news_sp.png");
  background-size: 350px 204px !important; /* 幅500px、高さ300pxに拡大 */
  background-repeat: no-repeat;
  background-position: left;

}
.title-topics {
  /* background-image: url("/assets/img/title/title-topics_sp.svg"); */
  background-image: url("/assets/img/title/title-topics_sp.png");
  background-size: 350px 204px !important; /* 幅500px、高さ300pxに拡大 */
  background-repeat: no-repeat;
  background-position: left;

}
.title-surveillance {
  /* background-image: url("/assets/img/title/title-surveillance_sp.svg") ; */
  background-image: url("/assets/img/title/title-surveillance_sp.png") ;
  background-size: 350px 204px !important; /* 幅500px、高さ300pxに拡大 */
  background-repeat: no-repeat;
  background-position: left;

}
.title-map {
  /* background-image: url("/assets/img/title/title-map_sp.svg") ; */
  background-image: url("/assets/img/title/title-map_sp.png") ;
  background-size: 350px 204px !important; /* 幅500px、高さ300pxに拡大 */
  background-repeat: no-repeat;
  background-position: left;

}
.title-classclosure {
  /* background-image: url("/assets/img/title/title-classclosure_sp.svg") ; */
  background-image: url("/assets/img/title/title-classclosure_sp.png") ;
  background-size: 350px 204px !important; /* 幅500px、高さ300pxに拡大 */
  background-repeat: no-repeat;
  background-position: left;

}
.title-portalfile {
  /* background-image: url("/assets/img/title/title-portalfile_sp.svg") ; */
  background-image: url("/assets/img/title/title-portalfile_sp.png") ;
  background-size: 350px 204px !important; /* 幅500px、高さ300pxに拡大 */
  background-repeat: no-repeat;
  background-position: left;

}

.title-topics-icon {
/*
  top: -125px;
  left: 205px;
  width: 175px;
  height: 90px;
  z-index: 0;
  */

  display:none;  
}
.title-topics-icon-caption {
  /*
    top: -35px;
    left: 226px;
    z-index: 0;
    position: absolute;
    font-size: 10px;
  */
    display:none; 
}

}

/******************************/
/*           スマホ用           */
/******************************/
@media (max-width: 959px) {
.main_wrap{
  position: relative; 
  margin-bottom:80px; 
  margin-top:80px;
}

.title-news {
  /* background-image: url("/assets/img/title/title-news_sp.svg"); */
  background-image: url("/assets/img/title/title-news_sp.png");
  background-size: 427px 249px; /* 幅500px、高さ300pxに拡大 */
  background-repeat: no-repeat;
  background-position: left;

}
.title-topics {
  /* background-image: url("/assets/img/title/title-topics_sp.svg"); */
  background-image: url("/assets/img/title/title-topics_sp.png");
  background-size: 427px 249px; /* 幅500px、高さ300pxに拡大 */
  background-repeat: no-repeat;
  background-position: left;

}
.title-surveillance {
  /* background-image: url("/assets/img/title/title-surveillance_sp.svg") ; */
  background-image: url("/assets/img/title/title-surveillance_sp.png") ;
  background-size: 427px 249px; /* 幅500px、高さ300pxに拡大 */
  background-repeat: no-repeat;
  background-position: left;

}
.title-map {
  /* background-image: url("/assets/img/title/title-map_sp.svg") ; */
  background-image: url("/assets/img/title/title-map_sp.png") ;
  background-size: 427px 249px; /* 幅500px、高さ300pxに拡大 */
  background-repeat: no-repeat;
  background-position: left;

}
.title-classclosure {
  /* background-image: url("/assets/img/title/title-classclosure_sp.svg") ; */
  background-image: url("/assets/img/title/title-classclosure_sp.png") ;
  background-size: 427px 249px; /* 幅500px、高さ300pxに拡大 */
  background-repeat: no-repeat;
  background-position: left;

}
.title-portalfile {
  /* background-image: url("/assets/img/title/title-portalfile_sp.svg") ; */
  background-image: url("/assets/img/title/title-portalfile_sp.png") ;
  background-size: 427px 249px; /* 幅500px、高さ300pxに拡大 */
  background-repeat: no-repeat;
  background-position: left;

}

/* ヘッダー・メニュー */
#header {
  background: linear-gradient(0deg, #fff 0%, #fff 10px, #fff 5px, #fff 100%);
  /* background: linear-gradient(0deg, #10759a 0%, #10759a 10px, #fff 5px, #fff 100%); */
  vertical-align: middle;
  /* border-left: 5px solid #08518f;
  border-right: 5px solid #08518f; */
  z-index: 10;
}
  .custom-uk-table thead th, .custom-uk-table tbody td {
    height: 20px; 
    vertical-align: middle;
    padding: 5px;
  }

/* タイトル */
.top-title {
  position: absolute;
  top: -140px;
  left: -30px;
  height: 125px;
  width: 100%;
  z-index: 0;
}

.top-title-news {
  position: absolute;
  top: -80px;
  left: -30px;
  height: 125px;
  width: -webkit-fill-available;;
  z-index: 0;
}

.title-topics-icon {

  /* top: -125px;
   left: 205px; 
   width: 175px;
   height: 90px; */
  top: -125px;
  left: 245px;
  width: 70px;
  height: 80px;
  z-index: 0;
 

  /* display:none;   */
}
.title-topics-icon-caption {
  
    /*top: -35px;
     left: 226px; */
    top: -45px;
    left: 245px;
    z-index: 0;
    position: absolute;
    font-size: 10px;
 
    /* display:none;  */
}
.license-number {
  position: absolute;
  right: 0;
  bottom: -80px;
  font-size: 14px;
}

/* 感染症流行状況 */
.custom-card-s {
  padding: 0;
  /* border-radius: 60px;  */
  /* width: calc(50% - 8px); */
  width: 100%;
  height: 55px;
  justify-content: center; 
  align-items: center; 
  text-align: center;
  margin: 5px 2px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.custom-card-body-s {
  padding: 0px;
  /* font-size: 12.5px; */
  color: #333;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
/* .s-title-parent {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 42px;
} */
.s-title {
  padding: 5px;
  padding-right: 0;
  width: 115px;
  font-weight: bold;
  display: flex;
  align-items: center;
  color: #333;
  width: 70%;
  height: 40px;
  padding-left: 12px;
}
.s-value {
  width: 25%;
  font-size: 0.9em;
  font-weight: bold;
  text-align: center;
  align-self: center; 
  color: #676767;
}
/* .color-up {
color: #fe6489;
}
.color-down {
color: #64b6fe;
}
.color-right {
color: #a7a7a7;
} */
.s-icon {
  width: 15px;
  text-align: center;
  align-self: center; 
  padding-left: 2%;
  padding-right: 5%;
}
/* .s-badge {
  font-size: 0.8em;
  width:40px;
  margin: 2px;
  border-radius: 50px;
}
.s-badge-danger {
  background-color: #e8383d;
  color: #fff;
  border-radius: 50px;
}
.s-badge-warning {
  background-color: #ff8600;
  color: #fff;
  border-radius: 50px;
} */

*+.uk-grid-margin, .uk-grid+.uk-grid, .uk-grid>.uk-grid-margin {
  margin-top: 7px;
}



/* タブ */
.custom-card {
  padding: 0;
  /* border-radius: 20px; */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}
.custom-card-body {
  padding: 15px;
  /* padding-bottom: 35px; */
}
.custom-tab {
  /* display: flex;
  justify-content: space-between;
  width: 100%;
  margin-left: 0;
  padding: 0;
  overflow-x:hidden; */
}
.custom-tab li {
  /* flex-grow: 1;
  min-width: auto !important;
  background-color: #f0f0f0; 
  border-radius: 25px; 
  padding: 0;
  height: 100%; */
}
.custom-tab li.uk-active {
  /* background-color: #08518f; 
  color: white; 
  padding: 0; */
}
.custom-tab li a {
  /* background-color: #f0f0f0;
  padding: 5px 5px; 
  display: block;
  text-align: center;
  border-radius: 25px;
  font-size: 13px; */
}

.classclosure {
  width: 50px;
  font-size: 13px;
}


/* 新着情報・お知らせ */
.custom-card.news {
  min-height: 400px;
}
.item-date {
  display: flex;
  align-items: center;
  /* margin-bottom: 8px;  */
}
.date {
  font-size: 14px;
  margin-right: 10px;
}
.custom-icon {
  display: inline-block;
  font-size: 12px;
  color: #fff;
  min-width: 50px;
  height: 20px;
  margin: 3px;
  text-align: center;
}
.item-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px; 
  text-align: left;
  color: #333;
}
.item-content {
  font-size: 14px;
  color: #292929;
  text-align: left;
  padding-left: 5px;
}


/* マップ */
.map-select {
  width: 100%; 
  height: 35px !important;
  /* margin-top: 40px; */
}
.link-bottom-right {
  margin-right: 20px !important;
  margin-bottom: 15px !important;
}
.hanrei-position {
  position: absolute !important;
  right: 0px;
  bottom: 66px;
  left: auto;
  height: 80px;
  /* width: 45vw; */
  width: 50vw;
  margin-right: 5px;
}

}


/* PC用 */
@media (min-width: 960px) {
.main_wrap{
  margin: 30px auto;
  position: relative; 
  margin-bottom:100px; 
  margin-top:100px;
}
/* ヘッダー・メニュー */
#header {
  /* background: linear-gradient(0deg, #fff 0%, #fff 10px, #fff 5px, #fff 100%); */
  vertical-align: middle;
  /* border-left: 20px solid #63ac6e;
  border-right: 20px solid #63ac6e; */
  z-index: 10;
}

/* 背景 */
.bg-deco-1 {
  background: url("/assets/img/deco/bg-deco-1.svg") no-repeat left top / contain;
  position: absolute;
  top: -70px;
  left: -100px;
  width: 200px;
  height: 200px;
  z-index: 0;
}
.bg-deco-2 {
  background: url("/assets/img/deco/bg-deco-2.svg") no-repeat right top / contain;
  position: absolute;
  top: -150px;
  right: -100px;
  width: 200px;
  height: 200px;
  z-index: 0;
}
.bg-deco-3 {
  background: url("/assets/img/deco/bg-deco-3.svg") no-repeat left top / contain;
  position: absolute;
  top: 100px;
  left: -100px;
  width: 200px;
  height: 200px;
  z-index: 0;
}
.bg-deco-4 {
  background: url("/assets/img/deco/bg-deco-4.svg") no-repeat right top / contain;
  position: absolute;
  top: 100px;
  right: -100px;
  width: 200px;
  height: 200px;
  z-index: 0;
}
.bg-deco-6 {
  background: url("/assets/img/deco/bg-deco-6.svg") no-repeat left top / contain;
  position: absolute;
  top: 100px;
  left: -100px;
  width: 200px;
  height: 200px;
  z-index: 0;
}
.bg-deco-7 {
  background: url("/assets/img/deco/bg-deco-7.svg") no-repeat right top / contain;
  position: absolute;
  top: 400px;
  right: -100px;
  width: 200px;
  height: 200px;
  z-index: 0;
}
.bg-deco-8 {
  background: url("/assets/img/deco/bg-deco-2.svg") no-repeat left top / contain;
  position: absolute;
  top: 100px;
  left: -100px;
  width: 200px;
  height: 200px;
  z-index: 0;
}
.bg-deco-9 {
  background: url("/assets/img/deco/bg-deco-1.svg") no-repeat right top / contain;
  position: absolute;
  top: 600px;
  right: -100px;
  width: 200px;
  height: 200px;
  z-index: 0;
}
.bg-deco-10 {
  background: url("/assets/img/deco/bg-deco-3.svg") no-repeat left top / contain;
  position: absolute;
  top: 100px;
  left: -100px;
  width: 200px;
  height: 200px;
  z-index: 0;
}


/* タイトル */
.top-title {
  position: absolute;
  top: -180px;
  left: 0px;
  height: 170px;
  width: inherit;
  z-index: 0;
}
.title-topics-icon {
  top: -160px;
  left: 250px;
  width: 175px;
  height: 123px;
  z-index: 0;
}
.title-topics-icon-caption {
    top: -35px;
    left: 280px;
    z-index: 0;
    position: absolute;
    font-size: 10px;
}
.license-number {
  position: absolute;
  right: 0;
  bottom: -100px;
  font-size: 14px;
}

/* 感染症サーベイランス */
.custom-card-s {
  padding: 0;
  /* border-radius: 60px;  */
  /* width: 192px; */
  width: 290px;
  height: 60px;
  justify-content: center; 
  align-items: center; 
  text-align: center;
  margin: 10px 5px !important;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.custom-card-body-s {
  padding: 0px;
  color: #333;
  display: flex;
  justify-content: space-between;
}
/* .s-title-parent {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
} */
.s-title {
  font-weight: bold;
  color: #333;
  height: 60px;
  line-height: 60px;
  width: 235px;
  padding-left: 12px;
  text-align: start;
}
.s-value {
  width: 45px;
  font-size: 0.9em;
  font-weight: bold;
  text-align: center;
  align-self: center; 
  color: #676767;
}
/* .color-up {
color: #fe6489;
}
.color-down {
color: #64b6fe;
}
.color-right {
color: #a7a7a7;
} */
.s-icon {
  width: 15px;
  margin: 0px;
  text-align: center;
  align-self: center; 
  margin-bottom: 3px !important;
  padding-right: 5px;
}
/* .s-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7em;
  width:41px;
  margin: 4px;
  border-radius: 50px;
}
.s-badge-danger {
  background-color: #e8383d;
  color: #fff;
}
.s-badge-warning {
  background-color: #ff8600;
  color: #fff;
} */
*+.uk-grid-margin, .uk-grid+.uk-grid, .uk-grid>.uk-grid-margin {
  margin-top: 30px;
}

/* 新着情報・お知らせ */
.custom-card.news {
  min-height: 500px;
}
.item-date {
  display: flex;
  align-items: center;
  margin-left: 10px;
}
.date {
  font-size: 14px;
  margin-right: 10px;
}
.custom-icon {
  display: inline-block;
  font-size: 12px;
  color: #fff;
  min-width: 50px;
  height: 20px;
  margin: 3px;
  text-align: center;
}

.item-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px; 
  text-align: left;
  color: #333;
  margin-left: 10px;
}
.item-content {
  font-size: 16px;
  /*font-size: 14px;*/
  font-weight: bold; 
  color: #292929;
  text-align: left;
  padding-left: 5px;
}

.uk-accordion-title{
  font-weight: bold;  
}


/* カード */
.custom-card {
  padding: 0;
  /* border-radius: 20px; */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 5px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}


/* マップ */
.map-select {
  width: 300px; 
  margin-top: 40px;
}
.link-bottom-right {
  margin-right: 40px !important;
  margin-bottom: 35px !important;
}
.hanrei-position {
  position: absolute !important;
  left: 0px;
  bottom: 0;
  top: auto;
  margin-bottom: 35px;
  width: 360px;
}
.map-top {
  padding-bottom: 30px !important;
}


.mobile {
  display: none !important;
}
  
}


