@charset "UTF-8";
/* CSS Document */
/* main top
------------------------------------------------------------*/
main.top #select ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -30px -30px 0;
}

main.top #select ul li {
  width: calc(50% - 30px);
  margin: 0 30px 30px 0;
  /* .item{
          &-img{
            line-height: 0;
            position: relative;
            overflow: hidden;
            img{
              @include transition(all,0.8s);
            }
            &:before{
              @include coverBG();
              background-color: rgba($brown,0.5);
              z-index: 2;
            }
          }
          &-text{
            @include coverBG(true,190px);
            @include fb;
            @include justify(center);
            @include direction(column);
            text-align: center;
            color: #FFF;
            z-index: 3;
            span{
              &:first-child{
                @include rem(26);
                @include moonlight;
              }
              &:last-child{
                background-color: $brown;
                @include rem(13);
                //@include mincho;
              }
            }
          }
        } */
}

main.top #select ul li:nth-child(1n) a, main.top #select ul li:nth-child(1n) div {
  background-color: #fead77;
}

main.top #select ul li:nth-child(2n) a, main.top #select ul li:nth-child(2n) div {
  background-color: #b7dd79;
}

main.top #select ul li:nth-child(3n) a, main.top #select ul li:nth-child(3n) div {
  background-color: #fbdb65;
}

main.top #select ul li:nth-child(4n) a, main.top #select ul li:nth-child(4n) div {
  background-color: #ffb3ab;
}

main.top #select ul li a, main.top #select ul li div {
  display: block;
  position: relative;
  height: 160px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  color: #FFF;
  z-index: 3;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

main.top #select ul li a:hover, main.top #select ul li div:hover {
  text-decoration: none;
  -ms-filter: "alpha( opacity=$number*100 )";
  filter: alpha(opacity=70);
  opacity: 0.7;
}

main.top #select ul li a span:first-child, main.top #select ul li div span:first-child {
  font-size: 36px;
  font-size: 2.4rem;
  font-family: 'Moon Light', sans-serif;
  font-weight: 200;
}

main.top #select ul li a span:last-child, main.top #select ul li div span:last-child {
  width: 190px;
  background-color: #867561;
  font-size: 13px;
  font-size: 0.8666666667rem;
  font-family: "ＭＳ Ｐゴシック", "MS PGothic", "Chalkboard SE", sans-serif;
}

main.top #select ul li a:hover .item-img img, main.top #select ul li div:hover .item-img img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
}

main.top #products {
  padding: 0;
  height: 460px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  overflow: hidden;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

main.top #products .item-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 110%;
  background: url(../img/top/bg-products.jpg) no-repeat center bottom/cover;
}

main.top .product-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -20px -60px 0;
}

main.top .product-list:not(:last-child) {
  margin-bottom: 0;
}

main.top .product-list > li {
  width: calc(33.3333% - 20px);
  margin: 0 20px 60px 0;
}

main.top .product-list > li > a {
  display: block;
}

main.top .product-list > li > a:hover {
  text-decoration: none;
}

main.top .product-list > li > a:hover .item-img img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
}

main.top .product-list > li .item-img {
  line-height: 0;
  margin-bottom: 20px;
  overflow: hidden;
}

main.top .product-list > li .item-img img {
  -webkit-transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -ms-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
  transition: all 0.8s ease;
}

main.top .product-list > li .item-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  line-height: 1.5;
}

main.top .product-list > li .item-text span:first-child {
  font-size: 25px;
  font-size: 1.6666666667rem;
}

main.top .product-list > li .item-text span:last-child {
  font-size: 13px;
  font-size: 0.8666666667rem;
  padding-right: 30px;
}

main.top .works-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -17px -40px 0;
}

main.top .works-list:not(:last-child) {
  margin-bottom: 15px;
}

main.top .works-list li {
  width: calc(25% - 17px);
  margin: 0 17px 40px 0;
}

main.top .works-list .item-img {
  line-height: 0;
  margin-bottom: 15px;
}

main.top .works-list .item-img > a, main.top .works-list .item-img div {
  display: block;
  line-height: 0;
  overflow: hidden;
}

main.top .works-list .item-img > a img, main.top .works-list .item-img div img {
  -webkit-transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -ms-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
  transition: all 0.8s ease;
  width: 100%;
}

main.top .works-list .item-img > a:hover img, main.top .works-list .item-img div:hover img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
}

main.top .works-list .item-text {
  line-height: 1.5;
  font-size: 20px;
  font-size: 1.3333333333rem;
  /* 
        .cat{
          margin-bottom: 5px;
        }
        .title{
          margin-bottom: 5px;
          @include rem(17);
        }
        .name{
          @include rem(13);
        } */
}

