  /* Rest of the previous styles remain unchanged */
  .contact-form-section {
    padding: 5rem 2rem;
    background: #fff;
    width: 85%;
    max-width: 60rem;
    margin: 0 auto;
	  background: white;
	}
    
    .contact-form-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    position: relative;
    }
    
    .contact-form-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    }
    
    .form-input {
    padding: 0.8rem;
    border: 1px solid #E8ECF2;
    border-radius: 0.45rem;
    font-size: 1rem;
    width: 100%;
    background-color: #fff;
    box-sizing: border-box;
    }

    .form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    }

    .form-textarea {
    padding: 0.8rem;
    border: 1px solid #E8ECF2;
    border-radius: 0.75rem;
    height: 150px;
    resize: vertical;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    background-color: #fff;
    box-sizing: border-box;
    }

    .form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    }
    
    .required::before {
    content: '必須';
    background: var(--color-primary);
    color: white;
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5rem;
    letter-spacing: 0.03rem;
    padding: 0.125rem 0.625rem;
    border-radius: 3.125rem;
    margin-right: 0.62rem;
    display: inline-block;
    }
    
    .optional::before {
    content: '任意';
    background: white;
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5rem;
    letter-spacing: 0.03rem;
    padding: 0.125rem 0.625rem;
    border-radius: 3.125rem;
    margin-right: 0.62rem;
    display: inline-block;
    border: 1px solid var(--color-primary);
    }
    
    .form-group {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
    margin-top: 2rem;
    }
  
  .form-group.column {
      flex-direction: column;
  }
    
    .form-group label {
    font-weight: 700;
    height: 1.5rem;
    letter-spacing: 0.03rem;
    min-width: 8rem;
    text-align: start;
    width: 230px;
    }
    
    .form-input-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    text-align: start;
    }
    
    .form-hint {
    color: var(--black);
    margin: 0.2rem 0 0 0;
    }
    
    .name-inputs {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
    }
    
    .name-input {
    width: 100%;
    flex: none;
    }
    
    .phone-inputs {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    }
    
    .phone-input {
    width: 110px;
    }
    
    .phone-separator {
    color: #666;
    }
    
    .privacy-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    }
    
    .privacy-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    }
    .privacy-checkbox input {
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
      box-sizing: border-box;
      display: inline-block;
      width: 1rem;
      height: 1rem;
      flex-shrink: 0;
      border: 1px solid rgb(118, 118, 118);
      border-radius: 2px;
      background-color: #fff;
      transition: background-color 0.2s ease, border-color 0.2s ease;
    }
    .privacy-checkbox input:checked {
      background-color: var(--color-primary);
      border-color: var(--color-primary);
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-size: 80%;
      background-position: center;
      background-repeat: no-repeat;
    }
    .privacy-checkbox p {
      font-weight: 500;
      cursor: pointer;
    }
    .privacy-text {
    font-size: 0.8rem;
    margin: 0;
    }
    
    .privacy-text a {
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
    }

    .privacy-text a:hover {
      opacity: 0.7;
    }

    @media (max-width: 1024px) {
    .contact-form-section {
    width: 100%;
    padding: 5rem 1.25rem;
    }
    .form-group {
    flex-direction: column;
    align-items: normal;
    gap: 1.5rem;
    }
    .form-input-container {
    max-width: 100%;
    }
    
    .form-group label {
    margin-bottom: 0.5rem;
    }
    .name-inputs {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      }
    .name-input {
      width: 100%;
      }
    .phone-inputs {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      width: fit-content;
      }
    .phone-input {
      width: 100%;
      }
    }
    .privacy-text {
      font-size: 1rem;
      }
      #app {
        max-width: 800px;
        margin: 0 auto;
        width: 100%;
        padding: 2rem 0;
        display: flex;
        align-items: center;
        }
        
        .completion-container {
        text-align: center;
        margin: 3rem 0;
        }
        
        .title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        font-weight: bold;
        position: relative;
        display: inline-block;
        padding: 0 0.5rem;
        }
        
        .title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background-color: #0066cc;
        }
        
        .message {
        text-align: center;
        line-height: 1.8;
        font-size: clamp(0.9rem, 4vw, 1rem);
        padding: 0 1rem;
        margin-top: 3.75rem;
        }
        
        .contact-info {
        margin-top: 3.75rem;
        }
        
        .phone-number {
        font-size: 2rem;
        font-weight: 700;
        color: var(--main-blue, #0061E0);
        margin: 0.62rem 0 0;
        line-height: 1.875rem; /* 93.75% */
        }
        @media only screen and (max-width: 767px) {
        .completion-container {
            margin: 7.5rem 0;
            }
        }

        .form-box {
          margin-top: 3.75rem;
          text-align: center;
        }


        .wpcf7-list-item {
          display: flex !important;
          margin: 0 !important;
          align-items: center;
          column-gap: .5rem;
      }
  
      .wpcf7-list-item-label {
        min-height: 1.2rem;
      }
      .wpcf7-not-valid-tip {
        margin-top: 4px;
      }
      input[type=checkbox] {
        -ms-transform: scale(1.3, 1.3);
        -webkit-transform: scale(1.3, 1.3);
        transform: scale(1.3, 1.3);
      }
      .submit-btn-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 14.6875rem;
        height: 4.1rem;
        border: 2px solid transparent;
        background: var(--color-primary);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        /* Shadow effect */
        box-shadow: 2px 2px 30px 0px rgba(0, 0, 0, 0.20);
        transition: .3s ease all;
    
        /* Text styling */
        color: white;
        font-weight: bold;
        font-size: 1rem;
        
        /* Positioning */
        align-self: center;
        margin-top: 2rem;
        
        /* Transition for hover effect */
      }
  
      .submit-btn-container {
        display: flex;
        justify-content: center;
      }
      
      /* Arrow icon styling */
      .submit-btn-wrapper::after {
      /* content: '▶'; */
      font-size: 0.8rem;
      margin-left: 0.25rem;
      color: #fff;
      }
      
      .submit-btn-wrapper:hover {
        border: 2px solid var(--color-primary);
      }

      .submit-btn {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        border: none;
        cursor: pointer;
        color: inherit;
        font-size: inherit;
        font-weight: inherit;
        font-family: inherit;
      }
      
  
      .wpcf7-spinner {
        display: none !important;
      }
  
  
  
  
    /* ラジオボタンの元のスタイルを非表示にする */
  .wpcf7-checkbox input[type="checkbox"] {
    display: none;
  }
  
  /* ラベルのスタイルをカスタマイズ */
  .wpcf7-checkbox label {
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
  }
  
  /* カスタムラジオボタンの外枠 */
  .wpcf7-checkbox label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 1.2rem;
    border: 1px solid #CDD6DD;
    border-radius: .2rem;
    background-color: #fff;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.3s;
  }
  
  /* カスタムラジオボタンの選択時のチェック */
  .wpcf7-checkbox input[type="checkbox"]:checked + span::before {
    border-color: #0297E0;
  }
  
  .wpcf7-checkbox input[type="checkbox"]:checked + span::after {
  
  
      content: '';
      position: absolute;
      top: 50%;
      left: 0.3rem;
      transform: translateY(-50%) rotate(-45deg);
      width: 10px;
      height: 6px;
      border-left: 2.5px solid #0297E0;
      border-bottom: 2.5px solid #0297E0;
  }
  
  
  .wpcf7-checkbox  .wpcf7-list-item.first,
  .wpcf7-radio  .wpcf7-list-item.fist {
    margin: 0;
  }
  
  /* 問い合わせ内容のチェックボックス */
  
  .wpcf7-list-item {
      display: block !important;
      margin: 0 0 0 0 !important;
  }
  
  .form-group .wpcf7-checkbox label {
      padding-top: 0;
      font-weight:400;
  }
  
  .wpcf7-checkbox.radio {
      display: flex;
      flex-direction: column;
      row-gap: 0.25rem;
  }
  .wpcf7-checkbox.radio  .wpcf7-list-item.first {
      display: inline-block;
      margin: 0 0 0 1em;
  }
  
  
  /* 資料請求用画像チェックボックス */
  .form-input-container.full-screan {
      max-width:100%;
  }
  .section__content.serviceList {
      padding-top: 1rem;
      display: grid;
      grid-template-columns: repeat(2, 50%);
      justify-content: flex-start;
      row-gap: 5rem;
  }
  
  #service .serviceList__wrapper {
      width:90%;
  }

  
  #service .serviceList__wrapper .inner {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      row-gap: 1rem;
      width: 100%;
      /* リンク入れたら削除する */
      cursor: auto;
  
  }

