/* スマホ向け */

@media (max-width: 1200px) {
  body {
    overflow-x: hidden;
  }

  .header-logo {
    margin: 0;
    margin-left: 12px;
  }

  .header {
    height: 90px;
    max-width: 100%;
  }

  .main-container {
    padding-top: 90px;
  }

  .nav-browser {
    display: none;
  }

  .menu-mobile {
    display: inline;
    margin-right: 50px;
  }

  .menu-mobile img {
    display: inline;
    height: 50px;
  }

  /* use line-break  */
  body p,
  .business a {
    padding: 0 30px;
  }

  .header-txt {
    max-width: 75%;
    padding-top: 60px;
    padding-bottom: 0px;
  }

  .home-header {
    padding-top: 0;
  }

  .home-header p {
    padding: 5px 0;
  }

  .icon-container {
    margin-top: 40px;
  }

  .borderline {
    width: 550px;
    margin-bottom: 20px;
  }

  .work-text {
    padding-right: 60px;
  }

  .icon {
    height: 80px;
  }

  .worktext-en {
    font-size: 15px;
  }

  .worktext-jp {
    font-size: 20px;
  }

  .business-details {
    max-width: 70%;
    margin-bottom: 0;
    margin-top: 60px;
  }

  .business-content {
    width: 250px;
    margin-bottom: 170px;
  }

  .recent-worknews-img {
    height: 350px;
    width: 250px;
    margin: 0 20px;
  }

  .recent-worknews-txt {
    margin: 30px;
  }

  .recent-worknews-txt,
  .recent-worknews p {
    padding: 0;
    font-size: 18px;
  }

  .recent-worknews {
    flex-wrap: nowrap;
    height: 350px;
  }

  .recent-worknews h2 {
    margin-top: 10px;
    font-size: 40px;
  }

  /* .line-break {
    display: block;
  } */

  .company-txt {
    padding: 0;
  }

  .business {
    padding-bottom: 20px;
  }

  footer {
    margin-top: 0;
  }

  .nav-mobile {
    background: rgba(255, 255, 255, 0.925);
    /* border-bottom: 3px solid #8db42ae3; */
    box-shadow: 0 6px 4px rgb(0 0 0 / 15%);
    height: 300px;
    transition: height 0.3s ease-in;
    position: fixed;
    max-height: 280px;
    z-index: 100;
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100vw;
  }

  .nav-mobile-hidden {
    border-width: 0;
    height: 0;
    transition: height 0.3s ease-out;
  }

  .nav-mobile-links {
    flex-direction: column;
    /* background: rgba(255, 255, 255, 0.486); */
    height: 330px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .nav-mobile li {
    padding: 0;
    display: inline-block;
    margin-bottom: 35px;
  }

  .nav-mobile a {
    color: black;
    font-size: 20px;
  }

  .nav-mobile a:hover {
    font-weight: 700;
  }

  .nav-mobile-close {
    display: inline-block;
    height: 30px;
    width: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .main-details {
    padding-top: 50px;
    max-width: 100vw;
    margin-bottom: 70px;
  }

  .main-details img {
    width: 100%;
  }

  .example-photos {
    margin: 0;
    margin-bottom: 20px;
  }

  .company-container {
    padding-top: 50px;
    margin-bottom: 0px;
    max-width: 70%;
  }

  .company-container td,
  .company-container p {
    font-weight: 500;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .header-mark {
    height: 100px;
    padding-bottom: 10px;
  }

  .important {
    font-size: 40px;
  }

  .effort {
    font-size: 70px;
  }

  .activity {
    font-size: 70px;
  }

  .borderline {
    width: 440px;
  }

  .worktext-jp {
    font-size: 15px;
  }

  .business h2 {
    font-size: 40px;
    margin-bottom: 0;
  }

  .business-content h3 {
    margin-bottom: 25px;
  }

  .business-content h3 {
    font-size: 27px;
  }

  .work-text {
    padding-right: 40px;
  }

  .business-details {
    margin-top: 30px;
  }

  .business-content {
    margin-bottom: 200px;
  }

  .recent-worknews {
    justify-content: space-evenly;
  }

  .recent-worknews h2 {
    font-size: 30px;
  }

  .recent-worknews-img {
    display: none;
  }

  .main-details img {
    width: 100%;
    height: 250px;
  }

  .company-h1 h1 {
    font-size: 30px;
  }

  .business a,
  .about-container p,
  .company-container th,
  .company-container h2,
  .company-container h3 {
    font-size: 15px;
  }

  .body h2,
  .body p,
  .main-details figcaption {
    font-size: 16px;
  }

  .recruit-container-txt h1 {
    font-size: 30px;
  }

  .recruit-container-txt h3 {
    font-size: 25px;
  }
}

@media (max-width: 670px) {
  .header-mark {
    height: 100px;
    padding-bottom: 7px;
  }

  .nav-mobile a {
    font-size: 15px;
  }
  .nav-mobile {
    max-height: 250px;
  }

  .header-logo {
    height: 55px;
  }

  .important {
    font-size: 25px;
  }

  .effort,
  .activity {
    font-size: 50px;
  }

  .activity {
    margin-bottom: 10px;
  }

  .borderline {
    width: 350px;
  }

  .header-txt {
    padding-top: 40px;
    max-width: 85%;
    margin-left: 40px;
  }

  .icon {
    height: 60px;
  }

  /* body p,
  .business a,
  .about-container p {
    font-size: 18px;
  } */

  .body h2,
  .body p,
  .company-container h1 {
    margin-bottom: 10px;
  }

  .business h2 {
    margin-bottom: 20px;
  }

  .company-container td,
  .company-container p {
    letter-spacing: 0;
    font-size: 12px;
  }

  .company-h1 h1 {
    font-size: 23px;
  }

  .recent-worknews-txt,
  .recent-worknews p {
    max-width: 80%;
  }

  .media-address {
    font-size: 10px;
  }

  textarea {
    width: auto;
  }

  .contact-form h2 {
    font-size: 32px;
  }

  .main-details img {
    width: 100%;
    /* height: 250px; */
  }

  .main-details figcaption,
  .example-photos {
    width: 100%;
  }

  .main-details figure {
    width: 50%;
  }

  footer p {
    font-size: 12px;
  }

  .recruit-container-txt h1 {
    padding-top: 30px;
  }

  .recruit-container-txt {
    max-width: 80%;
  }

  .btn {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .header-mark {
    height: 70px;
    padding-bottom: 5px;
  }

  .header-logo {
    height: 45px;
  }

  .home-header {
    height: 550px;
  }

  .home-header p {
    letter-spacing: 2px;
  }

  .important {
    font-size: 20px;
  }

  .icon-container {
    margin-top: 20px;
  }

  .effort,
  .activity {
    font-size: 35px;
  }

  .header-txt {
    margin-left: 20px;
    margin-bottom: 0;
  }

  .borderline {
    width: 260px;
    border: solid 4px #ffffff;
  }

  .icon {
    height: 50px;
  }

  .business-icon {
    height: 85px;
  }

  /* .work-text {
    padding-right: 10px;
  } */

  .worktext-en,
  .worktext-jp {
    font-size: 12px;
  }

  .business h2 {
    font-size: 30px;
    margin: 10px;
  }

  .business p {
    font-size: 15px;
  }

  .business-details {
    max-width: 90%;
  }

  .business-content {
    margin-bottom: 130px;
  }

  .business-content p {
    margin-bottom: 5px;
  }

  .business-content h3 {
    font-size: 18px;
  }

  .recent-worknews h2 {
    font-size: 25px;
  }

  .recent-worknews p {
    font-size: 15px;
  }

  .recent-worknews p {
    line-height: 28px;
  }

  .contact-form {
    padding-top: 30px;
    height: 660px;
  }

  .contact-txt {
    padding-top: 10px;
  }

  .contact-container {
    height: 520px;
  }

  form {
    padding-top: 0;
  }

  input,
  textarea {
    font-size: 60%;
  }

  .contact-form-input {
    margin-bottom: 10px;
  }

  .contact-form h2 {
    font-size: 25px;
    margin: 20px;
  }

  .contact-message {
    height: 150px;
  }

  .main-details figure {
    width: 70%;
  }

  .contact-btn {
    margin-top: 15px;
  }

  .company-container {
    max-width: 90%;
    padding-top: 10px;
  }

  .body h2,
  .body p,
  .company-container td,
  .company-container th,
  .main-details figcaption,
  .company-container h2,
  .company-container h3 {
    font-size: 13px;
  }

  .recruit-container-txt p,
  .btn {
    font-size: 15px;
  }

  .company-container p {
    font-size: 11px;
  }

  .company-h1 h1 {
    font-size: 17px;
  }

  .btn {
    padding: 7px 20px;
    margin-top: 20px;
  }

  .contact-container {
    max-width: 90%;
  }

  .recruit-container-txt {
    max-width: 90%;
    border: solid 6px #ffffff;
    height: 500px;
    margin-top: 20px;
  }

  .recruit-container-txt h1 {
    font-size: 25px;
  }

  .recruit-container-txt h3 {
    font-size: 22px;
  }
}
