@charset 'utf-8';

/* Global Styles */
body * {
	margin: 0;
	font-family: "Hiragino Sans", Arial, sans-serif;
	box-sizing: border-box;
}

#container {
	margin: 0 auto;
	width: 930px;
	padding: 0 20px;
	margin-top: 50px;
}

h1 {
	text-align: center;
	margin: 56px 0;
	font-weight: 700;
	color: #333;
	font-size: 32px;
}

h2 {
	font-size: 24px;
	color: #222;
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 10px;
}

h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 3px;
	background: linear-gradient(to right, #4a90e2, #67b8e3);
}

h2,
ul,
p {
	margin: 0;
}

/* Form Section Styles */
.form-section {
	background-color: #fff;
	padding: 30px;
	border-radius: 12px;
	margin-bottom: 30px;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* Navigation Button Styles */
.navigation-buttons {
	display: flex;
	justify-content: center;
	margin: 100px auto 40px auto;
	max-width: 500px;
	gap: 20px;
}

.prev-button,
.next-button {
	width: 200px;
	height: 50px;
	border: none;
	border-radius: 25px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	background: linear-gradient(to right, #4a90e2, #67b8e3);
	color: white;
	box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.prev-button {
	background: #fff;
	color: #4a90e2;
	border: 2px solid #4a90e2;
}

.prev-button:hover {
	background: #f8f9fa;
	transform: translateY(-2px);
}

.next-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

/* Service Selection Styles */
.service-selection {
	margin: 30px 0;
}

.radio-group {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}

.radio-group label {
	flex: 1;
	padding: 20px;
	border: 2px solid #4a90e2;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	font-weight: 600;
	position: relative;
	background: white;
	color: #4a90e2;
}

.radio-group input[type="radio"] {
	display: none;
}

.radio-group input[type="radio"]:checked+span {
	color: white;
}

.radio-group label:hover {
	background-color: #f0f7ff;
}

.radio-group input[type="radio"]:checked+span::before {
	background-color: #4a90e2;
}

.radio-group input[type="radio"]:checked+label {
	border-color: #4a90e2;
	background-color: #4a90e2;
	color: white;
}

/* Personal Information Form Styles */
#personal_info {
	margin: 0 0 80px 0;
	padding: 30px;
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#personal_input {
	align-items: center;
}

.input_area {
	display: grid;
	grid-template-columns: 130px 80px 1fr;
	margin-bottom: 20px;
	align-items: center;
}

.form {
	width: auto;
	padding: 4px 8px;
	font-size: 12px;
	color: white;
	border-radius: 4px;
	text-align: center;
}

.form.required {
	max-width: 70px;
	background-color: #ff333f;
	margin-right: 15px;
}

.form.optional {
	background-color: #878787;
	margin-right: 15px;
}

#personal_input p:first-child {
	margin: 13px 0;
}

#post_code::before {
	content: '〒';
	padding: 10px 0;
}

