@charset "utf-8";

/***************************************************
	index.css
	スタイル定義
***************************************************/
/* メインイメージ */
#mainslide{
  position: relative;
  width: 100%;
  height: -webkit-fill-available;
}
#mainslide video{
  width: 100%;
  min-height: 100vh;
  height: -webkit-fill-available;
  object-fit: cover;
  filter: brightness(60%);
}
/*
#mainslide .mainvisual-red{
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #7c1924cf, #dd2126e6);
  clip-path: polygon(
        0 20%,
        0% 20%,
        80% 100%,
        0 100%
    );
}
*/
#mainslide .catch{
  position: absolute;
  bottom: 10%;
  left: 3%;
}
#mainslide .catch .m_logo{ width: 300px;}
#mainslide .catch .catch-in{color: #fff;}
#mainslide .catch .catch-in p{
font-size: 0.9em;
letter-spacing: 0.1em;
}
#mainslide .catch h2{
  font-size: 3.5em;
  text-align: left;
  letter-spacing: 0.3em;
  line-height: 1.8em;
  margin-top: -2%;
}
#mainslide .catch h2 span{
  background: #fff;
  color: #b51f2f;
  padding: 0.1em 0.5em;
  margin-right: 1%;
}
#mainslide .catch h2 span:nth-child(3){
}
#mainslide .catch h3{
  margin-top: 5%;
  font-size: 1.3em;
}
#mainslide .catch .contact-btn{
  width: 60%;
  margin-top: 8%;
}
#mainslide .catch .contact-btn h4{
  font-size: 0.9em;
  color: #fff;
  margin-bottom: 2%;
}
#mainslide .catch .contact-btn a{
background: #dd2126;
padding: 0.6em 1em;
color: #fff;
display: block;
text-align: center;
letter-spacing: 0.1em;
border-radius: 50px;
font-weight: bold;
transition: all 0.2s ease-in-out;
}
#mainslide .catch .contact-btn a:hover{
  background: #fff;
  color: #dd2126;
}
.scroll-guide {
    position: absolute;
    bottom: 13%;
    left: 95%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 3;
}
.scroll-text {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #fff;
    writing-mode: vertical-rl;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 100px;
  background: rgb(221 33 38);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: scaleY(0);
    transform-origin: top;
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}
@media screen and (min-width:521px) and ( max-width:1024px) {}
@media screen and (max-width: 520px) {
  #mainslide {
      width: 100%;
      height: 476px;
  }
#mainslide video{
  min-height: 400px;
  height: 400px;
  vertical-align: top;
}

#mainslide .catch {
    top: 55%;
    left: 50%;
    transform: translateY(-55%) translateX(-50%);
    width: 95%;
    margin: auto;
}
#mainslide .catch h2 {
    font-size: 1.5em;
    letter-spacing: 0.3em;
    line-height: 2em;
}
#mainslide .catch .catch-in p {
    font-size: 0.8em;
    letter-spacing: 0.1em;
}
#mainslide .catch h2 {
    font-size: 2em;
    letter-spacing: 0.1em;
    line-height: 2em;
}
#mainslide .catch h3 {
    margin-right: 5%;
    margin-top: 5%;
    font-size: 1em;
}
#mainslide .catch .contact-btn {
    width: 100%;
    margin-top: 24%;
}
#mainslide .catch .contact-btn h4 {
    font-size: 0.9em;
    color: #32322A;
    margin-bottom: 2%;
    text-align: center;
}
}
/* newsエリア */
.newsarea{
  margin: auto;
  width: 80%;
  background: #eaeaea;
  padding: 0.8em 0em;
}
.newsarea dl{
display: flex;
justify-content: flex-start;
align-items: center;
}
.newsarea dl dt{
  padding: 1.5em;
  color: #dd2025;
  border-right: 1px solid #fff;
  margin-right: 1.5em;
}
@media screen and (min-width:877px) and ( max-width:1200px) {}
@media screen and (max-width: 876px) {
  main{ padding-top: 5em;}

  .newsarea {
    width: 95%;
    padding: 0.3em 0em;
  }
  .newsarea dl dt {
    padding: 1em;
    margin-right: 1em;
    font-size: 0.8em;
}
  .newsarea dl dd {
  font-size: 0.8em;
  text-decoration: underline;
  padding: 0 1em;
  }
}

