@charset "utf-8";
/* --------------------------------
ページ用css
-------------------------------- */


.scroll-text{
        pointer-events: none;/*イベントに反応させない*/
}

.fg-cts{
    background: #F4F4F4;
    margin-top:10px;
    padding: 40px 7% 10px 7%;/*padding-bottomは1px以上に*/
}
.fg-each-box{
    width: 100%;
    margin: 0 auto 30px auto;
    position: relative;
    background: #FFFFFF;
    padding: 20px 20px 26px 20px;
}
.fg-each-ttl{
  font-weight: 500;
    text-align: center;
    line-height: 28px;
    padding-bottom: 16px;
    padding-top:2px;
}
.fg-ifg{
    margin-right:6px;
    margin-bottom:6px;
}
.fg-reaflet-tbl{
    border-collapse: collapse;
    width: 100%;
}
.fg-reaflet-tbl tbody,
.fg-reaflet-tbl tr{
    width: 100%;
}
.fg-reaflet-tbl td{
    width: 50%;
    vertical-align: top;
}
.fg-reaflet-tbl img{
    display: block;
    width: 100%;
    height: auto;
}


.fg-ih{
    margin-right:6px;
    margin-bottom:8px;
}


.fget-small{
    display: block;
}

a.fg-zoom{
  font-weight: 500; 
    text-decoration: none;
    color:#FFFFFF;
    margin-left:auto;
    margin-right: auto;
    margin-top:16px;
}

    .fg-zm{
        margin-right: 8px;
    }

  
    
    /*ポップアップここから*/  
    .fg-reaflet-pop{
    margin:30px 18px 30px 18px;
    position: relative;
}
.fg-reaflet-pop img{
    display: block;
    width: 100%;
    height:auto;
}
.fg-reaflet-pop::before,
.fg-reaflet-pop::after{
    content: '';
    width: 15px;
    height: 2px;
    background-color: #DDDDDD;
    position: absolute;
    top:8px;
    right:-18px;
    pointer-events: none;
}
.fg-reaflet-pop::before {
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
.fg-reaflet-pop::after {
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }   
 .fg-reaflet-pop .scroll-text{
        display: block;
     color:#FFFFFF;
        width: 15px;
     line-height: 1em;
        height: 300px;
        position: absolute;
        top:60px;
        right:-17px;
     -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
}
    /*ポップアップここまで*/


@media (min-width: 500px) {
a.fg-zoom{
    width: 200px;
}
}/*end min-width: 500px*/


@media (min-width: 740px) {
    .fg-each-box {
    margin: 0 auto 40px auto;
    padding: 40px 40px 40px 40px;
}
    .fg-each-ttl{
        font-size: 18px;
        padding-bottom: 36px;
    }
.fget-small{
    display: inline-block;
    padding-left:0.5em;
}
    a.fg-zoom{
    margin-top:36px;
}

     /*ポップアップここから*/
        .fg-reaflet-pop{
    margin:50px 40px 50px 40px;
}

.fg-reaflet-pop::before,
.fg-reaflet-pop::after{
    width: 30px;
    right:-37px;
    top:13px;
}
 .fg-reaflet-pop .scroll-text{
        right:-29px;
     top:120px;
}
    /*ポップアップここまで*/ 
    

}/*end min-width: 740px*/





@media (min-width: 960px) {
    .fg-cts-in{
        max-width: 1000px;
        margin-left:auto;
        margin-right: auto;
    }

}/*end min-width: 960px*/

@media (min-width: 1280px) {
.fg-cts {
    padding: 100px 7% 82px 7%;
}
    .fg-each-box {
    margin: 0 auto 16px auto;
}

    a.fg-zoom{
    height: 58px;
    line-height: 58px;
}
    .fg-cts-in{
        display: table;
        width: 1000px;
        max-width: none;
    }
    .fg-ctnr{
        display: table-cell;
        width: 50%;
    }
    .fg-cts-in .fg-ctnr:nth-child(1){
        padding-right: 20px;
    }
    .fg-cts-in .fg-ctnr:nth-child(2){
        padding-left: 20px;
    }

/*a.fg-zoom{
    margin-top:28px;
}*/
    .fg-each-ttl {
    padding-bottom: 36px;
}
}/*end min-width: 1280px*/

@media (min-width: 1600px) {
    
     /*ポップアップここから*/
        .fg-reaflet-pop{
    margin:80px 80px 80px 80px;
            margin-left:calc( 50% - 750px );
            margin-right:calc( 50% - 750px );

}

.fg-reaflet-pop::before,
.fg-reaflet-pop::after{
    width: 60px;
    right:-70px;
    top:23px;
}
 .fg-reaflet-pop .scroll-text{
        right:-46px;
     top:200px;
}
    /*ポップアップここまで*/ 
    
}/*end min-width: 1600px*/