.required::after {
content: " *";
color: red;
vertical-align: middle;
}
.textbox-1 {
    
    padding: 8px 10px;
    border: 1px solid #969da3;
    border-radius: 25px;
    color: #333;
    font-size: 1em;
    line-height: 1.5;
}
.hero{
    margin: 16px;
}
.textbox-1::placeholder {
    color: #999;
}
.textbox-2 {
    padding: 8px 10px;
    border: 1px solid #969da3;
    border-radius: 25px;
    color: #333;
    font-size: 1em;
    line-height: 1.5;
}

.textbox-2::placeholder {
    color: #999;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

.textbox,
.textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.textbox:focus,
.textarea:focus {
    border-color: #007bff;
    outline: none;
}
.main{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
    position: relative;
    z-index: 1;
}
.textarea {
    resize: vertical;
}

.submit-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

.submit-button:hover {
    background-color: #0056b3;
}
.back-button {
    padding: 10px 20px;
    background-color: #6c757d;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

.back-button:hover {
    background-color: #565e64;
}
.heading-28 {
    color: #333333;
    font-weight: 400;
    font-size: .75rem;
    letter-spacing: .04em;
    text-align: center;
}

.heading-28::before {
    display: block;
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1.5;
    letter-spacing: .02em;
    content: attr(data-label);
}

.character-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, rgba(116, 196, 233, 0.4) 0%, rgba(255, 255, 255, 0.3) 100%);
    border: 2px solid var(--accent-blue);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 40px rgba(126, 179, 212, 0.3), inset 0 0 30px rgba(126, 179, 212, 0.1);
    overflow: hidden;
    position: relative;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(232, 241, 255, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit:contain;
    border-radius: 15px;
}

.character-info h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--star-white);
    position: relative;
    padding-bottom: 15px;
}

.character-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--glow), transparent);
}

.profile-table {
    width: 100%;
    margin-bottom: 40px;
}

.profile-table tr {
    border-bottom: 1px solid rgba(232, 241, 255, 0.1);
}

.profile-table td {
    padding: 15px 0;
}

.profile-table td:first-child {
    font-weight: 600;
    color: var(--glow);
    width: 30%;
    padding-right: 20px;
}

.profile-table td:last-child {
    color: var(--star-white);
}

/* 由来セクション */
.origin-section {
    background: linear-gradient(135deg, rgba(116, 196, 233, 0.4) 0%, rgba(255, 255, 255, 0.3) 100%);
    border-left: 4px solid var(--glow);
    padding: 40px;
    margin-bottom: 80px;
    border-radius: 10px;
    animation: fadeInUp 1s ease-out 0.4s both;
    box-shadow: 0 0 30px rgba(126, 179, 212, 0.15);
}

.origin-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--star-white);
}

.origin-section p {
    font-size: 1.05rem;
    color: var(--silver);
    margin-bottom: 15px;
    line-height: 2;
}
@media (max-width: 768px) {

    .character-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .origin-section,
    .traits-section {
        padding: 25px;
    }

    .character-info h2 {
        font-size: 1.5rem;
    }
}
.character-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    animation: fadeInUp 1s ease-out 0.2s both;
}
@media (max-width: 768px) {
    .character-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}