/* 640px〜：PC
------------------------------ */


/*--------------------------------common--------------------------------------*/
body {
	font: 1rem / 1.5 ;
	font-family: "Noto Sans JP", YuGothic, "Yu Gothic", "游ゴシック体", "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #4d4d4d;
	width:100%;
}
h1, h2, h3{
font-family: 'Alice', serif;}
header, body, footer {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}
.inner {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}
.inner1{
	margin-right: 100px;
	margin-left: 100px;
}

.material-icons {
	vertical-align: -0.2em;
}

.cf {
	display: block;
}
.cf::after { 
	content: "";
	display: block;
	clear: both;
}
header, body, footer {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}
h1{
	font-size:3.4rem;
}
h2{
    font-size: 2.3rem;
    text-align: center;
    color: #000;
    margin-bottom: 30px;
}


h2 span{
	font-size: 0.8rem;
	text-indent: 1.5rem;
	display: inline-block;
	color: #000;
}

h3{
    font-size: 1.6rem;
    position: relative;
    color: #000;
    margin-top: 30px;
    margin-bottom: 30px;
    text-shadow: 0px #C6C6C6;
    font-weight: bold;
}

h3 span{
	font-size: 0.8rem;
	text-indent: 1rem;
	display: inline-block;
}

a:hover {
	color: #BB0000;
}

.leftmargin   {
    margin-left: 1rem;
    width: 760px;
}


section{
    margin-top: 80px;
}




	  /*前頁共通*/
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #4d4d4d;
  opacity: 0.6;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#contactus{
    position: fixed;
    right: 130px;
    bottom: 0;
    text-align: center;
	width: 200px;
	height: 70px;
}

#contactus a{
	width: 250px;
	height: 70px;
	background-color:#BB0000;
	display: flex;

	color: #fff;}
	
	#contactus p{
		width:70%;
		display:inline-block;
		padding-right: 15px;
		padding-top:10px;}
		
	#contactus a::before{
		content: url("../images/letter.png");
		display:inline-block;
		width: 50px;
		height: 70px;
	padding-top:19px;
	padding-left: 15px;}

footer {
	background-color:#b3b3b3;
	
	width: 100%;
}

.footer_nav{
	margin-left:100px;
	margin-right:100px;
	padding-top:30px;
	text-align:center;
	
}

.footer_nav li{
	display: inline-block;
color: #fff;
}

.footer_nav li+li{
	padding-left: 30px;
}

.footer_nav a {
color: #fff;}	

.footer_nav a:hover{
	color:#BB0000;
}

.allview_banner{
	margin-right:100px;
	text-align:right;
}

.copyright{
	text-align:center;
}



/*フェードイン*/
 .fadein {
  opacity: 0;
  transform : translate(0, 50px);
  transition : all 1500ms;
}

.fadein.scrollin{
  opacity: 1;
  transform: translate(0, 0);
}





/*-----------------------------header--------------------------------*/

header {
	background: rgba(255,255,255,0.9);
	display: -webkit-flex;
	display: flex;
		-webkit-align-items: center;
	align-items: center;
	position: fixed;
	z-index: 2;
	height: 80px;
	justify-content: space-between;
}

#site_title {
	width: 230px;
	height: 55px;
	padding-left:100px;
}

header nav ul{
	padding-right: 100px;
}

nav li {
	display: inline-block;
	height: 65px;
	text-align: center;
	flex: 1;
}

nav li+li {
	padding-left: 50px;
}
nav a {
	box-sizing: border-box;
	line-height: 32.5px;
	font-size: 0.75rem;
	color: #000000;
	font-weight: bold;
	display: block;
	padding-top:5px;
}
nav a:hover {
	color: #BB0000;
}
nav span{
	display: block;
	font-size: 0.5rem;
	font-weight: normal;
	line-height: 1;
}
	
	
	
	.s_mv{
		width: 100%;
	}
	

	
.link {
	margin-top: 35px;
    margin-bottom: 100px;
    width: 220px;
    height: 40px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;}
	
	.link a {
    width: 220px;
    height: 40px;
    line-height: 40px;
    background: #b3b3b3;
    color: #fff;
    text-align: center;
    align-items: center;
    display: block;
}

.link a:hover {
    width: 220px;
    height: 40px;
    line-height: 40px;
    background: #BB0000;
    color: #fff;
    text-align: center;
    align-items: center;
    display: block;
}




/*-----------------------------main--------------------------------*/


