/*
 * スキットツール 共通スタイルシート
 * 全ページで使用する共通のスタイル定義
 */

/* CSS変数定義 */
:root {
    /* SchIT公式カラー */
    --schit-orange: #f8b73c;
    --schit-green: #13ae67;
    --schit-blue: #2990d0;

    /* メインカラー */
    --primary-blue: #2990d0;
    --accent-orange: #f8b73c;
    --success-green: #13ae67;
    --warning-orange: #f8b73c;
    --error-red: #e74c3c;

    /* テキスト */
    --text-dark: #2c3e50;
    --text-medium: #7f8c8d;
    --text-light: #95a5a6;

    /* 背景 */
    --bg-light: #f8f9fa;

    /* その他 */
    --white: #FFFFFF;
    --border-light: #e0e0e0;
}

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ヘッダー */
.header {
    background: var(--primary-blue);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo i {
    margin-right: 0.5rem;
    color: var(--accent-orange);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-image {
    height: 32px;
    width: auto;
    margin-right: 0.5rem;
    vertical-align: middle;
    background: white;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.header-nav a:hover {
    background-color: rgba(255,255,255,0.1);
}

.header-nav a.active {
    background-color: rgba(255,255,255,0.2);
}

/* メインコンテンツ */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ブレッドクラム */
.breadcrumb {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.breadcrumb a {
    color: var(--accent-blue);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ページタイトル */
.page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-title p {
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* フッター */
.footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: #1f7ab8;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-green);
    color: white;
}

.btn-success:hover {
    background: #4CAF50;
    transform: translateY(-2px);
}

/* カード */
.card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

/* 情報ボックス */
.info-box {
    background: rgba(41, 144, 208, 0.1);
    border-left: 4px solid var(--primary-blue);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.info-box h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.info-box h4 i {
    margin-right: 0.5rem;
    color: var(--primary-blue);
}

.warning-box {
    background: rgba(248, 183, 60, 0.1);
    border-left: 4px solid var(--warning-orange);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.warning-box h4 {
    color: var(--warning-orange);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.warning-box h4 i {
    margin-right: 0.5rem;
    color: var(--warning-orange);
}

.error-box {
    background: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--error-red);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.error-box h4 {
    color: var(--error-red);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.error-box h4 i {
    margin-right: 0.5rem;
    color: var(--error-red);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .main-container {
        padding: 1rem;
    }
}
