/*---------------------------------------------------------
                共通css
---------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-repeat: no-repeat;
}
:root {
    --font-sub: acumin-pro, sans-serif;
    --text-color: #333;
}

a {
    display: inline-block;
    color: var(--text-color);
    text-decoration: none;
    cursor: pointer;
    transition: .3s;
}

html {
    color: var(--text-color);
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    line-height: 1.8;
    letter-spacing: 0.07em;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #fff;
    word-break: break-word;
}

body.body_top {
    overflow-x: hidden;
}

ul {
    list-style: none;
}

p {
    line-height: 2.2;
}

img,
iframe {
    vertical-align: bottom;
}

.container {
    flex: 1;
}
/*---------------------------------------------------------
                フォント
---------------------------------------------------------*/
.ttl_main {
    line-height: 1;
    font-size: clamp(60px,8vw,102px);
    font-weight: 600;
}
.ttl_main span {
    display: block;
    color: #9D9D9D;
    font-size: clamp(15px,1.8vw,20px);
    font-weight: 300;
}
.ttl_main.right {
    text-align: right;
}
.ttl_main.left {
    text-align: left;
}
.ttl_main.right span {
    text-align: right;
    margin-right: -2em;
}
.ttl_main.left span {
    text-align: left;
    margin-left: -2em;
}
.subfont {
    font-family: var(--font-sub);
    font-style: normal;
    letter-spacing: 0.15em;
}
.ttl_main.subfont {
    letter-spacing: 0.07em;
}
.ttl_main.subfont span {
    letter-spacing: 0.15em;
}
.ttl_second {
    color: #EDEDED;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.ttl_min {
    font-size: 30px;
    font-weight: 600;
}
.ttl_min::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 1px;
    margin: 0 10px 5px 0;
    background: var(--text-color);
}
.ttl_min span {
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.07em;
}
.no_hit {
    font-size: 18px;
}
@media screen and (max-width:990px) {
    .ttl_main.right span {
        margin-right: -.5em;
    }
    .ttl_main.left span {
        margin-left: -.5em;
    }    
}
@media screen and (max-width:768px) {
    .no_hit {
        font-size: 16px;
        text-align: center;
    }    
}
/*---------------------------------------------------------
                ボタン
---------------------------------------------------------*/
.btn_main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: left;
    width: 110px;
    height: 44px;
    margin-top: 45px;
    padding-left: 30px;
    border: 1px solid var(--text-color);
    border-radius: 44px;
    color: var(--text-color);
    transition: 0.3s;
    cursor: pointer;
}
.btn_main img {
    width: 22px;
    height: auto;
}
.btn_main::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: inline-block;
    width: 26px;
    height: 1px;
    background: var(--text-color);
}
.btn_main.wh {
    border-color: #fff;
}
.btn_main.wh::after {
    background: #fff;
}
.btn_main:has(:disabled) {
    border-color: #9f9f9f;
    background: #9f9f9f;
    color: #fff;
    cursor: not-allowed;
}
.btn_main:has(:disabled)::after {
    background-color: #fff;
}
/* hover */
.btn_main:hover::after {
    animation-name: btnmain_hover;
    animation-duration: 1s;
    animation-fill-mode: ease-in-out;
}
@keyframes btnmain_hover {
    50% {
        width: 0;
    }
    100% {
        width: 26px;
    }
}
@media screen and (max-width:400px) {
}
/*---------------------------------------------------------
                swiper
---------------------------------------------------------*/
.slider_work {
    position: relative;
    overflow-x: hidden;
    width: 90vw;
    height: 100vh;
    min-height: 700px;
    margin: 0 auto;
    padding: 15% 0;
}
.slider_work::before,
.slider_work::after {
    content: "";
    position: absolute;
    top: 0;
    display: block;
    width: 5vw;
    height: 100%;
    background: #fff;
    z-index: 10;
}
.slider_work::before {
    left: -5vw;
}
.slider_work::after {
    right: -5vw;
}
.swiper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: auto;
    overflow: visible;
}
.swiper-slide {
    transform: scale(1);
    height: auto;
    transition: .8s;
}
.swiper-slide img {
    height: auto;
    width: 100%;
    filter: brightness(.8) blur(2px);
    transition: .8s;
    cursor: pointer;
}
.swiper-slide-prev,
.swiper-slide-next {
    transform: scale(1.2);
    z-index: 2;
}
.swiper-slide-active {
    transform: scale(1.4);
    z-index: 3;
}
.swiper-slide-active img {
    filter: brightness(1) blur(0);
}
@media screen and (max-width:768px) {
    .slider_work {
        height: 80vh;
        min-height: 500px;
    }    
    .swiper-slide-prev,
    .swiper-slide-next {
        transform: scale(1.3);
    }
    .swiper-slide-active {
        transform: scale(1.8);
    }    
}

/*---------------------------------------------------------
                ページネーション
---------------------------------------------------------*/
.pagination {
    width: 90%;
    margin: 0 auto 150px;
}

.pagination .wp-pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
}

.pagination .wp-pagenavi a,
.pagination .wp-pagenavi span {
    color: var(--text-color);
    font-family: var(--font-sub);
    font-size: 22px;
    font-weight: 500;
    padding: 8px 18px;
    border: none;
    border-radius: 50%;
}
.pagination .wp-pagenavi span.current {
    background: #F3F3F3;
    font-weight: 500;
}
.nextpostslink,
.previouspostslink {
    padding: 0 !important;
    margin: 0 !important;
}
.prev_btn,
.next_btn {
    position: relative;
    width: 60px;
    height: 60px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
}
.prev_btn::before,
.next_btn::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    width: 30px;
    height: 1px;
    background:var(--text-color);
}
.prev_btn::before {
    left: 0;
}
.next_btn::before {
    right: 0;
}

