@charset "UTF-8";

/* # ============================================================
   # トップページCSS
   # ============================================================ */

body {
  background-color: #fff;
}
.heading-top {
  font-size: 3.8rem;
  font-weight: bold;
  margin-bottom: 50px;
}
a .link_more, .link_more a {
  background: url(../img/back_arrow.png) no-repeat bottom 4px right 0;
  padding-right: 39px;
  line-height: 1;
  color: #233b6c;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
}
a:hover .link_more, .link_more a:hover {
  color: #00a0e9;
  background-image: url(../img/back_arrow_hover.png);
  -webkit-transition: all .3s;
  transition: all .3s;
}

.top-mainvisual {
  /*margin-top: 115px;*/
  margin-bottom: 115px;
  position: relative;
}
.top-mainvisual .top-inner {
  /*max-width: calc(1920px + 3.57vw);*/
  padding: 0 3.57vw 0 0;
  margin: 0 auto 50px;
  min-height: 45rem;
}
/* .top-mainvisual .top-inner::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #f1f2f6;
  z-index: -2;
} */
.top-mainvisual .top-inner .bkg-top-visual {
  position: relative;
  background: url(../img/top_mainvisual.jpg) no-repeat center top/cover;
  height: 100%;
  /*height: calc(100vh - 30px - 115px);*/
}
.top-mainvisual .top-inner .bkg-top-visual::after {
  content: "";
  position: absolute;
  right: -3.578vw;
  bottom: -50px;
  width: 420px;
  height: 450px;
  background-color: #233b6c;
  z-index: -1;
}
.bkg-top-visual .movie .fa-youtube {
    color: #C90A0A;
    background: #fff;
    margin-right: 1rem;
    padding: 8px 1px 8px 2px;
    line-height: 0;
}

.bkg-top-visual .movie {
    padding: 0 0 0 10vw;
    position: absolute;
    bottom: 4em;
    color: #fff;
    font-size: 1.9rem;
}

.bkg-top-visual .movie p {}

.bkg-top-visual .movie a {
    color: #fff;
    display: block;
    background-image: url("../img/youtube_icon.png");
    background-repeat: no-repeat;
    padding: 0 0 0 40px;
    background-position: center left;
}

.top-maintxt {
  font-size: 2.8vw;
  color: #fff;
  padding: 2.5em 0 0 3.57vw;
  line-height: 1.4;
  text-shadow: 2px 2px 3px rgba(35, 59, 108, 1);
  font-weight: bold;
}
.top-maintxt p {
  margin: 0;
}
.top-maintxt p.text-sub {
  font-size: 60%;
}
.top-topics {
  position: absolute;
  bottom: -30px;
  left: 3.57vw;
  background-color: #fff;
  border: #233b6c 1px solid;
  border-left-width: 5px;
  display: flex;
  padding: 15px 0;
  width: 90%;
  max-width: 840px;
}
.top-topics dt {
  flex-basis: 90px;
  text-align: center;
  color: #233b6c;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
}
.top-topics dd {
  overflow: hidden;
  height:30px;
  width: calc(100% - 100px);
}
.top-topics dd p {
  animation: flowing 5s linear infinite;
  transform: translateY(30px);/*初期位置*/
}
@keyframes flowing {
  100% {
    transform: translateY(-30px);
  }
}

/* ---- メルマガ募集、お問い合わせのバナー
.top-inq {
  background-color: #f1f2f6;
  padding: 40px 0 50px;
  display: flex;
  justify-content: center;
  font-weight: bold;
}
.top-inq li {
  flex-basis: 400px;
  margin: 0 20px;
}
.top-inq li a {
  display: block;
  text-align: center;
  background-color: #fff;
  color: #233b6c;
  padding: 25px 0;
  box-shadow: 5px 5px 0 #233b6c;
}
.top-inq li a span {
  position: relative;
  padding-left: 28px;
}
.top-inq li a span::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 21px;
  height: 15px;
  background: url(../img/ico_mail.png) no-repeat;
}
.top-inq li:nth-child(2) a span {
  padding-right: 18px;
}
.top-inq li:nth-child(2) a span::after {
  position: absolute;
  content: "";
  top: 4px;
  right: 0;
  width: 13px;
  height: 10px;
  background: url(../img/ico_external.png) no-repeat;
}
.top-inq li a:hover {
  color: #fff;
  background-color: #233b6c;
}
.top-inq li a:hover span::before {
  background-image: url(../img/ico_mail_hover.png);
}
.top-inq li:nth-child(2) a:hover span::after {
  background-image: url(../img/ico_external_hover.png);
}
 ---- */

/* --会員募集-- */
.inner-wrap-box {
  width: 90%;
  max-width: 900px;
  margin: 0 auto 60px;
}
.column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.boder-box {
  border: 1px solid #233b6c;
  padding: 20px 3%;
  margin-bottom: calc(30px - (((1.6rem * 1.8) - 1.6rem) / 2));
}
.boder-box  p:last-child {
  margin-bottom: 0;
}
@media only screen and (max-width: 767px) {
.inner-wrap-box {
  margin: 0 auto 40px;
}
}


