@charset "UTF-8";

:root {
    --primary: #0077cc;
    /* Inspection Green */
    --secondary: #a5c2c7;
    /* Light Green */
}

body.domain-c {
    color: #333;
    font-family: 'Noto Sans JP', sans-serif;
}

header {
    border-bottom: 4px solid var(--primary);
}

h1,
h2,
h3 {
    color: var(--primary);
}

/* Page Header - Matching 2.html style but Green */
.page-header {
    background: var(--primary);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    color: white;
    margin: 0;
    font-size: 2.2rem;
    font-weight: bold;
}

/* Sub-sections */
h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ddd;
    background: none;
    /* Reset 3.css previous style */
    border-left: none;
    border-right: none;
    border-top: none;
    color: var(--primary);
}


section p {
    
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

section a {
    color: #0044cc;
    text-decoration: underline;
}

/* Update Date */
.update-date {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

/* News Section & TOC - Using Bordered Box Style from 2.css */
.news-section,
.toc {
    border: 1px solid #ccc;
    padding: 30px;
    background: #fff;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

.news-section h3,
.toc h3 {
    font-size: 1.2rem;
    color: #333;
    /* Dark text for box headers as per 2.css */
    margin-bottom: 20px;
    margin-top: 0;
    border-bottom: none;
    background: none;
    padding: 0;
}

.news-section .news-content p {
    margin-bottom: 0.5em;
    margin-top: 0;
}

/* TOC List */
.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc ul li {
    margin-bottom: 10px;
    font-size: 1rem;
}

.toc ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.toc ul li a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Tables - Matching docs-table style */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 50px;
}

.exam-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.fee-table {
    width: 70%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.exam-table th,
.exam-table td,
.fee-table th,
.fee-table td {
    border: 1px solid #ccc;
    padding: 1em;
    vertical-align: middle;
}

.exam-table th,
.fee-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    text-align: center;
    /* Center for exam tables usually better */
    color: #444;
}

.fee-table th {
    background-color: #f5f5f5;
}

.exam-table td.center,
.fee-table td.center {
    text-align: center;
}

/* File Links - Vertical List (Specific to 3.html needs but styled like 2.html links) */
.file-links-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.file-link-row {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #0044cc;
    font-size: 1rem;
    padding: 10px;
    border-radius: 4px;
    transition: background 0.3s;
    background-color: #fff;
    /* or transparent */
}

.file-link-row:hover {
    background-color: var(--secondary);
}

.icon-file {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Using CSS icons to match 2.css style somewhat or simple characters */
.icon-pdf::before {
    content: "PDF";
    background: #d32f2f;
    color: white;
    padding: 5px;
    font-size: 0.7rem;
    border-radius: 3px;
}

.icon-excel::before {
    content: "XLS";
    background: #1D6F42;
    color: white;
    padding: 5px;
    font-size: 0.7rem;
    border-radius: 3px;
}

.icon-word::before {
    content: "DOC";
    background: #2b579a;
    color: white;
    padding: 5px;
    font-size: 0.7rem;
    border-radius: 3px;
}


/* Contact Form - Matching 2.css */
/* Section wrapper for contact if needed, or just table */
.contact-form-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    border: 1px solid #ccc;
    background: #fff;
}

.contact-form-table th,
.contact-form-table td {
    border: 1px solid #ccc;
    padding: 25px;
    vertical-align: top;
}

.contact-form-table th {
    background-color: #f5f5f5;
    width: 30%;
    text-align: left;
    font-weight: normal;
    padding-top: 30px;
}

.contact-form-table input[type="text"],
.contact-form-table input[type="email"],
.contact-form-table input[type="tel"],
.contact-form-table textarea,
.contact-form-table select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    font-size: 1rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.contact-form-table input:focus,
.contact-form-table textarea:focus {
    border-color: var(--primary);
    outline: none;
    background: #fdfdfd;
}



/* Assuming HTML text has "<span class="sign must">必須</span>", we can style it if it's in a span .required */
.required {
    color: #cc0000;
    font-size: 0.9rem;
    font-weight: bold;
}

.btn-submit {
    display: block;
    margin: 50px auto 0;
    background: #fff;
    border: 1px solid #ccc;
    padding: 15px 80px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    text-align: center;
}

/* External Links */
.external-links ul {
    list-style: none;
    padding: 0;
}

.external-links ul li {
    margin-bottom: 10px;
}

.icon-new-window::after {
    content: "❐";
    font-size: 0.8em;
    margin-left: 5px;
    vertical-align: middle;
}

/* Flow Chart Simple Box */
.flow-chart-box {
    border: 1px solid #ccc;
    padding: 20px;
    background: #fff;
    margin-bottom: 30px;
}

.steps-text {
    background: #fafafa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
}

/* Address Box */
.address-box {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 20px;
}

/* Note Box */
.note-box {
    border: 1px solid #ddd;
    /* Red border for warning? Or grey */
    padding: 20px;
    background-color: #fff4f4;
    /* Light red bg for warning/note */
    margin-top: 20px;
    color: #c00;
}

/* Utility Classes */
.ml-20,
.margin-left-20 {
    margin-left: 20px !important;
}