main{
  margin-top: 150px;
}
h2{
  font-size: 2.2rem;
}
h2 span{
  display: block;
  font-size:1.6rem;
}

a.ttl{
  border: 1px solid #00005d;
  background: #00005d;
  color: #fff;
  display: inline-block;
  text-align: center;
  padding: 10px 20px;
  margin-bottom: 20px;
}
a.ttl h2{
  line-height: 1.5;
}
a.ttl:hover{
  border: 1px solid #00005d;
  background: #fff;
  color: #00005d;
}


.news a.ttl{
  background: #fff;
  color: #00005d;
  border: 1px solid #fff;
}
.news a.ttl:hover{
  background: #00005d;
  color: #fff;
}

.news{
  background-color: #00005d;
  padding:30px 0;
  color: #fff;
}
.news .flex{
  display: flex;
  align-items: center;
}

.news h2{
  text-align: center;
  font-size: 2.2rem;
}
.news h2 span{
  display: block;
  font-size:1.6rem;
}
.news .ttl{
  margin-right: 120px;
}
.news .link{
  display: flex;
}
.news .news_link .link{
  margin: 15px 0;
}

.news .flex .date{
  margin-right: 50px;
}

.news a{
  color: #fff;
}
.news .more{
  font-size: 1.4rem;
}
.news .more:before{
  content: "";
  display: block;
  width: 60px;
  border-top: 1px solid #fff;
  margin: 10px auto;
}

.product > .flex{
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin: 80px auto 160px auto;

}
.product > .flex .flex{
  display: flex;
  justify-content: space-between; 
  height:90%;
}
.product .box{
  border:1px solid #00005d;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  height: 100%;
  align-content: stretch;
}
.product .product01{
  width: 75%;
}
.product .product02{
  width: 20%;
}
.product .product01 .box{
 width: 30%;
}
.product .product02 .box{
  width: 100%;
}
.product .box .btn{
  margin: 10px auto;
}

.product .box .btn a{
  display: block;
  padding: 5px 20px;
}

.content02{
  background-image: url(../image/back01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 0;
}
.content02 .box01{
  background: #fff;
  padding: 50px;
  box-sizing: border-box;
  margin: 50px auto;
}
.content02 .box01 .flex{
  display: flex;
}
.content02 .box01 .flex .text{
  width: 45%;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
}
.content02 .box01 .flex .text h2{

}
.content02 .box01 .flex .text .btn{
  margin-top: 20px;
}
.content02 .box01 .flex .img{
  width: 50%;
  margin-right: 5%;
}
.content02 .box01.maintenance .flex{
  flex-direction: row-reverse;
}
.content02 .box01.maintenance .flex .img{
  margin-right: 0%;
  margin-left: 5%;
}
.movie{
  padding: 160px 0;
}
.movie h2{

}
.movie .flex{
  display: flex;
  margin-top: 50px;
  flex-wrap: wrap;
}
.movie .flex .movie_box{
  width: 32%;
  margin-right: 2%;
}
.movie .flex .movie_box p.ttl{
  font-size: 1.8rem;
  color: #00005d;
}
.movie .flex .movie_box:nth-child(3n){
  margin-right: 0;
}
.movie .flex .movie_box iframe{
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;  
}
.movie .btn{
  margin-top: 80px;
}
.sns{
  display: flex;
  margin-top: 50px;
}

.sns .img{
  width: 48%;
  margin-right: 4%;
}

.sns .img:nth-child(even){
  margin-right: 0;
}


.about{
  background: #f0f0f0;
  padding: 80px 0;
}
.about h2{
  margin-bottom: 30px;
}
.about .contents{
  position: relative;
  height: 600px;
}
.about .contents .photo{
  position: absolute;
  width: 60%;
  height: 500px;
  background: url(../image/about.jpg);
  background-size: cover;
}
.about .contents .text{
  position: absolute;
  width: 60%;
  right:0;
  top: 50px;
  background: #fff;
  padding: 3em 3em 1em 3em;
  box-sizing: border-box;
}
.about .contents .text p{
  margin-bottom: 2em;
}
.company {
  background-image: url(../image/company.jpg);
  background-size: cover;
  padding: 160px 0;
}
.company .text{
  background: #fff;
  padding: 50px;
  box-sizing: border-box;
}
.company .text h2{
}
.company .text .btn{
  margin-top: 30px;
}

  @media screen and (max-width: 1100px){
    main{
      margin-top: 80px;
    }  
    .news{
      padding-right: 20px;
      padding-left: 20px;
    }
    .news .flex{
      display: block;
    }
    .news .more{
      text-align: right;
    }
    .news .news_link .link{
      display: block;
    }
    .news .ttl{
      margin-right: 0;
    }
    .news .flex .date{
      margin-right: 0;
    }
    .product > .flex{
      display: block;
    }
    .product > .flex .flex{
      flex-wrap: wrap;
    }
    .product .product01{
      width: 100%;
    }
    .product .product01 .box{
      width: 32%;
    }
    .product .product02{
      width: 100%;
      margin-top: 30px;
    }
    .product .product02 .box{
      width: 32%;
    }
    .product .box .img{
      width: 100%;
    }
    .product .box .img img{
      display: block;
      margin: 20px auto;
    }
    .about .contents .photo{
      background-size: cover;
      height: 40vw;
    }
    .about .contents{
      position: static;
    }
    .about .contents .text{
      position: static;
      width: 100%;
      padding: 1em;
    }
    .about .contents .photo{
      position: static;
      width: 100%;
      height: 50vw;
    }
    .about .contents{
      height: auto;
    }
  }
  @media screen and (max-width: 920px){
    main{
      margin-top: 70px;
    }  
  }
  @media screen and (max-width: 800px){
    .btn a{
      padding: 5px 10px;
      font-size: 1.4rem;
    }
    .content02 .box01 .flex .text p{
      font-size: 1.4rem;
    }
    .content02 .box01{
      padding: 30px;
    }
    .movie .flex{
      flex-wrap: wrap;
    }
    .movie .flex .movie_box{
      width: 100%;
      margin-right: 0;
    }
    .movie{
      padding: 80px 20px;
    }
    .company{
      background-size: cover;
      padding: 60px 0;
    }
    .company .text{
      padding: 20px;
    }
  }
  @media screen and (max-width: 700px){
    main{
      margin-top: 70px;
    }  
  }
  @media screen and (max-width: 650px){
    .product .product01 .box{
      width: 49%;
      margin-bottom: 20px;
    }
    .product .product02 .box{
      width: 49%;
      margin-bottom: 20px;
    }    
    .product .box .img{
      width: 60%;
    }
    .product .box .btn a{
      padding:5px 2rem;
      font-size: 1.4rem;
    }
    .product > .flex{
      margin: 40px auto 80px auto;
    }
    .content02{
      padding: 30px 0;
    }
    .content02 .box01 .flex{
      display: block;
    }
    .content02 .box01 .flex .img{
      width: 100%;
      margin-right: 0;
    }
    .content02 .box01.maintenance .flex .img{
      margin-left: 0;
    }
    .content02 .box01 .flex .text{
      width: 100%;
      text-align: center;
      display: block;
    }
    .content02 .box01{
      margin: 30px 0;
    }
    .sns .img img{
      height: 40%;
    }
    .sns .img{
      width: 65%;
    }
    .sns .img:nth-child(2){
      width: 30%;
    }
  }
