@charset "UTF-8";

/* =========================
   お知らせ共通
========================= */
.notice-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 60px;
    line-height: 1.9;
    color: #222;
}

.notice-container p,
.notice-container li,
.notice-container td,
.notice-container th,
.notice-container a {
    color: #222;
}

/* =========================
   ヒーロー
========================= */
.notice-hero {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.notice-hero__text {
    flex: 1;
    min-width: 300px;
}

.notice-hero__text h1 {
    font-size: 2.2rem;
    line-height: 1.4;
    margin: 0 0 18px;
    color: #2c3e50;
}

.notice-hero__text p {
    font-size: 1.08rem;
    margin: 0;
}

.notice-hero__image {
    flex: 0 0 280px;
    text-align: center;
}

.notice-hero__image img {
    width: 100%;
    max-width: 280px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* =========================
   セクション共通
========================= */
.notice-section {
    margin-top: 38px;
    padding: 28px;
    background: #fffef9;
    border: 2px solid #d8c979;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.notice-section--sub {
    background: #f9fafb;
    border-color: #cfd8e3;
}

.notice-section h2 {
    position: relative;
    margin: 0 0 20px;
    padding: 8px 0 10px 18px;
    font-size: 1.55rem;
    font-weight: 700;
    color: #274c77;
    border-left: 8px solid #4f7fd6;
    line-height: 1.4;
}

.notice-section h2::after {
    content: "";
    display: block;
    width: 90px;
    height: 3px;
    margin-top: 10px;
    background: linear-gradient(to right, #4f7fd6, #d8c979);
    border-radius: 999px;
}

.notice-section h3 {
    margin: 22px 0 12px;
    font-size: 1.28rem;
    color: #2c3e50;
}

.section-lead {
    margin: 0 0 16px;
    font-size: 1.02rem;
    color: #35506f;
}

/* =========================
   お知らせトップ用
========================= */
.notice-block {
    margin-top: 18px;
}

.notice-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-link-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e3e8ef;
}

.notice-link-list li:last-child {
    border-bottom: none;
}

.notice-link-list a {
    color: #2f5fb3;
    text-decoration: none;
    font-size: 1.03rem;
    font-weight: 600;
}

.notice-link-list a:hover {
    text-decoration: underline;
}

.notice-details {
    margin-top: 20px;
    border: 1px solid #d7e1ee;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.notice-details summary {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 700;
    color: #2f5fb3;
    list-style: none;
    background: #f7faff;
}

.notice-details summary::-webkit-details-marker {
    display: none;
}

.notice-details__body {
    padding: 6px 16px 16px;
}

.notice-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-news-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px solid #e3e8ef;
}

.notice-news-list li:last-child {
    border-bottom: none;
}

.notice-date {
    flex: 0 0 82px;
    font-weight: 700;
    color: #6b7280;
}

.notice-news-list a {
    color: #2f5fb3;
    text-decoration: none;
    font-weight: 600;
}

.notice-news-list a:hover {
    text-decoration: underline;
}

/* =========================
   ご案内カード
========================= */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 10px;
}

.guide-card {
    display: block;
    padding: 20px;
    border: 2px solid #cfe0f5;
    border-radius: 16px;
    background: #f8fbff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.guide-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(79, 127, 214, 0.10);
    border-color: #9fbce3;
}

.guide-card h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    color: #274c77;
}

.guide-card p {
    margin: 0;
    color: #35506f;
    line-height: 1.8;
}

/* =========================
   個別お知らせ記事
========================= */
.notice-article {
    margin-top: 18px;
}

.notice-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.notice-badge {
    display: inline-block;
    padding: 7px 14px;
    background: #eef5ff;
    border: 1px solid #9fbce3;
    border-radius: 999px;
    color: #2d4f7c;
    font-size: 0.95rem;
    font-weight: 700;
}

.notice-published {
    color: #666;
    font-size: 0.95rem;
}

.notice-article h1 {
    font-size: 2.05rem;
    line-height: 1.45;
    margin: 0 0 18px;
    color: #2c3e50;
}

.notice-lead {
    font-size: 1.08rem;
    margin-bottom: 22px;
    color: #243b5a;
}

.notice-article p {
    margin: 0 0 16px;
    font-size: 1.03rem;
    line-height: 1.95;
}

.notice-article ul {
    margin: 14px 0 18px 22px;
}

.notice-article li {
    margin-bottom: 8px;
}

.notice-box {
    margin: 24px 0;
    padding: 20px;
    background: #f7fbff;
    border: 2px solid #c8daef;
    border-radius: 14px;
}

.notice-box h2,
.notice-box h3 {
    margin-top: 0;
}

.notice-box strong {
    color: #274c77;
}

.notice-cta {
    margin-top: 28px;
    padding: 24px;
    background: #f7fbff;
    border: 2px solid #9fbce3;
    border-radius: 16px;
    text-align: center;
}

.notice-cta p {
    margin-bottom: 14px;
    font-size: 1.03rem;
    font-weight: 700;
    color: #243b5a;
}

.notice-button {
    display: inline-block;
    padding: 14px 28px;
    background: #356ac3;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.notice-button:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.notice-backlinks {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid #dbe4ee;
}

.notice-backlinks ul {
    margin: 0;
    padding-left: 20px;
}

.notice-backlinks a {
    color: #2f5fb3;
    text-decoration: none;
    font-weight: 600;
}

.notice-backlinks a:hover {
    text-decoration: underline;
}

/* =========================
   鑑定者プロフィール導線
========================= */
.notice-profile-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 22px;
    background: #f8fbff;
    border: 2px solid #cfe0f5;
    border-radius: 16px;
}

.notice-profile-card__image {
    flex: 0 0 180px;
}

.notice-profile-card__image img {
    width: 100%;
    max-width: 180px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: block;
}

.notice-profile-card__body {
    flex: 1;
    min-width: 260px;
}

.notice-profile-card__body h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    color: #274c77;
}

.notice-profile-card__body p {
    margin: 0 0 14px;
    color: #35506f;
}

.notice-mini-list {
    margin: 0 0 18px 20px;
    padding: 0;
}

.notice-mini-list li {
    margin-bottom: 6px;
}

.notice-inline-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.notice-button--sub {
    background: #4f7fd6;
    padding: 12px 22px;
    font-size: 0.96rem;
}

/* =========================
   レスポンシブ
========================= */
@media (max-width: 900px) {
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .notice-container {
        padding: 20px 14px 50px;
    }

    .notice-hero__text h1,
    .notice-article h1 {
        font-size: 1.75rem;
    }

    .notice-section {
        padding: 20px;
    }

    .notice-section h2 {
        font-size: 1.28rem;
        padding-left: 14px;
        border-left-width: 6px;
    }

    .notice-news-list li {
        flex-direction: column;
        gap: 6px;
    }

    .notice-date {
        flex: none;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .notice-hero__image {
        flex: 0 0 100%;
    }

    .notice-hero__image img {
        max-width: 100%;
    }

    .notice-profile-card {
        flex-direction: column;
        padding: 18px;
    }

    .notice-profile-card__image {
        flex: none;
        width: 100%;
    }

    .notice-profile-card__image img {
        max-width: 220px;
        margin: 0 auto;
    }

    .notice-inline-buttons {
        flex-direction: column;
    }

    .notice-inline-buttons .notice-button {
        text-align: center;
    }
}