/* 法人向けページ専用スタイル */

/* 製品セクション法人向けレイアウト */
.products-section {
  z-index: 10;
  display: flex;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 90px;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .products-section {
    max-width: 100%;
    padding: 100px 20px 0;
  }
}

.products-container {
  z-index: 10;
  display: flex;
  width: 100%;
  max-width: 1000px;
  flex-direction: column;
  align-items: stretch;
}

@media (max-width: 991px) {
  .products-container {
    max-width: 100%;
    margin-bottom: 10px;
  }
}

.products-header {
  text-align: center;
}

.products-head-description {
  max-width: 100%;
  margin: 24px auto 0;
}

@media (max-width: 991px) {
  .products-head-description {
    margin-top: 40px;
  }
}

@media (max-width: 640px) {
  .products-head-title {
    font-size: 22px;
  }
}

.products-grid {
  margin-top: 80px;
}

@media (max-width: 991px) {
  .products-grid {
    margin-top: 40px;
  }
}

.products-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.products-row:last-child {
  margin-bottom: 0;
  margin-top: 22px;
}

.products-row:nth-child(2) {
  margin-top: 15px;
}

@media (max-width: 991px) {
  .products-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }

  .products-row:last-child {
    margin-top: 0;
  }

  .products-row:nth-child(2) {
    margin-top: 0;
  }
}

.product-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  line-height: normal;
  width: 50%;
  margin-left: 0;
}

@media (max-width: 991px) {
  .product-column {
    width: 100%;
    margin-left: 0;
  }

  .product-column:last-child {
    margin-left: 0;
  }
}

.product-column-third {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  line-height: normal;
  width: 33.333%;
  margin-left: 0;
}

@media (max-width: 991px) {
  .product-column-third {
    width: 100%;
    margin-left: 0;
  }

  .product-column-third:not(:first-child) {
    margin-left: 0;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-grow: 1;
  font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
  white-space: nowrap;
}

.large-card {
  padding: 439px 0 26px;
}

.medium-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 0.703;
  padding: 16px 0 26px;
}

@media (max-width: 991px) {
  .product-card {
    margin-top: 16px;
    white-space: initial;
  }

  .large-card {
    padding-top: 100px;
  }

  .medium-card {
    padding-top: 100px;
  }

  .product-card:first-child {
    margin-top: 16px;
  }
}

.top-left-rounded {
  border-radius: 40px 0 0 0;
  overflow: hidden;
}

.top-right-rounded {
  border-radius: 0 40px 0 0;
  overflow: hidden;
}

.bottom-left-rounded {
  border-radius: 0 0 0 40px;
  overflow: hidden;
}

.bottom-right-rounded {
  border-radius: 0 0 40px 0;
  overflow: hidden;
}

.product-image {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.event-image {
  object-position: left;
}

.other-risks-image {
  object-position: bottom right;
  object-fit: cover;
}

.product-content {
  position: relative;
  background-color: rgba(255, 255, 255, 0.88);
  display: flex;
  padding: 28px;
  flex-direction: column;
  align-items: flex-start;
  bottom: 0;
}

@media (max-width: 991px) {
  .product-content {
    padding: 28px 20px;
    white-space: initial;
  }
  .medium-card {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  .product-content {
    margin: 0;
  }
  .bottom-left-rounded {
    border-radius: 0;
  }
  .bottom-right-rounded {
    border-radius: 0;
  }
  .top-left-rounded {
    border-radius: 0;
  }
  .top-right-rounded {
    border-radius: 0;
  }
  .product-card {
    min-height: 300px;
    border-radius: 30px;
    overflow: hidden;
  }
}

.large-card .product-content {
  background-color: rgba(255, 255, 255, 0.88);
}

.medium-card .product-content {
  background-color: rgba(255, 255, 255, 0.88);
  align-items: stretch;
}

.bottom-right-rounded .product-content {
  background-color: rgba(255, 255, 255, 0.88);
}

.product-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3.2px;
  margin: 0;
  align-self: flex-start;
}

.product-title.highlighted {
  text-shadow: 0px 4px 4px rgba(255, 255, 255, 1);
}

.product-description {
  font-size: 18px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: 1px;
  margin: 22px 0 0;
  white-space: wrap;
}

.medium-card .product-description {
  height: 108px;
}

@media (max-width: 991px) {
  .product-description {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .product-title {
    font-size: 24px;
  }
  .product-description {
    font-size: 16px;
  }
}