@import url("global.css");
@import url("https://fonts.googleapis.com/css2?family=Allura&display=swap");
#bodyarea {
  overflow: hidden;
}

.pagettl {
  font-size: 28px;
  font-weight: bold;
  text-align: left;
  margin-bottom: 100px;
}

#commentarea {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
  padding: 0 0 100px;
}
#commentarea figure {
  flex-basis: 46%;
  position: relative;
}
#commentarea figure img {
  position: relative;
  z-index: 2;
}
#commentarea figure figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: #fff;
  text-shadow: 0 0 3px #1F1F1F, 0 0 6px #1F1F1F, 0 0 9px #1F1F1F;
  transform: rotate(-7deg);
  z-index: 3;
  font-size: 46px;
  font-family: 'Allura', cursive;
}
#commentarea figure::before {
  content: "";
  width: 150%;
  height: 120%;
  position: absolute;
  left: 100px;
  top: -10%;
  background: url("../president/img/presidentbg_new.jpg") no-repeat center center;
  z-index: 1;
  opacity: 0.6;
}
#commentarea figure.re220314::after {
  content: "";
  display: inline-block;
  width: 300px;
  height: 214px;
  position: absolute;
  background: url("../president/img/sign-white.png") center center/contain no-repeat;
  bottom: 0;
  right: -75px;
  z-index: 2;
}
#commentarea #textarea {
  flex-basis: 50%;
}
#commentarea #textarea p {
  text-align: justify;
}
#commentarea #textarea p + p {
  margin-top: 20px;
}
#commentarea #textarea p.name {
  text-align: right;
  margin-top: 30px;
  font-size: 17px;
}
#commentarea #textarea p.name span {
  font-weight: bold;
  font-size: 20px;
}

.linkbnrarea {
  background-color: #eee;
  padding: 60px 0;
  margin-top: 90px;
}
.linkbnrarea ul {
  display: -webkit-flex;
  display: flex;
  margin: 0 -15px;
}
.linkbnrarea ul li {
  width: 25%;
  padding: 0 15px;
  box-sizing: border-box;
}
.linkbnrarea ul li a {
  display: block;
  background-color: #fff;
  padding: 10px;
  text-align: center;
  box-shadow: 2px 3px 2px rgba(31, 31, 31, 0.1);
}
.linkbnrarea ul li a:hover {
  opacity: .6;
}
.linkbnrarea ul li a figure {
  position: relative;
  height: 0;
  padding-top: 45%;
}
.linkbnrarea ul li a figure img {
  position: absolute;
  left: 0;
  top: 0;
}
.linkbnrarea ul li a .text {
  font-weight: bold;
  font-size: 18px;
  padding: 10px 10px 0;
}

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

 Responsive-Breakpoint-1 (1190px)
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 1190px) {
  #commentarea {
    display: block;
    padding: 0;
  }
  #commentarea figure {
    width: 80%;
    height: 68vw;
    margin-bottom: 100px;
  }
  #commentarea #textarea {
    width: 100%;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-2 ( 960px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 959px) {
  .pagettl {
    font-size: 26px;
    margin-bottom: 100px;
  }

  #commentarea figure {
    width: 100%;
    height: 80vw;
  }
  #commentarea figure.re220314::after {
    right: -42px;
  }

  .linkbnrarea {
    padding: 45px 0;
    margin-top: 60px;
  }
  .linkbnrarea ul {
    margin: 0 -10px;
    flex-wrap: wrap;
  }
  .linkbnrarea ul li {
    padding: 10px;
    width: 50%;
  }
  .linkbnrarea ul li a {
    padding: 7px;
  }
  .linkbnrarea ul li a .text {
    font-size: 15px;
    padding: 7px 5px 0;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-3 ( 644px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 644px) {
  .pagettl {
    font-size: 21px;
    margin-bottom: 60px;
  }

  #commentarea figure {
    height: 95vw;
    margin-bottom: 60px;
  }
  #commentarea figure figcaption {
    font-size: 32px;
  }
  #commentarea figure.re220314::after {
    width: 150px;
    height: 107px;
    bottom: 25px;
    right: -23px;
  }
  #commentarea #textarea p.name {
    font-size: 16px;
  }
  #commentarea #textarea p.name span {
    font-size: 18px;
  }

  .linkbnrarea {
    padding: 30px 0;
    margin-top: 40px;
  }
  .linkbnrarea ul {
    margin: 0;
    display: block;
  }
  .linkbnrarea ul li {
    padding: 0 0 15px;
    width: 100%;
  }
  .linkbnrarea ul li:last-child {
    padding-bottom: 0;
  }
  .linkbnrarea ul li a {
    padding: 7px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    box-shadow: 1px 2px 1px rgba(31, 31, 31, 0.1);
  }
  .linkbnrarea ul li a figure {
    padding-top: 27%;
    width: 50vw;
  }
  .linkbnrarea ul li a .text {
    flex: 1;
    font-size: 15px;
    padding: 0 10px 0 15px;
    text-align: center;
  }
}
