@charset "utf-8";
/* CSS Document */

@media screen and (max-width: 480px) {
  /* 480pxまでの幅の場合に適応される */

  /* top */

  body {
    padding-top: 70px;
  }

  .main-header,
  .logo-container {
    height: 70px;
    line-height: 1.2;
  }

  .logo_title {
    height: 40px;
  }

  .company-name4 {
    font-size: 15px;
  }

  .company-name5 {
    font-size: 18px;
  }


  .hero-text-box {
    position: static;
    transform: none;
    text-align: left;
    white-space: normal;
  }

  .hero-title,
  .hero-title3 {
    font-size: 4.8vw;
  }

  .section-title-en {
    font-size: 40px;
  }

  .section-title-en2 {
    font-size: 18px;
  }

  .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: 15px;
    bottom: 15px;
  }

  /* top */

  /* services */

  .services_main_text {
    font-size: 18px;
    line-height: 35px;
    padding: 10px;
  }

  #services {
    margin-top: 50px;
  }

  #tab1 p {
    font-size: 18px;
    margin-left: 0px;
    padding: 10px;
  }

  .gazou_meisyou {
    white-space: normal;
    line-height: 28px;
    border-radius: 10px;
    height: 130px;
    padding: 10px;
    margin: 0px;
    margin-bottom: 70px;
  }

  .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: 73%;
  }

  #tab2 p {
    font-size: 18px;
    margin-left: 0px;
    padding: 10px;
  }

  #tab3 p {
    font-size: 18px;
    margin-left: 0px;
    padding: 10px;
  }

  /* services */

  /*recruit */

  .detail_table01 {
    width: 320px;
  }

  .tabs-nav {
    flex-direction: column;
    align-items: center;
  }

  .tab-item.active {
    width: 250px;
  }

  .tab-item {
    width: 250px;
  }

  .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;
  }

  /*recruit */

  /* portfolio */

  .hero-title2 {
    padding: 0;
  }

  .section-title-ja2 {
    padding: 0;
    margin-bottom: 60px;
  }

  .tab-item_port.active {
    width: 300px;
  }

  .tab-item_port {
    width: 300px;
  }

  .portfolio-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-col {
    white-space: normal;
    word-break: break-word;
  }

  /* portfolio */

  /* company */

  .section-title-en3 {
    font-size: 50px;
  }

  .section-title-en4 {
    font-size: 50px;
  }

  .container {
    margin: 100px 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;
  }

  .greeting_title {
    font-size: 50px;
  }

  .info-label {
    margin: 0px 0px 0px 0px;
  }

  .greeting_title {
    font-size: 38px;
  }

  .sikaku_sekkei_bg {
    flex-direction: column;
  }

  /* company */

  /* privacypolicy */

  /* privacypolicy */

  /* getintouch */

  .checkbox-label {
    font-size: 14px;
  }

  /* getintouch */

  .checkbox-label {
    white-space: normal;
  }

  .news-item-meta {
    flex-direction: column;
  }

  .another_getintouch {
    max-width: calc(100% - 20px);
  }

  .another_news {
    max-width: calc(100% - 30px) !important;
  }

  .contact-container {
    margin: 70px auto 0px;
  }

  .news-container {
    margin: 70px auto 70px;
  }

  .post-navigation {
    margin: 100px auto 100px;
    max-width: 250px;
  }

  .hero-area {
    padding-left: 10px;
  }

  .footer-info-button h3 {
    font-size: 50px;
  }

  .company-name-waku {
    width: 100%;
    text-align: left;
    line-height: 1.3;
  }

  .company-name8 {
    font-size: 15px;
    font-weight: bold;
  }

  .company-name9 {
    font-size: 18px;
    font-weight: bold;
  }

  .otoiawase_small2 {
    font-size: 23px;
  }

  .otoiawase_small {
    margin-bottom: 10px;
    font-size: 20px;
  }

  .get-in-touch {
    font-size: 40px;
  }

  .menu-header {
    justify-content: flex-start;
    height: 70px;
    gap: 0px;
  }

  .menu-header a {
    padding: 5px 5px 5px 5px;
  }

  .close-btn {
    position: absolute;
    right: 5px;
    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;
  }

  .news-item-thumb img {
    max-width: 160px;
    height: 130px;
  }

  .news-item-content {
    margin: 0px 0 auto 15px;
  }

  .news-item-meta {
    gap: 15px;
  }

  .news-item-title {
    font-size: 15px;
    line-height: 30px;
  }

  .news-item {
    padding: 0px 0px;
  }

  .form-submit {
    width: calc(100% - 0px);
    margin: 40px auto;
  }
}