/*
Theme Name: SUNLIFE
Version: 1.0
*/

.business-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 70px 0;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

.business-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 32% 1fr;
  align-items: center;
  gap: 36px;
}

.business-mark {
  background: linear-gradient(
    134deg,
    #F6C21B 13.2%,
    #99EF0C 96.95%
  );
}

.business-en,
.business-text h2 {
  color: #A7D914;
}


.business-en {
  margin: 0 0 10px;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.1;

  background: linear-gradient(
    134deg,
    #F6C21B 13.2%,
    #99EF0C 96.95%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.business-text h2 {
  margin: 0 0 40px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #111;
}

.business-lead {
  margin: 0;
  color: #111;
  font-size: 17px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
}

.business-cards {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.business-card {
  position: relative;
  display: block;
  width: 100%;
  height: 340px;
  overflow: hidden;
  text-decoration: none;
  background: #eee;
}

.business-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

.business-card-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  min-height: 74px;
  padding: 0 20px;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: linear-gradient(
    134deg,
    #F6C21B 13.2%,
    #99EF0C 96.95%
  );
color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.business-card-title span {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.business-card-title span::before,
.business-card-title span::after {
  content: "";
  position: absolute;
  border: 2px solid #fff;
}

.business-card-title span::before {
  width: 10px;
  height: 10px;
  right: 6px;
  top: 3px;
}

.business-card-title span::after {
  width: 10px;
  height: 10px;
  right: 1px;
  top: 8px;
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .business-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .business-card {
    height: 320px;
  }
}

@media (max-width: 767px) {
  .business-section {
    padding: 50px 0;
  }

  .business-inner {
    padding: 0 16px;
  }

  .business-en {
    font-size: 38px;
  }

  .business-text h2 {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .business-lead {
    font-size: 15px;
    line-height: 1.9;
  }

  .business-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .business-card {
    height: 280px;
  }

  .business-card-title {
    min-height: 66px;
    font-size: 17px;
  }
}



.medical-product-section{
  width:100%;
  padding:40px 0;
  background:#fff;
}

.medical-product-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid #dbe5ef;
  border-left:1px solid #dbe5ef;
}

.medical-product-card{
  border-right:1px solid #dbe5ef;
  border-bottom:1px solid #dbe5ef;
  background:#fff;
}

.medical-product-link{
  display:block;
  padding:32px 24px 36px;
  text-decoration:none;
  color:#111;
  height:100%;
  transition:.3s;
}

.medical-product-link:hover{
  opacity:.85;
}

.medical-product-img{
  position:relative;
  background:#f5f5f5;
  margin-bottom:24px;
}

.medical-product-img img{
  display:block;
  width:100%;
  height:220px;
  object-fit:contain;
}

.medical-label{
  position:absolute;
  right:0;
  bottom:0;
  background:#1826b0;
  color:#fff;
  font-size:14px;
  font-weight:700;
  padding:8px 12px;
}

.medical-product-card h3{
  margin:0 0 18px;
  font-size:24px;
  line-height:1.4;
  color:#000;
}

.medical-product-card p{
  margin:0;
  font-size:16px;
  line-height:1.9;
  color:#111;
}

/* タブレット */
@media(max-width:1024px){

  .medical-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

}

/* スマホ */
@media(max-width:767px){

  .medical-product-grid{
    grid-template-columns:1fr;
  }

}



.product-heading {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 70px 20px 30px;
  box-sizing: border-box;
}

.product-heading__line {
  width: 56px;
  height: 5px;
  margin-bottom: 28px;
  background: #2f33c7;
}

.product-heading__title {
  margin: 0 0 18px;
  color: #111;
  font-size: clamp(28px, 3vw, 52px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  font-family: "Noto Sans JP", sans-serif;
}

.product-heading__sub {
  margin: 0;
  color: #d6dbee;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-family: "Noto Sans JP", sans-serif;
}

/* SP */
@media (max-width: 767px) {

  .product-heading {
    padding: 50px 16px 24px;
  }

  .product-heading__line {
    width: 42px;
    height: 4px;
    margin-bottom: 20px;
  }

  .product-heading__title {
    margin-bottom: 14px;
    font-size: 32px;
  }

  .product-heading__sub {
    font-size: 14px;
  }

}


@media screen and (max-width: 767px) {

  .footer-links-sp {
    width: 100%;
    padding: 0 18px !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .footer-links-sp a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-height: 74px !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;

    border-top: 1px solid rgba(255,255,255,.35) !important;
    border-bottom: none !important;

    box-shadow: none !important;

    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: .04em;

    text-decoration: none !important;
    text-align: left !important;

    box-sizing: border-box;
  }

  .footer-links-sp a:last-child {
    border-bottom: 1px solid rgba(255,255,255,.35) !important;
  }

  /* 既存アイコン除去 */
  .footer-links-sp a::before {
    display: none !important;
    content: none !important;
  }

  /* 右ボタン */
  .footer-links-sp a::after {
    content: "›" !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    background: #fff !important;
    color: #000 !important;

    border-radius: 4px;

    font-size: 24px;
    font-weight: 700;
    line-height: 1;

    flex-shrink: 0;
  }
}

@media screen and (max-width: 767px) {

  /* 親側の線を消す */
  .footer-links-sp li,
  .footer-links-sp .menu-item,
  .footer-links-sp ul {
    border: none !important;
    box-shadow: none !important;
  }

  .footer-links-sp {
    border-top: 1px solid rgba(255,255,255,.35);
  }

  .footer-links-sp a {
    border-top: none !important;
    border-bottom: 1px solid rgba(255,255,255,.35) !important;
  }

}