@media screen and (max-width:768px) {
    .pagination .wp-pagenavi a,
    .pagination .wp-pagenavi span {
        font-size: 16px;
    }
}
/*---------------------------------------------------------
                アイキャッチ
---------------------------------------------------------*/
.gsap_eyecatch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
}
.eyecatch {
    width: 100%;
    height: 100%;
}
.eyecatch_inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transition: 1s;
    transition-timing-function: ease-in;
}
.eyecatch_inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(71, 60, 51, .25);
    transition: 1s;
    transition-timing-function: ease-in;
}
.eyecatch_inner .eyecatch_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}
.eyecatch_inner .mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 77px;
    transition: .8s;
    transition-timing-function: ease-in;
}
.eyecatch_inner .mark img {
    width: 100%;
    height: auto;
}
.eyecatch .contact_box {
    position: absolute;
    right: 60px;
    bottom: 46px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: .5s;
}
.eyecatch .contact_box a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #fff;
    border-radius: 50%;
    transition: .8s;
}
.eyecatch .contact_box a img {
    width: 22px;
    height: auto;
}
.eyecatch .contact_box a:hover {
    border-color: transparent;
}
.eyecatch .scroll {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translate(-50%,-25%) rotate(135deg);
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    line-height: 1;
    width: 1em;
    height: 1em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    opacity: 1;
    transition: .5s;
    animation-name: updown;
    animation-duration: 2s;
    animation-iteration-count: infinite;
}
.eyecatch_inner.scale ~ .scroll {
    opacity: 0;
}
.eyecatch_inner.scale ~ .contact_box {
    opacity: 0;
}
.gsap_scroll {
    margin-top: calc(100vh - 320px);
}
.gsap_scroll #about h2 {
    opacity: 0;
    transition-duration: 1s;
    transition-delay: .3s;
}
@keyframes updown {
    0% {
        transform: translate(-50%, -25%) rotate(135deg);
    }
    50% {
        transform: translate(-50%, -10%) rotate(135deg);
    }
    100% {
        transform: translate(-50%, -25%) rotate(135deg);
    }
}

/* 大きさ変更アニメーション */
.eyecatch_inner.scale {
    top: calc(100% - 20vw);
    width: 55vw;
    height: 20vw;
}
.eyecatch_inner.scale::before {
    background: rgba(0, 0, 0, 0);
}
.eyecatch_inner.scale .mark {
    opacity: 0;
}
.gsap_scroll.scale #about h2 {
    opacity: 1;
}

@media screen and (max-width: 990px) {
    .eyecatch .contact_box {
        right: 35px;
        bottom: calc(15vh + 35px);
    }
    .eyecatch_inner {
        left: 50%;
        transform: translateX(-50%);
        height: 85vh;
    }
    .eyecatch_inner.scale {
        top: calc(100% - 30vw);
        width: 90vw;
        height: 30vw;
    }
    .eyecatch_inner.scale ~ .contact_box {
        opacity: 0;
    }
    .gsap_scroll {
        margin-top: 85vh;
    }
}

/*---------------------------------------------------------
                コンクリート背景
---------------------------------------------------------*/
.under_eyecatch::before,
#about::before,
#business .inner::before,
#news .inner::before,
#other::before,
.bg_container::before  {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    display: inline-block;
    background-image: url(../img/img_bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
#about::before {
    top: 0;
   bottom: auto; 
}
.mix_container::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    display: inline-block;
    background-image: url(../img/img_bg2.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.contact_tel_box,
.privacy_container .privacy_txt {
    background-image: url(../img/img_bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/*---------------------------------------------------------
                トップページ
---------------------------------------------------------*/
#about {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
#about::before {
    width: 50%;
    aspect-ratio: 605 / 616;
}
#about .ttl_main {
    padding: 200px 10% 0 0;
}
#about .about_box {
    position: relative;
    width: 90%;
    min-height: 300px;
    margin: 68px 0 0 auto;
}
#about .about_box .about_txt {
    width: 50%;
}
#business .inner {
    position: relative;
    padding: 10% 7%;
}
#business .inner::before {
    width: 100%;
    height: 100%;
}
#business .inner ul {
    width: 50%;
}
#business .inner ul li + li {
    margin-top: 40px;
}
#business .inner ul li a {
    position: relative;
    display: block;
    font-size: clamp(15px,1.8vw,16px);
}
#business .inner ul li a::before,
#business .inner ul li a::after {
    content: "";
    position: absolute;
    bottom: 0.8em;
    display: inline-block;
    height: 1px;
    background: var(--text-color);
    transition: .8s;
}
#business .inner ul li a::before {
    left: 0;
    width: 100%;
}
#business .inner ul li a::after {
    right: 0;
    width: 0;
    transition-delay: .3s;
}
#business .inner ul li a span {
    position: relative;
    display: block;
    line-height: 1.6;
    padding-right: 30px;
    font-size: clamp(25px,3vw,40px);
}
#business .inner ul li a span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: inline-block;
    width: 19px;
    height: 7px;
    background-image: url(../img/ic_arrow.svg);
    background-repeat: no-repeat;
    background-size: cover;
}
#business .inner ul li a:hover::before {
    width: 0;
}
#business .inner ul li a:hover::after {
    width: 100%;
}

.under_link_box {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5%;
    width: 72%;
    margin: 0 auto;
    padding: 5%;
    background-image: url(../img/img_under.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
}
.under_link_box .inner {
    padding: 8%;
}
.under_link_box a {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-bottom: none;
    color: #fff;
    font-size: 16px;
    /* aspect-ratio: 440 / 402; */
    aspect-ratio: 936 / 402;
}
.under_link_box a p {
    text-align: center;
    font-size: 16px;
}
.under_link_box a p span {
    display: block;
    font-size: clamp(20px,2vw,40px);
    font-weight: 500;
}
.under_link_box a .bd_box {
    position: absolute;
    bottom: -21.8px;
    left: 0;
    display: flex;
    align-items: center;
    width: 100%;
}
.under_link_box a .bd_box .bd,
.under_link_box a .bd_box .bd {
    flex: 1;
    height: 1px;
    background: #fff;
}
.under_link_box a .bd_box .btn_main {
    margin: 0;
}
#news {
    position: relative;
    margin: 67px 7em -150px 0;
}
#news .img_animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
}
#news .inner {
    position: relative;
    margin: 0 0 0 7em;
}
#news .inner::before {
    width: 100%;
    height: 100%;
}
#news .inner .news_box {
    width: 60%;
    margin: 0 0 0 auto;
    padding: 10% 10% 15% 0;
}
#news .inner ul li {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid #000;
}
#news .inner ul li:first-of-type {
    padding-top: 0;
}
#news .inner ul li .date {
    display: block;
    font-family: var(--font-sub);
    font-weight: bold;
    font-size: 14px;
}
#news .inner ul li .ttl {
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 16px;
}
#news .btn_main {
    margin-left: auto;
}
@media screen and (max-width: 990px) {
    #about::before {
        width: 60%;
        transform: translateY(-10vh);
    }
    #about .ttl_main {
        padding: 200px 5% 0 0;
    }
    #about .about_box {
        margin: 68px auto 0 auto;
    }
    #about .about_box .about_txt {
        width: 100%;
    }
    #about .about_box .about_txt p .sp_hidden {
        display: none;
    }    
    #business .inner {
        padding: 80px 5% 80px 0;
    }
    #business .inner::before {
        display: none;
    }
    #business .inner ul {
        width: 100%;
    }
    #business .inner ul li a::before,
    #business .inner ul li a::after {
        bottom: .5em;
    }
    .under_link_box {
        justify-content: center;
        width: 100%;
        padding: 10% 5% 15%;
    }
    /* .under_link_box a {
        max-width: 300px;
        aspect-ratio: 159 / 246;
    } */
    #news {
        margin: 0;
        padding-bottom: 100px;
    }
    #news::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        display: inline-block;
        width: 100%;
        height: 120%;
        background-image: url(../img/img_bg.png);
        background-repeat: no-repeat;
        background-size: cover;
    }
    #news .ttl_main {
        padding: 40px 5% 0 0;
    }
    #news .inner {
        margin: 0;
    }
    #news .inner::before {
        display: none;
    }
    #news .inner .news_box {
        width: 90%;
        margin: 0 auto;
        padding: 0;
    }
    #news .btn_main {
        margin: 45px auto 0 0;
    }
}
@media screen and (max-width: 600px) {
    .under_link_box a {
        aspect-ratio: 329 / 246;
    }
}

