@charset "UTF-8";

/* ========== 『住まいの羅針盤』電子アーカイブ（SP） ========== */
/* 「内容は？」ボックス */
.rashinban-about {
    text-align: left;
}
.rashinban-about .box-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 16px;
}
.rashinban-about__from {
    text-align: right;
    font-size: 13px;
    margin-top: 16px;
}

/* カード一覧（1列） */
.rashinban-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 35px;
}

.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: 23px;
    font-weight: 600;
    padding: 26px 16px 0;
}

.rashinban-card__body {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 18px 20px 26px;
}

.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: 14px;
    line-height: 1.85;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

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

.rashinban-card__btn {
    text-align: center;
}

.rashinban-card .main-btn {
    width: 80%;
    padding: 12px 0;
    font-size: 18px;
}

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