/* `XHTML, HTML4, HTML5 Reset
----------------------------------------------------------------------------------------------------*/

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
dialog,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
font,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
hr,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
main,
mark,
menu,
meter,
nav,
object,
ol,
output,
p,
pre,
progress,
q,
rp,
rt,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video,
xmp {
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 100%;
}

html,
body {
  height: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
/*
  Override the default (display: inline) for
  browsers that do not recognize HTML5 tags.

  IE8 (and lower) requires a shiv:
  https://ejohn.org/blog/html5-shiv
*/
  display: block;
}

b,
strong {
/*
  Makes browsers agree.
  IE + Opera = font-weight: bold.
  Gecko + WebKit = font-weight: bolder.
*/
  font-weight: bold;
}

img {
  color: transparent;
  font-size: 0;
  vertical-align: middle;
/*
  For IE.
  https://css-tricks.com/ie-fix-bicubic-scaling-for-images
*/
  -ms-interpolation-mode: bicubic;
}

ol,
ul {
  list-style: none;
}

li {
/*
  For IE6 + IE7:

  "display: list-item" keeps bullets from
  disappearing if hasLayout is triggered.
*/
  display: list-item;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td,
caption {
  font-weight: normal;
  vertical-align: top;
  text-align: left;
}

q {
  quotes: none;
}

q:before,
q:after {
  content: "";
  content: none;
}

sub,
sup,
small {
  font-size: 75%;
}

sub,
sup {
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

svg {
/*
  For IE9. Without, occasionally draws shapes
  outside the boundaries of <svg> rectangle.
*/
  overflow: hidden;
}

/*
=====================================
=====================================
=====================================*/
* {
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
	color:  #1f1f1f;
}

body{
	background: url(../img/cycle_3.jpg);
	font-family: Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;	
	overflow: hidden;
}

li {
	list-style-type: none;
	background-color: #1f1f1f;
	margin-top: 10px;
}

li:hover {
	background-color: #999;
}

/*
=====================================
=====================================
=====================================*/


.top {
	width: 100%;
	height: 10%;
}
.left {
	width: 20%;
	height: 50%;
	float: left;
}

.right {
	width: 20%;
	height: 50%;
	float: right;
}


.bottom {
	width: 100%;
	height: 10%;
	clear: both;
}

/*
=====================================
=====================================
=====================================*/
#animation {
	width: 517px;
	height: 382px;
	position: fixed;
	top: 180px;
	left:300px;

}

#container {
	color: #1f1f1f;
	width: 60%;
	height: 70%;
	margin: 0 auto;
	overflow: hidden;
	float: left;
}

.nav_about, .nav_portfolio, .nav_contact {
	width: 200px;
	height: 100px;
	position: absolute;
	line-height: 28px;
	color: white;
	opacity: .8;
	display: none;
	text-align: center;
	cursor: pointer;
	font-family: 'Oswald', sans-serif;
	letter-spacing: 1px;
}



.nav_about {
	float: right;
	bottom: 18%;
	right: 0px;
}

.nav_portfolio {
	float: right;
	top: 5%;
	right: 0px;
}

.nav_contact {
	float: left;
	bottom: 18%;
	left: 0px;
}


li.nav_a:hover {
	background-color: #ccc;
}


.menu_p, .menu_a {
	display: none;
	font-family: 'Oswald', sans-serif;
	border-top: 1px dotted #1f1f1f;
	cursor: pointer;
}


.menu_a, .menu_p {
	position: absolute;
	right:15px;
	bottom: 0px;
}


.menu_c {
	position: absolute;
	top: 5px;
	left:15px;
	font-family: 'Oswald', sans-serif;
	border-bottom: 1px dotted white;
	cursor: pointer;
}


.back { 
	font-family: 'Oswald', sans-serif;
	display: none;
	font-size: 24px;
	position: absolute;
	left: 20px;
	top: 10px;

}

.back_w { 
	font-family: 'Oswald', sans-serif;
	color: white;
	display: none;
	font-size: 24px;
	position: absolute;
	bottom: 10px;
	right: 20px;
}

.back:hover { 
	color: #999;
}

.back_w:hover { 
	color: #999;
}

.a {
	background-color: #002d4c;
	color: white;
	width: 33%;
	height: 33%;
	float: left;
	opacity: 0;
}

iframe.about, iframe.portfolio, iframe.contact {
	display: none;
	width: 100%;
	height: 100%;
}

.b_portfolio {
	background-color: white;
	font-size: 40px;
	float: left;
	width: 34%;
	height: 33%;
	text-align: right;
	position: relative;
	opacity: 0;
}

.c {
	background-color: #002d4c;
	color: white;
	width: 33%;
	height: 33%;
	float: right;
	opacity: 0;
}

.d_about{
	background-color: white;
	font-size: 40px;
	width: 33%;
	height: 34%;
	text-align: right;
	float: left;
	position: relative;
	opacity: 0;

}

.e_center {
	color: #1f1f1f;
	width: 34%;
	height: 34%;
    opacity: 0.8;
    float: left;
    text-align:center;
    padding: 30px;
}

button {
	width:100%;
	height: 100%;
	background: transparent;
	color: #1f1f1f;
	letter-spacing: 2px;
	cursor: pointer;
	font-weight: bolder;
	border: none;
	z-index: 999;
}

button:hover {
	background: #1f1f1f;
	color: white;
}


.f {
	background-color: white;
	width: 33%;
	height: 34%;
	float: right;
	opacity: 0;

}

.g {
	color: white;
	width: 33%;
	height: 33%;
	float: left;
	opacity: 0;
}

.h {
	width: 34%;
	height: 33%;
	float: left;
	opacity: 0;
}

.i_contact {
	background-color: #002d4c;
	color: white;
	width: 33%;
	height: 34%;
	font-size: 40px;
	position: relative;
	float: right;
	opacity: 0;
}



/**************************************
				portfolio
***************************************/


footer {
	width: 100%;
	height: 10%;
	color: white;
	background-color: #1f1f1f;
	font-size: 12px;
	text-align: center;
	padding: 25px 0;
	opacity: .9;
	clear: both;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}