/* ========================================
   yz-methodology.css — 評価方法論ページ（ライトテーマ）
   ======================================== */

.yz-dim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}
.yz-dim-item {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.25rem 1.25rem 1rem;
    transition: border-color .2s;
}
.yz-dim-item:hover {
    border-color: rgba(217,119,6,.3);
}
.yz-dim-item__head {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .6rem;
}
.yz-dim-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex-shrink: 0;
}
.yz-dim-item__name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.05rem;
}
.yz-dim-item__weight {
    margin-left: auto;
    font-size: .85rem;
    font-weight: 600;
    color: #7c3aed;
    background: rgba(124,58,237,.08);
    padding: 2px 10px;
    border-radius: 20px;
}
.yz-dim-item__desc {
    font-size: .9rem;
    color: #555;
    line-height: 1.6;
}
.yz-formula-box {
    background: rgba(124,58,237,.05);
    border: 1px solid rgba(124,58,237,.15);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    font-family: 'Courier New', Consolas, monospace;
    font-size: .95rem;
    color: #333;
    line-height: 1.8;
    overflow-x: auto;
    white-space: nowrap;
}
.yz-formula-box strong {
    color: #7c3aed;
}
.yz-info-table th {
    width: 30%;
}
@media (max-width: 640px) {
    .yz-dim-grid { grid-template-columns: 1fr; }
    .yz-formula-box { font-size: .82rem; padding: 1rem; }
    .yz-info-table th { width: auto; }
}
@media (max-width: 480px) {
    .yz-formula-box { font-size: .75rem; padding: .75rem; white-space: normal; }
    .yz-method-card { padding: 1rem .85rem .85rem; }
    .yz-method-card__title { font-size: 1.1rem; }
    .yz-info-table th, .yz-info-table td { padding: .5rem .6rem; font-size: .82rem; }
    .yz-info-list li { font-size: .82rem; }
}

/* ── common.css 互換（ライトテーマ版）── */
.yz-method-card {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 2rem 1.5rem 1.5rem;
    margin-bottom: 2rem;
}
.yz-method-card__title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.yz-method-card__title i {
    color: #7c3aed;
    font-size: 1.1rem;
}
.yz-info-table {
    width: 100%;
    border-collapse: collapse;
}
.yz-info-table th,
.yz-info-table td {
    text-align: left;
    padding: .7rem 1rem;
    border-bottom: 1px solid #eee;
    font-size: .9rem;
    color: #333;
}
.yz-info-table th {
    color: #888;
    font-weight: 500;
    white-space: nowrap;
}
.yz-info-table thead th {
    color: #888;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.yz-info-table tr:last-child th,
.yz-info-table tr:last-child td {
    border-bottom: none;
}
.yz-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.yz-info-list li {
    padding: .55rem 0;
    border-bottom: 1px solid #eee;
    font-size: .92rem;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}
.yz-info-list li:last-child {
    border-bottom: none;
}
.yz-info-list li i {
    color: #7c3aed;
    font-size: .75rem;
    flex-shrink: 0;
    margin-top: .3rem;
}
.yz-badge-inline {
    display: inline-block;
    background: rgba(0,0,0,.04);
    border-radius: 6px;
    padding: .15rem .6rem;
    font-size: .82rem;
    font-weight: 500;
    color: #555;
}
.yz-footer-info {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    font-size: .82rem;
    color: #888;
    text-align: center;
}
.yz-footer-info__brand {
    margin-top: .75rem;
    font-weight: 600;
    color: #555;
}
@media (max-width: 768px) {
    .yz-method-card { padding: 1.25rem 1rem 1rem; }
    .yz-info-table th, .yz-info-table td { padding: .5rem .6rem; font-size: .82rem; }
}
