  /*前半　開始*/

  .flex-container_features {
    display: flex;
    /* フレックスボックスを使用 */
    justify-content: space-between;
    /* アイテムの間を均等に配置 */
    align-content: flex-start;
    padding: 50px;
  }

  .item {
    margin: 0 10px;
  }

  .item:first-child {
    flex: 1;
    text-align: center;
    border-radius: 12px;
    /* 角を丸くする */
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .item:last-child {
    flex: 1.5;
  }

  .working-environment-ttl {
    display: inline-block;
    padding: 1rem;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 2px;
  }

  .cross-grid_1 {
    display: grid;
    /* Gridレイアウトを適用 */
    grid-template-columns: repeat(2, 1fr);
    /* 2列に分割 */
    grid-template-rows: repeat(2, 1fr);
    /* 2行に分割 */
    gap: 10px;
    /* アイテム間の隙間 */
    /*height: 300px;*/
    /* 高さを画面全体に設定 */
  }

  .grid-item_1 {
    padding: 5px;
    /* 内側のスペース */
    text-align: center;
    /* テキストを中央揃え */
    font-size: 26px;
    border-radius: 12px;
  }

  .icon-language {
    font-weight: normal;
    padding-bottom: 5px;
  }

  .icon-adjust {
    border-radius: 12px;
    /* 角を丸くする */
    transition: background-color 0.3s, transform 0.3s;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;

  }

  .icon-adjust:hover {
    transform: scale(1.05);
    /* ホバー時に少し拡大 */
  }

  .icon_1 {
    padding: 10px, 30px;
    width: 50px;
    /* アイコンの幅を制限 */
    height: 50px;
    /*高さを自動調整 */
  }

  .detail {
    border-radius: 12px;
    /* 角を丸くする */
    padding: 10px;
    /* パディング */
    margin-top: auto 0;
    /* 上部の余白 */
    display: none;
    /* 初期状態は非表示 */
    font-size: 18px;
  }

  #detail_info_sample,
  #detail_info_sample2 {
    font-size: 16px;
    font-weight: normal;
    margin-left: 20px;
  }




  .detail_title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
  }

  .pie-chart {
    place-self: center center;
    transform: translate(0px, 30px);
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: block;
  }

  .gender-legend {
    margin-top: 50px;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
  }

  .legend-box {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 4px;
    vertical-align: middle;
  }

  .value-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    position: relative;
    margin-top: 1rem 0;
  }

  .age-number,
  .paid-leave {
    font-size: 60px;
    font-weight: bold;
    line-height: 1;
    display: inline-block;
    position: static;
    /* ← ここ大事！ */
    left: auto;
    top: auto;
  }

  .unit {
    font-size: 1.6rem;
    margin-left: 0.5rem;
    position: static;
  }

  /*前半　終了*/

  .rage {
    position: relative;
    padding: 40px;
  }

  /*後半　開始*/

  .flex-container_features_system {
    display: flex;
    /* フレックスボックスを使用 */
    justify-content: center;
    /* アイテムの間を均等に配置 */
    align-content: flex-start;
    padding: 5px;
    /* 内側のスペース */
  }

  .system_item {
    margin: 0 10px;

    border-radius: 12px;
    /* 角を丸くする */

    height: 360px;


  }

  .system_item:first-child {
    flex: 2;
  }

  .system_item:last-child {
    flex: 1.7;
    text-align: center;
    border-radius: 12px;
    /* 角を丸くする */
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .detail_system {
    border-radius: 12px;
    /* 角を丸くする */
    padding: 10px;
    /* パディング */
    display: none;
    /* 初期状態は非表示 */
    text-align: center;
    font-size: 18px;
  }

  /*スマホ対応*/
  @media (max-width: 768px) {

    .flex-container_features {
      width: 100%;
      height: 123vh;
      flex-direction: column;
      /* 縦並びに変更 */
      align-items: stretch;
      /* 幅を全体に広げる */
    }

    .item:first-child {
      order: 1;
    }

    .item:last-child {
      order: 2;
      justify-content: center;
    }

    .working-environment-ttl {
      position: relative;
      padding-bottom: 1.6rem;
      text-align: center;
      font-size: 24px;
      font-weight: bold;
      margin-bottom: 20px;
    }

    .cross-grid_1 {
      display: block
    }

    .grid-item_1 {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      margin-bottom: 5px;
      height: 20%;
      font-size: 24px;
    }

    .icon-language {
      flex: 1;
    }

    .icon-adjust {
      cursor: pointer;
    }

    .icon_1 {
      width: 30px;
      /* アイコンの幅を制限 */
      height: 30px;
      /*高さを自動調整 */
    }

    .air {
      display: hide;
    }

    .pie-chart {
      place-self: center center;
      transform: translate(0px, 30px);
      width: 150px;
      height: 150px;
      display: block;
    }

    .gender-legend {
      font-size: 12px;
      top: 10px;
    }

    .value-wrapper {
      margin-top: 2rem;
    }

    .age-number,
    .paid-leave {
      font-size: 8rem;
    }

    .unit {
      font-size: 2.4rem;
    }

    .rage {
      top: 30px;
    }

    .flex-container_features_system {
      width: 100%;
      height: 100vh;
      flex-direction: column;
      /* 縦並びに変更 */
      align-items: stretch;
    }

    .system_item:first-child {
      order: 2;
    }

    .system_item:last-child {
      order: 1;
    }

    .detail_system {
      margin-top: 5px;
      text-align: left;
    }
  }