@charset "UTF-8";

/* ========== 『住まいの羅針盤』電子アーカイブ（PC） ========== */

/* 「内容は？」ボックス（共通 .sub-container を踏襲） */
.rashinban-about {
    text-align: left;
}
.rashinban-about .box-title {
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 22px;
}
.rashinban-about__from {
    text-align: right;
    font-size: 14px;
    margin-top: 18px;
}

/* カード一覧（3列グリッド） */
.rashinban-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.rashinban-card {
    display: flex;
    flex-direction: column;
}

.rashinban-card__stretch-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.rashinban-card .rashinban-card__stretch-link:hover {
    opacity: 1;
    color: inherit;
}

.rashinban-card__stretch-link:hover .main-btn,
.rashinban-card__stretch-link:focus-visible .main-btn {
    opacity: 0.8;
}

/* 見出し：白カードに青文字センター（帯ではない） */
.rashinban-card__head {
    text-align: center;
    color: var(--primary-color);
    font-size: 26px;
    font-weight: 600;
    padding: 32px 16px 0;
    letter-spacing: 0.02em;
}

.rashinban-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
    padding: 22px 26px 30px;
}

.rashinban-card__label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 8px;
}

.rashinban-card__desc {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.85;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}

.rashinban-card__more {
    color: var(--text-color);
    text-align: right;
    font-weight: 600;
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 24px;
}

.rashinban-card__btn {
    margin-top: auto;
    text-align: center;
}

/* カード内の「読む」ボタンは幅広（モック準拠） */
.rashinban-card .main-btn {
    width: 78%;
    padding: 12px 0;
    font-size: 18px;
}

.rashinban-empty {
    margin-top: 60px;
    color: var(--primary-dark);
}