/* --事業内容-- */
.top-business {
  margin-bottom: 60px;
}
.top-ul-business {
   background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 35px, rgba(241,242,246,1) 35px, rgba(241,242,246,1) 100%);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 35px, rgba(241,242,246,1) 35px, rgba(241,242,246,1) 100%);
  padding-bottom: 40px;
}
.top-ul-business ul {
  display: flex;
  flex-wrap: wrap;
}
.top-ul-business ul li {
  flex-basis: 18.64%;
}
.top-ul-business ul li:not(:last-child) {
  margin-right: 1.7%;
}
.top-ul-business ul li a {
  position: relative;
  display: block;
  background-color: #fff;
  height: 100%;
}
.top-ul-business ul li a:hover::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: #233b6c 2px solid;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.top-ul-business ul li a figure {
  overflow: hidden;
  height: 170px;
  position: relative;
}
.contents-2col .top-ul-business p, .contents-1col .top-ul-business p {
    margin-bottom: 0;
}
.top-ul-business ul li a figure img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  height: 100%;
  width: auto;
}
.top-ul-business ul li a:hover figure img {
  height: 110%;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.top-ul-business ul li a h3 {
  position: relative;
  margin: -14px 7% 20px;
  padding: 5px 0;
  font-size: 1.7rem;
  color: #fff;
  background-color: #233b6c;
  text-align: center;
}
.top-ul-business ul li a p:not(.link_more) {
  padding: 0 7% 75px;
}
.top-ul-business ul li a .link_more {
  position: absolute;
  bottom: 30px;
  left: 7%;
}


.top-carnet-site {
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(241,242,246,1)), color-stop(50%, rgba(241,242,246,1)), color-stop(50%, rgba(255,255,255,1)), to(rgba(255,255,255,1)));
  background: -o-linear-gradient(top, rgba(241,242,246,1) 0%, rgba(241,242,246,1) 50%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
  background: linear-gradient(180deg, rgba(241,242,246,1) 0%, rgba(241,242,246,1) 50%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
}
.top-carnet-site .bkg-carnet {
  background: url(../img/bkg_carnet_site.jpg) no-repeat center top/cover;
  padding: 40px 0 45px;
}
.box-carnet {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px 0;
  background-color: #fff;
  display: flex;
  justify-content: center;
  box-shadow: 5px 5px 0 #233b6c;
}
.box-carnet .box-img {
  flex-basis: 132px;
  margin-right: 7%;
}
.box-carnet .box-txt {
  flex-basis: 380px;
  text-align: center;
}
.link_carnet a {
  display: inline-block;
  width: 240px;
  text-align: center;
  color: #fff;
  background-color: #233b6c;
  padding: 13px 0
}
.link_carnet a span {
  position: relative;
  padding-right: 19px;
}
.link_carnet a span::after {
  position: absolute;
  content: "";
  top: 4px;
  right: 0;
  width: 13px;
  height: 10px;
  background: url(../img/ico_external_white.png) no-repeat;
}
.link_carnet a:hover {
  background-color: #00a0e9;
}



/* --NEWS-- */
.top-news {
  margin-bottom: 60px;
}
.top-news-inner {
  position: relative;
  /*max-width: calc(1920px + 10vw);*/
  padding: 0 0 0 10vw;
  margin: 0 auto;
}
.top-news-inner::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: -50px;
  width: calc(420px + 10vw);
  height: 100%;
  background: url(../img/bkg_top_news.jpg) no-repeat left top/cover;
  z-index: -1;
}
.top-news-box {
  background-color: #f1f2f6;
  display: flex;
  justify-content: flex-start;
  padding: 50px 3.57vw 40px 2.5%;
}
.top-news-box .nav-ul {
  flex-basis: 20%;
}
.top-news-box .top-news-cts {
  flex-basis: 77%;
  margin-left: 3%;
  max-width: 1380px;
}
.top-news-box .top-news-cts div {
    display: none;
}
.top-news-box .nav-ul li:first-child a,
.top-news-box .nav-ul li:first-child a.active,
.top-news-box .nav-ul li:first-child a:hover {
  padding-top: 0;
}
.top-news-box .nav-ul li a {
  display: block;
  padding: 15px 0 ;
  border-bottom: #dddddd 1px solid;
}
.top-news-box .nav-ul li a.active, .top-news-box .nav-ul li a:hover {
  font-weight: bold;
  padding: 15px 0 14px;
  border-bottom: #233b6c 2px solid;
}
.top-news-cts .news-list span {
    margin-left: 1%;
}
.top-news-cts .news-list dt {
    margin-bottom: 8px;
}
.top-news-cts .news-list dd {
  border-bottom: 1px solid #dddddd;
  padding-bottom: 18px;
  margin-bottom: 18px;
}.top-news-cts .news-list dd a {
  color: #333;
}
.top-news-cts .news-list dd a:hover {
  color: #233b6c;
  text-decoration: underline;
}
.top-news-cts .news-list dd:last-child {
  margin-bottom: 25px;
}
.top-news-cts .link_more {
  text-align: right;
  margin-bottom: 0;
}


