@charset "utf-8";
/* =====header===== */
.nav__item4{
    color: var(--primary-orange);
}
.nav__item1 a,
.nav__item3 a,
.nav__item2 a{
    transition: background-color 0.3s; 
}
.nav__item1 a:hover,
.nav__item3 a:hover,
.nav__item2 a:hover{
    color: rgba(255, 165, 0, 0.2); 
}
  /* 769以上 */
@media screen and (min-width:769px){
  .nav__item1 a,
  .nav__item3 a,
  .nav__item2 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__item1,
  .nav__item3,
  .nav__item2{
    width: 100%;
    margin: 0px;
  }
  .nav__item1 a,
  .nav__item3 a,
  .nav__item2 a{
    display: block; /* ホバー範囲をリンク全体に広げる */
    /* padding: 2px 5px; */
    border-radius: 30px; /* 丸みを少しつけたい場合 */
    transition: background-color 0.3s; /* アニメーション */
    text-align: start;
  }
  .nav__item1 a:hover,
  .nav__item3 a:hover,
  .nav__item2 a:hover{
    background-color: rgba(255, 165, 0, 0.2); /* オレンジ系の薄い背景 */
    color: white;
  }
}
/* =====news===== */
#news{
    margin: 0px var(--primary-margin25pxsp) 50px;
}
  .news__title{
    font-size: 2rem;
    line-height: 1;
    font-weight: bold;
    color: var(--primary-orange);
    position: relative;
    padding-top: 30px;
  }
  
  .news__title::after{
    content: '-News';
    display: inline-block;
    width: 62px;
    height: 24px;
    font-size: 1.4rem;
    font-weight: lighter;
    color: var(--primary-black);
    position: absolute;
    left: 100px;
    top: 36px;
  }
  .news__group{
    margin: 30px 0px;
    position: relative;
    font-size: 1.6rem;
  }
  .news__group::after{
    content: '';
    position: absolute;
    left: 0px;
    bottom: -10px;
    width: 100%;
    border-bottom: 1px dashed var(--primary-orange);
  }
  .news__list{
    display: flex;
    gap: 15px;
    line-height: 1;
  }
  .news__date{
    background: linear-gradient(to right,rgb(229,229,229,0.7), #e5e5e5);
    color: #666;
    padding: 5px 10px;
    display: inline;
    border-radius: 30px;
  }
  .news__kind{
    background: linear-gradient(to right,rgb(245,188,57,0.7), #F5BC39);
      color: #fff;
      padding: 5px 10px;
      display: inline;
      border-radius: 30px;
  }
  .news__item{
    margin: 15px 0px;
  }
  .news__subtitle{
    font-weight: 600;
    margin-bottom: 10px;
  }
  .news__subtitle--hover a,
  .news__txt--hover a{
    transition: color 0.3s ease;
  }
  .news__subtitle--hover a:hover,
  .news__txt--hover a:hover{
    color: #cccccc;
  }
  .more__btn__news{
    width: auto;
    font-size: 1.6rem;
    text-align: center;
  }
  .more__btn__news a{
    position: relative;
  }
  .more__btn__news a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    color: var(--primary-orange); /* 変化後の色 */
    transition: width 0.5s ease;
    pointer-events: none;
  }
  .more__btn__news a:hover {
    color: black; /* ホバー中はベースの文字は黒のまま */
  }
  .more__btn__news a:hover::before {
    width: 100%; /* ホバーで右から左へオレンジ文字が広がる */
  }
  .more__btn__news a::after{
    content: '';
    display: block;
    background-image: url(../img/item/more__btn.webp);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 2px;
    right: -30px;
    transition: transform 0.3s ease;
  }
  .more__btn__news a:hover::after {
    transform: scale(1.3); /* 1.3倍に拡大 */
  }
  /* pc */
  @media screen and (min-width:769px){
    #news{
      margin: 0px var(--primary-margin140pxpc) 50px;
      position: relative;
  
    }
    .news__title{
      font-size: 3.2rem;
      padding-top: 50px;
    }
    .news__title::after{
      width: 88px;
      height: 20px;
      font-size: 2rem;
      left: 158px;
      top: 64px;
    }
    .news__group{
      margin: 30px;
      position: relative;
      font-size: 2rem;
    }
    .news__group::after{
      content: '';
      position: absolute;
      left: 0px;
      bottom: -10px;
      width: 100%;
      border-bottom: 1px dashed #cccccc;
    }
    .news__list{
      display: flex;
      gap: 15px;
      line-height: 1;
    }
    .news__item{
      margin: 15px 0px;
    }
    .news__subtitle{
      font-weight: 600;
      margin-bottom: 10px;
    }
    .more__btn__news {
      font-size: 2rem;
      margin-top: 40px;
    }
    .more__btn__news a::after{
      width: 30px;
      height: 30px;
      top: 0px;
      right: -50px;
    }
  }
/* ====footer===== */
.footer__item3{
    background-color: var(--primary-orange);
    border-radius: 30px;
    color: var(--primary-white);
    padding: 3px 5px;
  }
  .footer__item1 a,
  .footer__item2 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__item4 a:hover{
    background-color: rgba(255, 165, 0, 0.2); /* オレンジ系の薄い背景 */
  }
.footer__list{
    top: 0px;
}

/* pc */
@media screen and (min-width:769px){
    .footer__item3{
        padding: 3px 10px;
    }
}