/* #qa */
  
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="email"]{
  background-color: #FFFFFF;
}


#Contents {
    max-width: 1440px;
    margin: 0 auto;
  padding-top: 104px;
   background-color: var(--mainBg-color);

  #qaWrap {
    max-width: 720px;
    padding: 0 40px 72px;
    margin: 0 auto;

    .headingPart {
      .textBox {
        margin-bottom: 26px;

        h1 {
          display: inline-block;
          font-size: 3.2rem;
          font-weight: 700;
          color: var(--sub-color);
          text-align: center;
          width: 100%;
          margin-bottom: 26px;
          cursor: pointer;
        }

        h1:hover {
          opacity: 0.8;
        }

        p {
          font-size: 2rem;
          font-weight: 500;
          text-align: center;
        }
      }

      .container {
        width: 100%;
        height: 45px;
        gap: 26px;
        margin-bottom: 64px;

        .searchBox {
          flex: 1;
          align-items: stretch;
          height: 100%;

          input {
            width: 100%;
            border: 0.7px solid var(--sub-color);
            border-radius: 5px;
            padding-left: 20px;
          }
        }

        button {
          background: var(--button-color);
          border: 0.7px solid rgba(255, 255, 255, 1);
          border-radius: 5px;
            color: rgb(255, 255, 255);
            font-weight: 500;
            line-height: 1.8;
            padding: 10px 20px;
            gap: 10px;
            cursor:pointer;

            img {
              width: 16.9px;
              height: auto;
            }
        }
        
        button:hover{
            opacity: 0.8;
        }
      }

      .tag {
        grid-template-columns:repeat(2,1fr);
        gap: 16px;
        margin-bottom: 64px;

        a {
          font-size: 1.5rem;
          padding: 15px 40px;
          background: rgba(255, 255, 255, 1);
          border: 0.7px solid var(--text-color);
        }

        a:hover {
          background: rgb(241, 240, 240);
        }
      }
    }

      .container.qaBlock {
        text-align: center;
        margin-bottom: 64px;

        .qaBox {
          text-align: left;
          background: rgb(255, 255, 255);
          border-bottom: 0.5px solid rgb(162, 146, 128);
          transition: background 0.2s ease-in;

          .qArea {
            padding: 24px 40px;
            position: relative;
            cursor: pointer;

            h3 {
              font-size: 1.7rem;
              font-weight: 700;
              margin-bottom: 0;
            }

            .trigger {
              display: flex;
              align-items: center;
              justify-content: center;
              width: 20px;
              height: 20px;
              position: absolute;
              top: 50%;
              transform: translateY(-50%);
              right: 40px;
              cursor: pointer;

              span.bar {
                display: block;
                width: 1.4rem;
                height: 1.7px;
                background: var(--main-color);
                position: relative;
                transform-origin: center;
                transition: all 0.3s ease-in;
              }

              span::before {
                display: block;
                content: "";
                width: 1.4rem;
                height: 2px;
                background: var(--main-color);
                transform-origin: center;
                transform: rotate(90deg);
              }
            }
          }

          .qArea.close .trigger span {
            transform: rotateZ(45deg);
            background: rgb(217, 217, 217);
          }
          .qArea.close .trigger span::before {
            background: rgb(217, 217, 217);
          }

          p.a {
            padding: 0 40px 24px;
            font-size: 1.5rem;
            font-weight: 500;
            line-height: 1.4;
            display: none;
          }
        }

        .qaBox:hover {
          background: rgb(242, 240, 226);
        }

        .qaBox:first-child {
          border-top: 0.5px solid rgb(162, 146, 128);
        }
      }

      .container:last-child {
        margin-bottom: 0;
      }
    }
  }


@media screen and (max-width: 768px) {
  #Contents {
    max-width: 100%;
    padding-top: 20px;
    
    #qaWrap {
      padding: 0 24px 32px;
      .headingPart {
        .textBox {
          margin-bottom: 24px;
          p {
            font-size: 1.6rem;
            text-align: left;
          }
        }
        .container {
          margin-bottom: 40px;

          .searchBox {
            input {
              padding-left: 10.13%;
            }
          }
        }
        .tag a {
          font-size: 1.2rem;
          padding: 10px 20px;
        }
      }

      .qaBlock {
        h2{
          font-size: clamp(1.8rem,6vw,2.4rem);
        }
        .qaList {
          .qaBox {
            .qArea {
              padding: 16px 52px 16px 16px;

              h3 {
                font-size: 1.6rem;
              }
              .trigger {
                width: 11px;
                height: 11px;
                right: 20px;

                span.bar,
                span.bar::before {
                  width: 11px;
                  height: 1px;
                }
              }
            }
            p.a {
              font-size: 1.4rem;
              padding: 16px 36px 16px 16px;
            }
          }
        }
      }
    }
  }
}
  