input {
	height: 30px;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
	height: 40px;
	padding: 0 15px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus {
	border-color: #4a90e2;
	outline: none;
	box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Page 1: Transaction Input Styles */
.input-group {
	display: flex;
	gap: 10px;
	margin-bottom: 15px;
}

.transaction-number {
	flex: 1;
	padding: 8px;
}

.radio-group {
	margin: 20px 0;
}

.radio-group label {
	margin-right: 20px;
}

#transaction-list {
	margin: 15px 0;
}

/* New Table Styles for Transaction List */
.transaction-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	background-color: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.transaction-table thead {
	background: #4a90e2;
	color: white;
}

.transaction-table th,
.transaction-table td {
	text-align: left;
	padding: 12px 15px;
	font-size: 14px;
	line-height: 1.5;
}

.transaction-table .number-column {
	width: 120px;
}

.transaction-table .info-column {
	width: auto;
}

.transaction-table .action-column {
	width: 110px;
	text-align: center;
}

.transaction-table .serial-column {
	width: 170px;
}

.transaction-table tbody tr {
	border-bottom: 1px solid #f0f0f0;
}

.transaction-table tbody tr:last-child {
	border-bottom: none;
}

.transaction-table tbody tr:hover {
	background-color: #f8f9fa;
}

.product-info,
.transaction-number {
	font-size: 14px;
	line-height: 1.5;
	color: #333;
	font-weight: normal;
}

.no-transactions {
	text-align: center;
	padding: 20px;
	color: #666;
	font-style: italic;
	background: #f8f9fa;
	border-radius: 8px;
	margin: 20px 0;
}

/* 削除ボタンのスタイル */
.remove-btn {
	background: #ff5252;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 6px 12px;
	cursor: pointer;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: all 0.2s ease;
	min-width: 75px;
}

.remove-btn:hover {
	background: #ff1a1a;
	transform: translateY(-1px);
}

/* Service Selection and Language Selection Styles */
.radio-group,
.language-options {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}

.radio-group label,
.language-options label {
	flex: 1;
	padding: 20px;
	border: 2px solid #4a90e2;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	font-weight: 600;
	position: relative;
	color: #4a90e2;
	background: white;
}

.radio-group input[type="radio"],
.language-options input[type="radio"] {
	display: none;
}

.radio-group label:hover,
.language-options label:hover {
	background-color: #f0f7ff;
}

.radio-group input[type="radio"]:checked+span,
.language-options input[type="radio"]:checked+span {
	color: white;
}

.radio-group label:has(input[type="radio"]:checked),
.language-options label:has(input[type="radio"]:checked) {
	background-color: #4a90e2;
	color: white;
}

/* Update existing language options to match new design */
.language-options {
	flex-direction: row;
	flex-wrap: wrap;
	background: transparent;
	padding: 0;
}

.language-options label {
	flex: 1 1 calc(50% - 10px);
	min-width: 200px;
}

/* Input Role Indicator Styles */
.role-indicator {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding: 10px;
	text-align: center;
	font-weight: bold;
	z-index: 1000;
	color: white;
}

.role-indicator.staff {
	background-color: #4a90e2;
}

.role-indicator.customer {
	background-color: #2ecc71;
}

.section-indicator {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 4px;
	margin-bottom: 15px;
	font-size: 14px;
	font-weight: 600;
}

.section-indicator.staff {
	background-color: rgba(74, 144, 226, 0.1);
	color: #4a90e2;
	border: 1px solid #4a90e2;
}

.section-indicator.customer {
	background-color: rgba(46, 204, 113, 0.1);
	color: #2ecc71;
	border: 1px solid #2ecc71;
}

/* Staff Input Section Styles */
.staff-section {
	border-left: 4px solid #4a90e2;
	padding-left: 15px;
	margin-bottom: 30px;
}

/* Customer Input Section Styles */
.customer-section {
	border-left: 4px solid #2ecc71;
	padding-left: 15px;
	margin-bottom: 30px;
}

/* Page 3: Terms and Conditions Styles */
.terms-section {
	margin-bottom: 30px;
	padding: 20px;
	background-color: #f9f9f9;
	border-radius: 8px;
}

.terms-section h3 {
	color: #4a90e2;
	border-bottom: 2px solid #4a90e2;
	padding-bottom: 10px;
	margin-bottom: 15px;
	font-size: 18px;
}

.terms-text p {
	margin-bottom: 15px;
	line-height: 1.6;
	font-size: 15px;
}

.terms-text p:last-child {
	margin-bottom: 0;
}

.agreement-section {
	margin: 40px 0;
	text-align: center;
}

.agreement-checkbox {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 25px;
	background-color: #f0f7ff;
	border-radius: 8px;
	border: 1px solid #4a90e2;
	box-shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
	transition: all 0.3s ease;
}

.agreement-checkbox:hover {
	background-color: #e0f0ff;
}

.agreement-checkbox input[type="checkbox"] {
	width: 24px;
	height: 24px;
	margin-right: 12px;
	cursor: pointer;
}

.agreement-checkbox span {
	font-size: 17px;
	font-weight: 600;
	color: #333;
}

/* Loading Overlay */
.loading-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.9);
	z-index: 9999;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

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

.loading-spinner {
	width: 50px;
	height: 50px;
	border: 5px solid #f3f3f3;
	border-top: 5px solid #3498db;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	margin-bottom: 20px;
}

