/* 공통스타일링 */
@font-face {
  font-family: "nanum";
  src: url("./font/NanumSquare_acR.ttf");
}
@font-face {
  font-family: "nanumThin";
  src: url("./font/NanumSquareL.ttf");
}
@font-face {
  font-family: "nanumThick";
  src: url("./font/NanumSquare_acEB.ttf");
}
@font-face {
  font-family: "gmarketBold";
  src: url("./font/GmarketSansTTFBold.ttf");
}
@font-face {
  font-family: "gmarketLight";
  src: url("./font/GmarketSansTTFLight.ttf");
}
@font-face {
  font-family: "gmarketMedium";
  src: url("./font/GmarketSansTTFMedium.ttf");
}
img {
  width: 100%
}

/* index 영역 */
.indexBackgroundImage {
  position: relative;
  min-height: 100vh;
  background-color: #be1e2d;
  }
  .indexText {
  width: 20%;
  margin: 0 auto;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%); 
  top: 40%;
  }
  .indexImg {
  width: 75%;
  margin: 0 auto;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%); 
  }
  
  .indexBackgroundImage a {
    width: 90%;
    display: block;
    margin: 0 auto;
    margin-bottom: 3rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%); 
    bottom: 0;
    font-family: nanum;
    font-size: 1.6rem;
    padding: 2rem;
    border-radius: 10rem;
    background-color: #fff;
    text-align: center;
    font-weight: 600;
  }
  
#logoutModal {
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 0 1.5rem;
    z-index: 8888;
    top: 0;
}
#logoutModal .box {
    background: #fff;
    width: 100%;
    text-align: center;
    padding-top: 4rem;
}
#logoutModal .box > h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #be1e2d;
}
#logoutModal .box > p {
    font-size: 1.8rem;
    margin-bottom: 4rem;
    font-weight: 600;
}
#logoutModal .box .buttonWrap {
    display: flex;
}
#logoutModal .box .buttonWrap form {
    width: 50%;
}
#logoutModal .box .buttonWrap form button {
    width: 100%;
    font-size: 1.8rem;
    font-weight: 600;
    color: #b0b0b0;
    background: #f2f2f2;
    padding: 2rem 0;
}
#logoutModal .box .buttonWrap > button {
    width: 50%;
    font-size: 1.8rem;
    padding: 2rem 0;
    color: #fff;
    background: #be1e2d;
}
#logoutModal .box > button {
    font-size: 1.4rem;
    font-weight: 600;
    border-bottom: 1px solid #333;
}
#logoutModal .withdraw {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f4f4f4;
}
#logoutModal .withdraw p {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #acacac;
}
#logoutModal .withdraw p img {
    width: 1rem;
}
#logoutModal .withdraw button {
    font-size: 1.4rem;
    font-weight: 600;
    color: #7c7d7d;
}

#withdrawModal {
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    position: fixed;
    width: 100%;
    height: 100%;
    padding: 0 1.5rem;
    z-index: 8888;
    top: 0;
}
#withdrawModal .box {
    background: #fff;
    width: 100%;
    text-align: center;
    padding-top: 4rem;
}
#withdrawModal .box > h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #be1e2d;
}
#withdrawModal .box > p {
    font-size: 1.8rem;
    margin-bottom: 4rem;
    font-weight: 600;
}
#withdrawModal .box .buttonWrap {
    display: flex;
}
#withdrawModal .box .buttonWrap form {
    width: 50%;
}
#withdrawModal .box .buttonWrap form button {
    width: 100%;
    font-size: 1.8rem;
    font-weight: 600;
    color: #b0b0b0;
    background: #f2f2f2;
    padding: 2rem 0;
}
#withdrawModal .box .buttonWrap > button {
    width: 50%;
    font-size: 1.8rem;
    padding: 2rem 0;
    color: #fff;
    background: #be1e2d;
}

/* 홈영역 */
.homeinnerWrapper{
  padding: 1.5rem 1.5rem 14rem;
  background-color: #be1e2d;
  min-height: 100vh;
}
.backgroundcolorwrapper {
margin: 0;
padding: 0;
}
.homeHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #be1e2d;
  padding: 1.5rem;
  position: relative;
}
.homeHeader img {
width: 30%;
}
.homeHeader button img {
  width: 2rem;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}
