@charset "utf-8";

/*==================
.header設定
==================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 15px var(--contentPadding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.page-visual {
    background-image: url("../img/headerImg_sp.svg"); 
    background-repeat: repeat;
}

.header.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  

.header__topic {
    width: 165.001px;
    height: 22px;
}

.header.hide {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0.5s ease;
}


  
@media (min-width: 1024px) {
    
    .header {
        padding: 30px 7.2226%;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    .page-visual {
        background-image: url("../img/headerImg_pc.svg"); 
        background-repeat: repeat;
    }
    
      .header.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
    
}
  
@media (min-width: 1440px) {
  .header__topic {
    width: 255px;
    height: 34px;
  }
}



/*==================
page-titleheader設定
==================== */

.news-item {
    padding: 152px 0 54px var(--contentPadding);
}
/* ===== PC切り替え：1024px〜 ===== */
@media screen and (min-width: 1024px) {
    .news-item {
        padding: 240px 0 131px var(--contentPadding);
    }
}

@media screen and (min-width: 1440px) {
    .news-item {
        padding-left: 14.45%;
    }
}


/* news-item__content */

.news-item__date {
    color: var(--primary-dark-gray);
    font-family: "Inter";
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0px;
}

.news-item__meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 19px;
}

.news-item__tag {
    color: var(--primary-dark-gray);
    font-family: "Zen Kaku Gothic New";
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    display: inline-flex;
    padding: 4px 18px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    border: 0.962px solid var(--primary-dark-gray);
}

.news-item__text {
    padding-right: 6.84%;
    color: var(--primary-dark-gray);
    font-family: "Zen Kaku Gothic New";
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.4;
}



/* ===== PC切り替え：1024px〜 ===== */
@media screen and (min-width: 1024px) {
    .news-item__date {
        color: var(--primary-dark-gray);
        font-family: "Inter";
        font-size: 1.6916rem;
        font-weight: 400;
        line-height: 1;
        letter-spacing: 1.692px;
    }

    .news-item__tag {
        color: var(--primary-dark-gray);
        font-family: "Zen Kaku Gothic New";
        font-size: 1.1387rem;
        font-weight: 500;
        line-height: 1;
        display: flex;
        padding: 6px 18px;
        justify-content: center;
        align-items: center;
        width: 93px;
    }
    .news-item__meta {
        gap: 22px;
        margin-bottom: 34px;
      }

    .news-item__text {
        font-size: 5rem;
        line-height: 1.3;
    }

}
/* ===== PC切り替え：1440px〜 ===== */
@media screen and (min-width: 1440px) {
    .news-item__text {
        padding-right: 16.885%;
    }
}

/* ===========
news-detail
=============== */

.news-detail {
    padding: 90px var(--contentPadding);
}
.news-content__txt {
    color: var(--primary-dark-gray);
    font-family: "Zen Kaku Gothic New";
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.news_detail-button {
    display: flex;
    justify-content: center;
    margin-top: 60px;

}

.news-content__txt {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--primary-light-gray);
    padding-bottom: 80px;
  }


@media (min-width: 1024px) {
    .news-detail {
        padding: 160px var(--contentPadding);
    }
    .news-content__txt {
        font-size: 1.8rem;
    }

    .news_detail-button {
        margin-top: 45px;
    }

    .news-content__txt {
        padding-bottom: 160px;
      }

}
@media (min-width: 1440px) {
    .news-detail {
        padding: 160px 14.45%;
    }  
}

