@charset "UTF-8";
.html {
  overflow: hidden;
  height: 100%; }

.body {
  overflow: hidden;
  height: 100%; }

.main {
  justify-content: center;
  display: flex; }

#modal {
  display: none; }

@media screen and (max-width: 480px) {
  #area {
    margin-top: 25vh;
    margin-right: 100px; }
  #detail {
    position: absolute;
    width: 134px;
    height: 25px;
    margin-left: 250px;
    left: 0px;
    top: 98px;
    border: none;
    opacity: 0.5;
    background: #ece9e9; }
  #detail::after {
    /* 擬似要素で三角アイコンをつくる */
    content: '';
    display: inline-block;
    border-style: solid;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent #bbbbbb;
    display: inline-block;
    top: 15%;
    left: 49%;
    /* 矢印アイコンの位置を設定 */
    position: absolute;
    transform: rotate(90deg); }
  #message {
    width: 250px;
    height: 20px;
    text-align: center;
    margin-bottom: 5px;
    font-size: 13px;
    user-select: none; }
  #emojiList {
    transition: 0.4s;
    position: absolute;
    text-align: left;
    border: solid;
    border-width: thin;
    background: white;
    user-select: none;
    width: 132px;
    height: 88px;
    margin-left: 250px;
    left: 0px;
    top: 10px; }
  #emojiList button {
    width: 44px;
    height: 44px;
    font-size: 15px;
    border: none;
    background: none;
    user-select: none; }
  #coordinate {
    width: 250px;
    height: 250px;
    top: 0;
    left: 0;
    background-size: cover;
    border: solid;
    border-width: thin; }
  #modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: none;
    background-color: rgba(0, 0, 0, 0.5); }
  #modal-content {
    font-size: 18px;
    background-color: white;
    width: 300px;
    height: 200px;
    margin: 60% auto; }
  #modal-text {
    text-align: center;
    padding-top: 50px;
    font-size: 18px; }
  #modal-content button {
    width: 110px;
    height: 60px;
    font-size: large;
    line-height: 30px;
    margin-top: 20px;
    margin-left: 26px;
    border-width: 1px;
    border-color: #868686;
    background-color: rgba(224, 224, 224, 0.5); }
  #modal-content button:active {
    background-color: #aaaaaa;
    border-bottom: none;
    -webkit-transform: translate(0, 2px);
    -moz-transform: translate(0, 2px);
    transform: translate(0, 2px); } }

@media screen and (min-width: 481px) {
  #emojiList button:hover {
    background-color: #e7e5e5c9; }
  #emojiList button:active {
    background-color: #aaaaaa; }
  #area {
    margin-top: 5vh; }
  #message {
    width: 500px;
    height: 20px;
    text-align: center;
    margin-bottom: 10px;
    font-size: 18px;
    user-select: none; }
  #detail {
    position: absolute;
    width: 320px;
    height: 20px;
    top: 90px;
    border: none;
    opacity: 0.5;
    background: #ece9e9; }
  #detail::after {
    /* 擬似要素で三角アイコンをつくる */
    content: '';
    display: inline-block;
    border-style: solid;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent #bbbbbb;
    display: inline-block;
    top: 15%;
    left: 49%;
    /* 矢印アイコンの位置を設定 */
    position: absolute;
    transform: rotate(90deg); }
  #detail:hover {
    background-color: rgba(224, 221, 221, 0.829); }
  #emojiList {
    transition: 0.4s;
    position: absolute;
    border: solid;
    border-width: thin;
    background: white;
    user-select: none;
    width: 320px;
    height: 80px;
    top: 10px; }
  #emojiList button {
    width: 40px;
    height: 40px;
    font-size: 25px;
    border: none;
    background: none;
    user-select: none; }
  #coordinate {
    width: 500px;
    height: 500px;
    top: 0;
    left: 0;
    background-size: cover;
    border: solid;
    border-width: thin; } }

