@charset "UTF-8";
/* CSS Document */
/* CSS Document */
/*
------------------

 N E W S

------------------
*/
a.link-url {
  font-size: 1.4rem;
  background-color: #eeeff0;
  padding: 0.5rem 1rem;
}

a.link-hash {
  display: none;
}

div#followus {
  position: absolute;
  right: 0;
  top: -5px;
}

div#followus p {
  display: inline-block;
  color: #b4174b;
  font-size: 5rem;
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 0.3rem;
  margin: 0 1rem 0 0;
}

div#followus ul {
  display: inline-block;
}

div#followus ul li.sns-icon {
  display: inline-block;
  margin: 0rem 1rem;
}

div#followus ul li.sns-icon img {
  width: 3.3rem;
}

div#news-carousel {
  margin: 3rem 0;
}

div.carousel {
  position: relative;
  width: 100%;
}

div.carousel div.next, div.carousel div.prev {
  position: absolute;
  top: 50%;
  z-index: 10;
}

div.carousel div.next:before, div.carousel div.prev:before {
  position: absolute;
  content: '';
  width: 50px;
  height: 50px;
  border-top: 2px solid #b4174b;
  border-right: 2px solid #b4174b;
  margin-top: -25px;
  background-color: rgba(255, 255, 255, 0);
  -webkit-transform-origin: center center;
          transform-origin: center center;
}

div.carousel div.next {
  right: 0;
}

div.carousel div.next:before {
  margin-left: -65px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

div.carousel div.prev {
  left: 0;
}

div.carousel div.prev:before {
  margin-left: 10px;
  -webkit-transform: rotate(-135deg);
          transform: rotate(-135deg);
}

div.topic {
  width: 300px;
  float: left;
  margin: 0 1rem 1rem 0;
  background-color: #fff;
  padding: 1rem;
  box-shadow: 2px 2px 5px rgba(30, 30, 30, 0.5);
  cursor: pointer;
}

div.topic-date {
  padding: 0 0 1rem;
  letter-spacing: 0.1rem;
  position: relative;
}

div.topic-date h3 {
  font-family: "Roboto Condensed", sans-serif;
  color: #b4174b;
  font-size: 2rem;
}

div.topic-date p {
  text-align: right;
  position: absolute;
  top: 0;
  right: 0;
}

div.topic-date p span {
  padding-left: 2rem;
  margin-right: 1rem;
  font-size: 1.4rem;
}

div.topic-date p span.inst-like {
  background: url(/img/inst-like.svg) no-repeat left;
}

div.topic-date p span.inst-comment {
  background: url(/img/inst-comment.svg) no-repeat left;
}

div.topic-head {
  width: 100%;
  padding: 2rem 0 0;
}

div.topic-head h2 {
  width: 100%;
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
  color: #b4174b;
  font-weight: bold;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

div.topic-body-txt a div.btn {
  width: 70%;
  margin: 0 auto;
  border: thin solid #ccc;
  text-align: center;
  font-size: 16px;
  padding: 6px 0;
  line-height: 16px;
  letter-spacing: 0.1em;
  color: #000;
  background-color: #fff;
}

div.topic-body-txt a {
  color: #4196d3;
}

.hover div.topic-body-txt a:hover {
  color: #006699;
}

.hover　div.topic-head div.btn:hover, .hover div.topic-body-txt div.btn:hover {
  border-color: #000;
  color: #000;
}

div.topic-img-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

div.topic-img-container img {
  vertical-align: bottom;
  transition: all 0.25s ease-in-out;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  object-fit: cover;
}

div.topic-img-container img:hover {
  opacity: 0.8;
  transform: translate(0%, 0%) scale(1.05, 1.05);
  -webkit-transform: translate(-50%, -50%) scale(1.05, 1.05);
  -moz-transform: translate(-50%, -50%) scale(1.05, 1.05);
  -ms-transform: translate(-50%, -50%) scale(1.05, 1.05);
  -o-transform: translate(-50%, -50%) scale(1.05, 1.05);
}

div.topic-img-container:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.slick-prev:before, .slick-next:before {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin-top: -5px;
}

.slick-prev:before {
  border-left: 5px solid transparent;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 6px solid #000;
  margin-left: -6px;
}

.slick-next:before {
  border-left: 6px solid #000;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 5px solid transparent;
  margin-left: -3px;
}

.slick-dots {
  display: none;
  bottom: 0;
}

.slick-dots li {
  margin: 0 2px !important;
}

.slick-dots li button:before, .slick-dots li.slick-active button:before {
  color: #fff;
}

.slick-dotted.slick-slider {
  margin-bottom: 0;
}

/* Modal用のTopics */
div.topic-modal {
  width: 100%;
}

div.topic-modal div.topic {
  width: 46%;
  margin: 0 2%;
  float: left;
  background-color: #fff;
  padding: 2rem 0;
  box-shadow: none;
}

div.topic-modal div.topic div.topic-img-container {
  overflow: auto;
}

div.topic-modal div.topic div.topic-img-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: relative;
  top: 0;
  left: 0;
  -webkit-transform: none;
  transform: none;
}

div.topic-modal div.topic div.topic-img-container:before {
  padding: 0;
}

div.topic-modal div.topic-body-cont {
  float: left;
  width: 46%;
  margin: 0 2%;
}

div.topic-modal div.topic-body-cont div.topic-date {
  padding-top: 2rem;
}

div.topic-modal div.topic-body-cont div.topic-head h2 {
  font-size: 1.8rem;
  text-align: left;
  padding: 0 2rem;
}

div.topic-modal div.topic-body-cont div.topic-body {
  font-size: 1.6rem;
  line-height: 2.7rem;
  letter-spacing: 0.1rem;
  height: auto;
  margin-top: 10px;
  overflow: scroll;
  color: #000;
  padding: 2rem;
}

div.topic-modal div.topic-body-cont div.topic-body p {
  margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
  div#followus {
    visibility: hidden;
  }
  div.carousel div.next:before {
    margin-left: -65px;
  }
  div.carousel div.prev:before {
    margin-left: 11px;
  }
  div.topic {
    margin: 0 2rem 1rem 2rem;
  }
  div.topic-head h2 {
    font-size: 1.2rem;
  }
  div.topic-modal div.topic, div.topic-modal div.topic-body-cont {
    float: none;
    width: 90%;
    margin: 0 5%;
  }
}
