#photo-upload-popup {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 1000;
    width: 90%; /* ポップアップの幅を調整 */
    max-width: 1200px; /* 最大幅を設定 */
}

/* 画像アップロード */
#upload-area {
    cursor: pointer;
    background-color: #f0f0f0; /* 軽いグレーの背景色 */
    border: 2px dashed #ccc; /* ダッシュ線のボーダー */
    padding: 20px; /* パディングを増やす */
    margin-top: 10px; /* 上マージンを設定 */
    min-height: 150px; /* 高さを調整 */
    position: relative; /* 疑似要素の配置のために相対位置を設定 */
    display: flex; /* Flexboxを使用 */
    justify-content: center; /* 中央揃え */
    align-items: center; /* アイテムを垂直中央に配置 */
    text-align: center; /* テキストを中央揃え */
    font-size: 13px; /* フォントサイズを調整 */
    color: #666; /* テキストの色 */
}

#upload-area:hover {
    background-color: #e9e9e9; /* ホバー時の背景色を少し暗く */
}



#popup-content .columns {
    display: flex;
    justify-content: space-between;
}

#popup-content .column {
    flex: 1;
    margin: 10px;
}

#popup-content .left, #popup-content .right {
    width: 48%; /* カラムの幅を調整 */
}

#popup-content .row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#popup-content .row button {
    margin: 0 10px;
}

#drop-zone, #image-list {
    border: 2px dashed #ccc;
    font-size:13px;
    padding: 10px;
    margin-top: 10px;
    min-height: 100px; /* ドロップゾーンとアップロードエリアの最小高さ */
}

#upload-area {
    cursor: pointer;
}

#hidden-file-input {
    display: none; /* ファイルインプットを隠す */
}

#close-popup {
    background-color: #cccccc; /* グレー */
    color: white; /* テキスト色を白に */
    border: none; /* 境界線を削除 */
    padding: 10px 20px; /* パディングを調整 */
    margin-top: 10px; /* 上マージンを設定 */
    cursor: pointer; /* カーソルをポインターに設定 */
    border-radius: 5px; /* 角を丸く */
}

#trigger-file-input {
    background-color: #ff9900; /* オレンジ */
    color: white; /* テキスト色を白に */
    border: none; /* 境界線を削除 */
    padding: 10px 20px; /* パディングを調整 */
    cursor: pointer; /* カーソルをポインターに設定 */
    border-radius: 5px; /* 角を丸く */
    margin-right: 10px; /* 右マージンを設定 */
}

/* ボタンがホバーされた時のスタイル */
#close-popup:hover, #trigger-file-input:hover {
    opacity: 0.8; /* ホバー時の透明度を下げる */
}

/* 閉じるボタンの追加スタイル（必要に応じて） */
#close-popup {
    margin-left: auto; /* 左マージンを自動調整 */
    display: block; /* ブロックレベル要素として表示 */
}
