/*	tolist
============================== */
p.tolist {
  position: absolute;
  top: 0;
}

p.tolist a {
  color: #000;
  text-decoration: none;
  width: 100%;
  height: 100%;
  padding: 0.7em 1em;
  display: block;
}

p.tolist a span {
  font-weight: bold;
}

@media all and (min-width: 768px) {
  p.tolist {
    left: 50%;
    top: 100px;
    margin-left: 3px;
    background-color: #fff;
    border-radius: 10px;
    z-index: 99999;
    position: absolute;
    display: block;
  }

  p.tolist a:after {
    width: 10px;
    height: 15px;
    right: 11px;
    top: 50%;
    margin-top: -7.5px;
  }
}

@media all and (max-width: 767px) {
  .slider-unit h2 {
    font-size: 112.5%;
    padding-left: 12px;
  }

  p.tolist {
    font-size: 3vw;
    height: 2.5em;
    left: 0;
    top: unset;
    background-color: #fff;
    border-radius: 0 2vw 2vw 0;
    line-height: 3vw;
    margin-top: -6.5vw;
  }

  p.tolist a:after {
    width: 2vw;
    height: 3vw;
    right: 1.5vw;
    top: 3.5vw;
    margin-top: -2vw;
  }

  p.tolist a span {
    font-size: 4vw;
  }
}

/*	slider
============================== */
.slider-unit {
  position: relative;
}

.slider-unit ul li>span,
.slider-unit ul li a {
  display: block;
}

.slider-unit div.outer {
  overflow: hidden;
}

.slider-unit div.outer ul {
  -webkit-transform: translateZ(0);
  overflow: hidden;
  list-style-type: none;
  z-index: 1;
  position: relative;
}

.slider-unit div.outer ul li {
  float: left;
  box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 40%) inset;
}

.slider-unit div.outer ul li a {
  height: 100%;
  text-decoration: none;
  color: #fff;
  line-height: 1.5;
  transition: color 0.3s ease 0s;
  padding: 1.5em 1.5em 1em;
  box-sizing: border-box;
}

.slider-unit div.outer ul li a span,
.slider-unit div.outer ul li a span img {
  display: block;
}

.slider-unit div.outer ul li a>span.thumb {
  background-repeat: no-repeat;
  position: relative;
  height: 0;
  padding-top: 56.25%;
}

.slider-unit div.outer ul li a>span.thumb img {
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
}

.slider-unit div.outer ul li a>span.lazy-done {
  -webkit-animation: fadeIn 700ms;
  animation: fadeIn 700ms;
  background-position: center top;
  background-size: 100%;
  border-radius: 5px;
}

.slider-unit div.outer li a span.dte,
.slider-unit div.outer li a span.hdr, .slider-unit div.outer li a span.ftr {
  color: #81899d;
}

.slider-unit div.outer li a span.ots {
  color: #3b3f4a;
}

.slider-unit div.outer li a span.hdr, .slider-unit div.outer li a span.ftr {
  display: none;
}

.slider-unit div.outer li a span.ttl {
  overflow: hidden;
  margin-bottom: 0.2em;
}

.slider-unit div.outer li a span.dte {
  margin-bottom: 0.5em;
}

.slider-unit div.outer li a span.ttl b {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  height: auto;
  /* text-align: justify; */
  /* justify-content: space-between; */
  /* margin-bottom: 1em; */
}

.slider-unit ul.ctrl li.ctrl-lef a {
  background-image: url(../img/top/topics_btn_left.png);
}

.slider-unit ul.ctrl li.ctrl-rig a {
  background-image: url(../img/top/topics_btn_right.png);
}

.slider-unit div.outer ul.inner li:nth-child(5n+1) {
  background-color: #ff3997;
}

.slider-unit div.outer ul.inner li:nth-child(5n+2) {
  background-color: #00bcf2;
}

.slider-unit div.outer ul.inner li:nth-child(5n+3) {
  background-color: #18c900;
}

.slider-unit div.outer ul.inner li:nth-child(5n+4) {
  background-color: #ff7f00;
}

.slider-unit div.outer ul.inner li:nth-child(5n+5) {
  background-color: #f32f3a;
}

.slider-unit div.outer li a span.dte {
  font-weight: bold;
  color: yellow;
  text-align: center;
}

.slider-unit div.outer ul.inner li {
  width: 280px;
  background-image: url(../img/bg_ptn.png);
}

