/*----------------------------------------
  カメラページ（AR画面）専用スタイル
----------------------------------------*/

body#camera {
  font-family: sans-serif;
}

/* 「カメラを閉じる」メニュー */
#menu {
  width: 100% !important;
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1500;
  margin: 0 auto;
  padding: 30px 0 12px 0;
  text-align: center !important;
}

#menu li {
  flex: 1;
  max-width: 200px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

#menu li button {
  border-style: none;
  background-color: transparent;
}

#menu li .btn,
#menu li button {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  position: relative;
  display: block;
  width: 100%;
  padding: 8px 0px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  color: #212529;
  border-radius: 0.5rem;
}

body#camera #menu li .btn-c {
  position: relative;
  color: #fff;
  background: #32b16c;
  box-shadow: 0 3px 0 #2c9d60;
  text-shadow: 1px 1px 2px #2c9d60;
}

#menu li .btn-c:hover,
#menu li .btn-c:active {
  transform: translate(0, 3px);
  background: #38c578;
  box-shadow: 0 2px 0 #2c9d60;
}

/* AR認識結果カード */
.target {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  padding: 12px 16px;
  width: 90%;
  text-align: center;
}
.target h3 {
  margin: 12px 0 8px 0;
  font-size: 18px;
  font-weight: bold;
  color: #212529;
}
.target picture,
.target img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.target p {
  margin: 8px 0 0 0;
  font-size: 16px;
  line-height: 1.4;
  color: #444;
  text-align: left;
}