@charset "UTF-8";

/*--------------------------------------------------------------
  カラー
-------------------------------------------------------------- */
.account-masthead {
  background-color: #06304E;
}

.masthead,
.site-footer {
  background-color: #021D2E;
}

.pill {
  background-color: #607880;
}

.badge {
  background-color: #767676;
}

.dataset-resources li a {
  background-color: #767676;
}

.label[data-format=html],.label[data-format*=html] {
  background-color: #387ca3;
}

.label[data-format=json],.label[data-format*=json] {
  background-color: #c55307;
}

.label[data-format=xml],.label[data-format*=xml] {
  background-color: #c55307;
}

.label[data-format=text],.label[data-format*=text] {
  background-color: #4177aa;
}

.label[data-format=csv],.label[data-format*=csv] {
  background-color: #a36700;
}

.label[data-format=xls],.label[data-format*=xls] {
  background-color: #1c8741;
}

.label[data-format=api],.label[data-format*=api] {
  background-color: #b25782;
}

.pagination>.disabled>span, .pagination>.disabled>span:hover, .pagination>.disabled>span:focus, .pagination>.disabled>a, .pagination>.disabled>a:hover, .pagination>.disabled>a:focus {
  color: #767676;
}

.nav-item.active>a,
.nav-aside li.active a {
  background-color: #607880;
}

.empty {
  color: #767676;
}

/*--------------------------------------------------------------
  データセット一覧
-------------------------------------------------------------- */
.dataset-meta {
  margin-top: 20px;
}

.dataset-meta-item {
  margin-bottom: 5px;
}

.dataset-meta-item-title {
  float: left;
}

.dataset-meta-item-title::after {
  content: ':';
  display: inline-block;
  padding: 0 8px;
}

/*--------------------------------------------------------------
  Modal Window
-------------------------------------------------------------- */
.modal-background {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
}

#modal-survey.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 80%;
  max-width: 800px;
  height: calc(100vh - 100px);
  max-height: 85%;
  padding: 30px 10px;
  background-color: #FFF;
  border-radius: 8px;
  transform: translate(-50%, -50%);
  z-index: 20;
}

.modal__inner {
  max-height: 100%;
  padding: 0 30px;
  overflow-y: auto;
}

@media screen and (max-width: 767px) {
  .modal__inner {
    padding: 0;
  }
}

.modal__close-button {
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
  font-size: 24px;
  border: none;
  appearance: auto;
  line-height: normal;
  color: #000;
}

.modal__title {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
  padding-bottom: 25px;
  color: #000;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  border-bottom: 3px solid #317BB1;
}

@media screen and (max-width: 767px) {
  .modal__title {
    font-size: 18px;
  }
}

@media screen and (max-width: 767px) {
  .modal__title {
    padding-top: 32px;
    margin-bottom: 48px;
    line-height: 1.3;
  }
}

/*--------------------------------------------------------------
  header
-------------------------------------------------------------- */
.metro-tokyo {
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -4px 0 0 23px;
  width: 167px;
  height: 48px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  background: #042B43;;
  border: 4px solid #093E60;
  border-radius: 24px;
}

.metro-tokyo:hover {
  text-decoration: none;
  background: #093E60;
}

@media (min-width: 768px) and (max-width: 991px) {
  .masthead .navbar-collapse,
  .masthead .navigation.section {
    float: left;
  }
}

@media (max-width: 767px) {
  .metro-tokyo {
    float: none;
    margin: 10px 0 0;
    width: auto;
  }
}

/*--------------------------------------------------------------
  masonry
-------------------------------------------------------------- */
.media-grid {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
}

.media-item {
    float: none;
}

.media-item img {
    width: 100%;
    height: auto;
}

.media-heading + p {
    word-break: break-all;
    word-wrap: break-word;
}
