@charset "utf-8";

/*================================================
  corporate
================================================*/

/*------------------------------------------------
  intro
------------------------------------------------*/

.intro {
  position: relative;
}
.intro::before {
  content: "";
  display: block;
  background-image: url(../../image/corporate/main_pic_corporate.jpg);
  background-size: contain;
  background-position: top right;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.intro-container {
  position: relative;
  padding: 0 2em;
}

.intro-title {
  color: var(--secondary-color);
  font-size: clamp(1.8rem, 1.36rem + 2.2vw, 4rem);
  font-weight: 900;
  margin-bottom: 1em;
  text-shadow: 0 0 20px var(--color-white);
}

.intro-inner {
  max-width: 660px;
}

.intro-container p {
  font-size: clamp(1.2rem, 0.9818rem + 1.0909vw, 1.8rem);
}

@media print, screen and (min-width: 769px) {
  .intro::before {
    /* max-width: 1528px; */
    max-height: 1003px;
    min-height: 1003px;
  }
  .intro-container {
    padding: 0;
  }
}

@media print, screen and (min-width: 1600px) {
  .intro::before {
    /* background-size: 100%; */
    opacity: 0.9;
    top: -80px;
  }
}


/*------------------------------------------------
  service
------------------------------------------------*/
.service {
  position: relative;
}
.service::before {
  content: "";
  display: block;
  background-image: url(../../image/common/common_logo_mark.svg);
  background-size: auto;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.2;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
}

.service::after {
  content: "";
  display: block;
  position: relative;
  height: 100px;
  width: 100%;
  clip-path: ellipse(70% 90% at 50% 0%);
  transform: rotate(-180deg);
  background-color: #ECF4FB;
  margin-top: 2em;
}

.service-list {
  display: grid;
  gap: 3em;
  position: relative;
}
.service-item {
  box-shadow: 0 10px 20px rgba(var(--color-black-rgb), 0.1);
  width: 100%;
}
.service-item::before {
  content: "";
  /* display: block; */
  display: none;
  width: 100%;
  padding-top: 56.25%;
  background-position:center center;
  background-size: cover;
}
.service-item-inner {
  padding:2.5em 2em;
  width: 100%;
  position: relative;
  background-color: var(--color-white);
}
.service-item-inner::before {
  content: "";
  display: block;
  width: 220px;
  height: 220px;
  background-position:center center;
  background-size: contain;
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.1;
}
.service-item h4 {
  color: var(--secondary-color);
  font-size: clamp(1.6rem, 1.36rem + 1.2vw, 2.8rem);
  line-height: 1.5;
  margin-bottom: 1em;
}

.service-item-inner p + p {
  margin-top: 2em;
}

/*画像指定*/
.service-item:nth-child(1):before {
  background-image: url(../../image/corporate/item_pic_01.jpg);
}
.service-item:nth-child(1) .service-item-inner::before {
  background-image: url(../../image/common/icon_business.svg);
}
.service-item:nth-child(2):before {
  background-image: url(../../image/corporate/item_pic_02.jpg);
}
.service-item:nth-child(2) .service-item-inner::before {
  background-image: url(../../image/common/icon_risk.svg);
}
.service-item:nth-child(3):before {
  background-image: url(../../image/corporate/item_pic_03.jpg);
}
.service-item:nth-child(3) .service-item-inner::before {
  background-image: url(../../image/common/icon_benefits.svg);
}
.service-item:nth-child(4):before {
  background-image: url(../../image/corporate/item_pic_04.png);
  background-size: contain;
}
.service-item:nth-child(4) .service-item-inner {
  padding-top: 0;
}
.service-item:nth-child(4) .service-item-inner::before {
  background-image: url(../../image/common/icon_building.svg);
}


@media print, screen and (min-width: 769px) {
  .service::after {
    height: 125px;
    clip-path: ellipse(55% 100% at 50% 0%);
  }

  .service-list {
    gap: 6em;
  }
  .service-item {
    display: flex;
    flex-wrap: wrap;
    max-width: 1060px;
  }
  .service-item > img {
    display: none;
  }
  .service-item:nth-child(odd) {
    margin-right: auto;
  }
  .service-item:nth-child(even) {
    margin-left: auto;
  }
  .service-item::before {
    width: 40%;
    padding-top: 0;
    display: block;
  }
  .service-item-inner {
    width: 60%;
    padding: 3em;
  }
  .service-item:nth-child(4) > img {
    display:block;
    width: 60%;
  }
  .service-item:nth-child(4)::before {
    /* width: 60%; */
    display: none;
  }
  .service-item:nth-child(4) .service-item-inner {
    padding:3em 3em 3em 0;
    width: 40%;
  }
  .service-item:nth-child(4) .service-item-inner::before {
    bottom: 30px;
    top: inherit;
    transform: inherit;
  }
}


@media print, screen and (min-width: 1600px) {

  .service::after {
    height: 145px;
    margin-top: 4em;
  }

  .service-item::before {
    width: 400px;
  }
  .service-item-inner {
    width: calc(100% - 400px);
    padding: 4em;
  }

  .service-item-inner::before {
    top: 0;
    transform: inherit;
  }
  .service-item-inner > p {
    line-height: 2.5;
  }
  .service-item:nth-child(4) > img {
    width: 660px;
  }
  .service-item:nth-child(4) .service-item-inner {
    padding:4em 4em 4em 0;
    width: calc(100% - 660px);
  }
  .service-item:nth-child(4) .service-item-inner > p {
    padding-top: 0;
    font-size: clamp(1.6rem, 1.56rem + 0.2vw, 1.8rem);
    line-height: 2.5;
  }
}

.detail-list > li {
  padding-left: 1.5em;
  margin-top: 1em;
}

.detail-list > li::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: var(--secondary-color);
  border-radius: 50%;
  margin-right: 0.5em;
  margin-left: -1.5em;
  line-height: 2;
}

/*------------------------------------------------
  product
------------------------------------------------*/

.product {
  background-color: #ECF4FB;
  position: relative;
  /* margin-top: 95px; */
}

.product::before {
  content: "";
  background-image: url(../../image/corporate/insurance_top_right_img.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  display: block;
  width: 200px;
  height: 100px;
  right: 10px;
  top: -100px;
}

.product-container {
  padding-top: 0;
}

.product-list {
  display: grid;
  gap: 2.5em;
}

.product-list + .section-title {
  margin-top: calc(var(--layout-gap)*2);
}

.product-item-pic {
  border-radius: 20px;
  overflow: hidden;
}

.product-item h4.content-title {
  margin: 1em 0;
  font-size: clamp(1.4rem, 1.2rem + 1vw, 2.4rem);
}
.product-item h4.content-title::after {
  margin-top: calc(var(--layout-gap) / 4);
}

@media print, screen and (min-width: 590px) {
  .product-list {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 3.5em 2.5em;
  }
}

@media print, screen and (min-width: 769px) {
  .product::before {
    width: 300px;
    height: 150px;
    top: -155px;
  }
}

@media print, screen and (min-width: 960px) {
  .product-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .product-list + .section-title {
    margin-top: calc(var(--layout-gap)*3);
  }
}


@media print, screen and (min-width:1600px) {
  .product::before {
    width: 400px;
    height: 200px;
    right: 20px;
    top: -155px;
  }
}
