/**** プロフィールページ ****/
.um-right.um-half a.um-button{
	color: #ffff;
}
.um.um-profile.um-viewing.um-9{
	margin-bottom: 0px !important;
}

/**** 職歴スキル、所属ページ ****/
/* プルダウンとテキストエリアを縦に並べる */
.custom-profile-form{
	display: flex;
	flex-direction: column;
    max-width: 550px;/* 全体の幅を固定 */
	margin: 0 auto; /* 中央に配置 */
}

/* ラベルとプルダウン、テキストエリアの間に適度なスペースを追加 */
.custom-profile-form label,
.custom-profile-form select,
.custom-profile-form textarea{
	margin-bottom: 15px;
}
.custom-profile-form label{
	margin-top: 15px;
    display: block;
}
.custom-profile-form select{
	padding: 8px 10px;
	height: 36px;
    font-size: 16px;
}

/* テキストエリアは横幅を固定し、縦のみ可変 */
.custom-profile-form textarea {
	width: 100%; /* 横幅を親要素に合わせる */
	height: 100px; /* 初期の高さを設定 */
	overflow-y: auto; /* 縦方向にスクロールできるようにする */
    resize: none; /* ユーザーがテキストエリアのサイズを変更できないようにする */
	font-size: 14px;
    line-height: 1.2;
}
.custom-profile-form .selected_textarea{
	background-color: #f1f1f1;
	cursor: default;
}
.save-btn{
    width: 160px;
    margin: 10px auto 30px;
    background-color: #6e8c65;
    display: block;
    color: #ffff;
    border: none;
    padding: 12px 0px;
}

/* テキストエリアの右下にクリアボタンを配置 */
.custom-profile-form .clear-button {
    position: relative;
    float: right;
    margin-top: -9px;
    margin-right: -7px;
    padding: 5px 10px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    cursor: pointer;
    margin-bottom: 24px;
}
.custom-profile-form .clear-button:hover {
    background-color: #e0e0e0;
}

@media (max-width: 767px) {
	.custom-profile-form .multi-select{
		font-size: 1.0em;
		width: 90%;
	}
	.custom-profile-form .selected_textarea{
		width: 98%;
	}
	.custom-profile-form textarea{
		width: 98%;
	}
	.save-btn{
		
	}
}

/**** 自己分析ページ ****/
.self-analysis-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.self-analysis-form h2 {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}
.self-analysis-form p {
	font-size: 16px;
    color: #555;
	text-align: center; 
}

.self-analysis-form label {
    font-weight: bold;
}

.self-analysis-form textarea,
.self-analysis-form input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
	resize: vertical;
	font-size: 14px;
    line-height: 1.3;
}


/* ラジオボタン全体を囲むグループのスタイル */
.custom-radio-group {
  display: flex; 
  flex-wrap: wrap; 
  gap: 15px;
}

/* ラジオボタンを非表示にする */
.custom-radio-group input[type="radio"] {
  display: none;
}

/* ラジオボタン全体を囲むラベルのスタイル */
.custom-radio {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  color: #333;
}

/* 外枠の円形デザイン */
.custom-radio::before {
  content: '';
  width: 15px;
  height: 15px;
  border: 2px solid #4e6b53;
  border-radius: 50%;
  position: absolute;
  left: 3.9px;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  transition: all 0.3s ease;
}

/* 選択された状態の● */
.custom-radio::after {
  content: '';
  width: 12px;
  height: 12px;
  background-color: #4e6b53;
  border-radius: 50%;
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ラジオボタンが選択された状態 */
.custom-radio-group input[type="radio"]:checked + label.custom-radio::after {
  opacity: 1;
}

.custom-radio-group input[type="radio"]:checked + label.custom-radio::before {
  border-color: #4e6b53;
}

/* テキストラベルのスタイル */
.custom-radio span {
  transition: color 0.3s ease;
  font-weight: normal;
}

.custom-radio-group input[type="radio"]:checked + label.custom-radio span {
  color: #4e6b53;
}

.four-types-exp a,
.wealth-type-exp a{
	font-size: 12px;
    color: #555;
}