/*---------------------------------------------------------
                下層ページ共通
---------------------------------------------------------*/
.under_eyecatch {
    position: relative;
    width: 100%;
    height: 100vh;
}
.under_eyecatch::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    transform-origin: center;
    width: calc(100% - 50px);
    height: calc(100% - 50px);
    transition: .5s;
}
.under_eyecatch.scale::before {
    width: 100%;
    height: 100%;
}
.under_eyecatch .under_eyecatch_txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 90%;
}
.under_eyecatch .under_eyecatch_txt h1 {
    color: #9D9D9D;
    font-size: clamp(18px,1.5vw,20px);
    font-weight: 500;
    line-height: 1;
    text-align: center;
}
.under_eyecatch .under_eyecatch_txt h1 span {
    display: block;
    color: var(--text-color);
    font-size: clamp(52px,10vw,102px);
    font-weight: 600;
    white-space: nowrap;
}
.under_eyecatch .under_eyecatch_txt ul {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 32px;
    margin: 70px 16px 0;
}
.under_eyecatch .under_eyecatch_txt ul li a {
    font-size: 15px;
    text-decoration: underline;
}
.under_eyecatch .under_eyecatch_txt ul li a:hover {
    opacity: .5;
    text-decoration: none;
}
.js_section1,
.js_section2 {
    height: 200vh;
}
.bg_container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    padding: 100px 0;
    background: #fff;
}
.bg_container::before,
.bg_container::after {
    content: "";
    position: absolute;
    top: 0;
    display: block;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}
.bg_container::before {
    left: 0;
    z-index: 1;
    width: 100%;
    transform: scaleY(-1);
}
.bg_container::after {
    z-index: 2;
    width: 60%;
}
.bg_container.right::after {
    right: 0;
}
.bg_container.left::after {
    left: 0;
}
.bg_container .content_box {
    position: relative;
    width: 65%;
    min-width: 700px;
    padding: 100px 90px;
    background: #fff;
    z-index: 5;
}
.bg_container .content_box.right {
    margin: 0 7em 0 auto;
}
.bg_container .content_box.left {
    margin: 0 auto 0 7em;
}
.bg_container .content_box h2 {
    line-height: 1.2;
    font-size: clamp(35px,2.5vw,50px);
}
.scroll_box {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 5;
    width: 100%;
    height: 100vh;
}
/* アイコンリスト */
.ic_list {
    display: flex;
    flex-wrap: wrap;
    gap: 3vw 5vw;
}
.ic_list li {
    display: flex;
    align-items: center;
    gap: 15px;
    width: calc((100% - 5vw) / 2);
    word-break: keep-all;
}
.ic_list li img {
    width: 50px;
    height: auto;
}
.ic_list li p {
    flex: 1;
}

/*---------------------------------------------------------
                会社概要
---------------------------------------------------------*/
#info.bg_container .content_box h2,
#partners.bg_container .content_box h2 {
    position: absolute;
    top: 50px;
    left: 0;
    transform: rotate(-180deg);
    writing-mode: vertical-rl;
    white-space: nowrap;
}
#info.bg_container::after {
    background-image: url(../img/img_bg_wood.png);
}
#info table,
#info tbody {
    display: block;
    width: 100%;
}
#info table tr {
    display: flex;
    align-items: stretch;
}
#info table tr th {
    width: 155px;
    padding: 14px 10px 14px 0;
    border-bottom: 1px solid var(--text-color);
    font-weight: 600;
    text-align: left;
}
#info table td {
    flex: 1;
    padding: 14px 20px;
    border-bottom: 1px solid #C2C2C2;
    word-break: keep-all;
}
#partners.bg_container::after {
    background-image: url(../img/img_bg_business.png);
}
#partners ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 20px;
}
#partners ul li {
    width: calc((100% - 40px) / 3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
#partners ul li img {
    width: 100%;
    height: auto;
}
.cv_box {
    padding: 40px;
    background: #F1F1F1;
}
.cv_box p {
    font-size: 16px;
    text-align: center;
    word-break: keep-all;
}
.cv_box .btn_box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}
.cv_box .btn_box .btn_main {
    margin: 0 !important;
}
.cv_box .sp {
    display: none;
}

@media screen and (max-width:990px) {
    .bg_container .content_box {
        min-width: 600px;
    }
    .bg_container .content_box.right {
        margin: 0 5% 0 auto;
    }
    .bg_container .content_box.left {
        margin: 0 auto 0 5%;
    }
}
@media screen and (max-width:768px) {
    .under_eyecatch::before {
        width: calc(100% - 40px);
        height: calc(100% - 40px);
    }    
    .js_section1,
    .js_section2 {
        overflow: hidden;
        height: auto;
    }
    .bg_container {
        position: relative;
        display: flex;
        flex-direction: column-reverse;
        height: auto;
        padding: 0 0 40px;
    }    
    .bg_container::after {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 375 / 419;
    }
    .scroll_box {
        position: relative;
        top: auto;
        left: auto;
        transform: translate(0, 0);
        width: 100%;
        height: auto;
        margin-top: 40px;
    }    
    .bg_container .content_box.right,
    .bg_container .content_box.left {
        width: auto;
        min-width: auto;
        margin: 0 24px;
        padding: 32px 34px;
    }
    #info.bg_container .content_box h2,
    #partners.bg_container .content_box h2 {
        top: 0;
        left: -10px;
    }
    #info table tr th {
        width: 160px;
        padding: 14px 5px 14px 0;
        word-break: keep-all;
    }
    #info table td {
        padding: 14px 5px;
    }
    #partners ul li {
        width: calc((100% - 20px) / 2);
    }
    .cv_box {
        padding: 16px;
    }
    .cv_box .pc {
        display: none;
    }
    .cv_box .sp {
        display: block;
    }
}
@media screen and (max-width:600px) {
    #info table tr {
        flex-direction: column;
    }
    #info table tr th {
        width: 100%;
        padding: 14px 5px 14px 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    #info table td {
        flex: 1;
        padding: 4px 0 14px;
        border-bottom: 1px solid #C2C2C2;
        word-break: keep-all;
    }
}

