/* カメラの巨大ボタン */
.camera-btn{
  margin: 24px auto 0;
  display: grid;
  place-items: center;
  width: min(86vw, 380px);
  aspect-ratio: 1 / 0.75;          /* 横長のカメラに合う比率（適宜調整） */
  border-radius: 28px;
  background: #fff;
  text-decoration: none;
  outline: none;

  /* 影とタップ感 */
  transition: transform .06s ease, box-shadow .06s ease;
}
.camera-btn:active{
  transform: translateY(1px);
  box-shadow: 0 1px 0 #00000012;
}
/* キーボードフォーカス対応 */
.camera-btn:focus-visible{
  box-shadow: 0 0 0 4px #000, 0 2px 0 #00000018;
}

/* アイコン画像を大きく中央に */
.camera-icon{
  width: 60%;
  display: block;
  margin: 5px;
}

/* ===== アイコン付きボタン ===== */
.icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50%;
  aspect-ratio: 3/2;
  gap: 4px;           /* アイコンと文字の間隔 */
  padding: 5px 10px;


  border: #000 2px solid;
  border-radius: 10px;

  /* 影とタップ感 */
  transition: transform .06s ease, box-shadow .06s ease;
}

.btn-icon {
  height: 80%;
  display: block;
}

    /* ==== 4枚のプレビューグリッド ==== */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-width: 430px;
  margin: 20px auto 16px;
}
.preview-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #000;
}
/*プレビューで選択されているImgのスタイル*/
.preview-grid .focused
{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 5px solid #000;
}

/*フォームエリアの要素*/

.field
{
  gap: 4px;
  display: flex;
  flex-direction: column;
}

/*タグ入力スペースのスタイル*/
.grid
{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.tags
{
  display: flex;
  justify-content: center;
}

.tags[data-active="true"]
{
  background-color: #fff;

  border: #000 4px solid;
}
.tags[data-active="true"] .tag-label
{
  color: #000;
}

.tags[data-active="false"]
{
  background-color: #000;
}

.tags[data-active="false"] .tag-label
{
  color: #fff;
}

.tag-input-area
{
  display: flex;
  gap: 4px;
}

/*表示地図*/
.map{
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;

  /* iOS: 長押し時のシステムメニューを禁止 */
    -webkit-touch-callout: none;
}