/**************************\
  Basic Modal Styles
\**************************/

.modal {
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir,
    helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif;
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -5;
}

.modal__container {
  background-color: #fff;
  padding: 50px 18px 30px;
  max-height: 80vh;
  border-radius: 4px;
  box-sizing: border-box;
  overflow-y: scroll;
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal__title {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  color: #00449e;
  box-sizing: border-box;
}

.modal__close {
  background: transparent;
  border: 0;
}

.modal__header .modal__close:before {
  content: "\2715";
}

.modal__content {
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.8);
}

.modal__btn {
  font-size: 0.875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background-color: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  border-radius: 0.25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform 0.25s ease-out;
  transition: transform 0.25s ease-out;
  transition: transform 0.25s ease-out, -webkit-transform 0.25s ease-out;
}

.modal__btn:focus,
.modal__btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.modal__btn-primary {
  background-color: #00449e;
  color: #fff;
}

.modal__box {
  width: 100%;
}
.modal__box .timeline {
  max-height: 300px;
  overflow-y: scroll;
  margin-top: 2em;
}
.modal__box .tweet__title {
  color: #00acee;
  font-weight: bold;
  display: flex;
}
.modal__box .tweet__title img {
  width: 30px;
  display: inline-block;
  margin-left: 15px;
  height: 25px;
}
#welcome2020 #report .modal__box.tweet h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
}
#welcome2020 #report .modal__box.tweet h2 img {
  max-width: 160px;
  display: inline-block;
  margin-left: 1em;
}
.modal__box a {
  color: #fff !important;
  background: #00acee;
  padding: 0.5em 1.5em;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 1.5em;
  display: block;
  text-align: center;
  transition: background 0.3s;
  outline: none;
}
.modal__box a:hover {
  background: #008bc0;
}
#welcome2020 #report a.civic-modal-btn:hover {
  color: #0f4b89;
}

.modal__box sup {
  position: relative;
  top: -5px;
}
.modal__box small {
  line-height: 1.7;
  display: inline-block;
}

#welcome2020 #report .modal__box h2,
#welcome2020 #report .modal__box h3 {
  margin: 0 0 0.5em;
  text-align: left;
}

.modal-date {
  background: #000;
  color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.5em 2em;
  letter-spacing: 2px;
  font-style: italic;
  font-size: 0.9em;
}

.insta .instaInner {
  max-width: 700px;
  margin: 0 auto;
}
.insta .instaInner ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.insta .instaInner ul li {
  flex: 0 1 48%;
  margin-bottom: 20px;
}
.insta .instaInner ul li:nth-child(1) {
  background: url("../images/insta-coming.jpg") no-repeat center;
  background-size: cover;
  flex: 0 1 62%;
  height: auto;
  background: #fbfbfc;
}
.insta .instaInner ul li:nth-child(2) {
  flex: 0 1 34.5%;
  position: relative;
}
.insta .instaInner ul li:nth-child(2) img {
  border: 1px solid #d2d2d2;
}
.insta .instaInner ul li span {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #c10;
  color: #fff;
  display: inline-block;
  padding: 0.4em 1.5em 0.3em;
  border-radius: 30px;
  font-size: 0.8em;
  font-weight: bold;
}

#welcome2020 #report .insta .instaInner h2.dots {
  margin: 0 auto 40px;
  text-align: center;
  position: relative;
}

#report #Doit .O_CIVIC p.civic-text {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
    Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif" !important;
  color: #0f4b89;
  font-weight: 600;
  font-size: 1.2em;
}
#report #Doit .O_CIVIC p.civic-text small {
  font-size: 0.8em;
}
#report #Doit .O_CIVIC p.civic-text-s {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
    Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif" !important;
  color: #0f4b89;
  font-weight: 600;
  font-size: 1em;
}

/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes mmslideIn {
  from {
    transform: translateY(15%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10%);
  }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}
/*
.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}*/

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}

.modal__box .timeline.spHide {
  display: none;
}

a.civic-modal-btn img {
  transition: transform 0.4s;
}
a.civic-modal-btn:hover img {
  transform: scale(1.1);
}

.civic-text,
.civic-text-s {
  position: relative;
}
.civic-text .civic-bg:before {
  content: "CIVIC TALK";
  position: absolute;
  bottom: 140px;
  right: 0;
  font-size: 5.5em;
  font-weight: bold;
  opacity: 0.2;
}
.civic-text .civic-bg-2:before {
  content: "YOUR NO.1 CIVIC";
  position: absolute;
  bottom: 147px;
  right: 0;
  font-size: 4em;
  font-weight: bold;
  opacity: 0.2;
}

.modal_bg {
  background: rgba(0, 0, 0, 0.3);
  height: 100vh;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: -2;
  transition: opacity 0.3s;
  opacity: 0;
}
.modal_bg.active {
  z-index: -1;
  opacity: 1;
}
.modal-box {
  display: none;
}

#modal-container {
  background: none;
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: auto;
  transition: z-index 0.4s;
}
#modal-container .modal__container {
  z-index: 15;
  width: 100%;
  margin: 60px auto;
}
.micromodal-slide {
  max-width: 500px;
  margin: 60px auto;
  width: 80%;
}
.modal-date br,
br.pcHide {
  display: none;
}

@media (max-width: 640px) {
  .modal__container {
    width: 90%;
    flex-wrap: wrap;
    overflow-y: scroll;
    max-height: 75vh;
  }
  .micromodal-slide {
    width: 90%;
  }
  .modal__box {
    width: 100%;
  }
  .modal__box .timeline.pcHide {
    display: none;
  }
  .modal__box .timeline.spHide {
    display: block;
    margin-top: 1.5em;
  }

  .insta .instaInner ul li,
  .insta .instaInner ul li:nth-child(1),
  .insta .instaInner ul li:nth-child(2) {
    flex: 0 1 100%;
  }
  .insta .instaInner {
    max-width: 95%;
  }
  #report #Doit .O_CIVIC p.civic-text {
    font-size: 1.1em;
  }
  .civic-text .civic-bg:before,
  .civic-text .civic-bg-2:before {
    opacity: 0;
  }
  #welcome2020 #report #Doit .O_CIVIC_inner .read {
    margin: 0;
    padding: 0;
  }
  .modal__box .tweet__title {
    font-size: 0.9em;
  }
  .modal-date br,
  br.pcHide {
    display: block;
  }
  br.spHide {
    display: none;
  }
}
