@charset "UTF-8";

.toppage main {
  padding-bottom: 0;
}

/*----- 共通 ------*/
.cBlock ul {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  text-align: center;
}

.cBlock ul li a {
  height: 100%;
  display: block;
}

.cBlock ul li a img {
  width: 100%;
  height: auto;
}

.cBlock ul li a:hover img {
  transform: scale(1.03);
  transition-duration: 0.3s;
}

.c3b {
  margin-left: -30px;
}

.c3b li {
  width: -webkit-calc(33.3333% - 30px);
  width: calc(33.3333% - 30px);
  margin-left: 30px;
  margin-bottom: 40px;
  background: #fff;
}

@media screen and (max-width: 1024px) {
  .c3b {
    margin-left: -20px;
  }

  .c3b li {
    width: -webkit-calc(33.3333% - 20px);
    width: calc(33.3333% - 20px);
    margin-left: 20px;
    background: #fff;
  }
}

@media screen and (max-width: 768px) {
  .c3b {
    margin-left: -20px;
  }

  .c3b li {
    width: -webkit-calc(50% - 20px);
    width: calc(50% - 20px);
    margin-left: 20px;
  }
}

@media screen and (max-width: 480px) {
  .c3b {
    margin-left: -12px;
  }

  .c3b li {
    width: -webkit-calc(50% - 12px);
    width: calc(50% - 12px);
    margin-left: 12px;
    margin-bottom: 20px;
  }
}


/*---------------------------------------------
  メイン画像
---------------------------------------------*/
.visual {
  position: relative;
  width: 100%;
  height: 800px;
  margin-bottom: 50px;
  z-index: 1;
  overflow: hidden;
}

.visual:after {
  clear: both;
  content: "";
  display: table;
}

.hero-image {
  overflow: hidden;
  width: 78.125%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1
}

.hero-image img {
  height: 100%;
  width: 100%;
}


.hero-text {
  position: absolute;
  top:250px;
  left: 100px;
  z-index: 2;
}

.hero-text h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 8.5rem;
  color: #000;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-text h3 {
  font-weight: 700;
  font-size: 3.2rem;
  letter-spacing: 0.3rem;
  color: #000;
}

@media screen and (max-width: 768px) {
  .visual {
  height: 600px;
}
  .hero-text {
  top:170px;
  left: 40px;
}
  .hero-text h2 {
  font-size: 8rem;
}

.hero-text h3 {
  font-size: 3rem;
}
}

@media screen and (max-width: 480px) {
.visual {
  width: 100%;
  height: 100%;
  margin-bottom: 0;
  overflow: visible;
}

.hero-image {
  width: 100%;
  height: 260px;
  position: relative;
  display: block;
}


.hero-text {
  position: relative;
  display: block;
  top:0;
  left: 0;
  margin-top: -40px;
  margin-left: 10px;
}
  .hero-text h2 {
  font-size: 6rem;
    line-height: 1.1;
}

.hero-text h3 {
  font-size: 2.2rem;
  letter-spacing: 0.05rem;
}
}

/*---------------------------------------------
  アニメテキスト
---------------------------------------------*/
.textRevealContainer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.textReveal {
  overflow: hidden;
  animation: textRevealAnim 2s ease 0.5s forwards;
}

.textReveal > div {
  transform: translateX(100%);
  border-left: 2px solid #1b1b1b;
  overflow: hidden;
  animation: textRevealAnim 2s ease 0.5s forwards,
    borderOpacityAnim 2s ease 0.5s forwards;
}

.textReveal > div > div {
  transform: translateX(-100%);
  animation: textRevealAnim 2s ease 0.5s forwards;
}

@keyframes textRevealAnim {
  to {
    transform: translateX(0);
  }
}

@keyframes borderOpacityAnim {
  50% {
    border-left: 1px solid #1b1b1b;
  }
  100% {
    border-left: 1px solid transparent;
  }
}

.textReveal.x50 {
  transform: translateX(-50%);
}

.textReveal.x100 {
  transform: translateX(-100%);
}

.textReveal.zoom > div {
  transform: translateX(100%) scale(0.5, 0.5);
}

.textReveal.rotateY {
  perspective: 100px; /*adjust according to your need*/
}

.textReveal.rotateY > div {
  transform: translateX(100%) rotateY(20deg);
}



/*---------------------------------------------
  ニュースリスト
---------------------------------------------*/
.top_news {}