/* # ============================================================
   # 767px~979pxここから
   # ============================================================ */

@media only screen and (max-width: 979px) and (min-width: 768px) {
/* --トップページ-- */
.top-maintxt {
  font-size: 3.5vw;
  }
  
/* --事業内容-- */
.top-ul-business ul li {
  flex-basis: 32.2%;
}
.top-ul-business ul li:nth-child(n+1):nth-child(-n+3) {
  margin-bottom: 16px;
  }
.top-ul-business ul li:nth-child(3) {
  margin-right: 0;
  }

}



/* # ============================================================
   # 0~767pxここから
   # ============================================================ */

@media only screen and (max-width: 767px) {
.heading-top {
  font-size: 3rem;
  margin-bottom: 40px;
}

.top-mainvisual {
  margin-top: 75px;
  margin-bottom: 55px;

}
.top-mainvisual .top-inner {
  max-width: none;
  padding: 0;
  margin: 0;
}
.top-mainvisual .top-inner::after {
  content: none;
}
.top-mainvisual .top-inner .bkg-top-visual {
  height: calc(100vh - 30px - 75px);
}
.top-mainvisual .top-inner .bkg-top-visual::after {
  content: none;
}
.bkg-top-visual .movie {

font-size: 1.4rem;

bottom: 6em;
}

	
.top-maintxt {
  font-size: 2.4rem;
  text-align: center;
  padding: 30% 2vw 0 2vw;
}
.top-maintxt p {
  margin: 0;
}
.top-maintxt p:first-child {
  /*padding-top: calc(75px + 10%);*/
}
.top-maintxt p:last-child {
  /*bottom: 20%;
  position: absolute;
  text-align: center;
  width: 93%;*/
}
.top-topics {
  width: calc(100% - 3.57vw - 3.57vw);
  max-width: none;
  display: block;
  padding: 11px 4%;
  line-height: 1.57;
}
.top-topics dt {
  text-align: left;
}
.top-topics dd {
  width: 100%;
  height: 40px;
}
@keyframes flowing {
  100% {
    transform: translateY(-40px);
  }
}

/* ---- メルマガ募集、お問い合わせのバナー
.top-inq {
  display: block;
  padding: 60px 0 50px;
}
.top-inq li {
  margin: 0 8%;
}
.top-inq li:not(:last-child) {
  margin-bottom: 15px;
}
.top-inq li a {
  padding: 15px 0;
}
 ---- */


/* --事業内容-- */
.top-business {
  margin-bottom: 50px;
}
.top-ul-business {
   background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 23px, rgba(241,242,246,1) 23px, rgba(241,242,246,1) 100%);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 23px, rgba(241,242,246,1) 23px, rgba(241,242,246,1) 100%);
}
.top-ul-business ul {
  display: block;
}
.top-ul-business ul li:not(:last-child) {
    margin-right: 0;
    margin-bottom: 30px;
}
.top-ul-business ul li a:hover::after {
  content: none;
}
.top-ul-business ul li a figure {
  overflow: visible;
  height: auto;
}
.top-ul-business ul li a figure img {
  position: relative;
  top: auto;
  left: auto;
  -webkit-transform: none;
      -ms-transform: none;
          transform: none;
  width: 100%;
  height: auto;
}
.top-ul-business ul li a:hover figure img {
  height: auto;
}

.box-carnet {
  max-width: none;
  margin: 0 4.5%;
  display: block;
  padding: 25px 0;
}
.box-carnet .box-img {
  margin-right: 0;
  margin-bottom: 20px;
  text-align: center;
}
.box-carnet .box-img img {
  width: auto;
}
.box-carnet .box-txt {
}



/* --NEWS-- */
.top-news {
   background: -o-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 26px, rgba(241,242,246,1) 26px, rgba(241,242,246,1) 100%);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 26px, rgba(241,242,246,1) 26px, rgba(241,242,246,1) 100%);
  padding-bottom: 40px;
  margin-bottom: 0;
}
.top-news-inner {
  max-width: none;
  padding: 0 5%;
  margin: 0;
}
.top-news-inner::before {
  content: none;
}
.top-news-box {
  background-color: transparent;
  display: block;
  padding: 0;
}
.top-news-box .nav-ul {
  display: flex;
  text-align: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.top-news-box .nav-ul li {
  flex-basis: 50%;
}
.top-news-box .nav-ul li a {
  display: block;
  padding: 13px 0;
}
.top-news-box .nav-ul li a.active, .top-news-box .nav-ul li a:hover {
  padding: 13px 0 12px;
}
.top-news-box .nav-ul li:first-child a,
.top-news-box .nav-ul li:first-child a.active,
.top-news-box .nav-ul li:first-child a:hover {
  padding-top: 13px;
}


}