.loading-overlay p {
	font-size: 16px;
	color: #333;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* Page 5: Confirmation Styles */
.confirmation-content {
	background: #fff;
	border-radius: 12px;
	margin-bottom: 25px;
}

.confirm-section {
	margin-bottom: 30px;
	border-bottom: 1px solid #eee;
	padding-bottom: 20px;
	margin-top: 10px;
}

.confirm-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.confirm-section h3 {
	color: #333;
	font-size: 18px;
	margin-bottom: 20px;
	padding-left: 12px;
	border-left: 4px solid #4a90e2;
	background-color: #f5f5f5;
	padding: 10px 15px;
	border-radius: 4px;
}

.info-group {
	padding: 0 15px;
}

.info-row {
	display: flex;
	margin: 15px 0;
	padding: 12px 15px;
	border-radius: 8px;
	transition: background-color 0.2s ease;
}

.info-row .label {
	width: 120px;
	font-weight: 600;
	color: #555;
}

.info-row .value {
	flex: 1;
	color: #333;
	font-weight: 500;
}

/* Page 6: Completion Styles */
.completion-message {
	text-align: center;
	padding: 40px 30px;
	background: white;
	border-radius: 12px;
	margin: 30px 0px 150px 0px;
}

.check-mark {
	font-size: 72px;
	color: #4a90e2;
	margin-bottom: 25px;
	line-height: 1;
}

.completion-message h2 {
	color: #333;
	margin-bottom: 20px;
	text-align: center;
	font-size: 24px;
}

.completion-message h2::after {
	left: 50%;
	transform: translateX(-50%);
}

.completion-message p {
	color: #666;
	font-size: 18px;
	margin-top: 15px;
}

/* Page 7: Card Preview Styles */
.card-preview {
	background: white;
	border-radius: 8px;
	margin: 25px 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-frame {
	border: 1px solid #ddd;
	padding: 30px 0px;
	min-height: 400px;
	background: #fff;
	border-radius: 4px;
}

.preview-content {
	margin: 30px 60px;
}

.card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.card-header img {
	width: 110px;
}

.logo {
	max-width: 150px;
	height: auto;
}

.transaction-info {
	text-align: right;
	font-size: 14px;
	color: #555;
}

.transaction-info p {
	margin-bottom: 5px;
}

.customer-info {
	margin: 30px 0;
}

.customer-info h3,
.product-info h3,
.preview-content .terms-container h3 {
	font-size: 18px;
	color: #333;
	margin-bottom: 15px;
	padding-bottom: 8px;
	border-bottom: 2px solid #4a90e2;
}

.customer-info table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
}

.customer-info th,
.customer-info td {
	padding: 12px 15px;
	border: 1px solid #ddd;
	text-align: left;
}

.customer-info th {
	background: #f5f5f5;
	width: 120px;
	font-weight: 600;
	color: #444;
}

.customer-info td {
	color: #333;
}

.product-info {
	margin: 0px;
	padding-top: 10px;
}

.product-info p {
	font-size: 16px;
	margin: 10px 0;
	color: #333;
}

.action-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 30px 0;
}

