/* Products */

/*-- Main Visual --*/

.p-products-mainvisual {
  position: relative;
  width: 100%;
  height: 600px;
  background: #4d4d4d;
}

.p-products-mainvisual-video {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-products-mainvisual-filter {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: url("../image/products_mainvisual_filter.png") repeat;
  background-size: 20px 20px;
  opacity: 0.3;
}

.p-products-mainvisual-text {
  position: absolute;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  color: #fff;
  text-align: center;
  word-break:keep-all;
  text-shadow: 0 0 10px #000000;
  padding: 1rem 0;
}
.p-products-mainvisual-text > * {
  margin: 0;
}
.p-products-mainvisual-caption {
  font-size: 2em;
  line-height: 1.5em;
}


/*-- Download --*/

.l-products-download {
  width: 100%;
  background: #fbd7c6;
}
.p-products-download-text {
  padding: 30px;
  text-align: center;
}
.p-products-download-caption {
  font-weight: bold;
}

.p-products-download-btn {
  display: inline-block;
  padding: 0.5em 1em;
  border: solid 2px #c43e00;
  border-radius: 6px;
  background: #f27135;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
}
a.p-products-download-btn:hover {
  background: #c43e00;
}


/*-- Menu --*/

.l-products-menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 1em -0.2em;
  padding: 0;
}

.l-products-menu > li{
  flex: 0 1 50%;
  margin: 0;
}
.l-products-menu > li > a{
  display: block;
  margin: 0.2em;
  padding: 0 0.4em;
  font-weight: bold;
  color: #ffffff;
  background: #000000;
  border: solid 3px #000000;
}
.l-products-menu > li > a::before{
  content: "▼ ";
  color: #f27135;
}


/*-- Section --*/

.l-products-header {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.8em;
  font-size: 2rem;
  line-height: 1em;
}

.l-products-feature {  
  margin-bottom: 2rem;
}
.l-products-feature > img {
  display: block;
  width: 100%;
  max-width: 510px;
  height: auto;
}

/*-- Spec --*/

.l-products-spec-table {
  width: 100%;
  border-spacing: 0;
}

.l-products-spec-table > tbody > tr:nth-of-type(2n+1) {
  background: #e8e8e8;
}
.l-products-spec-table > tbody > tr > th,
.l-products-spec-table > tbody > tr > td {
  text-align: left;
  padding: 0.5em;
}
.l-products-spec-table > tbody > tr > th {
  width: 8em;
}
.l-products-spec-table > tbody > tr > td {
  width: auto;
}

/*-- Gallery --*/

.l-products-gallery {
  display: grid;
	grid-template-columns: 1fr 1fr;
  row-gap: 10px;
  column-gap: 10px;
  margin-bottom: 1em;
}
.l-products-gallery > img {
  display: block;
  width: 100%;
  height: auto;
}
.l-products-gallery > img:hover {
  opacity: 0.8;
  cursor: pointer;
}

.p-products-gallery-zoom {
  margin: 1rem -1rem;
  padding: 1rem;
  color: #ffffff;
  background: #404040;
}
.p-products-gallery-zoom > img {
  width: 100%;
  height: auto;
}

/*** for PC ***/
@media screen and (min-width: 800px) {

.p-products-mainvisual {
  height: 630px;
}

.p-products-mainvisual-video {
  max-width: 1120px;
  margin: 0 auto;
}

/*-- download --*/
.p-products-download-text {
  background: url('../image/microsign_download_visual.png') bottom 0 left 350px no-repeat;
  max-width: 1000px;
  height: 350px;
  margin: 0 auto;
  padding: 30px;
  text-align: left;
}
.p-products-download-caption {
  font-size: 1.1rem;
}

/*-- Menu --*/
.l-products-menu > li{
  flex: 0 1 25%;
  margin: 0;
}

/*-- feature --*/
.l-products-feature {
  display: grid;
  grid: min-content 1fr / 1fr 1em 1fr;
}

/* feature - odd row */
.l-products-feature > img {
  grid-column: 1 / 1;
  grid-row: 1 / span 2;
}
.l-products-feature-header {
  grid-column: 3 / 3;
  grid-row: 1 / 1;
  margin: 0 0 0.5em;
}
.l-products-feature-text {
  grid-column: 3 / 3;
  grid-row: 2 / 2;
}

/* feature - even row */
.l-products-feature:nth-child(even) > img {
  grid-column: 3 / 3;
}
.l-products-feature:nth-child(even) > .l-products-feature-header,
.l-products-feature:nth-child(even) > .l-products-feature-text {
  grid-column: 1 / 1;
}

.l-products-gallery {
	grid-template-columns: 1fr 1fr 1fr 1fr;
}
.p-products-gallery-zoom {
  margin: 1rem 0;
}

}