@charset "utf-8";

/*common*/
.subpage_sec {
    padding: 12rem 0;
}

.normal_sec {
  padding: 6rem 0;
}

.sub_message_box {
    margin-bottom: 8rem;
    text-align: center;
}

.sub_message_box h2 {
    font-size: 3.6rem;
    margin-bottom: 3rem;
}


.sub_message_box p {
    font-size: 2rem;
    font-weight: 500;
}


@media screen and (max-width: 900px) {

    .subpage_sec,
    .normal_sec {
        padding: 4rem 0;
    }
    
    .sub_message_box h2 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }
    
    
    .sub_message_box p {
        font-size: 1.6rem;
        text-align: left;
    }
    

}




/*fv*/
.sub_fv_sec {
    background-color: var(--blue);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 30rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.sub_fv_sec .page_title {
    text-align: center;
    position: relative;
    z-index: 2;
}

.sub_fv_sec .page_title .en {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-variation-settings:
      "wdth" 100;
      font-size: 7rem;
      font-weight: bold;
      line-height: 1.2;
}

.sub_fv_sec .page_title .jp {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.4;
}


.subfv_animation .line {
    position: absolute;
}

.subfv_animation .line1 {
    bottom: -10rem;
    left: -20rem;
    animation: flyUpAnimation 5s ease-in-out infinite;
}

.subfv_animation .line2 {
    bottom: -10rem;
    left: -12rem;
    animation: flyUpAnimation 7s ease-in-out infinite;
    animation-delay: 2s; 
}
.subfv_animation .line3 {
    bottom: 20rem;
    left: -17rem;
    animation: flyUpAnimation 4s ease-in-out infinite;
    animation-delay: 2s; 
}


.subfv_animation .line4 {
    bottom: -15rem;
    right: 44rem;

    animation: flyUpAnimation 5s ease-in-out infinite;
    animation-delay: 1s; 
}

.subfv_animation .line5 {
    bottom: -31rem;
    right: 30rem;
    animation: flyUpAnimation 6s ease-in-out infinite;
    animation-delay: 3s; 
}

.subfv_animation .line6 {
    bottom: -18rem;
    right: 19rem;
    animation: flyUpAnimation 4s ease-in-out infinite;
    animation-delay: 2s; 
}


.subfv_freedom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* 必要に応じて調整 */
    overflow: hidden;
  }

  .subfv_freedom .move {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: transform 0.1s linear, opacity 0.5s ease 1.5s;
    will-change: transform;
    pointer-events: none;
  }


  @media screen and (max-width: 900px) {


    .sub_fv_sec .page_title .en {
          font-size: 5rem;
    }
    
    .sub_fv_sec .page_title .jp {
        font-size: 1.6rem;
    }
    

    .subfv_animation .line1 {
        bottom: 3rem;
        left: -18rem;
    }

    .subfv_animation .line2 {
        bottom: 6rem;
        left: -8rem;
    }

    .subfv_animation .line3 {
        display: none;
    }

    .subfv_animation .line4 {
        bottom: -20rem;
        left: -9rem;
    }

    .subfv_animation .line5 {
        bottom: -26rem;
        right: 18rem;
        width: 20rem;
    }


    .subfv_animation .line6 {
        bottom: -15rem;
        right: 10rem;
        width: 8rem;
    }
    


    .subfv_freedom .box {
        display: none;
    }
    

  }



  /***panlist***/
  .panlist {
    padding: 2rem 0;
  }
  .panlist span {
    font-size: 1.6rem;
  }


  /*service*/
  .sub_service_list > li {
    display: flex;
    justify-content: space-between;
    gap: 5rem;
    align-items: center;
  }

  .sub_service_list > li:nth-of-type(2n + 1) {
    flex-direction: row-reverse;
  }

  .sub_service_list > li:not(:last-of-type) {
    margin-bottom: 8rem;
  }

  .sub_service_list .image {
    width: 50%;
  }

  .sub_service_list .text {
    flex: 1;
  }


  .sub_service_list figure {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 62.5%;
    border-bottom: 1rem;
    overflow: hidden;
  }

  .sub_service_list figure img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }


  .sub_service_list .text h3 {
    font-size: 2.8rem;
  }

  .sub_service_list .text h4 {
    color: var(--blue);
    font-size: 1.6rem;
    margin-bottom: 3rem;
  }

  .sub_service_list .text .base_btn {
    margin-top: 4rem;
  }

  .sub_service_list .text .base_btn a {
    margin-left: auto;
  }


  @media screen and (max-width: 900px) {

    .sub_service_list > li,
    .sub_service_list > li:nth-of-type(2n + 1) {
        flex-direction: column;
      }

      .sub_service_list > li:not(:last-of-type) {
        margin-bottom: 5rem;
      }

      .sub_service_list .text h3 {
        font-size: 2.4rem;
      }
      .sub_service_list .text h4 {
        font-size: 1.6rem;
        margin-bottom: 2rem;
      }

      .sub_service_list .text figure {
        margin-bottom: 2rem;
      }

    .sub_service_list .text .base_btn {
        margin-top: 2rem;
    }

    
    

  }



  /*****company*****/

  /*top*/
  .company_top_sec .sub_message_box {
    margin-bottom: 0;
  }
  .company_top_sec .sub_message_box .big {
    font-size: 4rem;
    margin-bottom: 3rem;
    font-weight: bold;
  }

  .company_top_sec .sub_message_box .big span {
    position: relative;
  }

  .company_top_sec .sub_message_box .big span::after {
    height: 40%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--light-blue);
    border-radius: 5rem;
    content: '';
    z-index: -1;
  }


  .company_top_sec .sub_message_box .philosophy {
    text-align: left;
    max-width: max-content;
    width: 100%;
    margin: 0 auto 5rem;
 
  }

  .company_top_sec .sub_message_box .philosophy li {
    font-size: 2.6rem;
    font-weight: bold;
  }


  @media screen and (max-width: 900px) {

    .company_top_sec .sub_message_box .big {
        font-size: 3.2rem;
        margin-bottom: 3rem;
      }

      .company_top_sec .sub_message_box .big span::after {
        display: none;
      }

      .company_top_sec .sub_message_box .philosophy li {
        font-size: 2rem;
      }
    

  }


  /*message*/

  .company_message_sec {
    position: relative;
  }
  .company_message_sec .wrapper {
    padding: 30px;
    background-color: rgba(255,255,255, 0.7);
    text-align: center;
    border-radius: 1rem;
    max-width: max-content;
  }