@media all and (min-width: 768px) {

  .slider-unit div.outer {
    margin: 0 50px;
  }

  .slider-unit div.outer ul.inner li:not(:last-child) {
    /* IE &#229;&#175;&#190;&#231;&#173;&#8211;&#227;&#129;&#174;&#227;&#129;&#376;&#227;&#8218;&#129; px &#227;&#129;&#194;§&#230;&#338;&#226;&#8364;&#161;&#229;&#174;&#353;&#227;&#129;&#8482;&#227;&#8218;&#8249; */
    margin-right: 5px;
  }

  .slider-unit div.outer ul.inner li a:hover {
    color: #000;
  }

  .slider-unit div.outer ul.inner li a>span img {
    height: 100%;
    width: 100%;
  }

  .slider-unit div.outer ul li a>span.txtarea {
    padding: 1em 0 0;
  }

  .slider-unit div.outer li a span.ttl {
    height: auto;
    font-size: 18px;
    text-align: justify;
    justify-content: space-between;
  }

  .slider-unit div.outer li a span b {
    -webkit-line-clamp: 3;
  }

  .slider-unit div.outer li a span.ots {
    font-size: 75%;
  }

  .slider-unit ul.ctrl li a {
    background-repeat: no-repeat;
  }

  .slider-unit div.outer li a span.dte {
    font-size: 13px;
  }
}

@media all and (max-width: 767px) {
  .slider-unit div.outer {
    overflow: hidden;
    width: 85vw;
    margin: 0 auto 20vw;
  }

  .slider-unit {
    width: 100%;
    margin-bottom: 15vw;
  }

  .slider-unit div.outer ul.inner li {
    width: 70%;
  }

  .slider-unit div.outer ul.inner li:not(:last-child) {
    /* IE &#229;&#175;&#190;&#231;&#173;&#8211;&#227;&#129;&#174;&#227;&#129;&#376;&#227;&#8218;&#129; px &#227;&#129;&#194;§&#230;&#338;&#226;&#8364;&#161;&#229;&#174;&#353;&#227;&#129;&#8482;&#227;&#8218;&#8249; */
    margin-right: 5px;
  }

  .slider-unit div.outer ul.inner li,
  .slider-unit div.outer ul.inner li a>span img {
    width: 85vw;
  }

  .slider-unit div.outer ul.inner li a span img {
    height: 36vw;
  }

  .slider-unit div.outer ul li a>span.txtarea {
    padding: 1em 0 0;
    font-size: 5vw;
  }

  .slider-unit div.outer li a span.ttl {
    height: auto;
    font-size: 6vw;
  }

  .slider-unit div.outer li a span b {
    font-size: 4vw;
    -webkit-line-clamp: 3;
  }

  .slider-unit div.outer li a span.ots {
    font-size: 62.5%;
  }

  .slider-unit div.outer li a span.dte {
    font-size: 4vw;
  }
}

.slider-event div.outer li a span.ttl {
  overflow: visible;
  height: auto;
  margin-bottom: auto;
}

.slider-event div.outer li a span.ttl b {
  display: inline;
  overflow: visible;
  -webkit-box-orient: none;
  -webkit-line-clamp: none;
}

@media print {
  .slider-unit div.outer ul.inner li a>span.thumb img {
    background-color: #fff !important;
  }
}

/* ctrl */
.slider-unit ul.ctrl li {
  position: absolute;
}

.slider-unit ul.ctrl li {
  display: block;
  height: 0;
  z-index: 1;
}

.slider-unit ul.ctrl li a {
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
}

.slider-unit ul.ctrl li.ctrl-lef {
  left: 0;
  top: 10%;
}

.slider-unit ul.ctrl li.ctrl-rig {
  right: 0;
  bottom: 10%;
}

.slider-unit ul.ctrl li.ctrl-lef a {
  background-position: 0 0;
}

.slider-unit ul.ctrl li a.hidebtn {
  opacity: 0.25;
  cursor: default;
}

.slider-unit ul.ctrl li.ctrl-lef a:not(.hidebtn):hover {
  background-position: 0 0;
}

@media all and (min-width: 768px) {
  .slider-unit ul.ctrl li {
    width: 7%;
    padding-top: calc((103 / 85)*7%);
  }
}

@media all and (max-width: 767px) {
  .slider-unit ul.ctrl li {
    width: 12%;
    padding-top: calc((103 / 85)*12%);
  }
}
