  @charset "UTF-8";

  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
  }

  body {
      font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
      line-height: 1.6;
      background: #DBDBDB;
      min-height: 100vh;
      padding: 20px 0;
  }

  .container {
      max-width: 900px;
      margin: 0 auto;
      padding: 0 20px;
  }

  .header {
      text-align: center;
      margin-bottom: 40px;
      padding: 30px;
      border-radius: 15px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
  }

  .header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url(../../images/qa-top.webp);
      background-position: center;
      background-size: 100%;
      background-repeat: unset;
      pointer-events: none;
  }

  .header::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
      background-color: rgba(0, 0, 0, 0.6);

  }


  .header h1 {
      position: relative;
      color: white;
      font-size: clamp(1.5rem, 1.227rem + 1.36vw, 2.25rem);
      margin-bottom: 10px;
      font-weight: bold;
      z-index: 2;
  }

  .header p {
      position: relative;
      color: rgba(255, 255, 255, 0.9);
      font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
      z-index: 2;

  }

  .category {
      margin-bottom: 25px;
      background: rgba(255, 255, 255, 0.95);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(10px);
  }

  .category-header {
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      padding: 20px;
      font-size: clamp(1.125rem, 1.034rem + 0.45vw, 1.375rem);
      font-weight: bold;
      text-align: center;
      letter-spacing: 1px;
  }

  .qa-link {
      color: #34495e !important;
      display: inline-block !important;
      font-size: 22px;
      font-weight: bold;
      letter-spacing: 0.06em;
  }

  .qa-link {
      padding-bottom: 5px;
      position: relative;
  }

  .qa-link::before {
      background: #667eea;
      content: '';
      width: 100%;
      height: 2px;
      position: absolute;
      left: 0;
      bottom: 0;
      transform-origin: right top;
      transform: scale(0, 1);
      transition: transform .3s;
  }

  .qa-link:hover::before {
      transform-origin: left top;
      transform: scale(1, 1);
  }

  .qa-item {
      border-bottom: 1px solid #e8f4f8;
  }

  .qa-item:last-child {
      border-bottom: none;
  }

  .qa-item a,
  .side-link a {
      display: block;
      color: black;
      text-decoration: none;
  }

  .side-link a {
      text-align: center;
      transition: .5s;
  }

  .side-link {
      transition: .5s;
  }

  .side-link a:hover {
      transition: .5s;
      color: blue;
  }

  .question {
      padding: 20px;
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      background: #fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
  }

  .question:hover {
      background: #f8fbff;
      transform: translateX(5px);
  }

  .question-text {
      flex: 1;
      font-weight: 600;
      color: #2c3e50;
      font-size: 1.05em;
      margin-right: 15px;
  }

  .toggle-icon {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      font-weight: bold;
      transition: all 0.3s ease;
      flex-shrink: 0;
  }

  .answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease-in-out;
      background: #f8fbff;
  }

  .answer.active {
      max-height: 1000px;
  }

  .answer-content {
      padding: 25px;
      color: #34495e;
      font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
      line-height: 1.8;
      border-left: 4px solid #4a90e2;
      margin-left: 20px;
      background: white;
      border-radius: 0 8px 8px 0;
  }

  .footer {
      text-align: center;
      margin-top: 40px;
      padding: 20px;
      border-radius: 10px;
      backdrop-filter: blur(10px);
  }

  .tab-br {
      display: none;
  }

  .scroll-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
      color: white;
      border: none;
      border-radius: 50%;
      cursor: pointer;
      font-size: 20px;
      display: none;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
      z-index: 1000;
  }

  .scroll-to-top:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
      background: linear-gradient(135deg, #357abd 0%, #2c5f99 100%);
  }

  .scroll-to-top.show {
      display: flex;
      animation: fadeInUp 0.3s ease;
  }

  .copy-write {
      text-align: center;
      font-size: 8px;
      margin-top: 15px;
  }

  @keyframes fadeInUp {
      from {
          opacity: 0;
          transform: translateY(30px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }


  @media (max-width: 1020px) {
      .tab-br {
          display: block;
      }

  }

  @media (max-width: 768px) {
      .container {
          padding: 0 15px;
      }

      /* .header h1 {
                font-size: 1.8em;
            } */

      .category-header {
          /* font-size: 1.1em; */
          padding: 15px;
      }

      .question {
          padding: 15px;
      }

      /* .question-text {
                font-size: 1em;
            } */

      .answer-content {
          padding: 20px;
          margin-left: 15px;
      }

      .scroll-to-top {
          bottom: 20px;
          right: 20px;
          width: 45px;
          height: 45px;
          font-size: 18px;
      }
  }