@charset "UTF-8";

/*=============================================
 * HOME
*=============================================*/
#mv .wrap {
   background: url("../img/index/mv-bg-img.jpg") no-repeat center top/cover;
   height: 680px;
   border-radius: 10px;
}

#mv .text {
   width: 530px;
   background-color: #EBEBEB;
   position: absolute;
   bottom: 0;
   left: 0;
   padding: 50px 0 30px 40px;
   border-radius: 0 10px 0 0;
   box-sizing: border-box;
}

#mv h2 {
   font-weight: 700;
   font-size: 44px;
   letter-spacing: 0.04em;
   line-height: 70px;
}

#mv .txt {
   font-weight: 400;
   font-size: 20px;
   line-height: 20px;
   padding-top: 25px;
}

@media screen and (max-width: 767px) {
   #mv .wrap {
      background: transparent;
      height: auto;
      padding: 0;
   }

   #mv figure {
      width: 100%;
      height: 60vw;
   }

   #mv .text {
      width: 100%;
      position: static;
      padding: 20px 20px 0;
   }

   #mv h2 {
      font-size: 32px;
      line-height: 50px;
   }

   #mv .txt {
      font-size: 16px;
      line-height: 24px;
      padding-top: 10px;
   }
}

/* -- -- */
#top__about {
   padding: 170px 0;
}

#top__about .wrap {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 16px;
}

#top__about .txt {
   font-weight: 700;
   line-height: 36px;
   padding-top: 40px;
}

#top__about .txt p+p {
   padding-top: 25px;
}

#top__about .swiper-wrapper {
   transition-timing-function: linear;
}

#top__about .photos {
   padding-top: 100px;
}

#top__about .photos .swiper-slide {
   width: 455px;
   margin-right: 40px;
}

#top__about .photos .swiper-slide.even {
   padding-top: 60px;
}

#top__about .catch {
   padding-top: 10px;
}

#top__about .catch .swiper-slide {
   width: 2735px;
   margin-right: 40px;
}

@media screen and (max-width: 767px) {
   #top__about {
      padding: 50px 0;
   }

   #top__about .wrap {
      grid-template-columns: 1fr;
      gap: 0;
   }

   #top__about .txt {
      line-height: 32px;
      padding-top: 20px;
   }

   #top__about .txt p+p {
      padding-top: 15px;
   }

   #top__about .photos {
      padding-top: 50px;
   }

   #top__about .photos .swiper-slide {
      width: 228px;
      margin-right: 20px;
   }

   #top__about .photos .swiper-slide.even {
      padding-top: 30px;
   }

   #top__about .catch .swiper-slide {
      width: 1368px;
   }
}

/* -- -- */
#top__strength {
   background-color: #fff;
   border-radius: 10px;
   margin: 0 40px;
   padding: 100px 40px;
}

#top__strength .wrap {
   display: flex;
   justify-content: flex-end;
   gap: 120px;
}

#top__strength .col {
   width: 560px;
}

#top__strength .txt {
   padding-top: 60px;
}

#top__strength .txt li {
   border-bottom: 1px solid #B4B4B4;
   padding-bottom: 40px;
}

#top__strength .txt li+li {
   padding-top: 40px;
}

#top__strength .txt li .sub {
   font-weight: 400;
}

#top__strength figure {
   width: 420px;
   position: relative;
   padding: 60px 40px 0 0;
}

#top__strength figure:before {
   content: '';
   width: 300px;
   height: 300px;
   background: #FFC400;
   position: absolute;
   top: 0;
   right: 0;
   border-radius: 10px;
}

@media screen and (max-width: 1200px) {
   #top__strength .wrap {
      gap: 40px;
   }

   #top__strength .txt {
      font-size: 20px;
   }
}

@media screen and (max-width: 1023px) {
   #top__strength .wrap {
      flex-direction: column;
      align-items: center;
   }

   #top__strength .txt {
      font-size: 24px;
   }
}

@media screen and (max-width: 767px) {
   #top__strength {
      margin: 0 10px;
      padding: 50px 0 20px;
   }

   #top__strength .col,
   #top__strength figure {
      width: 100%;
      box-sizing: border-box;
   }

   #top__strength .txt {
      font-size: 18px;
      padding-top: 30px;
   }

   #top__strength .txt li {
      padding-bottom: 20px;
   }

   #top__strength .txt li+li {
      padding-top: 20px;
   }

   #top__strength figure {
      padding: 20px 20px 0;
   }

   #top__strength figure:before {
      width: 200px;
      height: 200px;
   }
}

