@charset "utf-8";

/*================================================
  home
================================================*/

.home-section-title {
  margin-bottom: calc(var(--layout-gap) / 1.5);
}

.home-section-title span:nth-of-type(1) {
  display: block;
  line-height: 1;
  font-size: clamp(1rem, 0.8rem + 1vw, 2rem);
  font-weight: 900;
}

.home-section-title span:nth-of-type(2) {
  color: var(--secondary-color);
  display: block;
  line-height: 1.5;
  font-size: clamp(1.6rem, 1.04rem + 2.8vw, 4.4rem);
  text-transform: uppercase;
  margin-top: calc(var(--layout-gap)/2);
}

.home-section-text {
  margin:0 0 2em;
  font-weight: 700;
}

@media print, screen and (min-width: 1200px) {
  .home-section-text {
    margin:0 0 3em;
  }
}

/*------------------------------------------------
  main-read
------------------------------------------------*/
.main-read {
  background-image: url(../../image/home/main_bg_sp.jpg);
  background-size: cover;
  background-position: bottom right;
  background-repeat: no-repeat;
  min-height: 350px;
  height:  50dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-read-title {
  width:96%;
  margin: auto;
  color: var(--color-white);
  font-size: clamp(1.6rem, 1.04rem + 2.8vw, 4.4rem);
}
.main-read-title::before,
.main-read-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background:linear-gradient(to right, rgba(var(--color-white-rgb),1) 0, rgba(var(--color-white-rgb),1)60%,  rgba(var(--color-white-rgb),0) 100%);
}

.main-read-title > span {
  padding: 1em 0;
  display: block;
}

@media print, screen and (min-width: 1200px) {
  .main-read {
    /* background-image: url(../../image/home/main_bg.jpg);
    height: calc(100vh - var(--header-size-pc)); */
    min-height: 700px;
  }
  .main-read-title > span {
    padding: 1em;
  }
}

/*------------------------------------------------
  Strengths
------------------------------------------------*/
.strengths {
  background-image: url(../../image/home/strengths_bg.jpg);
  background-size: 100%;
  background-position: top right;
  background-repeat: no-repeat;
}

