/* responsive */
@media (min-width: 751px) {
    a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    }
  }

  @media only screen and (max-device-width: 1024px) {

    .number_section .number span{
      font-size: 28px;
    }

    .top_text{
      top: 240px;
    }

      }

@media only screen and (max-device-width: 834px) {

  p,th,td,li,.qa_section .answer p, .answer li{
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1.9;
  }

.is_pc,.fixed .is_pc{
  display: none;
}

.is_sp{
  display: inline-block;
}

.top_text{
  top:160px;
}

  /* header */
  header{
    position: fixed;
    width: 100%;
    top:0;
  }

  .header .nav_menu li a{
    font-size: 14px;
    border-bottom: 1px dashed #c1c1c1;
    color: #41889e;
    text-align: left;
    position: relative;
    padding: 25px 10px;
    font-weight: 500;
  }

  .header .nav_menu li a:after{
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #41889e;
    font-size: 12px;
    position: absolute;
    right: 0;
    top:15px;
  }

  .nav_menu i{
    padding-right:10px;
  }

  .menu_logo img{
    width: 65px;
  }

  .hamburger-menu{
    display: block;
  }

  .car_icon_container{
    padding-top:75px;
  }

  .menu-btn {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    font-size: 10px;
    padding-top: 20px;
    color: #ffffff;
  }

  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: '';
    display: block;
    height: 2px;
    width: 28px;
    background-color: #ffffff;
    position: absolute;
    top:19px;
  }

  .fixed .menu-btn span,
  .fixed .menu-btn span:before,
  .fixed .menu-btn span:after{
    background-color: #41889e;
  }

  .fixed .menu-btn{
        color: #41889e;
  }

  .menu-btn span:before {
    bottom: 7px;
  }

  .menu-btn span:after {
    top: 9px;
  }

  #menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);
    top:20px;
  }

  #menu-btn-check:checked ~ .menu-btn span::before {
    top:5px;
    transform: rotate(45deg);
  }

  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 5px;
    transform: rotate(-45deg);
  }

  .menu-content {
    width: 80%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 80;
    background: #ffffffde;
    transition: all 0.5s;
    padding:10px;
    margin-top:60px;
    display: block;
    border-top: 1px solid #f0f0f0;
  }

  header{
    height: 60px;
  }

  .header_top{
    background: #ffffff;
    height: 65px;
  }

  .header_top p{
    margin-left:10px;
  }

  #menu-btn-check:checked ~ .menu-content {
    left: 20%;
  }

  #menu-btn-check {
    display: none;
  }

  #menu-btn-check:checked ~ .hamburger_cover{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 60px;
    left: 0;
    background: rgb(0 0 0 / 40%);
    display: block;
  }

  .header ul{
    display: block;
    margin-right: 0;
  }

.nav_menu li{
  width: 100%;
}

.fixed .nav_menu .btn a,.nav_menu .btn a{
      margin: 40px 0 0 0;
          text-align: center!important;
              border: none!important;
              color: #ffffff!important;
                  padding: 15px 35px!important;
}

.cope{
  font-size: 11px;
  color: #7c7c7c;
  text-align: center;
  padding-top: 100px;
  display: block;
}

.subpage_h1{
  height: 200px;
}

.subpage_h1 .en{
    font-size: 60px;
    bottom: -15px;
    right: 0;
}

.subpage_h1 .jp{
  font-size: 13px;
      bottom: 47px;
    right: 0px;
}

