@import url("global.css");
@import url("https://fonts.googleapis.com/css2?family=Damion&family=EB+Garamond:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@300;400;500;700;900&family=Noto+Serif+JP:wght@200;400;500;600;700;900&display=swap");
#titlearea .pagetitle {
  background-image: url("../topics/img/main.jpg");
}

.list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: -50px -20px 0;
}
.list li {
  width: 50%;
  padding: 50px 20px 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.list li a, .list li > div {
  display: block;
  border: 2px solid #007DC3;
  padding: 20px 30px 20px 20px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  position: relative;
  background-color: #FFF;
}
.list li a .f_inner, .list li > div .f_inner {
  align-items: stretch;
}
.list li a .text > p {
  text-decoration: underline;
}
.list li a:hover {
  border-color: #F99F3E;
}
.list li a:hover .text {
  color: #F99F3E;
}
.list li a:hover .img {
  opacity: .7;
}
.list li .date {
  position: absolute;
  right: 20px;
  top: -16px;
  display: inline-block;
  line-height: 32px;
  -webkit-border-radius: 32px;
  border-radius: 32px;
  padding: 0 40px;
  text-align: center;
  background-color: #007DC3;
  color: #FFF;
  font-size: 14px;
}
.list li .img {
  width: 44%;
  height: 170px;
  flex-shrink: 0;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.list li .img span {
  display: block;
  width: 100%;
  height: 100%;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  overflow: hidden;
}
.list li .text {
  width: 100%;
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 20px 0 0 30px;
  margin-bottom: 25px;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.list li .text > p {
  max-height: 125px;
  overflow: hidden;
  text-align: justify;
  font-size: 15px;
  line-height: 1.6;
}
.list li .text .cat {
  position: absolute;
  right: 0;
  bottom: -25px;
  text-align: right;
  font-size: 13px;
  font-weight: bold;
  color: #007DC3;
}

/* -------------------------- entry -------------------------- */
.entry #post_main > h1 {
  font-weight: bold;
  font-size: 30px;
  color: #007DC3;
}
.entry #post_main .info_area {
  padding: 5px 0 10px;
}
.entry #post_main .info_area .date {
  display: inline-block;
  line-height: 30px;
  font-weight: 500;
  margin: 5px 0;
  letter-spacing: 0;
}
.entry #post_main .info_area .cat {
  display: inline-block;
  margin: 5px 0 5px 10px;
  background-color: #F4F4F4;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  line-height: 30px;
  padding: 0 20px 1px;
  font-size: 14px;
  letter-spacing: 0;
}
.entry #post_main .ph_area {
  margin-top: 5px;
  text-align: center;
  padding: 60px 40px;
  background-color: rgba(0, 125, 195, 0.1);
}
.entry #post_main .ph_area ul {
  display: flex;
  justify-content: center;
}
.entry #post_main .ph_area ul li {
  width: 50%;
  padding: 0 20px;
}
.entry #post_main .ph_area ul li a {
  display: block;
  width: 100%;
  height: 0;
  padding-top: 66.67%;
  overflow: hidden;
  position: relative;
}
.entry #post_main .ph_area ul li a img {
  position: absolute;
  left: 0;
  top: 0;
  object-position: center center;
}
.entry #post_main .ph_area ul li a::before {
  content: "";
  position: absolute;
  z-index: 6;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(51, 51, 51, 0.5);
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  opacity: 0;
}
.entry #post_main .ph_area ul li a::after {
  content: "\f002";
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 50px;
  font-weight: bold;
  line-height: 1;
  font-family: "Font Awesome 6 free", "Font Awesome 6 Brands";
  color: #FFF;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  opacity: 0;
}
.entry #post_main .ph_area ul li a:hover::before, .entry #post_main .ph_area ul li a:hover::after {
  opacity: 1;
}
.entry #post_main .post_body {
  border-top: 1px solid rgba(0, 125, 195, 0.1);
  border-bottom: 1px solid rgba(0, 125, 195, 0.1);
  padding: 50px;
}
.entry #post_main .post_body .pdfbtn {
  margin-top: 40px;
}
.entry #post_main .post_body .pdfbtn a {
  display: block;
  letter-spacing: 1px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #007DC3;
  font-size: 18px;
  font-weight: bold;
  color: #007DC3;
  padding: 0 20px;
  line-height: 60px;
  text-decoration: none;
}
.entry #post_main .post_body .pdfbtn a i {
  font-size: 25px;
  vertical-align: middle;
  margin: 0 10px 3px 0;
}
.entry #post_main .post_body .pdfbtn a:hover {
  background-color: #007DC3;
  color: #FFF;
}

