@import url("root.css");
/***************************************
-------------- ITEM DETAIL --------------
***************************************/
#items_detail .items_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 30px;
}

#items_detail .items_ttl_img {
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
}

#items_detail .subtitle {
  width: 100%;
}

#items_detail .subtitle p:first-child {
  text-align: center;
}

#items_detail .subtitle p:first-child span {
  color: #f00;
  font-size: 2.4rem;
  font-weight: bold;
}

#items_detail .subtitle .ttl {
  font-size: 2.4rem;
  font-weight: bold;
}

#items_detail .result_wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 2%;
  width: 100%;
}

#items_detail .result_img img {
  width: 100%;
}

#items_detail .result_txt .date {
  font-size: 1.4rem;
  line-height: 1;
  margin: 5px auto;
}

#items_detail .result_txt .date:before {
  content: "";
  display: inline-block;
  background-image: url(../img/cal_bk.svg);
  background-repeat: no-repeat;
  background-position: center left;
  background-size: contain;
  width: 12px;
  height: 12px;
  margin-right: 5px;
}

#items_detail .result_txt .category {
  width: 100%;
  font-size: 1.6rem;
  color: #fff;
  background: var(--base-color01);
  margin-bottom: 5px;
  padding: 5px;
  line-height: 1;
  text-align: center;
}

#items_detail .result_txt .text {
  font-size: 1.6rem;
  height: 5.1em;
  text-align: justify;
  overflow-y: scroll;
  padding-right: 5px;
}

/* =======================
  PC
======================== */
/* =======================
  TABLET
======================== */
@media screen and (max-width: 1199px) {
  #items_detail .result_wrap {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 599px) {
  #items_detail .items_ttl_img {
    width: 100%;
  }
  #items_detail .subtitle {
    width: 100%;
  }
  #items_detail .result_wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* =======================
  SP
======================== */
.items_wrap .row.imgbox {
  margin-top: 20px;
  margin-bottom: 30px;
}

.items_wrap .row.imgbox .col-3 {
  border: 3px solid #e9ba3f;
}

.tips_wrap {
  width: 100%;
  padding: 20px 30px;
  background: #fffee5;
  border: 3px double #333333;
}

.tips_wrap li {
  margin-left: 20px;
}

.tips_wrap li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #333333;
  margin-right: 10px;
  margin-left: -20px;
}

.item_table {
  margin-bottom: 100px;
}

@media (max-width: 599px) {
  .item_table {
    margin-bottom: 50px;
  }
}
.item_table table {
  width: 100%;
  border-collapse: collapse;
}

.item_table table th {
  background: #b88501;
  color: #fff;
  font-weight: normal;
  text-align: left;
  padding: 5px 15px;
  border: solid 1px #b88501;
  box-sizing: border-box;
}

.item_table table td {
  background: #fff;
  padding: 10px 15px;
  border: solid 1px #b88501;
  box-sizing: border-box;
}

.flexbox.resultflex {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 50px;
}
@media (max-width: 767px) {
  .flexbox.resultflex {
    gap: 16px;
    margin-top: 30px;
  }
}
.flexbox.resultflex .box {
  width: calc(25% - 30px);
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(51, 51, 51, 0.0666666667);
}
@media (max-width: 767px) {
  .flexbox.resultflex .box {
    width: calc(50% - 8px);
  }
}
.flexbox.resultflex .box .imgbox {
  text-align: center;
}
.flexbox.resultflex .box .imgbox img {
  border-radius: 8px 8px 0 0;
}
.flexbox.resultflex .box .imgbox .cat {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-top: -1.8rem;
  display: block;
  padding: 2px 0 4px 0;
  width: 200px;
  max-width: 90%;
  background: var(--base-color04);
  border-radius: 100px;
  color: white;
  font-weight: bold;
  font-size: clamp(14px, 1.5vw, 18px);
}
.flexbox.resultflex .box .textbox {
  margin-top: 10px;
  padding: 15px;
  padding-top: 0;
}
@media (max-width: 767px) {
  .flexbox.resultflex .box .textbox {
    margin-top: 5px;
    padding: 10px;
    padding-top: 0;
  }
}
.flexbox.resultflex .box .textbox .ttl1 {
  border-bottom: 1px solid var(--base-color04);
  font-weight: bold;
  font-size: clamp(16px, 1.8vw, 18px);
  padding-bottom: 5px;
}
.flexbox.resultflex .box .textbox .date {
  text-align: right;
  font-weight: 500;
  color: var(--base-color04);
  margin: 0;
  margin-top: 10px;
}
.flexbox.resultflex .box .textbox .txt1 {
  font-size: clamp(16px, 1.5vw, 18px);
  margin: 0;
  margin-top: 10px;
  max-height: 150px;
  overflow-y: scroll;
}
@media (max-width: 767px) {
  .flexbox.resultflex .box .textbox .txt1 {
    margin-top: 5px;
  }
}