.company_message_sec p {
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 1.8;

}

  @media screen and (max-width: 900px) {


    .company_message_sec .wrapper {
        padding: 20px 10px;
      }
    .company_message_sec p {
        text-align: left;
        line-height: 1.4;
        font-size: 1.6rem;
    
    }

  }



  /*info*/

  .company_info_sec .wrapper {
    max-width: max-content;
  }
  .info_table dl {
    display: flex;
    align-items: stretch;
  }

  .info_table dl:not(:last-of-type) {
    margin-bottom: 0.5rem;
  }
  .info_table dl dt,
  .info_table dl dd {
    padding: 1.5rem;
  }

  .info_table dl dt {
    background-color: var(--back-gray);

    text-align: center;
    width: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .info_table dl dd {
    flex: 1;
    background-color: white;
  }


  @media screen and (max-width: 500px) {

    .info_table dl {
        flex-direction: column;
      }

      .info_table dl dt {
        width: 100%;
      }
    

  }




  /***contact*/
  .contact_form_sec .wrapper{
    max-width: 800px;
  }
  .contact_form_box .info_table input[type="text"],
  .contact_form_box .info_table input[type="email"],
  .contact_form_box .info_table textarea {
    width: 100%;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid var(--border-gray);
    font-size: 1.6rem;
  }

  .contact_form_box .info_table textarea {
    min-height: 200px;
  }
  .contact_form_box .submit_box {
    margin-top: 5rem;
  }
  .contact_form_box .submit_box input[type="submit"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 60px;
    background-color: var(--blue);
    color: white;
    border: 1px solid var(--blue);
    margin: 0 auto;
    font-size: 1.6rem;
    font-weight: 600;
  }

  @media screen and (max-width: 900px) {


  }



  /***single***/

  .single_title {
    margin-bottom: 1rem;
    border-bottom: 4px solid var(--blue);
    padding-bottom: 1rem;
    font-size: 3.6rem;
  }
  .single_page .single_meta {
    margin-bottom: 2rem;
  }
  .single_date {
    text-align: right;
  }

  .single_wrapper {
    background-color: rgba(235, 242, 255, 0.5);
    padding: 4rem;
    border-radius: 2rem 0 2rem 0;
  }

  .single_page .single_content {
    background-color: white;
    padding: 3rem;
    margin-bottom: 3rem;
  }

  .single_content > * {
    margin-bottom: 2rem;
  }

  .single_content h2 {
    margin-top: 6rem;
    font-size: 2.6rem;
    border-top: 3px solid #4e58ff;
    border-bottom: 3px solid #4e58ff;
    padding: 1rem 0.5rem;
  }
  .single_content h3 {
    margin-top: 4rem;
    font-size: 2.4rem;
    position: relative;
    padding-bottom: 1rem;
  }

  .single_content h3::before,
  .single_content h3::after {
    content: '';
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: 0;
    left: 0;
  }
  .single_content h3::before {
    background-color: var(--back-gray);
  }
  .single_content h3::after {
    background-color: #4e58ff;
    max-width: 150px;
  }
  .single_content h4 {
    margin-top: 3rem;
    font-size: 2.2rem;
    position: relative;
    padding-left: 24px;
  }

  .single_content h4::before {
    content: '';
    width: 18px;
    height: 18px;
    position: absolute;
    top: 7.5px;
    left: 0;
    background-color: #4e58ff;
  }
  .single_content h5,
  .single_content h6 {
    margin-top: 2.5rem;
    font-size: 2rem;
  }

  .single_content h5 {
    color: #4e58ff;
    font-weight: bolder;
  }

  .single_content table th,
  .single_content table td {
    border: 1px solid var(--border-gray);
    padding: 1rem;
  }
  .single_content table th {
    background-color: var(--blue);
    color: white;
  }
  
  .single_content table td {
    background-color: white;
  }

  .single_content ul,
  .single_content ol{
    background-color: var(--back-gray);
    padding: 2rem;
    position: relative;
  }

  .single_content ul li:not(:last-of-type),
  .single_content ol li:not(:last-of-type) {
    margin-bottom: 1rem;
  }

  .single_content ul li {
    position: relative;
    padding-left: 1.5rem;
  }

  .single_content ul li::before {
    content: '';
    width: 1.1rem;
    height: 1.1rem;
    background-color: var(--blue);
    position: absolute;
    top: 0.95rem;
    left: 0;
    border-radius: 50%;
  }


  .single_content ol {
    list-style:decimal;
  }

  .single_content ol li {
    margin-left: 1.6rem;
  }

  .single_content blockquote {
    padding: 2rem;
    background-color: var(--back-gray);
  }

  .single_page .page_back {
    text-align: center;
    margin-top: 2rem;
  }

  @media screen and (max-width: 900px) {


    .single_title {
      margin-bottom: 1rem;
      border-bottom: 2px solid var(--blue);
      padding-bottom: 1rem;
      font-size: 3rem;
    }
    .single_page .single_meta {
      margin-bottom: 2rem;
    }
  
    .single_date {
      font-size: 1.4rem;
    }

    .single_wrapper {
      padding: 1.6rem;
      border-radius: 2rem 0 2rem 0;
    }
  
    .single_page .single_content {
      background-color: white;
      padding: 1.6rem;
      margin-bottom: 1rem;
    }
  
    .single_content > * {
      margin-bottom: 1.6rem;
    }
  
    .single_content h2 {
      margin-top: 3rem;
      font-size: 2rem;
      border-top: 2px solid #4e58ff;
      border-bottom: 2px solid #4e58ff;
      padding: 1rem 0.3rem;
    }
    .single_content h3 {
      margin-top: 2.6rem;
      font-size: 1.9rem;
      padding-bottom: 1rem;
    }
    .single_content h3::after {
      max-width: 70px;
    }
    .single_content h4 {
      margin-top: 2.6rem;
      font-size: 1.8rem;
      padding-left: 20px;
    }
  
    .single_content h4::before {
      width: 14px;
      height: 14px;
      top: 6.5px;
    }
    .single_content h5,
    .single_content h6 {
      margin-top: 2.2rem;
      font-size: 1.6rem;
    }
 
  
    .single_content table th,
    .single_content table td {
      border: 1px solid var(--border-gray);
      padding: 1rem;
    }

  
    .single_content ul,
    .single_content ol{
      padding: 1.6rem;
    }
  


    .single_content ul li {
      position: relative;
      padding-left: 1.5rem;
    }
  
    .single_content ul li::before {
      content: '';
      width: 1rem;
      height: 1rem;
      background-color: var(--blue);
      position: absolute;
      top: 0.7rem;
      left: 0;
      border-radius: 50%;
    }
  
  
    .single_content ol {
      list-style:decimal;
    }
  
    .single_content ol li {
      margin-left: 1.6rem;
    }
  
    .single_content blockquote {
      padding: 1.6rem;
    }




  }

  @media screen and (max-width: 600px) {
    .single_content .wp-block-table {
      overflow-x: scroll;
    }

    .single_content .has-fixed-layout {
      width: max-content;
    }

    .single_content .has-fixed-layout:after {
      content: '表は横スクロール可能です';
    }

  }



  /**上書き***/
  .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output,
  .wpcf7 form .wpcf7-response-output {
    font-size: 1.6rem;
  }

  @media screen and (max-width: 900px) {


  }



  @media screen and (max-width: 900px) {


  }



  @media screen and (max-width: 900px) {


  }



  @media screen and (max-width: 900px) {


  }