/* ---- reset ------*/
html, body, div, a {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline; }

html {
  line-height: 1; }

*html hr {
   display :list-item;
   width:0;
   margin-left:-10px;
   list-style :url(../images/line.gif) inside;
}

hr {
   border:0;
   height: 30px;
   background:url(../images/line.gif) 50% 0  repeat;
}

/* --- basic styles ----*/

body {
  font-family: 'Indie Flower', cursive;
  font-size: 1.0em;
  background: #f2f2f2;
  text-shadow: 0 1px 0 white; }

a {
  color: #818284;
  text-decoration: underline;
  text-align: right;
}
h1 {
    font-size: 1.4em;
  font-family: 'Indie Flower', cursive;
    font-weight: 100;
    margin-top: 5px;
    margin-bottom: 0;
    color: inherit;
    text-rendering: optimizelegibility;
}

/*------- bgmaximage -------------*/
#bg {
  z-index: -1;
  position:fixed;
}

  /*------- clearfix -------------*/
.clearfix:after {
    content: ".";
    height: 0;
    clear: both;
    display: block;
    visibility: hidden;
/*
 font-size: 0.1em;
 line-height: 0;
 */
}

.clearfix {
    zoom: 1;
    display: inline-block;
    display: block;
}

#wrapper {
	width: 620px;
	max-height: 800px;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	padding-top: 10px;
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom: 10px;
	position: relative;
	margin-bottom: 10px;
	background-color: #ffffff;
	color: #000000;
	background-color: rgba(255,255,255,0.5);
	min-width: 0px;
}

/* --- for all three examples ----*/
.nav {
	font-size: 1.4em;
	text-align: center;
	overflow: hidden;
	margin: 0.5em auto;
	width: 480px;
	position: relative;
}
  .nav a {
    display: block;
    position: relative;
		float: left;
		padding: 1em 0 2em;
    width: 25%;
		text-decoration: none;
	  color: #393939;
	  -webkit-transition: .7s;
	  -moz-transition: .7s;
	  -o-transition: .7s;
	  -ms-transition: .7s;
	  transition: .7s; }
	  .nav a:hover {
	    color: #c6342e; }

.effect {
	position: absolute;
  left: -12.5%;
  -webkit-transition: 0.7s ease-in-out;
  -moz-transition: 0.7s ease-in-out;
  -o-transition: 0.7s ease-in-out;
  -ms-transition: 0.7s ease-in-out;
  transition: 0.7s ease-in-out; }

	.nav a:nth-child(1):hover ~ .effect {
	  left: 12.5%; }
	.nav a:nth-child(2):hover ~ .effect {
	  left: 37.5%; }
	.nav a:nth-child(3):hover ~ .effect {
	  left: 62.5%; }

/* ----- hiyoko effect -----*/
.ph-heart-nav .effect, .ph-heart-nav a:after, .ph-heart-nav a:before {
  background: url('../images/splite.png') no-repeat; }
.ph-heart-nav .effect {
  position: absolute;
  bottom: 5px;
  background-position: 0 0;
  height: 35px;
  width: 30px;
  margin-left:-30px; }

.ph-heart-nav a:before {
  content: "";
  display: block;
  position: absolute;
  left: 80%;
  bottom: 3px;
  background-position: -30px 40px;
  height: 100px;
  width: 100px;
  margin-left: -5px; }

.ph-heart-nav a:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 1;
  background-position: -150px 0;
  height: 35px;
  width: 30px; }

/* ----- iframe -----*/
#iframe {
	font-size: 75%;
	color: #000000;
	line-height: 1.4;
	width: 450px;
	margin-top: 10px;
	margin-right: 10px;
	margin-left: 10px;
}

#iframe h2 {
  font-family: 'Indie Flower', cursive;
  color: #000000;
  font-size: 90%;
}

.scroll_area {
  height: 560px;
  width: 480px;
  overflow: auto;
  border:1px solid;
  margin: 0 auto; 
  background-color: #ffffff;
}

.boxContainer {
  overflow: hidden;
}

/* clearfix */
.boxContainer:before,
.boxContainer:after {
    content: "";
    display: table;
}
 
.boxContainer:after {
    clear: both;
}
 
/* For IE 6/7 (trigger hasLayout) */
.boxContainer {
    zoom: 1;
}
  
hr.style-three {
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: #999;
}

hr.style-two {
    border: 0;
    background-image: url(line.gif);
}
/* ----- footer -----*/
footer {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  font-family: "Segoe UI Light","Helvetica Neue","Segoe UI","Segoe WP",sans-serif;
  font-size: 70%;
}