.top_news > .innerBox {
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.top_news > .innerBox > .newsTitle {
  flex-basis: 35%;
  text-align: center;
  margin-bottom: 30px;
}

.top_news > .innerBox > .newsTitle > .title {
  margin-bottom: 5px;
}

.newsList {
  text-align: left;
  flex-basis: 65%;
}

.newsList li {
  border-bottom: 1px dotted #ddd;
  margin: 0 0 -1px 0;
  padding: 12px 20px 9px;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.newsList .newsData {
  float: left;
  margin: 0 40px 0 0;
  font-size: 1.5rem;
  color: #808080;
  font-size: 1.3rem;
}

.newsList .newsCategory {
  float: left;
  margin: 0 20px 0 0;
  line-height: 58px;
}

.newsList .newsTitle {
  float: left;
  font-size: 1.5rem;
  font-weight: normal;
}
@media screen and (max-width: 768px) {
  .top_news > .innerBox {
    display: block;
  }
  .top_news > .innerBox > .newsTitle {
  flex-basis: 100%;
  text-align: left;
}
}

/*---------------------------------------------
  こだわり
---------------------------------------------*/
.concept {
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.concept_img {
  width: 48%;
}

.concept_img img {
  width: 100%;
  height: 600px;
}

.concept_txt {
  width: 52%;
  padding-left: 7%;
  padding-right: 7%;
}

@media screen and (max-width: 768px) {
  .concept,
  .concept_img,
  .concept_txt {
    display: block;
    width: 100%;
  }
  .concept_img {
    margin-bottom: 6rem;
  }
  
  
}
@media screen and (max-width: 480px) {
  .concept_img img {
    height: 260px;
  }
}
/*---------------------------------------------
  補助金バナー
---------------------------------------------*/
.bnr-hojo {
 padding-top: 30px;
 padding-bottom: 30px;
}
.bnr-hojo .innerBox img {
 max-width: 100%;
}
/*---------------------------------------------
  ブログ
---------------------------------------------*/

.blog_img {
  position: relative;
	overflow: hidden;
}

.blog_category {
  position: absolute;
  top: -8px;
  right: -7px;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  display: block;
  letter-spacing: 0.04rem;
  background: #28c9a2;
  padding: 5px 14px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -o-border-radius: 15px;
  -ms-border-radius: 15px;
  border-radius: 15px;

}

.blog_textbox {
  text-align: left;
  padding: 4% 2%;
}

.blog_textbox .blog_date {
  font-size: 1.3rem;
  color: #808080;
  margin-bottom: 0.3rem;
}

.blog_textbox .blog_title {
  line-height: 1.4;
  color: #454545;
}

@media screen and (max-width: 480px) {
  .blog_category {
    font-size: 1.1rem;
    top:-7px;
    right: -5px;
    padding: 4px 12px;
  }
}




/*---------------------------------------------
  概要
---------------------------------------------*/
.top_info .innerBox {
  max-width: 764px;
}

.infoTbl {
  width: 100%;
  background: white;
  margin-bottom: 40px;
}

.infoTbl th,
.infoTbl td {
  border-bottom: 1px solid #c6c6c6;
  box-sizing: border-box;
  font-weight: 400;
  font-size: 1.6rem;
  vertical-align: middle;
  line-height: 2;
}

.infoTbl th {
  width: 20%;
  padding: 12px 6px 12px 12px;
  text-align: left;
  font-weight: 700;
}

.infoTbl td {
  text-align: left;
  padding: 12px 15px 12px 0;
}

.gmap iframe {
  width: 100%;
  height: 35vh;
}

@media screen and (max-width: 768px) {
  .infoTbl th {
    text-align: left;
    width: 100%;
    display: block;
    padding: 8px 8px 0;
    border-bottom: none;
  }

  .infoTbl td {
    width: 100%;
    display: block;
    text-align: left;
    padding: 0 8px 12px 8px;
  }

}

/*---------------------------------------------
  バナー
---------------------------------------------*/

.banner {
 border-top: 1px solid #d4d4d4;
}
.bnr-flex {
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.bnr-flex li {
 width: 29%;
}

.bnr-flex li a {
 width: 100%;
 height: 100%;
 display: block;
}

.bnr-flex li img {
 max-width: 100%;
}

@media screen and (max-width: 1024px) {
 .bnr-flex li {
 width: 31%;
}
}

@media screen and (max-width: 768px) {
 .bnr-flex li {
 width: 31.6%;
}
}

@media screen and (max-width: 480px) {
 
 .bnr-flex {
 display: block;
  width: 78%;
  margin-left: auto;
  margin-right: auto;
}

.bnr-flex li {
 width: 100%;
 margin-bottom: 20px;
}
 
}


/*---------------------------------------------
  コンタクトカバー
---------------------------------------------*/
.top_contact {
  background-image: url(../img/info_back.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.contact_title {
  color: #fff;
  font-size: 2.0rem;
  letter-spacing: 0.25rem;
}

/*---------------------------------------------
  バナー
---------------------------------------------*/
.underBnr {
  padding: 30px 0;
  background-color: rgba(32, 32, 32, 1.0);
}

.bnrFlex {
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.bnrFlex li {
  margin: 0 15px;
}

.bnrFlex li img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
