

html.no-scroll,
body.no-scroll {
  overflow: hidden !important;
  height: 100%;
}

/*===============================================
●画面の横幅が769px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 769px) {

  /* メニューの下線 */
  header nav > ul > li:nth-of-type(5) > a {
    border-bottom: 1px solid #468876;
  }

  #wrapper {
    background: url(../images/voice/bg.webp) top center no-repeat;
    background-size: cover;
  }

  /* list */
  #list {
    width: 960px;
    min-height: 1000px;
    margin: 110px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 43px;
  }
  #list > div {
    width: 291px;
  }
  #list > div > a {
    position: relative;
    display: block;
    width: 100%;
  }
  #list > div > a > div {
    position: relative;
  }
  #list > div > a > div > img.btn {
    position: absolute;
    bottom: -25px;
    right: 20px;
    width: 50px;
  }
  #list > div > a > p.title {
    margin-top: 35px;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    line-height: 1.6;
  }
  #list > div > a > p.dept {
    position: relative;
    margin-top: 20px;
    padding-left: 17px;
    font-size: 14px;
    text-align: left;
  }
  #list > div > a > p.dept::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: #86C47D;
    border-radius: 10px;
  }
  #list > div > a > p.txt {
    margin-top: 10px;
    font-size: 20px;
    text-align: left;
  }

  /* ポップアップ */
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 150px 70px 60px;
    text-align: left;
    z-index: 999999;
    overflow-y: scroll;
  }
  .popup > .popup-wrap {
    position: relative;
    width: 85%;
    max-width: 960px;
    margin: 0 auto;
    padding: 50px 180px 40px;
    text-align: left;
    z-index: 999999;
    background-color: #ffffff;
    border: 1px solid #458876;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;

  }
  .popup > .popup-wrap > img.photo {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 30%;
    min-width: 200px;
  }
  .popup div.title-wrap {
    padding-left: 18%;
    min-height: 180px;
  }
  .popup div.title-wrap > p.title {
    padding: 20px;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    background-color: #86C47D;
    border-radius: 10px;
  }
  .popup div.title-wrap > p.dept {
    position: relative;
    margin-top: 20px;
    padding-left: 17px;
    font-size: 14px;
    text-align: left;
  }
  .popup div.title-wrap > p.dept::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: #86C47D;
    border-radius: 10px;
  }
  .popup div.title-wrap > p.txt {
    margin-top: 10px;
    font-size: 20px;
    text-align: left;
  }
  .popup div.inner {
    margin-top: 50px;
  }
  .popup div.inner > p {
    margin-top: 50px;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    border-bottom: 1px solid #CCCCCC;
  }
  .popup div.inner > div {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
  }
  .popup div.inner > div.no-img {
    display: block;
  }
  .popup div.inner > div:nth-of-type(2n-1) {
    flex-direction: row-reverse;
  }
  .popup div.inner > div > img {
    width: 30%;
    margin: 0;
  }
  .popup div.inner > div > div {
    width: 70%;
    padding-right: 20px;
  }
  .popup div.inner > div.no-img > div {
    width: 100%;
    padding-right: 0;
  }
  .popup div.inner > div:nth-of-type(2n-1) > div {
    padding-left: 20px;
  }
  .popup div.inner > div.no-img:nth-of-type(2n-1) > div {
    padding-left: 0;
  }
  .popup div.inner > div > div > p.txt01 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
  }
  .popup div.inner > div > div > p.txt02 {
    font-size: 14px;
    line-height: 1.7;
  }
  .popup > .popup-wrap > img.close-top {
    position: absolute;
    z-index: 999999;
    top: 0;
    right: 0;
    width: 160px;
    cursor: pointer;
  }
  .popup > .popup-wrap > img.close-btm {
    position: relative;
    z-index: 2;
    width: 160px;
    margin: 50px auto 0;
    cursor: pointer;
  }
  .overlay {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/voice/popup_bg.webp) top center no-repeat;
    background-size: cover;
  }

}

/*===============================================
●画面の横幅が768px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 768px) {

  #wrapper {
    background: url(../images/voice/bg_sp.webp) top center no-repeat;
    background-size: cover;
  }

  /* list */
  #list {
    width: 90%;
    min-height: 500px;
    margin: 40px auto 0;
    display: flex;
    flex-wrap: wrap;
  }
  #list > div {
    width: 48%;
    margin-bottom: 30px;
  }
  #list > div:nth-of-type(2n) {
    margin-left: 4%;
  }
  #list > div > a {
    position: relative;
    display: block;
    width: 100%;
  }
  #list > div > a > div {
    position: relative;
  }
  #list > div > a > div > img.btn {
    position: absolute;
    bottom: -10px;
    right: 10px;
    width: 30px;
  }
  #list > div > a > p.title {
    margin-top: 15px;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    line-height: 1.6;
  }
  #list > div > a > p.dept {
    position: relative;
    margin-top: 15px;
    padding-left: 15px;
    font-size: 12px;
    text-align: left;
  }
  #list > div > a > p.dept::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 9px;
    height: 9px;
    background-color: #86C47D;
    border-radius: 10px;
  }
  #list > div > a > p.txt {
    margin-top: 10px;
    font-size: 15px;
    text-align: left;
  }


  /* ポップアップ */
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 140px 20px 60px;
    text-align: left;
    z-index: 999999;
    overflow-y: scroll;
  }
  .popup > .popup-wrap {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 110px 20px 30px;
    text-align: left;
    z-index: 999999;
    background-color: #ffffff;
    border: 1px solid #458876;
    border-radius: 20px;
  }
  .popup > .popup-wrap > img.photo {
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    width: 173px;
  }
  .popup div.title-wrap {
    margin: 0 auto;
  }
  .popup div.title-wrap > p.title {
    padding: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    background-color: #86C47D;
    border-radius: 10px;
  }
  .popup div.title-wrap > p.dept {
    position: relative;
    margin-top: 20px;
    padding-left: 17px;
    font-size: 14px;
    text-align: left;
  }
  .popup div.title-wrap > p.dept::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    width: 10px;
    height: 10px;
    background-color: #86C47D;
    border-radius: 10px;
  }
  .popup div.title-wrap > p.txt {
    margin-top: 10px;
    font-size: 20px;
    text-align: left;
  }
  .popup div.inner {
    margin: 0 auto;
  }
  .popup div.inner > p {
    margin-top: 60px;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    border-bottom: 1px solid #CCCCCC;
  }
  .popup div.inner > div {
    margin-top: 20px;
  }
  .popup div.inner > div > img {
    width: 100%;
    margin: 15px auto 0;
  }
  .popup div.inner > div > div {
    width: 100%;
  }
  .popup div.inner > div > div > p.txt01 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
  }
  .popup div.inner > div > div > p.txt02 {
    font-size: 14px;
    line-height: 1.7;
  }
  .popup > .popup-wrap > img.close-top {
    position: fixed;
    z-index: 999999;
    top: 0;
    right: 0;
    width: 128px;
  }
  .popup > .popup-wrap > img.close-btm {
    position: relative;
    z-index: 2;
    width: 160px;
    margin: 30px auto 0;
  }
  .overlay {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/voice/popup_bg_sp.webp) top center no-repeat;
    background-size: cover;
  }

}
