@charset "utf-8";
/* CSS Document */

/*=========================================
    +common
=========================================*/
.title-header {
    background: url("../images/title-nousya.jpg") center no-repeat;
    background-size: auto;
}

/*=========================================
    +modal
=========================================*/
#nousya-list {
    margin: 50px auto 30px;
}
#nousya-list li {
    width: calc(93.2%/6);
    margin: 0 1.3% 20px 0;
    float: left;
}
#nousya-list li img {
    width:100%;
}
#nousya-list li:nth-child(6n) {
	margin: 0 0 20px 0;
}

.modal_open{
    display: inline-block;
    /*margin: 3vw;
    float: left; */
    cursor: pointer
}

.modal_box {
    position: fixed;
    z-index: 7777;
    display: none;
    width: 100vw;
    margin: 0;
    padding: 60px 0;
    text-align: center;
    background: #e3e3e3;
    box-sizing: border-box;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
 .modal-inner {
    display: flex;
     max-width: 1100px;
     margin: 0 auto;
     width: 95%;
     background:#fff;
     position: relative
}
.modal_close {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 40px;
    font-size: 35px;
    color: #000;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}
 
.modal_close i {
    line-height: 40px;
    vertical-align: bottom;
}
 
.modal_bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 6666;
    display: none;
    width: 100%;
    height: 120%;
    background-color: rgba(0,0,0,0.7);
}
 
 
@media screen and (max-width: 769px) {
 
 
  .modal_box {
      padding: 15px 0;
  }
 
  .modal_close {
      width: 40px;
      line-height: 40px;
      font-size: 30px;
  }
 
  .modal_close i {
      line-height: 44px;
  }
 
  .link_area {
      margin: 25px auto 0;
  }
 
  .link_area .modal_link a {
      margin: 15px auto 0;
  }
 
  .link_area ul li.modal_link:first-child a {
      float: none;
      margin-top: 0;
  }
 
  .link_area ul li.modal_link:last-child a {
      float: none;
  }
 
}


.modal-img {
    width: 50%;
}
.modal-text {
    width: 50%;
    background-color: #fff;
    box-sizing: border-box;
    padding: 80px 30px;
    text-align: left
}
.nousya-car-data span {
    color: #fff;
    background-color: #000;
    padding:  0 10px;
    font-size: 14px;
    font-weight: normal;
    margin: 0 0 10px;
}
.nousya-car-data {
    font-size: 24px;
    font-weight: 700;
    padding: 0 0 30px;
    border-bottom: 1px solid #000;
}
.nousya-car-date {
    padding: 30px 0 0;
}
.thank-you {
    font-size: 36px;
    font-weight: bold;
    text-align: right;
    position: absolute;
    bottom: 20px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px 0 0;
    color: #e3e3e3
}

.img-wrap {
	overflow: hidden;	
	width:auto;
    background: #000;
}
.img-wrap img {
	display: block;
	transition-duration: 0.5s;	
}
.img-wrap img:hover {
    
	transform: scale(1.1);	
	transition-duration: 0.5s;
    opacity: 0.5;	
    
}
@media screen and (max-width: 769px) {
    #nousya-list li {
        width: 48%;
        /*margin: 0 0 15px 0;*/
        float: left;
    }
    
    #nousya-list li:nth-child(even) {
        /*float: right;*/
    }

     .modal-inner {
        display: block;
         width: 90%
    }
    .modal-img {
        width: 100%;
    }
    .modal-text {
        width: 100%;
        padding: 20px 30px;
    }
    .nousya-car-data span {
        color: #fff;
        background-color: #000;
        padding:  0 10px;
        font-size: 14px;
        font-weight: normal;
        margin: 0 0 10px;
    }
    .nousya-car-data {
        font-size: 24px;
        font-weight: 700;
        padding: 0 0 10px;
        border-bottom: 1px solid #000;
    }
    .nousya-car-date {
        padding: 20px 0 60px;
    }
    .thank-you {
        font-size: 28px;
       
    }

    #nousya-list {
        margin: 20px auto 30px;
    }

    #nousya-list li{
        margin: 0px 4% 10px 0;
    }

    #nousya-list li:nth-child(2n){
        margin: 0px 0px 10px 0;
    }


    
}


#nousya_page {
	margin: 0 auto 50px;
    text-align: center;
    width: 100%;
    text-align: right;
}
#nousya_page .page {
    margin: 0 5px 0;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    font-size: 15px;
    line-height: 30px;
    border: 1px solid #000;
}
#nousya_page .page:hover,
.page_sel {
    background: #000;
    color: #fff;
}




