﻿/**/

.top_cms_title {
    font-size: 40px;
    line-height: 1.5;
    z-index: 1;
    overflow: hidden;
    position: relative;
    display: inline-block;
}
.top_cms_title p {
    opacity: 0;transition: all 0.3s
}
.top_cms_title::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateX(-100%);
    height: 100%;
    background: #fff;
    transition: 0.7s;
    z-index: 0;
    transition-delay: 0.2s;
}
.top_cms_title.active::before {
transform: translateX(101%);
}
.top_cms_title.active p {
    opacity: 1;transition-delay: 0.5s;
}
/**/
.top_cms_box{
    margin-bottom: 0;
    padding-bottom: 85px;
    background-image: url(Dup/img/dash.svg);
    background-repeat: repeat-x;
    background-size: 10px 8px;
    padding-top: 64px;
}
#top_cms, #contents2 {
background-color: #f7f7f7;
background-image: url("Dup/img/light-wool.png");
}

	#cms_2-a .cate_title {
    position: relative;
    padding: .1em .3em .1em .5em;
    border-top: 0;
    display: block;
    border-bottom: 0;
				border-bottom: 1px solid #444
}
#cms_2-a .cate_title::before {
    position: absolute;
    content: '';
    left: 0;
    bottom: -5px;
    width: 10%;
    height: 5px;
    background-color: #ff9800;
    z-index: 1;
}



header .contact a {
    padding: 10px;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    display: block;
}
#main_img h2 {
    display: inline-block;
}
#main_img h2:before {
    /* content: ""; */
    /* position: absolute; */
    /* display: block; */
    /* left: -114px; */
    /* top: -141px; */
    /* width: 235px; */
    /* height: 313px; */
    /* background-image: url(Dup/img/illust4.png); */
    /* background-size: contain; */
    /* background-repeat: no-repeat; */
    /* z-index: -1; */
    content: "";
    position: absolute;
    display: block;
    left: -112px;
    top: 28px;
    width: 0%;
    height: 1em;
    background-color: rgb(255 141 0 / 76%);
    z-index: -1;
    transition: all 0.6s;
}
#main_img h2.trans:before {
    width: 114%;
}
/*吹き出し*/
.eachTextAnime {
    transition: transform 540ms cubic-bezier(0.215, 0.61, 0.355, 1), opacity 440ms 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: scale(.3,.3) rotateZ(14deg);
    transform-origin: bottom center;
    position: relative;
    display: inline-block;
    margin: 1.5em 0;
    padding: 1.2rem 2rem;
    min-width: 120px;
    max-width: 100%;
    background: #ffffff;
    border-radius: 15px;
    color: #1971f2;
    border: 1px solid #1971f2;
}
.eachTextAnime:before {
    content: "";
    position: absolute;
    bottom: -24px;
    left: 50%;
    margin-left: -14px;
    border: 12px solid transparent;
    border-top: 12px solid #FFF;
    z-index: 2;
}
.eachTextAnime:after {
    content: "";
    position: absolute;
    bottom: -28px;
    left: 50%;
    margin-left: -16px;
    border: 14px solid transparent;
    border-top: 14px solid #1971f2;
    z-index: 1;
}
.eachTextAnime.trans {
    -webkit-transform: scale(1,1) rotateZ(0);
    -moz-transform: scale(1,1) rotateZ(0);
    -o-transform: scale(1,1) rotateZ(0);
    -ms-transform: scale(1,1) rotateZ(0);
    transform: scale(1,1) rotateZ(0);
    opacity: 1;
    filter: none;
}
.introillust {
    left: 14%;
    top: -136px;
    max-width: 203px;
    z-index: 0;
    width: 57%;
    animation: laggy 2000ms infinite step-end;
    transition-delay: 1500ms;
    transition: opacity 660ms cubic-bezier(0.645, 0.045, 0.355, 1), transform 660ms cubic-bezier(0.215, 0.61, 0.355, 1);
}
@keyframes laggy {
    0% {
    -webkit-transform: rotateZ(2deg);
    -moz-transform: rotateZ(2deg);
    -o-transform: rotateZ(2deg);
    -ms-transform: rotateZ(2deg);
    transform: rotateZ(2deg);
    }
    10% {
    -webkit-transform: rotateZ(0);
    -moz-transform: rotateZ(0);
    -o-transform: rotateZ(0);
    -ms-transform: rotateZ(0);
    transform: rotateZ(0);
    }
    20% {
    -webkit-transform: rotateZ(2deg);
    -moz-transform: rotateZ(2deg);
    -o-transform: rotateZ(2deg);
    -ms-transform: rotateZ(2deg);
    transform: rotateZ(2deg);
    }
    30% {
    -webkit-transform: rotateZ(0);
    -moz-transform: rotateZ(0);
    -o-transform: rotateZ(0);
    -ms-transform: rotateZ(0);
    transform: rotateZ(0);
    }
    100% {
    -webkit-transform: rotateZ(0);
    -moz-transform: rotateZ(0);
    -o-transform: rotateZ(0);
    -ms-transform: rotateZ(0);
    transform: rotateZ(0);
    }
}
.contents1png {
    max-width: 400px;
    position: absolute;
    right: 47px;
    top: 8%;
    width: 60%;
    opacity: 0;z-index: -1;
}
.contents1png.trans, .contents2illust.trans {
animation: zoomIn 1.4s forwards;
}
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: translateY(200px) scale3d(0.5, 0.5, 0.5);
  }
  40% {
    opacity: 1;
    transform: translateY(-20px) scale3d(1, 1, 1);
  }
  70% {
    opacity: 1;
    transform: translateY(5px) scale3d(1, 1, 1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale3d(1, 1, 1);
  }
}

