
:root {
    --primary-color: #4a90e2;
    --secondary-color: #f5a623;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --header-bg: #fff;
    --footer-bg: #333;
    --footer-text: #fff;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 基本的なスタイルリセット */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;

}

body {
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.site-header {
    background-color: var(--header-bg);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 40px;
    margin-right: 10px;
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li:not(:last-child) {
    margin-right: 20px;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* ホームページのヘッダー */
.home-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: white;
}

.sub-copy {
    font-size: 1.2rem;
    opacity: 0.9;
    color: white;
}

/* メインコンテンツ */
.main-container {
    padding: 40px 20px;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* ツールカード */
.tool-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.card-icon-area {
    background-color: #f0f4f8;
    text-align: center;
    padding: 20px;
}

.card-icon {
    max-height: 80px;
    width: auto;
}

.card-text-area {
    padding: 20px;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-description {
    font-size: 1rem;
    color: #666;
}

/* フッター */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0;
    margin-top: 40px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-columns h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
}

.footer-columns p, .footer-columns a {
    color: #ccc;
}
