@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

/* Base Styles */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

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

/* Header */
.site-header {
    background-color: #2c3e50;
    color: #fff;
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.site-header h1 {
    margin: 0;
    font-size: 1.8rem;
}

.site-header .subtitle {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* Main Content */
section {
    background: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    margin-top: 0;
}

h3 {
    color: #2980b9;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.3rem;
}

/* Specific Components */
.check-list li {
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.flow-step {
    border-left: 4px solid #e0e0e0;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.flow-step h3 {
    margin-top: 0;
}

.role-summary {
    background-color: #eef6fc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border: 1px solid #dbeafe;
}

.role-summary h4 {
    margin-top: 0;
    color: #0b4f8a;
    font-size: 1.1rem;
    border-bottom: 1px solid #bfdbfe;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.distribution-list {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.distribution-list h4 {
    margin-top: 0;
    color: #555;
}

.distribution-list dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
}

.distribution-list dt {
    font-weight: bold;
    color: #444;
}

.distribution-list dd {
    margin: 0;
}

.distribution-list .note {
    font-size: 0.85rem;
    color: #7f8c8d;
    display: block;
}

.design-rules dt {
    font-weight: bold;
    margin-top: 0.8rem;
    color: #2c3e50;
}

.design-rules dd {
    margin-left: 1rem;
    margin-bottom: 0.5rem;
}

/* Table */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    padding: 0.8rem;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
    white-space: nowrap;
}

.alert-box {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 1.5rem;
    border-radius: 6px;
    margin-top: 1.5rem;
}

.alert-box h3 {
    color: #856404;
    margin-top: 0;
}

/* Footer */
.site-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
    padding: 2rem 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.site-footer .footer-links {
    margin-bottom: 1.5rem;
}

.site-footer .footer-links a {
    color: #555;
    text-decoration: underline;
    margin: 0 1rem;
}

.site-footer .footer-links a:hover {
    color: #000;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 600px) {
    .distribution-list dl {
        grid-template-columns: 1fr;
    }
    .distribution-list dt {
        margin-top: 0.5rem;
    }
}