/* ===== Welfare Page Styles ===== */

/* Hero */
.wel-hero {
  position: relative;
  height: 600px;
  margin-top: 100px;
  overflow: hidden;
}

.wel-hero__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wel-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.9;
}

.wel-hero__title-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--color-gray2);
  padding: 20px 50px;
}

.wel-hero__title {
  font-family: var(--font-en);
  font-weight: bold;
  font-size: 10rem;
  color: var(--color-dark);
  letter-spacing: 0.03em;
  line-height: 1;
}

/* Breadcrumb */
.wel-hero__breadcrumb {
  background: var(--color-gray2);
  padding: 16px 0;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  margin: 0 0 100px;
}

.wel-hero__breadcrumb a {
  color: var(--color-gold);
}

.wel-hero__breadcrumb span {
  color: var(--color-dark);
}

/* ===== Benefits Section (cont_welfare) ===== */
.benefits {
  padding: 0;
}

.benefits__sec {
  background: #f7f7f7;
  padding: 0 0 80px;
}

.benefits__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
}

/* Anchor Title */
.anchorTtl {
  font-size: 3rem;
  padding: 1rem 0 2.5rem 6.5rem;
  background: url('../images/shared/icon_anchor.png') no-repeat left top;
  background-size: 52px auto;
  border-bottom: solid 3px #ccc;
  line-height: 1;
  position: relative;
  margin-bottom: 5rem;
  font-weight: bold;
}

.anchorTtl::after {
  content: "";
  display: block;
  background: #171c61;
  width: 8rem;
  height: 3px;
  position: absolute;
  bottom: -3px;
  right: 0;
}

/* Block Container */
.benefits__blockOut {
  width: 100%;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
}

/* Individual Block */
.benefits__block {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #ddd;
}

.benefits__block:first-child {
  border-top: 1px solid #ddd;
}

/* Icon */
.benefits__icon {
  width: 140px;
  position: relative;
}

.benefits__icon img {
  width: 50px;
}

.benefits__icon::before {
  content: "";
  position: absolute;
  background: #171c61;
  width: 30px;
  height: 1px;
  top: 50%;
  right: 30px;
}

/* Text Area */
.benefits__txtArea {
  width: calc(100% - 140px);
}

.benefits__txtArea h4 {
  font-size: 1.8rem;
  margin: 0 0 5px 0;
  line-height: 2.6rem;
  font-weight: bold;
  color: #171c61;
}

.benefits__txtArea p {
  font-size: 1.4rem;
  line-height: 2.4rem;
}

/* Back Button */
.wel-back-btn {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  background: var(--color-white);
}

.wel-back-btn__link {
  display: flex;
  align-items: center;
  width: 600px;
  max-width: 100%;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 2rem;
  letter-spacing: 0.06em;
  text-align: center;
  position: relative;
  height: 90px;
  justify-content: center;
  transition: background 0.3s;
}

.wel-back-btn__link:hover {
  opacity: 0.85;
}

.wel-back-btn__arrow {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 100%;
  background: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wel-back-btn__arrow svg {
  width: 24px;
  height: 16px;
  fill: none;
  color: var(--color-white);
}

/* ===== Responsive ===== */
@media screen and (max-width: 768px) {
  .wel-hero {
    height: auto;
    margin-top: 50px;
  }

  .wel-hero__img {
    height: 200px;
    position: relative;
  }

  .wel-hero__title-wrap {
    padding: 12px 20px;
  }

  .wel-hero__title {
    font-size: 3.2rem;
  }
  
  .wel-hero__breadcrumb {
    margin: 0 0 50px;
  }

  .benefits__sec {
    padding: 0 0 40px;
  }

  .benefits__inner {
    padding: 0 15px;
  }

  .anchorTtl {
    background: url('../images/shared/icon_anchor.png') no-repeat left top 6px;
    background-size: 4rem auto;
    font-size: 2.4rem;
    padding: 1rem 0 1.5rem 5rem;
    margin-bottom: 2rem;
    line-height: 3rem;
  }

  .benefits__blockOut {
    width: calc(100% - 30px);
    padding: 40px 15px;
  }

  .benefits__block {
    padding: 15px 0;
  }

  .benefits__icon {
    width: 70px;
  }

  .benefits__icon img {
    width: 50px;
  }

  .benefits__icon::before {
    display: none;
  }

  .benefits__txtArea {
    width: calc(100% - 70px);
  }

  .benefits__txtArea h4 {
    font-size: 1.6rem;
    margin: 0 0 5px 0;
    line-height: 2.4rem;
  }

  .benefits__txtArea p {
    font-size: 1.3rem;
    line-height: 2.4rem;
  }

  .wel-back-btn__link {
    width: calc(100% - 40px);
    font-size: 1.6rem;
    height: 80px;
  }
}