.left_h2 {
	text-align: left;
}
.right_h2 {
    text-align: left;
}


.mv {
	position: relative;
	display:block;

}
.mv img{
	padding-top: 80px;
	width:100%;
	height:50vh;
	object-fit: cover;
	object-position: top center;
}
h1 {
	position: absolute;
	width: 100%;
	left: 0; 
	top: calc(50% - 25px); 
	text-align: center; 
	color: #fff;
	font-weight: bold; 
	line-height: 50px;
	text-shadow: 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c;
}

h1 span{
	font-size:1.25rem;
	text-shadow: 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c;

}

.red {
    font-size: 1.2rem;
    text-shadow: 0px 0px;
    color: #BB0000;
    font-weight: bold;
}



/*----------------------nav---------------------------------------*/


.service_nav {

    margin-bottom: 70px;
    margin-top: 70px;
    margin-left: 20px;
    margin-right: 20px;
}
.s_nav ul{
display: table;
margin: 0 auto;
padding: 0;
width: 80%;
text-align: center;
}
.s_nav ul li {
display: table-cell;
min-width: 50px;
}
.s_nav ul li a{
display: block;
width: 100%;
padding: 10px 0;
text-decoration: none;
color: #000000;
font-weight: bold;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all  0.4s ease;   
}
.s_nav ul li a:hover{
    color: #bb0000;
    font-size: medium;
    margin-top: 0px;
    font-weight: bold;
}
.chapter1 {
    margin-top: 30px;
    margin-bottom: 30px;
}

.chapter2 {
    width: 760px;
}



/*--------------------------------section1--------------------------------------*/

.flow_red {
    color: #BB0000;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 15px;
    font-size: large;
}

.flow_h3:before{
    content: "";
    display: block;
    width: 1rem;
    height: 2px;
    position: absolute;
    top: 50%;
    left: 1rem;
    background-color: #000;
    border-width: medium;
}


.flow_h3{
    font-size: 1.6rem;
    position: relative;
    color: #000;
    text-indent: 1.5rem;
    margin-top: 30px;
    margin-bottom: 100px;
    width: 240px;
    height: 60px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    -webkit-box-shadow: 5px 5px #C8C8C8;
    box-shadow: 5px 5px #C8C8C8;
    border: 2px solid #000000;
	font-weight: bold;
	
}



.flow_h3 span{
	font-size: 0.8rem;
	text-indent: 1rem;
	display: inline-block;
}
.flow   {
    border: 2px solid #000000;
    margin-top: 45px;
    text-indent: 0px;
    text-align: left;
    padding-left: 3rem;
    position: relative;
}

.flow_p {
    margin-top: 20px;
}
.flow.flow_1 img  {
    top: 92px;
    left: auto;
    right: 90px;
    height: auto;
    position: absolute;
}
.flow.flow_2 img {
    position: absolute;
    right: 100px;
    top: 25px;
}
.flow.flow_3 img {
    position: absolute;
    top: 16px;
    right: 90px;
}
.flow.flow_4 img {
    position: absolute;
    top: 5px;
    right: 90px;
}
.flow.flow_3 .flow_p {
    position: absolute;
    top: 10px;
}

.flow.flow_4 .flow_p {
    position: absolute;
    top: 15px;
}
.flow.flow_5 img {
    position: absolute;
    top: 16px;
    right: 74px;
}
.flow.flow_5 .flow_p {
    position: absolute;
    top: 15px;
}
.flow_1   {
	height: 300px;
}
.flow_2   {
    height: 174px;
}.flow_3   {
	height: 188px;
	right: auto;
}.flow_4   {
	height: 219px;
	/* [disabled]top: auto; */
}
.flow_5   {
    height: 204px;
}

.linkbox {
    color: #FFFFFF;
    font-weight: bold;
    background-color: #B3B3B3;
    width: 210px;
    height: 2rem;
    text-align: center;
    position: relative;
	display: table-cell;
    vertical-align: middle;
	
	}