.action-button {
	padding: 12px 25px;
	font-size: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	border-radius: 6px;
	cursor: pointer;
	background: linear-gradient(to right, #4a90e2, #67b8e3);
	color: white;
	border: none;
	transition: all 0.3s ease;
	font-weight: 500;
	box-shadow: 0 2px 10px rgba(74, 144, 226, 0.2);
}

.action-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.action-button .icon {
	font-size: 18px;
}

.reset-button {
	width: 200px;
	height: 45px;
	background: #666;
	color: white;
	border: none;
	border-radius: 25px;
	cursor: pointer;
	font-size: 16px;
	transition: all 0.3s ease;
	font-weight: 500;
}

.reset-button:hover {
	background: #555;
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for pages 5-7 */
@media screen and (max-width: 768px) {
	.info-row {
		flex-direction: column;
		padding: 10px 12px;
	}

	.info-row .label {
		width: 100%;
		margin-bottom: 5px;
		font-weight: 700;
	}

	.completion-message {
		padding: 30px 20px;
	}

	.check-mark {
		font-size: 60px;
	}

	.action-buttons {
		flex-direction: column;
		gap: 15px;
	}

	.action-button {
		width: 100%;
		justify-content: center;
	}

	.preview-frame {
		padding: 15px;
	}

	.customer-info th,
	.customer-info td {
		padding: 10px;
	}

	.card-header {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.transaction-info {
		text-align: center;
		margin-top: 15px;
	}
}

@media screen and (max-width: 480px) {
	.check-mark {
		font-size: 50px;
	}

	.completion-message h2 {
		font-size: 20px;
	}

	.completion-message p {
		font-size: 16px;
	}

	.customer-info th,
	.customer-info td {
		padding: 8px;
		font-size: 14px;
	}
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
	#container {
		width: 95%;
		padding: 0 10px;
	}

	h1 {
		font-size: 24px;
		margin: 30px 0;
	}

	h2 {
		font-size: 20px;
	}

	.form-section {
		padding: 20px;
	}

	.radio-group,
	.language-options {
		flex-direction: column;
		gap: 10px;
	}

	.radio-group label,
	.language-options label {
		width: 100%;
		padding: 15px;
	}

	.navigation-buttons {
		flex-direction: column;
		gap: 15px;
		width: 100%;
	}

	.prev-button,
	.next-button {
		width: 100%;
	}

	.input-group {
		flex-direction: column;
	}

	.input-group input {
		width: 100%;
	}

	.input-group button {
		width: 100%;
		margin-top: 10px;
	}

	.input_area {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.form.required,
	.form.optional {
		width: fit-content;
	}

	input[type="text"],
	input[type="tel"],
	input[type="email"] {
		width: 100%;
	}
}

/* Small screens (phones) */
@media screen and (max-width: 480px) {
	.form-section {
		padding: 15px;
	}

	h1 {
		font-size: 20px;
		margin: 20px 0;
	}

	h2 {
		font-size: 18px;
	}

	.radio-group label,
	.language-options label {
		padding: 12px;
		font-size: 14px;
	}

	.input_area {
		margin-bottom: 15px;
	}

	.info-row {
		flex-direction: column;
	}

	.info-row .label {
		width: 100%;
		margin-bottom: 5px;
	}

	.completion-message h2 {
		font-size: 18px;
	}

	.check-mark {
		font-size: 48px;
	}
}

/* Tablets */
@media screen and (min-width: 481px) and (max-width: 768px) {
	#container {
		width: 90%;
	}

	h1 {
		font-size: 22px;
	}

	.radio-group,
	.language-options {
		flex-direction: column;
	}

	.input_area {
		grid-template-columns: 100px 60px 1fr;
	}
}

/* Settings Icon Styles */
.settings-icon {
	position: fixed;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
	z-index: 1001;
}

.settings-icon:hover {
	transform: rotate(45deg);
	background: #f0f7ff;
}

.settings-icon img {
	width: 24px;
	height: 24px;
}

/* Settings Form Styles */
.settings-buttons {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 30px;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.settings-buttons button {
	width: 200px;
}

/* Transaction Details Styles */
.transaction-details {
	margin: 20px 0;
	padding: 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.transaction-details h3 {
	color: #4a90e2;
	margin-bottom: 15px;
	font-size: 18px;
	border-bottom: 2px solid #4a90e2;
	padding-bottom: 8px;
}

.details-table {
	width: 100%;
	border-collapse: collapse;
}

.details-table th,
.details-table td {
	padding: 12px 15px;
	border-bottom: 1px solid #f0f0f0;
	text-align: left;
}

.details-table th {
	width: 120px;
	color: #666;
	font-weight: 600;
	background: #f8f9fa;
}

.details-table tr:last-child th,
.details-table tr:last-child td {
	border-bottom: none;
}

/* Transaction Info Cell Styles */
.transaction-info-cell {
	padding: 15px !important;
}

.transaction-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.transaction-number {
	font-weight: 600;
	color: #4a90e2;
	font-size: 16px;
}

.transaction-inputs {
	padding-top: 10px;
}

.transaction-inputs .transaction-number {
	height: 50px;
}

.product-details {
	margin-top: 8px;
}

.product-info {
	color: #333;
	line-height: 1.6;
	display: block;
	padding: 0px;
	border-radius: 6px;
	font-size: 14px;
}

/* Modern Table Styles */
.modern-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 20px 0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.modern-table thead {
	background: #4a90e2;
}

.modern-table thead th {
	color: white;
	font-weight: 600;
	padding: 15px 20px;
	text-align: left;
	font-size: 16px;
	letter-spacing: 0.5px;
}

.modern-table tbody tr {
	border-bottom: 1px solid #f0f0f0;
}

.modern-table tbody tr:last-child {
	border-bottom: none;
}

.modern-table td {
	padding: 15px 20px;
	color: #333;
	font-size: 15px;
	line-height: 1.5;
}

.modern-table td:first-child {
	font-weight: 600;
	color: #4a90e2;
}

@media screen and (max-width: 768px) {
	.modern-table thead {
		display: none;
	}

	.modern-table tbody tr {
		display: block;
		margin-bottom: 15px;
		border-bottom: 2px solid #e0e0e0;
	}

	.modern-table td {
		display: block;
		text-align: left;
		padding: 12px 15px;
	}

	.modern-table td:before {
		content: attr(data-label);
		font-weight: 600;
		color: #4a90e2;
		display: block;
		margin-bottom: 5px;
	}
}

/* Page 7: Terms Container Styles */
.card-preview .terms-container {
	margin-top: 30px;
	background-color: #ffffff;
}

.card-preview .terms-section {
	margin-bottom: 10px;
	background-color: #fff;
	padding: 10px;
}

.card-preview .terms-text p {
	font-size: 12px;
	line-height: 1.6;
	color: #444;
}

/* Questionnaire Styles */
.questionnaire-form {
	padding: 20px;
}

.question-group {
	margin-bottom: 30px;
}

.question-text {
	font-size: 16px;
	color: #333;
	margin-bottom: 10px;
	line-height: 1.5;
}

.radio-rating {
	display: flex;
	gap: 20px;
	margin-top: 15px;
}

.radio-rating label {
	flex: 1;
	text-align: center;
	padding: 15px;
	border: 2px solid #4a90e2;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	background: white;
}

.radio-rating label:hover {
	background-color: #f0f7ff;
}

.radio-rating input[type="radio"] {
	display: none;
}

.radio-rating input[type="radio"]:checked+span {
	color: white;
}

.radio-rating label:has(input[type="radio"]:checked) {
	background-color: #4a90e2;
	color: white;
}

.radio-rating span {
	font-size: 18px;
	font-weight: 600;
	color: #4a90e2;
}

#feedback-text {
	width: 100%;
	padding: 15px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
	resize: vertical;
	min-height: 100px;
	transition: border-color 0.3s ease;
}

#feedback-text:focus {
	border-color: #4a90e2;
	outline: none;
	box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

#questionnaire_info {
	margin-top: 40px;
	padding: 20px 0;
	border-top: 1px solid #eee;
}

#questionnaire_info h3 {
	font-size: 20px;
	color: #333;
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 10px;
}

#questionnaire_info h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 3px;
	background: linear-gradient(to right, #4a90e2, #67b8e3);
}

.questionnaire-form {
	padding: 0 20px;
}

.question-group {
	margin-bottom: 30px;
}

.question-text {
	font-size: 16px;
	color: #333;
	margin-bottom: 10px;
	line-height: 1.5;
}

.radio-rating {
	display: flex;
	gap: 20px;
	margin-top: 15px;
	flex-wrap: wrap;
}

.radio-rating label {
	flex: 1;
	min-width: 60px;
	text-align: center;
	padding: 15px;
	border: 2px solid #4a90e2;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	background: white;
}

.radio-rating label:hover {
	background-color: #f0f7ff;
}

.radio-rating input[type="radio"] {
	display: none;
}

.radio-rating input[type="radio"]:checked+span {
	color: white;
}

.radio-rating label:has(input[type="radio"]:checked) {
	background-color: #4a90e2;
	color: white;
}

.radio-rating span {
	font-size: 18px;
	font-weight: 600;
	color: #4a90e2;
}

#feedback-text {
	width: 100%;
	padding: 15px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
	resize: vertical;
	min-height: 100px;
	transition: border-color 0.3s ease;
}