/*---------------------------------------------------------
                事業紹介
---------------------------------------------------------*/
#waterproof.bg_container h2,
#painting.bg_container h2 {
    position: absolute;
    bottom: -50px;
    right: 0;
}
#waterproof.bg_container .content_box,
#painting.bg_container .content_box {
    padding: 100px 40px;
}
#waterproof.bg_container .content_list,
#painting.bg_container .content_list {
    position: relative;
}
#waterproof.bg_container ul,
#painting.bg_container ul {
    width: 90%;
    margin: 0 auto;
}
#waterproof.bg_container .btn_main,
#painting.bg_container .btn_main {
    margin: 50px auto 50px 5%;
}
#waterproof.bg_container::after {
    background-image: url(../img/img_bg_waterproof.png);
}
#painting.bg_container::after {
    background-image: url(../img/img_bg_painting.png);
}

.flex_container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 50px;
    width: 90%;
    margin: 100px auto 80px;
}
.flex_container section {
    position: relative;
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.flex_container section::before {
    content: "";
    position: relative;
    display: block;
    width: 70%;
    aspect-ratio: 676 / 730;
    background-repeat: no-repeat;
    background-size: cover;
}
.flex_container section h2 {
    line-height: 1;
    transform: rotate(-180deg);
    margin-top: 20px;
    font-size: clamp(35px, 5vw, 50px);
    writing-mode: vertical-rl;
    white-space: nowrap;
}
.flex_container section .inner {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 65%;
    /* height: 65%; */
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.flex_container section .inner ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px 20px;
}
.flex_container section .inner ul:not(.building_inner ul) {
    width: 90%;
    margin: 0 auto;
}
.flex_container section .inner ul li {
    width: calc((100% - 40px) / 2);
    word-break: keep-all;
}
.flex_container section#maintenance::before {
    background-image: url(../img/img_maintenance.png);
}
.flex_container section#reform::before {
    order: 2;
    background-image: url(../img/img_reform.png);
}
.flex_container section#maintenance .inner {
    left: 0;
    padding: 5% 5% 5% 0;
}
.flex_container section#reform .inner {
    right: 0;
    padding: 5%;
}
.flex_container section#reform h2 {
    order: 1;
}
.flex_container section .inner .building_inner {
    position: relative;
    margin-top: 86px;
    padding: 72px 10%;
    background: #F1F1F1;
}
.flex_container section .inner .building_inner p {
    position: absolute;
    top: -10px;
    right: 0;
    line-height: 1.2;
    width: fit-content;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: clamp(25px, 3vw, 33px);
    white-space: nowrap;
}
.flex_container section .inner .building_inner .ic_box {
    position: absolute;
    top: -39px;
    left: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    background: #fff;
    border-radius: 50%;
}
.flex_container section .inner .building_inner .ic_box img {
    width: 43px;
    height: auto;
}
.flex_container + .cv_box {
    overflow: hidden;
    width: 70%;
    margin: 0 auto 100px;
}
#other {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 80px;
    padding: 10% 10%;
}
#other::before {
    width: 100%;
    height: 100%;
}
#other h2 {
    font-size: 50px;
    font-weight: 600;
    white-space: nowrap;
}
#other .right_box {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    padding: 5% 10%;
    background: #fff;
}
#other .right_box li {
    width: calc((100% - 100px) / 3);
}
#other .btn_box a:last-of-type {
    margin-top: 20px;
}
#other .btn_box.sp {
    display: none;
}
@media screen and (max-width:990px) {
    .flex_container + .cv_box {
        width: 85%;
    }
    .flex_container section::before {
        width: 90%;
    }
    #other {
        gap: 50px;
        padding: 10% 5%;
    }
}
@media screen and (max-width:768px) {
    #waterproof.bg_container ul,
    #painting.bg_container ul {
        width: 100%;
    }
    .ic_list li {
        width: 100%;
    }
    #waterproof.bg_container .content_box,
    #painting.bg_container .content_box {
        padding: 50px 24px;
    }
    #waterproof.bg_container h2 {
        bottom: -80px;
    }
    #painting.bg_container h2 {
        bottom: -160px;
        word-break: keep-all;
        text-align: right;
    }
    #waterproof.bg_container .btn_main {
        margin: 50px auto 80px auto;
    }
    #painting.bg_container .btn_main {
        margin: 50px auto 160px auto;
    }
    .flex_container {
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin: 0 auto 80px;
    }
    .flex_container section {
        flex-direction: column-reverse;
    }
    .flex_container section::before {
        width: 100%;
        aspect-ratio: 375 / 517;
    }
    .flex_container section .inner {
        position: static;
        transform: translateY(0);
        width: 90%;
        max-width: 700px;
        height: auto;
        margin: -60vh 0 0 auto;
        padding: 40px;
    }
    .flex_container section h2 {
        position: absolute;
        top: calc(51700vw / 385);
        left: 0;
        z-index: 2;
        margin: 0;
    }
    .flex_container section .inner .building_inner .ic_box {
        left: 50%;
        transform: translateX(-50%);
    }
    .flex_container section .inner .building_inner p {
        top: 90%;
        left: 50%;
        transform: translateX(-50%);
    }
    #other {
        flex-direction: column;
    }
    #other .right_box {
        gap: 24px;
        padding: 48px 30px;
    }    
    #other .btn_box.pc {
        display: none;
    }
    #other .btn_box.sp {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }
    #other .btn_box.sp .btn_main {
        margin: 0;
    }
}
@media screen and (max-width:500px) {
    #other .right_box li {
        width: calc((100% - 50px) / 2);
    }
}