/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-1 ( 1280px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 1280px) {
  .list {
    margin: -50px -20px 0;
  }
  .list li {
    padding: 50px 20px 0;
  }
  .list li .img {
    width: 44%;
    height: 170px;
    flex-shrink: 0;
  }
  .list li .text {
    padding: 15px 0 0 25px;
  }
  .list li .text > p {
    max-height: 125px;
  }

  /* -------------------------- entry -------------------------- */
  .entry #post_main .ph_area {
    padding: 50px 40px;
  }
  .entry #post_main .ph_area ul li {
    padding: 0 15px;
  }
  .entry #post_main .post_body {
    padding: 40px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-2 ( 959px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 959px) {
  .list {
    margin: -40px -15px 0;
  }
  .list li {
    padding: 40px 15px 0;
  }
  .list li a, .list li > div {
    padding: 30px 20px 20px;
  }
  .list li .date {
    right: 10px;
    top: -14px;
    line-height: 28px;
    padding: 0 20px;
    font-size: 12px;
  }
  .list li .img {
    width: 100%;
    height: auto;
  }
  .list li .img span {
    width: 100%;
    height: 0;
    padding-top: 73.91%;
    position: relative;
  }
  .list li .img span img {
    position: absolute;
    left: 0;
    top: 0;
  }
  .list li .text {
    padding: 20px 0 0;
    margin-bottom: 20px;
  }
  .list li .text > p {
    max-height: 120px;
    font-size: 14px;
  }
  .list li .text .cat {
    bottom: -20px;
  }

  /* -------------------------- entry -------------------------- */
  .entry #post_main > h1 {
    font-size: 27px;
  }
  .entry #post_main .ph_area {
    padding: 40px 20px;
  }
  .entry #post_main .ph_area ul li {
    padding: 0 10px;
  }
  .entry #post_main .post_body {
    padding: 35px 25px;
  }
  .entry #post_main .post_body .pdfbtn {
    margin-top: 30px;
  }
  .entry #post_main .post_body .pdfbtn a {
    font-size: 16px;
    padding: 0 20px;
  }
  .entry #post_main .post_body .pdfbtn a i {
    font-size: 24px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-3 ( 644px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 644px) {
  .list {
    margin: -15px 0 0;
    display: block;
  }
  .list li {
    width: 100%;
    padding: 20px 0 0;
  }
  .list li a, .list li > div {
    padding: 25px 15px 20px;
  }
  .list li .date {
    right: 15px;
    top: -12px;
    line-height: 24px;
    padding: 0 15px;
  }
  .list li .text {
    padding: 15px 0 0;
  }

  /* -------------------------- entry -------------------------- */
  .entry #post_main > h1 {
    font-size: 21px;
  }
  .entry #post_main .info_area .date {
    line-height: 26px;
    font-size: 14px;
  }
  .entry #post_main .info_area .cat {
    margin: 5px 0 5px 7px;
    line-height: 26px;
    padding: 0 15px 1px;
    font-size: 12px;
  }
  .entry #post_main .ph_area {
    padding: 10px 15px 25px;
  }
  .entry #post_main .ph_area ul {
    display: block;
  }
  .entry #post_main .ph_area ul li {
    width: 100%;
    padding: 15px 0 0;
  }
  .entry #post_main .ph_area ul li a::after {
    font-size: 35px;
  }
  .entry #post_main .post_body {
    padding: 20px 10px;
  }
  .entry #post_main .post_body .pdfbtn {
    margin-top: 25px;
  }
  .entry #post_main .post_body .pdfbtn a {
    letter-spacing: 0;
    line-height: 52px;
  }
  .entry #post_main .post_body .pdfbtn a i {
    font-size: 22px;
    margin: 0 7px 2px 0;
  }
}
