@charset "utf-8";

/* -------------------------------------------------------------------------------------------------
#mainvisual
------------------------------------------------------------------------------------------------- */
#mainvisual {
  position: relative;
  min-width: 1200px;
  }

#mainvisual .movie {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 29.444%;
  }

#mainvisual .movie:before {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  padding-top: 29.444%;
  position: absolute;
  top: 0;
  left: 0;
  background: url("../img/mainvisual/loading.jpg") no-repeat;
  background-size: cover;
  }

#mainvisual .movie:after {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  padding-top: 29.444%;
  position: absolute;
  top: 0;
  left: 0;
  background: url("../img/mainvisual/effect.png");
  }

#mainvisual .movie.bk:after {
  background: url("../img/mainvisual/effect_bk.png");
  }

#mainvisual .movie .inline-YTPlayer {
  width: 100%;
  height: 100%;
  max-width: 100% !important;
  position: absolute !important;
  top: 0;
  padding: 0 !important;
  }

#mainvisual .movie .inner {
  width: 100%;
  height: 100% !important;
  padding-bottom: 0 !important;
  }

#mainvisual .slides {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 29.444%;
  }

#mainvisual .slides .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  }

#mainvisual .slides .slide img {
  width: 100%;
  height: 100%;
  }

#mainvisual .flickity-viewport {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100% !important;
  }

#mainvisual .flickity-page-dots {
  bottom: 20px;
  z-index: 100;
  }

#mainvisual .flickity-page-dots .dot {
  background: #fff;
  opacity: 1;
  }

#mainvisual .flickity-page-dots .dot.is-selected {
  background: #0B3291;
  }

#mainvisual .txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  }

#mainvisual .txt h3 {
    margin-top: 20px;
    color: #0b318f;
    font-size: 5rem;
    font-weight: bold;
    letter-spacing: 10px;
    text-align: center;
    line-height: 140%;
  }


#mainvisual .txt p {
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
  }

#mainvisual .txt .button {
  }

#mainvisual .txt .button a {
  }

@media print,screen and (min-width: 769px) {
	#mainvisual .txt h3 ,
	#mainvisual .txt p {
		color:#fff;
	}
}

/* -------------------------------------------------------------------------------------------------
#column1
------------------------------------------------------------------------------------------------- */
#column1 {
  background: #fff;
  border-bottom:solid 1px #ccc;
  }

#column1 > .inner > .box {
  display: flex;
  justify-content: space-between;
  padding: 30px 0 0;
  }

#column1 > .inner > .box > div {
  width: 48.5%;
  }

#column1 .three_box .title,
#column1 .three_box .image,
#column1 .three_box .txt{
  width:auto;
}


#column1 .box .link {
  margin-bottom: 25px;
  }

#column1 .box .link:last-child {
  margin-bottom: 0;
  }

#column1 .box a {
  display: block;
  }

#column1 .box a > div {
  display: flex;
  margin-bottom: 10px;
  border: 1px solid #eee;
  }

#column1 .box > div:nth-of-type(1) .image {
  flex: 0 0 379px;
  }

#column1 .box > div:nth-of-type(2) .image {
  flex: 0 0 292px;
  }


#column1 .box > div:nth-of-type(2) .image.serviceTop {
  flex: 0 0 379px;
  }


#column1 .box2 {
  padding-bottom:30px;
  }

#column1 .box2 > div:nth-of-type(1) .image {
  flex: 0 0 292px;
  }


#column1 > .inner > .box .image img {
  width: 100%;
  }

#column1 .box .txt {
  position: relative;
  flex: 1 1 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #212121;
  font-size: 2rem;
  font-weight: bold;
  background: #fff;
  }

#column1 .three_box .txt{
  font-style: normal;
    font-weight: normal;
    font-size: 1.6rem;
    flex: 1 1 auto;
    display: table-cell;
    vertical-align: middle;
}

#column1 .three_box .txt:before,
#column1 .three_box .txt:after{
  display:none;
}


#column1 .box > div:first-child .txt {
  text-indent: -9999px;
  background: #fff url("../img/top/top_text_1.jpg") no-repeat center center;
  }

#column1 .box2 > div:first-child .txt {
  text-indent: 0;
  background: none;
  }


#column1 .box .txt:before {
  content: "";
  border-top: 50px solid transparent;
  border-right: 50px solid #313131;
  position: absolute;
  right: 0;
  bottom: 0;
  }

#column1 .box .txt:after {
  content: "";
  width: 4px;
  height: 4px;
  border: 0px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  bottom: 10px;
  right: 13px;
  margin-top: -2px;
  transition: .3s;
  }

#column1 .box p {
  }



