@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("../voice/img/main.jpg");
}

.list {
  margin: 0 -15px;
  display: flex;
  flex-wrap: wrap;
}
.list li {
  width: 33.33%;
  padding: 25px 15px 15px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: flex;
}
.list li:nth-child(even) .inner {
  background-color: rgba(0, 125, 195, 0.03);
}
.list li .inner {
  border: 1px solid rgba(0, 125, 195, 0.1);
  -webkit-border-radius: 4px;
  border-radius: 4px;
  padding: 55px 20px 180px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}
.list li .inner .name {
  position: absolute;
  left: 50%;
  top: -10px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  min-width: 120px;
  line-height: 1.2;
  padding: 6px 10px 7px;
  -webkit-border-radius: 7px;
  border-radius: 7px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
  background-color: #007DC3;
  color: #FFF;
}
.list li .inner .name::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: -47px;
  bottom: 0;
  width: 38px;
  height: 45px;
  background: url("../voice/img/icon.png") no-repeat left top;
  background-size: contain;
}
.list li .inner .name p {
  font-size: 26px;
  font-weight: bold;
}
.list li .inner .name p small {
  display: inline-block;
  margin-left: 5px;
  font-size: 77%;
  font-weight: 500;
}
.list li .inner .text {
  text-align: justify;
  font-size: 16px;
  font-weight: 400;
}
.list li .inner .text p + p {
  margin-top: 15px;
}
.list li .inner .photo {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 30px;
  display: flex;
}
.list li .inner .photo .ph_item {
  width: 50%;
  padding: 0 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.list li .inner .photo .ph_item a {
  display: block;
  position: relative;
  width: 100%;
  height: 120px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  overflow: hidden;
}
.list li .inner .photo .ph_item a img {
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.list li .inner .photo .ph_item a:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  opacity: .8;
}

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

 Responsive-Breakpoint-1 ( 1280px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 1280px) {
  .list {
    margin: 0 -10px;
  }
  .list li {
    padding: 20px 10px 15px;
  }
  .list li .inner {
    padding: 50px 20px 150px;
  }
  .list li .inner .name {
    min-width: 114px;
  }
  .list li .inner .name::before {
    left: -45px;
    width: 35px;
    height: 41px;
  }
  .list li .inner .name p {
    font-size: 25px;
  }
  .list li .inner .photo {
    left: 15px;
    right: 15px;
  }
  .list li .inner .photo .ph_item {
    padding: 0 5px;
  }
  .list li .inner .photo .ph_item a {
    height: 86px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-2 ( 959px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 959px) {
  .list li {
    width: 50%;
  }
  .list li:nth-child(even) .inner {
    background-color: transparent;
  }
  .list li:nth-child(4n+2) .inner, .list li:nth-child(4n+3) .inner {
    background-color: rgba(0, 125, 195, 0.03);
  }
  .list li .inner {
    padding: 40px 20px 140px;
  }
  .list li .inner .name {
    min-width: 100px;
    padding: 5px 10px 6px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
  }
  .list li .inner .name::before {
    left: -40px;
    width: 31px;
    height: 36px;
  }
  .list li .inner .name p {
    font-size: 22px;
  }
  .list li .inner .photo .ph_item a {
    height: 80px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-3 ( 644px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 644px) {
  .list {
    margin: -10px 0 0;
    display: block;
  }
  .list li {
    width: 100%;
    padding: 40px 0 0;
    display: block;
  }
  .list li:nth-child(4n+2) .inner, .list li:nth-child(4n+3) .inner {
    background-color: transparent;
  }
  .list li:nth-child(even) .inner {
    background-color: rgba(0, 125, 195, 0.03);
  }
  .list li .inner {
    padding: 40px 25px 25px;
  }
  .list li .inner .name {
    min-width: 0;
    padding: 5px 15px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
  }
  .list li .inner .name::before {
    left: -33px;
    width: 26px;
    height: 30px;
  }
  .list li .inner .name p {
    font-size: 18px;
  }
  .list li .inner .text {
    font-size: 15px;
  }
  .list li .inner .photo {
    position: static;
    margin: 20px 0 0;
  }
  .list li .inner .photo .ph_item {
    padding: 0 5px;
  }
  .list li .inner .photo .ph_item a {
    height: 0;
    padding-top: 66.67%;
  }
}
