/* ==========================================================
   TOPページ
   注目記事・事務所ニュース・コラム・フッター徽章
========================================================== */

/* ==========================================================
   注目記事
   洋館の書斎に置かれた黒板をイメージ
========================================================== */
.home-featured-section {
    position: relative;
    padding: 56px 24px 52px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(128, 96, 62, 0.10), transparent 28%),
        radial-gradient(circle at 88% 76%, rgba(94, 117, 72, 0.08), transparent 30%),
        repeating-linear-gradient(45deg, rgba(80, 60, 42, 0.018) 0, rgba(80, 60, 42, 0.018) 1px, transparent 1px, transparent 8px),
        #f5efe4;
}

.home-featured-section::before,
.home-featured-section::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(109, 81, 53, 0.10);
    border-radius: 50%;
    pointer-events: none;
}

.home-featured-section::before { top: -150px; left: -105px; }
.home-featured-section::after { right: -115px; bottom: -165px; }

.home-featured-inner {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.home-featured-heading {
    position: relative;
    margin: 0 0 26px;
    text-align: center;
}

.home-featured-heading::before,
.home-featured-heading::after {
    content: "◆";
    display: inline-block;
    margin: 0 14px;
    color: #a27b42;
    font-size: 0.58rem;
    vertical-align: middle;
    text-shadow: 0 1px 0 rgba(255,255,255,0.75);
}

.home-featured-en {
    margin: 0 0 8px;
    color: #6d573d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.26em;
}

.home-featured-kicker {
    margin: 0;
    color: #51483f;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: clamp(1.18rem, 2vw, 1.48rem);
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.home-featured-card {
    position: relative;
    display: block;
    padding: 16px;
    color: inherit;
    text-decoration: none;
    background:
        radial-gradient(circle at 11px 11px, #d7b878 0 2px, #81602d 3px 5px, transparent 6px),
        radial-gradient(circle at calc(100% - 11px) 11px, #d7b878 0 2px, #81602d 3px 5px, transparent 6px),
        radial-gradient(circle at 11px calc(100% - 11px), #d7b878 0 2px, #81602d 3px 5px, transparent 6px),
        radial-gradient(circle at calc(100% - 11px) calc(100% - 11px), #d7b878 0 2px, #81602d 3px 5px, transparent 6px),
        radial-gradient(ellipse at calc(100% - 92px) 19px, #e1c27b 0 3px, #8d672e 4px 7px, transparent 8px),
        linear-gradient(90deg, rgba(255,255,255,0.16), transparent 15%, transparent 82%, rgba(255,255,255,0.10)),
        repeating-linear-gradient(
            92deg,
            #513722 0,
            #65462d 8px,
            #452f20 16px,
            #745238 25px,
            #5a3e28 34px,
            #6c4b31 43px
        );
    border: 1px solid #382518;
    border-radius: 4px;
    box-shadow:
        0 22px 48px rgba(49, 34, 22, 0.28),
        inset 0 0 0 1px rgba(255,255,255,0.17),
        inset 0 0 18px rgba(0,0,0,0.18);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.home-featured-card::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(236, 209, 164, 0.48);
    pointer-events: none;
}

.home-featured-card::after {
    content: "";
    position: absolute;
    inset: 15px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(33, 28, 22, 0.65), inset 0 0 18px rgba(0, 0, 0, 0.28);
}

.home-featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 27px 56px rgba(57, 41, 27, 0.30), inset 0 0 0 1px rgba(255,255,255,0.20);
}

.home-featured-content {
    position: relative;
    min-height: 320px;
    padding: 56px 70px 52px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 6%, rgba(255, 226, 164, 0.16) 0, rgba(245, 220, 164, 0.055) 22%, transparent 48%),
        radial-gradient(ellipse at 18% 78%, rgba(255,255,255,0.035) 0, transparent 28%),
        linear-gradient(8deg, transparent 0 46%, rgba(255,255,255,0.018) 47% 49%, transparent 50%),
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.010) 0,
            rgba(255,255,255,0.010) 1px,
            transparent 1px,
            transparent 5px
        ),
        linear-gradient(135deg, #172f28 0%, #24443a 48%, #17332b 100%);
    border: 1px solid rgba(8, 17, 14, 0.92);
    box-shadow:
        inset 0 0 44px rgba(0,0,0,0.48),
        inset 0 0 0 4px rgba(255,255,255,0.022),
        inset 0 14px 34px rgba(255,255,255,0.018);
}

.home-featured-content::before,
.home-featured-content::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 44px;
    opacity: 0.12;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.65) 0, rgba(255,255,255,0) 68%);
    filter: blur(3px);
    transform: rotate(-4deg);
}

.home-featured-content::before { top: 20px; right: 52px; }
.home-featured-content::after { left: 46px; bottom: 20px; transform: rotate(3deg); }

.home-featured-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    color: rgba(247, 242, 226, 0.82);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
}

