body {
    background-color: white;
    font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
    margin: 0;
    padding: 0;
}
.btn-rounded {
    border-radius: 20px;
}
header {
    background-color: #5CDCC4;
}
.star-rating {
    font-size: 2rem;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.star-rating input[type="radio"] {
    display: none;
}
.star-rating label {
    color: #bbb;
    cursor: pointer;
    margin-left: 0.25rem;
}
/* 選択された星とその右側の星を黄色にする */
.star-rating input[type="radio"]:checked ~ label {
    color: #f2b600;
}
/* ホバー時は、ホバーした星とその右側の星を黄色にする */
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f2b600;
}
.star-rating input[type="radio"]:checked ~ label:hover,
.star-rating input[type="radio"]:checked ~ label:hover ~ label {
    color: #f2b600;
}

/* ラジオボタンスタイル */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.radio-group.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.radio-group.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
}

.radio-group.grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 4px;
}

.radio-option {
    position: relative;
    display: inline-block;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-option label {
    display: block;
    padding: 6px 12px;
    background-color: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-option label:hover {
    border-color: #d1d5db;
    background-color: #f9fafb;
}

.radio-option input[type="radio"]:checked + label {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.radio-option input[type="radio"]:focus + label {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Form.html styles */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800&display=swap');

.w-screen { width: 100vw; }
.h-screen { height: 100vh; }
.max-w-screen-sm { max-width: 640px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.bg-base-200 { background-color: #f5f5f5; }
.bg-message-200 { background-color: #f5f5f5; }
.bg-header-yellow { background-color: #fcec15; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-5 { padding-bottom: 1.25rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-end { justify-content: flex-end; }
.min-h-10 { min-height: 2.5rem; }
.relative { position: relative; }
.h-8 { height: 2rem; }
.mr-4 { margin-right: 1rem; }
.cursor-pointer { cursor: pointer; }
.block { display: block; }
.avatar { display: inline-block; }
.rounded-full { border-radius: 9999px; }
.IconButton { width: 32px; height: 32px; }
.text-center { text-align: center; }
.text-black { color: #000; }
.text-gray-default { color: #666; }
.text-[30px] { font-size: 30px; }
.text-[24px] { font-size: 24px; }
.text-[18px] { font-size: 18px; }
.text-[16px] { font-size: 16px; }
.text-[14px] { font-size: 14px; }
.text-[12px] { font-size: 12px; }
.text-[11px] { font-size: 11px; }
.text-[10px] { font-size: 10px; }
.text-[9px] { font-size: 9px; }
.leading-tight { line-height: 1.25; }
.leading-none { line-height: 1; }
.break-words { word-break: break-word; }
.font-normal { font-weight: 400; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mx-\[3px\] { margin-left: 3px; margin-right: 3px; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-10 { padding-top: 2.5rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-12 { padding-bottom: 3rem; }
.pl-\[36\.47\] { padding-left: 36.47px; }
.pr-\[36\.47\] { padding-right: 36.47px; }
.bg-\[\#FFFEE3\] { background-color: #FFFEE3; }
.border-\[\#FFFEE3\] { border-color: #FFFEE3; }
.flex-col { flex-direction: column; }
.justify-center { justify-content: center; }
.self-end { align-self: flex-end; }
.self-start { align-self: flex-start; }
.opacity-50 { opacity: 0.5; }
.opacity-20 { opacity: 0.2; }
.text-\[\#090909\] { color: #090909; }
.text-opacity-20 { opacity: 0.2; }
.h-\[128px\] { height: 128px; }
.h-\[92px\] { height: 92px; }
.h-\[38px\] { height: 38px; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-base-content-caption { color: #666; }
.text-\[\#FFFFFF\] { color: #FFFFFF; }
.text-opacity-50 { opacity: 0.5; }
.bg-opacity-25 { background-color: rgba(0, 0, 0, 0.25); }
.bg-opacity-50 { background-color: rgba(0, 0, 0, 0.5); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    min-height: 48px;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    min-height: 44px;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    min-height: 44px;
}

.btn-secondary:hover {
    background-color: #545b62;
    border-color: #545b62;
}

.border-2 {
    border-width: 2px;
}

.bg-black {
    background-color: #000;
}

.text-white {
    color: white;
}

.rounded-full {
    border-radius: 9999px;
}

.disabled\:bg-black:disabled {
    background-color: #000;
}

.disabled\:bg-opacity-25:disabled {
    background-color: rgba(0, 0, 0, 0.25);
}

.disabled\:text-\[\#FFFFFF\]:disabled {
    color: #FFFFFF;
}

.disabled\:text-opacity-50:disabled {
    opacity: 0.5;
}

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

.form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-check-label {
    margin-bottom: 0;
    cursor: pointer;
}

.form-check-label a {
    color: #007bff;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* フォームエリアのレイアウト調整 */
.form-container {
    max-width: 100%;
    margin: 0 auto;
}

.form-section {
    background-color: #FFFEE3;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* スタッフコンボボックスのスタイル */
.staff-combobox-container {
    position: relative;
}

.staff-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 0.25rem 0.25rem;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.staff-option {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
}

.staff-option:hover {
    background-color: #f8f9fa;
}

.staff-option.highlighted {
    background-color: #e9ecef;
}

.selected-staff {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    margin-top: 0.25rem;
}

.selected-staff button {
    padding: 0.125rem 0.375rem;
    font-size: 0.875rem;
    border-radius: 0.125rem;
}

/* モーダルスタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-dialog {
    margin: 1.75rem auto;
    max-width: 500px;
    width: 90%;
}

.modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
    text-align: center;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #dee2e6;
}

.close {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: 0.5;
    cursor: pointer;
}

.close:hover {
    opacity: 0.75;
}

/* オーバーレイスタイル */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#processingDialog {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* レスポンシブ対応 */
@media (max-width: 640px) {
    .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .text-[30px] {
        font-size: 24px;
    }
    
    .text-[24px] {
        font-size: 20px;
    }
}

/* イントロテキストボックス */
.intro-text-box {
    background-color: #f5f5f5;
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 0 auto;
    max-width: 100%;
    display: inline-block;
}

/* ヘッダー中央配置 */
.header-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* テキストスタイル */
.intro-subtitle {
    font-size: 12px;
    opacity: 0.5;
}

.form-title {
    font-weight: 700;
    font-size: 24px;
}

.footer-text {
    font-weight: 600;
    font-size: 11px;
    color: #090909;
    opacity: 0.2;
    padding-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.char-count {
    text-align: right;
    width: 100%;
}

/* プレイスホルダーの色を薄いグレーに設定 */
.form-control::placeholder {
    color: #cccccc;
    opacity: 1;
}

.form-control::-webkit-input-placeholder {
    color: #cccccc;
    opacity: 1;
}

.form-control::-moz-placeholder {
    color: #cccccc;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #cccccc;
    opacity: 1;
}

.form-control:-moz-placeholder {
    color: #cccccc;
    opacity: 1;
}