#section02{margin-bottom: 15em;}
#section02 .allbg{
  background: url(../img/index/img01.jpg) 50% 0% no-repeat;
}
#section02 .contents p{
  margin-bottom: 4em;
  text-align: center;
}
@media screen and (min-width:877px) and ( max-width:1200px) {
}
@media screen and (max-width: 876px) {
  #section02 {margin-bottom: 10em;}
  #section02 .allbg {
    background: url(../img/index/img01.jpg) 50% 100% no-repeat;
    background-size: cover;
}
}

#section02-2{ margin-bottom: 10em;}
#section02-2 .worksarea{
}
#section02-2 .worksarea .ttlarea{
  width: 90%;
  padding-bottom: 5%;
  margin-left: 10%;
}
#section02-2 .worksarea .workslist{
  width: 90%;
  margin-left: 10%;
}
#section02-2 .worksarea .nttl {
  position: relative;
  border-bottom: 1px solid #e7e7e7;
  padding: 0.2em 2em;
  font-size: 1.2em;
  letter-spacing: 0.3em;
  color: #dd2126;
}
#section02-2 .worksarea .nttl::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 250px;
    height: 1px;
    background: linear-gradient(to right, #dd2126 0%, #fa8184 100%);
}
#section02-2 .worksarea .clum03 {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
#section02-2 .worksarea .clum03 li {
    width: 33.3%;
}
#section02-2 .worksarea .clum03 li figure {
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    background: #490002;
}
#section02-2 .worksarea .workslist li figure img{
    display: block;
    transition-duration: 0.6s;
}
#section02-2 .worksarea .workslist li a:hover figure img{
    transform: scale(1.1);
    transition-duration: 0.6s;
    opacity: 0.5;
}
#section02-2 .worksarea .workslist .catlist{
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  font-size: 0.8em;
  margin: 0.5em 0;
}
#section02-2 .worksarea .workslist .w-txt{ padding: 0.5% 2%;}
#section02-2 .worksarea .workslist .catlist p{
  margin-right: 0.5em;
  padding: 0.2em 0.8em;
  border-radius: 10px;
}
#section02-2 .worksarea .workslist .catlist p.catcolor01{
  background: #73b95e;
  color: #fff;
}
#section02-2 .worksarea .workslist .catlist p.catcolor02{
  background: #b9935e;
  color: #fff;
}
#section02-2 .worksarea .workslist .catlist p.catcolor03{
  background: #dd2025;
  color: #fff;
}

#section02-2 .worksarea .workslist .catch p{font-size: 0.8em;}
#section02-2 .glid-btn{margin: 6em auto;}
@media screen and (min-width:521px) and ( max-width:1024px) {}
@media screen and (max-width: 520px) {
  #section02-2 {
    margin-bottom: 5em;
}
  #section02-2 .worksarea .workslist {
    width: 100%;
    margin-left: 0;
}
#section02-2 .worksarea .clum03 {
    justify-content: center;
}
#section02-2 .worksarea .clum03 li {
    width: 90%;
    margin-bottom: 10%;
}

}
#section03 .allbg{
  background: url(../img/index/img02.jpg) 50% 0% no-repeat;
  margin-bottom: 0.5em;
}

.fullcontents{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15em;
  flex-wrap: wrap;
}
#section03 .fullcontents .box03 p.txt{ min-height: 10em;}
#section03 .fullcontents .glid-btn {
    width: 100%;
    margin-top: 2em;
}
.box03{
  width: 31%;
  margin: auto;
  padding: 1%;
  text-align: center;
}
.box03:nth-child(2){
  border-left: 0.5px solid #dd2025;
  border-right: 0.5px solid #dd2025;
}
.box03 .ttl02{
  margin-bottom: 2em;
}

