html, body {
margin: 0;
padding: 0;
font-family: "Noto Sans JP", sans-serif;
background-color: #ffffff;
background-image: radial-gradient(circle, #ebebeb 2.5px, transparent 2.5px);
background-position: 0 0;
background-size: 25px 25px;
color: #051730;
}

@media screen and (max-width:428px) {
    html, body {
    font-size: 0.9rem;
    }
}

* {
box-sizing: border-box;
}

p {
margin: 0;
}

.p7g_logo {
position: absolute;
top: 150px;
right: 5vw;
}

.p7g_logo_child {
max-width: 30vw;
height: auto;
}

@media screen and (max-width:950px) {
.p7g_logo {
position: absolute;
top: 400px;
display: flex;
justify-content: center;
margin: 0 auto;
right: 50%;
left: 50%;
}
.p7g_logo_child {
max-width: 300px;
height: auto;
}
}

.firstView {
    position: relative;
    width: 100%;
    height: 100%;
}

.fv_section {
position: relative;
z-index: 99999;
}

section {
width: 100%;
/* height: 100vh; */
}

.news_prevpage-btn span,
.news_nextpage-btn span {
    color: #fff;
}

.pagenation_wrap .pagination-1 li a.active{
    color: #fff;
    background: #0A274D;
    pointer-events: none;
}

.news_header-content {
    position: absolute;
    top: 50%; /* 上端を垂直方向の中央に */
    left: 50%; /* 左端を水平方向の中央に */
    transform: translate(-50%, -50%); /* 要素自体を半分戻し、完全に中央寄せ */
    width: 90%; /* コンテンツの幅を親に対して設定 */
    max-width: 1000px; /* 必要に応じて最大幅を設定 */
    color: #fff;
    text-shadow: 0px 4px 5px rgba(0, 0, 0, 0.4);

    /* Flexboxで中身の配置を制御 */
    display: flex;
    flex-direction: column; /* 縦並び */
    align-items: flex-start; /* 左寄せ */
    /* justify-content: center; */ /* 垂直方向はtransformで中央にしているので不要 */
}

/* メインタイトル */
.news_header-ttl {
    /* フォントサイズをビューポート幅に合わせて調整 */
    font-size: 3vw;
    line-height: 1.1;
    margin: 0; /* 不要なマージンをリセット */
    /* flex-basis: auto; */
    /* text-align: left; */ /* 親の align-items: flex-start で左寄せに */
}

/* サブタイトル */
.news_header-sbttl {
    /* フォントサイズをビューポート幅に合わせて調整 */
    font-size: 1vw;
    line-height: 1.3;
    margin-top: 0.5em; /* タイトルからの間隔 */
    /* text-align: left; */ /* 親の align-items: flex-start で左寄せに */
}

/* 小さい画面での調整 (例: スマートフォン) */
@media (max-width: 768px) {
    .news_header-ttl {
        font-size: 4vw; /* より小さくても読みやすいように大きく設定し直す */
    }
    .news_header-sbttl {
        font-size: 2vw;
    }
    /* 中央に寄せるなど、必要に応じて位置の調整も可能です */
    /* .news_header-content {
        align-items: center;
    } */
}

@media (max-width: 428px) {
    .news_header-ttl {
        font-size: 8vw; /* より小さくても読みやすいように大きく設定し直す */
    }
    .news_header-sbttl {
        font-size: 4vw;
    }
    /* 中央に寄せるなど、必要に応じて位置の調整も可能です */
    /* .news_header-content {
        align-items: center;
    } */
}

.news_btn_wrap {
    width: 85%;
    text-align: center;
    cursor: pointer;
    position: relative;
    padding: 10px 0;
    font-size: 15px;
    color: rgb(30, 105, 207);
    border: 2px solid rgb(30, 105, 207);
    border-radius: 34px;
    background-color: #fff;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    text-decoration: none;
}

.news_btn_wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 50px;
    height: 50px;
    border-radius: inherit;
    scale: 0;
    z-index: -1;
    background-color: rgb(30, 105, 207);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.news_btn_wrap:hover::before {
    scale: 10;
}

.news_btn_wrap:hover {
    color: #ffffff;
    scale: 1.1;
    box-shadow: 0 0px 20px rgba(30, 105, 207, 0.4);
}

.news_btn_wrap:active {
    scale: 1;
}

.news_btn_container {
    padding: 50px 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    column-gap: 10;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.news_btn_wrap {
    /* テキストがはみ出さないように */
    word-break: break-word;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    /* 画面幅が768px以下になったら、2列に変更 */
    .news_container {
        grid-template-columns: repeat(2, 1fr);
        /* 左右の余白を少し取る */
        padding: 0 15px; 
    }
}

@media (max-width: 480px) {
    /* 画面幅が480px以下になったら、1列に変更 */
    .news_container {
        grid-template-columns: 1fr;
    }
}

.news_container {
    min-height: 100vh;
    padding: 50px 20px 0 20px;
}

.news_bigttl_bg {
    position: relative;
    z-index: 2;
    width: 45%;
    top: -50px;
    height: 60px;
    font-family: "Noto Serif JP", sans-serif;
    font-weight: 700;
}

.news_bigttl_bg span {
    position: absolute;
    z-index: 2;
    font-size: 36px;
    color: #fff;
    top: 18px;
    left: 0;  /* 左端を親の左端に */
    right: 0; /* 右端を親の右端に */
    text-align: center; /* その中でテキストを中央揃え */
    /* (推奨) テキストが長すぎても改行させない */
    white-space: nowrap;
}

.news_frame {
    position: absolute;
    right: -15px;
    top: -30px;
}

.news_frame-under {
    position: absolute;
    z-index: 99;
    transform: rotate(180deg);
    left: -20px;
    bottom: -30px;
}

.news-list {
    max-width: 1200px;
    padding: 0px 50px 0px 50px;
    margin: 0 auto;
    position: relative;
    background-color: #fff;
    box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.3);
}

.news-item {
    position: relative;
    height: 70px;
    border-bottom: 1px solid #C4C4C4;
    display: flex;
    align-items: center;
}

.news-item:last-child {
    border-bottom: none;
}

.category-badge {
    width: 100px;
    height: 30px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    flex-shrink: 0;
}

.category-badge.event {
    background-color: #dacd82;
}

.category-badge.mall {
    background-color: #ff87e1;
}

.category-badge.campaign {
    background-color: #ffb987;
}

.category-badge.maintenance {
    background-color: #8cdd95;
}

.category-badge.announcement {
    background-color: #54adf5;
}

.category-badge.update {
  background-color: #F75B5E;
}

.new-label {
    position: absolute;
    left: 121px;
    top: 17.5px;
    color: #FF4C4C;
    font-weight: bold;
    font-size: 10px;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.news-content {
    flex: 1;
    margin-left: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 20px;
}

.news-title {
    font-size: 1rem;
    font-weight: normal;
    color: #051730;
    text-transform: uppercase;
    margin: 0;
    flex: 1;
    margin-right: 20px;
    padding-left: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.news-title:hover {
    opacity: 0.5;
}

.news-date {
    font-size: 0.9rem;
    font-weight: normal;
    color: #051730;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.path {
    margin: 10px 0 20px 0;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.path a {
    color: #051730;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .path {
    display: none;
    }
    .news_frame {
        display: none;
    }
    .news_frame-under {
        display: none;
    }
    .news_btn_container {
    padding-top: 50px;
    /* Gridコンテナとして定義 */
    display: grid;
    /* 3つの列を定義。fr単位で等幅にする */
    grid-template-columns: repeat(2, 1fr);
    /* アイテム間の間隔（行と列） */
    gap: 10px; 
    /* 必要に応じて、コンテナの最大幅を設定 */
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
    }

    .news_container {
        padding: 30px 20px 8px 20px;
    }
    .news-list {
    max-width: 1200px;
    padding: 0px 25px 0px 25px;
    margin: 0 auto;
    position: relative;
    background-color: #fff;
    box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.3);
    }
    .news_bigttl_bg {
        position: relative;
        z-index: 2;
        width: 100%;
        top: -25px;
        height: 60px;
        font-family: "Noto Serif JP", sans-serif;
        font-weight: 700;
    }

    .news_bigttl_bg img {
        height: 8vh;
    }

    .news_bigttl_bg span {
        position: absolute;
        z-index: 2;
        font-size: 28px;
        color: #fff;
        top: 10px;
        left: 115px;
    }

    .news_frame {
    position: absolute;
    right: 0px;
    top: -30px;
    }

    .news_frame img {
    position: absolute;
    right: 0px;
    top: 10px;
    width: 250px;
    }

    .news-item {
        height: auto;
        min-height: 70px;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .category-badge {
        margin-bottom: 10px;
    }

    .new-label {
        left: 215px;
        top: 17px;
    }

    .news-content {
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
        padding-right: 0;
        width: 100%;
    }

    .news-title {
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 1rem;
        padding-left: 0px;
    }

    .news-date {
        align-self: flex-end;
        font-size: 0.9rem;
        position: absolute;
        top: 15px;
        left: 115px;
    }
    .news_header-PC {
    display: none;
    /* 画像がコンテナの高さを決定する役割。 */
    /* 必要に応じて 'object-fit: cover;' なども検討してください。 */
    }
    .news_header-SP img {
    width: 100%;
    /* 画像がコンテナの高さを決定する役割。 */
    /* 必要に応じて 'object-fit: cover;' なども検討してください。 */
    }
}

@media (max-width: 428px) {
    .path {
        display: none;
    }
    .contentBox {
        margin-top: -10px;
    }
    .news_container {
        padding: 20px 8px 8px 8px;
    }
    .news_list {
    max-width: 1000px;
    }
    .news_bigttl_bg {
        position: relative;
        z-index: 2;
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        height: 60px;
        font-family: "Noto Serif JP", sans-serif;
        font-weight: 700;
    }

    .news_bigttl_bg img {
        height: 7vh;
    }

    .news_bigttl_bg span {
        position: absolute;
        z-index: 2;
        font-size: 24px;
        color: #fff;
        top: 7px;
        right: 0;
        left: 0;
    }

    .news_frame {
        display: none;
    }

    .news-item {
        height: auto;
        min-height: 70px;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
    }

    .category-badge {
        margin-bottom: 10px;
    }

    .new-label {
        left: 170px;
        top: 15px;
    }

    .news-content {
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
        padding-right: 0;
        width: 100%;
    }

    .news-title {
        margin-right: 0;
        /* margin-bottom: 10px; */
        font-size: 0.9rem;
        padding-left: 0px;
    }

    .news-date {
        align-self: flex-end;
        font-size: 0.7rem;
        position: absolute;
        top: 14px;
        left: 90px;
    }

    .category-badge {
    width: 80px;
    height: 25px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    flex-shrink: 0;
    }
    .news_header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 350px;
    color: #fff;
    text-shadow: 0px 4px 5px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* justify-content: center; */
    }
}

.pagenation_wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 30px;
}

.news_nextpage-btn {
    background: #0A274D;
    color: white;
    font-family: inherit;
    padding: 0.35em;
    padding-left: 1.2em;
    font-size: 15px;
    font-weight: 500;
    border-radius: 0.9em;
    border: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 1.6em -0.6em #154588;
    overflow: hidden;
    position: relative;
    height: 2.8em;
    padding-right: 3.3em;
    cursor: pointer;
}

.news_nextpage-btn .nexticon {
    background: white;
    margin-left: 1em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2em;
    width: 2.2em;
    border-radius: 0.7em;
    box-shadow: 0.1em 0.1em 0.6em 0.2em #0A274D;
    right: 0.3em;
    transition: all 0.3s;
}

.news_nextpage-btn:hover .nexticon {
    width: calc(100% - 0.6em);
}

.news_nextpage-btn .nexticon svg {
    width: 1.1em;
    transition: transform 0.3s;
    color: #0A274D;
}

.news_nextpage-btn:hover .nexticon svg {
    transform: translateX(0.1em);
}

.news_prevpage-btn {
    background: #0A274D;
    color: white;
    font-family: inherit;
    padding: 0.35em;
    padding-right: 1.2em;
    font-size: 15px;
    font-weight: 500;
    border-radius: 0.9em;
    border: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 1.6em -0.6em #154588;
    overflow: hidden;
    position: relative;
    height: 2.8em;
    padding-left: 3.3em;
    cursor: pointer;
}

.news_prevpage-btn .previcon {
    background: white;
    margin-right: 1em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2em;
    width: 2.2em;
    border-radius: 0.7em;
    box-shadow: 0.1em 0.1em 0.6em 0.2em #0A274D;
    left: 0.3em;
    transition: all 0.3s;
    transform: rotate(180deg);
}

.news_prevpage-btn:hover .previcon {
    width: calc(100% - 0.6em);
}

.news_prevpage-btn .previcon svg {
    width: 1.1em;
    transition: transform 0.3s;
    color: #0A274D;
}

.news_prevpage-btn:hover .previcon svg {
    transform: translateX(0.1em);
}

.pagination-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 15px;
    list-style-type: none;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
}