#service .serviceList__wrapper .inner:hover {
	opacity:0.7;
	cursor: pointer;
}
  #service .serviceList__wrapper.left {
      justify-self: start; /* 左寄せ */
  }
  #service .serviceList__wrapper.right {
      justify-self: end; /* 左寄せ */
  }
  
  #service  .serviceList__wrapper  .serviceList__title {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
  
  
    #service .serviceList__title__inner  .serviceList__title--deco {
      color: #00547D;
      font-family: "Open Sans", sans-serif;
      font-size: 0.875rem;
      font-weight: 600;
      letter-spacing: 0.0175rem;
    }
  
    #service .serviceList__title__inner h3 {
		color:#002C44;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2rem; /* 100% */
  letter-spacing: 0.08rem;
  margin-top: .5rem;
    }
  
  
  #service .serviceList__title__inner h3 span  {
      margin-left: 0.5rem;
  }
  
  
    #service .serviceList__wrapper .serviceList__img {
      border-radius: 0.5rem;
      width: 100%;
  /*     max-height: 16rem; */
        aspect-ratio: 5 / 3; /* 固定のアスペクト比を設定 */
      overflow: hidden;
      box-shadow: var(--dropShadow--card);
  
    }
  
    #service .serviceList__wrapper .serviceList__img .degital::after {
      content: "";
      height: 100%;
      width: 100%;
      position: absolute;
      top: 0;
      left: 0;
      background: linear-gradient(90deg, rgba(0, 84, 125, 0.80) 0%, rgba(0, 84, 125, 0.30) 60.64%, rgba(0, 84, 125, 0.50) 100%);
  
    }
  
  
    #service .serviceList__wrapper .serviceList__img img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      transition: .3s ease all;
    }
    /* #service .serviceList__wrapper .serviceList__img.system img{
          transform: translateY(-16%);
    } */
    #service .serviceList__textContent {
      flex-grow: 1;
    }
    #service .serviceList__textContent--title  {
      font-size: 1.375rem;
      font-weight: 700;
      line-height: 2rem; /* 145.455% */
      letter-spacing: 0.01375rem;
      margin-bottom: .3rem;
    }
    #service .serviceList__textContent--detail {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.625rem; /* 173.333% */
    }
  
  
    /* タブレット用 */
  @media screen and (max-width: 1024px) {
      #service .serviceList__wrapper .inner {
          row-gap: .75rem;
          width: 100%;
      }
  
      #service .serviceList__title__inner {
          min-height: 5rem;
      }
    #service .serviceList__title__inner h3 {
      font-size: 1.75rem;
      margin-top: 0;
        }
  
        #service .serviceList__title__inner  .serviceList__title--deco {
          font-size: 0.75rem;
        }
  
        #service .serviceList__wrapper .serviceList__img.system img{
          transform: translateY(0);
    }
  }
  /* スマホ用 */
  @media screen and (max-width: 768px) {
  
      #service .section__content.serviceList {
          display: grid;
          grid-template-columns: repeat(1, 100%);
          justify-content: center;
          align-items: flex-start;
          row-gap: 3.75rem;
          column-gap: 5rem;
      
        }
        #service .serviceList__title__inner {
          min-height: auto;
      }
        #service .serviceList__wrapper.left,
        #service .serviceList__wrapper.right {
  
          justify-self: center; /* 左寄せ */
        }
  
        #service .serviceList__wrapper .serviceList__img {
          margin-bottom: .5rem;
        }
  
        #service .serviceList__wrapper {
          width:100%;
      }
  
  
      #service .serviceList__textContent--title  {
          font-size: 1.25rem;
        }
  
  #service .serviceList__title__inner h3 span  {
      margin-left: 0.2rem;
  }
  
  
  }
  
  
  /* カスタムラジオボタンの外枠 */
  
  .circle__button {
      width:1.5rem;
  }
  
  .circle__button .wpcf7-checkbox label::before {
    content: "";
    position: absolute;
    right: 20%;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 1.2rem;
    border: 1px solid #CDD6DD;
    border-radius: .2rem;
    background-color: #fff;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color 0.3s;
  }
  
  
  
  
  .circle__button .wpcf7-checkbox input[type="checkbox"]:checked + span::after {
      content: '';
      position: absolute;
      top: 50%;
      right: caclc(20% + 0.3rem);
      transform: translateY(-50%) rotate(-45deg);
      width: 10px;
      height: 6px;
      border-left: 2.5px solid #0297E0;
      border-bottom: 2.5px solid #0297E0;
  }
  
  
  /* 関連資料のチェックボックス横のテキストをCSSで非表示に */
  .circle__button .wpcf7-list-item-label {
      font-size:0;
  }