@charset "utf-8";

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

body {
  line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display:block;
}

nav ul {
  list-style:none;
}

blockquote, q {
  quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}

a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

/* change colours to suit your needs */
ins {
  background-color:#ff9;
  color:#000;
  text-decoration:none;
}

/* change colours to suit your needs */
mark {
  background-color:#ff9;
  color:#000;
  font-style:italic;
  font-weight:bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom:1px dotted;
  cursor:help;
}

table {
  border-collapse:collapse;
  border-spacing:0;
}

/* change border colour to suit your needs */
hr {
  display:block;
  height:1px;
  border:0;
  border-top:1px solid #cccccc;
  margin:1em 0;
  padding:0;
}

input, select {
  vertical-align:middle;
}

/*============================================================================*/

body {
  background-color: #f6f2e6;
  font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro", Osaka, "MS PGothic", sans-serif;
  font-size: 16px;
  line-height: 1;
}

#wrapper {
  width: 946px;
  padding: 30px 0;
  margin: 0 auto;
}

/* ヘッダー */
#content-head {
  margin-bottom: 20px;
    position: relative;
}
#content-head::before,
#content-head::after {
  content: "";
  display: table;
}
#content-head::after {
  clear: both;
}

#content-head > h1 {
  float: left;
}

#links {
    float: right;
    width: 556px;
    height: 46px;
    margin: 20px 0 0;
    list-style: none;
    background: url(../img/links-bg.png) no-repeat;
}
#links::before,
#links::after {
  content: "";
  display: table;
}
#links::after {
  clear: both;
}

#links li {
  float: left;
  height: 100%;
}
#links li:nth-child(1) {
  width: 87px;
}
#links li:nth-child(2) {
  width: 187px;
}
#links li:nth-child(3) {
  width: 176px;
}
#links li:nth-child(4) {
    width: 106px;
}

#links a {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(../img/links-bg.png);
  background-repeat: no-repeat;
  background-position: 0 46px;
  overflow: hidden;
  text-indent: 105%;
  white-space: nowrap;
}
#links li:nth-child(1) a:hover {
  background-position: 0 100%;
}
#links li:nth-child(2) a:hover {
  background-position: -87px 100%;
}
#links li:nth-child(3) a:hover {
  background-position: -274px 100%;
}
#links li:nth-child(4) a:hover {
    background-position: -450px 100%;
}

/* Cookie削除ボタン */
#reset-button {
    width: 160px;
    height: 44px;
    margin-top: 20px;
    border: none;
    outline: none;
    background: url(../img/reset-button.png) no-repeat transparent;
/*
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
*/
    cursor: pointer;
    position: absolute;
    bottom: -90px;
    right: 25px;
    z-index: 1;
}
#reset-button:hover {
  background-position: 100% 100%;
}
