/* ********** common ********** */

* {
  letter-spacing: 0;
  font-family: 'GmarketSansMedium';
}

a, a:hover {
  color: initial;
  text-decoration: inherit;
}

textarea:focus, input:focus {
  outline: none;
}

ul, li {
  list-style: none;
}

hr {
  opacity: 1;
}

input, textarea {
  /*appearance: none;*/
  /*-webkit-appearance: none;*/
  -webkit-border-radius: 0;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
}

select::-ms-expand {
  display: none;
}

/* ********** header ********** */

.div-header {
  height: 100px;
  border-bottom: solid 1px #ebebeb;
  background: #fff;
  padding-bottom: 15px;
  padding-top: 20px;
}

.div-header > div > a {
  font-size: large;
  font-weight: bold;
  padding: 0 15px;
  color: #212121;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.div-header > a {
  padding: 0 15px;
  color: #212121;
  float: right;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

@media (min-width: 772px) {
  .div-header > div {
    display: inline-block;
  }
}

@media (max-width: 772px) {
  .div-header > div {
    display: none;
  }
}

/* ********** footer ********** */

.page-footer {
  padding: 0;
  border-top: solid 1px #ebebeb;
  background: #303030;
}

.page-footer div:nth-child(1) > a, .page-footer div:nth-child(1) > a:hover {
  padding: 20px;
  color: #ccc;
  font-size: small;
}

.page-footer div:nth-child(2) > div > div > img {
  object-fit: scale-down;
  height: 100%;
  max-width: 100px;
}

.page-footer div:nth-child(2) > div > div > p {
  color: #636363;
  font-size: x-small;
  padding: 20px 0 10px 0;
}

/* ********** slide ********** */

.slide > ul > li > a {
  color: #212121;
  display: block;
  padding: 10px;
}

.slide {
  height: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: #fff;
  overflow-x: hidden;
  transition: 0.3s;
  border-left: solid 1px #eee;
}

/*
.slide a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}
*/

/*
.slide .closeBtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}
*/
@media screen and (max-height: 450px) {
  .slide {
    padding-top: 15px;
  }
}

@media screen and (max-height: 450px) {
  .slide a {
    font-size: 18px;
  }
}

/* ********** index - category ********** */

.a-category {
  border: 1px solid #e1e1e1;
  height: 45px;
  text-align: center;
  line-height: 45px;
  flex: 0 0 auto;
  display: inline-block;
  background-color: #f8f8f8;
  font-size: smaller;
}

.a-category-gf {
  height: 45px;
  text-align: center;
  line-height: 45px;
  flex: 0 0 auto;
  display: inline-block;
  font-size: smaller;
}

@media (min-width: 440px) {
  .a-category {
    width: calc(33.33% - 3px);
  }
}

@media (max-width: 440px) {
  .a-category {
    width: calc(50% - 3px);
  }
}

@media (min-width: 992px) {
  .a-category {
    width: calc(16.66% - 4px);
    margin-bottom: 5px;
  }
}

.a-category-gf {
  width: 25%;
}

@media (max-width: 420px) {
  .a-category-gf {
    font-size: 3vw;
  }
}

.a-category-active, .a-category-active:hover {
  background-color: #b73732;
  color: #fff;
  font-weight: bold;
}

.a-category-active-ut, .a-category-active-ut:hover {
  background-color: #5e16a9;
  color: #fff;
  font-weight: bold;
}

.a-category-gf-active, .a-category-gf-active:hover {
  color: #3a6499;
  font-weight: bold;
  border-bottom: solid 2px #3a6499;
}

/* ********** index - banner ********** */

@media (max-width: 992px) {
  .item-column-gf {
    text-align: center;
    width: 50%;
    flex: 0 0 auto;
    padding: 0 10px;
  }
}

@media (max-width: 992px) {
  .item-column {
    text-align: center;
    width: 33.33%;
    flex: 0 0 auto;
    padding: 0 10px;
  }
}

@media (min-width: 992px) {
  .item-column {
    text-align: center;
    width: 20%;
    flex: 0 0 auto;
    padding: 0 10px;
  }
}

@media (min-width: 992px) {
  .item-column-gf {
    text-align: center;
    width: 33.33%;
    flex: 0 0 auto;
    padding: 0 10px;
  }
}

.item-column > a > img {
  width: 100%;
  border: solid 1px #ebebeb;
  border-bottom: none;
}

.item-column-gf > a > img {
  width: 100%;
  border-radius: 15px;
}

.item-column > a > p {
  font-size: calc(0.5rem + 0.5vw);
  color: #111111;
  border: solid 1px #ebebeb;
}

.item-column-gf > a > p {
  font-size: calc(0.5rem + 0.5vw);
  color: #111111;
  text-align: left;
  padding: 5px 0 0 0;
}

/* ********** join ********** */

.sns-span {
  font-size: small;
  color: #555555;
  line-height: 1.1;
  display: block;
  margin-top: 10px;
}

.sns-item {
  display: inline-block;
  padding: 10px 10px 20px 10px;
}

.join-input {
  width: 100%;
  height: 43px;
  background: #fff;
  box-sizing: border-box;
  padding-left: 10px;
  border: 1px solid #dddddd;
  border-radius: 0;
  -webkit-appearance: none;
}

.join-active {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  text-align: center;
  font-weight: bolder;
  box-sizing: border-box;
  height: 100%;
  line-height: 48px;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-bottom: thin solid #fff;
  color: #ef2a23;
  text-decoration: none;
}

.join-active:hover {
  color: #ef2a23;
}

.join-inactive {
  cursor: pointer;
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 50px;
  border: thin solid #d6d6d6;
  background: #f5f5f5;
  line-height: 48px;
  text-align: center;
  font-weight: bold;
  color: #777;
  box-sizing: border-box;
  text-decoration: none;
}

.join-inactive:hover {
  color: #777;
}

.checkbox {
  width: 1rem;
  height: 1rem;
  padding: 9px !important;
  border: 1px solid #999;
  appearance: none;
  cursor: pointer;
  transition: background 0.2s;
  margin: 6px 0 0 0;
}

.checkbox:checked {
  background: url("../../assets/img/fortune/service/join_check.png");
}

.form-label {
  font-size: small;
  cursor: pointer;
  margin: -10px 0 0 10px;
  vertical-align: middle;
}

/* ********** inform ********** */

.column-inform {
  display: block;
  min-width: 70px;
  width: 70px;
  background: #ededed;
  color: #555;
  height: 36px;
  line-height: 2.6;
  font-weight: 400;
  font-size: 13px;
}

.column-inform-half {
  min-width: 36px;
  width: 36px;
  background: #ededed;
  color: #555;
  height: 36px;
  line-height: 2.6;
  font-weight: 400;
  font-size: 13px;
}

.column-inform-name {
 width: 100%;
 display: block;
 padding: 10px;
 height: 36px;
 font-size: 13px;
 min-width: 70px;
 border: none;
 border-left: solid 1px #bbbbbb;
 padding-left: 10%;
}

.select-inform {
  width: 100%;
  display: block;
  padding: 10px;
  height: 36px;
  min-width: 70px;
  border: none;
  border-left: solid 1px #bbbbbb;
  border-right: solid 1px #bbbbbb;
  border-radius: 0;
  background: #fff;
  font-size: small;
  text-align: center;
}

.btn-submit {
  border: none;
  background: #b73732;
  border-radius: 0;
  height: 45px;
  width: 70%;
  margin: 20px auto;
  display: block;
  min-width: 270px;
  max-width: 400px;
}

/* ********** f220 ********** */

.main-f220 > div > div > div {
  margin-top: 30px;
}

.main-f220 > div > div > div > div {
  margin: 10px 0;
}

@media (min-width: 772px) {
  .main-f220 > div > div > div > div > div:nth-child(1) {
    flex: 0 0 auto;
    width: 30%;
  }
}

.main-f220 > div > div > div > div > div:nth-child(1) > img {
  border: solid 1px #bbb;
  border-bottom: none;
  max-width: 100px;
  width: 100%;
  height: 110px;
  object-fit: scale-down;
}

.main-f220 > div > div > div > div > div:nth-child(1) > p {
  font-size: small;
  border: solid 1px #bbb;
  max-width: 100px;
  width: 100%;
  margin: auto;
}

@media (min-width: 772px) {
  .main-f220 > div > div > div > div > div:nth-child(2) {
    flex: 0 0 auto;
    width: 70%;
  }
}

@media (max-width: 772px) {
  .main-f220 > div > div > div > div > div:nth-child(2) > * {
    justify-content: center;
  }
}

.main-f220 > div > div > div > div > div:nth-child(2) > h1 {
  margin: 7px 0;
  font-size: large;
  text-align: left;
  display: flex;
}

.main-f220 > div > div > div > div > div:nth-child(2) > span {
  line-height: 2;
  text-align: initial;
  font-size: small;
  display: flex;
}

tr {
  border: solid 1px #bbb;
  width: 100px;
  vertical-align: middle;
}

td > img {
  padding: 10px;
}

.span-saju {
  font-size: small;
  background: #eee;
  line-height: initial;
  padding: 10px;
  display: inline-block;
  vertical-align: inherit;
}

tr > td:not(:first-child) {
  border-left: solid 1px #bbb;
}

tr > td:first-child {
  background-color: #eee;
  width: 100px;
}

td {
  vertical-align: middle !important;
}

.span-oheng {
  border: solid 1px #aaa;
  width: 50vw;
  display: block;
  height: 30px;
}

.img-sb {
  display: block;
}

.container-result {
    word-break: keep-all;
    padding: 5%;
    line-height: 2rem;
}

.container-result-20-80 {
    word-break: keep-all;
    padding: 5%;
    line-height: 2rem;
}

@media (min-width: 772px) {
  .container-result-20-80 > div > div:nth-child(1) {
    flex: 0 0 20%;
  }
}

@media (min-width: 772px) {
  .container-result-20-80 > div > div:nth-child(2) {
    flex: 0 0 80%;
    max-width: 80%;
  }
}

@media (min-width: 772px) {
  .container-result-20-80 > div > div:nth-child(1) > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

@media (max-width: 772px) {
  .container-result-20-80 > div > div:nth-child(1) > img {
    width: 200px;
  }
}

.container-result-20-80 > div > div:nth-child(2) > span {
  padding: 10px;
  display: block;
  text-align: justify;
}

.container-result-20-80 > div:not(:first-child) {
  margin-top: 30px;
}

.p-title-result {
    text-align: center;
    font-size: large;
    font-weight: bold;
}

.span-data-result {
    line-height: initial;
}

.lotto-column {
  text-align: center;
  flex: 0 0 auto;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .lotto-column {
    width: 33.3%;
  }
}

@media (min-width: 768px) {
  .lotto-column {
    width: 16.6%;
  }
}

.lotto-column > div {
  width: 100%;
  text-align: center;
}

.lotto-column > div > input {
  margin-top: 40px;
}

.lotto-column > div > label > span {
  margin: 25px auto;
  width: 50px;
  height: 50px;
  display: block;
  text-align: center;
  border-radius: 25px;
  line-height: 50px;
  color: #fff;
  font-weight: bold;
}

.a-logo {
    padding: 0;
    float: left !important;
    margin: 0 0 0 5%;
}

.a-logo > img {
    width: 200px;
    max-width: 40vw;
    object-fit: scale-down;
    margin-top: -10px;
}

.row-inform > div:nth-child(odd) {
  margin: 5px 0;
}

.row-inform > div {
  display: table;
  padding: 0;
  border: solid 1px #bbbbbb;
}

.row-inform > div > span {
  vertical-align: middle;
  display: table-cell;
  width: 70px;
  min-width: 70px;
  background: #ededed;
  color: #555;
  height: 36px;
  font-weight: 400;
  font-size: 13px;
  border-right: solid 1px #bbbbbb;
  text-align: center;
  line-height: 36px;
}

.div-row-checkbox {
  display: flex;
  width: 100%;
  padding-left: 10%;
  text-align: left;
}

.div-row-checkbox > div {
  width: 45%;
}

/* ********** tf ********** */

@media (max-width: 992px) {
  .item-column-tf {
    text-align: center;
    /*width: 50%;*/
    flex: 0 0 auto;
    padding: 0 10px;
  }
}

@media (min-width: 992px) {
  .item-column-tf {
    text-align: center;
    flex: 0 0 auto;
  }
}

.item-column-tf > a > img {
  width: 100%;
}

.item-column-tf > a > p {
  /*font-size: calc(0.5rem + 0.5vw);*/
  color: #111111;
  text-align: left;
  padding: 5px 0 0 15px;
  margin-bottom: 30px;
}

.a-category-tf {
  border: solid 1px #ccc;
  color: #ccc;
  border-radius: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  /*flex: 0 0 auto;*/
  display: inline-block;
  font-size: smaller;
  font-weight: bolder;
  width: 100px;
  min-width: 100px;
  margin-left: 10px;
}

.a-category-tf {
  /*width: 25%;*/
}

.a-category-tf-active, .a-category-tf-active:hover {
  color: #000;
  border: solid 1px #000;
}

@media (max-width: 420px) {
  .a-category-tf {
    /*font-size: 3vw;*/
  }
}