.strengths-list {
  margin: var(--layout-gap) auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.strengths-item {
  border: 3px solid var(--accent-color);
  background-size: cover;
  width: calc(100% /2 - 5px);
  min-height: 140px;
  padding: 10px;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.strengths-item::before {
  content: "";
  display: block;
  position: absolute;
  height: 70%;
  width: calc(100% + 6px);
  bottom: -3px;
  left: -3px;
  background: linear-gradient(to top, rgba(var(--primary-color-rgb), 1) 0, rgba(var(--primary-color-rgb),0) 100%);
}
.strengths-item-text {
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.5;
  position: relative;
}

.strengths-item:nth-of-type(1) {
  background-image: url(../../image/home/strengths_item_01_bg.jpg);
}

.strengths-item:nth-of-type(2) {
  background-image: url(../../image/home/strengths_item_02_bg.jpg);
}

.strengths-item:nth-of-type(3) {
  background-image: url(../../image/home/strengths_item_03_bg.jpg);
}

.strengths-item:nth-of-type(4) {
  background-image: url(../../image/home/strengths_item_04_bg.jpg);
}

.strengths .button-label-primary {
  margin: auto;
}
@media print, screen and (min-width: 590px) {
  .strengths-item {
    padding: 15px;
  }
}

@media print, screen and (min-width: 769px) {
  .strengths-list {
    gap: 20px;
  }
  .strengths-item {
    border: 4px solid var(--accent-color);
    width: calc(100% /2 - 10px);
    height: 190px;
  }
}

@media print, screen and (min-width: 960px) {
  .strengths-list {
    gap: 5px;
  }
  .strengths-item {
    border: 6px solid var(--accent-color);
    width: calc(100% / 4 - 10px);
    height: 190px;
  }
  .strengths-item::before {
    width: calc(100% + 12px);
    bottom: -6px;
    left: -6px;
  }
  .strengths-item-text {
    font-size: clamp(1rem, 0.84rem + 0.8vw, 1.8rem);
  }
}

@media print, screen and (min-width: 1200px) {
  .strengths-item {
    padding: 15px 20px;
  }
  .strengths-item::before {
    height: 50%;
  }
}


/*------------------------------------------------
  product
------------------------------------------------*/
.product {
  background-image: url(../../image/home/product_bg.jpg);
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
}

.product-list {
  margin: var(--layout-gap) auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.product-item {
  background-size: cover;
  width: calc(100% / 2 - 5px);
}

.product-item-name {
  color: var(--color-white);
  background-color: var(--primary-color);
  font-size: clamp(1rem, 0.84rem + 0.8vw, 1.8rem);
  font-weight: 700;
  line-height: 1;
  padding: 0.5em 1em;
  margin-bottom: 0.75em;
  border-radius: 3px;
}

.product .text-link-arrow {
  text-align: right;
  /* font-size: clamp(0.7rem, 0.52rem + 0.9vw, 1.6rem); */
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
}

@media print, screen and (min-width: 769px) {
  .product-item {
    width: calc(100% / 4 - 15px);
  }
}


/*------------------------------------------------
  Business
------------------------------------------------*/
.business {
  background-image: url(../../image/home/business_bg.jpg);
  background-size:contain;
  background-position: top left;
  background-repeat: no-repeat;
}

.business-list {
  margin: var(--layout-gap) auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  max-width: 820px;
}
.business-item {
  background-color: var(--color-white);
  /* width: 100%; */
  width: calc(100% /2 - 7.5px);
  padding: 1em 0.25em 1em 1em;
  position: relative;
  box-shadow: 0 3px 6px rgba(var(--color-black-rgb), 0.16);
}
.business-item::before {
  content: "";
  display: block;
  position: absolute;
  border-style: solid;
  border-width: 14px;
  /* border-color: rgba(var(--primary-color-rgb), 1) transparent transparent rgba(var(--primary-color-rgb), 1); */
  left: -5px;
  top: -5px;
}

.business-item:nth-of-type(1)::before {
  border-color: #E77F4F transparent transparent #E77F4F;
}
.business-item:nth-of-type(2)::before {
  border-color: #8F82BC transparent transparent #8F82BC;
}
.business-item:nth-of-type(3)::before {
  border-color: #BCD4DF transparent transparent #BCD4DF;
}
.business-item:nth-of-type(4)::before {
  border-color: #BA6969 transparent transparent #BA6969;
}
.business-item:nth-of-type(5)::before {
  border-color: #BFC1A0 transparent transparent #BFC1A0;
}
.business-item:nth-of-type(6)::before {
  border-color: #63A4C2 transparent transparent #63A4C2;
}
.business-item:nth-of-type(7)::before {
  border-color: #8EBA69 transparent transparent #8EBA69;
}
.business-item:nth-of-type(8)::before {
  border-color: #BE8B55 transparent transparent #BE8B55;
}
.business-item:nth-of-type(9)::before {
  border-color: #E7E24F transparent transparent #E7E24F;
}

.business-item-label {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
}

.business-link.for-pc {
  display: none;
}

.button-label-primary.business-link.for-sp {
  margin: auto;
}

@media print, screen and (min-width: 769px) {
  .business-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
  }
  .business-description {
    width: calc(45% - var(--layout-gap));
    max-width: 570px;
  }
  .business-list {
    width: 55%;
    max-width: 840px;
    margin: 0;
  }

  .business-link.for-pc {
    display: block;
    width: 80%;
    margin-top: var(--layout-gap);
  }
  .business-link.for-sp {
    display: none;
  }

}


@media print, screen and (min-width: 1200px) {
  .business {
    background-size:100%;
  }
  .business-description {
    width: calc(40% - var(--layout-gap));
    max-width: 570px;
  }
  .business-list {
    width: 60%;
  }
  .business-item {
    width: calc(100% /3 - 10px);
    max-width: 260px;
    /* padding: 2em 0.25em 2em 2em; */
    padding: 1.25em 0.25em 1.25em 1em;
  }
}

/*------------------------------------------------
  Business
------------------------------------------------*/
.company {
  background-image: url(../../image/home/company_bg.jpg);
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
}

.company-list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.company-item {
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.company-item-link {
  color: var(--color-white);
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 150px;
  width: 100%;
  position: relative;
  text-align: center;
  position: relative;
}

.company-item-link-img {
  overflow: hidden;
  position: relative;
}
.company-item-link-img::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #0D346A;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.43;
}

.company-item-link-inner {
  position: absolute;
}

.company-item-label {
  font-size: clamp(1rem, 0.08rem + 1.6vw, 2rem);
  font-weight: 700;
  display: block;
  margin-bottom:1em;
  line-height: 1;
  text-shadow: 0 3px 6px rgba(var(--color-black-rgb), 0.8);
}
.company-item-label > span {
  font-size: 2.4rem;
  display: block;
  line-height: 1;
  text-transform: uppercase;
  margin-top: 0.5em;
}
.company-item-button {
  color: var(--primary-color);
  background-color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
  font-weight: 500;
  line-height: 1;
  width: 150px;
  height:100%;
  transition: all .3s linear;
  position: relative;
  opacity: 1;
  box-sizing: border-box;
  padding:0.75em 2.25em;
  margin: auto;
}
.company-item-button::after {
  content: "";
  display: block;
  width: 1em;
  height: 1em;
  background-image: url(../../image/common/icon_arrow_bg_w.svg);
  background-size: contain;
  margin-left: 5px;
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
}
@media print, screen and (min-width: 769px) {
  .company-item-link {
    height: auto;
  }
  .company-item-label {
    margin-bottom:1em;
  }
  .company-item {
    width: calc(100% / 3 - 10px);
  }
  .company-item-button {
    width: 130px;
  }
  .company-heading {
    margin-top: 1em;
  }
}
@media print, screen and (min-width: 960px) {
  .company-heading {
    text-align: left;
  }
  .company-item {
    width: calc(100% / 3 - 15px);
  }
  .company-item-label > span {
    font-size: clamp(1.2rem, 0.72rem + 2.4vw, 3.6rem);
    margin-bottom:1em;
  }
  /* Hover Style */
  .company-item-link:hover {
    opacity: 1;
  }

  .company-item-link img {
    transition: transform 0.3s linear;
  }

  .company-item-link:hover img {
    transform: scale(1.1);
    transition: transform 0.3s linear;
  }
  .company-item-link:hover .company-item-link-img::after {
    opacity: 0.25;
    transition: opacity 0.3s linear;
  }
  .company-item-button {
    width: 174px;
    padding:1em 2.25em;
  }
}

/*news*/
.news-item > a {
  display: block;
  padding: 0 0 1em;
  border-bottom: 1px solid var(--color-gray);
}
.news-item span.date,
.news-item span.detail {
  display: block;
  font-size: clamp(1.2rem, 1.14rem + 0.3vw, 1.5rem);
  font-weight: 700;
}
@media print, screen and (min-width: 960px) {
  .news-item > a {
    display: flex;
    flex-wrap: wrap;
  }
  .news-item span.date {
    width: 7em;
  }
  .news-item span.detail {
    width: calc(100% - 8em);
  }
}
