*{
  box-sizing: border-box;
}

html { -webkit-text-size-adjust: 100%; }

.l_siteWrap.bg-trp .l_siteContents {
  padding-top: 0;
}

.sp {
  display: block;
}

.pc {
  display: none;
}

#light_review {
  background-color: #f2f4f4;
}

#light_review select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: none transparent;
  vertical-align: middle;
  font-size: inherit;
  color: inherit;
  box-sizing: content-box;
}

#light_review p,
#light_review li,
#light_review a,
#light_review span,
#light_review div,
#light_review button,
#light_review select{
  font-size: clamp(13px, 88vw, 14px);
  line-height: 1.36;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
}

#light_review .caution {
  font-size: 12px;
  margin-top: 10px;
  font-weight: normal;
}

#light_review .red {
  color: #e84a57;
}

#light_review .link {
  color: #0f9ca7;
  font-weight: 700;

  &:hover {
    text-decoration: underline;
  }
}

#light_review .caution .link {
  font-size: 12px;
}

#light_review .marker {
  background: linear-gradient(transparent 75%, #fff116 40%);
}

#light_review {
  h1,
  h2,
  h3,
  h4,
  h5 {
    line-height: 1.25;
  }
}

#light_review .btn_1 a:hover,
#light_review .btn_2 a:hover {
  transform: translate(5px, 5px);
  box-shadow: none;
}

#light_review .text_center {
  text-align: center;
}

#light_review .text_margin {
  margin-bottom: 16px;
}

#light_review .text_margin_left {
  margin-left: 16px;
}

#light_review .strong {
  font-weight: 700;
}

#light_review .blue {
  color: #018fe5;
}

#light_review .common_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  width: 270px;
  height: 50px;
  transition: 0.6s cubic-bezier(0.87, 0, 0.13, 1);
  position: relative;
  z-index: 1;
  overflow: hidden;
  &:hover{
    box-shadow: none;
    transform: translate(4px, 4px);
  }
  span {
    position: relative;
  }
}

#light_review .common_btn_blue{
  background-color: #0f9ca7;
  border: 2px solid #0f9ca7;
  box-shadow: 4px 4px 0px 0px rgba(15,156,167,0.85);
}

#light_review .common_btn_orange{
  background-color: #fa621b;
  border: 2px solid #fa621b;
  box-shadow: 4px 4px 0px 0px rgba(199,57,45,0.85);
}

#light_review .close_btn{
display: inline-block;
width: 44px;
height: 44px;
background-color: #2d3636;
border-radius: 50%;
border: 1px solid #2d3636;
position: relative;
transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
&::before,&::after{
  content: '';
  display: block;
  width: 2px;
  height: 23px;
  background-color: #fff;
  position: absolute;
  transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
&::before{
  transform: rotate(45deg);
  top: 10px;
  left: 20px;
}
&::after{
  transform: rotate(-45deg);
  top: 10px;
  right: 21px;
}
&:hover{
  background-color: #fff;
  &::before,&::after{
    background-color: #2d3636;
  }
}
}

#light_review .list {
  li {
    list-style-type: disc;
    margin-bottom: 16px;
    margin-left: 20px;
  }
}

#light_review .outer{
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-color: #f2f4f3;
  background-image: url('/special/episode/images/bg_dot.svg');
  background-repeat: repeat;
  background-size: 30px;
}

#light_review .outer_2{
  width: 100%;
  height: 100%;
}

#light_review .header{
  background-color: #fff;
  box-shadow: 0px 3px 0px 0px rgba(45,54,54,0.85);
  width: 100%;
  transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  position: fixed;
  top: 56px;
  left: 0;
  z-index: 100;
  .header_inner{
    margin: 0 auto;
    max-width: 340px;
    padding: 8px 0;
    .theme_text{
      text-align: center;
      font-size: 14px;
      span{
        font-size: 14px;
      }
      .first{
        font-size: 12px;
      }
    }
  }
}

#light_review .header_active{
  top: 0;
}

