.toolbar {
	margin: 8px 0 16px;
	display: flex;
	gap: 8px;
}

.status {
  font-weight: bold;
  font-size: 0.95rem;
}

.status-pending {
  color: #d48a00; /* オレンジ系：承認待ち */
}

.status-approved {
  color: #008000; /* 緑：承認済み */
}

.status-rejected {
  color: #c62828; /* 赤：却下 */
}

.status-comment {
  margin-top: 4px;
  margin-left: 8px;
  font-size: 0.9rem;
  color: #c62828;
}

.btn.ghost {
	background: #c62828;
}

.btn.primary {
	background: #1f6feb;
	color: #fff;
	border-color: #1f6feb;
}

.pane {
	display: flex;
	gap: 16px;
	padding: 12px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #f8fafc;
}

.logo-box {
	width: 190px;
}

.logo.ph {
	width: 100%;
	height: 30px;
	display: grid;
	place-items: center;
	background: #0083b8;
	color: #fff;
	border-radius: 8px;
}

.basic {
	flex: 1;
	display: grid;
	gap: 8px;
}

.row {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 8px;
	align-items: center;
}

.field {
	margin: 14px 0;
}

.field>label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	color: #374151;
}

.readonly {
	white-space: pre-wrap;
}

.mt8 {
	margin-top: 8px;
}

.mt16 {
	margin: 10px 0px;
	background-color: #ececec;
}

.note{
font-size: 12px;	
}
.actions {
	margin-top: 16px;
}

.rep-photo-box {
	width: 160px;
}

.rep-photo-box img {
	border: 1px solid #ddd;
	background: #fafafa;
}

.rep-info {
	flex: 1;
	display: grid;
	gap: 8px;
}

.edit-mode{
	background-color: #E8F2FF;
}

.edit-short {
	width: 150px;
	height: 20px;
}

.edit-middle {
	width: 300px;
	height: 20px;
}

.edit-long {
	width: 600px;
	height: 20px;
}

.sns-icon {
	width: 40px;
	height: 40px;
	opacity: 0.8;
	transition: opacity 0.2s;
}

.sns-icon:hover {
	opacity: 1;
}

.btn-submit {
    background-color: #1d72d7;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.btn-submit:hover {
    background-color: #155cab;
}


.ck-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 8px 16px;
}

.ck-item {
	display: flex;
	align-items: center;
	font-size: 13px;
	font-weight: bold;
	gap: 8px;
	padding: 6px 8px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
}

.ck-item input {
	transform: scale(1.1);
}

.small-muted {
	color: #6b7280;
	font-size: 12px;
	margin-bottom: 6px;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.chip {
	background: #eef4ff;
	color: #334155;
	border: 1px solid #cfe2f3;
	padding: 2px 8px;
	border-radius: 9999px;
	font-size: 12px;
}

textarea {
	resize: none;
}

/* ==== ここからスマホ用レイアウト調整 ==== */
@media (max-width: 768px) {

  /* 会社情報 / 代表者情報の枠を縦並びにする */
  .pane {
    flex-direction: column;
    align-items: stretch;
  }

  .logo-box {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
  }

  .logo-box img {
    max-width: 100%;
    height: auto;
  }

  .basic,
  .rep-info {
    display: block;
  }

  /* 「会社名：」「業種：」などを縦並びにする */
  .row {
    grid-template-columns: 1fr;  /* ラベルと値を1カラムに */
    gap: 4px;
  }

  .row .label {
    font-weight: 600;
  }

  /* 編集時の入力幅を画面幅に合わせる */
  textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 業種チェックボックスを1列にしてはみ出し防止 */
  .ck-grid {
    grid-template-columns: 1fr;  /* 1列表示 */
    gap: 6px;
  }

  .ck-item {
    font-size: 14px;
  }
}
/* ==== スマホ用レイアウト調整ここまで ==== */
