@charset "UTF-8";

/* -------------------------
    お知らせ_ニュース（09_お知らせ_ニュース）専用のスタイルです。
    ヘッダー・フッター・共通ボタン等は css/common.css を参照しています。
    ヒーロー波形（.c-wave-hero--yellow）は css/common.css を参照しています。
------------------------- */

:root {
    --color-tag: #C4A865;
    --color-orange-2: #FFA963;
}

.l-main {
    min-width: 1000px;
    background: var(--color-cream);
}


/* -------------------------
    ページタイトル（ヒーロー）
------------------------- */

.news-hero {
    position: relative;
    width: 100%;
    height: 473px;
    overflow: hidden;
}

.news-hero__photos-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    -webkit-mask-image: url("../images/common/deco_hero_wave.svg");
    mask-image: url("../images/common/deco_hero_wave.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: bottom;
    mask-position: bottom;
    -webkit-mask-size: 100% 473px;
    mask-size: 100% 473px;
}

.news-hero__photos {
    position: absolute;
    right: 160px;
    bottom: 40px;
    width: auto;
    height: 260px;
}

.news-hero__inner {
    position: relative;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
}

.news-hero__title {
    position: absolute;
    left: 220px;
    top: 231px;
    margin: 0;
    color: #000;
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 5px;
}

.news-hero__lead {
    position: absolute;
    left: 220px;
    top: 319px;
    margin: 0;
    color: #000;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 500;
    font-family: "Noto Sans JP", sans-serif;
}


/* -------------------------
    カテゴリタブ・絞り込み
------------------------- */

.news-search {
    position: relative;
    padding: 60px 20px 90px;
}

.news-search__inner {
    position: relative;
    max-width: 1129px;
    margin: 0 auto;
}

.news-search__avatar {
    position: absolute;
    left: -70px;
    top: 10px;
    width: 230px;
    height: auto;
    animation-delay: -7.4s;
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 2px;
    max-width: 751px;
    margin: 0 auto 50px;
    padding: 10px;
    background: #fff;
    border-radius: 100px;
}

.news-tabs__item {
    flex: 1;
    padding: 12px 0;
    border-radius: 100px;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.news-tabs__item:hover {
    opacity: 0.7;
}

.news-tabs__item--current {
    background: var(--color-orange);
    color: #fff;
}

/* -------------------------
    施設ブログ 絞り込み（11_お知らせ_施設ブログ）
    共通部分（パネル本体・ラベル・クリア）は css/common.css の
    .c-search-panel を使用。ここでは拠点ごとのグルーピング表示のみ定義。
------------------------- */

.c-search-panel--locations {
    align-items: flex-start;
}

.c-search-panel__locations {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 16px;
}

.c-search-panel__location {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid #ECE3AF;
}

.c-search-panel__location:first-child {
    padding-top: 0;
    border-top: none;
}

.c-search-panel__location-name {
    flex-shrink: 0;
    width: 132px;
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1.8px;
    white-space: nowrap;
}


/* -------------------------
    お知らせ一覧
------------------------- */

.news-list {
    padding: 0 20px 400px;
}

.news-list__inner {
    max-width: 1129px;
    margin: 0 auto;
}

.news-list__items {
    display: flex;
    flex-direction: column;
    gap: 38px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-list__item a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-height: 131px;
    padding: 30px 80px 30px 50px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 3px 0 12px rgba(101, 63, 49, 0.12);
    text-decoration: none;
    color: #000;
    transition: opacity 0.3s;
}

.news-list__item a:hover {
    opacity: 0.8;
}

.news-list__text {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.news-list__badge {
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1.1px;
}

.news-list__excerpt {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: 18px;
    line-height: 1.4;
}

.news-list__meta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.news-list__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 12px;
    background: var(--color-orange-2);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: "Noto Sans JP", sans-serif;
}

.news-list__date {
    font-size: 14px;
    font-family: "Noto Sans JP", sans-serif;
}

.news-list__arrow {
    position: absolute;
    right: 30px;
    top: 75%;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
}

.news-list__back {
    display: flex;
    margin: 60px auto 0;
}

.news-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 90px 0 0;
}

.news-pager__arrow {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
}

.news-pager__arrow img {
    display: block;
    width: 100%;
    height: 100%;
}

.news-pager__arrow--prev img {
    transform: scaleX(-1);
}

.news-pager__nums {
    display: flex;
    align-items: center;
    gap: 30px;
}

.news-pager__num {
    color: var(--color-tag);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 25px;
    font-weight: 500;
    text-decoration: none;
}

.news-pager__num--current {
    color: var(--color-orange-2);
    font-weight: 700;
}


/* -------------------------
    理事長ブログ・施設ブログ一覧（10_お知らせ_理事長ブログ 等で共通使用）
------------------------- */

.blog-grid {
    padding: 0 20px 400px;
}

.blog-grid__inner {
    max-width: 1130px;
    margin: 0 auto;
}

.blog-grid__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 0 0 60px;
    padding: 0;
    list-style: none;
}

.blog-grid__item a {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 10px 10px 20px;
    background: #fff;
    border-radius: 30px;
    text-decoration: none;
    color: #000;
    box-shadow: 0 4px 5px rgba(101, 63, 49, 0.2);
    transition: opacity 0.3s;
}

.blog-grid__item a:hover {
    opacity: 0.8;
}

.blog-grid__photo-wrap {
    display: block;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    margin-bottom: 12px;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.blog-grid__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 260 / 200;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-grid__item a:hover .blog-grid__photo {
    transform: scale(1.08);
}

.blog-grid__title {
    margin: 0 0 12px;
    padding: 0 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

.blog-grid__meta {
    margin-top: auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 40px 10px 10px;
}

.blog-grid__tag {
    max-width: 170px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    background: var(--color-orange-2);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    font-family: "Noto Sans JP", sans-serif;
}

.blog-grid__date {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 14px;
    font-family: "Noto Sans JP", sans-serif;
}

.blog-grid__arrow {
    position: absolute;
    right: 21px;
    bottom: 21px;
    width: 30px;
    height: 30px;
}

.blog-grid__back {
    display: flex;
    margin: 60px auto 0;
}

/* -------------------------
    記事が0件のときの表示
------------------------- */

.blog-grid__item--empty {
    grid-column: 1 / -1;
}

.blog-grid__item--empty,
.news-list__empty {
    margin: 0;
    padding: 60px 20px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 5px rgba(101, 63, 49, 0.2);
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}