/* -- -- */
#top__service {
   background: url("../img/index/service-bg.png") repeat center top;
   padding: 180px 40px 220px;
}

#top__service ul {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 5px;
}

#top__service ul li {
   position: relative;
   min-height: 300px;
   overflow: hidden;
}

#top__service ul li .caption {
   background-color: #231815;
   position: absolute;
   bottom: 0;
   right: 0;
   padding: 10px 15px;
   color: #fff;
}

#top__service ul li:nth-child(1) {
   grid-area: 1/2;
}

#top__service ul li:nth-child(2) {
   grid-area: 1/1;
}

#top__service ul .title {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 30px;
   background-color: #231815;
   color: #fff;
   text-align: center;
}

#top__service h2 {
   font-size: 30px;
}

#top__service h2 .sub {
   padding-bottom: 5px;
}

@media screen and (max-width: 1023px) {
   #top__service {
      padding-right: 5px;
      padding-left: 5px;
   }
}

@media screen and (max-width: 767px) {
   #top__service {
      padding: 50px 10px;
   }

   #top__service ul {
      display: block;
   }

   #top__service ul li {
      min-height: inherit;
      height: 60vw;
   }

   #top__service ul li+li {
      margin-top: 10px;
   }
}

/* -- -- */
#top__recruit {
   padding: 370px 0 120px;
   position: relative;
}

#top__recruit:before {
   content: '';
   width: 100%;
   height: 580px;
   background: url("../img/index/recruit-bg.jpg") no-repeat center top/cover;
   position: absolute;
   top: 0;
   left: 0;
}

#top__recruit .wrap {
   background-color: #fff;
   border-radius: 10px;
   padding: 60px 20px 52px;
}

#top__recruit h2 {
   color: #fff;
   font-weight: 700;
   font-size: 140px;
   line-height: 140px;
   letter-spacing: 0.02em;
   position: absolute;
   top: -105px;
   right: 0;
   left: 0;
}

#top__recruit .txt {
   line-height: 28px;
}

#top__recruit .txt,
#top__recruit .button {
   padding-top: 40px;
}

@media screen and (max-width: 767px) {
   #top__recruit {
      padding: 200px 10px 50px;
   }

   #top__recruit:before {
      height: 290px;
   }

   #top__recruit .wrap {
      padding: 40px 20px;
   }

   #top__recruit h2 {
      font-size: 80px;
      line-height: 80px;
      top: -60px;
   }

   #top__recruit .txt,
   #top__recruit .button {
      padding-top: 20px;
   }
}

/* -- -- */
.contact {
   position: relative;
}

.contact:before {
   content: '';
   width: 100%;
   height: 50%;
   background: #231815;
   position: absolute;
   bottom: 0;
   left: 0;
}

.contact .wrap {
   background-color: #E64800;
   color: #fff;
   padding: 80px 20px 90px;
}

.contact ul {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 40px;
   padding: 40px 0 0 40px;
}

.contact ul .hr {
   border-left: 1px solid #fff;
   height: 120px;
}

.contact ul .tel {
   text-align: center;
}

.contact ul .tel a {
   display: inline-flex;
   font-weight: 600;
   font-size: 50px;
   letter-spacing: 0;
   line-height: 51px;
   background: url("../img/common/icon-tel.png") no-repeat center left/42px auto;
   padding-left: 48px;
}

.contact ul .tel time {
   display: block;
   font-weight: 500;
   font-size: 15px;
   line-height: 21px;
   padding-left: 48px;
}

.contact ul .inq a {
   display: inline-flex;
   align-items: center;
   background-color: #fff;
   color: #E64900;
   width: 380px;
   border-radius: 100px;
   padding: 30px 45px 29px;
   box-sizing: border-box;
   position: relative;
}

.contact ul .inq a:after {
   content: '';
   width: 46px;
   height: 46px;
   background: url("../img/common/arrow-circle-right-orange.png") no-repeat center top/cover;
   position: absolute;
   top: 50%;
   right: 20px;
   transform: translateY(-50%);
}

