@charset "utf-8";
/* スライドショー */
.main-visual {
    position: relative;
    height: 900px;
    width: 100%;
    top: -10px;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 50px;
    text-align: center;
    background-color: white;
}
.main-visual li img {
    width: 100%;
    object-fit: cover;
    /*aspect-ratio: 4 / 3;*/
}
.img-box-1 {
    object-position: 50% 60%;
}
.img-box-2 {
    object-position: 50% 70%;
}
.img-box-3 {
    object-position: 50% 60%;
}
.img-box-4 {
    object-position: 50% 50%;
}
.img-box-5 {
    object-position: 50% 70%;
}
.main-visual li {
    position: absolute;
    list-style: none;
    visibility: hidden;
    animation: anime_slider_fade 50s 0s infinite;
}
.main-visual li:nth-of-type(2) {
    animation-delay: 13s;
}
.main-visual li:nth-of-type(3) {
    animation-delay: 21s;
}
.main-visual li:nth-of-type(4) {
    animation-delay: 31s;
}
.main-visual li:nth-of-type(5) {
    animation-delay: 41s;
}
@keyframes anime_slider_fade {
  0% {
      visibility: visible;
      transform: translateY(-30px);
      opacity: 0;
  }
  5% {
      opacity: 1;
  }
  30% {
      opacity: 1;
  }
  35% {
      opacity: 0;
  }
  100% {
      opacity: 0;
      transform: translateY(0);
  }
}

/* 工事名と説明文 */
/* 基本設定 */
/* １枚目 */
.visual-text1 {
    height: 150px;
    width: 400px;
    position: absolute;
    top: 7%;
    right: 60%;
    z-index: 100;
    border-radius: 30px;
    background-color: #f5f5f5;
    background-color: rgba(255, 255, 255, 0.75);
}
/* ２枚目 */
.visual-text2 {
    height: 150px;
    width: 400px;
    position: absolute;
    top: 5%;
    left: 60%;
    z-index: 100;
    border-radius: 30px;
    background-color: #f5f5f5;
    background-color: rgba(255, 255, 255, 0.75);
}
/* ３枚目 */
.visual-text3 {
    height: 150px;
    width: 400px;
    position: absolute;
    top: 10%;
    left: 25%;
    z-index: 100;
    border-radius: 30px;
    background-color: #f5f5f5;
    background-color: rgba(255, 255, 255, 0.75);
}
/* ４枚目 */
.visual-text4 {
    height: 150px;
    width: 400px;
    position: absolute;
    top: 60%;
    left: 20%;
    z-index: 100;
    border-radius: 30px;
    background-color: #f5f5f5;
    background-color: rgba(255, 255, 255, 0.75);
}
/* ５枚目 */
.visual-text5 {
    height: 150px;
    width: 400px;
    position: absolute;
    top: 55%;
    right: 20%;
    z-index: 100;
    border-radius: 30px;
    background-color: #f5f5f5;
    background-color: rgba(255, 255, 255, 0.75);
}
.msg {
    font-size: 20px;
    color: #000000;
    position: absolute;
    /*top: 100px;
    left: 50%;*/
/*    transform: translate(-50% , -50%);*/
}
.msg-01,
.msg-01-1,
.msg-02,
.msg-02-1,
.msg-03,
.msg-03-1,
.msg-04,
.msg-04-1,
.msg-05,
.msg-05-1, {
    text-shadow: 2px 2px 3px #000, -1px -1px 3px #000;
}
/* 各工事名と説明文の場所 */
.msg-01 {
    top: 35%;
    left: 50%;
    width: 350px;
    transform: translate(-50% , -50%);
}
.msg-01-1 {
    top: 80%;
    left: 50%;
    width: 350px;
    line-height: 30px;
    font-size: 15px;
    border: 1px solid white;
    border-radius: 30px;
    transform: translate(-50% , -50%);
}
.msg-02 {
    top: 35%;
    left: 50%;
    width: 350px;
    transform: translate(-50% , -50%);
}
.msg-02-1 {
    top: 80%;
    left: 50%;
    width: 350px;
    line-height: 30px;
    font-size: 15px;
    border: 1px solid white;
    border-radius: 30px;
    transform: translate(-50% , -50%);
}
.msg-03 {
    top: 35%;
    left: 50%;
    width: 350px;
    transform: translate(-50% , -50%);
}
.msg-03-1 {
    top: 80%;
    left: 50%;
    width: 350px;
    line-height: 30px;
    font-size: 15px;
    border: 1px solid white;
    border-radius: 30px;
    transform: translate(-50% , -50%);
}
.msg-04 {
    top: 35%;
    left: 50%;
    width: 350px;
    transform: translate(-50% , -50%);
}
.msg-04-1 {
    top: 80%;
    left: 50%;
    width: 350px;
    line-height: 30px;
    font-size: 15px;
    border: 1px solid white;
    border-radius: 30px;
    transform: translate(-50% , -50%);
}
.msg-05 {
    top: 35%;
    left: 50%;
    width: 350px;
    transform: translate(-50% , -50%);
}
.msg-05-1 {
    top: 80%;
    left: 50%;
    width: 350px;
    line-height: 30px;
    font-size: 15px;
    border: 1px solid white;
    border-radius: 30px;
    transform: translate(-50% , -50%);
}
/* アニメーション */
/* [nth-of-type]はクラス名ではなくタグ名を参照 */
/* 同階層に同じタグがある場合はそれもカウントされる */
.main-visual div {
    visibility: hidden;
    animation-delay: 5s;
    animation: anime_vt 50s 0s infinite;
}
.main-visual div:nth-of-type(2) {
    animation-delay: 9s;
}
.main-visual div:nth-of-type(3) {
    animation-delay: 19s;
}
.main-visual div:nth-of-type(4) {
    animation-delay: 29s;
}
.main-visual div:nth-of-type(5) {
    animation-delay: 41s;
}
@keyframes anime_vt {
  0% {
      visibility: visible;
      opacity: 0;
  }
  15% {
      opacity: 0;
  }
  20% {
      opacity: 1;
  }
  23% {
      opacity: 1;
  }
  28% {
      opacity: 0;
  }
  100% {
      opacity: 0;
  }
}


