@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

* {
  box-sizing: border-box;
  position: relative;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: "Pretendard", sans-serif;
  word-break: keep-all;
}

a, a:link, a:visited {
  color: #BC8F8F;
  text-decoration: none;
}

h1 {
  font-family: "times", serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: #000000;
  margin: 0;
  text-align: center;
}

h2 {
  font-family: "times", serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: #BC8F8F;
  margin: 0;
  text-align: center;
}

.header_wrap {
  width: 100vw;
  display: flex;
  position: fixed;
  justify-content: space-between;
  height: 5vh;
  background-color: #000000;
  list-style-type: none;
  text-align: center;
  z-index: 999;
}

.header_wrap li {
  display: inline-block;
  font-size: 1.2rem;
  line-height: 5vh;
  padding-left: 1vw;
}

.figure { 
  width: 100%; 
  margin: 0 auto; 
  text-align: center; 
}

.figure img { 
  max-width: 100%;
}

figcaption {
  font-family: "Pretendard", sans-serif;
  font-size: 1em;
  text-align: center;
}

.background {
  display: flex;
  justify-content: space-between;
  justify-content: center;
  width: 100%;
  height: 100vh;
  position: absolute;
}

.background img { 
  max-width: 100%; 
}

.main {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.contents {
  max-width: 980px;
  margin: 10vh auto;
  padding: 0 1rem;
}

.contents p {
  font-size: 1.7rem;
  line-height: 1.7em;
  padding-bottom: 0;
}

.contents p span {
  font-family: "times";
  font-size: 1em;
}


.column {
  float: left;
  width: 20%;
  padding: 5px;
}

/* Clearfix (clear floats) */
.row::after {
  content: "";
  clear: both;
  display: table;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 500px) {
  .column {
    width: 100%;
  }
}

table {
  font-size: 1.4rem;
  line-height: 1.4em;
  background: #fff;
  border-top: 2px solid #000000;
  border-bottom: 2px solid #000000;
  border-collapse: collapse;
  width: 100%;
}

table tr, table td, table th {
  border: 1px solid #E2E2E2;
  border-left: none;
  border-right: none;
}

table td, table th {
  padding: 0.3em 0 0.3em;
}

table td:nth-child(2) {
  font-weight: 600;
}

@media screen and (max-width: 1024px) {
  .contents p {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 768px) {
  .figure {
    width: 100%;
    padding: 0rem;
  }
  .figure img {
    width: 100%;
  }
  .background {
    padding: 0;
  }
  figcaption {
    font-family: "Pretendard", sans-serif;
    font-size: 1em;
    text-align: left;
    padding: 0 1rem;
  }
  table {
    font-size: 1.2rem;
    letter-spacing: 0.2px;
    line-height: 1.4em;
  }
  table td, table th {
    padding: 0.4em 0 0.3em;
  }
}

@media screen and (max-width: 450px) {
  .contents p {
    font-size: 1.2rem;
  }
}


@media screen and (max-width: 350px) {
  .contents p {
    font-size: 1.1rem;
  }
}