@charset "utf-8";

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;
}

* {
box-sizing: border-box;
}

p {
    line-height: 1.75;
}

@media screen and (max-width:428px) {
    html, body {
    font-size: 0.9rem;
    }
}

.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_container {
    min-height: 100vh;
    padding: 0px 20px 0 20px;
}

.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-list {
    max-width: 1200px;
    padding: 0px 50px 30px 50px;
    margin: 0 auto;
    position: relative;
    background-color: #fff;
    color: #051730;
    box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.3);
}

.news_frame {
    position: absolute;
    right: -20px;
    top: -30px;
}

.news_frame-under {
    position: absolute;
    z-index: 99;
    transform: rotate(180deg);
    left: -20px;
    bottom: -30px;
}

.path {
    padding-top: 30px;
    margin: 10px 0 20px 0;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.path a {
    color: #051730;
}

/*------------------------------------------------------------------------------------------------
お知らせ見出し
------------------------------------------------------------------------------------------------*/
.news_txt p{
  margin: min(30 / 540 * 100vw, 30px) 0;
}

.news_txt a:hover{
  opacity: .5;
}

.news-title1 {
    box-sizing: border-box;
    font-size: 1.5rem;
    color: #fff;
    height: auto;
    min-height: 5rem;
    position: relative;
    left: -20px;
    z-index: 5;
    padding: 1.75rem 0rem 2rem 8rem;
    margin: 2rem -1vw 2rem 0;
    background-image: url(../images/notice/notice-title1.png);
    background-repeat: no-repeat;
    background-size: cover;
    text-shadow: 0px 1px 6px rgba(0, 0, 0, 0.4);
}

.news-title2 {
    box-sizing: border-box; 
    font-size: 1.5rem;
    color: #69430D;
    height: auto; 
    min-height: 5rem; 
    position: relative;
    left: -10px;
    z-index: 5;
    padding: 1.25rem 0rem 1rem 8rem;
    margin: 2rem -0.5vw 2rem 0;
    background-image: url(../images/notice/notice-title2.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.news-title3 {
    height: fit-content;
    margin: 0rem 0px 0px 3.5rem;
    padding-left: 0rem;
    color: #0c1f48;
    font-size: 1.5rem;
    position: relative;
}

.news-title3::before {
    content: "";
    background-image: url(../images/notice/notice-title3.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 5.5%;
    height: 100%;
    position: absolute;
    left: -50px;
    top: 0px;
}

.pagenav {
	height: 2.2rem;
	margin: 3rem 0;
	color: #0c1f48;
	font-size: 1.25rem;
    position: relative;
    display: flex;
    align-items: center;
}

.pagenav::before {
    content: "";
    background-image: url(../images/notice/pagenav_icon.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 4%;
    height: 100%;
}

.redtxt {
    color: #FF4C4C;
    margin-bottom: 30px;
}

.exp {
    width: 100%;
    line-height: 2;
}

.exp p {
    margin-top: 10px;
    padding-left: 50px;
    font-size: 1.5rem;
    font-weight: bold;
}

.exp_li-none {
    list-style: none;
}

@media (max-width: 768px) {
    .news_frame {
    display: none;
    }
    .news_frame-under {
    display: none;
    }
    .news_container {
        padding: 0px 8px 8px 8px;
    }
    .news-list {
    max-width: 1200px;
    padding: 0px 25px 30px 25px;
    margin: 0 auto;
    position: relative;
    background-color: #fff;
    box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.3);
    }
    .news-title1{
    box-sizing: border-box;
    padding-left: 125px;
    padding-top: 25px;
    line-height: 1.25;
    font-size: 1.5rem;
    color: #fff;
    height: auto;
    min-height: 5rem;
    position: relative;
    left: -20px;
    z-index: 5;
    padding: 2rem 1rem 2rem 8rem;
    margin: 2rem -2vw 1.5rem 0;
    background-image: url(../images/notice/notice-title1.png);
    background-repeat: no-repeat;
    background-size: cover;
    }
    .news-title2 {
    box-sizing: border-box;
    line-height: 1.25;
    font-size: 1.5rem;
    color: #69430D;
    height: auto;
    min-height: 5rem;
    padding: 1rem 0rem 1rem 10rem;
    margin: 0rem -2vw 1.5rem 0;
    background-image: url(../images/notice/notice-title2.png);
    background-repeat: no-repeat;
    background-size: cover;
    }
    .news-title3 {
    height: fit-content;
    margin: 1rem 0 1rem 0;
    padding-left: 2.5rem;
    color: #0c1f48;
    font-size: 1.25rem;
    position: relative;
    display: flex;
    align-items: center;
    }
    .news-title3::before {
    content: "";
    background-image: url(../images/notice/notice-title3.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 5.5%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    }
.pagenav {
	height: 2.2rem;
	margin: 0rem 0;
	color: #0c1f48;
	font-size: 1.25rem;
    position: relative;
    display: flex;
    align-items: center;
    }
}

@media screen and (max-width: 428px) {
.news-title {
    font-size: 1.8rem;
    color: #0c1f48;
    /* height: 3.8rem; */
    position: relative;
    z-index: 5;
    padding: 0px 0 0rem 0em;
    margin: 0rem 0;
    border-bottom: solid 1px #0c1f48;
    /* background-image: url(../images/notice/notice-title1.png); */
    }
    .news-title1{
        box-sizing: border-box;
        font-size: 1.2rem;
        color: #FFF;
        height: auto;
        min-height: 5rem;
        position: relative;
        left: -10px;
        z-index: 5;
        padding: 34px 0 0 0;
        text-align: center;
        margin: 0rem -5vw 0px 0;
        /* border-bottom: solid 1px #0c1f48; */
        background-image: url(../images/notice/notice-title1-SP.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
    }
    .news-title2 {
        box-sizing: border-box;
        font-size: 1.2rem;
        color: #69430D;
        width: 107.5%;
        padding: 2rem 10px 2rem 10px;
        margin: 0rem 0px 0 7px;
        background-image: url(../images/notice/notice-title2-SP.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
    }
    .news-title2::after {
        display: none;
    }
    .news-title3 {
        font-size: 1.4rem;
        margin: 2rem 0 0 0;
    }
    .pagenav {
        font-size: 1.2rem;
        margin: 2rem 0 2rem 0;
    }
    .news-title3::before {
    content: "";
    background-image: url(../images/notice/notice-title3.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 12%;
    height: 100%;
    }
    .pagenav::before {
    content: "";
    background-image: url(../images/notice/pagenav_icon.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 10%;
    height: 100%;
    }
}

@media screen and (max-width: 320px) {
    .news-title1{
        box-sizing: border-box;
        font-size: 1.2rem;
        color: #FFF;
        height: auto;
        min-height: 5rem;
        position: relative;
        left: -10px;
        z-index: 5;
        padding: 34px 0 0 0;
        text-align: center;
        margin: 0rem -5vw 0px 0;
        /* border-bottom: solid 1px #0c1f48; */
        background-image: url(../images/notice/notice-title1-SP.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
    }
    .news-title2 {
        box-sizing: border-box;
        font-size: 1.5rem;
        color: #69430D;
        height: auto;
        min-height: 5rem;
        position: relative;
        left: -10px;
        z-index: 5;
        padding: 2rem 1rem 2rem 1rem;
        margin: 2rem -5vw 0 0;
        background-image: url(../images/notice/notice-title2-SP.png);
        background-repeat: no-repeat;
        background-size: cover;
    }
}