@charset "utf-8";

/*リセット*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, input, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td, object, embed
{
	margin: 0px; 
	padding: 0px; 
	border: 0px; 
	outline: 0px; 
}

dl, dt, dd, ol, ul, li {
	list-style:none;
}

img {
	border: 0;
}

li {
	list-style: none;
}

input,
button,
textarea,
select,
optgroup,
option {
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
}
b{ font-weight:bold}

/***************************************
 * Global
 ***************************************/

* {
  padding:0;
  margin: 0;
}

html {
  height: 100%;
}

body {
  font-family: 'Lucida Grande',Meiryo, 'Hiragino Kaku Gothic ProN', sans-serif;
  font-size: 14px;
  /* for IE6/7 */
  *font-size:small;
  /* for IE Quirks Mode */
  *font:x-small;
  line-height: 1.5;
  color: #000; 
  width:100%;
  height:100%;
  background:url(../images/back.jpg) no-repeat center center;
  background-size:cover;
  background-attachment:fixed;
}




/***************************************
 * Common
 ***************************************/


.clearfix:after {content: "."; display: block; clear: both; height: 0; visibility: hidden;}
.clearfix { min-height: 1px;}
* html .clearfix { height: 1px; /*¥*//*/ height: auto; overflow: hidden;/**/}

a {
  color: #555555;
  text-decoration:none;
}

img {
  vertical-align: bottom;
}

a:hover  { 
  text-decoration: underline;
}

input, select, textarea {
  font-size: 100%;
}

button {
  padding: 5px 40px;
  border-radius: 5px;
  color: #fff;
  font-size: 90%;
  font-weight: bold;
  cursor: pointer;
}

.element2 {
  display: block;
}


.fl_left{ float:left}
.fl_right{ float:right}

.clear{ clear:both}

/***************************************
 * Layout
 ***************************************/
 
#wrapper {
  width: 100%;
  height:100%;
  position:relative;
  margin: 0;
}

#iphone{
	position:absolute;
	width:446px;
  height: 790px;
	background:url(../images/iphone.png) no-repeat center center/100%;
	top:0;
  left: 0;
  right: 0;
  bottom: 0;
  margin:auto;
  z-index:1000;
}
#iphoneIn{ position:relative;}
#iphoneIn::after{
  content: "";
  width: 120px;
  height: 20px;
  border-radius:0 0 10px 10px;
  background: black;
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}
iframe{
	position: absolute;
    width: 370px;
    height: 749px;
    top: 23px;
    left: 40px;
    border-radius:34px;
    -webkit-border-radius: 34px;
    -moz-border-radius: 34px;
    background: white;
    overflow: auto;
    display: block;
	}
  iframe::after{
    content: "";
    background: white;
  }
/*iframe.rine{background:url(../images/back_iphone.jpg) no-repeat center center; background-size:auto 100%; background-attachment:fixed;}*/

iframe::-webkit-scrollbar{
   display:none;
}

img.start{ position:absolute; left:0; top:0; z-index:1}
img.env{ position:absolute; right:0; top:0; z-index:2}

@media (max-width: 768px) {
  #iphone{
    width: 100%;
    height: 100vh;
    background: #fff;
    position: relative;
  }
  #iphoneIn::after{
    display: none;
  }
  iframe{
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
}