@media screen and (max-width: 1023px) {
   .contact ul {
      flex-direction: column;
      padding-left: 0;
   }

   .contact ul .hr {
      width: 100%;
      max-width: 420px;
      height: 0;
      border-top: 1px solid #fff;
      border-left: 0;
   }
}

@media screen and (max-width: 767px) {
   .contact {
      padding: 0 10px;
   }

   .contact .wrap {
      padding: 40px 20px;
   }

   .contact ul {
      gap: 20px;
   }

   .contact ul .tel a {
      font-size: 40px;
      line-height: 40px;
      background-size: 32px auto;
      padding-left: 40px;
   }

   .contact ul .inq {
      width: 100%;
   }

   .contact ul .inq a {
      width: 100%;
      padding: 25px 35px;
   }
}

/*=============================================
 * 会社情報
*=============================================*/
#company__lead {
   padding: 160px 0 160px;
   position: relative;
}

#company__lead:before {
   content: '';
   width: 100%;
   height: 700px;
   background: url("../img/company/bg-1.jpg") repeat center top;
   position: absolute;
   top: -60px;
   left: 0;
   opacity: 0.2;
}

#company__lead .txt {
   font-weight: 700;
   line-height: 36px;
   padding-top: 60px;
}

#company__lead .swiper {
   padding-top: 120px;
}

#company__lead .swiper-wrapper {
   transition-timing-function: linear;
}

#company__lead .swiper-slide {
   width: 2043px;
   margin-right: 40px;
}

#company__lead .photo {
   width: 100%;
   max-width: 1240px;
   margin: 0 auto;
   padding: 40px 20px 0;
   box-sizing: border-box;
}

@media screen and (max-width: 767px) {
   #company__lead {
      padding: 50px 0 60px;
   }

   #company__lead:before {
      height: 550px;
      top: -30px;
   }

   #company__lead .txt {
      text-align: justify;
      line-height: 32px;
      padding-top: 30px;
   }

   #company__lead .swiper {
      padding-top: 50px;
   }

   #company__lead .swiper-slide {
      width: 1022px;
   }
}

/* -- -- */
#company__message {
   background-color: #fff;
   padding: 100px 0;
}

#company__message .box {
   display: flex;
   gap: 80px;
}

#company__message .col,
#company__message figure {
   width: 460px;
   box-sizing: border-box;
   position: relative;
}

#company__message .txt {
   padding-top: 40px;
}

#company__message .txt p+p {
   padding-top: 40px;
}

#company__message figure {
   padding: 40px 40px 0 0;
}

#company__message figure:before {
   content: '';
   width: 300px;
   height: 300px;
   background-color: #FFC400;
   position: absolute;
   top: 0;
   right: 0;
   border-radius: 10px;
}

@media screen and (max-width: 767px) {
   #company__message {
      padding: 50px 0;
   }

   #company__message .box {
      flex-direction: column;
      gap: 30px;
   }

   #company__message .col,
   #company__message figure {
      width: 100%;
   }

   #company__message .txt {
      padding-top: 20px;
   }

   #company__message .txt p+p {
      padding-top: 20px;
   }

   #company__message figure {
      padding: 20px 20px 0;
   }

   #company__message figure:before {
      width: 200px;
      height: 200px;
   }
}

/* -- -- */
#company__outline {
   padding: 140px 0 180px;
}

#company__outline .tb-style {
   max-width: 740px;
   margin-left: auto;
   padding-top: 40px;
}

@media screen and (max-width: 767px) {
   #company__outline {
      padding: 50px 0;
   }

   #company__outline .tb-style {
      padding-top: 50px;
   }
}

/*=============================================
 * 事業内容
*=============================================*/
#service__lead {
   padding: 100px 0;
}

#service__lead .wrap {
   display: flex;
   justify-content: flex-end;
   align-items: center;
   gap: 160px;
}

#service__lead .col {
   width: 420px;
}

#service__lead h2 {
   font-weight: 700;
   font-size: 34px;
   letter-spacing: 0.04em;
   line-height: 54px;
}

#service__lead .txt {
   font-weight: 700;
   line-height: 36px;
   padding-top: 30px;
}

#service__lead figure {
   width: 520px;
}

