@charset "UTF-8";

/* =========================================
   evaluator.css - 評価機関・評価者向け
   ========================================= */
/* --- セクション共通 --- */
.section-block {
    margin-bottom: 60px;
}

/* 中央寄せの見出し（ツールセクション用） */
.tools-section {
    margin: 60px 0;
}
.btn-locate {
 display: flex;
 justify-content: flex-end;
}


.section-lead {
    text-align: center;
    margin-bottom: 40px;
}

/* --- ニュースリスト --- */
.news-list-container {
    margin-bottom: 40px;
}
.news-list-styled {
    display: flex;
    flex-direction: column;
}
.news-card {
    border-bottom: 1px solid var(--light-gray);
}
.news-card-link {
    display: flex;
    flex-direction: column;
    padding: 12px;
    text-decoration: none;
    color: var(--text-color-dark);
    transition: background-color 0.2s;
    border-radius: 6px;
}
.news-card-link:hover {
    background-color: #f8faff;
}
.news-card-date {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.news-card-date::before {
    content: '\f073';
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    opacity: 0.7;
}
.news-card-title {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

@media screen and (min-width: 768px) {
    
    .news-card-link {
        flex-direction: row;
        align-items: baseline;
        gap: 24px;
    }
    .news-card-date {
        margin-bottom: 0;
        flex-shrink: 0;
        white-space: nowrap;
        width: 140px;
    }
}

/* --- リソース・グリッド（カードデザイン） --- */
.resource-grid {
    display: grid;
    grid-template-columns: 1fr; /* スマホは1列 */
    gap: 20px;
    width: 100%;
}

@media screen and (min-width: 600px) {
    .resource-grid {
        grid-template-columns: repeat(2, 1fr); /* タブレットは2列 */
    }
}

@media screen and (min-width: 1024px) {
    .resource-grid {
        grid-template-columns: repeat(2, 1fr); /* PCも2列の方が見やすいかもですが、3列にするならここを3へ */
        /* コンテンツ量が多いので2列の方が安定しますが、3列希望であれば以下を有効に */
        grid-template-columns: repeat(3, 1fr); 
    }
}

/* カード本体のスタイル */
.resource-card {
    display: flex;
    align-items: center; /* アイコンとテキストを垂直中央揃え */
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    box-sizing: border-box;
    
    /* 高さ固定を廃止し、パディングで広げる */
    min-height: 90px; 
    padding: 20px;
    height: 100%; /* グリッド内で高さを揃える */
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

/* アイコンエリア */
.icon-area {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background-color: #eef5ff; /* 薄い青背景 */
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0; /* 縮小させない */
    margin-right: 16px;
    transition: background-color 0.3s, color 0.3s;
}

.resource-card:hover .icon-area {
    background-color: var(--primary-color);
    color: var(--white);
}

/* テキストエリア */
.text-area {
    flex-grow: 1; /* 余ったスペースを埋める */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Flexアイテム内でのテキスト折り返し用 */
}

.resource-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-color-dark);
    margin: 0;
}

.resource-desc {
    font-size: 13px;
    color: #888;
    margin: 4px 0 0 0;
    line-height: 1.4;
}

/* 右端の矢印アイコン */
.arrow-icon {
    font-size: 14px;
    color: #ccc;
    margin-left: 12px;
    transition: transform 0.3s, color 0.3s;
}

.resource-card:hover .arrow-icon {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* 外部リンク用微調整 */
.external-card .small-icon {
    font-size: 0.8em;
    margin-left: 4px;
    color: inherit;
    opacity: 0.7;
}

/* --- ボタン調整 --- */
.btn-outline {
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-color);
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s;
}
.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: #f0f7ff;
}

.chas{
    text-align: right;
}