@charset "utf-8";

/****************
 *
 * スライドショー用CSS
 *
 *****************/
.slideshow1 {
    overflow: hidden;
    position: relative;
    margin-bottom: 46px;
  }

  .slideshow1_body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
  }

  @media only screen and (min-width: 768px) {
    .slideshow1_body {
      height: 450px;
    }
  }

  @media only screen and (min-width: 2000px) {
    .slideshow1_body {
      height: 70vh;
    }
  }

  .slideshow1_body li {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    list-style: none;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 1000ms linear;
  }

  .slideshow1_body li:nth-of-type(1) {
    background-image: url("fv1.jpg");
  }

  .slideshow1_body li:nth-of-type(2) {
    background-image: url("fv2.jpg");
  }

  .slideshow1_body li .content {
    position: absolute;
    z-index: 9999;
    font-size: 1.5em;
    font-weight: bold;
    background-color: white;
    font-family: "Yu mincho";
  }

  .slideshow1_body li:nth-of-type(1) .content {
    top: 5%;
    right: 10%;
    writing-mode: vertical-rl;
    padding: 8px 0;
  }

  .slideshow1_body li:nth-of-type(2) .content {
    bottom: 20%;
    left: 0;
    padding: 0 8px;
  }

  @media only screen and (min-width: 768px) {
    .slideshow1_body li .content {
      font-size: 3em;
    }
  }
