@charset "UTF-8";
/* CSS Document */
@import url("./common.css");

/*-----------モバイル用-----------------*/

*{
	margin:0;
}

body{
	background-color: #EFF1F4;
	font-family: -apple-system, blinkMacSystemFont, YuGothic-M, YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

#rg{
	writing-mode: vertical-rl;
	z-index: 2;
	position: fixed;
	margin: 70px 3% auto 95%;
	color: #37A3DD;
	line-height: 1.3em;
	font-weight: 500;
}

#show ,#hide{
	position: absolute;
	color:#FF2727;
	text-align:center;
	line-height: 60px;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	font-size: 2em;
}

.circle{
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FFFFFF;
  line-height: 60px;
  position: fixed;
  right: 3%;
  top:-10px;
  z-index: 2;
	
}

.circle2{
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FFFFFF;
  line-height: 60px;
  position: absolute;
  right: 3%;
  top:463px;
	
}

#menu {
    z-index: 3;
	
    position: fixed;

    top: -550px;
    min-width:100%;
    height: 500px;
	
    color:#FF2727;
	background-color: #FFFFFF;

	transition: .4s;
	
  }

ul{
	list-style: none;
	font-size: 1.3em;
	font-weight: 600;
	line-height: 3em;
	position: absolute;
	width: 80%;
	left: 0;
	right: 0;
	margin: auto;
	margin-top: 70px;
	padding: 0;
}

li{
	border-bottom: solid 3px ;
	margin: 0;

}

#icon{
	font-size: 2.5em;
	position: absolute;
	margin-top: 370px;
	margin-left: 10%;
}

#s{
	margin-top: -1.3em;
	font-size: 1em;
	position: absolute;
	margin-left: 130%;
	text-align: center;
	font-weight: 600;
	width: 100%;
	line-height: 0.5em;
}

/*----------------メニュー系ここまで-------------*/

#wrapper{
	position: relative;
	overflow-x: hidden;
	min-height: 100vh;
	padding-bottom: 250px;/*←footerの高さ*/
	box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
}

a{
	color:#FF2727;
	text-decoration: none;
	transform-color: 0.3s;
}

a:hover {
	color:#37A3DD;
}

body.menu-open #menu{
	top: 0;
	
}

#main{
	margin-top:60px;
}

.title{
	position: relative;
	margin: 0 0 0 25%;
	color: #FFFFFF;
}

.titleshita{
	margin-top: -80px;
}


h1{
	margin: 0 5% 0 5%;
}
h2{
	margin: 60px 5% 60px 5%;
}
h3{
	margin: 30px 5% 30px 5%;
}
h4{
	margin: 50px 5% 20px 5%;
}
p{
	margin: 0 5% 20px 5%;
	line-height: 1.8em;
}

footer{
	color: #FFFFFF;
	background-color:#FF2727;
	bottom: 0;
	position: absolute;
	width: 100%;
	padding:30px 0 30px 0;
	text-align: center;
	border-radius: 30px 0 0 0;
}
#f{
	line-height: 1.5em
}

#ss{
	line-height: 0.2em;
}

#fmenu{
	position: relative;
	margin: 60px 0 80px 0;
	font-size: 1.3em;
}

#mcenter{
	display: inline-block;
	font-weight: bold;
	position: absolute;
	left: 48%;
}

#mright{
	display: inline-block;
	font-weight: bold;
	position: absolute;
	left: 80%;
}
#mleft{
	display: inline-block;
	font-weight: bold;
	position: absolute;
	left: 2%;
}

/*----------モバイルここまで--------*/


/*------------PC用---------------*/
@media (min-width: 1024px){
	
	#rg{
       margin: 70px 12% auto 88%;
       font-weight: 600;
       font-size: 1.2em;
       color: #FFF;
    }
	
	.circle{
       right: 15%;
       top:-10px;
    }

	.circle2{
        right: 15%;
        top:463px;
    }
	
	ul{
		width: 60%;
	}
	
	#icon{
		margin-left: 20%;
	}
	
	h1{
		margin: 60px 25% 60px 25%;
	}
	
	h2{
		margin: 60px 25% 60px 25%;
	}
	
	h3{
		margin: 60px 25% 30px 25%;
	}
	
	h4{
		margin: 20px 25% 20px 25%;
	}
	
	p{
		margin: 0 28% 0 28%;
	}
	
	#ss{
		margin: auto;
		line-height: 0.2em;
	}
	
	#main{
		margin-bottom: 100px;
	}
	
	#f{
		margin: 0;
	}
	
	#mright{
		left: 58%;
	}

	#mleft{
		left: 34%;
	}
	
}
	

