@charset "UTF-8";

/* global */

@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

body {
  background: white url(./images/bg-base.png) top center no-repeat fixed;
  background-size: 100% auto;
  font-family: "メイリオ", "Noto Sans Japanese", sans-serif;
  margin: 1em 0 0;
  padding: 0 0 1em 0;
  position: relative;
}

a:link {
  color: rgb(200, 0, 128);
}

a:visited {
  color: rgb(128, 0, 60);
}

a:link img,
a:visited img {
  border: none;
}

em {
  font-style: normal;
  font-weight: bold;
}

strong {
  color: rgb(192, 0, 96);
  font-style: normal;
  font-weight: bold;
}

dl dt {
  font-weight: bold;
  margin-top: 1em;
}

dl dt + dt {
  margin-top: 0;
}

dl dd {
  margin-left: 1em;
  padding: 0;
}

span.note {
  display: block;
  font-size: 90%;
}

header, main, footer {
  font-size: small;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  width: auto;
}

header, main, nav, footer {
  text-shadow: white 0 0 2px,
               white 0 0 2px,
               white 0 0 2px,
               white 0 0 2px,
               white 0 0 2px,
               white 0 0 2px,
               white 0 0 2px,
               white 0 0 2px,
               white 0 0 2px,
               white 0 0 2px;
}
header ::-moz-selection,
main ::-moz-selection,
nav ::-moz-selection,
footer ::-moz-selection {
  background: #a8004b;
  color: white;
  text-shadow: none;
}
header ::selection,
main ::selection,
nav ::selection,
footer ::selection {
  background: #a8004b;
  color: white;
  text-shadow: none;
}


h1 {
  font-size: medium;
  font-weight: normal;
  text-align: center;
}




a.button {
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#cc6191+0,c14778+50,a8004b+51,e03873+100 */
background: #cc6191; /* Old browsers */
background: -moz-linear-gradient(-45deg,  #cc6191 0%, #c14778 50%, #a8004b 51%, #e03873 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg,  #cc6191 0%,#c14778 50%,#a8004b 51%,#e03873 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg,  #cc6191 0%,#c14778 50%,#a8004b 51%,#e03873 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc6191', endColorstr='#e03873',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

  border: 2px outset rgb(128, 0, 90);
  border-radius: 0.5em;
  box-shadow: rgba(128, 0, 90, 0.5) 0 0 0.5em;
  clear: both;
  color: white;
  display: block;
  font-size: 200%;
  line-height: 1;
  margin: 0.5em auto 0;
  max-width: 100%;
  padding: 0.35em 0;
  text-align: center;
  text-decoration: none;
  text-shadow: rgb(128, 0, 90) 0 0 2px,
               rgb(128, 0, 90) 0 0 2px,
               rgb(128, 0, 90) 0 0 2px;
}

a.button em {
  display: block;
  font-size: 1.5em;
  font-weight: normal;
}

a.button:hover {
  opacity: 0.75;
}


code {
  font: monospace;
  white-space: pre-wrap;
  border: 1px solid;
  background: rgba(255, 221, 204, .5);
  text-shadow: none;
  padding: 0.22em;
}

pre code {
  display: block;
  padding: 0.5em;
  width: 80ex;
}


/* navigation menu */

#menu {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: rgba(128, 0, 90, 0.5) 0 0 0.5em;
  font-size: 90%;
  line-height: 1;
  margin: 0 0 1em;
  padding: 0 20%;
  position: relative;
  text-align: center;
}

#menu h2 {
  display: none;
}

#menu,
#menu a:link,
#menu a:visited {
  color: rgb(210, 0, 100);
  text-decoration: none;
}

#menu ul {
  list-style: none;
  margin: 0;
  padding: 0.5em 0;
  position: relative;
  z-index: 1000;
}

#menu ul li {
  color: rgb(255, 140, 200);
  border-style: solid;
  border-width: 0 1px 0 0;
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0 3%;
  white-space: pre;
}
#menu ul li:first-child {
  padding-left: 0;
}
#menu ul li:last-child {
  border: none;
  padding-right: 0;
}


/* footer */

footer {
  clear: both;
  margin: 0;
  padding: 0 20%;
  position: relative;
}

address {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 1em;
  box-shadow: rgba(128, 0, 90, 0.1) 0 0 0.5em;
  clear: both;
  font-style: normal;
  margin: 1em 0 0;
  padding: 1em;
  text-align: center;
}


/* small-screen */

@media (max-width: 600px) {
  #menu {
    font-size: 95%;
    padding-left: 0;
    padding-right: 0;
  }

  #menu ul li {
    padding: 0 1%;
  }
  #menu ul li:first-child {
    padding-left: 0;
  }
  #menu ul li:last-child {
    border: none;
    padding-right: 0;
  }

  header, main, footer {
    font-size: medium;
  }

  footer {
    padding-left: 1em;
    padding-right: 1em;
  }
}


/* share buttons */

section.sharebuttons h2 {
  display: none;
}

iframe[name^="oauth"] {
  position: fixed !important;
  top: -100 !important;
}
