/* TOP：ipeが選ばれる理由（サービスの次） */
#why-ipe {
   margin: 12rem 7.5rem 0;
   padding: 12rem 0;
   background-color: #f4f8fb;
   background-position: center;
   background-size: cover;
}

#why-ipe .wrap {
   display: flex;
   align-items: center;
   gap: 8rem;
}

#why-ipe .why-ipe__head {
   flex: 0 0 52rem;
}

#why-ipe h2 {
   margin: 0;
}

#why-ipe .desc {
   margin: 3.2rem 0 0;
   font-size: 1.6rem;
   line-height: 2;
}

#why-ipe .button {
   margin: 4.8rem 0 0;
   text-align: left;
}

#why-ipe .why-ipe__list {
   flex: 1;
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 2.4rem;
   margin: 0;
   padding: 0;
   list-style: none;
}

#why-ipe .why-ipe__list li {
   margin: 0;
}

#why-ipe .why-ipe__list a {
   display: flex;
   flex-direction: column;
   gap: 1.6rem;
   height: 100%;
   padding: 3.6rem 4rem 4rem;
   background: #fff;
   border-top: 3px solid #2aa0d0;
   box-shadow: 0 0 22px 2px rgba(0, 0, 0, 0.04);
   color: #333;
   text-decoration: none;
   transition: transform 0.3s, box-shadow 0.3s;
}

#why-ipe .why-ipe__list a:hover {
   transform: translateY(-0.4rem);
   box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
}

#why-ipe .why-ipe__list .no {
   display: flex;
   align-items: baseline;
   gap: 1.2rem;
   font-weight: 700;
   font-size: 3.6rem;
   line-height: 1;
   color: #2aa0d0;
}

#why-ipe .why-ipe__list .no small {
   font-size: 1.4rem;
   letter-spacing: 0.08em;
   color: #999;
}

#why-ipe .why-ipe__list .ttl {
   font-weight: 700;
   font-size: 1.9rem;
   line-height: 1.7;
   letter-spacing: 0.04em;
}

@media screen and (max-width: 1023px) {
   #why-ipe .wrap {
      flex-direction: column;
      align-items: stretch;
      gap: 5rem;
   }

   #why-ipe {
      margin: 8rem 2rem 0;
   }

   #why-ipe .why-ipe__head {
      flex: none;
   }
}

@media screen and (max-width: 767px) {
   #why-ipe {
      margin: 5rem 0 0;
      padding: 5rem 0;
   }

   #why-ipe .wrap {
      gap: 3rem;
   }

   #why-ipe .desc {
      margin-top: 2rem;
      font-size: 1.4rem;
   }

   #why-ipe .button {
      margin-top: 3rem;
   }

   #why-ipe .why-ipe__list {
      grid-template-columns: 1fr;
      gap: 1.2rem;
   }

   #why-ipe .why-ipe__list a {
      gap: 1rem;
      padding: 2.4rem 2rem;
   }

   #why-ipe .why-ipe__list .no {
      font-size: 2.8rem;
   }

   #why-ipe .why-ipe__list .ttl {
      font-size: 1.5rem;
   }
}
