@charset "UTF-8";

/* PC用 */
@media screen and (min-width: 768px) , print {
  /* スライド */
  #slide_space {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 340px;
    margin: 0 auto 20px;
  }
  #slide_space .syamei {
    line-height: 1.6em;
    font-weight: bold;
  }
  #slide_space h4 {
    line-height: 1.6em;
    font-weight: normal;
    margin: 10px 0 20px;
  }
  #slide_space li {
    position: relative;
    margin:  0 10px;
    height: 290px;
    border: 2px solid #DDDDDD;
    padding: 20px;
    background: linear-gradient(#eee 0%, #FFFFFF 5%, #FFFFFF 95%, #eee 100%);
  }
  #slide_space .img-trim {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 30%;
    margin-bottom: 10px;
  }
  #slide_space .img-trim > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100%;
    object-fit: cover;
  }
  .slick-track {
    margin: 0;
  }
  .slick-list{
    overflow: visible;
  }
  .slider{
    width: 100%;
    height: 100%;
    margin: 0 auto;
  }
  .slick-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
  }
  .slick-dots li {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
    background-color: #AAA;
    border-radius: 50%;
    
  }
  .slick-dots li.slick-active {
    background-color: #FFF;
  }
  .slick-dots button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
  }
  /* スクロールボタン関係 */
  .slide-arrow {
    font-size: 26px;
    position: absolute;
    top: 40%;
    background-color: #ccc;
    color: #000;
    border-radius: 50%;
    opacity: 0.8;
    z-index: 2;
    box-shadow: 1px 1px 1px #888;
    text-indent: center;
  }
  .prev-arrow, .next-arrow {
    width: 40px;
    height: 40px;
    padding: 10px;
  }
  .prev-arrow:hover, .next-arrow:hover {
    background-color: #ddd;
  }
  .prev-arrow > img, .next-arrow > img {
    padding-bottom: 10px;
  }
  .prev-arrow {
    left: -10px;
  }
  .next-arrow {
    right: -5px;
  }
  .text-btn-flt {
    position: absolute;
    left: 20px;
    bottom: 0;
    width: calc(100% - 80px);
    text-align: center;
  }
}

/* 小さい画面用 */
@media screen and (max-width: 767px) {
    /* スライド */
  #slide_space {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto 20px;
  }
  #slide_space .syamei {
    line-height: 1.6em;
    font-weight: bold;
  }
  #slide_space h4 {
    line-height: 1.6em;
    font-weight: normal;
    margin: 10px 0 20px;
  }
  #slide_space li {
    position: relative;
    text-align: center;
    margin:  0 10px;
    border: 2px solid #DDDDDD;
    padding: 20px 20px 80px;
    background: linear-gradient(#eee 0%, #FFFFFF 5%, #FFFFFF 95%, #eee 100%);
  }
  #slide_space .img-trim {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-top: 30%;
    margin-bottom: 10px;
  }
  #slide_space .img-trim > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100%;
    object-fit: cover;
  }
  .slick-list{
    overflow: visible;
  }
  .slider{
    width: 100%;
    height: 100%;
    margin: 0 auto;
  }
  .slick-dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
  }
  .slick-dots li {
    position: relative;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    padding: 0;
    cursor: pointer;
    background-color: #AAA;
    border-radius: 50%;
    
  }
  .slick-dots li.slick-active {
    background-color: #FFF;
  }
  .slick-dots button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
  }
  /* スクロールボタン関係 */
  .slide-arrow {
    font-size: 26px;
    position: absolute;
    top: 50%;
    background-color: #ccc;
    color: #000;
    border-radius: 50%;
    opacity: 0.8;
    z-index: 2;
    box-shadow: 1px 1px 1px #888;
    text-indent: center;
  }
  .prev-arrow, .next-arrow {
    width: 40px;
    height: 40px;
    padding: 10px;
  }
  .prev-arrow:hover, .next-arrow:hover {
    background-color: #ddd;
  }
  .prev-arrow > img, .next-arrow > img {
    padding-bottom: 10px;
  }
  .prev-arrow {
    left: -10px;
  }
  .next-arrow {
    right: 0;
  }
  .text-btn-flt {
    position: absolute;
    left: 20px;
    bottom: 0;
    width: calc(100% - 80px);
    text-align: center;
  }
}
