@charset "utf-8";
/* ===============================
variable name
=============================== */
:root{
  --khaki: #bea16f;
  --ltgray: #CCCACA;
  --gray: #707070;
  --green: #8fc31f;
  --white: #fff;
}
/* ===============================
common setting
=============================== */
a{
  text-decoration: none;
}
a:hover{
  transition: all 0.2s ease;
}
.img{
  max-width: 100%;
  height: auto;
}
#main{
  margin-bottom: 100px;
}
.news_h2,.tab_item{
  font-family: "Poppins",sans-serif;
}
/* clearfix */
.news_item:after,
.tab_container:after{
  content:"";
  display: block;
  clear:both;
}
.news_h2{
  font-size: 30px;
  color: var(--khaki);
  font-weight: 700;
  width: 70px;
  /* padding-bottom: 16px; */
  position: relative;
  margin: 250px auto  0;
}
.news_h2::after{
  content: "";
  width: 67px;
  height: 6px;
  background: var(--khaki);
  position: absolute;
  bottom: -16px;
  left: 10px;
}
/* tab_container */
.tab_container {
  width: 968px;
  margin: 48px auto 0; 
}
.tab_item {
  width: 144px;
  padding:12px 0;
  background-color: var(--white);
  color: var(--gray);
  border: 1px solid var(--gray);
  border-radius: 10px;
  text-align: center;
  font-size: 16px;
  display: block;
  float: left;
  font-weight: 500;
  letter-spacing: 2px;
  margin-right: 18px;
  position: relative;
  left:18%;
}
.tab_item:hover {
  opacity: 0.5;
}
  input[name="tab_item"] {
  display: none;
}
.tab_content {
  margin: 0 auto;
  display: none;
  clear: both;
  /* overflow: hidden; */
  padding: 20px 0 25px;
}
  #all:checked ~ #all_content,
  #ticket:checked ~ #ticket_content,
  #gift:checked ~ #gift_content,
  #payment:checked ~ #payment_content {
  display: block;
}
.tab_container input:checked + .tab_item {
  background-color: var(--green);
  color: var(--white);
  border: none;
}
.news{
  list-style: none;
}
.news_item{
  padding: 20px 0;
  border-bottom: 1px solid var(--ltgray);
}
.news_item:first-child{
  border-top: 1px solid var(--ltgray);
}
.news_item:hover{
  opacity: 0.7;
}
.news img{
  float: left;
  width: 20%;
  height: auto;
}
.news_content{
  float: right;
  width: 77%;
}
.time_icon{
  display: flex;
  margin-bottom: 15px;
}
.time{
  margin-right: 13px;
  font-size: 15px;
  padding-top: 8px;
}
.icon{
  font-size: 10px;
  color: var(--green);
  border: 1px solid var(--green);
  width: 80px;
  border-radius: 20px;
  letter-spacing: 1px;
  padding: 5px 0;
  text-align: center;
  font-weight: bold;
}
.news_text{
  font-size: 17px;
}
/* pagination */
.pagination{
  display: flex;
  justify-content: center;
} 
.pagination_list{
  width: 136px;
  display: flex;
  justify-content: space-between;
  list-style: none;
}
.pagination_list_item:hover{
  opacity: 0.5;
}
.page-numbers_current,.page-numbers{
  padding: 10px 15px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 10px;
}
.page-numbers_current{
  background: var(--gray);
  color: var(--white);
}
.page-numbers{
  background: var(--white);
  color: var(--gray);
  border: 1px solid var(--gray);
}
@media screen and (max-width: 1124px) {
  .tab_container {
    width: 98%;
  }
}
@media screen and (max-width: 768px) {
  #main{
    margin-bottom: 0;
  }
/* tab_container */
  .tab_container {
    width: 100%;
    margin: 30px auto  0;
  } 
  .news_h2{
    width: 64px;
    font-size: 22px;
    padding-bottom: 14px;
    margin: 87px auto  0;
  }
  .news_h2::after{
    width: 50px;
    bottom: -2px;
    left: 6px;
  }
  .tab_content {
    padding: 36px 0 0px;
  }
  .tab_item{
    width: 43%;
    font-size: 14px;
    left: 5%;
    padding: 10px 0;
    box-sizing: border-box;
  }
  .tab_item:nth-of-type(1) {
  margin-bottom: 10px;
  } 
  .tab_item:nth-of-type(2) {
  margin: 0px 18px 10px 0;
  }
  .tab_item:nth-of-type(3) {
  clear: both;
  }
  .news{
    margin: 0 20px;
  }
  .news_item{
    padding: 28px 0;
  }
  .news img{
    width: 30%;
    min-width: 120px;
  }
  .news_content{
    width: 60%;
  }
  .news_text{
    font-size: 15px;
  }
  .time{
    font-size: 13px;
  }
  .icon{
    font-size: 11px;
    color: var(--green);
    padding: 2px 0;
    width: 90px;
  }
  .page-numbers_current{
    padding: 10px 15px;
    font-size: 13px;
  }
  .page-numbers{
    padding: 10px 15px;
    font-size: 13px;
  }
  /* pagination */
  .pagination{
    margin-bottom: 4px;
  } 
}