.linkbox :hover {
    background-color: #BB0000;
	color: #FFFFFF;
    font-weight: bold;
    width: 210px;
    height: 2rem;
    text-align: center;
    position: relative;
	display: table-cell;
    vertical-align: middle;
	
}
.linkbox a  {
    color: #FFFFFF;
}
.linkbox a :hover{
    background-color: #BB0000;
}
.arrow {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

/*----------------------section2---------------------------------------*/
.s_2 {
    float: right;
    position: relative;
}
.chapter1 img {
    padding-top: 45px;
    padding-bottom: 45px;
    text-align: center;
    display: inline-block;
}
.center_image {
    text-align: center;
    left: -17pt;
    position: relative;
}
.center_image_2 {
	text-align: center;
    position: relative;

}
/*----------------------sectio3---------------------------------------*/

.s_3 {
    clear: both;
    position: relative;
    float: left;
}

/*----------------------sectio3---------------------------------------*/
.s_4 {
    clear: both;
    position: relative;
    float: right;
    margin-bottom: 30px;
}

/*----------------------footer---------------------------------------*/

footer{
    clear: both;
	display: block;
	width: 100%;
	text-align: center;
	border-top: 1px solid #b3b3b3;
	border-right: 1px solid #b3b3b3;
	border-bottom: 1px #b3b3b3;
	border-left: 1px solid #b3b3b3;
}

.copy_right{
	margin-bottom:10px;	
}
.service_icon {
    width: 100%;
    margin-top: 75px;
    margin-bottom: 30px;
    text-align: center;
    margin-left: auto;
    margin-right: aoto;
}
.flyer_style {
    width: 530px;
    margin-top: 0px;
    top: 50px;
    bottom: 50px;
    border-style: solid;
    border-color: #000000;
    -webkit-box-shadow: 15px 15px #C8C8C8;
    box-shadow: 15px 15px #C8C8C8;
    border: 2px solid #000000;
    font-weight: bold;
    margin-left: 115px;
    margin-bottom: 80px;
}
h4 {
    font-family: "Arial Black", Gadget, sans-serif;
    font-size: 2.5rem;
    padding-top: 25px;
    padding-bottom: 20px;
    color: #000000;
    font-weight: bolder;
    padding-left: 82px;
    line-height: 55px;
    margin-top: 7px;
}
h5 {
    color: #BB0000;
    font-style: italic;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
    margin-bottom: 10px;
}
.flyer_inner p {
    width: 93%;
    margin-left: 16px;
    font-size: 0.8rem;
    margin-top: 20px;
    margin-bottom: 0px;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.final_p {
    padding-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 30px;
}
.flyer_inner {
    width: 80%;
    text-align: left;
    margin-left: 10%;
    margin-right: 10%;
}
.flyer_style p {
    font-family: "Arial Black", Gadget, sans-serif;
    font-style: normal;
}
.sub {
    color: #000000;
    font-family: "Arial Black", Gadget, sans-serif;
    font-weight: bold;
    margin-left: 291px;
    top: -10px;
    position: relative;
    margin-bottom: 27px;
}


	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	

 
/* 〜640px：スマホ
------------------------------ */
@media screen and (max-width:640px) { 
  
	
	
	
	/*--------------------------------common--------------------------------------*/

	
	.inner {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}
.inner1{
	margin-right: 50px;
	margin-left: 50px;
}
 
	img{
		width: 100%;
		height: auto;
		
	}
	
	
	body {
	font: 0.6rem / 1.5 ;
		text-align: center;
}


h1{
	font-size:2rem;
}
h1 span{
		font-size: 1rem;
	}
h2{
    font-size: 1.5rem;
    text-align: center;
    color: #000;
    margin-bottom: 30px;
}
h2 span{
	font-size: 0.6rem;
	text-indent: 1.5rem;
	display: inline-block;
	color: #000;
}

h3{
    font-size: 0.8rem;
    position: relative;
    color: #000;
    margin-top: 30px;
    margin-bottom: 30px;
    text-shadow: 0px #C6C6C6;
    font-weight: bold;
}

h3 span{
	font-size: 0.8rem;
	text-indent: 0.8rem;
	display: inline-block;
}

	
p {
	font-size: 0.6rem;	
}
#contactus p{
	font-size:16px;
}
.red{
		font-size: 0.7rem;
	}

.leftmargin   {
	width: 100%;
    margin-left: 0.6rem;
}


section{
    margin-top: 50px;
}


		
/*-----------------------------header--------------------------------*/
	
	header {
		display: flex;
		
	}
	header, body, h1, footer, #news, #blog, #service, .link, nav, #site_title {
		width: 100%;
	}
	
	#site_title {
	width: 230px;
	height: 55px;

	padding-left:100px;
	
	

}

	

	
	#wrapper nav ul {
    padding-right: 0px;
}
	#wrapper nav {
    position: fixed;
    top: 0;
    right: -1000px;
    width: 100%;;
    height: 100%;
    padding-top: 50px;
    background:#333;
    font-size: 1rem;
    box-sizing: border-box;
    z-index: 2;
}
#wrapper nav ul li {
    display:block;
    padding: 20px 28px
}
 
