@charset "UTF-8";

/* main
-----------------------------------------------*/
#main {
  box-sizing: border-box;
  height: 400px;
  padding: 40px;
  position: relative;
}
#main .inner {
  position: absolute;
  display: block;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  max-width: 1160px;
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
}
#main .inner h1 {
  font-size: 48px;
  line-height: 1.2;
  color: #fff;
  text-align: center;
}
#main h1 {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 1.0s cubic-bezier(.210, .60, .350, 1), opacity 1.0s cubic-bezier(.210, .60, .350, 1);
}
.fade #main h1 {
  transform: translateY(0);
  opacity: 1;
}
@media only screen and (max-width:767px) {
  #main {
    height: 250px;
    padding: 20px;
  }
  #main .inner {
    padding: 0;
    display: grid;
  }
  #main .inner h1 {
    font-size: 32px;
    text-align: center;
  }
}

/* section
-----------------------------------------------*/
section .inner {
  max-width: 1360px;
  width: 100%;
  margin: 100px auto 0;
  text-align: center;
  padding: 0 40px;
  box-sizing: border-box;
}

section h2 {
  padding: 0 20px;
  -webkit-transform: skew(-7deg);
  transform: skew(-7deg);
  color: #fff;
  background-image: -webkit-gradient(linear, left top, right top, from(#005046), to(#006563));
  background-image: -webkit-linear-gradient(left, #005046 0%, #006563 100%);
  background-image: linear-gradient(to right, #005046 0%, #006563 100%);
  margin-bottom: 35px;
}
section h2 span {
  -webkit-transform: skew(7deg);
  transform: skew(7deg);
  display: block;
  font-size: 24px;
  line-height: 2;
}
section h2 span > div {
  display: inline-block;
}
@media only screen and (max-width:767px) {
  section .inner {
    margin: 60px auto 0;
    padding: 0 20px;
  }
  section h2 {
    margin-bottom: 30px;
  }
  section h2 span{
    font-size: 18px;
    line-height: 1.5;
    padding: 7px;
    -webkit-transform: skew(7deg);
    transform: skew(7deg);
  }
}




/* sales
-----------------------------------------------*/
#sales {
  background: rgba(110, 89, 75, 0.2);
  padding: 80px 0 100px;
  margin-top: 120px;
}
#sales .inner {
  margin: 0 auto;
}
#sales h2 {
  color: #00876c;
  display: inline-block;
  position: relative;
  font-family: 'Oswald', sans-serif;
  font-size: 62px;
  font-weight: normal;
  transform: none;
  padding: 0;
  background-image:none;
  margin-bottom:0;
}
#sales .subTtl span {
  position: relative;
  opacity: 0;
  transform: none;
  font-size: 62px;
  line-height: 1.2;
}
@keyframes txt2 {
  0% {
    opacity: 0;
  }
  99% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#sales .subTtl.fade span {
  animation: .4s cubic-bezier(.210, .60, .350, 1);
  animation-name: txt2;
  opacity: 1;
}
@keyframes bg2 {
  0% {
    width: 0;
  }
  49% {
    width: 100%;
    left: 0;
    right: auto;
  }
  50% {
    width: 100%;
    left: auto;
    right: 0;
  }
  100% {
    width: 0%;
    left: auto;
    right: 0;
  }
}
#sales .subTtl::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 0;
  height: 100%;
  background-color: #00876c;
  animation: 1.0s cubic-bezier(.210, .60, .350, 1);
}
#sales .subTtl.fade::before {
  animation-name: bg2;
  width: 0;
}
#sales h3 {
  font-size: 26px;
  margin-top: 30px;
}
#sales h3 + p {
  font-weight: bold;
  font-size: 15px;
  line-height: 2;
  margin-top: 10px;
}
#sales ul {
  text-align: center;
  font-size: 0;
}
#sales ul li {
  display: inline-block;
  vertical-align: top;
  width: 31.819%;
  margin: 20px 0.75% 0;
  opacity: 0;
  transform: translateY(40px);
  transition: transform .8s cubic-bezier(.210, .60, .350, 1), opacity .8s cubic-bezier(.210, .60, .350, 1);
}
#sales ul li:nth-child(2) {
  transition-delay: .2s;
}
#sales ul li:nth-child(3) {
  transition-delay: .4s;
}
#sales ul li.fade {
  opacity: 1;
  transform: translateY(0);
}
#sales ul li a .thumb {
  position: relative;
  overflow: hidden;
}
#sales ul li a .thumb::before {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  padding-top: 59.524%;
}
#sales ul li a .thumb img {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: opacity .2s cubic-bezier(.210, .60, .350, 1);
}
#sales ul li a:hover .thumb img {
  opacity: 0.7;
}
#sales ul li a h4 {
  font-size: 17px;
  line-height: 1.6;
  margin-top: 20px;
  text-align: left;
}
#sales .btn {
  margin-top: 40px;
}
#sales .btn a {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 16px;
  line-height: 62px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  width: 304px;
  margin: 0 auto;
  opacity: 1;
  transition: color .3s cubic-bezier(.210, .60, .350, 1);
}
#sales .btn a::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -2;
  width: 0;
  height: 100%;
  transition: width .6s cubic-bezier(.210, .60, .350, 1);
  background-color: #157a61;
}
#sales .btn.fade a::before {
  width: 100%;
}
#sales .btn a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 0;
  height: 100%;
  transition: width .3s cubic-bezier(.210, .60, .350, 1);
  background-color: #0d493a;
}
#sales .btn a:hover {
  color: #fff;
}
#sales .btn a:hover::after {
  width: 100%;
}
#sales .btn a span {
  display: block;
  opacity: 0;
  transition: opacity .6s cubic-bezier(.210, .60, .350, 1);
  transition-delay: .4s;
}
#sales .btn.fade a span {
  opacity: 1;
}
@media only screen and (max-width:767px) {
  #sales {
    padding: 60px 0 90px;
    margin-top: 0;
  }
  #sales .subTtl span,
  #sales h2 {
    font-size: 40px;
  }
  #sales h3 {
    font-size: 18px;
    margin-top: 30px;
  }
  #sales h3 + p {
    font-size: 14px;
  }
  #sales ul {
    margin-right: -15px;
  }
  #sales ul.cont2 {
    margin-left: -7.5px;
    margin-right: -7.5px;
  }
  #sales ul::after {
    content: "";
    display: block;
    clear: both;
  }
  #sales ul li {
    float: left;
    width: 50%;
    margin: 30px 0 0;
  }
  #sales ul.cont2 li {
    float: none;
  }
  #sales ul li:nth-child(2n+1) {
    clear: left;
  }
  #sales ul li:nth-child(2) {
    transition-delay: .15s;
  }
  #sales ul li:nth-child(3) {
    transition-delay: .3s;
  }
  #sales ul li:nth-child(4) {
    display: block;
    transition-delay: .45s;
  }
  #sales ul li a {
    display: block;
    margin-right: 15px;
  }
  #sales ul.cont2 li a {
    margin-left: 7.5px;
    margin-right: 7.5px;
  }
  #sales ul li a h4 {
    font-size: 15px;
    margin-top: 15px;
  }
  #sales .note {
    width: 280px;
  }
  #sales .note p strong {
    font-size: 30px;
  }
  #sales .note p span {
    font-size: 12px;
  }
  #sales .btn {
    margin-top: 20px;
  }
  #sales .btn a {
    max-width: 280px;
    font-size: 14px;
    line-height: 52px;
  }
}