.pagination-1 a {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2.8em;
    border: 1px solid #0A274D;
    border-radius: 0.75em;
    color: #0A274D;
}

.pagenation_num a {
    text-decoration: none;
    transition: 0.3s;
}

.pagenation_num a:hover {
    background-color: #0A274D;
    color: #fff;
}

@media (max-width: 428px) {
    .pagenation_wrap {
        width: 100%;
        display: flex;
        justify-content: center;
        padding-top: 20px;
    }

    .news_nextpage-btn {
        background: #0A274D;
        color: white;
        font-family: inherit;
        padding: 0.3em;
        /* padding-left: 1.2em; */
        font-size: 15px;
        font-weight: 500;
        border-radius: 0.9em;
        border: none;
        letter-spacing: 0.05em;
        display: flex;
        align-items: center;
        box-shadow: inset 0 0 1.6em -0.6em #154588;
        overflow: hidden;
        position: relative;
        height: 2.8em;
        /* padding-right: 3.3em; */
        cursor: pointer;
    }

    .news_nextpage-btn .nexticon {
        background: white;
        margin-left: 1em;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 2.2em;
        width: 2.4em;
        border-radius: 0.7em;
        box-shadow: 0.1em 0.1em 0.6em 0.2em #0A274D;
        right: 0.3em;
        transition: all 0.3s;
    }

    .news_nextpage-btn:hover .nexticon {
        width: calc(100% - 0.6em);
    }

    .news_nextpage-btn .nexticon svg {
        width: 1.1em;
        transition: transform 0.3s;
        color: #0A274D;
    }

    .news_nextpage-btn:hover .nexticon svg {
        transform: translateX(0.1em);
    }

    .news_prevpage-btn {
        background: #0A274D;
        color: white;
        font-family: inherit;
        padding: 0.35em;
        /* padding-right: 1.2em; */
        font-size: 15px;
        font-weight: 500;
        border-radius: 0.9em;
        border: none;
        letter-spacing: 0.05em;
        display: flex;
        align-items: center;
        box-shadow: inset 0 0 1.6em -0.6em #154588;
        overflow: hidden;
        position: relative;
        height: 2.8em;
        /* padding-left: 3.3em; */
        cursor: pointer;
    }

    .news_prevpage-btn .previcon {
        background: white;
        /* margin-left: 1em; */
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 2.2em;
        width: 2.4em;
        border-radius: 0.7em;
        box-shadow: 0.1em 0.1em 0.6em 0.2em #0A274D;
        right: 0.3em;
        transition: all 0.3s;
        transform: rotate(180deg);
    }

    .news_prevpage-btn:hover .previcon {
        width: calc(100% - 0.6em);
    }

    .news_prevpage-btn .previcon svg {
        width: 1.1em;
        transition: transform 0.3s;
        color: #0A274D;
    }

    .news_prevpage-btn:hover .previcon svg {
        transform: translateX(0.1em);
    }

    .pagination-1 {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0 15px;
        list-style-type: none;
        padding: 0;
        font-size: 15px;
        font-weight: 500;
    }

    .pagination-1 a {
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 2em;
        height: 2.8em;
        border: 1px solid #0A274D;
        border-radius: 0.75em;
        color: #0A274D;
    }

    .pagenation_num a {
        text-decoration: none;
        transition: 0.3s;
    }

    .pagenation_num a:hover {
        background-color: #0A274D;
        color: #fff;
    }
}