.contents2illust {
    max-width: 190px;
    bottom: -50px;
    left: -70px;
    z-index: 1;
	opacity: 0;
}
.contents2illust img {
    animation-name: sample2;
	animation-duration: 3s;
	animation-fill-mode: both;
	animation-iteration-count: infinite;
}
@keyframes sample2 {
from {
		animation-timing-function: linear;
		transform: translate(0px,0px) scale(1,1) rotate(0deg) skew(0deg,0deg);
		opacity: 1;
	} to {
		animation-timing-function: linear;
		transform: translate(0px,0px) scale(1,1) rotate(0deg) skew(0deg,0deg);
		opacity: 1;
	} 5% {
		animation-timing-function: linear;
		transform: translate(0px,-30px) scale(1,1) rotate(0deg) skew(0deg,0deg);
		opacity: 1.0;
	} 18% {
		animation-timing-function: linear;
		transform: translate(0px,0px) scale(1,1) rotate(0deg) skew(0deg,0deg);
		opacity: 1;
	} 10% {
		animation-timing-function: linear;
		transform: translate(0px,-50px) scale(1,1) rotate(0deg) skew(0deg,0deg);
		opacity: 1.0;
	} 14% {
		animation-timing-function: linear;
		transform: translate(0px,-30px) scale(1,1) rotate(0deg) skew(0deg,0deg);
		opacity: 1.0;
	} 
}

/* ----------------------keyframe-------------------------- */
.animWrap {
    display: none;
}
/*.animWrap {*/
/*    bottom: 0;*/
/*    width: 100%;*/
/*}*/
/*.town {*/
/*    height: 120px;*/
/*    background: url("Dup/img/mati.png") repeat-x;*/
/*    background-size: auto 100%;*/
/*    display: block;*/
/*    z-index: 1;*/
/*    position: relative;*/
/*    transform: translateY(-75%);*/
/*    animation: townanim 25s linear infinite;*/
/*    transition: left 2s ease;*/
/*}*/
/*.car {*/
/*    width: 163px;*/
/*    height: auto;*/
/*    position: absolute;*/
/*    bottom: 1.2vw;*/
/*    z-index: 1;*/
/*    animation: caranim 0.3s linear infinite;*/
/*    right: 5vw;*/
/*}*/
/*.animWrapinner::after {*/
/*    content: "";*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    display: block;*/
/*    background: #fff;*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 0;bottom: 0;*/
/*}*/
/*@keyframes caranim {*/
/*    0% {*/
/*      transform: translateY(0);  */
/*    }*/
/*    50% {*/
/*       transform: translateY(2px); */
/*       @media screen and (min-width: 1024px) { transform: translateY(4px);*/
/*    }*/
/*}*/
/*    100% {*/
/*       transform: translateY(0); */
/*    }*/
/*}*/
/*@keyframes townanim {*/
/*0% {*/
/*background-position: 0px;*/
/*}   */
/*100% {*/
/*    background-position: 1650px;*/
  
/*}*/
/*}*/


/* ------------------------------------------------ */

.eachTextAnime.appeartext span {
    opacity: 0;
    transform: translateY(10px);
animation: title .5s ease-out 1.1s 1 forwards;
display: inline-block;
}
@keyframes title {
    0% {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
    opacity: .2;
    }
    100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    }
}

