@charset "UTF-8";

html, body {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
header, footer{
    position:fixed;
    width: 100%;
    background: #fff;
    z-index:9;
    min-width:0px;
}
header{
    top:0;
    height: 70px;
    border-bottom:1px solid #ccc;
}
footer{
    bottom:0;
    height: auto;
}
.warp{
    padding-bottom: 0;
}

#fullPageScroll {
  width: 100%;
  scroll-snap-type: y mandatory;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  height: 100vh;
}
.pagination {
  position: fixed;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
}

.pagination a {
  display: block;
  width: 12px;
  height: 12px;
  margin: 24px 0;
  border-radius: 50%;
  background-color: #fcfcfc;
  transition: transform 0.2s;
}

.pagination a.active {
  transform: scale(1.8);
}

/* main */
.jacc-main-scroll{
    margin: 0 auto;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items:center;
    align-items:center;
}

#jacc-main{
    width: 50%;
    min-width: 600px;
    color: #333;
    text-align: center;
    padding: 0 30px;
    box-sizing: border-box;
}
#jacc-logo img{
    margin-bottom: 30px;
    max-width: 550px;
    width: 100%;
}
#jacc-catch{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 36px;
    font-weight: bold;
    padding-bottom: 20px;
}
#jacc-catch span{
    display: block;
    font-size: 18px;
    line-height: 1.4;
    padding-bottom: 10px;
}
.search input[type="text"] {
    max-width: 536px;
    width : -webkit-calc(100% - 54px) ;
    width : calc(100% - 54px) ;
    border:1px solid #222;
}
#jacc-main-photo{
    width: 50%;
    min-width: 585px;
}
#jacc-main-photo img{
    width: 100%;
}
/* second jacc-db */


.db-box-flex{
    max-width: 870px;
    margin: 0 auto;
    display: -webkit-flex;
    display: flex;
    flex-flow: wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items:flex-start;
    align-items:flex-start;
    padding: 30px 0 40px 0;
}
#jacc-db-ttl{
    color: #222;
    padding: 0 0 50px 50px;
}
#jacc-db-ttl h2{
    font-size: 42px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
}
#jacc-db-ttl p{
    font-size: 20px;
    line-height: 1.6;
}
.db-box-flex .box {
    text-align: center;
    width: 250px;
    margin: 15px 0;
}

.db-box-flex .box img{
    width:100%;
    max-width:180px;
    border: 1px solid #ccc;
}
.db-box-flex .box h3{
    font-size: 20px;
    font-weight: bold;
    line-height: 1.2;
    margin: 3px 0 5px;
}

#jacc-db-ttl{
  padding: 0 0 10px 50px;
}
#jacc-db-ttl h2{
  margin-bottom: 0;
}
.db-box-flex .box {
  margin: 10px 0;
  width: 220px;
}
.db-box-flex .box img{
  max-width:150px;
}
/* fourth_about */
#jacc-top-fourth{
    background: url(../img/top_about_bg.png) no-repeat center center;
    background-size: cover;
}
#jacc-about{
    color:#222;
    float: right;
    max-width: 960px;
    padding:0 60px 40px;
    box-sizing:border-box;
}
#jacc-about h2{
    font-size: 64px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 0 15px;
    max-width: 50%;
    min-width: 600px;
}
#jacc-about h2 span{
    font-size: 48px;
    font-weight: bold;
}
#jacc-about p{
    font-size: 19px;
    line-height: 1.6;
    min-width: 450px;
}
/* third_news */
#jacc-top-third{
    background: url(../img/top_news_bg.jpg) no-repeat center center;
    background-size: cover;
}
#jacc-news{
    color:#222;
    max-width: 960px;
    box-sizing:border-box;
}
#jacc-news .nwes__area{
    overflow-y: auto;
    max-height: 460px;
    min-height: 180px;
    min-width: 840px;
}
#jacc-news h2{
    font-size: 52px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 30px;
    max-width: 50%;
    min-width: 600px;
}
#jacc-news h2 span{
    font-size: 48px;
    font-weight: bold;
}
#jacc-news p{
    font-size: 20px;
    line-height: 1.6;
    min-width: 450px;
}
#jacc-news .news-list{
    display:table;
    line-height:1.6;
}
#jacc-news .news-date{
    display:table-cell;
    font-size:20px;
}
#jacc-news .news-date-text{
    padding: 0 0 0 20px;
}
i.reg_l{
    font-size: 0.6em;
    font-style: normal;
    line-height: 1.0;
    vertical-align: bottom;
}
i.reg_s{
    font-size: 0.8em;
    font-style: normal;
    line-height: 1.4;
    vertical-align: bottom;
}
i.reg_f{
    font-size: 0.8em;
    font-style: normal;
    line-height: 1.0;
    vertical-align: bottom;
}
.scl {
  text-decoration:none;
  position: absolute;
  bottom: 40px;
  left: 50%;
  padding-top: 0;
  z-index: 2;
  display: block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  text-decoration: none;
  width: 50px;
  height: 50px;
}
.scl span {
  position: absolute;
  top: 0;
  left: calc(50% - 25px);
  -webkit-left: calc(50% - 25px);
  font-size:5.0rem;
  color:#222;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  box-sizing: border-box;
}

#jacc-top-first{
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
#jacc-top-second{
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
#jacc-top-third{
  display: flex;
  justify-content: center;
  align-items: center;
}
#jacc-top-fourth{
  display: flex;
  justify-content: center;
  align-items: center;
}
.section {
  position: relative;
  width: 100%;
  height: 100vh;
  scroll-snap-align: start;
}

@-webkit-keyframes sdb {
  0% {
    -webkit-transform: rotate(90deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotate(90deg) translate(10px, 0px);
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    transform: rotate(90deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(90deg) translate(10px, 0px);
    opacity: 0;
  }
}
@media screen and (max-width:960px) {
     .scl {
        bottom: 90px;
    }
    footer{
            padding: 0px 30px;
    }
     .footer-banner, .footer-copy{
        float:none!important;
        text-align:center!important;
        padding:8px 0;
     }
}
@media screen and (max-height:850px) {
/* second jacc-db */
#jacc-db-ttl{
}
#jacc-db-ttl h2{
  font-size: 30px;
  margin-bottom: 0;
}
.db-box-flex .box {
  font-size: 13px;
}
.db-box-flex .box h3{
  font-size: 16px;
}
/* third_news */
	#jacc-news h2 {
		font-size: 42px;
	}
	#jacc-news .news-date {
		font-size: 16px;
	}
/* fourth_about */
	#jacc-about h2 {
		font-size: 42px;
	}
	#jacc-about h2 span {
		font-size: 32px;
		font-weight: bold;
	}
	#jacc-about p {
		font-size: 16px;
		line-height: 1.6;
	}
}

