body {
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}
img {
  width: 100%;
  height: auto;
}
.page-title {
  color: #fff;
  background: #ff7800;
  padding: 10px 0;
  margin-bottom: 32px;
  font-size: 20px;
  text-align: center;
  height: 54px;
  align-content: center;
}
.office-shop-section {
  margin-bottom: 60px;
}
.section-ttl {
  color: #000;
  border-bottom: 2px solid #ff7800;
  padding-bottom: 6px;
  box-sizing: border-box;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  svg {
    margin-right: 4px;
    width: 32px;
    height: 32px;
  }
}
.section-head {
  margin-bottom: 32px;
  .section-head-txt {
    margin-bottom: 32px;
    .txt {
      font-size: 16px;
      line-height: 2;
      .orange {
        font-weight: 600;
      }
    }
  }
  .section-head-btns {
    display: flex;
    flex-direction: column;
    gap: 20px;
    .office-shop-btn {
      width: 320px;
      margin: 0 auto;
      height: 48px;
      background: #fdd941;
      color: #000000;
      font-size: 16px;
      font-weight: 500;
      text-align: center;
      border-radius: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      box-shadow: 0px 3px 0px #c3c3c3;
      svg {
        position: absolute;
        right: 25px;
        top: 0;
        bottom: 0;
        margin: auto 0;
      }
    }
  }
}
.office-shop-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 16px;
  .office-shop-item {
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    display: grid;
    grid-template-rows: 1fr auto; /* タイトル：自動、画像：下に固定 */
    height: 100%;
    overflow: hidden;
    a {
      display: contents;
      .office-shop-item-ttl {
        font-size: 14px;
        font-weight: 600;
        letter-spacing: -0.06em;
        line-height: 1.428;
        text-align: center;
        padding: 10px 4px;
        display: flex;
        justify-content: center;
        align-items: center; /* 1行のときは縦中央揃え */
      }
      img {
        display: block;
      }
    }
  }
}
@media screen and (max-width: 399px) {
  .office-shop-list {
    gap: 20px 10px;
    .office-shop-item {
      a {
        .office-shop-item-ttl {
          letter-spacing: -0.1em;
        }
      }
    }
  }
}
@media screen and (min-width: 768px) {
  .page-title {
    margin-bottom: 80px;
    font-size: 40px;
    height: 74px;
  }
  .office-shop-section {
    margin-bottom: 100px;
  }
  .section-ttl {
    padding-bottom: 16px;
    font-size: 32px;
    svg {
      margin-right: 10px;
      width: 40px;
      height: 40px;
    }
  }
  .section-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    .section-head-txt {
      margin-bottom: 0;
      width: 55%;
    }
    .section-head-btns {
      width: 38%;
      .office-shop-btn {
        width: 100%;
        max-width: 400px;
        svg {
          right: 20px;
        }
      }
    }
  }
  .office-shop-section {
    &.energy,
    &.gas,
    &.mobility {
      .section-head {
        .section-head-txt {
          width: 100%;
        }
      }
    }
  }
  .office-shop-list {
    .office-shop-item {
      border-radius: 10px;
      a {
        display: contents;
        .office-shop-item-ttl {
          letter-spacing: 0;
          line-height: 1.77777;
          padding: 16px 4px;
        }
      }
    }
  }
}
@media screen and (min-width: 1000px) {
  .section-head {
    .section-head-txt {
      width: 60%;
    }
    .section-head-btns {
      width: 33.3333%;
      .office-shop-btn {
        font-size: 18px;
        height: 60px;
      }
    }
  }
  .office-shop-list {
    grid-template-columns: repeat(3, 1fr);
    .office-shop-item {
      border-radius: 10px;
      a {
        .office-shop-item-ttl {
          font-size: 16px;
        }
      }
    }
  }
}
@media screen and (min-width: 1200px) {
  .office-shop-list {
    gap: 72px 60px;
    .office-shop-item {
      a {
        .office-shop-item-ttl {
          font-size: 18px;
        }
      }
    }
  }
}