.home-featured-category {
    position: relative;
    padding: 5px 13px 6px;
    color: #fff9e8;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 248, 222, 0.50);
    border-radius: 999px;
    background: rgba(255,255,255,0.038);
    box-shadow: inset 0 0 8px rgba(255,255,255,0.035);
}

.home-featured-category::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: -5px;
    left: 10px;
    height: 1px;
    background: rgba(255, 248, 222, 0.24);
    filter: blur(0.4px);
}

.home-featured-card h2 {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0;
    color: #fffaf0;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: clamp(1.82rem, 3.3vw, 2.8rem);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0.055em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.08), 0 0 2px rgba(255,255,255,0.24);
}

.home-featured-card h2::after {
    content: "";
    display: block;
    width: min(210px, 48%);
    height: 2px;
    margin-top: 16px;
    background:
        linear-gradient(90deg, rgba(255,250,232,0.10), rgba(255,250,232,0.48), rgba(255,250,232,0.08));
    filter: blur(0.2px);
    transform: rotate(-0.5deg);
}

.home-featured-description {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 22px 0 26px;
    color: rgba(255, 250, 238, 0.86);
    font-size: 1rem;
    line-height: 2;
    letter-spacing: 0.02em;
}

.home-featured-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f4e6b8;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.home-featured-link::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    box-shadow: 0 0 2px rgba(255,255,255,0.35);
}

.home-featured-link::after {
    content: "›";
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.home-featured-card:hover .home-featured-link::after { transform: translateX(4px); }

.home-featured-decoration {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    overflow: hidden;
    color: transparent;
    font-size: 0;
    pointer-events: none;
}

/* 木枠に留めた小さな推薦札 */
.home-featured-decoration::before {
    content: "今月のおすすめ";
    position: absolute;
    top: 23px;
    right: 28px;
    width: 132px;
    padding: 12px 12px 11px;
    color: #58432e;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-size: 0.79rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.08em;
    text-align: center;
    background:
        linear-gradient(105deg, transparent 0 8%, rgba(139, 101, 57, 0.045) 9% 10%, transparent 11%),
        repeating-linear-gradient(0deg, rgba(93, 67, 41, 0.025) 0 1px, transparent 1px 4px),
        #efe1c5;
    border: 1px solid rgba(105, 76, 43, 0.42);
    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.24),
        inset 0 0 12px rgba(122, 86, 45, 0.08);
    transform: rotate(2.2deg);
}