#feedback-text:focus {
	border-color: #4a90e2;
	outline: none;
	box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Responsive styles for questionnaire */
@media screen and (max-width: 768px) {
	.radio-rating {
		gap: 10px;
	}

	.radio-rating label {
		padding: 10px;
		min-width: calc(20% - 8px);
	}

	.radio-rating span {
		font-size: 16px;
	}

	.question-text {
		font-size: 14px;
	}

	#questionnaire_info h3 {
		font-size: 18px;
	}
}

@media screen and (max-width: 480px) {
	.radio-rating label {
		min-width: calc(20% - 8px);
		padding: 8px;
	}

	.radio-rating span {
		font-size: 14px;
	}

	.questionnaire-form {
		padding: 0 10px;
	}
}

/* アンケート確認画面のスタイル */
.questionnaire-confirm {
	padding: 0 15px;
	width: 100%;
}

.question-confirm-group {
	margin-bottom: 20px;
	padding: 15px;
	background: #f8f9fa;
	border-radius: 8px;
	border-left: 4px solid #4a90e2;
	width: 100%;
}

.question-confirm-group:last-child {
	margin-bottom: 0;
}

.question-confirm-group .question-text {
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
	font-size: 16px;
	width: 100%;
}

.question-confirm-group .rating-value {
	font-size: 18px;
	color: #4a90e2;
	padding: 10px 15px;
	background: white;
	border-radius: 4px;
	display: inline-block;
}

.question-confirm-group .feedback-value {
	padding: 15px;
	background: white;
	border-radius: 4px;
	color: #333;
	line-height: 1.5;
	white-space: pre-wrap;
	width: 100%;
}

@media screen and (max-width: 768px) {
	.questionnaire-confirm {
		padding: 0 10px;
	}

	.question-confirm-group {
		padding: 12px;
	}

	.question-confirm-group .question-text {
		font-size: 14px;
	}

	.question-confirm-group .rating-value {
		font-size: 16px;
	}
}