@media screen and (max-width: 1200px) {
   #service__lead .wrap {
      gap: 40px;
   }
}

@media screen and (max-width: 1023px) {
   #service__lead .wrap {
      flex-direction: column;
   }

   #service__lead .col {
      width: 100%;
   }
}

@media screen and (max-width: 767px) {
   #service__lead {
      padding: 50px 0;
   }

   #service__lead h2 {
      font-size: 24px;
      line-height: 36px;
   }

   #service__lead .txt {
      line-height: 32px;
      padding-top: 20px;
   }

   #service__lead figure {
      width: 100%;
   }
}

/* -- -- */
#service {
   background: url("../img/service/bg-1.png") repeat center top;
   padding: 100px 0;
}

#service h2 {
   padding-bottom: 46px;
}

#service .box {
   display: grid;
   grid-template-columns: repeat(2, 500px);
   align-items: center;
   gap: 100px;
   padding-top: 40px;
}

#service .box .txt {
   padding-top: 30px;
}

@media screen and (max-width: 1200px) {
   #service .box {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
   }
}

@media screen and (max-width: 767px) {
   #service {
      padding: 50px 0;
   }

   #service h2 {
      padding-bottom: 0;
   }

   #service .box {
      grid-template-columns: 1fr;
      gap: 30px;
   }

   #service .box .txt {
      padding-top: 20px;
   }
}

/* -- -- */
#service__flow {
   background-color: #fff;
   margin: 0 40px 190px;
   padding: 100px 40px;
}

#service__flow .box {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 35px;
   padding-top: 40px;
}

#service__flow .box figure {
   position: relative;
}

#service__flow .box figure:before {
   content: '';
   width: 35px;
   height: 40px;
   background-color: #231815;
   position: absolute;
   top: 50%;
   left: 100%;
   transform: translateY(-50%);
}

#service__flow .box figcaption {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   background-color: #231815;
   width: 65px;
   height: 65px;
   color: #fff;
   font-weight: 400;
   text-align: center;
   border-radius: 10px 0 10px 0;
   position: absolute;
   top: 0;
   left: 0;
}

#service__flow .box h3 {
   padding-top: 15px;
}

#service__flow .box .txt {
   padding-top: 10px;
}

#service__flow .box .col:last-child figure:before {
   display: none;
}

@media screen and (max-width: 1023px) {
   #service__flow {
      padding: 100px 20px;
      margin: 0 20px 190px;
   }
}

@media screen and (max-width: 767px) {
   #service__flow {
      margin: 0 10px 50px;
      padding: 50px 0;
   }

   #service__flow .box {
      grid-template-columns: 1fr;
   }

   #service__flow .box .col:not(:last-child) {
      position: relative;
   }

   #service__flow .box .col:not(:last-child):before {
      content: '';
      width: 30px;
      height: 30px;
      background-color: #231815;
      position: absolute;
      bottom: -36px;
      left: 50%;
      transform: translateX(-50%);
   }

   #service__flow .box figure:before {
      display: none;
   }
}

/*=============================================
 * 施工実績
*=============================================*/
#works {
   padding: 100px 0 180px;
}

#works .photos {
   padding-bottom: 135px;
}

#works .photos .swiper-wrapper {
   transition-timing-function: linear;
}

#works .photos .swiper-slide {
   width: 455px;
   margin-right: 40px;
}

#works .box {
   background-color: #fff;
   padding: 40px 50px 50px;
}

#works .box+.box {
   margin-top: 60px;
}

#works .box h3 {
   width: 250px;
   background-color: #231815;
   color: #fff;
   text-align: center;
   border-radius: 10px;
   margin: 0 auto;
   padding: 7px;
   box-sizing: border-box;
}

#works .box .list {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   letter-spacing: 0.04em;
   padding-top: 30px;
}

@media screen and (max-width: 1023px) {
   #works .box .list {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
   }
}

@media screen and (max-width: 767px) {
   #works {
      padding: 50px 0;
   }

   #works .photos {
      padding-bottom: 50px;
   }

   #works .photos .swiper-slide {
      width: 228px;
      margin-right: 20px;
   }


   #works .box {
      padding: 30px 20px;
   }

   #works .box+.box {
      margin-top: 40px;
   }

   #works .box h3 {
      width: 200px;
   }

   #works .box .list {
      grid-template-columns: 1fr;
      gap: 20px;
      padding-top: 20px;
   }
}