/* 真鍮のクリップ */
.home-featured-decoration::after {
    content: "❦";
    position: absolute;
    right: 31px;
    bottom: 15px;
    color: rgba(224, 198, 132, 0.17);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 6.4rem;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

/* ==========================================================
   事務所ニュース・コラム
========================================================== */
.home-updates-section { padding: 72px 0 78px; background: #faf8f3; }
.home-updates-heading { width: min(1080px, calc(100% - 48px)); margin: 0 auto 38px; text-align: center; }
.home-updates-en { margin: 0 0 10px; color: #78945f; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; }
.home-updates-heading h2 { margin: 0; color: #43382d; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 32px; font-weight: 500; line-height: 1.55; letter-spacing: 0.04em; }
.home-updates-heading > p:last-child { margin: 15px 0 0; color: #746a60; font-size: 15px; line-height: 1.9; }
.home-updates-grid { width: min(1080px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 26px; align-items: stretch; }
.home-news-panel, .home-column-panel { min-width: 0; padding: 32px; border: 1px solid #e5ddd0; border-radius: 18px; background: #ffffff; box-shadow: 0 8px 24px rgba(63, 52, 41, 0.05); }
.home-panel-heading { margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid #e9e1d6; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.home-panel-heading p { margin: 0 0 5px; color: #78945f; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; }
.home-panel-heading h3 { margin: 0; color: #43382d; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 25px; font-weight: 500; line-height: 1.5; }
.home-panel-heading > a { flex-shrink: 0; color: #5e7c46; font-size: 13px; font-weight: 600; white-space: nowrap; }
.home-panel-heading > a:hover { text-decoration: underline; }
.home-news-list, .home-column-list { display: grid; }

.home-news-item { padding: 17px 0; border-bottom: 1px solid #eee7dc; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 10px 12px; }
.home-news-item:first-child { padding-top: 3px; }
.home-news-item:last-child { padding-bottom: 2px; border-bottom: none; }
.home-news-item time { color: #718b5a; font-family: Georgia, "Times New Roman", serif; font-size: 13px; letter-spacing: 0.04em; }
.home-news-category { padding: 4px 10px; border-radius: 999px; background: #edf4e7; color: #587540; font-size: 11px; line-height: 1.4; white-space: nowrap; }
.home-news-item strong { min-width: 0; color: #51463b; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 16px; font-weight: 500; line-height: 1.7; }
.home-news-item:hover strong { color: #587540; }

.home-column-item { position: relative; padding: 18px 0; border-bottom: 1px solid #eee7dc; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; }
.home-column-item:first-child { padding-top: 3px; }
.home-column-item:last-child { padding-bottom: 2px; border-bottom: none; }
.home-column-number { padding-top: 4px; color: #c1b3a3; font-family: Georgia, "Times New Roman", serif; font-size: 18px; letter-spacing: 0.06em; }
.home-column-category { display: inline-block; margin-bottom: 6px; color: #6f8d56; font-size: 12px; }
.home-column-item h4 { margin: 0 0 5px; color: #43382d; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 18px; font-weight: 500; line-height: 1.65; }
.home-column-item p { margin: 0; color: #746a60; font-size: 13px; line-height: 1.75; }
.home-column-item:hover h4 { color: #587540; }

.footer-office-title { margin-bottom: 22px; display: flex; align-items: center; gap: 15px; }
.footer-office-title .footer-office-name { margin: 0; }
.footer-office-emblem { width: 54px; height: 54px; flex: 0 0 54px; padding: 4px; border-radius: 50%; background: #ffffff; object-fit: contain; }

@media (max-width: 900px) {
    .home-updates-grid { grid-template-columns: 1fr; }
    .home-featured-content { padding-right: 48px; padding-left: 48px; }
}

@media (max-width: 700px) {
    .home-featured-section { padding: 38px 15px 34px; }
    .home-featured-heading { margin-bottom: 18px; }
    .home-featured-en { font-size: 0.78rem; letter-spacing: 0.20em; }
    .home-featured-kicker { font-size: 1.08rem; letter-spacing: 0.05em; }
    .home-featured-card { padding: 9px; }
    .home-featured-card::before { inset: 5px; }
    .home-featured-card::after { inset: 9px; }
    .home-featured-content { min-height: 0; padding: 38px 24px 34px; }
    .home-featured-meta { gap: 9px; margin-bottom: 16px; font-size: 0.82rem; }
    .home-featured-category { font-size: 0.84rem; }
    .home-featured-card h2 { font-size: 1.58rem; line-height: 1.65; }
    .home-featured-description { margin: 17px 0 22px; font-size: 0.94rem; line-height: 1.9; }
    .home-featured-link::before { width: 20px; }

    .home-featured-decoration {
        display: block;
    }

    .home-featured-decoration::before {
        top: 12px;
        right: 13px;
        width: 105px;
        padding: 8px 8px 7px;
        font-size: 0.67rem;
        letter-spacing: 0.05em;
        transform: rotate(2deg);
    }

    .home-featured-decoration::after {
        right: 13px;
        bottom: 7px;
        font-size: 4.4rem;
    }

    .home-featured-card h2 {
        padding-top: 34px;
    }

    .home-featured-card h2::after {
        width: 44%;
        margin-top: 12px;
    }

    .home-updates-section { padding: 56px 0 62px; }
    .home-updates-heading, .home-updates-grid { width: min(100% - 34px, 1080px); }
    .home-updates-heading { margin-bottom: 28px; }
    .home-updates-heading h2 { font-size: 26px; }
    .home-updates-heading > p:last-child { font-size: 14px; }
    .home-news-panel, .home-column-panel { padding: 25px 21px; border-radius: 14px; }
    .home-panel-heading { align-items: flex-start; }
    .home-panel-heading h3 { font-size: 22px; }
    .home-news-item { grid-template-columns: auto minmax(0, 1fr); }
    .home-news-item strong { grid-column: 1 / -1; font-size: 16px; }
    .home-column-item { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
    .home-column-item h4 { font-size: 17px; }
    .footer-office-title { align-items: flex-start; }
    .footer-office-emblem { width: 46px; height: 46px; flex-basis: 46px; }
}
