@charset "utf-8";
/* CSS Document */

@media screen and (max-width: 1024px) {
  /* 1024pxまでの幅の場合に適応される */

  .header-ruler-center {
    display: none;
  }

  /* header */

  .main_nav_bg {
    display: none;
    /* PC用ナビゲーションを非表示 */
  }

  .main-header {
    justify-content: space-between;
    /* ロゴとハンバーガーメニューを両端に配置 */
  }

  .menu-icon {
    display: grid;
    /* ハンバーガーメニューを表示 */
    margin: 20px;
  }

  .company-name8 {
    font-size: 20px;
  }

  .company-name9 {
    font-size: 24px;
  }

  /* header */

  /* top */

  .hero-text-box {
    position: static;
    transform: none;
    text-align: left;
    white-space: normal;
  }

  .services_main {
    display: none;
  }

  #services .heikousihenkei01 {
    position: static;
    width: 100%;
    background-color: #e5e8df;
    padding: 84px 0px;
    box-sizing: border-box;
    clip-path: none;
  }

  .content_services {
    margin-left: 10px;
  }

  .section-title-ja {
    margin-bottom: 29px;
  }

  .cta-container_top {
    display: flex;
    justify-content: center;
  }

  #portfolio .heikousihenkei01 {
    width: 100%;
    position: static;
    background-color: #e5eff1;
    padding: 84px 0px;
    box-sizing: border-box;
    clip-path: none;
  }

  #news .heikousihenkei01 {
    width: 100%;
    position: static;
    background-color: #e5e8df;
    padding: 84px 0px 0px;
    box-sizing: border-box;
    clip-path: none;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .section-title2 {
    text-align: left;
    padding: 20px;
    margin-left: 0px;
  }

  .cta-button4 {
    margin-left: 0px;
  }

  .news-list {
    padding: 15px;
  }

  .info-blocks {
    position: static;
    display: flex;
    margin: 0 auto;
    text-align: center;
    gap: 25px;
    padding: 20px;
    margin-top: 20px;
  }

  .main-footer2 {
    top: 0px;
  }

  .cta-container_top {
    display: none;
  }

  .cta-container_top2 {
    display: block;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 50px auto 100px;
  }

  .title_sec2 {
    margin-top: 0px;
  }

  /* --- メインコンテンツ --- */
  .hero-title,
  .hero-title3 {
    font-size: 5vw;
  }

  .slider {
    justify-content: center;
    /* 真ん中に寄せる */
  }

  .slider-frame[data-index="0"],
  .slider-frame[data-index="2"] {
    display: none;
  }

  .slider-frame[data-index="1"] {
    width: 510px;
    max-width: 90vw;
    transform: none;
    /* ずらし解除 */
  }

  .services-grid_top {
    gap: 10px;
    margin-bottom: 100px;
    padding: 10px;
  }

  .service-item {
    width: 90%;
    max-width: 400px;
  }

  .section-description {
    margin-bottom: 2rem;
  }

  .portfolio_container_bg {
    display: flex;
    flex-direction: column;
  }

  .portfolio_container {
    order: 2;
    /* テキストの後に画像を表示 */
  }

  .portfolio_container_text {
    order: 1;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 100px;
  }

  .cta-button2 {
    margin: 20px auto 0;
  }

  .info-blocks {
    flex-direction: column;
  }

  .info-block {
    width: 100%;
  }

  /* --- フッター --- */
  .footer-container {
    flex-direction: column;
    /* 要素を縦積みに変更 */
    margin-left: 0;
    /* 固定マージンをリセット */
    padding: 0 20px;
    /* 左右の余白を確保 */
    gap: 50px;
    /* 縦積みにした際の要素間の余白 */
  }

  .footer-nav {
    padding: 0;
    /* パディングをリセット */
    border-left: none;
    /* 縦線もリセット */
    border-right: none;
    margin-right: 0;
    /* 固定マージンをリセット */
  }

  .main-menu {
    flex-direction: column;
    /* メニューも縦積みに */
    gap: 20px;
  }

  .sub-menu {
    margin-top: 15px;
    margin-left: 20px;
    /* サブメニューのインデント */
  }

  .footer-copyright {
    text-align: center;
    /* コピーライトを中央寄せに */
    padding: 20px 0;
  }

  /* Get in Touch ボタンの文字サイズなども調整 */
  .footer-info-button h3 {
    font-size: 60px;
  }

  /* top */

  /* services */

  .tab-content_gazou01 {
    gap: 10px;
  }

  .tab-content_gazou02 {
    gap: 10px;
  }

  .tab-content_gazou03 {
    gap: 10px;
    margin: 0;
  }

  .image-box .image-box_kouzou {
    height: 79%;
  }

  .image-box .image-box_kouzou2 {
    height: 87%;
  }

  .gazou_meisyou {
    white-space: normal;
    line-height: 42px;
    border-radius: 10px;
    height: 100px;
    padding: 10px;
    margin: 0px;
    margin-bottom: 70px;
  }

  #tab1 p {
    margin-left: 0px;
    padding: 10px;
  }

  #tab2 p {
    margin-left: 0px;
    padding: 10px;
  }

  #tab3 p {
    margin-left: 0px;
    padding: 10px;
  }

  .gazou_meisyou .gazou_meisyou_text {
    font-size: 16px;
  }

  .services_container {
    margin-top: 60px;
    padding: 10px;
  }

  /* services */

  /* company */

  /* レイアウトの縦並び */
  .container {
    flex-direction: column;
    gap: 0;
  }

  .sidebar {
    flex: 0 0 100px;
    position: sticky;
    top: 80px;
    /* ← ヘッダーの高さぶん下にずらす */
    z-index: 100;
    background-color: #e5e8df;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    border-radius: 0;
    width: 100%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  }

  .sidebar ul {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .sidebar li {
    margin: 0;
    list-style: none;
  }

  .sidebar li a {
    font-size: clamp(14px, 3.5vw, 18px);
    font-weight: 600;
    padding: 0.5rem;
    display: inline-block;
    white-space: nowrap;
  }

  /* セクションのスクロール位置調整 */
  .content-section {
    scroll-margin-top: 120px;
  }

  .award_info_01 {
    flex-direction: column-reverse;
    align-items: center;
  }

  .award_text_wrapper01 {
    margin: 0;
  }

  .award_text_wrapper02 {
    margin: 0;
  }

  .award_text_wrapper03 {
    margin: 0px 80px 0px 0px;
  }

  .award_text_wrapper04 {
    margin: 0px 0px 0px 100px;
  }

  .award_text_wrapper05 {
    margin: 0px 30px 0px 0px;
  }

  /* company */

  /*recruit */

  .detail_table01 {
    width: 768px;
  }

  .detail_table01_td01 {
    width: 160px;
  }

  .detail_table01_td02 {
    width: calc(100% - 160px - 20px);
    padding: 15px 0 15px 20px;
  }

  .tab-item.active {
    width: 320px;
  }

  .tab-item {
    width: 320px;
  }

  .services_container_recruit {
    margin: 80px 0px 80px;
  }

  .recruit_main_image {
    margin-bottom: 100px;
  }

  .tabs-container_recruit {
    margin: 0px 0 70px 0;
  }

  /*recruit */

  /* portfolio */

  .tab-item_port {
    width: 220px;
  }

  .tab-item_port.active {
    width: 220px;
  }

  .portfolio-col {
    white-space: normal;
    word-break: break-word;
  }

  /* portfolio */

  /* privacypolicy */

  .section-title-en3 {
    font-size: 75px;
  }

  .section-title-en4 {
    font-size: 75px;
  }

  /* privacypolicy */

  /* footer */

  .footer-info-button {
    width: 80%;
    /* 幅を小さめにして調整 */
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-info-button-inner {
    height: auto;
    padding: 40px 20px;
  }

  .footer-info-button h3 {
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .footer-right {
    display: none;
  }

  .footer-left {
    width: 100%;
    justify-content: center;
  }

  .footer-nav {
    padding: 20px;
    border: none;
  }

  .footer-divider {
    display: none;
  }

  .main-menu {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .sub-menu {
    margin-top: 10px;
  }

  .footer-copyright {
    text-align: center;
    margin-top: 40px;
  }

  /* footer */

  .another_getintouch {
    max-width: calc(100% - 100px);
  }

  .another_news {
    max-width: calc(100% - 100px);
  }

  .form-submit {
    width: calc(100% - 300px);
    margin: 40px auto 0;
  }

  .news_container_category {
    display: flex;
    padding: 0px;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
  }

  .news-item-content {
    margin: 15px 0 auto;
  }

}