/* ディレクトリハブ共通（読者向け表示） */
.dir-hub,
.dir-hub *,
.dir-hub *::before,
.dir-hub *::after {
    box-sizing: border-box;
}
.dir-hub {
    color: #4a3d30;
}
.dir-hub__lead {
    max-width: 42em;
    margin: 0 0 1.5rem;
}
.dir-hub h2 {
    position: relative;
    margin: 2.8rem 0 0.7rem;
    padding: 0 0 12px;
    background: none;
    border: none;
    border-radius: 0;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    color: #3f3326;
}
.dir-hub h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #ecdfc9;
}
.dir-hub h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 36px;
    height: 3px;
    border-radius: 2px;
    background: #f08a33;
}
.dir-hub__sub {
    margin: 0 0 1rem;
    color: #8a7660;
    font-size: 0.9rem;
}

/* 条件から探す */
.dir-hub__picks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}
.dir-hub__pick {
    position: relative;
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid #ebdfcb;
    border-radius: 12px;
    padding: 14px 44px 14px 18px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.dir-hub__pick::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid #f08a33;
    border-right: 2px solid #f08a33;
    transform: translateY(-50%) rotate(45deg);
    transition: right 0.15s;
}
.dir-hub__pick:hover,
.dir-hub__pick:focus-visible {
    border-color: #f08a33;
    box-shadow: 0 2px 10px rgba(240, 138, 51, 0.18);
    text-decoration: none;
}
.dir-hub__pick:hover .dir-hub__pick-title {
    color: #c96f28;
}
.dir-hub__pick:hover::after {
    right: 14px;
}
.dir-hub__pick-title {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.55;
}
.dir-hub__pick-body {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    line-height: 1.65;
    color: #8a7660;
}

/* 比較表 */
.dir-hub__tablewrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #ebdfcb;
    border-radius: 12px;
    margin-top: 1rem;
}
.dir-hub__table {
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    min-width: 640px;
    font-size: 0.85rem;
    line-height: 1.6;
}
.dir-hub__table th:nth-child(1) { width: 26%; }
.dir-hub__table th:nth-child(2) { width: 35%; }
.dir-hub__table th:nth-child(3) { width: 13%; }
.dir-hub__table th:nth-child(4) { width: 13%; }
.dir-hub__table th:nth-child(5) { width: 13%; }

.dir-hub__table th,
.dir-hub__table td {
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #ebdfcb;
    word-break: normal;
    overflow-wrap: break-word;
}
.dir-hub__table thead th {
    border-top: none;
    background: #fdf9f1;
    color: #8a7660;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}
.dir-hub__table .is-name {
    font-weight: 600;
}
.dir-hub__table .is-name a {
    color: #c96f28;
    text-decoration: none;
}
.dir-hub__table .is-name a:hover {
    text-decoration: underline;
}
.dir-hub__table .is-fee {
    font-variant-numeric: tabular-nums;
}
.dir-hub__mini {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: #b3a28c;
    white-space: normal;
}
.dir-hub__dash {
    color: #b3a28c;
}
.dir-hub__tnote {
    margin: 0.6rem 0.2rem 0;
    font-size: 0.78rem;
    color: #b3a28c;
}
.dir-hub__morelink {
    margin: 0.6rem 0.2rem 0;
    font-size: 0.85rem;
}
.dir-hub__morelink a {
    color: #c96f28;
}

/* 詳細カード */
.dir-hub__card {
    background: #fff;
    border: 1px solid #ebdfcb;
    border-radius: 12px;
    padding: 20px 22px 16px;
    margin-top: 1.1rem;
}
.dir-hub__card h3 {
    margin: 0;
    font-size: 1.1rem;
}
.dir-hub__tagline {
    margin: 2px 0 12px;
    color: #8a7660;
    font-size: 0.85rem;
}
.dir-hub__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}
.dir-hub__chip {
    background: #f6eddd;
    color: #7a684f;
    border-radius: 999px;
    font-size: 0.74rem;
    padding: 3px 11px;
}
.dir-hub__chip--em {
    background: #fbead7;
    color: #c96f28;
    font-weight: 600;
}
.dir-hub__facts {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 18px;
    margin: 0;
}
.dir-hub__facts dt {
    color: #b3a28c;
    font-size: 0.8rem;
    padding-top: 2px;
    white-space: nowrap;
}
.dir-hub__facts dd {
    margin: 0;
    font-size: 0.9rem;
}
.dir-hub__sources {
    margin-top: 12px;
    font-size: 0.78rem;
    color: #8a7660;
}
.dir-hub__sources a {
    color: #8a7660;
    overflow-wrap: anywhere;
}
.dir-hub__cardfoot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed #ebdfcb;
}
.dir-hub__cardlinks {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.dir-hub__official {
    display: inline-block;
    background: #f08a33;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 20px;
    border-radius: 999px;
}
.dir-hub__official:hover {
    background: #c96f28;
    color: #fff;
    text-decoration: none;
}
.dir-hub__more {
    color: #c96f28;
    font-size: 0.82rem;
    text-decoration: none;
    white-space: nowrap;
}
.dir-hub__more:hover {
    text-decoration: underline;
}
.dir-hub__checked {
    font-size: 0.72rem;
    color: #b3a28c;
}

/* チェックリスト */
.dir-hub__notes {
    margin: 0.6rem 0 0;
    padding: 0;
    list-style: none;
}
.dir-hub__notes li {
    position: relative;
    padding: 4px 0 4px 26px;
    font-size: 0.9rem;
    line-height: 1.7;
}
.dir-hub__notes li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 12px;
    width: 10px;
    height: 6px;
    border-left: 2px solid #f08a33;
    border-bottom: 2px solid #f08a33;
    transform: rotate(-45deg);
}

/* 締め・脚注 */
.dir-hub__closing {
    margin-top: 2rem;
    background: #fbead7;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 0.9rem;
}
.dir-hub__closing p {
    margin: 0;
    max-width: 42em;
}
.dir-hub__foot {
    margin: 1.2rem 0 2rem;
    font-size: 0.78rem;
    color: #b3a28c;
    line-height: 1.8;
}

@media (max-width: 600px) {
    .dir-hub__picks {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 560px) {
    .dir-hub__facts {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .dir-hub__facts dt {
        padding-top: 8px;
    }
    .dir-hub__cardfoot {
        flex-direction: column;
        align-items: flex-start;
    }
}