/*---------------------------------------------------------
                防水事業・塗装事業
---------------------------------------------------------*/
.child_eyecatch {
    position: relative;
    width: calc(100% - 60px);
    height: 60vh;
    min-height: 440px;
    margin: 0 0 0 auto;
}
.child_eyecatch::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    width: 100%;
    height: 1px;
    background: var(--text-color);
}
.child_eyecatch h1 {
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding-left: 10px;
    color: #9D9D9D;
    font-size: clamp(18px,1.2vw,20px);
    font-weight: 500;
}
.child_eyecatch h1 .sp {
    display: none;
}
.child_eyecatch h1 span {
    opacity: 0;
    transform: translateY(100%);
    transition: .5s;
}
.child_eyecatch h1 .ja {
    display: block;
}
.child_eyecatch h1 .subfont {
    display: inline-block;
    margin-left: -10px;
    color: var(--text-color);
    font-size: clamp(42px,7vw,102px);
    font-weight: 600;
    line-height: 1.2;
    margin-right: 0.07em;
}
.child_eyecatch h1 span.fadeIn {
    opacity: 1;
    transform: translateY(0);
}
.link_list {
    margin: 50px 60px 30px;
}
.link_list .subfont {
    font-size: 20px;
    font-weight: 500;
}
.link_list ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}
.link_list ul li a {
    position: relative;
    padding: 8px 40px;
    border: 1px solid var(--text-color);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    transition: .5s;
}
.link_list ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    width: 1px;
    height: 8px;
    background: var(--text-color);
    transition: .5s;
}
.link_list ul li a.current {
    color: #fff;
    background: var(--text-color);
}
.link_list ul li a.current::after {
    background: #fff;
}
.link_list ul li a:hover {
    opacity: .5;
}
.link_list ul li a:hover::after {
    height: 0;
}
.child_container {
    display: flex;
    align-items: center;
    gap: 92px;
    padding: 120px 7em 0 0;
    border-bottom: 1px solid var(--text-color);
}
.child_container + .child_container {
    padding: 120px 0 0 7em;
}
.child_container .img_box {
    width: 50%;
    aspect-ratio: 1 / 1;
}
.child_container .img_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.child_container .txt_box {
    flex: 1;
    margin: 100px 0;
}
.child_container .txt_box .txt {
    margin-top: 50px;
    font-size: 16px;
}
.child_container .ex {
    margin-top: 30px;
    padding: 20px 80px;
    background: #F1F1F1;
    font-size: 16px;
    word-break: keep-all;
}
.js_img {
    width: 100%;
    height: 140vh;
}
.img_bg {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100%;
}
.img_bg img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center;
    width: calc(100% - 80px);
    height: auto;
    margin: 0 auto;
    aspect-ratio: 1280 / 578;
    object-fit: cover;
}
.mix_container {
    position: relative;
    overflow: hidden;
    padding: 10% 0;
}
.mix_container::before {
    width: 100%;
    height: 100%;
}
.suport_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 0 10% 10%;
    border-bottom: 1px solid var(--text-color);
}
.suport_container .left_box {
    width: 48%;
}
.suport_container .left_box p {
    margin-top: 50px;
}
.suport_container .left_box .btn_box {
    display: flex;
    gap: 20px;
}
.suport_container .right_box {
    flex: 1;
}
.flow_container {
    padding: 10% 10% 0;
}
.flow_container ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.flow_container ul li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: stretch;
    flex-direction: column;
    width: calc((100% - 60px) / 3);
    padding: 40px 20px 20px;
    background-image: url(../img/bg_flow.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}
.flow_container ul li:first-of-type {
    background-image: none;
    background-color: #fff;
}
.flow_container ul li::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    display: block;
    width: 36.61px;
    height: 36.61px;
    background-image: url(../img/flow_arrow.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.flow_container ul li:last-of-type:after {
    display: none;
}
.flow_container ul li .number {
    position: absolute;
    top: 13px;
    left: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #F1F1F1;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
}
.flow_container ul li img {
    height: auto;
    margin: 0 auto 32px;
}
.flow_container ul li .txt {
    flex: 1;
    word-break: keep-all;
}
.flow_container ul li .txt .cap {
    font-size: 13px;
    font-weight: 400;
    word-break: break-all;
}
.flow_container ul li:nth-child(1) img {
    width: 78px;
}
.flow_container ul li:nth-child(2) img {
    width: 52px;
}
.flow_container ul li:nth-child(3) img {
    width: 50px;
}
.flow_container ul li:nth-child(4) img {
    width: 56px;
}
.flow_container ul li:nth-child(5) img {
    width: 50px;
}
.flow_container ul li:nth-child(6) img {
    width: 68px;
}
@media screen and (max-width:990px) {
    .child_container {
        gap: 50px;
        margin: 120px 5% 0 0;
        padding: 0;
    }
    .child_container + .child_container {
        margin: 120px 0 0 5%;
        padding: 0;
    }
}
@media screen and (max-width:768px) {
    .child_eyecatch {
        width: 95%;
        height: 45vh;
        min-height: 500px;
    }
    .child_eyecatch h1 .sp {
        display: block;
    }
    .link_list {
        width: 90%;
        margin: 50px auto 30px;
    }
    .link_list ul li {
        width: calc((100% - 15px) / 2);
    }
    .link_list ul li a {
        width: 100%;
        padding: 8px 10px;
        text-align: center;
    }
    .child_container {
        flex-direction: column;
        margin: 120px 0 0 0;
    }
    .child_container + .child_container {
        flex-direction: column-reverse;
        margin: 0;
    }
    .child_container .ex {
        padding: 20px;
    }
    .child_container .img_box {
        width: 100%;
    }
    .child_container .txt_box {
        width: 90%;
        margin: 0 auto 80px;
    }
    .js_img {
        height: 110vh;
    }
    .img_bg img {
        aspect-ratio: 1 / 1;
    }
    .suport_container {
        position: relative;
        flex-direction: column;
        padding: 0 5% 150px;
    }
    .suport_container .left_box {
        width: 100%;
    }
    .suport_container .left_box .btn_box {
        position: absolute;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        justify-content: center;
    }
    .flow_container {
        padding: 10% 5% 0;
    }    
    .flow_container ul li {
        width: calc((100% - 30px) / 2);
    }
    .flow_container ul li::after {
        right: -15px;
    }
    .flow_container ul li .number {
        width: 27px;
        height: 27px;
        font-size: 16px;
    }
    .flow_container ul li .txt {
        font-size: 15px;
    }
    .flow_container ul li .txt .cap {
        font-size: 12px;
    }
}
/*---------------------------------------------------------
                お知らせ
---------------------------------------------------------*/
.archive_article {
    width: 80%;
    margin: 90px auto;
}
.archive_article .archive_list li {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 40px 50px;
    background: #F1F1F1;
}
.archive_article .archive_list li + li {
    margin-top: 16px;
}
.archive_article .archive_list li .article_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.archive_article .archive_list li .article_info .tag {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.archive_article .archive_list li .article_info .tag span {
    padding: 5px 10px;
    border: 1px solid var(--text-color);
    font-size: 13px;
}
.archive_article .archive_list li .article_info .date .top,
.archive_article .archive_list li .article_info .date .bottom {
    text-align: center;
}
.archive_article .archive_list li .article_info .date .top {
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}
.archive_article .archive_list li .article_info .date .bottom {
    font-size: 43px;
    font-weight: 500;
    line-height: 1.2;
}
.archive_article .archive_list li .article_txt {
    flex: 1;
}
.archive_article .archive_list li .article_txt .ttl {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.07em;
    line-height: 2.2;
}
.archive_article .archive_list li .article_txt .txt {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.07em;
    line-height: 2.2;
}
@media screen and (max-width:990px) {
    .archive_article {
        width: 90%;
    }
}
@media screen and (max-width:768px) {
    .archive_article .archive_list li {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 20px;
    }
}

/*---------------------------------------------------------
                フォーム
---------------------------------------------------------*/
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="text"],
textarea {
    width: 100%;
    padding: 20px 10px;
    background: #F5F5F5;
}
textarea {
    height: 300px;
}
input[name="address_code"] {
    width: 150px;
}
label {
    cursor: pointer;
}
/* チェックボックス */
.checkbox_box label {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
input[type="checkbox"] {
    position: relative;
    appearance: none;
    width: 26px;
    height: 26px;
    border: 1px solid var(--text-color);
    cursor: pointer;
}
.checkbox_box label::after,
.contact_content .consent_box span::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: rotate(45deg);
    opacity: 0;
    width: 6px;
    height: 14px;
    margin-top: -8px;
    border-right: 2px solid var(--text-color);
    border-bottom: 2px solid var(--text-color);
    transition: .3s;
}
.contact_content .consent_box span::after {
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}
.checkbox_box label:has(:checked)::after,
.contact_content .consent_box span:has(:checked)::after {
    opacity: 1;
}
/* ラジオボタン */
.radio_box label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
input[type="radio"] {
    position: relative;
    appearance: none;
    width: 26px;
    height: 26px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
}
.radio_box label::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 5.5px;
    transform: translateY(-50%);
    opacity: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--text-color);
    transition: .3s;
}
.radio_box label:has(:checked)::after {
    opacity: 1;
}