.homeToptxt {
  width: 70%;
  padding-top: 5rem;
  margin-bottom: 5rem;
}
.sixBtn {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.sixBtn a {
  width: 48.5%;
  margin-bottom: 1rem;
}
/* content */
.touchMyBody {
  background-color: #f9f9f9;
  min-height: 100vh;
}
.innerWrapper {
  padding: 1.5rem;
  margin-bottom: 14rem;
}
.contentHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  position: relative;
}
.contentHeader button img {
  width: 2rem;
}
h1 {
  font-family: nanum;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.4;
  color: #c12b39;
}
h2 {
  font-family: nanum;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: #333;
}
h3 {
  font-family: nanum;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  color: #aa7c90;
}
pre {
  font-family: nanum;
  font-size: 1.6rem;
  line-height: 1.4;
  color: #b3adaf;
  margin-bottom: 2rem;
}
.content img {
  margin-bottom: 2rem;
}
.content2Nav a, .swiper-slide {
  font-family: nanum;
  padding: 1rem 1.5rem;
  border: 0.2rem solid #e9e9e9;
  border-radius: 10rem;
  font-size: 1.6rem;
  color: #c5c5c5;
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 2rem;
}
.content2Nav .on, .on {
  font-family: nanum;
  padding: 1rem 1.5rem;
  border: 0.2rem solid #eac8cf;
  background-color: #f5f0f5;
  border-radius: 10rem;
  font-size: 1.6rem;
  color: #bc1726;
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 2rem;
}
.swiper-slide {
  max-width: 10rem;
  text-align: center;
}
.swiper-wrapper .swiper-slide:first-child {
  max-width: 7rem;
}

.content3 {
  padding: 2rem 1rem;
  border-radius: 0.8rem;
  background-color: #f2f2f2;
}
.content3 pre {
  color: #9c9496;
  margin-bottom: 0;
}

/* faq영역 */
.qnaToggleBox {
  border-top: 0.1rem solid #dee1e5;
}
.qnaToggleBox:nth-child(0) {
  margin-top: 2rem;
}
.qnaToggleBox:last-child {
  margin-bottom: 3rem;
}


.qnaToggleBox h1 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}
.qnaToggleBox span {
  font-size: 1.6rem;
  font-weight: 600;
  color: #333;
}

.qnaToggleBox .content {
  border-top: 0.1rem solid #dee1e5;
  padding: 2rem;
  font-size: 1.6rem;
  line-height: 1.3;
  background-color: #f2f2f2;
  color: #969597;
  margin-bottom: 0;
}

.toggleButton {
  width: 100%;
  margin-right: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem 1.5rem 2rem;
}
.toggleButton img {
  width: 1.5rem;
  margin-left: 1rem;
}
.toggleColor {
  text-align: left; /* 텍스트를 왼쪽 정렬로 설정 */
  margin: 0; /* 기본 마진 제거 */
  padding: 0; /* 기본 패딩 제거 */
  line-height: 1.3;
}

/* header */
.navBackground {
  width: 100%;
  background-color: #000000a0;
  min-height: 100vh;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}
.navinnerWrapper {
  width: 70%;
  background-color: #f9f9f9;
  display: flex;
  justify-content: right;
  padding: 1.5rem;
  flex-direction: column;
  min-height: 100vh;
  position: fixed;
  right: 0;
  top: 0;
}
.navinnerWrapper .buttonWrap {
  display: flex;
  margin-top: 1.5rem;
}
.navinnerWrapper .buttonWrap button {
  font-size: 1.4rem;
  color: #b7b7b7;
  margin-right: 1rem;
  padding: 0 1rem 0 0;
  border-right: 1px solid #b7b7b7;
}
.navinnerWrapper .buttonWrap button:last-child {
  border: none;
}
.navinnerWrapper button {
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  position: relative;
}
.navinnerWrapper button img {
  width: 2rem;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
}
.navinnerWrapper ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  width: 100%;
  border-bottom: 0.1rem solid #f3f3f3;
}
.navinnerWrapper ul li a img {
  width: 1rem;
}
.navinnerWrapper ul li a span {
  display: block;
  font-family: nanum;
  font-weight: 700;
  font-size: 1.8rem;
  color:#847f80;
}
.navinnerWrapper ul li a span:hover {
  color: #be1c2b;
}