* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 16px;
  text-align: center;
  overflow-x: hidden;
  background: #FDF3E0;
}

img {
  vertical-align: bottom;
  width: 100%;
}

.container {
  max-width: 1280px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  background: #fff;
}

header {
  position: relative;
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
}

header img {
  position: absolute;
}

header .logo {
  width: 16%;
  left: 1%;
  top: 10px;
}

header .h_text {
  width: 40%;
  right: 1%;
  top: 14px;
}

header .twitter {
  width: 5%;
  top: 12px;
  right: 40%;
}

header .facebook {
  width: 5%;
  top: 10px;
  right: 45%;
}

.pat {
  position: relative;
}

.pat .side_scroll {
  overflow: hidden;
  width: 80%;
}

.pat .side_scroll img {
  height: 100%;
  width: auto;
  padding-bottom: 10px;
}

.pat .pat_table1 {
  position: absolute;
  height: 17%;
  top: 35%;
  left: 10%;
}

.pat .pat_table1 .side_scroll_inner {
  overflow-x: scroll;
  width: 100%;
  height: calc(100%);
}

.pat .pat_table2 {
  position: absolute;
  height: 20%;
  top: 64%;
  left: 10%;
}

.pat .pat_table2 .side_scroll_inner {
  overflow-x: scroll;
  width: 100%;
  height: calc(100%);
}

.rule {
  background: #EBD2A0;
}

.rule .r_contents {
  padding: 50px 0;
}

.rule .r_contents .scroll_wrap {
  border-radius: 20px;
  padding: 15px 10px;
  border: 1px solid #370000;
  margin: 0 auto;
  width: 90%;
  background: #fff;
  height: 570px;
}

.rule .r_contents .scroll_box {
  height: 100%;
  overflow-y: scroll;
  position: relative;
  text-align: left;
  padding-left: 15px;
  padding-right: 30px;
}

.rule .r_contents .scroll_box p {
  font-size: 14px;
  line-height: 1.5;
  font-family: sans-serif;
}

.rule .r_contents .scroll_box .bold {
  font-size: 16px;
  font-weight: bold;
  color: #370000;
}

.rule .r_contents .scroll_box a {
  color: #370000;
}

.ps__rail-x, .ps__thumb-x {
  display: none;
}

.ps__rail-x, .ps:hover > .ps__rail-y, .ps--focus > .ps__rail-x, .ps--focus > .ps__rail-y, .ps--scrolling-x > .ps__rail-x, .ps--scrolling-y > .ps__rail-y {
  opacity: 1;
}

.ps--active-y > .ps__rail-y, .ps--active-y > .ps__rail-y > .ps__thumb-y {
  width: 14px;
  border-radius: 5px;
  opacity: 1;
  margin-right: 5px;
}

.ps--active-y > .ps__rail-y {
  background-color: #FDF3E0;
}

.ps--active-y > .ps__rail-y > .ps__thumb-y {
  left: 0px;
  background-color: #370000;
}

.mb-1e {
  margin-bottom: 1em;
}

footer {
  padding-bottom: 15px;
}

footer p {
  font-size: 12px;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
}

.bigimg {
  width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.bigimg img {
  width: 100%;
}

.close-btn {
  position: absolute;
  right: 2%;
  top: 2%;
  width: 8%;
  height: 8%;
  color: black;
}

.close-btn:hover {
  cursor: pointer !important;
}

/* ---------------------------------------- */
/*  slider-modal                            */
/* ---------------------------------------- */
.swiper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
}

.swiper .swiper-wrapper {
  width: 100%;
}

.swiper .slide_inner {
  width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.swiper img {
  width: 100%;
}

.swiper .close-btn {
  position: absolute;
  top: 1%;
  right: 2%;
  width: 8%;
  height: 8%;
  color: black;
}

.swiper .close-btn:hover {
  cursor: pointer !important;
}

.swiper-button-next,
.swiper-button-prev {
  --swiper-navigation-color: rgba(255, 255, 255, 0.904);
}