/*=============================================
 * 採用情報
*=============================================*/
#recruit__sec1 {
   padding: 100px 0;
}

#recruit__sec1 .txt {
   line-height: 36px;
}

#recruit__sec1 .txt p+p {
   padding-top: 40px;
}

#recruit__sec1 .box-1 {
   display: flex;
   justify-content: flex-end;
   align-items: center;
   gap: 110px;
}

#recruit__sec1 .box-1 .photos {
   width: 610px;
}

#recruit__sec1 .box-1 .photos figure {
   width: 540px;
}

#recruit__sec1 .box-1 .photos figure:nth-child(1) {
   margin-left: auto;
}

#recruit__sec1 .box-1 .photos figure:nth-child(2) {
   padding-top: 52px;
}

#recruit__sec1 .box-1 .col {
   width: 420px;
}

#recruit__sec1 .box-1 h2 span {
   display: inline-block;
   background-color: #fff;
   border-radius: 4px;
   padding: 5px 0 5px 15px;
}

#recruit__sec1 .box-1 h2 span:not(:last-child) {
   margin-bottom: 10px;
}

#recruit__sec1 .box-1 .txt {
   padding-top: 40px;
}

#recruit__sec1 .box-2 {
   display: flex;
   flex-direction: row-reverse;
   align-items: center;
   gap: 80px;
   max-width: 1000px;
   margin: 125px auto 0;
   box-sizing: border-box;
}

#recruit__sec1 .box-2 figure {
   width: 500px;
}

#recruit__sec1 .box-2 .col {
   width: 420px;
}

#recruit__sec1 .box-2 .txt {
   padding-top: 30px;
}

#recruit__sec1 .box-2 .txt p+p {
   padding-top: 30px;
}

#recruit__sec1 .swiper {
   padding-top: 80px;
}

#recruit__sec1 .swiper-wrapper {
   transition-timing-function: linear;
}

#recruit__sec1 .swiper-slide {
   width: 2735px;
   margin-right: 40px;
}

@media screen and (max-width: 1200px) {
   #recruit__sec1 .box-1 {
      gap: 50px;
   }

   #recruit__sec1 .box-1 .photos figure {
      width: 90%;
   }
}

@media screen and (max-width: 1023px) {

   #recruit__sec1 .box-1 {
      flex-direction: column;
      gap: 40px;
   }
}

@media screen and (max-width: 767px) {
   #recruit__sec1 {
      padding: 50px 0;
   }

   #recruit__sec1 .txt {
      line-height: 32px;
   }

   #recruit__sec1 .txt p+p {
      padding-top: 20px;
   }

   #recruit__sec1 .box-1 {
      gap: 30px;
   }

   #recruit__sec1 .box-1 .photos,
   #recruit__sec1 .box-1 .col {
      width: 100%;
   }

   #recruit__sec1 .box-1 .txt {
      padding-top: 20px;
   }

   #recruit__sec1 .box-1 .photos figure:nth-child(2) {
      padding-top: 30px;
   }

   #recruit__sec1 .box-2 {
      flex-direction: column;
      gap: 30px;
      margin-top: 50px;
   }

   #recruit__sec1 .box-2 figure,
   #recruit__sec1 .box-2 .col {
      width: 100%;
   }

   #recruit__sec1 .box-2 .txt {
      padding-top: 20px;
   }

   #recruit__sec1 .swiper {
      padding-top: 40px;
   }

   #recruit__sec1 .swiper-slide {
      width: 1368px;
   }
}

/* -- -- */
#recruit__sec2 {
   background: url("../img/recruit/bg-1.jpg") repeat center top;
   padding: 120px 0 100px;
}

#recruit__sec2 ul {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 20px;
   padding-top: 40px;
}

#recruit__sec2 ul li {
   background-color: #fff;
   border: 4px solid #231815;
   border-radius: 10px;
   padding: 30px 0px 34px;
}

#recruit__sec2 ul li:before {
   content: '';
   display: block;
   width: 60px;
   height: 60px;
   background: url("../img/recruit/icon-check.png") no-repeat center top/cover;
   margin: 0 auto 20px;
}

