@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Baloo+Bhaina|Lato:300,400');
@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");/*上に行くボタン*/



*{
    margin:0;
    padding:0;
}

a:link{
	text-decoration:none;
    color:#564434;
}
a:visited{
	text-decoration:none;
    color:#564434;
}
a:active{
	text-decoration:none;
    color:red;
}
/*
a:hover{
	text-decoration:underline;
    color:#D3CFB2;
    position:relative;
    top:0px;
    left:0px;
    border-bottom:0.2px solid;
}
*/
body , html {
    padding:0; /*　追加*/
    margin:0; /*　追加*/
    height: 100%;
}
body{
    font:16px/1 /*"Helvetica neue"*/,Helvetica,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","游ゴシック","Yu Gothic","メイリオ",Meiryo,sans-serif;
    background: url(../img/kabegami.png);
    margin:0 auto;
    color: #000;animation: fadeIn 1.3s ease 0s 1 normal;
    -webkit-animation: fadeIn 1.3s ease 0s 1 normal;
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}

}
img{
    vertical-align: bottom;
}
ul{
    list-style-type: none;
}


html{	
/*	background:#ffea98;*/
/*    background:#FFF1B6;*/
    background:#FFF;
}
body{
    width:100%;
}
.wrapper{
    width:100%;
    height:auto;
    }    
header{
    width:100%;
}
header h1:nth-of-type(1)  img{
    visibility: hidden;
    width:0;
    height:0;
}
header h1:nth-of-type(2) img{
    width:100%;
    margin-top:-50px;
}

.appeal{
    width:96%;
    margin:20px auto;
    color:rgba(60,60,60,1);
    text-indent: 1em;
    font-size:16px;
    text-align: justify;
    text-justify: inter-ideograph;
}





@keyframes anime {
  0% {
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    17% {
        opacity: 1;
    }
    25% {
        opacity: 0;
        transform: scale(1.2) ;
         z-index:9;
    }
    100% { opacity: 0 }
}


aside{
    width:54%;
    height:900px;
    float:left;
    position:relative;
}
aside img:nth-of-type(1){
    position:absolute;
    z-index: 100;
    top:-2%;
    right:-8%;
    width:18%;
    height:100%;
    
}
.main_imgBox {
    width:82%;
    height: 240px;
    overflow: hidden;
    position: relative;
    float:right;
}

.main_img {
    z-index:10;
    opacity: 0;
    width: 70%;
    height: 280px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-animation: anime 36s 0s infinite;
    animation: anime 36s 0s infinite; }

 .main_img:nth-of-type(2) {
      -webkit-animation-delay: 6s;
      animation-delay: 6s; }

    .main_img:nth-of-type(3) {
      -webkit-animation-delay: 12s;
      animation-delay: 12s; }

    .main_img:nth-of-type(4) {
      -webkit-animation-delay: 18s;
      animation-delay: 18s; }

    .main_img:nth-of-type(5) {
      -webkit-animation-delay: 24s;
      animation-delay: 24s; }

    .main_img:nth-of-type(6) {
      -webkit-animation-delay: 30s;
      animation-delay: 30s; }

/*

.main_imgBox_two {
    width:50%;
    height: 240px;
    overflow: hidden;
    position: relative;
    margin:50px 0 0 41%
}
*/



h2:nth-of-type(1){
    width:40%;
    margin:0 auto;
}

aside h2{
    padding:20px 0 0 20px;
    float:right;
}
aside iframe{
    width:66%;
    float:right;
    margin: 1% -10px 0;
    font-size:14px;
    border:1px solid rgba(180,180,180,.8);
    z-index:600;
}
aside iframe{
    width:65%;
    float:right;
    margin: 1% 10px 0 x;
    font-size:15px;
}


.right{
    float:left;
    width:31%;
    height:900px;
    overflow:hidden;
}
.pic-one{
    position: relative;
}
.right img:nth-of-type(1){
    opacity: .4;
    width:90%;
}

.right img:nth-of-type(2){
    position: absolute;
    width:10.3%;
    height: 150%;
    top:0;
    left:0;
}
main{
/*    float:left;*/
    clear:both;
    width:62%;
    margin:0px auto;
}

main h1{
   font-size:16px;
   color:blue;
   margin:0 auto;
}

main h2 {
    width: 180px;
}
main h2:nth-of-type(1) {
    width: 180px;
    float:left;
    margin-bottom:20px;
}
main p:nth-of-type(1) {
    clear:both;
    margin:20px 0 0 2.5em;
    margin-bottom:20px;
}

main h2 img{
    width: 240px;
    height:80px;
}
main h2:nth-of-type(3) img{
    width: 248px;
    height:82px;
    margin-left:-4px;
}
main h3{
    margin:20px 1em 10px;
}
.bacic-price{
    width:96%;
    margin:16px 0 20px 2em;
    padding:10px 0 6px;
    color:rgba(50,100,100,1);
/*    border-bottom: dashed 2px rgba(50,100,100,1);*/
    font-size:21px;
    font-weight:600;
    box-shadow: 0 2px 3px 1px 
}
main ul img{
    width:60%;
    margin:50px 6% 20px;
}
main ul li{
    margin-left:5em;
}
main ul li:last-child{
    margin-top:12px;
}
main h2:nth-of-type(4) img{
    margin-top:20px;
}
main p{
    width:96%;
    margin:20px auto;
    color:rgba(60,60,60,1);
    text-indent: 1em;
    font-size:16px;
    text-align: justify;
    text-justify: inter-ideograph;
}

footer{
    clear:both;
/*    float:left;*/
    width:100%;
    height:120px;
    background:rgba(50,50,50,1);
    margin:50px 0 0;
    color:aliceblue;
    color:rgba(100,200,200,1);
    color:rgba(180,200,200,1);
}
footer p{
    text-align:center;
    padding:18px 0 0;
}
footer .copyright a{    
/*    color:rgba(100,200,200,1);*/
    color:rgba(255,200,200,1);
    color:rgba(255,255,255,1);
	transition:.3s;
}



#backtop{
	display: block;
	position: fixed;
	z-index: 200;
	right: 20px;
	bottom: -40px;
	width: 40px;
	line-height: 40px;
	font-size: 20px;
	text-align: center;
	color: #fff;
	background: rgba(155,155,155,.7);
	border-radius: 100%;
	transition:.3s;
	opacity: 0;
	visibility: hidden;	
}
#backtop.visible{
	opacity:1;
	bottom:20px;
	visibility:visible;
}








