@charset "utf-8";
/* main
-----------------------------------*/
article {
  padding-top: 170px;
}
#home article {
  padding-top: 120px;
}
#home section .contents {
  max-width: 1200px;
  width: 80%;
  margin: 0 auto;
  padding: 100px 0;
}
.index .main-sec {
  position: relative;
  text-align: center;
}
.index .main-sec .contents {
  padding: 50px 0;
}
.index .main-sec .contents p {
  line-height: 1.2;
}
/* トップスローガン
-----------------------------------*/
.thumnail {
  position: relative;
  width: 100%;
  height: auto;
}
.thumnail img {
  width: 100%;
  height: auto;
}
.thumnail .copy_container {
  position: absolute;
  right: 1%;
  top: 15%;
}
.txt1, .txt2 {
  display: flex;
  overflow: hidden;
}
.txt1 p, .txt2 p {
  color: #3c3c3c;
  line-height: 1.5;
  font-size: 6vw;
  font-weight: normal;
  letter-spacing: .2em;
  margin: 0;
  opacity: 0;
  animation: textanimation 1s forwards;
}
.txt2 p {
  line-height: 1.7;
}
/* 1文字目 */
.txt1 p:nth-child(1) {
  animation-delay: 0.2s
}
/* 2文字目 */
.txt1 p:nth-child(2) {
  animation-delay: 0.4s
}
/* 3文字目 */
.txt1 p:nth-child(3) {
  animation-delay: 0.6s
}
/* 4文字目 */
.txt1 p:nth-child(4) {
  animation-delay: 0.8s
}
/* 5文字目 */
.txt1 p:nth-child(5) {
  animation-delay: 1s
}
/* 6文字目 */
.txt1 p:nth-child(6) {
  animation-delay: 1.2s
}
/* 7文字目 */
.txt2 p:nth-child(1) {
  animation-delay: 1.6s
}
/* 8文字目 */
.txt2 p:nth-child(2) {
  animation-delay: 1.8s
}
/* 9文字目 */
.txt2 p:nth-child(3) {
  animation-delay: 2s
}
/* 10文字目 */
.txt2 p:nth-child(4) {
  animation-delay: 2.2s
}
/* 11文字目 */
.txt2 p:nth-child(5) {
  animation-delay: 2.4s
}
.txt2 p:nth-child(6) {
  animation-delay: 2.6s
}
@media screen and (max-width: 1040px) {
  article {
    padding-top: 110px;
  }
  #home .index .main-sec .contents {
    padding: 50px 0px 27px 12.5px;
    margin: 0;
    width: 100%;
  }
  .index .main-sec {
    margin-bottom: 7.5px;
  }

}
@keyframes textanimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* 会社案内
-----------------------------------*/
.company .case, .service .case {
  width: 50%;
  position: relative;
  height: 500px;
}
.company .thum_cotanier, .service .thum_cotanier {
  display: block;
  width: 50%;
  height: 450px;
  background-position: center;
  background-size: cover;
}
.company .one {
  background-image: url("../images/index/com01.jpg");
}
.company .two {
  background-image: url("../images/index/com02.jpg");
}
.service .one {
  background-image: url("../images/index/ser01.jpg");
}
.service .two {
  background-image: url("../images/index/ser02.jpg");
}
.company .one {
  position: absolute;
  top: 0;
}
.company .two, .service .two {
  position: absolute;
  bottom: 0;
  left: 50%;
}
.company .description, .service .description {
  position: relative;
}
.company .description .btn_cotainer, .service .description .btn_cotainer {
  position: absolute;
  bottom: 0;
  right: 0;
}
.description p {
  line-height: 2.0;
  font-size: 1.8rem;
  letter-spacing: 0.065em;
}