.box02_g{    position: relative;}
.box02_g .bg_gray{
  background: #f5f5f5;
  display: block;
  width: 50%;
  height: 100%;
  position: absolute;
  top: -10%;
  right: 0;
}
.box02_con{
  display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.box02_con .img{
  width: 60%;
  z-index: 2;
}
.box02_con .img img{
  height: 650px;
  vertical-align: bottom;
  width: 100%;
  object-fit: cover;
}
.box02_con .txt{
  width: 35%;
  margin: 0 2%;
  z-index: 2;
}
.box02_con .txt h3{
  margin: 1em 0 2em 0;
  color: #dd2025;
}
.box02_con .txt p{width: 90%;}
.box02_con .txt .glid-btn{ margin-top: 2em;}

@media screen and (min-width:877px) and ( max-width:1200px) {
}
@media screen and (max-width: 876px) {
  #section03 .allbg {
    background: url(../img/index/img02.jpg) 50% 100% no-repeat;
    background-size: cover;
}
.fullcontents {
  width: 95%;
  margin: 0 auto 15em;
  }
  .box02_g .bg_gray {
    width: 100%;
    height: 110%;
    top: -5%;
}
  .box03 {
    width: 100%;
    padding: 1.5em 0;
  }
  #section03 .fullcontents .box03 p.txt {min-height: 9em;}
  .box03:nth-child(2) {
    border-left: none;
    border-right: none;
    border-top: 0.5px solid #dd2025;
    border-bottom: 0.5px solid #dd2025;
    padding: 1.5em 0;
}
.box02_con .img {width: 100%;}
.box02_con .img img {height: 300px;}
.box02_con .txt {
    width: 95%;
    margin: 2% auto;
    text-align: center;
}
.box02_con .txt p {width: 100%;}

}



#section04{    margin-bottom: 10em;}

.box02_harf{
display: flex;
justify-content: space-around;
align-items: center;
flex-wrap: wrap;
}
.box02_harf a{
  position: relative;
  display: block;
  width: 50%;
  height: 500px;
  -webkit-transition: .3s;
  transition: .3s;
}
.box02_harf a:first-child{
  background: url(../img/index/img04.jpg) 0% 100% no-repeat;
  background-size: cover;
}
.box02_harf a:nth-child(2){
  background: url(../img/index/img05.jpg) 50% 0% no-repeat;
  background-size: cover;
}
.box02_harf a::before{
  content: '';
  background-color: #0000008a;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 500px;
  -webkit-transition: .3s;
  transition: .3s;
}
.box02_harf .box_h{
  position: absolute;
  top: 50%;
  left: 25%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.box02_harf .box_h .ttl01,
.box02_harf .box_h .ttl01 .tategaki{
  color: #fff;
  -webkit-transition: .3s;
  transition: .3s;
}
.box02_harf a:hover:before{
  background-color: #00000000;
}
.box02_harf a:hover .ttl01{
  color: #dd2025;
  border: 1px solid  #dd2025;
}
.box02_harf a:hover .ttl01 .tategaki{color: #dd2025;}

@media screen and (min-width:877px) and ( max-width:1200px) {
}
@media screen and (max-width: 876px) {
.box02_harf a:first-child {      background-size: cover;}
.box02_harf a:nth-child(2) {
    background: url(../img/index/img05.jpg) 50% 100% no-repeat;
    background-size: cover;
}
.box02_harf a {
  width: 50%;
  height: 200px;
  }
.box02_harf a::before {
  height: 200px;
}
.box02_harf .box_h {left: 20%;}
.box02_harf .ttl01 {
    width: 120px;
    height: 120px;
}
.box02_harf .ttl01 .tategaki{
  left: 37%;
  font-size: 0.8em;
}



}