.hidden_form {
    display: none;
}
/* リキャプチャ */
.grecaptcha-badge {
    visibility: hidden;
}
.recaptcha_txt {
    margin-top: 20px;
    text-align: center;
    font-size: 10px;
}

/*確認画面と完了画面を非表示*/
.confirm_area,
.thanks_area {
    display: none;
}

/* contact form 7 */
.wpcf7-response-output {
    display: none;
}
/*エラーメッセージ*/
.wpcf7-not-valid-tip {
    display: none !important;
}
.err,
.err_kana,
.err_mail,
.err_tel {
    display: block;
    margin-top: 6px;
    font-size: 12px !important;
    color: #CA3D3D !important;
}
.checkbox_box + .err,
.radio_box + .err {
    width: calc(100% - 270px);
    margin: 0 0 0 auto;
}
/* スピナー */
.wpcf7-spinner {
    display: block !important;
    margin: 10px auto !important;
}
/*打ち消し*/
.wpcf7-form-control-wrap {
    flex: 1;
    width: 100%;
}
.wpcf7-checkbox,
.wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 40px;
}
.wpcf7-checkbox span,
.wpcf7-radio span {
    display: flex;
    align-items: flex-start;
    width: calc((100% - 40px) / 2);
    margin: -2px 0 0 0;
}
.wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 !important;
}
.wpcf7-list-item-label {
    flex: 1;
    margin: -2px 0 0 0 !important;
}
/* 確認ボタンを強制非表示 */
#btn_confirm input[type="submit"] {
    display: none;
}