main.top .works-list .item-text small {
  font-size: 15px;
  font-size: 1rem;
  margin-left: 1em;
}

main.top .simulation-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

main.top .simulation-block:not(:first-child) {
  margin-top: 120px;
}

main.top .simulation-block > * {
  width: 50%;
}

main.top .simulation-block .item-text {
  background-color: #9bd3dd;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  padding: 50px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

main.top .simulation-block .item-text h3 {
  font-size: 30px;
  font-size: 2rem;
  font-weight: normal;
  line-height: 1.4;
  margin-bottom: 20px;
}

main.top .simulation-block .item-text p:not(:last-child) {
  margin-bottom: 20px;
}

main.top .simulation-block .item-text .btn {
  margin-top: 40px;
}

main.top .simulation-block .item-img {
  line-height: 0;
}

main.top #access .map {
  line-height: 0;
}

main.top #access .map:not(:first-child) {
  margin-top: 20px;
}

main.top #access .map > iframe {
  width: 100%;
  height: 450px;
}

@media screen and (min-width: 661px) and (max-width: 960px) {
  /* main top
------------------------------------------------------------*/
  main.top .simulation-block .item-text {
    padding: 30px;
  }
  main.top .simulation-block .item-text h3 {
    font-size: 24px;
    font-size: 1.6rem;
  }
  main.top .simulation-block .item-text p:not(:last-child) {
    margin-bottom: 15px;
  }
  main.top .simulation-block .item-text .btn {
    margin-top: 15px;
  }
  main.top .simulation-block .item-img {
    overflow: hidden;
  }
  main.top .simulation-block .item-img img {
    height: 100%;
    max-width: inherit;
    width: auto;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  main.top .works-list .item-text {
    font-size: 18px;
    font-size: 1.2rem;
  }
  main.top .works-list .item-text small {
    font-size: 14px;
    font-size: 0.9333333333rem;
    margin-left: 0.5em;
  }
}

/*sp*/
@media screen and (max-width: 660px) {
  /* main top
------------------------------------------------------------*/
  main.top #select ul {
    margin: 0 -10px -10px 0;
  }
  main.top #select ul li {
    width: calc(50% - 10px);
    margin: 0 10px 10px 0;
    /* .item{
          &-text{
            width: 130px;
            span{
              &:first-child{
                @include rem(20);
              }
              &:last-child{
                @include rem(12);
              }
            }
          }
        } */
  }
  main.top #select ul li > * {
    height: 100px;
  }
  main.top #select ul li > * span:first-child {
    font-size: 20px;
    font-size: 1.3333333333rem;
  }
  main.top #select ul li > * span:last-child {
    width: 130px;
    font-size: 12px;
    font-size: 0.8rem;
  }
  main.top #products {
    height: 400px;
  }
  main.top .product-list {
    margin: 0 -15px -35px 0;
  }
  main.top .product-list > li {
    width: calc(50% - 15px);
    margin: 0 15px 35px 0;
  }
  main.top .product-list > li .item-img {
    margin-bottom: 10px;
  }
  main.top .product-list > li .item-text span:first-child {
    font-size: 20px;
    font-size: 1.3333333333rem;
  }
  main.top .product-list > li .item-text span:last-child {
    padding-right: 0;
  }
  main.top .works-list {
    margin: 0 -15px -25px 0;
  }
  main.top .works-list li {
    width: calc(50% - 15px);
    margin: 0 15px 25px 0;
  }
  main.top .works-list .item-img {
    margin-bottom: 10px;
  }
  main.top .works-list .item-text {
    font-size: 17px;
    font-size: 1.1333333333rem;
  }
  main.top .works-list .item-text small {
    font-size: 12px;
    font-size: 0.8rem;
    margin-left: 0.5em;
  }
  main.top .works-list .item-text .title {
    font-size: 15px;
    font-size: 1rem;
  }
  main.top .works-list .item-text .name {
    font-size: 12px;
    font-size: 0.8rem;
  }
  main.top .simulation-block {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  main.top .simulation-block:not(:first-child) {
    margin-top: 70px;
  }
  main.top .simulation-block > * {
    width: 100%;
    height: auto;
  }
  main.top .simulation-block .item-text {
    padding: 20px;
  }
  main.top .simulation-block .item-text h3 {
    font-size: 24px;
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  main.top .simulation-block .item-text p:not(:last-child) {
    margin-bottom: 10px;
  }
  main.top .simulation-block .item-text .btn {
    margin-top: 20px;
  }
  main.top .simulation-block .item-img img {
    width: 100%;
  }
  main.top #access .map > iframe {
    height: 300px;
  }
}