/*メインの設定*/
.main {
    height: 900px;
    padding-top: 60px;
    padding-bottom: 30px;
    margin: auto;
    text-align: center;
    z-index: 7;
    position: relative;
}

.main-text h2 {
    font-size: 33px;
    color: #24ab64;
    text-align: left;
    z-index: 9;
    padding-bottom: 10px;
    background: #ffff99;
    background: linear-gradient(transparent 50%, #ffff99 50%);
}
.line-1 {
    width: 210px;
    margin-left: 100px;
}
.line-2 {
    width: 270px;
    margin-left: 100px;
}
.line-3 {
    width: 370px;
    margin-left: 100px;
}
.line-4 {
    width: 210px;
    margin-left: 100px;
}
.main-text h3 {
    height: 180px;
    line-height: 60px;
    margin: 100px 0 100px;
    padding: 40px 0 40px;
    font-size: 20px;
    z-index: 8;
    color: black;
    border: 1px solid #808080;
    background-color: #fafafa;
}
.line-box-1 {
    background-color: rgba(255, 255, 255, 0);
    height: 150px;
    width: 55px;
    position: relative;
    top: 230px;
    left: 95%;
    z-index: 9;
    border-left: 1px solid #808080;
    border-bottom: 1px solid #808080;
}
.line-box-2 {
    background-color: rgba(255, 255, 255, 0);
    height: 150px;
    width: 55px;
    position: relative;
    bottom: 230px;
    right: 4%;
    z-index: 9;
    border-right: 1px solid #808080;
    border-top: 1px solid #808080;
}

/* ニュースの設定 */
.news {
    height: 150px;
    width: 700px;
    margin: 100px auto 100px auto;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    background-color: #f4fff9;
    overflow-y: scroll;
    scrollbar-color: #eafff7 #c0c0c0;
}
.news ul {
    list-style: none outside;
    margin: 10px;
    padding: 10px;
}
.news li {
    display: flex;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    text-decoration: none;
    color: #00fa9a;
    padding: 10px 20px;
}
.news ul li .day {
    margin: 0;
    min-width: 100px;
    font-size: 16px;
    color: #000000;
    padding: 0 0 0 0;
}
.news ul li .title {
    padding: 0 20px;
}
.news ul li .title a {
    color: #404040;
}
.news ul li .title a:hover {
    color: #c0c0c0;
}