@charset "utf-8";

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
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;
  letter-spacing: 0;
  font-size: 100%;
}
html,
body {
  line-height: 1;
}
h1,
h2,
h3,
h4,
h5,
h6,
address,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  font-weight: normal;
  font-style: normal;
}
em {
  font-style: normal;
  font-weight: bold;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
a {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  background: transparent;
}
/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}
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;
}
/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
li,
dt,
dd {
  list-style-type: none;
}
img,
a img {
  vertical-align: bottom;
  -ms-interpolation-mode: bicubic;
}
select {
  vertical-align: text-bottom;
}
label {
  padding: 0 3px 0 0;
  margin: 0;
  cursor: pointer;
}
label input {
  padding: 0;
  margin: 0 2px 0 0;
  vertical-align: middle;
  line-height: 1;
  font-size: 0;
  cursor: pointer;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
tr,
td {
  text-align: left;
  border-spacing: 0;
}
.clearfix:after {
  content: "";
  clear: both;
  display: block;
}

/* logo animetion */

h1 a {
  display: block;
  width: 350px;
  height: 64px;
}
h1.en a {
  width: 476px;
  height: 52px;
}

h1 a iframe {
  width: 350px;
  height: 64px;
  pointer-events: none;
  border: 0;
}
h1.en a iframe {
  width: 476px;
  height: 52px;
}

@media only screen and (max-width: 640px) {
  h1 a {
    position: relative;
    width: 200px;
    height: 36px;
    margin: auto;
  }
  h1.en a {
    position: relative;
    width: 200px;
    height: 22px;
  }

  h1 a iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;

    max-width: 200px;
    max-height: 36px;
  }
  h1.en a iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;

    max-width: 200px;
    max-height: 22px;
  }
}
