@charset "utf-8";
/* CSS Document */

@media screen and (max-width: 768px) {
  /* 768pxまでの幅の場合に適応される */

  /* top */

  .slider_base {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .slider {
    justify-content: center;
    min-height: 850px;
    /* 真ん中に寄せる */
  }

  .slider-frame[data-index="0"],
  .slider-frame[data-index="2"] {
    display: none;
  }

  /* .slider-frame[data-index="1"] {
    width: 510px;
    max-width: 90vw;
    transform: none;
  } */

  .slider-frame {
    height: 850px;
  }

  .slider-frame img {
    object-fit: contain;
    border-radius: 200px;
  }

  .slider-frame[data-index="1"] {
    max-width: calc(100% - 30px);
    top: 0px;
    min-width: 470px;
  }

  .slider-frame img {
    object-fit: cover;
    border-radius: 0px 0px 0px 0px;
  }

  /* --- ハンバーガーメニュー内 --- */
  #fullMenu .menu-list span.title {
    font-size: 32px;
  }

  #fullMenu .menu-list li {
    font-size: 18px;
    gap: 15px;
  }

  .company-name8 {
    font-size: 20px;
    font-weight: bold;
    margin-right: auto;
  }

  .company-name9 {
    font-size: 24px;
    font-weight: bold;
  }

  .close-btn {
    font-size: 40px;
    padding: 20px;
  }

  .get-in-touch {
    font-size: 48px;
  }

  .phone {
    font-size: 24px;
  }



  /* --- メインコンテンツ --- */

  .hero-text-box {
    position: static;
    transform: none;
    text-align: left;
    white-space: normal;
  }

  .hero-title,
  .hero-title3 {
    font-size: 30px;
  }

  .heikousihenkei01 {
    transform: none;
    /* 平行四辺形を解除して四角形に */
  }

  .content_services,
  .portfolio_container_text {
    padding: 30px 15px;
  }

  .section-title {
    font-size: 40px;
  }

  .section-description {
    font-size: 18px;
    font-weight: bold;
  }

  .portfolio_container {
    flex-direction: column;
  }

  .column.shifted {
    margin-top: 0;
  }

  .portfolio-image {
    margin-bottom: 10px;
  }

  .title_botan {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .news-list {
    padding: 0 10px;
  }

  .news-item {
    /* margin-left: 15px; */
  }

  .news-content_gazou {
    width: 100%;
    margin-bottom: 15px;
  }

  .news-content {
    width: 100%;
  }

  .content_services {
    bottom: 410px;
    right: 20px;
  }

  .content_services,
  .portfolio_container_text {
    padding: 0px 15px 0px;
  }

  .services-grid_top {
    margin-bottom: 0px;
  }

  .portfolio_container_bg {
    position: relative;
  }

  #news .title_botan {
    /* bottom: 140px;
    left: 160px; */
  }

  #news .heikousihenkei01 {
    padding: 40px 15px 80px;
  }

  .info-blocks {
    padding: 0 10px;
    margin: 80px auto 80px;
  }

  .section-title2 {
    top: 100px;
    right: 460px;
  }

  .circle-arrow-button {
    margin-top: 200px;
  }

  .main-footer2 {
    /* top: 180px; */
    padding: 230px 0rem 0px;
  }

  .wrapper {
    /* min-height: 4200px; */
  }

  /* services */

  .services_main_text {
    font-size: 18px;
    line-height: 42px;
    padding: 20px;
  }

  #services {
    margin-top: 50px;
  }

  #tab1 p {
    margin: 0px 0px 0px 0px;
    font-size: 18px;
    margin-left: 0px;
    padding: 30px;
  }

  .gazou_meisyou {
    white-space: normal;
    border-radius: 50px;
    height: auto;
    padding: 10px;
    margin: 0 auto;
    margin-bottom: 70px;
    line-height: 2;
  }

  .image-box {
    width: calc(100% / 2 - 14px);
  }

  #tab2 p {
    font-size: 18px;
    margin-left: 0px;
    padding: 30px;
  }

  #tab3 p {
    font-size: 18px;
    margin-left: 0px;
    padding: 30px;
  }

  .cta-container {
    margin: 100px auto 100px;
  }

  .gazou_meisyou .gazou_meisyou_text {
    padding-top: 5px;
  }

  /* services */

  /*recruit */

  /* テーブル全体の幅を調整 */
  .detail_table01 {
    width: 100%;
    margin: 0px auto 50px;
  }

  /* テーブルの行とセルをブロック要素に変更して縦並びにする */
  .detail_table01 tbody,
  .detail_table01 tr,
  .detail_table01_td01,
  .detail_table01_td02 {
    display: block;
    width: 100%;
    box-sizing: border-box;
    /* paddingとborderを幅に含める */
  }

  /* 項目名（左側のセル）のスタイル調整 */
  .detail_table01_td01 {
    text-align: left;
    background-color: #f2f2f2;
    /* 背景色をつけて見やすくする */
    font-weight: bold;
    border-bottom: none;
    /* 下線を削除 */
    padding: 12px 15px;
  }

  /* 内容（右側のセル）のスタイル調整 */
  .detail_table01_td02 {
    text-align: left;
    border-top: none;
    /* 上線を削除 */
    padding: 12px 15px 12px 20px;
    border-bottom: #000 2px solid;
    /* 各項目の区切り線を設定 */
  }

  /* 最初の行の上線をリセットまたは調整 */
  .detail_table01 tr:first-child .detail_table01_td01 {
    border-top: #000 2px solid;
  }

  /* その他のボーダーをリセット */
  .detail_table01 tr:first-child .detail_table01_td02 {
    border-top: none;
  }

  /* 最後のセルの下のボーダーが二重にならないように調整 */
  .detail_table01 tr:last-child .detail_table01_td02 {
    border-bottom: #000 2px solid;
  }

  .tab-item.active {
    width: 202px;
    height: 80px;
  }

  .tab-item {
    width: 202px;
    height: 80px;
  }

  .services_container_recruit {
    margin: 80px 0px 80px;
  }

  .recruit_main_image {
    margin-bottom: 90px;
  }

  .tabs-container_recruit {
    margin: 0 0 250px 0;
  }

  .tab-content.active {
    padding: 0px 12px;
  }

  /*recruit */

  /* company */

  .sidebar ul {
    display: grid;
    gap: 0;
    width: 100%;
    line-height: 2.0;
  }

  .sidebar li a {
    padding: 0px;
  }

  .animation-wrapper {
    display: none;
  }

  .logo-wrapper {
    display: block;
  }

  .mark-image_logo {
    width: 100%;
    max-width: 346px;
    min-width: 240px;
    height: auto;
    object-fit: contain;
  }

  .logo_concept {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }

  .info-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .info-label {
    flex: 0 0 0px;
  }

  .info-label02 {
    flex: 0 0 24px;
    margin: 0 0px 10px 0px;
  }

  .info-value {
    text-align: left;
  }

  .sikaku_sekkei_bg {
    flex-direction: column;
  }

  /* company */

  /* portfolio */
  .tab_shortline {
    border-radius: 10px 10px 0px 0px;
  }

  .tabs-nav_port {
    gap: 5px;
  }

  .tab-item_port.active {
    /* width: 130px; */
    font-size: 18px;
    height: 80px;
  }

  .tab-item_port {
    max-width: calc(100% / 3 - 15px);
    /* width: 130px; */
    font-size: 18px;
    height: 80px;
  }

  .tab-link {
    position: relative;
    bottom: 12px;
  }

  .portfolio-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-col {
    white-space: normal;
    word-break: break-word;
  }

  .container {
    margin: 70px auto 100px;
  }

  /* portfolio */

  /* privacypolicy */

  .top_main_image {
    width: 100%;
    margin: 0 auto;
  }

  .kojinjyouhou,
  .jyouhou {
    padding: 0 16px;
  }

  .kojinjyouhou_text,
  .jyouhou_text {
    line-height: 1.8;
  }

  /* privacypolicy */
  .jyouhou {
    margin: 0px auto 150px;
  }

  /* footer */

  .footer-info-button {
    width: 100%;
    border-radius: 0px 0px 0px 0px;
    top: 0;
  }

  /* footer */

  .another_service {
    max-width: calc(100% - 30px);
    margin-top: 50px;
  }

  .another_portfolio {
    max-width: calc(100% - 30px);
  }

  .another_portfolio {
    max-width: calc(100% - 30px);
  }

  .another_privacypolicy {
    max-width: calc(100% - 30px);
  }

  .another_company {
    max-width: calc(100% - 30px);
  }

  .hero-area {
    padding-left: 20px;
  }

  .services_main_text {
    padding: 0px;
  }

  .cta-container_portfolio {
    margin: 100px auto 110px;
  }

  .tab-item_port_recruit {
    max-width: calc(100% / 2 - 20px);
  }

  .tab-item_port_recruit.active {
    font-size: 16px;
    height: 80px;
    line-height: 100px;
  }

  .tab-item_port_recruit {
    font-size: 16px;
    height: 80px;
    line-height: 100px;
  }

  .recruit_main_text {
    font-size: 27px;
  }

  .footer-info-button h3 {
    font-size: 60px;
  }

  .footer-logo {
    margin: 60px 0px 0px 0px;
  }

  .section-title-en4 {
    font-size: 60px;
  }

  .kojinjyouhou {
    margin: 50px auto 200px;
  }

  .news_kiji01 {
    max-width: 200px;
    width: auto;
    height: 150px;
  }

  .news-item .news-link {
    gap: 70px;
  }

}