
  
  /* FAQ Box Styles */
  .faq-box {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 15px;
    border-bottom: 2px solid #0067b7;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
  }
  
  .faq-box > div {
    display: flex;
    align-items: center;
    gap: 1px;
  }
  
  .faq-box .q-letter {
    font-size: 36px;
    font-weight: bold;
    color: #003a66;
    line-height: 1;
  }
  
  .faq-box .question-text {
    font-size: 17px;
    color: #222222;
    padding-top: 9px;
  }
  
 
  /* Answer Styles */
  .answer-container {
    display: none;
    padding: 15px;
    background-color: #ffffff;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    margin: -21px 0 20px 0;
    border-bottom: 1px solid #ccc;
    border-top: 0px solid #0067b7;

  }
  
  /* Answer Header */
  .answer-header {
    display: inline-flex;
    align-items: flex-start;
  }
  
  .a-letter {
    font-size: 36px;
    font-weight: bold;
    color: #7fbf3c;
    line-height: 1;
    margin-right: 7px; 
  }
  
  .a-number {
    font-size: 22px;
    font-weight: bold;
    color: #7fbf3c;
    padding-top: 8px;
    margin-right: 5px;
  }
  
  .a-separator {
    font-size: 17px;
    font-weight: bold;
    color: #7fbf3c;
    padding-top: 11px;    
    padding-right: 3px;
  }
  
  /* Answer Text */
  .answer-text {
    line-height: 1.8;
    margin-top: -39px;
    display: inline; 
 }
  
  /* Question Group Styles */
  .question-group {
    display: none;
  }
  
  .question-group.active {
    display: block;
  }
  
  .question-header {
    display: flex;
    align-items: center;
  }
  
  .q-letter {
    font-size: 36px;
    font-weight: bold;
    color: #003a66;
  }
  
  .q-number {
    font-size: 22px;
    font-weight: bold;
    color: #003a66;
    padding-top: 8px;
    margin-right: 3px; /* 3px between number and separator */
  }
  
  .q-separator {
    padding-top: 9px;
    font-size: 17px;
    color: #003a66;
    font-weight: bold;
    margin-right: 5px;
  }
  
  .question-text {
    font-size: 17px;
    color: #222222;
  }
  .dropdown-icon {
    margin-top: 20px;
    width: 14px;
    height: 20px;
    margin-right: 10px;
    transition: transform 0.3s ease;
    background-image: url('/recruit/wp/wp-content/themes/mdcr_recruit/assets/image/recruit/down.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
  }

  /* Pagination Styles */
  .pagination-container {
    text-align: center;
    margin-top: 30px;
  }
  
  .box-selection {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
  }
  
  .page-box {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #0067b7;
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s;
    background-color: #f7f7f7;
  }
  
  .page-box:hover {
    background-color: #e0e0e0;
  }
  
  .page-box.active {
    background-color: #0067b7;
    color: white;
  }
  
  /* Active state for FAQ items */
  .faq-box.active .dropdown-icon {
    transform: rotate(180deg);
  }
  @media (max-width: 767px) {
    .faq-box {
      height: auto;
      padding: 12px;
      margin-bottom: 15px;
    }
    .faq-box .q-letter,
    .a-letter {
      font-size: 24px;
    }
    
    .a-letter{
      margin-right: 5px;
    }
    .faq-box .q-number,
    .a-number {
      font-size: 18px;
      padding-top: 1px;
    }
    
    .a-number {
      margin-right: 5px;
      padding-top: 0px;

    }

    .q-separator,
    .a-separator {
      font-size: 14px;
      padding-top: 2px;
      padding-right: 3px;
    }
    
  
    .faq-box .question-text,
    .question-text,
    .answer-text,
    .answer-container {
      padding-top: 1px;
      font-size: 14px;
      line-height: 1.6;
    }
  
    .answer-container {
      padding: 12px;
      margin: -18px 0 15px 0;
      border-bottom: 1px solid #ccc;
      border-top: 1px solid #0067b7;

    }
    
    .answer-text{
      padding-left: 2px;
    }
    .dropdown-icon {
      width: 12px;
      height: 18px;
      margin-top: 12px;
      margin-right: 6px;
    }
  
    .page-box {
      width: 45px;
      height: 45px;
      line-height: 45px;
      font-size: 16px;
    }
  
    .box-selection {
      gap: 10px;
      margin: 30px 0;
    }
  
    .pagination-container {
      margin-top: 20px;
    }
  }
  
  @media (min-width: 768px) and (max-width: 819px) {
    .faq-box {
      height: 70px;
      padding: 14px;
    }
    
    .faq-box .q-letter,
    .a-letter {
      font-size: 30px;
    }
    
    .faq-box .question-text,
    .question-text {
      font-size: 16px;
    }
    
    .answer-container {
      padding: 14px;
      font-size: 15px;
    }
    
    .page-box {
      width: 50px;
      height: 50px;
      line-height: 50px;
      font-size: 18px;
    }
  }
  
  /* 820px - 1132px */
  @media (min-width: 820px) and (max-width: 1132px) {
    .faq-box {
      height: 75px;
      padding: 15px;
    }
    
    .faq-box .question-text,
    .question-text {
      font-size: 16.5px;
    }
    
    .answer-container {
      padding: 15px;
      font-size: 15.5px;
    }
    
    .page-box {
      width: 55px;
      height: 55px;
      line-height: 55px;
    }
  }
  
  /* 1133px and above */
  @media (min-width: 1133px) {
    .faq-box {
      height: 85px;
      padding: 20px;
      margin-bottom: 25px;
    }
    
    .faq-box .q-letter,
    .a-letter {
      font-size: 38px;
    }
    
    .faq-box .question-text,
    .question-text {
      font-size: 18px;
    }
    
    .answer-container {
      padding: 20px;
      font-size: 17px;
      margin: -25px 0 25px 0;
    }
    
    .page-box {
      width: 65px;
      height: 65px;
      line-height: 65px;
      font-size: 22px;
    }
    
    .box-selection {
      gap: 25px;
      margin: 50px 0;
    }
  }