@charset "UTF-8";
/*
Description:ぽめちゃんちのメインcss
-------------------------------------------------*/
/* 右上にロゴ(h1#navbtn)、その左にパネル(nav#circlenav) */
#navarea{
  position: fixed;
  top: 60px;
  right: 20px;
  z-index: 1000;
}

/* 触れることだけ示す（見た目は後で） */
#navbtn{
  cursor: pointer;
  width: 160px;
  height: 160px;
  background: #fffafd;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1000;
}

/* パネル：初期は非表示、openで表示。位置はボタンのすぐ左 */
#circlenav{
  position: absolute;
  top: 0;
  right: 50%;          /* 親(#navarea)の右端＝ボタンの左に出す */
  width: 300px;         /* 仮指定 */
  background: #000;
  padding: 8px 12px;
  display: block;
  z-index: 800;
}

/* 縦並びで“ずらっ”と */
#circlenav a{
  display: block;
  padding: 10px 8px;
  text-decoration: none;
  transform-origin: right center;
  position: absolute;
  right: 0;
  width: 0px;
  height: 50px;
  overflow: hidden;
  background: #fffafd;  /* 仮背景 */
}
#circlenav.open a{
  width: 300px;
  height: 50px;
}
#circlenav a:nth-child(1){ top: 55px; transform: rotate(18deg); transition-delay: 0ms;}
#circlenav a:nth-child(2){ top: 55px; transform: rotate(0deg); transition-delay: 40ms;}
#circlenav a:nth-child(3){ top: 55px; transform: rotate(-18deg); transition-delay: 80ms;}
#circlenav a:nth-child(4){ top: 55px; transform: rotate(-36deg); transition-delay: 120ms;}
#circlenav a:nth-child(5){ top: 55px; transform: rotate(-54deg); transition-delay: 160ms;}