#light_review .form_block{
  display: none;
  width: 190px;
  height: 100%;
  max-height: max-content;
  position: fixed;
  top: 150px;
  left: 8px;
  z-index: 100;
  transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
  .select_type{
    display: block;
    width: 100%;
    height: 30px;
    background-color: #fff;
    border-radius: 20px;
    font-size: 12px;
    color: #0f9ca7;
    box-shadow: 0px 2px 0px 0px rgba(45,54,54,0.85);
    position: relative;
    margin-bottom: 8px;
    &::after{
      content: '';
      display: block;
      width: 10px;
      height: 16px;
      border-top: 8px solid #0f9ca7;
      border-left: 5px solid transparent;
      border-right: 5px solid transparent;
      border-bottom: 8px solid transparent;
      position: absolute;
      bottom: 3px;
      right: 14px;
      z-index: 1;
    }
  }
  .select_menu{
    width: 100%;
    height: 110px;
    display: none;
    ul{
      overflow: hidden;
      background-color: #fff;
      box-shadow: 3px 3px 0px 0px rgba(45,54,54,0.85);
      height: 0;
      opacity: 0;
      transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
      li{
        transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        font-size: 12px;
        width: 100%;
        height: 30px;
        border-bottom: 1px solid #7b8080;
        display: flex;
        align-items: center;
        justify-content: center;
        &:hover{
          color: #0f9ca7;
        }
        label{
          width: 100%;
          height: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          cursor: pointer;
        }
      }
      li:nth-last-of-type(1){
        border-bottom: none;
      }
      .li_active{
        color: #0f9ca7;
      }
    }
    .select_menu_ul_active{
      opacity: 1;
      padding: 8px;
      height: 100%;
    }
  }
  .select_menu_active{
    display: block;
  }
}

#light_review .form_block_active{
  top: 16px;
}

#light_review .comment_wrapper{
  padding: 168px 8px 64px;
  width: 100%;
  height: 100%;
  .comment_area{
    width: 100%;
    height: 100%;
    .comment_inner{
      width: 100%;
      height: 100%;
      display: grid;
      grid-template-columns: repeat(2, minmax(48%,1fr));
      grid-template-rows: auto;
      gap: 50px 16px;
      .comment_block{
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        height: 110px;
        cursor: pointer;
        transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        position: relative;
        opacity: 0;
        visibility: hidden;
        transform: scale(.3);
        .popup{
          position: absolute;
          left: 0;
          right: 0;
          bottom: 98%;
          z-index: 10;
          width: 80%;
          height: 35px;
          margin: 0 auto;
          border-radius: 8px;
          display: flex;
          justify-content: center;
          align-items: center;
          padding: 0 3px;
          background-image: url('/special/episode/images/mini_popup.svg');
          background-repeat: no-repeat;
          background-size: contain;
          background-position: center;
          transform: scale(.6);
          opacity: 0;
          visibility: hidden;
          overflow: hidden;
          transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
          p{
            color: #2d3636;
            font-size: 12px;
            line-height: 1.05;
            text-overflow: ellipsis;   /* 省略記号を表示 */
            display: -webkit-box; /*テキストをブロック要素扱いにする*/
            -webkit-line-clamp: 2;     /* 最大2行に制限 */
            -webkit-box-orient: vertical;
            width: 90%;
            height: 70%;
            overflow: hidden;
            margin-top: -10px;
          }
        }
        
        .popup_active{
          transform: scale(1);
          opacity: 1;
          visibility: visible;
        }
        .comment_block_inner{
          margin: 0 auto;
          width: 85%;
          height: 100%;
          p{
            text-align: center;
            font-size: 12px;
            br{
              display: none;
            }
          }
          .bottom_block{
            position: absolute;
            bottom: 2px;
            width: 90%;
            left: 0;
            margin: 0 auto;
            right: 0;
          }
        }
      }
      .comment_block_active{
        opacity: 1;
        visibility: visible;
        transform: scale(1);
      }
      .letter_1{
        background-image: url('/special/episode/images/letter_1.webp');
      }
      .letter_2{
        background-image: url('/special/episode/images/letter_2.webp');
      }
      .letter_3{
        background-image: url('/special/episode/images/letter_3.webp');
      }
      .letter_4{
        background-image: url('/special/episode/images/letter_4.webp');
      }
      .letter_5{
        background-image: url('/special/episode/images/letter_5.webp');
      }
      .letter_6{
        background-image: url('/special/episode/images/letter_6.webp');
      }
      .letter_2,.letter_4,.letter_5,.letter_6{
        p{
          color: #fff;
        }
      }
    }
  }
}

