﻿body::before {
    background-color: #876e57;
}
.slide-in {
	overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
	display: inline-block;

}
/*左右のアニメーション*/
.leftAnime{
    opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
	animation-name:slideTextX100;
	animation-duration:2.2s;
	animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
  from {
	transform: translateY(100%); /*要素を左の枠外に移動*/
        opacity: 1;/*0でも可*/
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeRightLeft {
	animation-name:slideTextX-100;
	animation-duration:2.2s;
	animation-fill-mode:forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
  from {
	transform: translateY(-100%);/*要素を右の枠外に移動*/
    opacity: 1;/*0でも可*/
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}


#contents h3 {
    position: relative;
    padding-top: 13px;
}
#contents h3 span {
    padding: 3px;
    border-top: 0;
}
#contents h3:before {
    content: "";
    display: block;
    width: 369px;
    height: 5px;
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
    background: #fff;
    margin: auto;
}
.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on 1.5s ease-out forwards;display: inline-block}
@keyframes text_anime_on {
	0% {opacity:0;
	   transform: translateY(10px);/*追記*/
	}
	50% {opacity:0.5;
	}
	100% {opacity:1;

	}
}
#contents h4 {
    position: relative;
    z-index: 1;
}
#contents_link a {
    text-shadow: 1px 1px 8px #202020;
}
#loader img {
    animation-duration:0.9s;
}
.banner a {
    border-radius: 3px;
    box-shadow: 0 1px #ab1a8c;
    top: 0;
    transition: .2s all;
}
.banner a:hover {
    transform: translateY(-3px);
    box-shadow: 5px 5px #ab1a8c;
}
.introInner {
    background-repeat: no-repeat;
    background-size: 1117px auto;
}

#contents > div:before, #contents > div:after {
     opacity: 0;
     transform: scale(0.8);
     transition: 0.8s;
     transition-property: opacity,transform;
}
#contents > div.trans:before, #contents > div.trans:after {
     opacity: 0.8;
 transform: scale(1);
}

#contents > div {
    position: relative;
}
#contents > div:before {
content: "";
    display: block;
    position: absolute;
    top: -195px;
    left: calc( 50% - 80px);
    width: 150px;
    height: 160px;
    background-image: url(Dup/img/wine1.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain;
}
#contents > div:after {
    content: "";
    display: block;
    position: absolute;
    top: -117px;
    left: calc( 50% + 16px);
    width: 119px;
    height: 106px;
    background-image: url(Dup/img/wine2.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain;
    transition-delay: 0.5s;
}


.cms_wrap {position: relative}
#top_cms .cms_wrap:before {
content: "";
    display: block;
    position: absolute;
    top: -2px;
    left: 0px;
    width: 100%;
    height: 3px;
    background-image: url(Dup/img/mohumohu.png);
    background-position: 0 0;
    background-repeat: repeat-x;
    background-size: contain;
}
#top_cms .cms_wrap:after {
    transform: rotate(-180deg);
content: "";
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0px;
    width: 100%;
    height: 3px;
    background-image: url(Dup/img/mohumohu.png);
    background-position: 0 0;
    background-repeat: repeat-x;
    background-size: contain;
}

.open_bg {
    background: #1f8362;
}
#header {
    padding: 8px 20px;justify-content: space-between;
}
#main_contents #catch {
    transform: translateY(-100px);
    position: relative;
    z-index: 3;
    position: absolute;
    top: 66px;
    left: -186px;
    filter: drop-shadow(0px 0px 4px rgba(0,0,0,0.5));
}
#catch h2 {
    width: 87%;
}
h1.grid_4 {
        width: 207px!important;
}
.rectangle_img {
    position: relative;
}
.rectangle_img:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background: url(Dup/img/frame.png);
    background-repeat: no-repeat;
    width: 100%;
    height: 101%;
    background-size: 100% auto;
    z-index: 1;mix-blend-mode: screen;
}
#intro {
    overflow: hidden; 
}
#intro > div {
    position: relative;
}
#intro > div:before {
    content: "";
    display: block;
    position: absolute;
    top: -202px;
    left: -134px;
    width: 199px;
    height: 199px;
 /*   background-image: url(Dup/img/loader.png);*/
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
    animation: 10s linear infinite rotation;
}
#intro > div:before {
    top: -53px;
    left: calc(50% - 325px);
    width: 107px;
    height: 107px;
}
#intro > div:after {
    content: "";
    display: block;
    position: absolute;
    top: 83px;
    left: 0;
   right: 0;
    width: 250px;
    height: 250px;
    background-image: url(Dup/img/welcome.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
    margin: auto;
    filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.8));
}


@keyframes rotation{
  0%{ transform:rotate(0) ;}
  100%{ transform:rotate(360deg) ; }
}





@media(max-width: 768px) {
#intro > div:before {
    top: -110px;
} 
#main_contents #catch {
    left: -4px;
}
}


@media(max-width: 667px) {
    #contents_link a > div {
    width: 65%;
}
    #contents {
        padding-top: 88px;
    }
    #contents > div:after {
    top: -75px;
    left: calc( 50% + 16px);
    width: 80px;
    height: 70px;
}
    #contents > div:before {
    top: -124px;
    left: calc( 50% - 54px);
    height: 108px;
}
    #contents h3:before {
    width: 247px;
}
    #loader img {
    width: 48px;
    height: 48px;
}
    .font_30_sp {
    font-size: 26px;
}
    h1.grid_4 {
    width: 139px!important;
}
    #intro > div:after {
    top: -75px;
    left: 0;
    right: 0;
    margin: auto;
}
#intro > div:before {
    top: -7px;
    left: 4px;
    width: 51px;
    height: 51px;
    
}    
#main_contents #catch {
    top: 78px;
    left: -4px;
}
}

@media all and (-ms-high-contrast: none) {

#page08 #contact_tel a {
    padding-top: 38px;
}
.rectangle_img:before {
    height: 103%;
    top: 0px;
    left: -2px;
    width: 101%;
}
    .cate_list a {
        padding-bottom: 6px;
        padding-top: 12px;
    }
    .cate_title p {
        padding-top: 9px;
    }
}