﻿@charset "UTF-8";

:root {
    --primary: #0077cc;
    --secondary: #e6f7ff;
}

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

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

/* Page Header - Matching 1-2.html style */
.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;
}

/* Sub-sections */
h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #ddd;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    margin-top: 50px;
    font-weight: 700;
}

/* Bordered Box */
.bordered-box {
    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;
}

.bordered-box h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
    border-bottom: none;
    margin-top: 0;
}

.bordered-box p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 2.0;
}

/* Documents Table */
.docs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 50px;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.docs-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    text-align: left;
    color: #444;
}

.docs-table td {
    font-size: 1rem;
}

/* File Links & Icons */
.file-links {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.file-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #0044cc;
    font-size: 0.8rem;
    width: 80px;
    text-align: center;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s;
}

.file-link:hover {
    background-color: #e6f7ff;
    opacity: 1;
}

.icon-file {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 50px;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
    margin-bottom: 10px;
    position: relative;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

.icon-file::after {
    border-width: 0 10px 10px 0;
}

.icon-pdf {
    background-color: #d32f2f;
}

.icon-word {
    background-color: #2b579a;
}

.icon-excel {
    background-color: #1D6F42;
}

.icon-sample {
    background-color: #fff;
    border: 1px solid #2b579a;
    color: #2b579a;
}

/* Contact Form */
section#contact {
    background-color: #fafafa;
    padding: 0px 40px 40px 40px;
    border-radius: 10px;
    margin-bottom: 60px;
    overflow: hidden;

}

section#contact h3 {
    margin-top: 40px;
}

.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;
}

.required::after {
    content: "<span class=" sign must">必須</span>";
    font-size: 0.9rem;
    color: #cc0000;
    margin-left: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
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);
}

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

.radio-group {
    padding: 5px 0;
}

.radio-group label {
    display: inline-block;
    margin-right: 25px;
    margin-bottom: 10px;
    font-weight: normal;
    cursor: pointer;
}

input[type="radio"] {
    transform: scale(1.2);
    margin-right: 5px;
}

.submit-btn-area {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}