@charset "utf-8";
/* CSS Document */

@media screen and (max-width: 1280px) {
  /* 1024pxまでの幅の場合に適応される */

  /* header */

  .main_nav_bg {
    display: none;
    /* PC用ナビゲーションを非表示 */
  }

  .main-header {
    justify-content: space-between;
    border-bottom: none;
  }

  .menu-icon {
    display: grid;
    /* ハンバーガーメニューを表示 */
    margin: 20px;
  }

  /* header */

  /* top */

  .content_services {
    margin-left: 80px;
  }

  .services_main {
    display: none;
  }

  #services .services {
    width: 100%;
    height: auto;
  }

  .slider .slider-frame:nth-child(3) {
    transform: translateY(-60px);
  }

  .slider {
    justify-content: center;
    overflow: hidden;
    gap: 20px;
    overflow: visible;
  }

  .slider-frame {
    flex-shrink: 0;
  }

  .slider-frame[data-index="1"] {
    width: 600px;
    min-width: 600px;
    max-width: 600px;
  }

  .slider-frame[data-index="0"],
  .slider-frame[data-index="2"] {
    width: 25vw;
    min-width: 150px;
    max-width: 500px;
  }

  .slider-frame img {
    object-fit: cover;
    object-position: center top;
  }

  /* 一部の要素が画面からはみ出すのを防ぐ */
  .heikousihenkei01,
  .portfolio_container_bg {
    overflow: hidden;
    display: flex;
    gap: 22px;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    align-items: flex-end;
  }

  /* bodyのpadding-topをヘッダーの高さに合わせる */
  body {
    padding-top: 80px;
  }

  .hero2 {
    height: auto;
    margin-bottom: 50px;
    /* マージンを調整 */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
  }

  .hero-text-box {
    position: static;
    transform: none;
    text-align: left;
    white-space: normal;
  }

  .hero-title,
  .hero-title3 {
    font-size: 5vw;
    /* 画面幅に応じてサイズが変わるように */
    line-height: 1.5;
    margin: 0;
    font-size: 60px;
  }

  .info-blocks {
    gap: 20px;
    padding: 20px;
  }

  .column {
    flex-direction: row;
  }

  .column img {
    height: auto;
  }

  .column.shifted {
    margin: 0;
  }

  .portfolio_container {
    gap: 15px;
  }

  .services-grid_top {
    padding: 10px;
  }

  #portfolio .heikousihenkei01 {
    padding: 150px 0px 200px;
  }

  /* top */

  /* services */



  /* services */


  /*recruit */

  .detail_table01 {
    width: 1000px;
  }

  .recruit_main_image {
    flex-wrap: wrap;
  }

  /*recruit */

  /* portfolio */

  .tab-item_port {
    width: 300px;
  }

  .tab-item_port.active {
    width: 300px;
  }

  .tab-content {
    padding: 0px;
  }

  .portfolio-row {
    flex-direction: column;
    align-items: center;
  }

  /* portfolio */

  /* privacypolicy */



  /* privacypolicy */

  /* footer */

  .main-footer2 {
    top: 4200px;
  }

  /* footer */
  .another_getintouch {
    max-width: calc(100% - 140px);
  }

  .another_news {
    max-width: calc(100% - 140px);
  }

  .hero-area {
    padding-left: 50px;
  }

  .news-container {
    margin: 150px auto 100px;
  }

  .news-item {
    padding: 30px 0px;
  }

  .pagination-wrapper {
    padding: 50px 0px;
  }

  .company-name-waku {
    line-height: 1.3;
  }

    .company-name8 {
    font-weight: bold;
    font-size: 20px;
  }

  .company-name9 {
    font-weight: bold;
    font-size: 24px;
  }

  .close-btn {
    padding: 30px;
    position: absolute;
    right: 0px;
    top: 4%;
    transform: translateY(-50%);
    font-size: 48px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
  }

  .menu-header {
    padding: 10px;
  }

}