/* modal */
.modal{
	display:none;
	overflow-y: scroll;
	position:fixed;
	z-index:101;
  width:100%;
  height:100%;
  top:0;
  left:0;
	text-align:center;
	box-sizing:border-box;
	padding:0 20px;
  z-index: 999999;
}
.modal .bg{
	position:fixed;
  top:0;
  left:0;
  z-index:1;
  background:#000;
  width:100%;
  height:100%;
	opacity:0.5;
}
.modal .modalInner{
	position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
	z-index:11;
	max-width: 640px;
  max-height: 465px;
  height: auto;
  width: 100%;
	box-sizing:padding-box;
	margin:0 auto;
}
.modal .modalBox{
	position:relative;
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
  padding: 0 20px;
}
.modal .modalBox .over{
	position:relative;
	max-width: 640px;
}
.modal .modalBox img{
	height: auto;
	width: auto;
  margin: 0 auto;
}
.modal .modalBox .modalClose{
  position: absolute;
  right: -20px;
  top: -50px;
  display: block;
  width: 50px;
  height: 50px;
  font-size: 0;
  ppacity: 1 !important;
}
.modal .modalBox .modalClose::before {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 3px;
  margin-top: -1px;
  margin-left: -15px;
  background: #fff;
  transform: rotate(-45deg);
}
.modal .modalBox .modalClose::after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;

  left: 50%;
  width: 30px;
  height: 3px;
  margin-top: -1px;
  margin-left: -15px;
  background: #fff;
  transform: rotate(45deg);
}
.modal.min{
	overflow-y:scroll;
}
.modal .modalInner{
	box-sizing: border-box;
}
.modal .modalBox .img{
	margin-top: 20px;
}
@media screen and (max-width: 767px) {
.modal .modalBox img{
  max-height: 350px;
}
}