@charset "utf-8";

@media (max-width: 1470px) {
  .int-profile {
    gap: 8rem;
  }
  .int-profile > div:first-child img {
    width: 40rem;
  }
  .int-profile .career .ul {
    display: flex;
    margin-bottom: 4rem;
    gap: 2rem;
  }
  .ul-2 {
    margin-left: 0;
  }
  .visual_section {
    flex-direction: column;
    justify-content: flex-start;
  }
  .visual_section .r_box {
    position: relative;
    top: auto;
    right: auto;
    width: 100vw;
    max-width: none;
    aspect-ratio: 1 / 0.5;
  }

  .spe01 {
    flex-direction: column;
    min-height: auto;
  }

  .spe01 .img_box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.4;
    background-image: url("../img/spe01-900.jpg");
  }

  .spe01 .wrap {
    margin-bottom: 5rem;
  }
}

@media (max-width: 850px) {
  .int-profile {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .int-profile > div:first-child img {
    width: 100%;
    max-width: 400px;
    height: auto;
  }

  .int-profile h5 {
    font-size: 12px;
    margin-bottom: 0%;
  }

  .int-profile h2 {
    font-size: 24px;
  }
  .int-profile .career li {
    font-size: 14px;
    margin-bottom: 0.1rem;
  }

  .ul-1 {
    height: auto;
    padding: 1rem 0;
  }

  .ul-2 {
    margin-top: 1rem;
  }
  .int-profile .career .ul {
    gap: 0rem;
    margin-bottom: 0px;
  }

  .phi .title h2 {
    font-size: 24px;
  }
  .phi .title h5 {
    font-size: 14px;
  }

  .visual_section,
  .sub_story {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 4rem 0 0;
  }

  .story_box {
    width: 100%;
    margin: 0 0 4rem;
    max-width: 100%;
    padding-bottom: 4rem;
  }

  .image_box {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 2rem;
  }

  section.spe {
    position: relative;
    padding-bottom: 100px;
  }

  .spe .title {
    font-size: 1.8rem;
  }

  .spe01 {
    padding: 0;
  }
  .spe01 .wrap {
    margin-bottom: 0;
    order: 2;
  }
  .spe01 .img_box {
    background-image: url("../img/spe01-400.jpg");
    min-height: 40rem;
    margin-bottom: 4rem;
  }

  .ppo {
    display: none;
  }
  .spe01 p {
    word-break: keep-all;
    font-size: 14px;
    margin-bottom: 100px;
  }

  @media (max-width: 1024px) {
    .spe02 .textgroup {
      width: 100%;
      padding: 0 2rem;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto;
      column-gap: 2rem;
      row-gap: 3rem;
    }

    .spe02 .textbox {
      width: 100% !important;
    }

    .spe02 .wrap {
      padding: 0 1rem;
    }
  }

  @media (max-width: 768px) {
    section.spe02 {
      height: auto;
      padding: 10rem 0;
      margin: 10rem 0;
      background-size: 400%;
      background-position: center;
    }

    .spe02 .wrap {
      position: static;
      transform: none;
    }

    .spe02 .title {
      margin-bottom: 4rem;
      text-align: center;
    }

    .spe02 .textgroup {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3rem;
    }

    .spe02 .textbox {
      width: 100% !important;
      max-width: 90%;
    }
  }

  .spe02 b {
    font-size: 16px;
  }
  .spe02 h2 {
    font-size: 24px;
    line-height: 5rem;
  }
  .spe02 h5 {
    font-size: 14px;
  }

  .machine img {
    width: 100%;
    max-width: 480px;
    height: auto;
    margin-top: 3rem;
  }
  .ms01 {
    display: none;
  }
  .ms02 {
    display: block;
  }
  section.machine {
    padding: 0;
    margin-bottom: 150px;
    margin-top: 100px;
  }

  section.spe02 {
    margin-bottom: 0;
    margin-top: 0;
  }
}

.mac_box {
  display: flex;
  justify-content: center;
}

@media (max-width: 800px) {
  .visual_section {
    flex-direction: column;
    justify-content: flex-start;
  }
  .visual_section .r_box {
    position: relative;
    top: auto;
    right: auto;
    width: 100vw;
    max-width: none;
    aspect-ratio: 1 / 0.7;
  }
}

@media (max-width: 480px) {
  .br-hide-m {
    display: none;
  }
}
