@charset "UTF-8";
/*フェードインアニメーションの指定*/
.tekkyo.animate__animated.animate__bounceInDown, .tekkyo.animate__animated.animate__fadeinUp {
  animation-delay: 0.3s;
  animation-duration: 1s;
}

.scrollanime {
  opacity: 0;
} /*一瞬表示されるのを防ぐ*/
.fadeInDown2 {
  animation-name: fadeInDown2;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes sub_main {
  0% {
    background-position: center top;
    opacity: 0;
  }
  100% {
    background-position: center bottom;
    opacity: 1;
  }
}
@keyframes fadeInDown2 {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}
/*バウンドアニメーション*/
@keyframes fuwafuwa {
  0% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}
/*上下の動きを指定*/
.updown {
  transform: translateY(-100px);
}

.downup {
  transform: translateY(100px);
}

/*左右の動きを指定*/
.sect02 {
  overflow: hidden;
} /*横スクロールバーを隠す*/
.slide-right {
  transform: translateX(200px);
}

.slide-left {
  transform: translateX(-200px);
}

.sp_only {
  display: none;
}

.mb_20 {
  margin-bottom: 20px;
}

.mb_30 {
  margin-bottom: 30px;
}

.mb_50 {
  margin-bottom: 50px;
}

.fw_b {
  font-weight: bold;
}

.pb_50 {
  padding-bottom: 50px;
}

.center {
  text-align: center;
}

.bold {
  font-weight: bold;
}

.flex_bw {
  display: flex;
  justify-content: space-between;
}

/*1500px-ヘッダーのコピーを上に移動する*/
/*1500pxここまで*/
/*1250px newsの位置を変える*/
/*1250pxここまで*/
/*1100px*/
@media screen and (max-width: 1100px) {
  #sub_title {
    height: calc(220px + 5vw);
  }
  #sub_title:before {
    height: 40px;
  }
  #sub_title:after {
    bottom: 40px;
  }
  .flow_contents .flow_contents_inner .flow_item {
    background: #fff url(../img/flow/flow1_sp.jpg) no-repeat bottom left;
    background-size: contain;
    padding: 30px 30px 35vw 100px;
    margin-bottom: 100px;
    height: auto;
  }
  .flow_contents .flow_contents_inner .flow_item:nth-child(2) {
    background-image: url(../img/flow/flow2_sp.jpg);
  }
  .flow_contents .flow_contents_inner .flow_item:nth-child(3) {
    background-image: url(../img/flow/flow3_sp.jpg);
  }
  .flow_contents .flow_contents_inner .flow_item:nth-child(4) {
    background-image: url(../img/flow/flow4_sp.jpg);
  }
  .flow_contents .flow_contents_inner .flow_item:nth-child(5) {
    background-image: url(../img/flow/flow5_sp.jpg);
  }
  .flow_contents .flow_contents_inner .flow_item p {
    margin-bottom: 15px;
  }
  .flow_contents .flow_contents_inner .flow_item:before {
    background-size: contain;
    font-size: 45px;
    width: 100px;
    height: 124px;
    line-height: 124px;
  }
  .flow_contents .flow_contents_inner .flow_item .flow_tel a {
    font-size: clamp(20px, 3vw, 35px);
    gap: 15px;
  }
  .flow_contents .flow_contents_inner .flow_item .flow_contact a {
    padding: 12px 20px;
    font-size: clamp(16px, 2vw, 23px);
    gap: 10px;
    width: 100%;
    justify-content: center;
  }
  .flow_contents .flow_contents_inner .flow_item .flow_contact a img {
    width: 35px;
  }
} /*1100pxここまで*/
/*960px*/
@media screen and (max-width: 960px) {
  #service .contents2 .contents2_inner ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  #service .contents2 .contents2_inner ul li {
    width: 40%;
  }
  .company_contents1 .company_contents1_greeting dl {
    display: block;
    max-width: 1200px;
    text-align: center;
    margin: 0 auto 80px auto;
    background-color: #fff;
    padding: 40px;
    box-shadow: 2px 2px 10px #999;
  }
  .company_contents1 .company_contents1_greeting dl dt {
    width: 100%;
    margin-bottom: 30px;
  }
  .company_contents1 .company_contents1_greeting dl dd {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    box-shadow: none;
  }
  .company_contents1 .company_contents1_staff .company_contents1_staff_inner figure img {
    width: max(150px, 20vw);
    height: max(150px, 20vw);
  }
  .company_contents1 .company_contents1_staff .company_contents1_staff_inner figure:after {
    background-image: linear-gradient(90deg, rgb(50, 165, 23), rgb(25, 83, 12));
    position: absolute;
    content: "";
    top: 15%;
    left: 17%;
    width: max(150px, 20vw);
    height: max(150px, 20vw);
  }
  .company_contents1 .company_contents1_staff .company_contents1_staff_inner figure figcaption {
    font-size: 18px;
    margin-top: 5px;
  }
  .company_contents2 {
    background-size: cover;
  }
  .company_contents2 .company_contents2_inner .company_contents2_outline {
    display: block;
  }
  .company_contents2 .company_contents2_inner .company_contents2_outline .company_outline_left {
    width: 100%;
    margin-bottom: 30px;
  }
  .company_contents2 .company_contents2_inner .company_contents2_outline .company_outline_left dl {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
  }
  .company_contents2 .company_contents2_inner .company_contents2_outline .company_outline_left dl dt {
    width: 30%;
    background-color: #dfd7d7;
    padding: 7px 20px 5px 20px;
    text-align: center;
    margin-right: 5px;
  }
  .company_contents2 .company_contents2_inner .company_contents2_outline .company_outline_left dl dd {
    width: 70%;
    background-color: #fff;
    padding: 7px 10px 5px 10px;
  }
  .company_contents2 .company_contents2_inner .company_contents2_outline .company_outline_left dl.outline_left_service dt {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .company_contents2 .company_contents2_inner .company_contents2_outline .company_outline_left dl.outline_left_service dd {
    padding: 10px 10px 10px 30px;
  }
  .company_contents2 .company_contents2_inner .company_contents2_outline .company_outline_left dl.outline_left_service dd ul li {
    list-style-type: disc;
  }
  .company_contents2 .company_contents2_inner .company_contents2_outline .company_outline_right {
    width: 100%;
  }
  .company_contents2 .company_contents2_inner .company_contents2_outline .company_outline_right p {
    display: flex;
    justify-content: space-between;
  }
  .company_contents2 .company_contents2_inner .company_contents2_outline .company_outline_right p img {
    width: 48%;
    height: auto;
  }
  .payment_contents2 {
    background-color: #19530C;
    padding: 60px 0;
    margin-bottom: 120px;
  }
  .payment_contents2 .payment_contents2_inner {
    padding: 30px;
    background-image: none;
  }
  .payment_contents2 .payment_contents2_inner .payment_sp {
    display: block;
  }
  .aboutus_contents1 .aboutus_contents1_inner dl {
    display: block;
    margin-bottom: 80px;
  }
  .aboutus_contents1 .aboutus_contents1_inner dl dt {
    padding: 0 30px 50px 30px;
    width: 80%;
    height: 100%;
    margin: 0 auto;
  }
  .aboutus_contents1 .aboutus_contents1_inner dl dt h4 span {
    font-size: 40px;
    padding-right: 10px;
  }
  .aboutus_contents1 .aboutus_contents1_inner dl dd {
    width: 100%;
    margin: -30px 0 0 0;
    z-index: -2;
    position: relative;
  }
  .aboutus_contents1 .aboutus_contents1_inner dl dd img {
    width: 100%;
    height: auto;
  }
  .aboutus_contents1 .aboutus_contents1_inner dl:nth-child(even) {
    flex-direction: row-reverse;
  }
  .aboutus_contents1 .aboutus_contents1_inner dl:nth-child(even) dd {
    margin-left: auto;
  }
  .aboutus_contents1 .aboutus_contents1_inner dl:nth-child(even) dt {
    margin-left: auto;
  }
} /*960pxここまで*/
/*840px*/
/*840pxここまで*/
/*スマホ*768px*/
@media screen and (max-width: 768px) {
  /*パンくずリスト*/
  .bread ul li {
    margin-right: 30px;
    position: relative;
  }
  .bread ul li:last-child {
    margin-right: 10px;
  }
  .bread ul li:last-child:before {
    display: none;
  }
  .service_contents .service_contents_inner .service_item h3 span {
    margin-top: calc(-18px - 2vw);
  }
  .service_contents .service_contents_inner .service_item dl {
    display: block;
    max-width: 1200px;
    margin: 0 auto 100px auto;
  }
  .service_contents .service_contents_inner .service_item dl dt {
    width: 100%;
    z-index: 2;
  }
  .service_contents .service_contents_inner .service_item dl dd {
    padding: 20px 30px 40px 30px;
    height: 260px;
    width: 90%;
    margin: -40px 0 0 10%;
  }
  .service_contents .service_contents_inner .service_item dl.service_item_right dd {
    padding: 20px 30px 40px 30px;
    margin: -40px 10% 0 0;
  }
  .company_contents1 .company_contents1_greeting dl {
    padding: 40px 20px 20px 20px;
  }
  .company_contents1 .company_contents1_staff .company_contents1_staff_inner {
    max-width: 1200px;
    display: block;
    padding-right: 0;
    text-align: center;
  }
  .company_contents1 .company_contents1_staff .company_contents1_staff_inner figure {
    margin-bottom: 80px;
  }
  .company_contents1 .company_contents1_staff .company_contents1_staff_inner figure img {
    width: max(238px, 14vw);
    height: max(238px, 15vw);
  }
  .company_contents1 .company_contents1_staff .company_contents1_staff_inner figure:after {
    top: 13%;
    left: calc(50% - 80px);
    width: max(238px, 15vw);
    height: max(238px, 15vw);
  }
  .company_contents1 .company_contents1_staff .company_contents1_staff_inner figure figcaption {
    font-size: 22px;
  }
  .news_contents .news_contents_inner {
    padding: 20px;
    margin-bottom: 80px;
  }
  /*プライバシーポリシー*/
  .policy_contents .policy_contents_inner {
    padding: 20px;
    box-shadow: 2px 2px 10px #999;
    margin-bottom: 80px;
  }
  .archives_contents {
    width: 95%;
    margin: 60px auto 100px auto;
  }
  .archives_contents .archives_contents_inner {
    padding: 30px;
  }
  .archives_contents .archives_contents_inner .archives_box {
    margin-bottom: 30px;
  }
  .archives_contents .archives_contents_inner .archives_box dl {
    display: block;
    border-top: 1px solid #707070;
    padding: 10px 20px;
  }
  .archives_contents .archives_contents_inner .archives_box dl:last-child {
    border-bottom: 1px solid #707070;
  }
  .archives_contents .archives_contents_inner .archives_box dl dt {
    margin: 0;
  }
  .archives_contents .archives_contents_inner .archives_box dl dd {
    margin-left: 20px;
  }
  .archives_contents .archives_contents_inner .archives_box dl dd a {
    color: #32A517;
    font-size: 16px;
    transition: 0.5s;
    position: relative;
  }
  .archives_contents .archives_contents_inner .archives_box dl dd a:hover {
    color: #999;
  }
  .archives_contents .archives_contents_inner .archives_box dl dd a:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 13px solid #32A517;
    border-right: 0;
    position: absolute;
    left: -20px;
    transform: translateY(-50%);
    transition: 0.5s;
  }
  .archives_contents .archives_contents_inner .archives_box dl dd a:hover:before {
    border-left: 13px solid #999;
  }
} /*768pxここまで*/
/*SE対策*600px*/
@media screen and (max-width: 600px) {
  #service .contents2 .contents2_inner {
    padding: 60px 20px 70px 20px;
  }
  #service .contents2 .contents2_inner ul {
    gap: 30px;
  }
  #service .contents2 .contents2_inner ul li {
    width: 45%;
  }
  #service .contents2 .contents2_inner ul li figure figcaption {
    font-size: 14px;
  }
  .service_contents .service_contents_inner .service_item dl dd {
    height: auto;
  }
  .company_contents1 .company_contents1_greeting dl dd p.name_ceo span {
    font-size: 26px;
    padding-left: 30px;
    display: block;
  }
  .payment_contents1 .payment_contents1_inner {
    display: block;
  }
  .payment_contents1 .payment_contents1_inner dl {
    width: 100%;
    margin-bottom: 30px;
  }
  .aboutus_contents1 .aboutus_contents1_inner dl dt {
    padding: 0 20px 50px 20px;
    width: 90%;
  }
  /*施工事例*/
  .works_contents {
    max-width: 1400px;
    width: 90%;
    margin: 40px auto 80px auto;
  }
  .works_contents .works_contents_inner .works_box {
    max-width: 1200px;
    margin: 0 auto 50px auto;
    display: block;
    text-align: center;
  }
  .works_contents .works_contents_inner .works_box figure {
    width: 100%;
    margin-bottom: 20px;
  }
} /*600pxここまで*/
/*SE対策*450px*/
@media screen and (max-width: 450px) {
  .service_contents .service_contents_inner .service_item h3 {
    font-size: clamp(30px, 4vw, 60px);
    margin-bottom: 15px;
  }
  .aboutus_contents1 .aboutus_h3 {
    padding: 5px 25px;
  }
  .aboutus_contents1 .aboutus_contents1_inner dl dt h4 {
    padding: 15px 20px 50px 20px;
    text-align: center;
    padding-bottom: 15px;
  }
  .aboutus_contents1 .aboutus_contents1_inner dl dt h4 span {
    display: block;
    line-height: 1.2;
  }
  .contact_contents1 {
    margin: 50px auto 90px auto;
  }
  .contact_contents1 .contact_contents1_inner dl {
    display: block;
    margin-bottom: 20px;
  }
  .contact_contents1 .contact_contents1_inner dl dt {
    width: 100%;
    padding: 7px 20px 5px 20px;
    margin-right: 0;
  }
  .contact_contents1 .contact_contents1_inner dl dd {
    width: 100%;
    padding: 7px 10px 5px 10px;
  }
  .works_contents .works_contents_inner h3 {
    font-size: clamp(30px, 4vw, 60px);
    margin-bottom: 15px;
  }
} /*450pxここまで*/
/*SE対策*380px*/
/*380pxここまで*/