﻿@charset "utf-8";
/* CSS Document */
header ul li:nth-of-type(2) a {
    color: #000;
}
header ul li:nth-of-type(2) a:hover {
	text-decoration:none;
}
#main_v{
	background:url(../img/main_v_bg.jpg) center center/cover no-repeat;
	height:41.8rem!important;
	max-height:41.8rem!important;
	position:relative;
	z-index:1;
}
/* ieハック */
@media screen\0 {
#main_v.fadein{
	 transition-duration:0;
}
}


h1{
	position:absolute;
	left:0px;
	top:auto;
	bottom:-35rem;
}
h1.fadein.scrollin{
	top:auto;
	bottom:-30rem;
}
.contents{
	background:url(../img/main_bg.jpg) center top/cover no-repeat;
	padding:9rem 0 8rem 35%;
	overflow:hidden;
}
.contents h2{
	font-size:2.7rem;
	margin-bottom:1em;
}
.contents .text{
	margin-bottom:2.3em;
	line-height:2;
}
.contents .text2{
	font-size:2rem;
	white-space:nowrap;
}
.contents .text3 {
    font-size: 3.2rem;
    position: relative;
    overflow: hidden;
    display: inline-block;
    line-height: 1;
    margin: 0.3em 0;
}
.contents .text3:before{
	display:none;
  content: "";
  animation: shine 3s cubic-bezier(0.25, 0, 0.25, 1) infinite;
  background-color: #fff;
  width: 140%;
  height: 100%;
  transform: skewX(-45deg);
  top: 0;
  left: -160%;
  opacity: 0.5;
  position: absolute;
}
@keyframes shine{
  0% {
    left: -160%;
    opacity: 0;
  }
  70% {
    left: -160%;
    opacity: 0.5;
  }
  71% {
    left: -160%;
    opacity: 1;
  }
  100% {
    left: -20%;
    opacity: 0;
  }
}
.contents .img{
	margin-top:4rem;
	margin-left:-10rem;
	margin-bottom:-27rem;
}
.common_btn a{
	padding: 0.5em 4.5em 0.5em 5.5em;
	margin-bottom:6em;
	background-color: #841905;
	color:#FFF;
	border:none;
}
.common_btn a:hover{
	background-color:#8f6a46;
}
.common_btn a span:before {
    border-top: 0.1em solid #FFF;
    border-right: 0.1em solid #FFF;
}
.common_btn a:after{
	display:none;
}



/*---------------------------------------------------------------
横幅768px～1130pxまでのレイアウト
---------------------------------------------------------------*/
@media screen and (min-width: 768px) and (max-width: 1130px) {
.contents {
    padding-left:25%;
}	
}

/*---------------------------------------------------------------
スマホレイアウト
---------------------------------------------------------------*/
@media screen and (max-width: 767px) {
header ul li:nth-of-type(2) a {
    color: #8f6a46;
}
#main_v {
    background: url(../img/main_v_bg_sp.jpg) center center/cover no-repeat;
    height: 95vw!important;
    max-height: 95vw!important;
}
h1 {
    bottom: -44rem;
	width:28%;
	left:auto;
	right:8%;
	position:absolute;
}
h1.fadein.scrollin {
	left:auto;
	right:8%;
    bottom: -39rem;
	position:absolute;
}
.contents {
    background: url(../img/main_bg_sp.jpg) center top/cover no-repeat;
    padding: 5rem 12% 5rem 12%;
}
.contents .inner{
    padding: 0%;
}
.contents h2 {
    font-size: 2.2rem;
}
.contents .text2 {
    font-size: 1.7rem;
}
.contents .text3 {
    font-size: 2.8rem;
}
.contents .img {
    margin-top: 2rem;
    margin-left: -5rem;
    margin-bottom: -17rem;
}



 
}
