:root {
    --primary-color: #1a5276;
    --secondary-color: #2874a6;
    --accent-color: #f1c40f;
    --bg-light: #f9f9f9;
    --bg-blue-light: #e8f4f8;
    --bg-green-light: #e8f8e8;
    --text-dark: #333;
    --text-medium: #555;
    --shadow: 0 4px 8px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0 auto;
    padding: 0 20px;
    background-color: var(--bg-light);
}

p {
    font-size: 16px;
    line-height: 1.8;
}

/* 強調表示の改善 */
strong {
    color: #1a5276;
}

mark {
    background-color: rgba(241, 196, 15, 0.3);
    padding: 2px 5px;
    border-radius: 3px;
}

.bg-triangle-gradation {
  display: none !important;
}
    
h1.ttl-basic {
  display: none;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.header-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.header-banner h1 {
    margin: 0;
    font-size: 2em;
}

.header-banner p {
    margin-top: 10px;
    font-size: 1.2em;
}

.updated-date {
    text-align: right;
    font-style: italic;
    margin-top: 10px;
}

.highlight {
    background-color: var(--accent-color);
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

h1, h2, h3 {
    color: var(--primary-color);
}

h2 {
    border-left: 5px solid var(--secondary-color);
    padding-left: 10px;
    margin-top: 40px;
}

.intro-section {
    background-color: var(--bg-blue-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.toc {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: var(--shadow);
}

.toc h3 {
    margin-top: 0;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.toc ul {
    list-style-type: none;
    padding-left: 0;
}

.toc li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.toc li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.notice-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: var(--shadow);
}

.notice-points {
    margin-top: 20px;
}

.notice-point {
    background-color: var(--bg-blue-light);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    border-left: 4px solid var(--secondary-color);
}

.risk-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: var(--shadow);
}

.risk-mechanisms {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.risk-item {
    flex: 1 1 300px;
    background-color: #fff0f0;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #d35400;
}

.requirements-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 30px;
}

.requirement-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 20px;
    flex: 1 1 400px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.requirement-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.icon2 {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 24px;
}

.card-title {
    font-weight: bold;
    font-size: 1.2em;
    color: var(--secondary-color);
}

.card-content {
    color: var(--text-medium);
}

.responsive-img{
  max-width: 100%;
  height: auto;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--secondary-color);
}

.feature-title {
    font-weight: bold;
    font-size: 1.2em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-left: 10px;
}

.feature-content {
    color: var(--text-medium);
}

.system-diagram {
    background-color: #f5f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: var(--shadow);
}

.system-diagram h3 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
}

.solution-image {
    height: 60% !important;
    max-height: 800px;
    width: auto;
    max-width: 800px;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.alert-levels {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.alert-levels th, .alert-levels td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.alert-levels th {
    background-color: var(--secondary-color);
    color: white;
}

.alert-levels tr:nth-child(even) {
    background-color: #f2f2f2;
}

.alert-notice {
    background-color: #ffffcc;
}

.alert-warning {
    background-color: #ffcc99;
}

.alert-emergency {
    background-color: #ffcccc;
}

.conclusion {
    background-color: var(--bg-green-light);
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
    box-shadow: var(--shadow);
}

footer {
    margin-top: 50px;
    text-align: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
}

/* アクセシビリティ向上 */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-button:focus {
    outline: 3px solid rgba(26, 82, 118, 0.5);
}

.cta-button:hover {
    background-color: #d4ac0d;
    transform: scale(1.05);
}

/* メリットボックス */
.merit-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin: 30px 0;
}

.merit-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 25px;
    flex: 1 1 250px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.merit-box:hover {
    transform: translateY(-5px);
}

.merit-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.merit-title {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.merit-desc {
    color: var(--text-medium);
}

.note {
    font-size: 0.9em;
    color: #777;
    font-style: italic;
    text-align: right;
}

@media (max-width: 768px) {
    .merit-boxes {
        flex-direction: column;
    }
    
    .merit-box {
        flex: 1 1 100%;
    }
}


@media (max-width: 768px) {
    .requirements-container,
    .features-container {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
    
    .requirement-card,
    .feature-box {
        flex: 1 1 100%;
    }

    /* 追加部分 */
    .card-header {
        flex-wrap: wrap;
    }
    
    .icon2 {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .solution-image {
        width: 100%;
        height: auto !important;
    }
    
    .toc li {
        margin-bottom: 15px;
    }
    
    h2 {
        font-size: 1.4em;
    }
}

/* プリント用スタイル */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .cta-button {
        display: none;
    }
    
    .toc {
        break-inside: avoid;
    }
    
    .requirement-card, .feature-box, .merit-box {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .solution-image {
        max-width: 100%;
        height: auto !important;
    }
}


