@charset "utf-8";
/*
Theme Name: senkawapj
Theme URI: 

フォント一覧：
font-family: "Zen Kaku Gothic New", sans-serif;　（ゴシック） w400,700,900
font-family: "Zen Maru Gothic", sans-serif;　（丸ゴシック）　w400,500,700,900
font-family: font-family: "Montserrat", sans-serif;　（英文　数字） w100〜900
*/


/*-----------------------------------------------
　お知らせ個別
--------------------------------------------------*/
.sin__outer{
    max-width: 100vw;
    margin: 0 auto 80px;
}
.sin__title{
    position: relative;
    max-width: 100%;
    margin: 0 auto 100px;
    background: #77C9D8;
    font-weight: 500;
    color: #fff;
}
.sin__title::after{
    content: '';
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    background: url(../img/wave_down.svg) no-repeat bottom / 100% 60px;
}
.sin__outer h1{
    padding-top: 100px;
    text-align: center;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: var(--font-size-L);
}
.sin__date{
    text-align: center;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: var(--font-size-S);
}
.sin__inner{
    max-width: 1000px;
    margin: 0 auto;
}
.sin__img{
    width: 70%;
    aspect-ratio: 1.6 / 1;
    margin: 0 auto 50px;
    border-radius: 20px;
    overflow: hidden;
}
.sin__img img{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
.blog__text{
    text-align: justify;
}

/* ページネーション */
.news-navigation {
    display: flex;
    justify-content:center;
    gap: 50px;
    margin-top: 50px;
}
.news-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
    font-size: var(--font-size-S);
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}
.arrow-left, .arrow-right {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease-in-out;
}

/* 共通：円の中の「くの字」 */
.arrow-left::before,
.arrow-right::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--text-color);
    border-right: 2px solid var(--text-color);
}

/* 左向き（く） */
.arrow-left::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

/* 右向き（＞） */
.arrow-right::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

/* ホバー時の演出（円を塗りつぶす） */
.news-navigation a:hover {
    color: var(--main-color1);
}

.news-navigation a:hover .arrow-left,
.news-navigation a:hover .arrow-right {
    background-color: var(--main-color1);
    border: 1px solid var(--main-color1);
}

.news-navigation a:hover .arrow-left::before,
.news-navigation a:hover .arrow-right::before {
    border-color: #fff; /* 矢印を白抜きに */
}

/*-----------------------------------------------
　お知らせ一覧
--------------------------------------------------*/
.news-list{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}
.news-item {
    width: calc((100% - 100px) / 3); 
    list-style: none;
    margin-bottom: 20px;
}

.news-item a {
    display: block;
    height: 100%;
    padding: 15px;
    transition: all .3s ease-in-out;
}
.news-item a:hover{
  background-color: #D2EDF2;
}
.news-item a:hover .news-img img{
  transform: scale(1.1);
}
.news-img{
    width: 100%;
    aspect-ratio: 1.6 / 1;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}
.news-img img{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: all .3s ease-in-out;
}
.news-title{
    font-size: var(--font-size-M2);
    font-weight: 500;
    margin-bottom: 10px;
    border-bottom: 1px dotted var(--text-color);
}

/*-----------------------------------------------
　レスポンシブ（スマホ）
--------------------------------------------------*/
@media screen and (max-width: 767px) {

    .sin__outer {
        max-width: 100%;
    }
    .sin__outer h1 {
        width: 90%;
        margin: 0 auto;
        padding-top: 80px;
    }
    .sin__title {
        margin: 0 auto 60px;
    }
    .sin__title::after {
        bottom: -39px;
        height: 40px;
        background: url(../img/wave_down.svg) no-repeat bottom / cover;
    }

    /*-----------------------------------------------
    　お知らせ個別
    --------------------------------------------------*/
    .sin__inner {
        max-width: 90%;
    }
    .sin__img {
        width: 100%;
        margin: 0 auto 30px;
        border-radius: 10px;
    }

    /*-----------------------------------------------
    　お知らせ一覧
    --------------------------------------------------*/
    .news-list {
        display: block;
        max-width: 90%;
    }
    .news-item {
        width: 100%;
        margin-bottom: 30px;
        background: #fff;
    }
    .news-item a {
        padding: 20px;
    }
    .news-title {
        padding-bottom: 10px;
        font-size: var(--font-size-M);
    }

}