/* Dropdown Container */
.contact-selection-container {
    max-width: 600px;
    margin: 0 auto; 
    text-align: left;
    font-family: sans-serif;
}

.contact-label {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.required-mark {
    color: #FF5722;
    margin-left: 4px;
}

/* Custom Select Wrapper */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

/* The visible input box */
.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    color: #333;
    background-color: #fff;
    border: 1px solid #767676; 
    border-radius: 2px; 
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
}

/* Green border when the dropdown is OPEN */
.custom-select-wrapper.open .custom-select-trigger {
    border: 1px solid #4CAF50;
    outline: none;
}

.custom-select-trigger .contact-custom-arrow {
    font-size: 0.8rem;
    color: #333;
    /* Adding these just to force override any lingering theme styles */
    border: none !important; 
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* The dropdown menu */
.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #767676;
    border-top: none;
    margin: 0;
    padding: 0;
    list-style: none;
    display: none;
    z-index: 10;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

/* Show the menu when open */
.custom-select-wrapper.open .custom-select-options {
    display: block;
}

/* Individual options */
.custom-select-options li {
    padding: 12px 16px;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    background-color: #fff;
}

.custom-select-options li.placeholder-option {
    color: #757575; 
}

/* Neutral Light Gray Highlight state for Hover and Selected items */
.custom-select-options li:hover,
.custom-select-options li.selected {
    background-color: #f5f5f5; /* Light gray background */
    color: #333; /* Keeps text dark */
}

 
.contact-page {
    padding: 0px 20px;
    background-color: #fff;
}

.contact-form-container {
	max-width: 900px;
	margin: 0 auto;
}

.contact-page-gray {
    padding: 0px 20px;
    background-color: #f5f5f5;
}

.contact-form-container-gray {
	max-width: 900px;
	margin: 0 auto;
}

.contact-form {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    padding: 40px 20px 0px;
    color: #1a364d; 
}

.contact-form-text-area {
    max-width: 900px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

.contact-form-text-area p {
    margin-bottom: 5px;
}

.contact-form-required {
    font-size: 14px;
    margin-top: 10px;
}

.contact-form-asterisk {
    color: #f19116; 
    font-weight: bold;
    margin-right: 3px;
}

.contact-form-subtitle-gray {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.contact-form-gray {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    padding: 40px 20px 40px;
    color: #1a364d; 
	background: #f5f5f5;
}

.contact-form-text-area-gray {
    max-width: 900px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

.contact-form-text-area-gray p {
    margin-bottom: 5px;
}

.contact-form-required-gray {
    font-size: 14px;
    margin-top: 10px;
}

.contact-form-asterisk-gray {
    color: #f19116; 
    font-weight: bold;
    margin-right: 3px;
}


.contact-page-wrapper {
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif; /* Adjust to your site's font */
    margin-bottom: 40px;
}

.contact-form-subtitle {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
	color: #6bc176;
}