/* ===============================
  HERO SECTION
================================= */

#benefits-hero {
  margin-top: 75px;
  background: linear-gradient(to right, #ffe4f0, #e6f7e6);
}

.pc {
  display: block;
}

.sp {
  display: none;
}

#benefits-hero .flex {
  gap: 50px;
  justify-content: space-between;
  max-width: 90%;
}

#benefits-hero .flex > * {
  flex: 1;
}

#benefits-hero ._right {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

#benefits-hero ._right img {
  border-radius: 15px;
  width: 100%;
  height: auto;
}

#benefits-hero .headline {
  text-align: left;
}

#benefits-hero h2 {
  font-size: 2rem;
  font-weight: bold;
}

/* ===============================
  BRANCH STATUS
================================= */

#branch-status {
  background-color: #fff6fa;
}

._center {
  text-align: center;
}

h4 {
  font-size: 2rem;
}

.branch-items {
  list-style: none;
  margin: 30px 0;
  width: 100%;
  display: flex;
  gap: 50px;
}

.branch-items li {
  flex: 1;
  border-radius: 10px;
  padding: 20px 0;
  background-color: #fff;
}

/* border だけ個別指定 */
.branch-items li:nth-child(1) {
  border: 2px solid #fbc4dd;
}

.branch-items li:nth-child(2) {
  border: 2px solid #cdf7cd;
}

.branch-items li ._name {
  padding: 8px 1rem;
}

.branch-items li:nth-child(1) ._name {
  background-color: #fff2f8;
}

.branch-items li:nth-child(2) ._name {
  background-color: #dcf7dc;
}

.branch-items li ._name span {
  color: #fff;
  padding: 10px;
  border-radius: 50vh;
}

.branch-items li:nth-child(1) ._name span {
  background-color: #b92e6f;
}

.branch-items li:nth-child(2) ._name span {
  background-color: #23af23;
}

.branch-items li ._text {
  width: 90%;
  margin: 1.5rem auto 1rem;
}

.branch-items li ._category {
  font-weight: bold;
  font-size: 21px;
  width: 90%;
  margin: 0 auto;
}

.branch-items li:nth-child(1) ._category {
  color: #b92e6f;
}

.branch-items li:nth-child(2) ._category {
  color: #23af23;
}

/* ===============================
  NON-WAGE IMPROVEMENTS
================================= */

.nonwage-items {
  list-style: none;
  margin: 50px auto;
  width: 100%;
  display: flex;
  gap: 50px;
  flex-direction: column;
}

.nonwage-items .item {
  width: 100%;
  border: 1px solid #eee;
  padding: 15px 0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.nonwage-items li ._title {
  padding: 0.7em 1.5rem;
  font-size: 1.4rem;
  font-weight: bold;
  background: linear-gradient(to right, #ffe4f0, #e6f7e6);
}

.nonwage-items li ._title i {
  width: 1.5rem;
  margin-right: 5px;
}

.nonwage-items-subitems {
  width: 93%;
  margin: 20px auto;
  list-style-type: disc;
  list-style-position: inside;
}

.nonwage-items-subitems .sub-item {
  text-indent: -1rem;
  padding-left: 1em;
  font-size: 20px;
}

/* ===============================
  END SECTION
================================= */

#benefits-end {
  background-color: rgba(255, 255, 255, 0.7);
  background-image: url('../images/benefits/photo02.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: soft-light;
  min-height: 300px;
}

/* ===============================
  RESPONSIVE (SP)
================================= */

@media (max-width: 768px) {

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  #benefits-hero {
    margin-top: 40px;
  }

  #benefits-hero .flex {
    flex-direction: column;
    gap: 30px;
    max-width: 100%;
  }

  #benefits-hero h2,
  h4 {
    font-size: 1.6rem;
  }

  .branch-items {
    flex-direction: column;
    gap: 20px;
  }

  .branch-items li {
    width: 100%;
  }

  .nonwage-items {
    gap: 20px;
    margin: 30px auto;
  }

  .nonwage-items-subitems {
    width: 95%;
  }

  .nonwage-items-subitems .sub-item {
    font-size: 16px;
  }

  #benefits-end {
    min-height: 220px;
  }
}