@media screen and (max-width: 1023px) {
   #recruit__sec2 ul {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media screen and (max-width: 767px) {
   #recruit__sec2 {
      padding: 50px 0;
   }

   #recruit__sec2 ul {
      grid-template-columns: 1fr;
      font-size: 18px;
      line-height: 32px;
   }
}

/* -- -- */
#recruit__sec3 {
   padding: 140px 0 290px;
}

#recruit__sec3 .tb-style {
   max-width: 740px;
   margin-left: auto;
   padding-top: 40px;
}

@media screen and (max-width: 767px) {
   #recruit__sec3 {
      padding: 50px 0;
   }

   #recruit__sec3 .tb-style {
      padding-top: 20px;
   }
}

/*=============================================
 * お問い合わせ
*=============================================*/
#mailform {
   padding: 100px 0 140px;
}

#mailform h2 {
   padding-bottom: 60px;
}

#mailform .fc-form {
   background-color: #fff;
   padding: 80px 130px;
}

#mailform .select {
   position: relative;
}

#mailform .select {
   display: flex;
   align-items: flex-start;
   width: 100%;
   max-width: 200px;
   position: relative;
}

#mailform .select:after {
   content: '';
   width: 14px;
   height: 9px;
   background: url("../img/contact/arrow-down.png") no-repeat center top/cover;
   position: absolute;
   top: 15px;
   right: 10px;
}

#mailform .select select {
   display: block;
   width: 100%;
   height: 100%;
   -webkit-appearance: none;
   -moz-appearance: none;
   outline: 0;
   box-shadow: none;
   background-color: #fff;
   border: 1px solid #231815;
   border-radius: 4px;
   font-weight: 500;
   font-size: 15px;
   line-height: 24px;
   padding: 5px 30px 5px 10px;
   cursor: pointer;
}

#mailform .select select::-ms-expand {
   display: none;
}

#mailform input:not([type="checkbox"], [type="radio"]),
#mailform textarea {
   display: block;
   width: 100%;
   background-color: #EBEBEB;
   border: 1px solid #EBEBEB;
   border-radius: 4px;
   outline: none;
   -webkit-appearance: none;
   -moz-appearance: none;
   box-sizing: border-box;
   padding: 5px 10px;
   font-weight: 500;
   font-size: 15px;
   line-height: 24px;
}

#mailform textarea {
   height: 140px;
   resize: vertical;
}

#mailform ::-webkit-input-placeholder {
   color: #808080;
}

#mailform ::-moz-placeholder {
   color: #808080;
}

#mailform :-ms-input-placeholder {
   color: #808080;
}

#mailform :-moz-placeholder {
   color: #808080;
}

#mailform .i-list label {
   display: block;
   font-size: 16px;
   line-height: 24px;
   cursor: pointer;
}

#mailform .i-list label:not(:last-child) {
   padding-bottom: 12px;
}

#mailform .i-list label input {
   display: none;
}

#mailform .i-list label span {
   display: grid;
   grid-template-columns: 18px 1fr;
   align-items: center;
   gap: 12px;
}

#mailform .i-list label span:before,
#mailform .i-list label span:after {
   content: '';
   border-radius: 50%;
   box-sizing: border-box;
   margin: auto;
   grid-area: 1/1;
}

#mailform .i-list label span:before {
   width: 18px;
   height: 18px;
   border: 1px solid #231815;
}

#mailform .i-list label span:after {
   display: none;
   width: 12px;
   height: 12px;
   background-color: #231815;
}

#mailform .i-list label input:checked~span:after {
   display: block;
}

#mailform .form-row {
   display: grid;
   grid-template-columns: 220px 1fr;
   padding-bottom: 30px;
}

#mailform .form-caption .in {
   display: flex;
   align-items: center;
   gap: 10px;
}

#mailform .form-caption .caption-text {
   font-weight: 700;
}

#mailform .form-caption .caption-askerisk {
   display: block;
   width: 38px;
   background-color: #E64800;
   color: #fff;
   font-size: 12px;
   line-height: 18px;
   text-align: center;
}

#mailform .form-note {
   font-size: 12px;
   line-height: 17px;
   padding-top: 4px;
}

#mailform .form-attachment {
   font-size: 15px;
   line-height: 24px;
}

#mailform .form-attachment:not(:last-child) {
   padding-bottom: 10px;
}