/*firefox用*/
@-moz-document url-prefix() {
  #light_review .comment_wrapper .comment_area .comment_inner .comment_block .popup{
    display: none;
  }
}


@keyframes scrollArrowX {
  0%{
    opacity: .5;
    transform: translateX(-40px);
  }
  70%{
    opacity: 1;
    transform: translateX(0px);
  }
  100%{
    opacity: 1;
    transform: translateX(0px);
  }
}

@keyframes scrollArrowY {
  0%{
    opacity: .5;
    transform: translateY(-40px);
  }
  70%{
    opacity: 1;
    transform: translateY(0px);
  }
  100%{
    opacity: 1;
    transform: translateY(0px);
  }
}

#light_review .detail_wrapper{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 102;
    transition: 0.6s cubic-bezier(0.87, 0, 0.13, 1);
    visibility: hidden;
    opacity: 0;
    &::before{
      content: '';
      display: block;
      width: 100%;
      height: 120%;
      backdrop-filter: blur(8px);
      background-color: rgba(255,255,255,0.8);
      position: absolute;
      left: 0;
      top: 0;
      z-index: -1;
    }
  .detail_area{
    width: 100%;
    height: 100%;
    padding: 16px;
    position: relative;
    /*ここのtransitionはtransform限定にしないと色の切り替えなどに影響が出てしまう*/
    transition: 0.6s transform cubic-bezier(0.87, 0, 0.13, 1);
    transform: scale(.6);
    .detail_inner{
      width: 100%;
      height: 100%;
      .detail_block{
        background-color: #fff;
        border-radius: 4px;
        width: 100%;
        height: 100%;
        min-height: 550px;
        padding: 8px 8px 8px 8px;
        position: relative;
        .detail_block_inner{
          width: 100%;
          height: 100%;
          h2{
            font-size: 16px;
            line-height: 1.35;
            text-align: center;
            padding-bottom: 8px;
          }
          .text_block{
            width: 100%;
            min-height: 210px;
            max-height: 225px;
            overflow-y: auto;
            p{
              line-height: 1.5;
            }
          }
          .bottom_block{
            position: absolute;
            left: 0;
            right: 0;
            bottom: 16px;
            margin: 0 auto;
            padding: 0 32px;
            p{
              font-weight: normal;
              font-size: 12px;
            }
            .commenter_info{
              border-bottom: 1px solid #2d3636;
              padding-bottom: 8px;
              margin-bottom: 8px;
              .flex{
                display: flex;
                gap: 16px;
              }
            }
            .company_info{
              h3{
                color: #0f9ca7;
                margin-bottom: 8px;
              }
              .flex{
                padding-bottom: 8px;
                display: flex;
                gap: 8px 16px;
              }
            }
          }
          .common_btn{
            margin: 10px auto 24px;
          }
          .button_block{
            width: 100%;
            .flex{
              display: flex;
              justify-content: center;
              align-items: center;
              gap: 0 32px;
              .move_btn_left,
              .move_btn_right{
                display: block;
                width: 33px;
                height: 33px;
                border-radius: 50%;
                background-color: #fff;
                border: 1px solid #0f9ca7;
                position: relative;
                &::before,&::after{
                  content: '';
                  display: block;
                  width: 1px;
                  height: 8px;
                  background-color: #0f9ca7;
                  position: absolute;
                }
              }
              .move_btn_left{
                &::before{
                  transform: rotate(45deg);
                  top: 9.5px;
                  left: 15px;
                }
                &::after{
                  transform: rotate(-45deg);
                  right: 15px;
                  top: 15px;
                }
              }
              .move_btn_right{
                &::before{
                  transform: rotate(-45deg);
                  top: 9.5px;
                  left: 15px;
                }
                &::after{
                  transform: rotate(45deg);
                  right: 15px;
                  top: 15px;
                }
              }
            }
          }
        }
      }
    }
  }
}

#light_review .detail_wrapper_active{
  visibility: visible;
  opacity: 1;
  .detail_area{
    transform: scale(1);
  }
}

#light_review .detail_bg_1{
  background-color: #f4c0ae;
}

