@charset "utf-8";

/* 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;
}

.inner1, .inner2, .inner3{
	margin-right: 100px;
	margin-left: 100px;
	margin-top: 75px;
}
a:hover {
	color: #BB0000;
}




h2{
	font-size: 2.3rem;
	color: #000;
	margin-bottom: 45px;
	text-align:center;
}


	



h2 span{
	font-size: 0.8rem;
	text-indent: 1rem;
	display: inline-block;
	color: #000;
}
h3:before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 1px;
    top: 50%;
    left: 0;
    background-color: #000;
   
    margin-left: auto;
    margin-right: 10px;
    margin-bottom: 9px;
}


h3{
	font-size: 1.6rem;
	position: relative;
	text-indent: 1rem;
	color: #000;
	
}

h3 span{
	font-size: 0.6rem;
	text-indent: 1rem;
	display: inline-block;
}
.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;
}
/*フェードイン*/
 .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;
	display: flex;
	height: 80px;
	justify-content: space-between;
	
}
#site_title {
	width: 230px;
	height: 55px;
	
	padding-left:100px;
	
	

}


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 span{
	display: block;
	font-size: 0.5rem;
	font-weight: normal;
	line-height: 1;
}

/*スライド*/
.slide{
	position: relative; /* ADD */
 
  height: 900px;
  overflow: hidden;
  }
.slide img{
	width:100%;
	height:100%;
}
.slide li{
	padding-top: 80px;
	position:absolute;
	width: 100%;


}

.slide ul{
	position:relative;}
	
	
.slide h1, .slide h2 {
	margin-bottom:0px;
    position: absolute;
    font-size: 3.5rem;
    bottom: 20%;
    left: 0;
    text-align: center;
    width: 100%;
    
	color: #fff;
	text-align:right;
	text-shadow: 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c, 0 0 10px #4c4c4c;
	padding-right: 100px;
	box-sizing:border-box;

}
.slide h2:after {
    content: "";
    display: block;
    width: 0px;
    height: 0px;
    background-color: #000;
    margin-top: 0px;
	
}


.slide span {
   font-size: 3rem;
	color: #fff;
	display: block;
}
#button {
	position: relative;
		width:100px;
	margin-right:auto;
	margin-left:auto;
	}
	
	#button ul{
	position: absolute;
	top: -68px;
	display: flex;
	z-index: 10;
	left: 1px;


	}
	
	#button li+li{
		padding-left:20px;
	}
	
#button ul li a{
	color: transparent;
	text-decoration:none;
	display:block;
	width: 10px;
	height:10px;
	border-radius:7px;
	background: #fff;
}

#button ul li a.target {
	background-color: #BB0000;
}
.scroll {
	    position: relative;
    text-align: right;
    padding-right: 100px;}
	
.scroll a {

    position: absolute;
    top: -60px;
    color: #fff;
}


.scroll a span {
     position: absolute;
    top: -40px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    box-sizing: border-box;
    z-index: 1;
}
em{
	font-weight: bold;	
}
/* コンテンツ */


	
.inner1_img {
	display: flex;
	justify-content: center;
	margin-top: 45px;
	margin-bottom: 65px;
}

.inner1 p{
	text-align:center;
}
#chirashi, #target, #posting{
	text-align: center;
}
#target, #posting {
	padding-left: 50px;
}

/*コンテンツ2*/
#service, #activation, #case{
	margin-top: 55px;
}

.inner2 img{
	margin-top: 30px;
}

.box{
  position: relative;
  }
.box img{
	width:100%;
}
  .tagbox_right{position: absolute;/*絶対配置*/
 background-color: #fff;
  top: 30px;
  right: 0px;
  width: 50%;
  height: 175px;}
  
    .tagbox_left{position: absolute;/*絶対配置*/
 background-color: #fff;
  top: 30px;
  left: 0px;
  width: 50%;
  height: 175px;}
  
  .inner2 p {
	padding-top: 15px;
	padding-right: 30px;
	padding-left: 30px;
  }
	  
#activation h3{
		  text-align:right;
	  }
	  
	  /*コンテンツ3*/
	  .inner3 h2{
		  margin-bottom: 45px;
	  }
	  
	  .inner3 p {
		  text-align:center;
		  line-height:3rem;
	  }
	  .inner3 {
		  margin-bottom:75px;}
	  
	  /*前頁共通*/
#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;
	width: 30%;
	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;
}
/* 640px以下の表示領域 */
@media only screen and (max-width: 640px) {
	/* reset */
	header {
		display: flex;
		
	}
	header, body, h1, footer, #news, #blog, #service, .link, nav, #site_title {
		width: 100%;
	}
	/*common*/
	
	#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;
}

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;}
	/*トップページのみ*/
#button li{visibility:hidden;}

.scroll a, .scroll span{
  padding-top: 60px;
top: -60px;
visibility: hidden;}

/*.scroll a span {
	color:#fff;
    left: 100%;
    width: 26px;
    height: 26px;
    margin-left: 20px;
  position: absolute;
  top: 0;
  border: 1px solid #fff;
  border-radius: 100%;
  box-sizing: border-box;
  transform: rotate(-3deg);
}
.scroll a span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  width: 10px;
  height: 10px;
  margin: -8px 0 0 -5px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}
*/

	

	.slide span{
		font-size:1.5rem;}
.slide h1, .slide h2{
	font-size: 1.3rem;
	margin-bottom: 0px;
	bottom: 10%;
    padding-right: 30px;
		
}
.slide {
        height: 350px;
}

.inner1_img {
    display: inline;
}

#target, #posting {
    padding-left: 0px;
	padding-top:45px;
}
#posting{
	padding-bottom: 50px;}
.tagbox_right, .tagbox_left {
    position: static;
	width: 100%;
}}