/*事業案内
-----------------------------------*/
.service .description .btn_cotainer {
  right: 50px;
}
.service .two {
  position: absolute;
  top: 0;
  left: 50%;
}
.service .one {
  position: absolute;
  bottom: 0;
}
.company .description, .service .description {
  text-align: left;
  width: 50%;
  padding-left: 50px;
}
.service .description {
  padding-right: 50px;
  padding-left: 0;
}
.company .description .flexbox, .service .description .flexbox {
  justify-content: flex-end
}
.service {
  background-color: #0086d1;
  color: #FFF;
}
.service .btn a {
  border-color: #fff;
  color: #fff;
}
.service .btn a:hover::after {
  background: #fff;
}
.service .btn a:hover {
  color: #4387c8;
}
.photo {
  margin-top: 50px;
  width: 100%;
  height: auto;
}
.photo img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 1040px) {
  .company .flexbox, .service .flexbox {
    display: block;
  }
  .company .case, .service .case {
    width: 100%;
  }
  .company .description .btn_cotainer, .service .description .btn_cotainer {
    position: static;
    margin: 20px 0 15px;
  }
  .company .description, .service .description {
    width: 100%;
    padding-left: 0;
  }
  .service .description {
    padding-right: 0;
  }
  .company .btn_cotainer, .service .btn_cotainer {
    display: flex;
  }
  .company .two, .service .one {
    top: 25px;
  }
}
@media screen and (max-width: 500px) {
  .company .case, .service .case {
    height: 250px;
  }
  .company .thum_cotanier, .service .thum_cotanier {
    height: 225px;
  }
}
/* ニュース
-----------------------------------*/
.index .news-sec .wrap {
  margin: 0 auto;
  overflow: hidden;
}
.index .news-sec .news {
  width: 70%;
}
.index .news-sec .news ul li:first-child {
  padding-top: 0;
}
.index .news-sec .btn_l {
  width: 302px;
  margin: 32px auto;
}
.index .news-sec .btn_l a {
  width: 291px;
  height: 51px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #3c3c3c;
  border-radius: 30px;
  padding: 0 20px;
}
.index .news-sec .btn_l a:hover {
  text-decoration: none;
  color: #fff;
  background-color: #3c3c3c;
}
.index .news-sec .btn_l a:hover .path {
  fill: #fff;
}
.index .news-sec .btn_l a span {
  display: block;
  font-size: 2.0rem;
}
.index .news-sec .btn_l a span.arrow {
  font-family: 'Nanum Gothic', sans-serif;
  font-size: 1.8rem;
}
.icon {
  width: 16px;
  height: auto;
}
.news .list-news li {
  padding: 40px 0;
  border-bottom: 2px solid #ccc;
  position: relative;
}
.news .list-news li img {
  height: 16px;
  position: absolute;
  right: 0;
}
.news .list-news a {
  display: table;
  width: 100%;
}
.news .list-news .date {
  font-size: 1.6rem;
  display: table-cell;
  width: 6.5em;
  line-height: 1;
  vertical-align: middle;
}
.news .list-news .title {
  display: table-cell;
  vertical-align: top;
}
@media screen and (min-width: 1040px) {
  .news-sec .case {
    width: 28%;
  }
}
@media screen and (max-width: 1040px) {
  .index .news-sec .flexbox {
    display: block;
  }
  .index .news-sec .news {
    width: 100%;
  }
  .news .list-news .date {
    font-size: 1.4rem;
    padding-bottom: 8px;
  }
  .news .list-news .title {
    vertical-align: middle;
    display: block;
  }
  .news .list-news li {
    padding: 20px 0;
    border-bottom: 1px solid #ccc;
  }
  .index .news-sec .btn_l a {
    width: 280px;
    height: 50px;
    border: 1px solid #333;
    padding: 0 20px;
    line-height: 1;
    margin: 0 auto;
  }
  .index .news-sec .btn_l a span {
    font-size: 1.6rem;
  }
  .index .news-sec .sp {
    display: flex;
    justify-content: center;
  }
  .news .list-news li img {
    height: 14px;
    bottom: 27px;
    ;
  }
  .icon {
    width: 12px;
    margin-bottom: 1px;
  }
  .index .news-sec .sp .btn_l {
    margin: 25px 0 0;
  }
}
/* お問い合わせ
-----------------------------------*/
.index .contact .description p {
  line-height: 1.5;
}
.index .contact .description .tel {
  display: inline-block;
  font-size: 3.6rem;
  margin-top: 20px;
}
.index .contact .mail-icon {
  height: 24px;
}
.index .contact .mail-icon .path {
  fill: #fff;
}
.contact .description {
  padding: 20px;
}
.contact {
  color: #fff;
  background-image: url("../images/index/con01.jpg");
  background-position: center;
  background-size: cover;
}
.contact .btn a {
  width: 362px;
  height: 362px;
  border: 2px solid #fff;
  position: relative;
  color: #fff;
}
.contact .btn a span {
  position: absolute;
  top: 80px;
  font-size: 2.0rem;
}
.contact .btn img {
  position: absolute;
  top: 150px;
}
.contact .btn :hover span {
  color: #333;
}
.contact .btn :hover .mail-icon .path {
  fill: #333;
}
.contact .btn a:hover::after {
  background-color: #fff;
}
@media screen and (max-width: 1040px) {
  .index .contact .flexbox {
    display: block;
  }
  .contact .description {
    padding: 0px;
  }
  .index .contact .description .tel {
    font-size: 2.0rem;
    margin: 12.5px 0 25px;
  }
  .contact .btn a {
    width: 181px;
    height: 181px;
    margin: 0 auto;
  }
  .contact .btn a span {
    top: 30px;
    font-size: 1.2rem;
  }
  .index .contact .mail-icon {
    height: 12px;
  }
	  #home article {
    padding-top: 50px;
  }
	.description p {
  line-height: 1.8;
  font-size: 1.6rem;
}
}