#light_review .detail_bg_2{
  background-color: #009385;
}

#light_review .detail_bg_3{
  background-color: #7addb5;
}

#light_review .detail_bg_4{
  background-color: #50c0f9;
}

#light_review .detail_bg_5{
  background-color: #555599;
}

#light_review .detail_bg_6{
  background-color: #f48c9d;
}

#light_review .entrance_wrapper{
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 101;
  &::before{
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background-color: rgba(255,255,255,0.8);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
  } 
  .entrance_area{
    height: 100%;
    padding: 0 16px;
    background-color: #f2f4f3;
    background-image: url('/special/episode/images/bg_dot.svg');
    background-repeat: repeat;
    background-size: 30px;
    z-index: 0;
    .entrance_inner{
      position: relative;
      .entrance_img{
        padding-top: 96px;
      }
      .theme_text{
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #fff;
        text-align: center;
        padding: 0 8px 2px;
        border-radius: 4px;
        position: absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: calc(100% - 16px);
        height: 52px;
        transform: scaleX(0);
        transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        p{
          font-size: 18px;
          line-height: 1.2;
          opacity: 0;
          visibility: hidden;
          transform: translateY(10px);
          transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
          span{
            font-size: 18px;
            line-height: 1.2;
          }
        }
        .theme_text_p_active{
          opacity: 1;
          visibility: visible;
          transform: translateY(0);
        }
      }
      .theme_text_active{
        transform: scaleX(1);
      }
    }
    .common_btn{
      margin: 32px auto 0;
    }
  }
}

#light_review .use_wrapper{
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  &::before{
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background-color: rgba(255,255,255,0.8);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    padding: 8px;
  } 
  .use_area{
    width: calc(100% - 32px);
    max-height: max-content;
    background-color: #fff;
    border-radius: 4px;
    width: 100%;
    padding: 56px 16px 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    .close_btn{
      position: absolute;
      right: 16px;
      top: 16px;
    }
    .use_inner{
      display: flex;
      justify-content: space-between;
      align-items: center;
      .text_block{
        width: 170px;
        max-height: max-content;
        text-align: center;
        position: relative;
        &::before{
          content: '';
          display: block;
          width: 40px;
          height: 28px;
          position: absolute;
          bottom: 20px;
          right: -26px;
          background-image: url('/special/episode/images/arrow_img.svg');
          background-size: contain;
          background-repeat: no-repeat;
        }
        h2{
          font-size: 14px;
          color: #f47a89;
          line-height: 1.5; 
        }
        .letter{
          max-width: 120px;
          margin: 0 auto;
        }
      }
      .explain_img{
        width: 140px;
      }
    }
    .common_btn{
      margin: 0 auto;
    }
  }
}

@media screen and (max-width:768px){
    #light_review .form_block_active{
    top: 88px;
  }
}

@media screen and (min-width:769px){

header{
    position: relative;
    z-index: 102;
}

#light_review p,
#light_review li,
#light_review a,
#light_review span,
#light_review div{
  font-size: 16px;
}

  .sp{
    display: none;
  }
  .pc{
    display: block;
  }

  #light_review .outer{
    min-width: min-content;
  }

  #light_review .header {
      background-color: transparent;
      box-shadow: none;
      max-width: 520px;
      border-radius: 4px;
      top: 170px;
      left: 0;
      right: 0;
      margin: 0 auto;
      transition: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
      .header_inner{
        padding: 0;
        max-width: none;
      }
  }

  #light_review .header_active{
    background-color: #fff;
    box-shadow: 3px 3px 0px 0px rgba(45,54,54,0.85);
    top: 0;
    left: 0;
      .header_inner{
        padding: 8px 16px;
        max-width: none;
      } 
  }

#light_review .form_block{
  width: 280px;
  top: 170px;
  left: auto;
  right: 8px;
  .select_type{
    height: 45px;
    font-size: 18px;
    color: #0f9ca7;
    &::after{
      width: 16px;
      height: 30px;
      border-top: 15px solid #0f9ca7;
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-bottom: 15px solid transparent;
      bottom: -1px;
      right: 14px;
      z-index: 1;
    }
  }
  .select_menu{
    ul{
      li{
        font-size: 14px;
        width: 100%;
        height: 30px;
        border-bottom: 1px solid #7b8080;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
      }
      li:nth-last-of-type(1){
        border-bottom: none;
      }
    }
  }
}

