/* common */
.subpage { overflow: hidden; position:relative; text-align: center; }
.subpage > section {padding: 90px 0; position: relative; }
.subpage > section:nth-of-type(even) {background: #f7f7f7;}
.sub_inner { padding: 0 50px; margin: 0 auto; max-width: 1400px; width: 100%; position: relative;}
.sub_tit {margin-bottom: 50px;}
.sub_tit h2 {display: inline; position: relative;}
.sub_tit h2::after {content: ''; display: block; width: 15px; height: 15px; background-color: #129cfd; border-radius: 50%; right: -19px; top: -9px; position: absolute;}

/* font size */
.fs_60 {font-size: 60px; font-weight: 700; color:#000; line-height: 1.3; }
.fs_32 {font-size: 32px; font-weight: 600; color:#111; line-height: 1.56; }
.fs_24 {font-size: 24px; font-weight: 400; color:#000; line-height: 1.58; }
.fs_20 {font-size: 20px; font-weight: 700; color:#111; line-height: 1.58; }
.fs_18 {font-size: 18px; font-weight: 300; color:#111; line-height: 1.83; }

/*Content CSS*/
#sec1 {text-align: center; }
#sec1 .list {display: flex; flex-wrap: wrap; }
#sec1 .list > li {width: calc(25% - 11.25px); height: 180px; margin-right: 15px;}
@media screen and (min-width:1401px) {
    #sec1 .list > li:nth-child(4n) {margin-right: 0;}
    #sec1 .list > li:nth-child(n+5) {margin-top: 30px;}
}

#sec1 .list a {display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; transition: background-color .3s; background-color: #f5f5f5;}
#sec1 .list h3 {transition: color .3s;}
#sec1 .list p {display: inline-block; color: rgba(29, 29, 31, 0.5); border-bottom: 1px solid rgba(29, 29, 31, 0.3);  margin:10px 0 20px;
font-size: 15px; font-weight: 300;  transition: all .3s;}
#sec1 .list span {display: flex; align-items: center; justify-content: center; width: 130px; height: 40px; border:1px solid #ddd; background-color: #fff; font-size: 16px;
font-weight: 500; color:#1d1d1f; transition: all .3s;}
#sec1 .list span i {display: block; transition: background-image .3s; margin-left: 8px; width: 16px; height: 15px; background:url("../img/link_icon.png") 50%/contain no-repeat; }

/* hover */
#sec1 .list a:hover {background-color: #129cfd; }
#sec1 .list a:hover h3 {color:#fff;}
#sec1 .list a:hover p {color:rgba(255, 255, 255, 0.5); border-color:rgba(255, 255, 255, 0.5);}
#sec1 .list a:hover span {color:#129cfd; border-color: #129cfd; }
#sec1 .list a:hover span i {background-image:url("../img/link_icon_hv.png");}







@media screen and (max-width:1400px) {
    /* common */
    .subpage br:not(.space) {display: none;}

    /* content */
    #sec1 .list > li {width: calc(33.3% - 10px);}
    @media screen and (min-width:1025px) {
        #sec1 .list > li:nth-child(3n) {margin-right: 0;}
        #sec1 .list > li:nth-child(n+4) {margin-top: 30px;}
    }


}


@media screen and (max-width: 1024px) {
    /* common */
    .subpage {text-align: center;}
    .subpage > section {padding: 70px 0; }
    .sub_inner {padding:0 30px;}
    /* font size */
    .fs_60 {font-size: 40px;  }
    .fs_32 {font-size: 25px; }
    .fs_24 {font-size: 20px; }
    .fs_20 {font-size: 17px; }
    .fs_18 {font-size: 15px; line-height: 1.65;}

    /* content */
    #sec1 .list > li {width: calc(50% - 10px); margin-right: 20px; height: auto;}
    @media screen and (min-width:641px) {
        #sec1 .list > li:nth-child(2n) {margin-right: 0;}
        #sec1 .list > li:nth-child(n+3) {margin-top: 30px;}
    }
    #sec1 .list a {padding: 30px 0;}

}

@media screen and (max-width: 640px) {
    /* common */
    .subpage > section {padding: 50px 0;}
    .sub_inner {padding:0 20px;}
    .sub_tit {margin-bottom: 30px;}
    .sub_tit h2::after { width: 10px; height: 10px; right: -15px; top: -5px;}

    /* font size */
    .fs_60 {font-size: 32px;  }
    .fs_32 {font-size: 20px;  }
    .fs_24 {font-size: 17px; }
    .fs_20 {font-size: 16px; }
    .fs_18 {font-size: 13px;}

    /* content */
    #sec1 .list > li {width:100%; margin-right: 0;}
    #sec1 .list > li:nth-child(n+2) {margin-top: 15px;}

    #sec1 .list h3 {font-size: 18px;}
    #sec1 .list p {font-size: 13px;}
}