/* -------------------------------------------------------------------------------------------------
#column2
------------------------------------------------------------------------------------------------- */
#column2 {
/*  background: #FAFAFA url("../img/top/top_bg_1.jpg") no-repeat left center;
  background-size: auto 100%; */
  border-bottom:solid 1px #ccc;
  }



/* -------------------------------------------------------------------------------------------------
#column3
------------------------------------------------------------------------------------------------- */
#column3 {
  background: #fff;
  border-bottom:solid 1px #ccc;
  }



/* -------------------------------------------------------------------------------------------------
#column4
------------------------------------------------------------------------------------------------- */
#column4 {
  background: #fff;
  }



/* -------------------------------------------------------------------------------------------------
#column5
------------------------------------------------------------------------------------------------- */
#column5 {
  }

#column5 .news {
  margin-top: 45px;
  margin-bottom: 50px;
}



/*-------------------------------------------------------------------------------------------------
  iPadサイズ
  768px
--------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {

/* -------------------------------------------------------------------------------------------------
#mainvisual
------------------------------------------------------------------------------------------------- */
#mainvisual {
  min-width: 100%;
  padding-top: 42px;
  }

#mainvisual .movie {
  position: relative;
  padding-top: 84.375%;
  background: url("../img/mainvisual/x2/main_image.jpg") no-repeat;
  background-size: cover;
  }

#mainvisual .movie:before {
  display: none;
  }

#mainvisual .movie:after {
  display: none;
  }

#mainvisual .movie .inline-YTPlayer {
  display: none;
  }

#mainvisual .slides {
  position: relative;
  padding-top: 84.375%;
  background: url("../img/mainvisual/x2/main_image.jpg") no-repeat;
  background-size: cover;
  }

#mainvisual .txt {
  top: 42px;
  }

#mainvisual .txt h3 {
  height: auto;
  margin-top: -50px;
  margin-bottom: 10px;
  font-size: 8vw;
  letter-spacing: 10px;
  width: 100%;
  margin-right: 0;
  text-align: center;
  }

#mainvisual .txt p {
  margin-bottom: 20px;
  font-size: 4vw;
  text-align: center;
  }

#mainvisual .flickity-viewport {
  display: none;
  }

#mainvisual .flickity-page-dots {
  display: none;
  }



/* -------------------------------------------------------------------------------------------------
#contents
------------------------------------------------------------------------------------------------- */
#contents {
  padding-top: 0;
  }



/* -------------------------------------------------------------------------------------------------
#column1
------------------------------------------------------------------------------------------------- */
#column1 {
  }

#column1 > .inner > .box {
  display: block;
  padding: 15px 0 0;
  }

#column1 .box2 {
  padding: 0 0 15px;
  }


#column1 > .inner > .box > div {
  width: 100%;
  }

#column1 .box .link {
  margin-bottom: 15px !important;
  }

#column1 .box a {
  }

#column1 .box a > div {
  margin-bottom: 10px;
  }

#column1 .box > div:nth-of-type(1) .image {
  flex: 0 0 148px;
  }

#column1 .box > div:nth-of-type(2) .image {
  flex: 0 0 148px;
  }

#column1 .box > div:nth-of-type(2) .image.serviceTop {
  flex: 0 0 148px;
  }


#column1 > .inner > .box .image img {
  display: block;
  }

#column1 .box .txt {
  font-size: 4vw;
  }

#column1 .box > div:first-child .txt {
  background: #fff url("../img/top/x2/top_text_1.jpg") no-repeat center center;
  background-size: 106.5px 36px;
  }

#column1 .box2 > div:first-child .txt {
  text-indent: 0;
  background: none;
  }

#column1 .box .txt:before {
  border-top: 30px solid transparent;
  border-right: 30px solid #313131;
  }

#column1 .box .txt:after {
  right: 6px;
  bottom: 6px;
  }

#column1 .box p {
  }



/* -------------------------------------------------------------------------------------------------
#column2
------------------------------------------------------------------------------------------------- */
#column2 {
  background: #fff;
  }



/* -------------------------------------------------------------------------------------------------
#column3
------------------------------------------------------------------------------------------------- */
#column3 {
  }



/* -------------------------------------------------------------------------------------------------
#column4
------------------------------------------------------------------------------------------------- */
#column4 {
  }



/* -------------------------------------------------------------------------------------------------
#column5
------------------------------------------------------------------------------------------------- */
#column5 {
  }


#column5 .news {
  margin-top: 25px;
  margin-bottom: 30px;
  }


#column1 .three_box .txt{
  font-style: normal;
    font-weight: normal;
    font-size: 1.4rem;
    flex: 1 1 auto;
    display: table-cell;
    vertical-align: middle;
}
}
