/* 공통스타일링 */
@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 영역 */
body {
  background-size: cover;
  position: relative;
  min-height: 100vh;
  background-color: #F0EEE9;
  }
  .indexText {
  width: 50%;
  margin: 0 auto;
  display: block;
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%); 
  }
  .indexImg {
  width: 90%;
  margin: 0 auto;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%); 
  bottom: 5%;
  }
  
  .indexBackgroundImage a img {
    width: 90%;
    display: block;
    margin: 0 auto;
    margin-bottom: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%); 
  }
  
  



/* 홈영역 */
.homeFirstImg {
  display: block;
  margin: 2rem 0;
}
.homeinnerWrapper{
  padding: 1.5rem;
}
.backgroundcolorwrapper {
margin: 0;
padding: 0;
}
.homeHeader {
display: flex;
align-items: center;
justify-content: center;
padding: 0.5rem;
}
.homeHeaderimg {
width: 15%;
}
.homeHeaderimg img {
width: 100%;
}
.homeTitle {
  font-size: 1.8rem;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 0.2rem solid #d9d5cc;
  color: #5d5957;
  display: flex;
  justify-content: space-between;
  font-weight: 600;

}
.homeTitle img {
  width: 6rem;
}
.threeBtn {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.threeBtn a {
  width: 32%;
}
.threeBtn a img {
  border-radius: 0.8rem;
  box-shadow: 2px 2px 5px #e6e4e0;
}
.swiper-slide .img_wrap img {
  height: 20rem;
  margin-bottom: 1rem;
  object-fit: contain;
}
.mySwiper {
  position: relative;
  overflow: hidden;
}
.swiper-button-prev::after, .swiper-button-next::after {
  position: absolute;
  color: #000;
  font-size: 1.5rem !important;
  top: -5px;
}
.title_wrap div {
  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 600;
  color: #5d5957;
}

/* content header font */
.innerWrapper {
  padding: 1.5rem;
}
.contentHeader {
  position: relative;
  padding: 0.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contentHeader .headerImg {
  display: block;
  margin: 0 auto;
  width: 15%;
}
.contentHeader button img {
  position: absolute;
  width: 12%;
  top: 0;
  left: 0;
}
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #512c00;
  margin-bottom: 2rem;
}
h2 {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.3;
  color: #46362a;
  margin-bottom: 2rem;
}
h3 {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.3;
  color: #776652;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
/* calculator */
select {
  width: 100%;
  padding: 1rem;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  background-color: #ede2cd;
  border: none;
  outline: none;
  background-image: url(../img/btn_down.png);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 4rem;
}
input[type='date'] {
  width: 100%;
  padding: 1rem;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  background-color: #ede2cd;
  border: none;
  outline: none;
}
.calBtns {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.calBtns button {
  width: 48%;
  padding: 1rem;
  font-size: 1.6rem;
  font-weight: 600;
  border-radius: 0.5rem;
}
.calBtns button:first-child {
  background-color: #7a6a56;
  color: #fff;
}
.calBtns button:last-child {
  background-color: #f8b500;
  color: #5b482d;
}
.calpre {
  color: #998c81;
  font-size: 1.3rem;
  line-height: 1.5;
}
/* result영역 */
.resultTitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  margin-bottom: 1rem;
}
.resultTitle .left {
  font-size: 1.6rem;
  color: #45413f;
}
.resultTitle .left .subText {
  font-size: 1.6rem;
  color: #979695;
}
.resultTitle .right {
  font-size: 2rem;
  font-weight: 700;
  color: #573200;
}
.likeInput {
  width: 100%;
  padding: 1rem;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  background-color: #ede2cd;
  border: none;
  outline: none;
  border-radius: 0.5rem;
}
.addResult {
  padding: 3rem 2rem;
  border-radius: 0.7rem;
  background-color: #f5ce65;
  display: flex;
  justify-content: space-between;
  margin-top: 5rem;
  margin-bottom: 5rem;
}
.addResult div {
  font-size: 2rem;
  font-weight: 700;
  color: #5c4a36;
}
.resultBody {
  position: relative;
  min-height: 100vh;
}
.reBtn {
  display: flex;
  justify-content: center;
  padding: 2rem;
  background-color: #7a6a56;
  position: absolute;
  width: 100%;
  bottom: 0;
}
.reBtn div {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-right: 1rem;
}
.reBtn img {
  width: 1rem;
}

/* content */
.innerWrapper {
  padding: 1.5rem;
}
pre {
  font-size: 1.6rem;
  line-height: 1.3;
  color: #4f4b49;
  margin-bottom: 2rem;
}
.bold {
  font-size: 1.6rem;
  line-height: 1.3;
  color: #4f4b49;
  margin-bottom: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.content img {
  margin-bottom: 2rem;
  margin-top: -1.5rem;
}
/* qna영역 */
.qnaBox {
  padding: 0 1.5rem;
  border: 0.2rem solid #dbdbdb;
  border-radius: 1rem;
  background-color: #fff;
}
.qnaToggleBox {
  border-bottom: 0.1rem solid #f3f3f3;
}

.qnaToggleBox h1 {
  font-size: 1.7rem;
  color: #7f6f5c;
  font-weight: 500;
}
.qnaToggleBox span {
  font-size: 1.7rem;
  font-weight: 600;
  color: #fa6d9e;
}

.qnaToggleBox .content {
  border-top: 0.2rem solid #dbdbdb;
  font-size: 1.6rem;
  line-height: 1.3;

  color: #757372;
  padding-top: 2rem;
}

.toggleButton {
  width: 100%;
  margin-right: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}
.toggleButton img {
  width: 1.5rem;
  margin-left: 1rem;
}
.toggleColor {
  text-align: left; /* 텍스트를 왼쪽 정렬로 설정 */
  margin: 0; /* 기본 마진 제거 */
  padding: 0; /* 기본 패딩 제거 */
  line-height: 1.3;
}

/* news영역 */
.contents_wrap li {
  padding: 2rem 1.5rem;
  border-radius: 0.5rem;
  border: 0.1rem solid #cccbc7;
  margin-bottom: 2rem;
  background-color: #fff;
}
.contents_wrap li .newsTitle {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  border-bottom: 0.1rem solid #e5e5e5;
  padding-bottom: 1rem;
  color: #2f2f2f;
}
.contents_wrap li .newscontent {
  font-size: 1.6rem;
  font-family: nanum;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: gray;
}
.moreFlex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.moreFlex p {
  font-size: 1.4rem;
  font-family: nanum;
  line-height: 1.3;
  color: gray;
}
.moreFlex img {
  width: 5rem;
  height: 1.5rem;
}

.box {
  padding: 2rem;
  border-bottom: 0.1rem solid #dcdad6;
}
.box h2 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 1000;
}
.box span {
  font-size: 1.4rem;
  font-family: nanum;
  line-height: 1.3;
  margin-bottom: 2rem;
  display: block;
}
.box pre {
  font-size: 1.6rem;
  font-family: nanum;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #757474;
}
.newsImg {
  width: 100%;
  margin-bottom: 3rem;
}
.newsSubBtn {
  padding: 2rem;
  width: 100%;
  display: block;
  background-color: #7a6a56;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  border-radius: 1rem;
  color: #fff;
  font-size: 1.6rem;
  margin-right: 2rem;
  font-weight: 600;
}