.cal_4,.cal_5{
  width: calc(50% - 10px / 2);
}

}

  @media only screen and (max-device-width: 480px) {
    .cal_2,.cal_3,.cal_7,.recruit_section .cal_6{
        width:100%;
}


.wrapper{
      padding: 80px 20px;
}

.subpage .wrapper{
      padding: 40px 20px 80px 20px;
}

.logo_w{
  margin: 10px 0 0 10px;
}

    .swiper-slide img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.top_text{
          top: 300px;
}

.top_text p{
  font-size: 35px;
}

.top_btnbox img{
  top: 200px;
}

.voice_section{
    overflow-x: hidden;
}

.voice_section .box_container02{
  overflow-x: auto; /* 横スクロール有効 */
  gap: 10px; /* カード間の隙間 */
  padding-top: 10px;
  scroll-snap-type: x mandatory; /* スナップスクロール */
  width: 100vw;
   flex-wrap: nowrap;
}

.voice_section .cal_3 {
  flex: 0 0 50vw; /* 画面幅の約1/3 → 2枚半表示 */
  scroll-snap-align: start;
}

.recruit_section .text{
  writing-mode: horizontal-tb;
}

.recruit_section .textbox{
  height: auto;
  margin-left:25px;
  padding:15px;
}

.recruit_section .text02{
  font-size: 11px;
}

.recruit_section .box{
  padding: 40px 20px;
}

.recruit_section .number{
  position: absolute;
    left: -11px;
    font-size: 24px;
    top: -5px;
}

.recruit_section .text span{
      transform: rotate(0deg);
      padding: 0;
}

.recruit_section .icon{
      transform: rotate(90deg);
          right: auto;
    left: -8px;
        width: 22px;
        top:37px;
}

.number_section .cal_4{
  padding: 15px 5px;
}

.number_section .cal_bace{
  padding: 25px 5px 15px 5px;
}

.number_section .number{
  font-size: 12px;
}

.number_section .number span{
  font-size: 24px;
}

.number_section ul li{
  font-size: 8px;
}

.number_section .icon{
  width: 45px;
}

.number_section .title{
  padding-top: 5px;
}

.number_section .title02{
  padding-top: 10px;
}

.number_section .cal_last{
  width: 100%;
}

.number_section .cal_last .cal_3{
      width: calc(33.33% - 10px / 3);
}


.scroll-infinity__item {
    width: calc(100vw / 0.6);
}

footer{
  padding: 30px;
}

footer .cal_4{
  padding:0;
}

footer .link_box{
  border:none;
}

    .table th, .table td {
        padding: 15px 10px;
    }

    .copyright{
      text-align: center;
      padding-top: 30px;
    }

    .fixed .logo_b{
      margin: 6px 0 0 10px;
    }

    .info_section .cal_2{
          padding: 20px 70px;
    }

    .en{
      font-size: 43px;
    }

    h2{
      margin-bottom:30px;
    }

    .about_section .text{
      margin-bottom:30px;
    }

    .about_section iframe{
      height: 220px;
    }

    .work_section .wrapper{
          padding: 0px 20px 80px 20px;
    }

    .scroll-infinity {
    padding-bottom: 70px;
}

.vision_section .wrapper {
    padding: 90px 40px 300px 40px;
}

.project_section .text{
  margin-top:15px;
}

.voice_section h2,.number_section h2{
  margin-bottom: 10px;
}

.voice_section .text,.number_section .text{
    margin-bottom: 20px;
}

.message_section .img{
      padding-bottom: 10px;
}

.box_container{
  row-gap: 10px;
}

.recruit_section .text{
  font-size: 15px;
      padding-bottom: 5px;
}

.voice_detail img{
  width: 100%;
}

.voice_detail h2{
  font-size: 16px;
  line-height: 2.6;
}

.number_section .note{
  font-size: 12px;
}


.wpcf7-list-item input[type="radio"] {
  max-width: 100%!important;   /* はみ出し防止 */
  box-sizing: border-box!important; /* パディングやボーダーも幅に含める */
}

input[type="date"] {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  -webkit-appearance: none; /* iOS独自のスタイルを無効化 */
  appearance: none;
  background: #ffffff;
  color:#333333;
}

/*  共通設定（外観リセット＋サイズ統一） */
input[type="radio"],
input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border: 1px solid #999;
  position: relative;
  cursor: pointer;
  vertical-align: middle;
  transition: all 0.2s ease;
}

/*  radio（丸）専用 */
input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  background: #007bff;
  border-radius: 50%;
}

/*  checkbox（四角）専用 */
input[type="checkbox"] {
  border-radius: 3px;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 6px;
  height: 12px;
  border: solid #007bff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.scroll_line{
  left:10px;
}

.scroll{
  left:22px;
}

.btn_section{
    background-attachment: scroll;
}

.voice_section .title{
  font-size: 13px;
}

.subpage h3{
  font-size: 16px;
}

  }

  @media only screen and (max-device-width: 320px) {


  }
