@charset "UTF-8";

/* 福利厚生制度（src/pages/benefits/index.astro の <style>） */

  .page-benefits{
    .benefits-grid{
      padding-block: 6rem 10rem;
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 2.5rem;
      @media screen and (max-width: 768px) {
        padding-block: 4rem 6rem;
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }
      li{
        background-color: var(--white);
        padding-block: 4rem 6rem;
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 2rem;
        @media screen and (max-width: 768px) {
          padding-block: 4rem 3rem;
          gap: 2rem;
        }
        .image-wrap{
          display: grid;
          place-content: center;
          height: 20rem;
          @media screen and (max-width: 768px) {
            height: auto;
          }
          img{
            width: var(--w);
            @media screen and (max-width: 768px) {
              width: calc(var(--w) / 5 * 3);
            }
          }
          .icon01{--w: 15.6rem;}
          .icon02{--w: 16.4rem;}
          .icon03{--w: 15.6rem;}
          .icon04{--w: 12.8rem;}
          .icon05{--w: 13.9rem;}
          .icon06{--w: 16.6rem;}
          .icon07{--w: 12.6rem;}
          .icon08{--w: 18.2rem;}
          .icon09{--w: 15.5rem;}
          .icon10{--w: 10.6rem;}
          .icon11{--w: 15.5rem;}
        }
        .texts{
          text-align: center;
          display: grid;
          place-content: center;
          height: 12rem;
          @media screen and (max-width: 768px) {
            height: auto;
          }
          &.short{
            height: 6rem;
            @media screen and (max-width: 768px) {
              height: auto;
            }
          }
          h2{
            font-size: 2.4rem;
            line-height: 1.5;
            @media screen and (max-width: 768px)  {
              font-size: 1.8rem;
            }
          }
          .sub{
            font-size: 1.6rem;
            line-height: 1.8;
            margin-top: 0.5em;
            @media screen and (max-width: 768px) {
              font-size: 1.4rem;
            }
          }
        }
      }
    }
  }
