@charset "UTF-8";

/*================
お知らせ一覧
================*/
.page-news .mv-inner .page-head .ttl-01 {
    margin-bottom: 40px;
}
.page-news .mv-lead {
    margin-bottom: 160px;
}
.sec-news > .inner-1320 {
    gap: 0;
}
.page-news .main > .sec-contact {
    margin-top: 160px;
}
.page-news .bc-wrap.sp-mode-01 + .sec-contact {
    margin-top: 160px;
}

/* 年タブ */
.news-year {
    margin-bottom: 80px;
}
.news-year-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
}
.news-year-list li {
    flex-shrink: 0;
}
.news-year-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 5px 25px 7px;
    color: #222;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.8;
    text-align: center;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.news-year-list .is-current a {
    color: var(--color-main);
    font-weight: 600;
    border-bottom-color: var(--color-main);
}

/* お知らせリスト */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.news-list > li {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.news-list > li[hidden] {
    display: none;
}
.news-list > li::after {
    content: "";
    display: block;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
}
.news-list > li > a {
    display: flex;
    align-items: center;
    gap: 40px;
    color: #222;
    text-decoration: none;
    padding: 0 40px;
}
.news-list .news-meta {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
}
.news-list .news-date {
    width: 150px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
}
.news-list .news-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 150px;
    padding: 2px 0;
    border: 1px solid var(--color-main);
    border-radius: 8px;
    color: var(--color-main);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}
.news-list .news-label.type-important {
    border-color: #D96B6B;
    color: #D96B6B;
}
.news-list .news-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    flex: 1;
    min-width: 0;
}
.news-list .news-ttl {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}
.news-list .arrow2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-main);
}
.news-list .arrow2 > svg {
    width: 20px;
    height: 20px;
}
.news-list > li > a:hover .news-ttl {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.news-empty {
    margin-top: 40px;
    text-align: center;
}

/*================
お知らせ詳細
================*/
.page-news-detail .page-head .ttl-01 {
    margin-bottom: 80px;
}
.page-news-detail .sec-news-detail {
    margin-top: 0;
}
.page-news-detail .sec-news-detail > .inner-1000 {
    gap: 0;
}
.page-news-detail .main > .sec-contact {
    margin-top: 160px;
}
.news-detail-head {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}
.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 40px;
    margin-bottom: 24px;
}
.news-detail-meta .news-date {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #222;
}
.news-detail-meta .news-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 150px;
    padding: 3px 16px;
    border: 1px solid var(--color-main);
    border-radius: 8px;
    color: var(--color-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
}
.news-detail-meta .news-label.type-important {
    border-color: #D96B6B;
    color: #D96B6B;
}
.news-detail-ttl {
    color: #222;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
}

