@charset "utf-8";
/* CSS Document */

@media screen and (max-width: 480px) {
  /* 480pxまでの幅の場合に適応される */

  /* top */

  body {
    padding-top: 70px;
  }

  .main-header,
  .logo-container {
    height: 70px;
    gap: 10px;
    padding-left: 8px;
  }

  .logo_title {
    height: 40px;
  }

  .hero-text-box {
    position: static;
    transform: none;
    text-align: left;
    white-space: normal;
  }

  .hero-title,
  .hero-title3 {
    font-size: 30px;
  }

  .hero-title {
    text-align: left;
  }

  .section-title-en {
    font-size: 45px;
  }

  .section-title-en2 {
    font-size: 35px;
  }

  .section-title-en-p {
    display: inline-block;
    font-size: 45px;
  }

  .section-title-en2-p {
    display: inline-block;
    font-size: 35px;
  }

  .section-title-en-p {
    letter-spacing: -0.02em;
    /* 少し詰める */
  }

  .section-title-en2-p {
    margin-left: -0.02em;
    /* スパン間の隙間を詰める */
  }

  .section-title-ja {
    font-size: 14px;
  }

  .cta-button,
  .cta-button2,
  .cta-button4 {
    padding: 10px 20px;
    font-size: 14px;
  }

  #page-top-btn {
    width: 50px;
    height: 50px;
    right: -30px;
    bottom: 15px;
  }

  .slider {
    margin: 0 auto 70px;
    min-height: 450px;

  }

  .slider-frame[data-index="1"] {
    min-width: auto;
  }

  .slider-frame img {
    object-fit: cover;
    border-radius: 0px 0px 0px 0px;
  }

  .slider-frame {
    height: 450px;
  }

  .footer-info-button h3 {
    font-size: 45px;
  }

  .main-footer2 {
    top: 0px;
  }

  .wrapper {
    /* min-height: 4150px; */
  }

  .content_services {
    bottom: 400px;
  }

  .content_services,
  .portfolio_container_text {
    padding: 0px 10px 0px;
    margin: 0 0 50px 0;
  }

  #services .heikousihenkei01 {
    padding: 40px 0px 75px;
  }

  #portfolio .heikousihenkei01 {
    padding: 40px 0px 0px;
  }

  /* top */

  /* services */

  .services_main_text {
    font-size: 16px;
    line-height: 42px;
    padding: 0px;
  }

  #services {
    margin-top: 50px;
  }

  #tab1 p {
    font-size: 16px;
    margin-left: 0px;
    padding: 10px;
  }

  .gazou_meisyou {
    white-space: normal;
    line-height: 28px;
    border-radius: 50px;
    height: auto;
    padding: 10px;
    margin: 0 auto;
    margin-bottom: 70px;
  }

  .gazou_meisyou .gazou_meisyou_text {
    padding: 0;
  }

  .tab-content_gazou01 {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .tab-content_gazou02 {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .tab-content_gazou03 {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 0;
  }

  .image-box {
    width: calc(100% / 1 - 14px);
  }

  #tab2 p {
    font-size: 18px;
    margin-left: 0px;
    padding: 10px;
  }

  #tab3 p {
    font-size: 18px;
    margin-left: 0px;
    padding: 10px;
  }

  .tabs-nav_port {
    gap: 5px;
  }

  .cta-container {
    margin: 60px auto;
  }

  /* services */

  /*recruit */

  .detail_table01 {
    /* width: 320px; */
  }

  .tab-item.active {
    width: 160px;
    font-size: 15px;
    height: 70px;
  }

  .tab-item {
    width: 160px;
    font-size: 15px;
    height: 70px;
  }

  .hero-title2 {
    padding: 0 30px;
  }

  .section-title-ja2 {
    padding: 0 30px;
  }

  .services_container_recruit {
    margin: 50px 0px 30px;
  }

  .services_container {
    margin-top: 50px;
  }

  .tabs-container_recruit {
    margin: 0;
  }

  .tab-content.active {
    margin-bottom: 100px;
  }

  /*recruit */

  /* portfolio */

  .hero-title2 {
    padding: 0;
  }

  .hero-area {
    padding-left: 10px;
  }

  .section-title-ja2 {
    padding: 0;
    margin-bottom: 50px;
  }

  .tab-item_port.active {
    /* width: 100px; */
    font-size: 13px;
    height: 60px;
  }

  .tab-item_port {
    /* width: 100px; */
    font-size: 13px;
    height: 60px;
  }

  .tab-link {
    position: relative;
    bottom: 20px;
  }

  .portfolio-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-col {
    white-space: normal;
    word-break: break-word;
  }

  .cta-container_portfolio {
    margin: 100px auto 80px;
  }

  /* portfolio */

  /* company */

  .section-title-en3 {
    font-size: 48px;
  }

  .section-title-en4 {
    font-size: 48px;
  }

  .container {
    margin: 0px auto;
  }

  .award_text_wrapper01 {
    margin: 0 auto;
    word-break: break-word;
    white-space: normal;
  }

  .award_text_wrapper02 {
    margin: 0 auto;
  }

  .award_text_02 {
    word-break: break-word;
    white-space: normal;
  }

  .award_text_wrapper03 {
    margin: 0 auto;
  }

  .award_text_wrapper04 {
    margin: 0px auto;
  }

  .award_text_wrapper05 {
    margin: 0px auto;
  }

  .info-label {
    margin: 0px 0px 0px 0px;
  }

  .greeting_title {
    font-size: 30px;
  }

  .greeting_title03 {
    font-size: 25px;
  }

  .sikaku_sekkei_bg {
    flex-direction: column;
  }

  .sidebar {
    margin: 60px auto 20px;
  }

  /* company */

  /* privacypolicy */

  /* privacypolicy */

  .another_service {
    max-width: calc(100% - 20px);
  }

  .another_portfolio {
    max-width: calc(100% - 20px);
  }

  .another_recruit {
    max-width: calc(100% - 15px);
  }

  .another_privacypolicy {
    max-width: calc(100% - 20px);
    margin-bottom: 100px;
  }

  .another_company {
    max-width: calc(100% - 20px);
    margin-bottom: 100px;
  }

  .services_container {
    /* margin-top: 50px;*/
  }

  .services_main_text {
    /* padding: 20px; */
  }

  .logo_title {
    margin: 0px;
  }

  .tab-item_port_recruit.active {
    font-size: 13px;
    height: 75px;
    line-height: 115px;
  }

  .tab-item_port_recruit {
    font-size: 13px;
    height: 75px;
    line-height: 115px;
  }

  .recruit_main_text {
    font-size: 24px;
  }

  .tabs-container_portfolio {
    margin: 60px 0px 0px 0px;
  }

  .greeting_text02,
  .greeting_text03 {
    margin: 0 0 100px 0;
  }

  .sidebar li a {
    font-size: 18px;
  }

  .award_img_group {
    flex-direction: column;
  }

  .jyouhou {
    margin: 0px auto 100px;
  }

  .tab-link::after {
    content: "\A";
    /* 改行コード */
    white-space: pre;
    /* 改行を有効化 */
  }

  .get-in-touch {
    font-size: 40px;
  }

  .company-name4 {
    font-size: 15px;
  }

  .company-name5 {
    font-size: 18px;
  }

  .service-item {
    width: 320px;
  }

  .services-grid_top_inner {
    width: 1000px;
  }

  .otoiawase_small2 {
    font-size: 23px;
  }

  .otoiawase_small {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .footer-info-button-move-ico-area {
    margin-bottom: 10px;
  }

  #fullMenu .menu-list span.label {
    font-size: 18px;
  }

  .company-name8 {
    font-size: 15px;
    font-weight: bold;
  }

  .company-name9 {
    font-size: 18px;
    font-weight: bold;
  }

  .menu-header {
    justify-content: flex-start;
    height: 70px;
    gap: 0px;
  }

  .menu-header a {
    padding: 5px 5px 5px 5px;
  }

  .close-btn {
    position: absolute;
    right: 0px;
    top: 4%;
    transform: translateY(-50%);
    font-size: 40px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
  }

  .logo_title2 {
    height: 40px;
    margin-right: 0px;
    margin-left: 0px;
  }

  .company-name-waku {
    width: 100%;
    text-align: left;
    line-height: 1.3;
  }

  .kojinjyouhou {
    margin: 50px auto 200px;
  }

  .info-blocks {
    margin: 80px auto 80px;
  }

  .news_kiji01 {
    max-width: 100px;
    width: auto;
    height: 80px;
  }

  .news-item .news-link {
    gap: 0px;
  }

  .news-title {
    font-size: 16px;
  }

  .news-date, .news-category {
    font-size: 13px;
  }

  #news .heikousihenkei01 {
    padding: 40px 10px 80px;
  }

  .news-content {
    width: 160%;
  }

}