@charset "utf-8";
/* CSS Document */
@keyframes fadeIn {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: block;
    opacity: 0;
  }

  100% {
    display: block;
    opacity: 1;
  }
}
.price_range {
  box-sizing: border-box;
  margin: 0 auto 15px auto;
  position: relative;
  width: 1200px;
  
  *:not(".scroll-hint-icon-wrap") {
    box-sizing: border-box;
    position: relative;
  }
  
  strong {
    font-weight: bold;
  }
  
  .small {
    font-size: 0.85rem;
  }
  
  .pc {
    display: initial;
  }
  
  .sp {
    display: none !important;
  }
  
  > div {
    background-color: #00A73C;
    padding: 30px 0;
  
    .intro {
      padding: 0 40px;

      p {
        margin: 0;
        padding: 0;
      }
    
      .ttl {
        display: block;
        text-align: center;
      }
    
      .text {
        color: #FFF;
        font-size: 1rem;
        text-align: center;
        width: 100%;
      }
    
      .button {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        list-style: none;
        margin: 15px 0 0 0;
        padding: 0;
      
        li {
          align-items: center;
          background-color: #FFF;
          border-radius: 10px;
          cursor: pointer;
          display: flex;
          font-size: 23px;
          font-weight: bold;
          justify-content: center;
          margin: 0;
          padding: 9px 0;
          width: 32%;

          &::after {
            background-image: url("arrow.svg");
            background-position: center left;
            background-repeat: no-repeat;
            background-size: contain;
            content: "";
            display: block;
            height: 100%;
            margin-left: 5px;
            width: 21px;
          }

          &.active {
            background-color: #FFFFAF;

            &::after {
              transform: rotate(180deg);
            }

          }
        }
      
      }
    }
  
    .detail {
      display: none;
      opacity: 0;

      &.active {
        animation: fadeIn 0.3s ease-in 0s forwards;
        display: block;
        opacity: 1;
      }

      .table {
        border: none;
        border-top: solid 5px #0065CF;
        background-color: #FFF;
        display: flex;
        flex-wrap: wrap;
        margin: 25px 40px 15px 40px;
        padding-bottom: 25px;

        > div {
          line-height: 0;
          width: 265px;
        }

        ul {
          display: flex;
          flex-wrap: wrap;
          list-style: none;
          margin: 0;
          padding: 0;
        }

        li {
          margin: 0;
          padding: 0;

          a {
            display: block;
            line-height: 0;
            position: relative;

            &:hover{
              opacity: 1;
              
              .img-hover {
                opacity: 1;
              }
            }
          }

          .img-hover {
            height: 100%;
            left: 0;
            opacity: 0;
            position: absolute;
            top: 0;
            transition: opacity 0.3s ease;
            width: 100%;
            z-index: 1;
          }

        }
      }
      
      .close {
        color: #FFF;
        cursor: pointer;
        display: block;
        margin: 0;
        padding: 0;
        text-align: center;
        text-decoration: underline;
      }
    }
    
  }
}
@media (max-width: 440px) {
  .price_range {
    font-size: 0.75rem;
    width: 100%;
  
    * {
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }
    
    img {
      height: auto;
      max-width: 100%;
      vertical-align: bottom;
    }
    
    .small {
      font-size: 0.65rem;
    }
    
    .pc {
      display: none !important;
    }

    .sp {
      display: initial !important;
    }
    
    > div {
      padding: 15px 4%;
      
      .intro {
        padding: 0;
    
        .text {
          font-size: 0.75rem;
          margin-top: 0.5rem;
        }
        
        .button {
          margin: 7px 0 0 0;
          padding: 0;
          
      
          li {
            flex-direction: column;
            font-size: 0.75rem;
            justify-content: center;
            margin: 0;
            padding: 7px 0;
            width: 31%;
            
            

            &::after {
              background-position: center center;
              height: 0.5rem;
              margin-left: 0px;
              width: 1rem;
            }
          }

        }
        
      }
      
      .detail {

        .table {
          height: 20rem;
          justify-content: flex-start;
          margin: 10px 0 5px 0;
          padding: 0 0 5px 0;
          width: 700px;
          
          img {
            height: 100%;
            width: auto;
          }
          
          a {
            display: inline-block;
            height: 100%;
            width: auto;
          }
          
        }
      }
    }
    
    > p {
      margin: 0;
      padding: 0.5rem 4%;
    }

  }
}