/* 事例パース集css */
/* --------------------------exsamples_pers--------------------------------- */
.exsample_pars_ribbon{
    margin: auto;
    text-align: center;
    background-color:#c30639;
    font-size: 26px;
    padding: 15px 0px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 30px;
}

.exsample_pars_sub_ttl{
    text-align: center;
    margin: auto;
    font-size: 26px;
    margin-bottom: 30px;
}

.exsample_pars_main{
    margin-bottom: 30px;
}


.exsample_pars_main img{
    margin-bottom: 30px;
}

.exsample_pars_main p{
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 30px;    
}



.exsample_pars_links{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 2列 */
    grid-template-rows: auto auto auto; /* 3行 */
    gap: 25px; /* アイテムの間隔 */
}

@media screen and (max-width: 768px){
    .exsample_pars_main{
        margin-bottom: 30px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .exsample_pars_links{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 10px;
        margin: 0px 4px;
    }
}

.exsample_pars_link {
    cursor: pointer;
    display: inline-block;
    position: relative;
    color: #333; /* 通常文字色 */
    text-decoration: none;
    transition: all 0.3s ease; /* スムーズな変化 */
}

/* Hover時のエフェクト */
.exsample_pars_link:hover {
    color: #c30639; /* 文字色を変更 */
    transform: scale(1.05); /* 少し拡大 */
}

/* 下線アニメーション */
.exsample_pars_link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -4px;
    background-color: #c30639;
    transition: width 0.3s ease;
}

.exsample_pars_link:hover::after {
    width: 100%; /* 下線がスライド */
}

.exsample_pars_link p{
    width: 100%;
    background-color:#c30639;
    color: #fff;
    font-weight: 600;
    text-align: center;
    margin: auto;
    padding: 8px 0px;
}

.exsample_pars_link img{
    width: 100%;
}
/* --------------------------exsamples_persXX--------------------------------- */

.ec-categorylist_title{

background-image: url(https://localhost/suzuya-r.jp/html/template/default/assets/img/ttl-logo.png);

}

.exsamples_parsXX_base_margin{
margin: 0px 0px 30px 20px;

}

.exsamples_parsXX_p{
    font-weight: bold;
    line-height: 30px;
}

.exsamples_parsXX_gallery{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr; /* 5列 */
    grid-template-rows: auto auto auto; /* 3行 */
    gap: 10px; /* アイテムの間隔 */
}

.exsamples_parsXX_gallery div {
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 8px;
}

.exsamples_parsXX_gallery div:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* 柔らかい影 */
}


.exsamples_parsXX_equipment_title{
    font-weight:600 ;
}


.exsamples_parsXX_equip_gallery{
    display: grid;
    grid-template-columns:1fr 1fr 1fr 1fr; /* 4列 */
    grid-template-rows: auto auto; /* 2行 */
    gap: 30px; /* アイテムの間隔 */
}

@media screen and (max-width: 768px){
   
    .exsamples_parsXX_base_margin{
    margin: 0px 4px 0px 4px;
    
    }

    .exsamples_parsXX_gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
    margin-top: 12px;
    }

    .exsamples_parsXX_equipment_title{
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .exsamples_parsXX_p{
        padding: 10px;
    }
    
    .exsamples_parsXX_equip_gallery{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 8px;
    }
    
}

.exsamples_parsXX_equip_gallery div {
    cursor: pointer;
    transition: all 0.3s ease-in-out; /* なめらかな変化 */
}

.exsamples_parsXX_equip_gallery div:hover {
    opacity: 0.8; /* 半透明 */
    transform: scale(1.05); /* 少し拡大 */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* 浮き上がる影 */
    overflow: hidden;   /* 子要素の角を揃える */
}

.exsamples_parsXX_equip_gallery div a{
    text-decoration: none;
    color: black;
    cursor: pointer;
}

.exsamples_parsXX_equip_gallery div a img{
    border: #333 solid 1px;
}


.exsamples_parsXX_equip_gallery div a h4{
    margin-top: 10px;
}

.exsamples_parsXX_equip_gallery div a h4,.exsamples_parsXX_equip_gallery div a p{
    text-align: center;
    padding: 4px 0px;
}

















/* ----------------------------modal setting--------------------------------- */


/* Modal styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 11;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.5s forwards;
}

@media screen and (max-width:1280px){
  .modal {
      padding-top: 224px;
  }
}

.modal-content {
  margin: auto;
  display: block;
  width:85% !important;
  max-width: 100% !important;
}

@media screen and (max-width:1280px) {
  .modal-content {
    width: 90% !important;
  }
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@media screen and (max-width: 1280px){
  .close{
      top:170px;
  }
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