#light_review .form_block_active{
    top: 16px;
}

  #light_review .comment_wrapper {
    padding: 170px 16px 64px;
    .arrow_x{
    max-width: 210px;
    bottom: 200px;
    right: 60px;
    }
  .arrow_y{
    max-width: 110px;
    bottom: 45px;
    right: 300px;
  }
    .comment_area {
        .comment_inner {
          grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); /* 最小260px、最大で利用可能なスペースに応じて自動調整 */
          grid-auto-rows: auto;
          gap: 80px 32px;
          .comment_block {
              width: 100%;
              min-width: 260px;
              height: 170px;
              padding: 6px 0;
              &:hover{
                transform: scale(1.1) rotate(5deg);
              }
            .popup{
              bottom: 100%;
              height: 53px;
              p{
                height: 50%;
              }
            }
            .comment_block_inner{
              margin: 0 auto;
              width: 85%;
              height: 100%;
              p {
                font-size: 16px;
              }
              .bottom_block{
                bottom: 8px;
              }
            }
          }
      }
    }
  }

#light_review .detail_wrapper{
  position: fixed;
  top: 0;
  .detail_area{
    width: 960px;
    height: auto;
    padding: 24px;
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    margin: 0 auto;
    .detail_inner{
      .detail_block{
        padding: 24px;
        height: 80%;
        .detail_block_inner{
          h2{
            font-size: 24px;
            padding-bottom: 12px;
          }
          .text_block{
            width: 100%;
            min-height: 130px;
            max-height: 150px;
            margin-bottom: 16px;
          }
          .bottom_block{
            position: static;
            padding: 0 0 24px;
            p{
              font-weight: normal;
              font-size: 12px;
            }
            .commenter_info{
              border-bottom: none;
              padding-bottom: 8px;
              margin-bottom: 0;
              .flex{
                justify-content: right;
                p{
                  font-size: 16px;
                }
              }
            }
            .company_info{
              h3{
                display: inline-block;
                color: #0f9ca7;
                font-size: 18px;
                margin-bottom: 8px;
                &:hover{
                    text-decoration: underline;
                }
              }
              .flex{
                display: block;
                .industry{
                  padding-bottom: 0;
                  border-top: 1px dashed #2d3636;
                }
                .industry,.city{
                  height: 30px;
                  display: flex;
                  align-items: center;
                  border-bottom: 1px dashed #2d3636;
                }
              }
            }
          }
          .common_btn{
            margin: 10px auto 24px;
          }
          .button_block{
            .flex{
              display: flex;
              justify-content: center;
              align-items: center;
              gap: 0 32px;
          }
        }
      }
    }
  }
}
}

#light_review .entrance_wrapper{
      &::before{
      content: '';
      display: block;
      width: 100%;
      height: 120%;
      backdrop-filter: blur(8px);
      background-color: rgba(255,255,255,0.8);
      position: absolute;
      left: 0;
      top: 0;
      z-index: -1;
    }
  .entrance_area{
    margin: auto;
    width: 960px;
    max-height: 600px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    .entrance_inner{
      .entrance_img{
        margin: 0 auto 0;
        max-width: 350px;
      }
      .theme_text{
        width: 260px;
        height: 55px;
        p,span{
          font-size: 18px;
          line-height: 1.3;
        }
      }
      .common_btn{
        margin: 16px auto 0;
      }
    }
  }
}

#light_review .use_wrapper{
  .use_area{
    width: 960px;
    height: 400px;
    margin: 120px auto 0;
    padding: 24px 16px;
    box-shadow: 6px 6px 10px 0px rgba(45,54,54,0.15);
    .use_inner{
      justify-content: center;
      gap: 160px;
      .text_block{
        width: 260px;
        &::before{
          content: '';
          display: block;
          width: 105px;
          height: 52px;
          bottom: 100px;
          right: -140px;
        }
        h2{
          font-size: 20px;
          padding-bottom: 24px;
        }
        .letter{
          max-width: none;
        }
      }
      .explain_img{
        width: 350px;
      }
    }
  }
}

}