#page-top a img {
    width: 100%;
    height: auto;
}
#page-top a {transition: all 0.3s}
#page-top a:hover {
    transform: translateY(-6px);   
}

/*  HEADER */
#header .grid_10 {
    background: transparent;transition: all 0.5s;
}
#header .grid_9 li a {
    /*color: #fff;*/
}
header .inner {
    box-shadow: none;
    /*background: transparent;*/
    transition: all 0.5s;
}
#header.head_fix #pc_nav ul {
    height: 81px;
}
#header.head_fix #pc_nav ul:last-of-type {
   border-radius: 0 10px 10px 0; 
}
#header.head_fix .inner {
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.16);
    background: #fff;
}
#header.head_fix .grid_9 li a {
    color: #212121;
}

/*header お問い合わせボタン*/
#header ul.grid_2 {
    padding: 0;
}
#pc_nav ul:last-of-type li a {
    /*padding: 17px 0;*/
    /*background-color: #1971f2;*/
    /*border-radius: 9px;*/
    /*transition: all 0.5s;*/
    padding: 32px 0;
    background-color: #1971f2;
    border-radius: 0 9px 9px 0;
    transition: all 0.5s;
}
#pc_nav ul:last-of-type {
    background: transparent;
}
#pc_nav ul:last-of-type li {
    width: 100%;
}
#header.head_fix #pc_nav ul:last-of-type li a {
border-radius: 0 10px 10px 0;
padding: 27px 0;
}

#pc_nav ul:last-of-type li:hover {
    transform: inherit;
}
#pc_nav ul:last-of-type li:hover a {
    background: #75a9ff;
}
@media(min-width: 769px) {
    header .contact {display:none}
}
@media(max-width: 768px) {
    #main_img h2:before {
    /*left: -34px;*/
    /*top: -111px;*/
    /*width: 183px;*/
    /*height: 243px;*/
    }
    .introillust {
       left: 0;
    top: -109px;
    max-width: 168px;
    right: 0;
    margin: auto;
    }
    .contents1png {
    max-width: 231px;
    right: 23px;
    top: -3%;
    }
.contents2illust {
    max-width: 95px;
    bottom: -117px;
    left: inherit;
    right: 23px;
}
header .contact {
    right: 97px;
    width: 95px;
    position: absolute;
    height: 100%;
    top: 0;
    text-align: center;
}

}
@media(max-width: 677px) {
    
    header .contact {
   right: 72px;
    width: 75px;
}
    
    #main_img h2:before {
    /*left: -2px;*/
    /*top: 108px;*/
    /*width: 108px;*/
    /*height: 142px;*/
    left: -47px;
    top: 28px;
    width: 0%;
    height: 81%;
    }
    .introillust {
    top: -40px;
    max-width: 105px;
    }
    .contents1png {
    max-width: 172px;
    right: 21px;
    top: -3%;
    }
    .contents2illust {
     max-width: 72px;
    bottom: -69px;
    right: 25px;
    }
.cms_2-a .cate_box {
	padding: 0 10px;
}
.cms_2-a .swiper-button-prev {
    left: -5px;
}
.cms_2-a .swiper-button-next {
    right: -5px;
}
#cms_2-a .cate_box {
    /*margin-top: 20px;*/
    padding-bottom: 10px;
}
}




/* -------------------------------------------------------↓↓↓↓↓↓↓↓↓↓↓↓↓------------------------------------------------------------------------*/
#contents2 {
    margin-bottom: 0;
    padding-bottom: 100px;
}
#logo {
    width: 127px;
}
.head_fix #logo {
    width: 93px;
}
video {
    object-fit: contain;
}
#page-top a {
    width: 96px;
    height: 101px;
    box-shadow: none;
    background: transparent;
}
@media(max-width: 667px) {
#header.head_fix #pc_nav ul {
height: 69px;
    }
    #logo {
    width: 84px;
    }
    .head_fix #logo {
    width: 85px;
}
#main_img {
    height: 70vh!important;
}
#page-top a {
    width: 52px;
    height: 49px;
}
}
@media all and (-ms-high-contrast: none){ 
#pc_nav ul .grid_9, #header ul.grid_2 a {
    transform: inherit;
}
#cms_6-b .cate_title {
    padding-top: 13px;
}
.banner a span {
    margin-top: 7px;
}
.top_cms_title::before {
transform: translateX(101%);
}
.top_cms_title p {
    opacity: 1;transition-delay: 0.5s;
}
}
/* ----------------------------------------------------------------------------------------------------------------------------------------------*/