@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;700&display=swap');

body {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif KR', serif;
  margin: 0;
  padding: 0;
  height: 100vh;
}

p, span, h1 {margin: 0; padding: 0}

.wrap {
  display: flex;
  width: 100%;
  max-width: 1000px;
  height: 562px
}

.photo {
  position: relative;
  background-image: url(../inc/left_bg.jpg);
  width: calc(100% - 400px);
  padding: 25px 35px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.photo img {
  width: 100%;
}

.photo::after {
  content: '';
  background: url(../inc/pattern.png) no-repeat bottom center;
  background-size: contain;
  position: absolute;
  display: block;
  width: 100%;
  height: 200px;
  bottom: 0;
  left: 0;
}

.photo .slider {
  width: 100%;
  z-index: 1;
}

.photo img {
  width: 100%;
  height: 100%;
}

.info {
  position: relative;
  width: 400px;
  background-image: url(../inc/right_bg.jpg);
  padding: 0 50px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.info::before, .info::after {
    content: '';
    background: url(../inc/frame.svg) no-repeat bottom center;
    position: absolute;
    display: block;
    width: 80px;
    height: 80px;
}

.info::before {bottom: 4%; left: 4%; transform: rotate(180deg);}
.info::after {top: 4%; right: 4%;}

.info .inner {width: 100%}

.info .title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-direction: column;
  border-bottom: 1px solid #363636;
  margin-bottom: 0.8em;
  padding-bottom: 0.8em;
}

.info h1 {
  font-size: 1.45em;
  font-weight: 800;
  color: #000;
  }

.info address {
  font-size: 0.85em;
  line-height: 1.3em;
  color: #151515;
  padding-top: 0.3em;
  font-weight: 700;
  font-style: inherit;
  position: relative;
  padding-left: 20px;
}

.info address::after {
  content: '';
  background: url(../inc/map.svg) no-repeat bottom center;
  position: absolute;
  display: block;
  width: 13px;
  height: 13px;
  top: 6px;
  left: 3px;
}

.info ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-block-start: 0;
  padding-inline-start: 0;
}

.info ul li {
  width: 46%;
  justify-content: space-between;
  font-size: 0.8em;
  display: flex;
  color: #000;
  list-style: none;
  border-bottom: 1px dotted #b7b7b7;
      padding: 0.5em 0;
}

.info ul li span {
  font-size: 0.7em;
}

.info ul li p {
  letter-spacing: -0.02em;
}

.info article {
  color: #2B2B2B;
  font-size: 0.75em;
  margin-top: 1em;
  min-height: 250px;
}

.info article p {
  text-align: justify;
  padding-left: 0.5em;
}

.info article p:not(:last-child) {
  margin-bottom: 0.8em;
}

.info article p::before {
  color: #784c1d;
  content: '·';
  margin-left: -7px;
  padding-right: 3px;
}


@media all and (max-width:768px) {
  body {
    height: inherit;
  }
  .wrap {
      flex-direction: column;
      align-items: center;
  }
  .photo, .info {
    width: 100%;
    max-width: 500px;
  }
  .info {
    padding-top: 2em;
    padding-bottom: 2em;
  }
  .info article {
    min-height: auto;
    padding-bottom: 1em;
  }
}


@media all and (max-width:425px) {
  .info h1 {
    font-size: 1.3em;
  }
  .info address {
    font-size: 0.8em;
  }
  .info article{
    font-size: 0.7em;
  }
  .info ul li {
    font-size: 0.7em;
  }
}
