@charset "UTF-8";
/*===============================================
●mian.css 画面の横幅が770px以上
===============================================*/
@media screen and (min-width: 770px) {
  .news .news_ttl {
    /* position:absolute; */
    z-index: 10;
    font-size: 23px;
    /* left: 23%; */
    /* top: -15px; */
    width: 40%;
    line-height: 1.4;
    color: #fff;
    padding: 90px 0 0;
    display: inline-block;
    /* font-weight: bold; */
  }
  .news .news_text {
    width: 60%;
    /* color: #fff; */
    background: #fff;
    padding: 40px 20px;
    font-size: 20px;
    line-height: 2;
  }
  .news .bold {
    color: #e08b9c;
    font-weight: bold;
  }
  .news .news_ttl span {
    z-index: 11;
    font-size: 30px;
    margin-bottom: 0.5em;
    display: inline-block;
    font-weight: normal;
  }
  .conts_inner {
    width: 1100px;
    /* height: 220px; */
    margin: 0px auto 50px;
    position: relative;
    display: block;
    overflow: hidden;
    padding: 10px;
    /* display:flex; */
    align-items: center;
    align-content: center;
  }
  .conts_inner .box {
    background: linear-gradient(90deg, #9baaf8, #e3a1de 30%, #FFCC70);
    display: flex;
    padding: 50px 50px;
    align-items: center;
    justify-content: space-between;
  }
  .img_renewal {
    position: absolute;
    top: 40px;
    left: 20px;
    transform: rotateZ(353deg);
    z-index: 20;
    width: 450px;
  }
  .box__line {
    position: absolute;
  }
  .box__line:nth-child(1), .box__line:nth-child(3) {
    width: 100%;
    height: 2px;
  }
  .box__line:nth-child(2), .box__line:nth-child(4) {
    width: 2px;
    height: 100%;
  }
  .box__line:nth-child(1) {
    top: 0;
    left: 0;
    background: linear-gradient(to right, transparent, rgb(235 151 151 / 50%));
    animation: animate1 2s linear infinite;
  }
  .box__line:nth-child(2) {
    top: 0;
    right: 0;
    animation: animate2 2s linear infinite;
    animation-delay: 1s;
    background: linear-gradient(to bottom, transparent, rgb(235 151 151 / 50%));
  }
  .box__line:nth-child(3) {
    bottom: 0;
    left: 0;
    background: linear-gradient(to left, transparent, rgb(235 151 151 / 50%));
    animation: animate3 2s linear infinite;
  }
  .box__line:nth-child(4) {
    top: 0;
    left: 0;
    background: linear-gradient(to top, transparent, rgb(235 151 151 / 50%));
    animation: animate4 2s linear infinite;
    animation-delay: 1s;
  }
  @keyframes animate1 {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(100%);
    }
  }
  @keyframes animate2 {
    0% {
      transform: translateY(-100%);
    }
    100% {
      transform: translateY(100%);
    }
  }
  @keyframes animate3 {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  @keyframes animate4 {
    0% {
      transform: translateY(100%);
    }
    100% {
      transform: translateY(-100%);
    }
  }
}
/*===============================================
●sp.css  画面の横幅が769pxまで（iPhone6 横向きまで）
===============================================*/
@media screen and (max-width:769px) {
  .news .news_ttl {
    /* position:absolute; */
    z-index: 10;
    font-size: 16px;
    /* left: 23%; */
    /* top: -15px; */
    /* width: 40%; */
    line-height: 1.4;
    text-align: center;
    margin-bottom: 0.8em;
    color: #fff;
    font-weight: bold;
  }
  .news .news_text {
    width: 100%;
    background: #fff;
    padding: 20px 10px;
    line-height: 2;
  }
  .news .bold {
    color: #e08b9c;
    font-weight: bold;
  }
  .news .news_ttl span {
    /* background: linear-gradient(90deg, #9baaf8, #e3a1de 30%, #FFCC70); */
    /* background: -webkit-linear-gradient(0deg, #9baaf8, #e3a1de 30%, #FFCC70); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    z-index: 11;
    /* font-weight: bold; */
    color: #fff;
    font-size: 6vw;
    font-weight: normal;
    display: inline-block;
    margin-bottom: .5em;
  }
  .conts_inner {
    width: 90%;
    /* height: 220px; */
    margin: 0 auto 50px;
    position: relative;
    display: block;
    overflow: hidden;
    padding: 10px;
    display: flex;
    align-items: stretch;
  }
  .conts_inner .box {
    background: linear-gradient(90deg, #9baaf8, #e3a1de 30%, #FFCC70);
    display: flex;
    padding: 20px 20px;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
  }
  .box__line {
    position: absolute;
  }
  .box__line:nth-child(1), .box__line:nth-child(3) {
    width: 100%;
    height: 2px;
  }
  .box__line:nth-child(2), .box__line:nth-child(4) {
    width: 2px;
    height: 100%;
  }
  .box__line:nth-child(1) {
    top: 0;
    left: 0;
    background: linear-gradient(to right, transparent, rgb(235 151 151 / 50%));
    animation: animate1 2s linear infinite;
  }
  .box__line:nth-child(2) {
    top: 0;
    right: 0;
    animation: animate2 2s linear infinite;
    animation-delay: 1s;
    background: linear-gradient(to bottom, transparent, rgb(235 151 151 / 50%));
  }
  .box__line:nth-child(3) {
    bottom: 0;
    left: 0;
    background: linear-gradient(to left, transparent, rgb(235 151 151 / 50%));
    animation: animate3 2s linear infinite;
  }
  .box__line:nth-child(4) {
    top: 0;
    left: 0;
    background: linear-gradient(to top, transparent, rgb(235 151 151 / 50%));
    animation: animate4 2s linear infinite;
    animation-delay: 1s;
  }
  @keyframes animate1 {
    0% {
      transform: translateX(-100%);
    }
    100% {
      transform: translateX(100%);
    }
  }
  @keyframes animate2 {
    0% {
      transform: translateY(-100%);
    }
    100% {
      transform: translateY(100%);
    }
  }
  @keyframes animate3 {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  @keyframes animate4 {
    0% {
      transform: translateY(100%);
    }
    100% {
      transform: translateY(-100%);
    }
  }
}