:root {
  --color-primary: #1a1612;
  --primary-color: #0fa070;
  --color-gold-light: #d4b87a;
  --color-gold-dim: rgba(184, 154, 90, 0.18);
  --color-cream: #f5f0e8;
  --color-muted: #8f877d;
  --color-border: rgba(184, 154, 90, 0.22);

  --header-background: rgba(26, 22, 18, 0.96);
  --header-height: 72px;

  --footer-background: #100e0b;
  --footer-text-color: rgba(230, 230, 230, 0.65);


  --border-radius: 4px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --padding-x: clamp(1.25rem, 5vw, 2.5rem);
}
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
    background: #fff;
  padding: 0;
  margin: 0;
}
body {
  font-family: 'pretendard';
  color: var(--color-primary);
  background: #fff;
  padding: 0;
  font-size: 15px;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--padding-x);
}

dl,
ul,
ol,
menu,
li {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

input,
select,
textarea,
button {
  border-radius: 0;
  vertical-align: middle;
}

input::-ms-clear {
  display: none;
}

button {
  border: 0 none;
  background-color: transparent;
  cursor: pointer;
}

body {
  -webkit-text-size-adjust: none;
}

body,
input,
select,
textarea,
button {
  font-size: 16px;
  letter-spacing: -1px;
  line-height: 1.5;
  font-family: "Pretendard";
  color: #222;
}

a {
  color: inherit;
  text-decoration: none;
}

a:active {
  background-color: transparent;
}

address,
caption,
cite,
code,
dfn,
em,
var {
  font-style: normal;
  font-weight: normal;
}

.clearfix {
  zoom: 1;
  /* ie 6,7 */
}

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

body,
html {
  width: 100%;
  height: 100%;
}

.h2 {
  margin-bottom: 10px;
}

/****************************** 갤러리 box 시작 ******************************/
.gall_list {
  margin: 0 -10px;
  overflow: hidden;
}

.gall_list .gall_item {
  float: left;
  width: 33.333%;
  padding: 0 10px;
}

.gall_list .gall_item a {
  display: block;
  overflow: hidden;
}

.gall_list .gall_item a img {
  /* transition: all 1.2s;
  transform: scale(1); */
  width: 100%;
}

/* .gall_list .gall_item a:hover img {
  transform: scale(1.085);
} */
.gall_list.detail_type .gall_item a {
  position: relative;
}

.gall_list.detail_type .gall_desc {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  /* justify-content: center; */
  align-items: center;
}

.gall_list.detail_type .gall_desc_wrap {
  display: block;
  padding-left: 30px;
  /* text-align: center; */
}

.gall_list.detail_type .gall_desc_wrap h2 {
  font-size: 26px;
  font-weight: 500;
  color: #fff;
}

.gall_list.detail_type .gall_desc_wrap p {
  font-size: 16px;
  color: #fff;
}

/****************************** 갤러리 box 끝 ******************************/

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width: 1024px) {
  .gall_list .gall_item {
    padding: 5px;
  }

  .gall_list.detail_type .gall_desc_wrap {
    padding-left: 10px;
  }

  .gall_list.detail_type .gall_desc_wrap h2 {
    font-size: 18px;
  }

  .gall_list.detail_type .gall_desc_wrap p {
    font-size: 14px;
  }
}

/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/
@media (max-width: 768px) {
  .gall_list {
    padding-bottom: 20px;
  }

  .gall_list .gall_item {
    width: 100%;
    float: left;
    padding: 5px;
  }

  .gall_list.detail_type .gall_desc_wrap h2 {
    font-size: 16px;
  }

  .gall_list.detail_type .gall_desc_wrap p {
    font-size: 14px;
  }

  body {
    background-size: 105%;
  }
}
