@charset "UTF-8";

/* 募集要項一覧（src/pages/job-information/index.astro の <style>） */

  .page-job-information-index{
    padding-block: 12rem;
    @media screen and (max-width: 768px) {
      padding-block: 6rem;
    }
    .index-grid{
      display: grid;
      grid-template-columns: repeat(2,1fr);
      gap: 6rem;
      @media screen and (max-width: 768px) {
        grid-template-columns: 1fr;
        gap: 4rem;
      }
      li{
        background-color:var(--white);
        background-image: var(--grad-blue);
        background-position: top left;
        background-size: 100% 0.6rem;
        background-repeat: no-repeat;
        padding: 4rem 3rem 3rem;
        @media screen and (max-width: 768px) {
          padding: 3rem 2rem 2rem;
        }
        h2{
          font-size: 2.6rem;
          font-weight: 500;
          line-height: 1.35;
          padding-bottom: 0.5em;
          border-bottom: 1px dotted var(--black);
          @media screen and (max-width: 768px) {
            font-size: 2rem;
          }
        }
        dl{
          margin-top: 1.6rem; 
          display: flex;
          gap: 1.5rem;
          font-size: 1.6rem;
          line-height: 2;
          @media screen and (max-width: 768px) {
            font-size: 1.3rem;
            gap: 1rem;
            margin-top: 1.2rem;
          }
          dt{
            font-weight: 500;
            width: 9rem;
            flex-shrink: 0;
            background-color: var(--bg-gray);
            display: grid;
            place-content: center;
            @media screen and (max-width: 768px) {
              width: 8rem;
            }
          }
        }
        .links{
          display: grid;
          grid-template-columns: repeat(2,1fr);
          gap: 1rem;
          margin-top: 3rem;
          @media screen and (max-width: 768px) {
            grid-template-columns: 1fr;
          }
          .view-btn{
            width: 100%;
            height: max(5rem,40px);
            padding: 2rem 1.5rem;
            font-size: 1.8rem;
            @media screen and (max-width: 768px) {
              font-size: 1.4rem;
              height: 5rem;
            }
          }
        }
      }
    }
  }
