@charset "utf-8";
/* CSS Document */

.bg-main,.bg-point-index {
    background-image: url(../img/point-foundation-bg.jpg);
}


.title{
    position: relative;
}
.title .page-title {
    max-width: 380px;
    width: 80%;
    margin: 0 auto ;
    border: 3px solid #000;
    background-color:rgba(255,255,255,0.8);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
}
.title .page-title .txt{
    position: relative;
    padding: 70px 0;
}

.title .page-title .txt::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #8FC31F;
}
.title .page-title h1 {
    font-size: 1.6em;
    letter-spacing: .2em;
    font-weight: bold;
    text-align: center;
}
.title .page-title p {
    position: absolute;
    left: 15px;
    bottom: 15px;
    font-weight: bold;
    font-size: .8em;
    font-family: "Roboto", sans-serif;
}

.foundation-list {
    padding-top: 70px;
    position: relative;
}
.foundation-list .bg{
    background-color: #F3F3F1;
    height: 60%;
    width: 100%;
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);
    z-index: -1;
}
.foundation-list .inr {
    max-width: 980px;
    width: 95%;
    margin: 0 auto;
}
.foundation-list .num-title {
    font-size: 5em;
    font-family: 'Open Sans Condensed', sans-serif;
    text-align: center;
}
.foundation-list .num-title span {
    position: relative;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: .4em;
    line-height: 2;
    text-align: center;
    display: block;
    padding: 20px 0;
    font-family: "游ゴシック", "Yu Gothic", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体","ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}
.foundation-list .num-title span::before{
    position: absolute;
    content: '';
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit- transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background-color: #000;
}
.foundation-list .num-title span::after{
    position: absolute;
    content: '';
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit- transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background-color: #000;
}
.foundation-list .num-title span span {
    font-size: .6em;
    font-family: 'Libre Baskerville', serif;
    display: block;
    font-style: italic;
    letter-spacing: .05rem;
    padding: 0;
}
.foundation-list .num-title span span::before,.foundation-list .num-title span span::after {
    display: none;
}
.foundation-list .one-pic {
    width: 100%;
    margin-top: 80px;
}
.foundation-list .one-pic img {
    width: 100%;
}
.foundation-list .pic {
    width: 100%;
    margin-top: 20px;
}
.foundation-list .pic ul{
    display: flex;
    display:-webkit-box;
  	display:-ms-flexbox;
    flex-direction: row;
    -webkit-box-orient: horizontal;
  	-webkit-box-direction: normal;
  	-ms-flex-direction: row;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: space-between;
    -webkit-box-pack: justify;
	-ms-flex-pack: justify;
}
.foundation-list .pic ul li{
    width: 33%;
}
.foundation-list .pic ul li img {
    width: 100%;
}
.foundation-list .txt {
    margin-top: 20px;
}
.foundation-list .txt h3 {
    position: relative;
    font-size: 1.6em;
    padding-bottom: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}
.foundation-list .txt h3::after{
    position: absolute;
    content: '';
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit- transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background-color: #000;
}
.foundation-list .txt p {
    line-height: 1.8;
    font-weight: bold;
}

.pager {
    padding-top: 100px;
    margin-bottom: 100px;
}
.pager .inr {
    max-width: 880px;
    width: 80%;
    margin: 0 auto;
}
.pager ul {
    display: flex;
    display:-webkit-box;
  	display:-ms-flexbox;
    flex-direction: row;
    -webkit-box-orient: horizontal;
  	-webkit-box-direction: normal;
  	-ms-flex-direction: row;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: space-between;
    -webkit-box-pack: justify;
	-ms-flex-pack: justify;
    align-items: center;
}
.pager li {
    width: 40%;
}
.pager li a{
    color: #B5B5B6;
    position: relative;
    font-size: 1.2em;
    text-decoration: none;
}
.pager li:nth-child(1) a::before{
    position: absolute;
    top: 50%;
    left: -20px;
    display: block;
    width: 0.5em;
    height: 0.5em;
    content: "";
    border-right: 2px solid #B5B5B6;
    border-bottom: 2px solid #B5B5B6;
    -webkit-transform: rotate(-225deg);
    -ms-transform: rotate(-225deg);
    transform: rotate(-225deg);
    margin-top: -0.25em;
    transition:all .5s;
}
.pager li:nth-child(1) a:hover::before{
    left: -10px;
}
.pager li:nth-child(2) {
    text-align: right;
}
.pager li:nth-child(2) a::after{
    position: absolute;
    top: 50%;
    right: -20px;
    display: block;
    width: 0.5em;
    height: 0.5em;
    content: "";
    border-right: 1px solid #B5B5B6;
    border-bottom: 1px solid #B5B5B6;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-top: -0.25em;
    transition:all .5s;
}
.pager li:nth-child(2) a:hover::after{
    right: -10px;
}

@media only screen and (max-width: 1024px) {

.foundation-list {padding-top: 110px;}

}

@media only screen and (max-width: 768px) {
    
.title .page-title .txt{
    padding: 50px 0;
}
    

.foundation-list {
    padding-top: 100px;
}
.foundation-list .num-title {
    font-size: 4em;
}
.foundation-list .num-title span {
    font-size: 1.2rem;
    padding: 10px 0;
}
.foundation-list .one-pic {
    margin-top: 40px;
}
.foundation-list .pic {
    margin-top: 10px;
}
.foundation-list .txt {
    margin-top: 10px;
}
.foundation-list .txt h3 {
    position: relative;
    font-size: 1.1em;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
    
   
.pager {
    padding-top: 50px;
    margin-bottom: 50px;
}
.pager .inr {
    width: 90%;
}
.pager li {
    width: 45%;
}   
.pager li a{
    font-size: 1.1em;
}
.pager li:nth-child(1) a::before{
    left: -10px;
}
.pager li:nth-child(2) a::after{
    right: -10px;
}
    
}