html,body {
  font-family: Alegreya Sans;
  /*background: #feeded;*/
  background: url(../img/Web.png) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  height: auto;
}

body header{
  position: relative;
  text-align: center;
  color: #e0ffff;
  font-family: "Hiragino kaku Gothic ProN",Meiryo,sans-serif;
  font-size: 3rem;
  z-index: 5;
}

.menu {
  position: absolute;
  top: 50%;
  left: 3%;
  transform: translateY(-50%) translateX(-50%);
  -webkit- transform: translateY(-50%) translateX(-50%);
  float: left;
  height: 50%;
  background: #a9a9a9;
  width: 3em;
  height: 3em;
  border-radius: 5em;
  /*margin: auto;*/
  /*margin-top: 50%;*/
  /*margin-bottom: 50%;*/
  cursor: pointer;
  border: 1em solid #c0c0c0;
  /*background-image: url(./manhole.png);*/
  z-index: 1000;
}
.menu:after {
  content: "";
  position: absolute;
  top: 1em;
  left: 1em;
  width: 1em;
  height: 0.2em;
  border-top: 0.6em double #fff;
  border-bottom: 0.2em solid #fff;
}
.menu ul {
  list-style: none;
  padding: 0;
}
.menu li {
  width: 7em;
  height: 1.4em;
  padding: 0.1em;
  margin-top: 0.1em;
  text-align: center;
  border-top-right-radius: 0.6em;
  border-bottom-right-radius: 0.5em;
  transition: all 1s;
  background: #c0c0c0;
  opacity: 0;
  z-index: -1;
}
.menu:hover li {
  opacity: 1;
}
/**
 * Add a pseudo element to cover the space
 * between the links. This is so the menu
 * does not lose :hover focus and disappear
 */
.menu:hover ul::before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  display: block;
  left: 50%;
  top: -5.0em;
  /**
   * The pseudo-element is a semi-circle
   * created with CSS. Top, bottom, and right
   * borders are 6.5em (left being 0), and then
   * a border-radius is added to the two corners
   * on the right.
   */
  border-width: 6.5em;
  border-radius: 0 7.5em 7.5em 0;
  border-left: 0;
  border-style: solid;
  /**
   * Have to have a border color for the border
   * to be hoverable. I'm using a very light one
   * so that it looks invisible.
   */
  border-color: rgba(0,0,0,0.01);
  /**
   * Put the psuedo-element behind the links
   * (So they can be clicked on)
   */
  z-index: -1;
  /**
   * Make the cursor default so it looks like
   * nothing is there
   */
  cursor: default;
}
.menu a {
  color: white;
  text-decoration: none;
  /**
   * This is to vertically center the text on the
   * little tab-like things that the text is on.
   */
  line-height: 1.5em;
}
.menu a {
  color: white;
  text-decoration: none;
}
.menu ul {
  transform: rotate(180deg) translateY(-2em);
  transition: 1s all;
}
.menu:hover ul {
  transform: rotate(0deg) translateY(-1em);
}
.menu li:hover {
  background: #cd3e3d;
  z-index: 10;
}

.menu li:nth-of-type(1) {
  transform: rotate(-90deg);
  position: absolute;
  left: -2em;
  top: -5.2em;
}
.menu li:nth-of-type(2) {
  transform: rotate(-45deg);
  position: absolute;
  left: 2em;
  top: -3.5em;
}
.menu li:nth-of-type(3) {
  position: absolute;
  left: 3.6em;
  top: 0.5em;
}
.menu li:nth-of-type(4) {
  transform: rotate(45deg);
  position: absolute;
  left: 2em;
  top: 4.5em;
}
.menu li:nth-of-type(5) {
  transform: rotate(90deg);
  position: absolute;
  left: -2em;
  top: 6.5em;
}

.hint {
  text-align: center;
}

.word span{
  position: absolute;
  top: 14%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  color: white;
  font-weight: bold;
  font-size: 1.5em;
  z-index: 5;
}

.box {
  margin       : auto;
  overflow     : hidden;
  position     : absolute;
  right: 0.5%;
  top: 0;
  width        : 99%;
  height       : 175px;
  background   : #999999;
  border-radius: 50%/100% 100% 0 0;
  transform    : rotate(180deg);
  z-index: 3;
}

.box1 {
  margin       : auto;
  overflow     : hidden;
  position     : absolute;
  bottom: 0;
  right: 0.5%;
  width        : 99%;
  height       : 175px;
  background   : #999999;
  border-radius: 50%/100% 100% 0 0;
  transform    : rotate(0deg);
  z-index: 4;
}

.box0{
  margin-top: 120px;
  align-content: center;
  text-align: center;
}

.cbox {
  margin       : auto;
  overflow     : hidden;
  position     : absolute;
  right: 0;
  top: 0;
  width        : 100%;
  height       : 180px;
  background   : #98fb98;
  border-radius: 50%/100% 100% 0 0;
  transform    : rotate(180deg);
  z-index: 1;
}

.cbox1 {
  margin       : auto;
  overflow     : hidden;
  position     : absolute;
  bottom: 0;
  right: 0;
  width        : 100%;
  height       : 180px;
  background   : #98fb98;
  border-radius: 50%/100% 100% 0 0;
  transform    : rotate(0deg);
  z-index: 2;
}


.mixed {
  -webkit-text-orientation: mixed;
  text-orientation: mixed;
}

/*img.bg {
  min-height: 100%;
  min-width: 1024px;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
@media screen and (max-width: 1024px){
  img.bg {
  left: 50%;
  margin-left: -512px; }
  div#container {
  position: relative;
  z-index: 1;
}*/

div.sample {
width:600px; height:250px;
margin:5px; padding:10px; border:3px solid #98fb98;
background-color:#ffffff;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
z-index: 5;
}

div.sample a:link { color:#65c976; text-decoration: none;}
div.sample a:visited { color:#98fb98;}
div.sample a:hover { color: #abfb98; background-color: #efefef;}

.box1 a:link { color:#65c976; text-decoration: none;}
.box1  a:visited { color:#98fb98; }
.box1  a:hover { color: #abfb98; background-color: #efefef;}
