/* * search-portal.html 専用のスタイルシート
 * 共通スタイル (style.css) を補完します。
 */

/* セクション共通 */
.portal-section {
    margin: 60px 60px;
}

.portal-section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color-dark);
    text-align: center;
    margin-top: 0;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

/* ボタンコンテナ */
.button-container {
    display: grid;
    grid-template-columns: 1fr; /* モバイルでは1列 */
    gap: 20px;
}

/* 検索ボタン */
.portal-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text-color-dark);
    transition: all 0.3s ease;
    text-align: center;
    min-height: 160px; /* 高さを確保 */
}

.portal-button:hover {
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.button-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.button-text {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.button-subtext {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
}

.fa-circle-exclamation {
    margin-right: 0.1%;
}

.alert{
    color: #CE0000;
}


/* --- レスポンシブ対応 (タブレット・PC) --- */
@media screen and (min-width: 768px) {
    /* ボタンを2列にする */
    .button-container {
        grid-template-columns: 1fr 1fr;
    }

    .portal-section-title {
        font-size: 24px;
    }

    .button-text {
        font-size: 22px;
    }

}