#wrapper nav ul li a {
    text-decoration: none;
    color: #ddd
}
 
#wrapper .btn-gnavi {
    position: fixed;
    top: 25px;
    right: 20px;
    width: 30px;
    height: 24px;
    z-index: 3;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms
}
 
#wrapper .btn-gnavi span {
    position: absolute;
    width: 30px;
    height: 4px;
    background: #666;
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms
}
 
#wrapper .btn-gnavi span:nth-child(1) {
    top: 0
}
 
#wrapper .btn-gnavi span:nth-child(2) {
    top: 10px
}
 
#wrapper .btn-gnavi span:nth-child(3) {
    top: 20px
}
 
#wrapper .btn-gnavi.open {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg)
}
 
#wrapper .btn-gnavi.open span {
    background: #fff
}
 
#wrapper .btn-gnavi.open span {
    width: 24px;
}
#wrapper .contents section p {
    position: absolute;
    top: 50%;
    width: 30%;
    line-height: 1.4;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 6px #666
}
 
#wrapper .contents section:nth-child(odd) p {
    left: 10%
}
 
#wrapper .contents section:nth-child(even) p {
    right: 10%
}
	.inner1, .inner2, .inner3{
	margin-right: 50px;
	margin-left: 50px;
	margin-top: 30px;
}
	
	.link a {
		margin-right: auto;
    margin-left: auto;
	}
	
   
.allview_banner {
    text-align: center;
	margin: 0px;
}
	
/*-----------------------------main--------------------------------*/




.mv img{
	padding-top: 80px;
	width:100%;
	height:30vh;
	object-fit: cover;
	object-position: top center;
}
	
h1 {
	top: calc(50% + 10px); 
	line-height: 30px;
	}




/*----------------------nav---------------------------------------*/


.service_nav {
	display: none;
}

/*--------------------------------section1--------------------------------------*/

	
.chapter1 {
    margin-top: 0px;
    margin-bottom: 30px;
}

.chapter2 {
    width: 100%;
	margin-left: -0.6rem;
	text-align: center;
}


.flow_red {
	font-size: 0.8rem;
}

.flow_h3:before{
    width: 0.8rem;
    position: absolute;
    top: 50%;
    left: 0.8rem;
}


.flow_h3{
    font-size: 1rem;
    text-indent: 0.5rem;
    width: 180px;
    height: 30px;
	}



.flow_h3 span{
	font-size: 0.5rem;
	text-indent: 0.5rem;
	display: inline-block;
}
.flow   {
	padding-left: 20px;	
}

.flow_p {
    margin-top: 20px;
	
}
	/*
.flow.flow_1 img  {
	width:100px;
    height: auto;
	position: relative;
	display: flex;
  flex-direction: row;
  flex-wrap: wrap;
　justify-content: space-between;
    top: 0px;
    left: auto;
	right: auto;
    margin-bottom: 60px;}
	*/
	
	.flow.flow_1 img {
    width: 100px;
    height: auto;
    position: absolute;
    top: 200px;
    right: 20px;
}
	
	.linkbox.fadein {
    width: 100px;
    height: 20px;
    bottom: 20px;
    left: 20px;
}
.flow.flow_2 img {
    width: 100px;
    height: auto;
    position: absolute;
    top: 160px;
    right: 20px;
}
	
.flow.flow_3 img {
	width:100px;
    height: auto;
    position: absolute;
	top:115px;
	right: 20px;
}
.flow.flow_4 img {
	width:100px;
    height: auto;
    position: absolute;
 	top: 140px;
    right: 20px;
}
.flow.flow_3 .flow_p {
    position: absolute;
    top: 0px;
}
.flow.flow_4 .flow_p {
    position: absolute;
    top: 0px;
}
.flow.flow_5 img {
	width:100px;
    height: auto;
    position: absolute;
    top: 160px;
    right: 20px;
}
.flow.flow_5 .flow_p {
    position: absolute;
    top: 15px;
}
	flow_1 {
    width: auto;
    height: 350px;
    display: flex;
}
.flow_2   {
	
    height: 300px;
}
	.flow_3   {
    height: 240px;
    right: auto;
}.flow_4   {
    height: 300px;
    top: auto;
}
.flow_5   {
    height: 265px;
}

