/*------------------------------------------------------------
	about
------------------------------------------------------------*/
.mainImg h2 {
  position: absolute;
  top: 97px;
  left: 0;
  width: 100%;
  font-size: 5.7rem;
  line-height: 1;
  color: #fff;
  font-weight: 300;
  letter-spacing: 0;
  text-align: center;
}

.dely1 {
  -webkit-transition-delay: 0.5s !important;
          transition-delay: 0.5s !important;
}

.dely2 {
  -webkit-transition-delay: 0.7s !important;
          transition-delay: 0.7s !important;
}

.mainImg::after {
  display: none;
}

.mainImg h2 span:not(.small) {
  margin-top: 3px;
  display: block !important;
  font-size: 9.6rem;
}

#main .mainBox {
  padding: 152px 0 60px;
  max-width: 850px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#main .mainBox h3 {
  font-size: 6.8rem;
  letter-spacing: 0;
  width: 80px;
  margin: 8px 59px 0 0;
  -webkit-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
      writing-mode: tb-rl;
  -ms-writing-mode: tb-rl;
      writing-mode: vertical-rl;
}

#main .mainBox .rBox {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

#main .mainBox .rBox p {
  max-width: 650px;
  margin-bottom: 32px;
  letter-spacing: 0.08em;
  line-height: 2.25;
  font-size: 1.4rem;
}

#main .mainBox .rBox p:last-child {
  margin-bottom: 0;
}

#main .mainBox .rBox .txt {
  max-width: inherit;
  padding-top: 77px;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

#main .mainBox .rBox .txt span {
  display: block;
  text-align: right;
  width: 490px;
  margin: -69px -18px 0 auto;
}

#main .serviceLink {
  margin: 0 40px;
}

#main .serviceLink a {
  padding-bottom: 43%;
  display: block;
  color: #fff;
  position: relative;
  overflow: hidden;
}

#main .serviceLink a img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

#main .serviceLink .sub {
  width: 350px;
  position: absolute;
  right: 50px;
  top: calc(50% - 5px);
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

#main .serviceLink p {
  margin-bottom: 42px;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  line-height: 2.08;
}

#main .serviceLink .ttl {
  margin-bottom: 14px;
  padding: 8px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

#main .serviceLink .ttl .txtSpan {
  font-size: 7.6rem;
  line-height: 1;
  letter-spacing: 0;
}

#main .serviceLink .ttl .txtSpan span {
  display: block;
}

#main .serviceLink .ttl .txtSpan span:nth-child(2) {
  margin: -9px 0 0;
}

#main .serviceLink .ttl .txtSpan02 {
  width: 110px;
  margin: 0 0 14px -30px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-size: 1.2rem;
  letter-spacing: 0.09em;
  font-weight: 700;
  line-height: 1.583;
}

#main .serviceLink .arrow {
  position: relative;
}

#main .serviceLink .arrow:after {
  width: 50px;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  background: #fff;
}

#main .serviceLink .arrow:before {
  content: "";
  background: #fff;
  height: 2px;
  width: 10px;
  position: absolute;
  bottom: 3px;
  left: 43px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

@media all and (min-width: 1000px) {
  body:not(.pad) #main .serviceLink a:hover img {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  body:not(.pad) #main .serviceLink a:hover .arrow::after {
    width: 60px;
  }
  body:not(.pad) #main .serviceLink a:hover .arrow::before {
    left: 53px;
  }
}

@media all and (max-width: 999px) {
  #about {
    margin-bottom: 25px;
  }
  .mainImg .photo {
    height: auto;
    margin: 0 0 54px;
  }
  body.pad .mainImg .photo img {
    -o-object-position: center;
       object-position: center;
    height: 500px !important;
  }
  .mainImg h2 {
    top: 120px;
    letter-spacing: 0.02em;
    font-size: 2.8rem;
  }
  .mainImg h2 span:not(.small) {
    font-size: 7.3rem;
    letter-spacing: 0;
    margin-top: 10px;
  }
  #main .mainBox {
    padding: 15px 0 78px;
    max-width: inherit;
    margin: 0 20px;
  }
  body.pad #main .mainBox {
    margin: 0 80px;
  }
  #main .mainBox h3 {
    margin: 8px 8px 0 -4px;
    font-size: 4.8rem;
    width: 55px;
  }
  #main .mainBox .rBox p {
    margin-bottom: 48px;
    max-width: inherit;
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    line-height: 2.15;
  }
  #main .mainBox .rBox .txt span {
    width: auto;
    margin: -48px -28px 0 28px;
  }
  #main .mainBox .rBox .txt {
    padding-top: 8px;
    font-size: 2rem;
  }
  #main .serviceLink {
    margin: 0 20px;
  }
  #main .serviceLink a {
    padding-bottom: 157.76%;
  }
  body.pad #main .serviceLink a {
    padding: 0;
    height: 500px;
  }
  body.pad #main .serviceLink a img {
    height: 500px;
    -o-object-position: bottom;
       object-position: bottom;
  }
  #main .serviceLink .sub {
    right: auto;
    left: 0;
    padding: 0 40px;
    width: 100%;
    top: 48px;
    -webkit-transform: none;
            transform: none;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  #main .serviceLink .ttl {
    margin-bottom: 16px;
  }
  #main .serviceLink .ttl .txtSpan {
    font-size: 5.8rem;
  }
  #main .serviceLink .ttl .txtSpan02 {
    font-size: 1.1rem;
    line-height: 1.54;
    margin: 0 0 10px -25px;
  }
  #main .serviceLink p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    line-height: 2;
  }
}

@media all and (max-width: 374px) {
  #main .mainBox .rBox .txt span {
    margin: -30px -20px 0 20px;
  }
  #main .serviceLink .sub {
    padding: 0 20px;
  }
  #main .serviceLink .ttl .txtSpan {
    font-size: 4.4rem;
  }
  #main .serviceLink .ttl .txtSpan02 {
    margin: 0 0 4px -20px;
  }
}