/* WP the_content（クラシック／ブロック共通） */
.news-detail-body {
    color: #222;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    word-break: break-word;
}
.news-detail-body::after {
    content: "";
    display: table;
    clear: both;
}
.news-detail-body h2,
.news-detail-body h3,
.news-detail-body h4 {
    color: #222;
    font-weight: 600;
    line-height: 1.5;
}
.news-detail-body h2 {
    margin: 2.5em 0 20px;
    font-size: 20px;
}
.news-detail-body h3 {
    margin: 2em 0 20px;
    font-size: 18px;
}
.news-detail-body h4 {
    margin: 1.75em 0 20px;
    font-size: 16px;
}
.news-detail-body h2:first-child,
.news-detail-body h3:first-child,
.news-detail-body h4:first-child {
    margin-top: 0;
}
/* 段落・リスト余白 */
.news-detail-body p {
    margin: 0 0 20px;
}
.news-detail-body ul,
.news-detail-body ol,
.news-detail-body dl {
    margin: 0 0 20px;
}
.news-detail-body a {
    color: var(--color-main);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.news-detail-body strong,
.news-detail-body b {
    font-weight: 600;
}
.news-detail-body em,
.news-detail-body i {
    font-style: italic;
    font-synthesis: style;
    /* 日本語ゴシックはイタリック字形が無いため疑似斜体 */
    display: inline-block;
    transform: skewX(-10deg);
}
.news-detail-body hr,
.news-detail-body .wp-block-separator {
    border: 0;
    border-top: 1px solid var(--color-border);
    margin: 2em 0;
}

/* リスト（/activities/ の list-02 準拠） */
.news-detail-body ul,
.news-detail-body .wp-block-list {
    list-style: disc;
    padding-left: 24px;
    color: #222;
    font-size: 16px;
    line-height: 1.25;
    word-break: break-word;
}
.news-detail-body ol {
    list-style: decimal;
    padding-left: 24px;
    color: #222;
    font-size: 16px;
    line-height: 1.25;
    word-break: break-word;
}
.news-detail-body li + li {
    margin-top: 15px;
}
.news-detail-body ul ul,
.news-detail-body ol ol,
.news-detail-body ul ol,
.news-detail-body ol ul {
    margin-top: 15px;
    margin-bottom: 0;
}
.news-detail-body ul ul {
    list-style: circle;
}
.news-detail-body ul ul ul {
    list-style: square;
}

/* 定義リスト */
.news-detail-body dt {
    float: left;
    margin-right: 1em;
    font-weight: 600;
}
.news-detail-body dd {
    margin: 0 0 0.75em;
}
.news-detail-body dd::after {
    content: "";
    display: table;
    clear: both;
}

/* 引用 */
.news-detail-body blockquote,
.news-detail-body .wp-block-quote {
    margin: 1.5em 0;
    padding: 24px 28px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #F8F9F5;
}
.news-detail-body blockquote > * + *,
.news-detail-body .wp-block-quote > * + * {
    margin-top: 1em;
}
.news-detail-body blockquote cite,
.news-detail-body .wp-block-quote cite {
    display: block;
    margin-top: 0.75em;
    color: #555;
    font-size: 14px;
    font-style: normal;
}

/* 画像・配置（クラシック align* / ブロック共通） */
.news-detail-body img,
.news-detail-body .wp-block-image img {
    max-width: 100%;
    height: auto;
}
.news-detail-body .alignnone,
.news-detail-body .wp-block-image.alignnone {
    display: inline-block;
    margin: 0.5em 0;
}
.news-detail-body .aligncenter,
.news-detail-body .wp-block-image.aligncenter {
    clear: both;
    display: block;
    margin: 1.5em auto;
    text-align: center;
}
.news-detail-body .alignleft,
.news-detail-body .wp-block-image.alignleft {
    display: inline;
    float: left;
    margin: 0.5em 36px 1em 0;
}
.news-detail-body .alignright,
.news-detail-body .wp-block-image.alignright {
    display: inline;
    float: right;
    margin: 0.5em 0 1em 36px;
}
.news-detail-body .aligncenter img,
.news-detail-body .wp-block-image.aligncenter img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.news-detail-body p:has(img) + p:has(img) {
    margin-top: 40px;
}
.news-detail-body .has-text-align-left {
    text-align: left;
}
.news-detail-body .has-text-align-center {
    text-align: center;
}
.news-detail-body .has-text-align-right {
    text-align: right;
}

/* キャプション */
.news-detail-body .wp-caption,
.news-detail-body .wp-block-image figcaption,
.news-detail-body figure {
    max-width: 100%;
}
.news-detail-body .wp-caption {
    margin-bottom: 1.5em;
}
.news-detail-body .wp-caption img {
    display: block;
}
.news-detail-body .wp-caption-text,
.news-detail-body .wp-block-image figcaption,
.news-detail-body figcaption {
    margin-top: 0.5em;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

/* ギャラリー */
.news-detail-body .gallery,
.news-detail-body .wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 1.5em 0;
    padding: 0;
    list-style: none;
}
.news-detail-body .gallery .gallery-item,
.news-detail-body .wp-block-gallery .wp-block-image {
    margin: 0;
}
.news-detail-body .gallery-columns-2 .gallery-item,
.news-detail-body .wp-block-gallery.columns-2 .wp-block-image {
    width: calc((100% - 16px) / 2);
}
.news-detail-body .gallery-columns-3 .gallery-item,
.news-detail-body .wp-block-gallery.columns-3 .wp-block-image {
    width: calc((100% - 32px) / 3);
}
.news-detail-body .gallery img,
.news-detail-body .wp-block-gallery img {
    display: block;
    width: 100%;
    height: auto;
}

/* テーブル */
.news-detail-body table,
.news-detail-body .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.6;
}
.news-detail-body th,
.news-detail-body td {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}
.news-detail-body th {
    background: #F0F7D6;
    font-weight: 600;
}
.news-detail-body .wp-block-table {
    overflow-x: auto;
}

/* 埋め込み・動画 */
.news-detail-body .wp-block-embed,
.news-detail-body .wp-block-video,
.news-detail-body iframe,
.news-detail-body video {
    max-width: 100%;
}
.news-detail-body .wp-block-embed__wrapper,
.news-detail-body .wp-block-video video {
    width: 100%;
}

.news-detail-foot {
    margin-top: 80px;
    text-align: center;
}
.news-detail-foot .btn-01 {
    display: inline-block;
}

