﻿@charset "UTF-8";

/******************************
   Top image slide (-> top_slick)
*******************************/
.top-image-box-wrap {
  width: 100%;
  background-color: #f1f6ff;
}

.top-image-box {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
}

.top-image-wrap{
  position: relative;
  height: 0;
  padding-top: 50%; 
  /* 可変にしたいので「Npx(画像の高さ) ÷ Npx(画像の幅) × 100」で割合を算出 */
}

.top-image {
  position: absolute;
  width: 100%;
  height: 0;
  padding-top: 50%;
  background-size: cover;
  top: 0;
}

/* animation: duration | timing-function | delay | iteration-count | direction | fill-mode | name */
.top-image-1 {
  background-image: url("../../images/top/top1200.png");
  opacity: 0;
  background-position: 0 0;
  -webkit-animation: 27s linear 0s infinite normal none fade-animation, 27s linear 0s infinite normal none scroll-animation;
  animation: 27s linear 0s infinite normal none fade-animation, 27s linear 0s infinite normal none scroll-animation;
}

.top-image-2 {
  max-width: 120rem;
  opacity: 0;
  background-image: url("../../images/top/top1201.png");
  -webkit-animation: 27s linear 9s infinite normal none fade-animation;
  animation: 27s linear 9s infinite normal none fade-animation;
}

.top-image-3 {
  max-width: 120rem;
  opacity: 0;
  background-image: url("../../images/top/top1202.png");
  -webkit-animation: 27s linear 18s infinite normal none fade-animation;
  animation: 27s linear 18s infinite normal none fade-animation;
}


@keyframes fade-animation {
  /*-- fade in start --*/
  0% {
    opacity: 0;
  }
  7.41% {
    opacity: 255;
  }
  /*-- fade in end --*/
  /*-- fade out start --*/
  33.33% {
    opacity: 255;
  }
  40.74% {
    opacity: 0;
  }
  /*-- fade out end --*/
  100% {
    opacity: 0;
  }
}

@keyframes scroll-animation {
  0% {
    background-position: 0 0;
  }

  40.74% {
    background-position: 0 100%;
  }

  100% {
    background-position: 0 100%;
  }
}

/******************************
   News and pick-up
*******************************/
.content1-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
/*----------
  News
----------*/
.news-box {
  margin: 0 auto;
  -ms-flex-preferred-size: 75%;
  flex-basis: 75%;
  max-width: 82%;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.news-box h1 {
    margin: 0;
  }

.news-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 1rem;
  text-align: left;
}

.news-date {
  border-bottom: dashed 0.1rem #808080;
  -ms-flex-preferred-size: 20%;
  flex-basis: 20%;
  min-width: 12rem;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-bottom: 1rem;
  letter-spacing: 0.2rem;
}
.news-text {
  margin: 0;
  border-bottom: dashed 0.1rem #808080;
  padding-top: 0.5rem;
  margin-bottom: 1rem;
  -ms-flex-preferred-size: 75%;
  flex-basis: 75%;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.news-read-more {
  text-align: right;
}

/*----------
  Pick up
----------*/
.pick-up-box {
  /* news and pick-up */
  -ms-flex-preferred-size: 20%;
  flex-basis: 20%;
  max-width: 82%;
  /* pick-up items */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  margin: 0 auto;
}
  .pick-up-box h1 {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    margin: 0;
  }
.pick-up-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 18rem;
  height: 18rem;
  margin: 0.2rem auto;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  overflow: hidden;
}
  /* pick-up-item:first-child = header"pick-up" */
  .pick-up-item:nth-child(2n+1) {
    background-image: url("../../images/top/pick_up1.png");
  }

  .pick-up-item:nth-child(2n) {
    background-image: url("../../images/top/pick_up2.png");
  }

  .pick-up-item * {
    width: 95%;
    word-break: break-word;
  }

/******************************
   強みとインフラ構成
*******************************/
.introduction-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
  .introduction-box a {
    display: block;
    -ms-flex-preferred-size: 33%;
    flex-basis: 33%;
    margin: 1rem;
  }
    .introduction-box a img {
      width: 100%;
    }

/******************************
   Products
*******************************/
.content3-box {
  text-align: center;
}
  .content3-box > h1 {
    margin: 0;
  }

.products-slide-wrap {
  /* set "relative" for SLICK (next/prev) buttons.
    buttons style -> top_slick.css
  */
  position: relative;
  width: 100%;
}

.products-slide-box {
  width: 90%;
  margin: 0 auto;
  text-align: left;
}
.product-item {
  display: block;
  color: #000000;
  margin: 1rem;
}
  .product-item img {
    width: 95%;
    color: #f0f0f0;
  }
  .product-item h2 {
    font-weight: normal;
    font-size: 1.4rem;
    text-align: center;
    margin-top: 0;
  }
    .product-item h2>span {
      font-size: 1.1rem;
    }
.product-item-description {
  font-size: 1.1rem;
}

.product-color-1 {
  /* 販売 */
  color: #4b77d1;
}
.product-color-2 {
  /* 原価、運送 */
  color: #168416;
}
.product-color-3 {
  /* 保安 */
  color: #d14b4b;
}
.product-color-4 {
  /* 鋳造、トラックスケール */
  color: #be6918;
}
.product-color-5 {
  /* 市場 */
  color: #7e3c9a;
}
.product-color-6 {
  /* 顧客 */
  color: #000000;
}

/******************************
   Sitemap
*******************************/
.sitemap-list-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.sitemap-list-box {
  margin-right: 3%;
}

/*------------------------------*/
.sitemap-1st {
  padding: 0.5rem;
}

  .sitemap-1st:nth-child(n+2) {
    margin-top: 2rem;
  }

/*------------------------------*/
/* category title */
.sitemap-1st-title {
  margin-bottom: 1.2rem;
}

  .sitemap-1st-title > a {
    padding: 0.3rem;
    border: solid 0.1rem #000000;
    font-size: 1.8rem;
    font-weight: bold;
  }

/*------------------------------*/
/* 1st level menu */
.sitemap-1st-item,
.sitemap-2nd-title {
  margin: 0;
  font-weight: bold;
}

  .sitemap-1st-item::before,
  .sitemap-2nd-title::before {
    content: "・";
  }

/*------------------------------*/
.sitemap-2nd {
  -webkit-margin-before: 0;
  margin-block-start: 0;
  -webkit-margin-after: 0;
  margin-block-end: 0;
}

/* 2nd level menu */
.sitemap-2nd-item {
  margin-left: 3.2rem;
  font-weight: normal;
}

  .sitemap-2nd-item:last-child {
    margin-bottom: 0.5rem;
  }

/*------------------------------*/
/* Products: override layout */
.sitemap-products-box {
  -ms-flex-preferred-size: 70%;
  flex-basis: 70%;
  margin: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

  .sitemap-products-box .sitemap-1st {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .sitemap-products-box .sitemap-1st-title {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .sitemap-products-box .sitemap-1st-item {
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

    .sitemap-products-box .sitemap-1st-item::before {
      content: "";
    }
/*------------------------------*/

/******************************
   External link
*******************************/
.ex-link-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
}
  .ex-link-box > div {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
    min-width: 21rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
  }
/* header */
    .ex-link-box > div > *:first-child {
      -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
    }
  /* banner */
    .ex-link-box > div > * {
      width: 15rem;
      margin: 0.5rem;
    }
      .ex-link-box > div > *:nth-child(3) {
        width: 12rem;
      }

    .ex-link-box > div > div a {
      display: block;
      font-size: 1.3rem;
    }

    .ex-link-box > div > div img {
      width: 100%;
    }