#mailform .form-attachment .attachment-preview {
   display: none;
}

#mailform .form-attachment .attachment-main {
   display: flex;
   align-items: center;
   gap: 10px;
}

#mailform .form-attachment .attachment-button {
   width: 130px;
   background-color: #EBEBEB;
   border: 1px solid #231815;
   border-radius: 4px;
   cursor: pointer;
   box-sizing: border-box;
}

#mailform .form-attachment .attachment-button input {
   display: none;
}

#mailform .form-attachment .attachment-browse {
   padding: 5px;
}

#mailform .form-attachment .attachment-caption {
   max-width: calc(100% - 140px);
}

#mailform .form-attachment .attachment-caption input {
   background: transparent;
   border: 0;
   padding: 0;
}

#mailform .form-attachment .attachment-caption ::-webkit-input-placeholder {
   color: #231815;
}

#mailform .form-attachment .attachment-caption ::-moz-placeholder {
   color: #231815;
}

#mailform .form-attachment .attachment-caption :-ms-input-placeholder {
   color: #231815;
}

#mailform .form-attachment .attachment-caption :-moz-placeholder {
   color: #231815;
}

#mailform h3 {
   letter-spacing: 0;
   padding: 15px 0 20px;
}

#mailform .txt-privacy {
   padding-top: 50px;
}

#mailform .txt-privacy span {
   text-decoration: underline;
   color: #2D37AF;
   cursor: pointer;
}

#mailform .txt-privacy span:hover {
   text-decoration: none;
}

.toggle-privacy-main {
   display: none;
   height: 290px;
   background-color: #EBEBEB;
   font-weight: 700;
   font-size: 15px;
   line-height: 26px;
   margin-top: 20px;
   margin-left: auto;
   padding: 30px 40px 30px 30px;
   box-sizing: border-box;
   overflow-y: auto;
}

.toggle-privacy-main .item+.item {
   padding-top: 25px;
}

#mailform .form-button {
   padding-top: 60px;
}

#mailform .form-button [class*="submit-"] {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 10px;
}

#mailform .form-button button {
   display: block;
   background: #E64800 url("../img/contact/btn-arrow.png") no-repeat center right 15px/30px auto;
   border: 0;
   color: #fff;
   width: 220px;
   height: 60px;
   border-radius: 50px;
   font-weight: 700;
   font-size: 18px;
   letter-spacing: 0.04em;
   line-height: 26px;
   color: #fff;
   text-align: left;
   padding: 0 24px;
   cursor: pointer;
   transition: all 0.3s;
}

#mailform .form-button button:hover {
   opacity: 0.7;
}

#mailform .form-button .form-back {
   background-color: #231815;
}

#mailform [class^='error'] {
   position: static;
   font-weight: 500;
   font-size: 15px;
}

#mailform .confirm-main .form-row.empty {
   display: none;
}

#mailform .thanks {
   background-color: #fff;
   padding: 80px 130px;
}

#mailform .thanks .txt p+p {
   padding-top: 30px;
}

#mailform .thanks .button {
   padding-top: 40px;
}

@media screen and (max-width: 1023px) {

   #mailform .fc-form,
   #mailform .thanks {
      padding: 80px 60px;
   }
}

@media screen and (max-width: 767px) {
   #mailform {
      padding: 50px 0;
   }

   #mailform h2 {
      padding-bottom: 30px;
   }

   #mailform .fc-form,
   #mailform .thanks {
      padding: 40px 20px;
   }

   #mailform .i-list label {
      font-size: 14px;
   }

   #mailform .form-row {
      grid-template-columns: 1fr;
      gap: 10px;
   }

   #mailform .form-note {
      font-size: 11px;
   }

   #mailform .form-button {
      padding-top: 40px;
   }

   #mailform .form-button [class*="submit-"] {
      flex-direction: column;
   }

   #mailform .txt-privacy {
      font-size: 12px;
      padding-top: 20px;
   }

   #mailform .thanks .txt {
      text-align: justify;
      font-size: 13px;
   }

   #mailform .thanks .txt p+p {
      padding-top: 20px;
   }

   #mailform .thanks .button {
      padding-top: 30px;
   }

   .toggle-privacy-main {
      font-size: 13px;
   }
}