@charset "utf-8";
/* =====header===== */
.nav__item2 a,
.nav__item3 a,
.nav__item1 a,
.nav__item4 a{
  transition: background-color 0.3s; 
}
.nav__item2 a:hover,
.nav__item3 a:hover,
.nav__item1 a:hover,
.nav__item4 a:hover{
  color: rgba(255, 165, 0, 0.2); 
}
/* 769以上 */
@media screen and (min-width:769px){
  .nav__item2 a,
  .nav__item3 a,
  .nav__item1 a,
  .nav__item4 a{
    text-align: center;
  }
  /* .nav__item4{
      background-color: var(--primary-orange);
      border-radius: 30px;
      text-align: center;
      width: 100%;
      padding: 5px 10px;
      margin: 0px;
  } */
  /* .nav__item4 a{
    color: white;
  } */
  .nav__item2,
  .nav__item3,
  .nav__item1,
  .nav__item4{
    width: 100%;
    margin: 0px;
  }
  .nav__item2 a,
  .nav__item3 a,
  .nav__item1 a,
  .nav__item4 a{
    display: block; /* ホバー範囲をリンク全体に広げる */
    /* padding: 2px 5px; */
    border-radius: 30px; /* 丸みを少しつけたい場合 */
    transition: background-color 0.3s; /* アニメーション */
    text-align: start;
  }
  .nav__item2 a:hover,
  .nav__item3 a:hover,
  .nav__item1 a:hover,
  .nav__item4 a:hover{
    background-color: rgba(255, 165, 0, 0.2); /* オレンジ系の薄い背景 */
    color: white;
  }
}
#news1{
    margin: 30px var(--primary-margin25pxsp) 50px;
    font-size: 1.6rem;
}
.news__category{
    font-size: 1.4rem;
    background: linear-gradient(to right,rgb(245,188,57,0.7), #F5BC39);
    color: #fff;
    padding: 5px 10px;
    display: inline;
    border-radius: 30px;
}
.news__title1{
    font-size: 2.4rem;
    color: var(--primary-orange);
    margin-top: 10px;
}
.news__date1{
    margin-top: 5px;
    font-size: 1.4rem;
    color: #666666;
}
.newstxt1{
    margin-top: 30px;
}
.newstxt2__group{
    margin-top: 30px;
}
.newstxt2__title{
    font-size: 2rem;
    color: var(--primary-orange);
}
.back__btn{
    text-align: center;
    margin-top: 30px;
}
.back__btn a{
    position: relative;
    display: inline-block;
  color: black;
  text-decoration: none;
  background-image: linear-gradient(to right, var(--primary-orange) 50%, black 50%);
  background-size: 200% 100%;
  background-position: right bottom;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.5s ease;
}
.back__btn a:hover {
    background-position: left bottom;
  }
.back__btn a::before{
    position: absolute;
    content: attr(data-text);
    background-image: url(../img/item/back__btn.webp);
    width: 20px;
    height: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 2px;
    left: -30px;
    transition: transform 0.3s ease;
}
  .back__btn a:hover::before {
    transform: scale(1.3); /* 1.3倍に拡大 */
  }
.newstxt2__br{
    margin-top: 15px;
    display: block;
}
/* 769以上 */
@media screen and (min-width:769px){
    #news1{
        margin: 50px var(--primary-margin140pxpc);
    }
    .news__category{
        font-size: 1.6rem;
        padding: 5px 20px;
    }
    .news__title1{
        font-size: 2.8rem;
    }
    .newstxt2__title{
        font-size: 2.2rem;
    }
    .back__btn a{
        position: relative;
        display: inline-block;
      color: black;
      text-decoration: none;
      background-image: linear-gradient(to right, var(--primary-orange) 50%, black 50%);
      background-size: 200% 100%;
      background-position: right bottom;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      transition: background-position 0.5s ease;
    }
    .back__btn a:hover {
        background-position: left bottom;
      }
    .back__btn a::before{
        position: absolute;
        content: attr(data-text);
        background-image: url(../img/item/back__btn.webp);
        width: 20px;
        height: 20px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        top: 2px;
        left: -30px;
        transition: transform 0.3s ease;
    }
      .back__btn a:hover::before {
        transform: scale(1.3); /* 1.3倍に拡大 */
      }
    .newstxt2__br{
        margin-top: 15px;
        display: block;
    }
}
/* ===== footer ===== */
.footer__item1 a,
.footer__item2 a,
.footer__item3 a,
.footer__item4 a{
  display: block; 
  padding: 2px 5px;
  border-radius: 30px; 
  transition: background-color 0.3s; 
}
.footer__item1 a:hover,
.footer__item2 a:hover,
.footer__item3 a:hover,
.footer__item4 a:hover{
  background-color: rgba(255, 165, 0, 0.2); 
}
.footer__list{
  top: 0px;
}