:root {
    --primary-color: #cc0000;
    --primary-light: #e60012;
    --primary-dark: #990000;
    --text-color: #333;
    --background-color: #fff;
    --border-color: #ddd;
}

body {
    font-family: Meiryo, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
    font-size: 110%;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    font-size: 1.1em;
}

th {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: bold;
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

tr:hover {
    background-color: #ffe5e5;
}

.price, .years {
    text-align: right;
    font-family: monospace;
    font-size: 1.1em;
}

.registration-date {
    text-align: center;
}

.want2buy {
    text-align: center;
}

.apply-button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 1.1em;
}

.apply-button:hover {
    background-color: var(--primary-dark);
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 1.1em;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    th, td {
        padding: 0.75rem;
    }
    
    .apply-button {
        padding: 0.4rem 1rem;
    }
}

.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 1.5em;
}

.sortable:hover {
    background-color: var(--primary-dark);
}

.sort-icon {
    position: absolute;
    right: 0.5em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    opacity: 0.7;
}

.form-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.domain-info {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 4px;
}

.domain-info h2 {
    margin-top: 0;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1.1em;
}

.required {
    color: #e60012;
    margin-left: 5px;
}

.form-buttons {
    text-align: center;
    margin: 30px 0;
}

.back-button,
.submit-button {
    display: inline-block;
    padding: 15px 40px;
    margin: 0 10px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button {
    background-color: #f5f5f5;
    color: #333;
    border: 2px solid #ddd;
}

.submit-button {
    background-color: #e60012;
    color: white;
}

.back-button:hover {
    background-color: #e0e0e0;
}

.submit-button:hover {
    background-color: #cc0000;
}

.confirm-table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.confirm-table th,
.confirm-table td {
    padding: 1rem;
    border: 1px solid var(--border-color);
}

.confirm-table th {
    background-color: #f8f8f8;
    width: 30%;
    text-align: left;
    color: #333;
    font-weight: bold;
}

.success-message,
.error-message {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.success-message {
    background-color: #f0fff0;
    border: 1px solid #90ee90;
}

.error-message {
    background-color: #fff0f0;
    border: 1px solid #ffb6c1;
}

.confirm-table input[type="text"],
.confirm-table input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.confirm-table input[type="text"]:focus,
.confirm-table input[type="email"]:focus {
    outline: none;
    border-color: #e60012;
    box-shadow: 0 0 0 3px rgba(230, 0, 18, 0.1);
}

.confirm-table input[type="text"]::placeholder,
.confirm-table input[type="email"]::placeholder {
    color: #999;
}

.confirm-table input[type="text"]:hover,
.confirm-table input[type="email"]:hover {
    border-color: #ccc;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: #484444;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1em;
} 