* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 14px;
    color: #333;
    background: #f5f5f5;
    line-height: 1.6;
}

a {
    color: #0068b7;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.header {
    background: #fff;
    border-bottom: 3px solid #ffcc00;
    padding: 12px 20px;
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-link {
    display: block;
    line-height: 0;
    pointer-events: none;
    text-decoration: none;
}

.logo-img {
    display: block;
    height: 44px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.nav-dead {
    display: flex;
    gap: 16px;
}

.nav-dead span {
    color: #999;
    cursor: not-allowed;
    user-select: none;
}

.main {
    max-width: 960px;
    margin: 24px auto 48px;
    padding: 0 16px;
}

.breadcrumb {
    font-size: 12px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.breadcrumb-dead {
    color: #0068b7;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
}

.breadcrumb-sep {
    margin: 0 6px;
    color: #999;
}

.breadcrumb-current {
    color: #333;
}

.page-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
}

.page-desc {
    margin-top: 48px;
    margin-bottom: 28px;
}

.main .page-desc .page-desc-line {
    margin: 0 0 16px;
    padding: 0;
    line-height: 1.85;
    font-family: "Yu Gothic UI", "Yu Gothic", "Meiryo", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000000 !important;
    -webkit-text-stroke: 0.35px #000000;
    text-shadow:
        0.5px 0 0 #000000,
        -0.5px 0 0 #000000;
}

.page-desc-line:last-child {
    margin-bottom: 0;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 28px 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

.form-group label .required {
    color: #c00;
    font-size: 12px;
    margin-left: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #0068b7;
    box-shadow: 0 0 0 2px rgba(0, 104, 183, 0.15);
}

.form-note {
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.btn-row {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 36px;
    font-size: 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}

.btn-primary {
    background: #0068b7;
    color: #fff;
}

.btn-primary:hover {
    background: #005299;
}

.btn-primary:disabled {
    background: #99b8d4;
    cursor: wait;
}

.btn-dead {
    background: #e8e8e8;
    color: #aaa;
    cursor: not-allowed;
    pointer-events: none;
}

.footer {
    text-align: center;
    padding: 24px;
    font-size: 12px;
    color: #999;
    background: #000;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    display: inline-block;
    height: 52px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.footer-dead {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 8px;
}

.footer-dead span {
    color: #888;
    cursor: not-allowed;
    user-select: none;
}

.footer .footer-copy,
.footer > p {
    color: #999;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: #fff;
    border-radius: 6px;
    width: 100%;
    max-width: 420px;
    padding: 28px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.modal h2 {
    font-size: 17px;
    margin-bottom: 12px;
}

.modal p {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.modal-actions .btn-dead {
    padding: 10px 20px;
    font-size: 14px;
}

.alert {
    display: none;
    padding: 10px 14px;
    border-radius: 3px;
    margin-bottom: 16px;
    font-size: 13px;
}

.alert.show {
    display: block;
}

.alert-error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