/* SP
----------------------------------------------------------*/
@media only screen and (max-width: 768px) {
    .page-news .mv-inner .page-head .ttl-01 {
        margin-bottom: 7.813vw;
    }
    .page-news .mv-lead {
        margin-bottom: 19.532vw;
    }
    .page-news .mv-lead .page-lead {
        text-align: left;
    }
    .sec-news > .inner-1320 {
        gap: 0;
    }
    /* SPパンくず余白は site_frame_sp の共通指定（上250 / 下20）に委譲 */
    .page-news .main > .sec-contact,
    .page-news .bc-wrap.sp-mode-01 + .sec-contact {
        margin-top: 0;
    }

    .news-year {
        margin-bottom: 19.532vw;
    }
    .news-year-list {
        justify-content: flex-start;
        gap: 0;
    }
    .news-year-list li {
        flex: none;
    }
    .news-year-list a {
        padding: 0 5.208vw 2.604vw;
        font-size: 4.688vw;
        line-height: 1.9;
        border-bottom-width: 0.521vw;
    }
    .news-year-list .is-current a {
        border-bottom-width: 0.521vw;
    }

    .news-list {
        gap: 7.813vw;
    }
    .news-list > li {
        gap: 7.813vw;
    }
    .news-list > li > a {
        flex-direction: column;
        align-items: stretch;
        gap: 5.208vw;
        padding: 0;
    }
    .news-list .news-meta {
        gap: 2.604vw;
        width: 100%;
    }
    .news-list .news-date {
        width: auto;
        min-width: 36.458vw;
        font-size: 4.167vw;
    }
    .news-list .news-label {
        width: auto;
        padding: 0.651vw 2.604vw;
        border-width: 0.26vw;
        border-radius: 2.083vw;
        font-size: 3.646vw;
    }
    .news-list .news-body {
        width: 100%;
        gap: 5.208vw;
    }
    .news-list .news-ttl {
        font-size: 4.167vw;
    }
    .news-list .arrow2 {
        width: 5.208vw;
        height: 5.208vw;
    }
    .news-list .arrow2 > svg {
        width: 5.208vw;
        height: 5.208vw;
    }
    .news-empty {
        margin-top: 7.813vw;
    }

    .page-news-detail .page-head .ttl-01 {
        margin-bottom: 19.532vw;
    }
    .page-news-detail .main > .sec-contact {
        margin-top: 32.553vw;
    }
    .news-detail-head {
        margin-bottom: 10.417vw;
        padding-bottom: 7.813vw;
    }
    .news-detail-meta {
        gap: 2.604vw;
        margin-bottom: 5.208vw;
    }
    .news-detail-meta .news-date {
        font-size: 4.167vw;
    }
    .news-detail-meta .news-label {
        min-width: 0;
        padding: 0.651vw 2.604vw;
        border-width: 0.26vw;
        border-radius: 2.083vw;
        font-size: 4.167vw;
    }
    .news-detail-ttl {
        font-size: 6.25vw;
    }
    .news-detail-body {
        font-size: 4.167vw;
    }
    .news-detail-body p,
    .news-detail-body ul,
    .news-detail-body ol,
    .news-detail-body dl {
        margin-bottom: 20px;
    }
    .news-detail-body h2 {
        margin: 10.417vw 0 20px;
        font-size: 5.208vw;
    }
    .news-detail-body h3 {
        margin: 8.334vw 0 20px;
        font-size: 4.688vw;
    }
    .news-detail-body h4 {
        margin: 6.51vw 0 20px;
        font-size: 4.167vw;
    }
    .news-detail-body ul,
    .news-detail-body ol,
    .news-detail-body .wp-block-list {
        padding-left: 6.25vw;
        font-size: 4.167vw;
        line-height: 1.25;
    }
    .news-detail-body li + li,
    .news-detail-body ul ul,
    .news-detail-body ol ol,
    .news-detail-body ul ol,
    .news-detail-body ol ul {
        margin-top: 15px;
    }
    .news-detail-body dt {
        float: none;
        margin-right: 0;
        margin-bottom: 0.25em;
    }
    .news-detail-body .alignleft,
    .news-detail-body .alignright,
    .news-detail-body .aligncenter,
    .news-detail-body .wp-block-image.alignleft,
    .news-detail-body .wp-block-image.alignright,
    .news-detail-body .wp-block-image.aligncenter {
        display: block;
        float: none;
        margin: 5.208vw auto;
        padding: 0;
    }
    .news-detail-body blockquote,
    .news-detail-body .wp-block-quote {
        padding: 5.208vw;
        border-radius: 2.083vw;
    }
    .news-detail-body th,
    .news-detail-body td {
        padding: 2.604vw;
        font-size: 3.646vw;
    }
    .news-detail-body .gallery,
    .news-detail-body .wp-block-gallery {
        gap: 2.604vw;
    }
    .news-detail-body .gallery-columns-2 .gallery-item,
    .news-detail-body .gallery-columns-3 .gallery-item,
    .news-detail-body .wp-block-gallery.columns-2 .wp-block-image,
    .news-detail-body .wp-block-gallery.columns-3 .wp-block-image {
        width: 100%;
    }
    .news-detail-body p:has(img) + p:has(img) {
        margin-top: 7.813vw;
    }
    .news-detail-foot {
        margin-top: 19.532vw;
    }
}