@media(max-width:750px){

header h1:nth-of-type(1)  img{
    visibility: visible;
    width:100%;
    height:auto;
}
header h1:nth-of-type(2) img{
    width:100%;
    margin-top:50px;
}   
.left{
    float:left;
    width:70%;
}
.right{
    float:left;
    width:96%;
    margin-left:10px;
}
main ul li{
    margin-left:-20px;
}
aside h2{
    clear:both;
    width:100%;
    padding:20px 0;
}
aside iframe{
    width:100%;
    float:right;
    margin: 1% -10px 0;
    font-size:14px;
}

main{
/*    float:left;*/
    clear:both;
    width:90%;
    margin:0px auto;
}
.bacic-price{
    width:100%;
    margin:16px 0 0 0;
    color:rgba(50,100,100,1);
/*    border-bottom: dashed 2px rgba(50,100,100,1);*/
    font-size:18px;
    font-weight:600;
    box-shadow: 0 2px 3px 1px 
}    

    
    
    
    
    

aside{
    width:54%;
    height:300px;
    float:left;
    position:relative;
}
aside img:nth-of-type(1){
    position:absolute;
    z-index: 100;
    top:-2%;
    right:-8%;
    width:18%;
    height:100%;
    
}
.main_imgBox {
    width:96%;
    height: 240px;
    overflow: hidden;
    position: relative;
    float:right;
}

.main_img {
    z-index:10;
    opacity: 0;
    width: 70%;
    height: 280px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-animation: anime 36s 0s infinite;
    animation: anime 36s 0s infinite; }

 .main_img:nth-of-type(2) {
      -webkit-animation-delay: 6s;
      animation-delay: 6s; }

    .main_img:nth-of-type(3) {
      -webkit-animation-delay: 12s;
      animation-delay: 12s; }

    .main_img:nth-of-type(4) {
      -webkit-animation-delay: 18s;
      animation-delay: 18s; }

    .main_img:nth-of-type(5) {
      -webkit-animation-delay: 24s;
      animation-delay: 24s; }

    .main_img:nth-of-type(6) {
      -webkit-animation-delay: 30s;
      animation-delay: 30s; }

/*

.main_imgBox_two {
    width:50%;
    height: 240px;
    overflow: hidden;
    position: relative;
    margin:50px 0 0 41%
}
*/
 

    
h2:nth-of-type(1){
    width:40%;
    margin:0 auto;
}

aside {
    position:relative;
}
aside h2:nth-of-type(1){
    position:absolute;
    top:240px;
    left:30%;
    width:100%;
}
aside iframe{
    position:absolute;
    top:290px;
    left:20%;
    width:160%;
}


.right{
    float:left;
    width:37%;
    height:200px;
    overflow:hidden;
}
.pic-one{
    position: relative;
}
.right img:nth-of-type(1){
    opacity: .4;
    width:90%;
}

.right img:nth-of-type(2){
    position: absolute;
    width:10.3%;
    height: 150%;
    top:0;
    left:0;
}
main{
/*    float:left;*/
    clear:both;
    width:82%;
    margin:850px auto 0;
}

main h2 {
    width: 220px;
    height:96%;
}
main h2:nth-of-type(1) {
    width: 180px;
    float:left;
    margin-bottom:20px;
}
main p:nth-of-type(1) {
    clear:both;
    margin:20px 0 0 1em;
    margin-bottom:20px;
}

main h2 img{
    width: 220px;
}
main h2:nth-of-type(3) img{
    width: 228px;
    height:100%;
    margin-left:-5px;
}
main ul img{
    width:100%;
    margin:50px auto 20px;
}
main h3{
    margin:20px 1em 10px;
    font-size:16px;
}
.bacic-price{
    width:100%;
    margin:16px 0 20px .5em;
    padding:10px 0 6px;
    color:rgba(50,100,100,1);
/*    border-bottom: dashed 2px rgba(50,100,100,1);*/
    font-size:18px;
    font-weight:600;
    box-shadow: 0 2px 3px 1px 
}
main ul li{
    margin-left:2em;
    font-size:14px;
}
main ul li:last-child{
    margin-top:12px;
}
main h2:nth-of-type(4) img{
    margin-top:20px;
}
main p{
    width:96%;
    margin:20px auto;
    color:rgba(60,60,60,1);
    text-indent: 1em;
    font-size:16px;
    text-align: justify;
    text-justify: inter-ideograph;
}
   
footer{
    float:left;    
    }
    
}