/*---------------------------------------------------------
                お問い合わせ
---------------------------------------------------------*/
.contact_attention_box {
    width: 80%;
    margin: 80px auto 0;
    text-align: center;
}
.contact_attention_box p {
    margin-top: 16px;
    font-size: 22px;
    font-weight: 500;
    word-break: keep-all;
}
.contact_tel_box {
    display: block;
    width: 80%;
    margin: 80px auto 0;
    padding: 50px;
    text-align: center;
}
.contact_tel_box h2 {
    font-size: 22px;
    font-weight: 600;
}
.contact_tel_box .txt_box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.contact_tel_box .txt_box .img_box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50px;
    background: #fff;
}
.contact_tel_box .txt_box p.subfont {
    font-size: clamp(40px,6vw,50px);
    font-weight: 500;
    letter-spacing: 0.07em;
    line-height: 2;
}
.contact_tel_box .cap {
    margin-top: -16px;
    font-size: 14px;
}
.contact_txt_box {
    width: 80%;
    margin: 100px auto 0;
    text-align: center;
    word-break: keep-all;
}
.contact_content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 70px;
    width: 80%;
    margin: 75px auto 0;
}
.contact_content .contact_flow {
    position: relative;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 30px;
}
.contact_content .contact_flow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15px;
    z-index: -1;
    display: inline-block;
    width: 1px;
    height: 100%;
    background: var(--text-color);
}
.contact_content .contact_flow li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.contact_content .contact_flow li::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #fff;
    border: 1px solid var(--text-color);
    border-radius: 50%;
}
.contact_content .contact_flow li::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 7px;
    transform: translateY(-50%);
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
}
.contact_content .contact_flow li.current::before {
    background: var(--text-color);
}
.contact_content .contact_flow li.current::after {
    background: #fff;
}
.contact_content .contact_box {
    flex: 1;
}
.contact_content .contact_box .form_box {
    display: block;
    padding: 5%;
    border: 1px solid var(--text-color);
}
.contact_content .contact_box .form_box dl {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 6px 30px;
    margin-top: 60px;
}
.contact_content .contact_box .form_box dl.flex_center {
    align-items: center;
}
.contact_content .contact_box .form_box > dl:first-of-type {
    margin-top: 0;
}
.contact_content .contact_box .form_box dt {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 240px;
    margin-top: 1em;
    font-weight: 500;
}
.contact_content .contact_box .form_box dl:first-of-type dt,
.contact_content .contact_box .form_box dl.flex_center dt {
    margin-top: 0;
}
.contact_content .contact_box .form_box dt::before {
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
}
.contact_content .contact_box .form_box dt.required::before {
    content: "必須";
    background: #CA3D3D;
}
.contact_content .contact_box .form_box dt.optional::before {
    content: "任意";
    background: #6A6A6A;
}
.contact_content .contact_box .form_box dd {
    flex: 1;
}
.contact_content .contact_box .form_box dd.flex_box {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}
.contact_content .contact_box .form_box dd .flex {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}
.contact_content .contact_box .form_box dd .flex > span {
    width: 48px;
    margin-top: 1em;
}
.contact_content .contact_box .form_box dd .input_box {
    flex: 1;
}
.contact_content .contact_box .form_box dd .cap {
    width: 100%;
    color: #9D9D9D;
    font-size: 13px;
}
.contact_content .contact_box .form_box .address_required .input_box {
    margin-bottom: 24px;
}
.contact_content .contact_txt {
    margin: 70px auto;
    text-align: center;
}
.contact_content .contact_txt a {
    text-decoration: underline;
}
.contact_content .consent_box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    background: #F5F5F5;
    word-break: keep-all;
    text-align: center;
}
.contact_content .consent_box span {
    flex: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact_content .contact_box .btn_box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.contact_content .btn_box {
    display: block;
    margin: 0 auto;
}
.contact_content .btn_box .btn_main {
    display: inline-block;
    width: 180px;
    padding-left: 0;
    font-size: 14px;
}
.contact_content .btn_box .btn_main.btn_back {
    width: 100px;
}
.contact_content .btn_box .btn_main input {
    width: 100%;
    height: 100%;
    padding-left: 20px;
    text-align: left;
}
@media screen and (max-width:1200px) {
    .contact_attention_box {
        width: 90%;
    }
    .contact_tel_box {
        width: 90%;
    }
    .contact_txt_box {
        width: 90%;
    }
    .contact_content {
        width: 90%;
    }
}
@media screen and (max-width:1024px) {
    .contact_content {
        flex-direction: column;
    }
    .contact_content .contact_flow {
        width: 80%;
        margin: 0 auto;
        flex-direction: row;
        justify-content: space-between;
    }
    .contact_content .contact_flow li {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .contact_content .contact_flow li:nth-child(2) {
        transform: translateX(-7px);
    }
    .contact_content .contact_flow::before {
        top: 16px;
        left: 50%;
        transform: translateX(-48%);
        width: 90%;
        height: 1px;
    }
    .contact_content .contact_flow li::after {
        top: 7px;
        left: 50%;
        transform: translate(-50%, 0);
    }
    .checkbox_box + .err {
        width: 100%;
        margin: 0;
    }    
}
@media screen and (max-width:990px) {
    .contact_content .contact_box .form_box dl {
        flex-direction: column;
        gap: 20px;
    }
    .contact_content .contact_box .form_box dl.flex_center {
        align-items: flex-start;
    }
    .contact_content .contact_box .form_box dd {
        width: 100%;
    }
}
@media screen and (max-width:768px) {
    .contact_txt_box {
        margin: 80px auto 0;
    }
    .contact_tel_box {
        width: 100%;
        padding: 35px 10px;
    }
    .contact_content .contact_flow::before {
        transform: translateX(-46%);
    }
}
@media screen and (max-width:500px) {
    .wpcf7-checkbox,
    .wpcf7-radio {
        gap: 20px;
    }
    .wpcf7-checkbox span,
    .wpcf7-radio span {
        width: 100%;
    }
    .contact_content .contact_box .form_box dd.flex_box {
        flex-direction: column;
        gap: 20px;
    }
    .contact_content .consent_box {
        flex-direction: column;
    }
}
/*---------------------------------------------------------
                お問い合せ確認
---------------------------------------------------------*/
.contact_content .contact_box.confirm {
    flex: 1;
}
.contact_content .contact_box.confirm  .form_box {
    padding-top: 0;
    border: none;
}
.contact_content .contact_box.confirm  .form_box dl {
    margin-top: 0;
    padding: 40px;
    border-bottom: 1px solid #CDCDCD;
}
.contact_content .contact_box.confirm  .form_box dt {
    margin-top: 0;
}
@media screen and (max-width:1024px) {
    .contact_content .contact_box.confirm {
        width: 100%;
    }
    .contact_content .contact_box.confirm .form_box {
        padding: 0;
    }
    .contact_content .contact_box.confirm .form_box dl {
        padding: 40px 20px;
    }
}
/*---------------------------------------------------------
                お問い合せ完了
---------------------------------------------------------*/
.thanks_container {
    width: 80%;
    margin: 180px auto 150px;
}
.thanks_container h1 {
    font-size: clamp(26px,3vw,34px);
    font-weight: 600;
    text-align: center;
}
.thanks_container p {
    margin-top: 58px;
    text-align: center;
}
.thanks_container .btn_main {
    width: 150px;
    margin: 100px auto 0;
    padding-left: 20px;
    font-size: 14px;
}
@media screen and (max-width:768px) {
    .thanks_container {
        width: 90%;
    }
    .thanks_container p {
        text-align: left;
    }
    .thanks_container p .sp_hidden {
        display: none;
    }
}
/*---------------------------------------------------------
                プライバシーポリシー
---------------------------------------------------------*/
.privacy_container {
    width: 80%;
    margin: 120px auto 150px;
}
.privacy_container .privacy_txt {
    padding: 72px 40px;
    text-align: center;
    word-break: keep-all;
}
.privacy_container .privacy_content {
    width: 90%;
    margin: 120px auto 0;
}
.privacy_container .privacy_content h2 {
    display: flex;
    align-items: flex-start;
    padding-bottom: 30px;
    font-size: 20px;
    font-weight: 500;
}
.privacy_container .privacy_content h2::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0.7em 10px 0 0;
    background: var(--text-color);
}
.privacy_container .privacy_content p + h2 {
    margin-top: 58px;
}
.privacy_container .privacy_content a {
    display: inline-block;
    margin-top: 5px;
    text-decoration: underline;
}
@media screen and (max-width:768px) {
    .privacy_container {
        width: 100%;
    }
    .privacy_container .privacy_txt {
        padding: 32px 10px;
    }
}

/*---------------------------------------------------------
                NOT FOUND
---------------------------------------------------------*/
.notfound_content {
    margin: 150px auto;
    width: 80%;
}
.notfound_content .btn_main {
    width: 150px;
    padding-left: 20px;
    font-size: 14px;
}


/*---------------------------------------------------------
                COMING SOON
---------------------------------------------------------*/
.coming_soon_content {
    padding: 160px 5% 0;
    min-height: 100vh;
}

.coming_soon_content h1 {
    letter-spacing: 0.07em;
    font-size: clamp(52px, 10vw, 102px);
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
}

.coming_soon_content h2 {
    margin-top: 32px;
    font-size: clamp(26px,3vw,34px);
    font-weight: 600;
    text-align: center;
}

.coming_soon_content p {
    margin-top: 16px;
    text-align: center;
}

.coming_soon_content p + p {
    margin-top: 72px;
}

.coming_soon_content .contact_box {
    width: 100%;
    max-width: 780px;
    margin: 40px auto 0;
    padding: 32px 20px;
    background-image: url(../img/img_bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    text-align: center;
}

.coming_soon_content .contact_box p {
    margin: 0;
    font-weight: 500;
}

.coming_soon_content .contact_box a {
    margin-top: 4px;
    font-size: 24px;
    font-weight: 500;
}

.coming_soon_content .contact_box a + p {
    font-size: 14px;
    font-weight: 400;
}

/*---------------------------------------------------------
                ローディング
---------------------------------------------------------*/
.loader {
    position: fixed;
    opacity: 0;
    z-index: 99;
    width: 100%;
    height: 100vh;
    background: var(--text-color);
    pointer-events: none;
}
.loader.on {
    opacity: 1;
}
.loader img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    width: 50%;
    min-width: 280px;
    height: auto;
    transition: .8s;
}
.loader.on img {
    opacity: 1;
    animation-name: shadow;
    animation-duration: 2s;
    animation-delay: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
@keyframes shadow {
    0% {
        -webkit-filter: drop-shadow(0px 3px 8px rgba(255, 255, 255, 0));
        filter: drop-shadow(0px 3px 8px rgba(255, 255, 255, 0));
    }
    50% {
        -webkit-filter: drop-shadow(0px 3px 8px rgba(255, 255, 255, 0.8));
        filter: drop-shadow(0px 3px 8px rgba(255, 255, 255, 0.8));
    }
    100% {
        -webkit-filter: drop-shadow(0px 3px 8px rgba(255, 255, 255, 0));
        filter: drop-shadow(0px 3px 8px rgba(255, 255, 255, 0));
    }
}
/*---------------------------------------------------------
                アニメーション
---------------------------------------------------------*/
.fadeinTrigger {
    opacity: 0;
}
.fadeinTrigger.fadeInAnime {
    animation-name: fadeIn;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.topslideTrigger,
.thanksslideTrigger,
.cateslideTrigger {
    overflow: hidden;
    opacity: 0;
}
.topslideTrigger.topSlideAnime,
.thanksslideTrigger.topSlideAnime,
.cateslideTrigger.topSlideAnime {
    animation-name: topSlide;
    animation-duration: 0.8s;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
@keyframes topSlide {
    from {
        transform: translateY(100%);
        /*要素を左の枠外に移動*/
        opacity: 0;
    }

    to {
        transform: translateX(0);
        /*要素を元の位置に移動*/
        opacity: 1;
    }
}
.leftslideTrigger {
    opacity: 0;
}
.leftslideTrigger.leftSlideAnime {
    animation-name: leftslide;
    animation-duration: 0.8s;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
@keyframes leftslide {
    from {
        transform: translateX(100%);
        /*要素を左の枠外に移動*/
        opacity: 0;
    }

    to {
        transform: translateX(0);
        /*要素を元の位置に移動*/
        opacity: 1;
    }
}
.rightslideTrigger {
    opacity: 0;
}
.rightslideTrigger.rightSlideAnime {
    animation-name: rightslide;
    animation-duration: 0.8s;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
@keyframes rightslide {
    from {
        transform: translateX(-100%);
        /*要素を左の枠外に移動*/
        opacity: 0;
    }

    to {
        transform: translateX(0);
        /*要素を元の位置に移動*/
        opacity: 1;
    }
}
.borderslideTrigger::after {
    width: 0;
}
.borderslideTrigger.borderSlideAnime::after {
    animation-name: borderslide;
    animation-duration: 0.8s;
    animation-delay: 0.3s;
    animation-fill-mode: forwards;
}
@keyframes borderslide {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* 追従する画像 */
.animation_start1 {
    position: relative;
    padding: 0 0 0 7em;
    margin-top: 20vw;
}
.animation_start2 {
    position: relative;
    padding-top: 160px;
}
.animation_start2.no_news {
    min-height: 120vh;
}
.img_animation1,
.img_animation2 {
    display: flex;
    overflow: hidden;
}
.img_animation1 img,
.img_animation2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .8s;
}

.img_animation1 {
    position: absolute;
    bottom: calc(100% + 5vw);
    right: -100%;
    width: 40vw;
    height: 20vw;
    aspect-ratio: 626 / 700;
}
.img_animation1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #6E7281;
}
.img_animation2 {
    position: absolute;
    top: 0;
    left: -100%;
    width: 35vw;
    aspect-ratio: 626 / 550;
}
.img_animation2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: #6E7281;
}

/* ↓↓↓↓背景が動いて現れるアニメーション処理↓↓↓↓ */
.img_animation1.animation_on {
    animation-name: flow1;
    animation-duration: .8s;
    animation-fill-mode: forwards;
}
@keyframes flow1 {
    100% {
        right: 0;
    }
}
.img_animation1.animation_on::before {
    animation-name: flow2;
    animation-duration: .8s;
    animation-delay: .8s;
    animation-fill-mode: forwards;
}
@keyframes flow2 {
    100% {
        transform: translateX(-100%);
    }
}
.img_animation2.animation_on {
    animation-name: flow3;
    animation-duration: .8s;
    animation-fill-mode: forwards;
}
@keyframes flow3 {
    100% {
        left: 0;
    }
}
.img_animation2.animation_on::before {
    animation-name: flow4;
    animation-duration: .8s;
    animation-delay: .8s;
    animation-fill-mode: forwards;
}
@keyframes flow4 {
    100% {
        transform: translateX(100%);
    }
}
@media screen and (max-width:990px) {
    .animation_start1 {
        transform: translateY(0);
        padding: 0 0 0 5%;
        margin-top: 0;
    }
    .animation_start1::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
        display: inline-block;
        width: 100%;
        height: 80%;
        background-image: url(../img/img_bg.png);
        background-repeat: no-repeat;
        background-size: cover;
    }
    .animation_start2.no_news {
        min-height: auto;
    }
    .img_animation1 {
        position: absolute;
        bottom: unset;
        width: 95vw;
        max-width: 500px;
        height: auto;
    }
    #about {
        margin-bottom: 40px;
    }
    #business {
        padding-top: 600px;
    }
    .animation_start2 {
        transform: translateY(-50px);
        padding-top: 50%;
    }
    .img_animation2 {
        width: 50vw;
    }
}
@media screen and (max-width:600px) {
    #business {
        padding-top: 118vw;
    }
}

/* ↑↑↑↑背景が動いて現れるアニメーション処理↑↑↑↑ */
