@charset "UTF-8";

#c_business .c_business_intro{
    position: relative;
    justify-content: space-around;
}
#c_business .c_business_intro > div{
    width: 48%;
    padding: 0 1%;
}
#c_business .fl_box.c_business_content{
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px 0;
}
#c_business .c_business_content > div{
    width: 48%;
   
}
#c_business .c_business_content .fl_box{
  justify-content: space-between;
  align-items: center;
  gap: 0 20px;
}
#c_business .img_box{
  width: 30%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
#c_business .txt_box{
  width: calc(70% - 20px);
}

#c_information .office article{
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.1em;
}
#c_information .office article:not(:last-of-type){
  margin-bottom: 20px;
}
#c_information .img_box{
  width: 200px;
  overflow: hidden;
}
#c_information .txt_box{
  width: calc(95% - 200px)
}
#c_information .office h5{
  color: var(--main);
  font-weight: normal;
  margin-bottom: 0.5em;
}
#c_information .office a{
  font-family: "Noto Sans JP", sans-serif;
}

#c_history .dl_table_tr dt{
    display: flex;
    gap: 5px;
    font-weight: normal;
    letter-spacing: 0.1em;
    position: relative;
}
#c_history .dl_table_tr dd{
    padding-left: 1em;
}
#c_history .dl_table_tr dt::before{
    content: "";
    position: absolute;
    left: 0;
    bottom: -21px;
    border-bottom: 1px solid var(--main-light);
    pointer-events: none;
    width: 100%;
    height: 1px;
}
#c_history .dl_table_tr:first-of-type dt::after{
    content: "";
    position: absolute;
    left: 0;
    top: -22px;
    border-bottom: 1px solid var(--main-light);
    pointer-events: none;
    width: 100%;
    height: 1px;
}
#c_history .dl_table_tr dt span:first-of-type{
    width: 6em;
}

.readmore {
    position: relative;
    margin: 50px auto 0;
    padding: 0 0 75px;
  }
  
  .readmore label {
    position: absolute;
    display: table;
    left: 50%;
    bottom: 0;
    margin: 0 auto;
    width: 200px;
    padding: 10px 0;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    background-color: var(--main);
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 1;
    transition: all ease .3s;
  }
  .readmore label:hover{
    filter: drop-shadow(0 0 6px rgba(var(--main-rgb), 0.5));
  }
  .readmore label::before{
    content: '続きを見る';
    position: relative;
    z-index: 2;
  }
  .readmore input[type="checkbox"]:checked ~ label::before {
    content: '閉じる';
  }
  .readmore label::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background: var(--main);
    mix-blend-mode: multiply;
    border-radius: 6px;
}
.readmore label:hover::after{
    animation: btn_b_hover 0.5s forwards 0s;
}
  .readmore input[type="checkbox"]{
    display: none;
  }
  .readmore-content {
    position: relative;
    height: 450px;
    overflow: hidden;
  }
  .readmore input[type="checkbox"]:checked ~ .readmore-content {
    height: auto;
  }
  .readmore-content::before {
    position: absolute;
    display: block;
    content: "";
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient( rgba(255,255,255,0) 0%, rgba(var(--bg-rgb),0.8) 85%, var(--bg) 100%);
    transition: all ease .3s;
    z-index: 1;
  }
  .readmore input[type="checkbox"]:checked ~ .readmore-content::before {
    pointer-events: none;
    opacity: 0;
  }

  .c_awards_list{
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px 0;
  }
  .c_awards_list::after{
    content: "";
    width: 23%;
  }
  .c_awards_list article{
    width: 23%;
  }
  .c_awards_list article a{
    color: var(--font);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }
  .c_awards_list article dl{
    display: flex;
    flex-direction: column;
    margin: 1em 0;
  }
  .c_awards_list article dt{
    width: 100%;
        font-size: 0.8rem;
        opacity: 0.7;
  }
  .c_awards_list article a figure{
    aspect-ratio: 7 / 5;
    width: 100%;
    overflow: hidden;
    margin-bottom: 1em;
  }
  .c_awards_list article a:hover figure img{
    transform: scale(1.1);
  }

  .c_machine_slider {
    padding: 100px 150px;
    background-color: var(--bg);
  }
  .c_machine_slider .thumb_slider .slick-slide{
    opacity: 0.5;
    cursor: pointer;
    transition: all ease .3s;
  }
  .c_machine_slider .thumb_slider .slick-slide:hover,
  .c_machine_slider .thumb_slider .slick-current{
    opacity: 1;
  }

@media screen and (max-width: 999px) {
  #c_business .c_business_content > div{
    width: 48%;
  }
  #c_information .office article{
    align-items: flex-start;
  }
  #c_information .office article:not(:last-of-type){
    margin-bottom: 40px;
  }
  #c_information .office .pc_no{
    display: block;
  }
  #c_information .img_box{
    width: 120px;
  }
  #c_information .txt_box{
    width: calc(95% - 120px);
  }
  .c_awards_list article,
  .c_awards_list::after{
    width: 31%;
  }
  .c_machine_slider{
    padding: 100px 5%;
  }
}

@media screen and (min-width: 0px) and (max-width: 600px){
    #c_business .c_business_intro > div{
        width: 100%;
        padding: 0;
    }

    #c_business .fl_box.c_business_content{
        flex-direction: column;
    }
    #c_business .c_business_content > div{
        width: 100%;
    }
    #c_business .c_business_content .fl_box{
      align-items: flex-start;
    }

    #c_information .office article:not(:last-of-type){
      margin-bottom: 60px;
    }
    #c_information .office article.fl_box.sm_bl{
      flex-direction: column-reverse;
    }
    #c_information .img_box{
      width: 100%;
      aspect-ratio: 3 / 2;
    }
    #c_information .txt_box{
      width: 100%;
      margin-bottom: 20px;
    }

    #c_history .dl_table_tr{
        position: relative;
    }
    #c_history .dl_table_tr::before{
        content: "";
        position: absolute;
        left: 0;
        top: -1px;
        border-top: 1px solid var(--main-light);
        pointer-events: none;
        width: 30%;
        height: 1px;
    }
    #c_history .dl_table_tr dt::before,
    #c_history .dl_table_tr:first-of-type dt::after{
        display: none;
    }
    #c_history .dl_table_tr dd{
      padding-left: 0;
  }

    .c_awards_list article, .c_awards_list::after{
        width: 46%;
    }

    .c_machine_slider{
        padding: 0 5%;
        background-color:#fff;
    }
}