.linkbox {
    color: #FFFFFF;
    font-weight: bold;
    background-color: #B3B3B3;
    width: 110px;
    height: 20px;
    text-align: center;
    position: relative;
	display: table-cell;
    vertical-align: middle;
	top:28px;
	}
.linkbox :hover {
    background-color: #BB0000;
	color: #FFFFFF;
    font-weight: bold;
    width: 110px;
    height: 20px;
    text-align: center;
    position: relative;
	display: table-cell;
    vertical-align: middle;
}
.linkbox a  {
    font-size: 0.6rem;
    color: #FFFFFF;
    top: 5px;
}.linkbox a :hover{
    background-color: #BB0000;
}
.arrow {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}
.arrow img{
	width: 20px;
		height: auto;
	}
	
/*----------------------section2---------------------------------------*/
.s_2 {
    position: relative;
    float: none;
}
.s_1 {
    float: none;
}
	
.half img{

	width: 75px;
	}
.chapter1 img {
    padding-top: 45px;
    padding-bottom: 45px;
    text-align: center;
    display: inline-block;
}
.center_image {
	width:150px;
    text-align: center;
    left: auto;
    position: relative;
}
.center_image_2 {
	width: 150px;
	text-align: center;
	left: auto;
    position: relative;

}
/*----------------------sectio3---------------------------------------*/

.s_3 {
    clear: both;
    position: relative;

    margin-bottom: 100px;
	}
	
.linkbox.fadein {
    width: 100px;
    height: 20px;
    bottom: 20px;
    left: 0;
}

/*----------------------sectio3---------------------------------------*/
.s_4 {
    clear: both;
    position: relative;
    float: none;
    margin-bottom: 30px;
}
	

.service_icon {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
    margin-top: 30px;
}
.flyer_style {
    width: auto;
    margin-top: 0px;
    border-style: solid;
    border-color: #000000;
    -webkit-box-shadow: 15px 15px #C8C8C8;
    box-shadow: 10px 10px #C8C8C8;
    border: 2px solid #000000;
    font-weight: bold;
    margin-left: 0px;
    margin-bottom: 100px;
    top: 0px;
	bottom: 0px;}
	
h4 {
    font-family: "Arial Black", Gadget, sans-serif;
    font-size: 2rem;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #000000;
    font-weight: bolder;
    padding-left: 0px;
    line-height: 35px;
    margin-right: auto;
    margin-left: auto;
	text-align: center;}

h5 {
    color: #BB0000;
    font-style: italic;
    font-weight: bold;
    font-size: 1rem;
    margin-top: 10px;
    margin-bottom: 10px;
	}
	
	.flyer_inner p {
    width: 93%;
    margin-left: 16px;
    font-size: 0.8rem;
    margin-top: 20px;
    margin-bottom: 0px;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.final_p {
    padding-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 30px;
}
.flyer_inner {
    width: 80%;
    text-align: left;
    margin-left: 10%;
    margin-right: 10%;
}
.flyer_style p {
    font-family: "Arial Black", Gadget, sans-serif;
    font-style: normal;
}
.sub {
    color: #000000;
    font-family: "Arial Black", Gadget, sans-serif;
    font-weight: bold;
    margin-left: 291px;
    top: -10px;
    position: relative;
    margin-bottom: 27px;
}
	
	
	
/*-----------------------------section4--------------------------------*/
	
	
.flyer_style {
    width: auto;
    margin-top: 0px;
    border-style: solid;
    border-color: #000000;
    -webkit-box-shadow: 15px 15px #C8C8C8;
    box-shadow: 10px 10px #C8C8C8;
    border: 2px solid #000000;
    font-weight: bold;
	    margin-left: 0px;
    margin-bottom: 80px;
	top: 0px;
	bottom: 0px;
	}
	
/*-----------------------------footer--------------------------------*/
footer{
	height: fit-content;}
	
	.footer_nav {
    margin-left: 80px;
    margin-right: 80px;
	 padding-top: 10px;
}
	
	.footer_nav a {
    color: #fff;
    font-size: 0.7rem;}
	
	.footer_nav li+li {
    padding-left: 15px;}
	
	#site_title {
    padding-left:  10px;}
.allview_banner {
    width: 124px;
    height: 53px;
    text-align: center;
    margin: 0px;
    margin-right: auto;
    margin-left: auto;
}
	
	
}