@import url('https://fonts.cdnfonts.com/css/lucida-sans-unicode');

body { 
///	font-family: 'Arial', sans-serif; 
	font-family: 'Lucida Sans Unicode','Noto Sans Japanese', sans-serif;
	padding: 20px; 
	background-color: #f4f4f9;
	margin-:0;
}

.form_container { 
	max-width: 800px; 
	margin: 0 auto 30px auto; 
	background: white; 
	padding: 30px; 
	border-radius: 12px; 
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.form_container h1 { 
	text-align: center; 
	color: #333; 
	margin-bottom: 30px; 
} 
.form_container h2 { 
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    color: #3498db;
	padding-bottom: 10px; 
	margin-top: 30px; 
}
.form-group { margin-bottom: 20px; }
.form_container label { 
	display: block; 
	margin-bottom: 8px; 
	font-weight: bold; 
	font-size: 1.1em; 
color: #292b29; 
}
input[type="text"], input[type="number"], input[type="email"],input[type="radio"], input[type="password"], textarea, select {
	accent-color: #3498db;
    width: 100%;
    padding: 7px 10px; /* パディングを増やして高さを出す */
    border: 1px solid #ccc;
    border-radius: 5px; /* 角丸化 */
    box-sizing: border-box;
    font-size: 1em;
    font-weight: normal; 
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s; 
/*
    padding: 15px; 
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1.1em;
*/
}
input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="number"]:focus, 
input[type="password"]:focus,
textarea:focus {
    border-color: #3498db; 
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5); 
    outline: none;
}

input[type="checkbox"] {
	accent-color: #3498db;
}
.policy{
	display: flex; 
	align-items: center;
}
.policy label{ 
	display:inline-block;
}
.policy_link{
	text-decoration:none;
	font-weight:bold;
	color: #3498db;
	font-size:1.5em;
	margin-left:10px;
}

.input-error {
    border: 2px solid #ff4500 !important; */
    background-color: #f4f4f4 !important; /* 薄いグレーに変更 */
}

select { appearance: none; }
.required::after { content: " *"; color: red; } 
.radio-group { display: flex; gap: 20px; padding: 10px 0; }
.radio-group label { font-weight: normal; font-size: 1em; display: flex; align-items: center; }
.radio-group input[type="radio"] { margin-right: 5px; width: auto; }
.date-selects { display: flex; gap: 10px; }
.date-selects select { width: 33%; }
.submit-btn {
	background-color: #333; 
	color: white;
	padding: 15px 25px;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 1.2em;
	display: block;
	margin: 20px auto;
	width:100%;
}

/* SweetAlert オーバーライド */
/* 1. ★★★ モーダル本体のサイズと縦位置を調整 (縦幅の窮屈さを解消) ★★★ */
.sweet-alert {
//    width: 60vw !important; 
    width: 60vw; 
    max-width: 95% !important; 
    height: 90vw !important; 
    max-height: 90vh !important; /* 画面の高さの80%を最大値とし、内容に応じて高さを確保 */
    left: 50% !important;
    /* 縦位置の調整 */
    top: 3% !important; /* 画面上部から10%の位置に固定 */
    margin-top: 0 !important; /* 中央寄せ用のネガティブマージンを解除 */
    /* 横方向の中央寄せ */
    transform: translateX(-50%) !important;
    -webkit-transform: translateX(-50%) !important;
    margin-left: 0 !important; 
}
/* ★★★ レスポンシブデザインの追加 (max-width: 768px 以下) ★★★ */
@media (max-width: 768px) {

	.sweet-alert {
	    width: 90vw; 
	}
}


/* 2. その他の既存のオーバーライド */
.sweet-alert .sa-close { display: none !important; }
.sweet-alert h2 {
    font-size: 18px !important;
    padding: 5px 0 10px 0 !important;
    border-bottom: 1px solid #666 !important;
}
.sweet-alert p {
    font-size: 20px !important; 
    line-height: 1.4 !important;
}
.sweet-alert button.confirm,
.sweet-alert button.cancel { 
    font-size: 15px !important; 
    padding: 10px 40px !important; 
    margin: 5px 5px 0 5px !important; 
    background-color: #000 !important;
    box-shadow: none !important;
}
.sweet-alert button.confirm:hover,
.sweet-alert button.cancel:hover { 
    opacity: 0.6 !important;
}
.sweet-alert button.cancel { 
    background-color: #999 !important; 
}
.sweet-alert .sa-icon {
    display: none !important;
}

/* 確認画面専用CSS */
.confirmation-content {
    text-align: left; 
    max-height: 350px; 
    overflow-y: auto; 
    padding: 10px;
    border: 1px solid #eee;
    margin-bottom: 10px;
}
.confirmation-content strong {
    display: inline-block;
    width: 280px; 
    color: #333;
    font-weight: bold;
}

