@charset "utf-8";

.first-view {
  height: 600px;
  background-image: url("../img/index/bg-main122.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  display: grid;
  align-items: center;
}

.first-view-text {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 120px;
  padding-bottom: 80px;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 2px 2px 10px #3c3b3b;
}

.first-view-text h1 {
  font-family:"Shin Maru Go Regular",Georgia,sans-serif;
  font-size: 48px;
  line-height: 72px;
}

.first-view-text p {
  font-family:"Shin Maru Go Regular",Georgia,sans-serif;
  font-size: 18px;
  margin-top: 20px;
}

.lead {
  max-width: 1200px;
  margin: 60px auto;
}

.lead p {
  line-height: 2;
  text-align: center;
}

.item-list {
  width: 930px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, 240px);
  column-gap: 95px;
  row-gap: 70px;
  justify-content: center;
}

.item-list dl {
      width: auto;
    margin-top: 20px;
}

.item-list dt {
    text-align: center;
}

.item-list dd {
  font-size: 14px;
  line-height: 20px;
  margin-top: 10px;
text-align: center;

}

.item-list li {
  position: relative;
}

.item-list .item-label {
  position: absolute;
  top: 0;
  left: calc(100% + 18px);
  font-size: 10px;
  white-space: nowrap;
  transform-origin: top left;
  transform: rotate(90deg);
}

.item-list2 {
  width: 930px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 75px;
  display: grid;
  grid-template-columns: repeat(auto-fit, 150px);
  column-gap: 95px;
  row-gap: 70px;
  justify-content: center;
}

.item-list2 dl {
  margin-top: 20px;
}

.item-list2 dt {
  font-weight: bold;
}

.item-list2 dd {
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
  margin-top: 10px;
text-align: center;
}

.item-list2 li {
  position: relative;
}

.item-list2 .item-label {
  position: absolute;
  top: 0;
  left: calc(100% + 18px);
  font-size: 10px;
  white-space: nowrap;
  transform-origin: top left;
  transform: rotate(90deg);
}

@media (max-width: 800px) {
  .first-view {
    height: calc(70vh - 50px);
    background-image: url("../img/index/bg-main-sp122.jpg");
    align-items: flex-start;
	  height: 360px
  }

  .first-view-text {
    padding-top: 40px;
    padding-left: 30px;
  }

  .first-view-text h1 {
    font-size: 24px;
    line-height: 36px;
  }

  .first-view-text p {
    font-size: 14px;
    margin-top: 15px;
  }

  .lead {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lead p {
    text-align: left;
  }

  .item-list {
    padding-left: 20px;
    padding-right: 20px;
  }

  .item-list li {
    width: 220px;
    margin-left: auto;
    margin-right: auto;
  }
	
.item-list dd {
  font-size: 13px;
}
	
}