@charset "UTF-8";

/*===============================================
 *	common
===============================================*/
/*===============================================
 *	ソート用リンク
===============================================*/
.anc_box {
    margin-bottom: 60px;
}

.anc_list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 20px;
    gap: 20px;
}

.anc_list li {
    flex: 0 0 calc(25% - 15px);
    border: #0081cc 2px solid;
    text-align: center;
    position: relative;
    font-size: clamp(17px, 1.8vw, 18px);
    font-weight: bold;
}

.anc_list li::after {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
    border-bottom: solid 3px #0081cc;
    border-right: solid 3px #0081cc;
    transform: translateY(-50%) rotate(45deg);
    position: absolute;
    top: 50%;
    right: 20px;
    margin: auto;
}

.anc_list li a {
    color: var(--site-secondary);
    display: block;
    padding: 10px;
}

.anc_list li a:hover {
    background: #d6eefc;
}

@media only screen and (max-width: 960px) {
    .anc_list li::after {
        right: 10px;
    }

    .anc_box {
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 568px) {
    .anc_box {
        margin: 20px auto 30px;
    }

    .anc_list {
        gap: 10px;
    }

    .anc_list li {
        flex: 0 0 calc(50% - 5px);
        text-align: left;
    }

    .anc_list li::after {
        border-bottom: solid 2px #0081cc;
        border-right: solid 2px #0081cc;
        right: 10px;
    }
}

/*===============================================
 *	見出し
===============================================*/
.ttl_anc_set {
    font-weight: bold;
    line-height: 1.3;
    margin: 0 0 30px;
    position: relative;
}

/*
.ttl_anc_set::after{
  content: "";
  background: linear-gradient(90deg, var(--site-secondary) 0% 50%, var(--site-primary) 50%);
  background-size: contain;
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 90px;
  height: 8px;
}
 */
.case .case_ttl .ttl,
.case_white .case_ttl .ttl {
    display: block;
    font-size: clamp(21px, 2.65vw, 34px);
    padding: 0.5em 0 0.5em 6em;
    text-align: left;
}

.case .case_ttl .ttl span,
.case_white .case_ttl .ttl span {
    font-size: clamp(17px, 2.5vw, 30px);
}

.case_ttl {
    text-align: left;
}

.case_ttl .label {
    text-align: center;
    padding: 15px 0 0 15px;
}

@media only screen and (max-width: 1024px) {
    .case_ttl .label {
        padding: 10px 0 0 10px;
    }
}

@media only screen and (max-width: 968px) {

    .case .case_ttl .ttl,
    .case_white .case_ttl .ttl {
        padding: 0.5em 0 0.5em 7em;
    }
}

@media only screen and (max-width: 568px) {

    .case .case_ttl .ttl,
    .case_white .case_ttl .ttl {
        padding: .75em 0 .5em 0;
        text-align: center;
        line-height: 1.4;
    }

    .case .case_ttl .label,
    .case_white .case_ttl .label {
        padding: 10px 0;
    }

    .case_ttl {
        font-size: 22px;
    }

}

/*===============================================
 *	作業事例一覧
===============================================*/
.case_list {
    background: #eff6fd;
}

.case_list_contents {
    gap: 2vw;
}

.case_item {
    width: 31%;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
    border: 4px solid var(--site-primary);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.case_ttl {
    background: var(--site-primary);
    font-size: clamp(16px, 2.5vw, 24px);
    font-weight: bold;
    padding: 10px 20px;
}

.case_ttl span {
    position: relative;
    padding-left: 40px;
}

.case_ttl span::before {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.shiroari {
    background: url(../img/pest_trouble/pest_shiroari.png)no-repeat;
    background-size: contain;
}

.gokiburi {
    background: url(../img/pest_trouble/pest_gokiburi.png)no-repeat;
    background-size: contain;
}

.otherpests {
    background: url(../img/common/icon_otherpests.png)no-repeat;
    background-size: contain;
}

.hachi {
    background: url(../img/pest_trouble/pest_hachi.png)no-repeat;
    background-size: contain;
}

.nezumi {
    background: url(../img/common/icon_nezumi.png)no-repeat;
    background-size: contain;
}

.koumori {
    background: url(../img/common/icon_koumori.png)no-repeat;
    background-size: contain;
}

.gaijyu {
    background: url(../img/common/icon_gaijyu.png)no-repeat;
    background-size: contain;
}

.example_ttl {
    font-size: clamp(16px, 2.5vw, 24px);
    color: var(--site-primary);

}

.list_content {
    padding: 20px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.meta .date,
.meta-top .date {
    font-size: 13px;
    position: relative;
    padding-left: 18px;

}

.meta .date::before,
.meta-top .date::before {
    content: '';
    background: url(../img/common/icon_clock.svg)no-repeat;
    background-size: contain;
    width: 13px;
    height: 13px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.case_photo {
    border-radius: 5px;
    overflow: hidden;
}

.cost_box {
    color: var(--site-keycolor);
    font-weight: bold;
}

.cost_box .cost_ttl {
    font-size: clamp(14px, 2.2vw, 17px);
}

.cost_box .list_price strong {
    font-size: clamp(30px, 2.5vw, 42px);
    line-height: 1.1;
}

.cost_box .list_price .tax {
    font-size: clamp(16px, 2.2vw, 20px);
}

.details_table {
    width: 100%;
    max-width: 600px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #b3d7f7;
    border-radius: 8px;
    overflow: hidden;
}

.details_table th,
.details_table td {
    padding: 15px 20px;
    vertical-align: middle;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
}

.details_table th {
    background-color: #0084d6;
    color: #ffffff;
    width: 30%;
    text-align: center;
    letter-spacing: 2px;
    border-top: none;
    border-left: none;
    border-bottom: 2px solid #fff;
}

.details_table tr:last-child th {
    border-bottom: none;
}

.details_table td {
    background-color: #ffffff;
    color: #333333;
    text-align: left;
    border-right: none;
}

.details_table tr:not(:last-child) td {
    border-bottom: 1px solid #b3d7f7;
}

.btn-wrap {
    width: 100%;
    text-align: center;
    margin-top: auto;
    margin-bottom: 0;
}

.btn {
    max-width: 400px;
    width: 100%;
}

.btn a {
    display: block;
    text-align: center;
    position: relative;
    padding: 15px 20px;
    background-color: #ebf5ff;
    color: #00529a;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border: 4px solid #00529a;
    border-radius: 12px;
    transition: all 0.3s ease;
}


.btn a::after {
    content: "";
    background: url(../img/common/icon_arrow_bottom_blue.svg)no-repeat;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    width: 19px;
    height: 12px;
}

.btn a:hover {
    opacity: 0.8;
}

@media only screen and (max-width: 968px) {
    .case_ttl {
        font-size: 16px;
    }

    .case_ttl span {
        padding-left: 30px;
    }

    .list_content {
        padding: 20px;
        gap: 15px;
    }

    .details_table th,
    .details_table td {
        padding: 15px;
    }

    .btn a::after {
        right: 10px;
    }
}


@media only screen and (max-width: 568px) {
    .case_ttl {
        font-size: 22px;
    }

    .case_ttl span {
        padding-left: 35px;
    }

    .case_list_contents {
        margin: 0 -5.3vw;
        gap: 20px;
    }

    .case_item {
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .meta {
        display: flex;
        flex-direction: row-reverse;
        justify-content: left;
        align-items: center;
        gap: 10px;
    }

    .example_ttl {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .list_content {
        gap: 0;
        padding: 10px 20px 20px;
    }

    .case_photo {
        margin-bottom: 10px;
    }

    .case_photo img {
        height: 150px;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .cost_box {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
    }

    .cost_box .cost_ttl {
        font-size: 18px;
        line-height: 1.3;
    }


    .cost_box .list_price,
    .cost_box .list_price .tax {
        font-size: 20px;
    }

    .cost_box .list_price strong {
        font-size: 40px;
    }

    .details_table th,
    .details_table td {
        padding: 7px 10px;
        font-size: 14px;
    }

    .details_table {
        margin-bottom: 20px;
    }
}

/*----------------------------------------------
ページネーション
------------------------------------------------*/

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    margin-bottom: 40px;
}


.pagination .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #0084cf;
    border-radius: 6px;
    color: #0084cf;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
    box-sizing: border-box;
    transition: background-color 0.2s, color 0.2s;
}


.pagination .page-numbers.current {
    background-color: #0084cf;
    color: #ffffff;
    border-color: #0084cf;
}


.pagination a.page-numbers:hover {
    background-color: #e6f3fc;
}

@media only screen and (max-width: 568px) {
    .pagination {
        margin-bottom: 0;
    }
}


/*===============================================
 *	詳細ページ
===============================================*/
.case_detail_conternts {}

.meta-top .date.lg-txt {
    font-size: 17px;
}

.date.lg-txt::before {
    width: 17px;
    height: 17px;
}

.case_detail_conternts .meta-top {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
}

.case_detail_conternts .meta-top .badge {
    background: var(--site-primary);
    color: #f0ff00;
    font-size: 14px;
    padding: 3px 10px;
}

.case_detail_conternts .meta-top .location {
    font-size: 17px;
}

.case_detail_conternts .meta-top .date {
    margin-left: auto;
}

.case_detail_conternts .detail_ttl {
    font-size: clamp(24px, 2.5vw, 32px);
    color: var(--site-primary);
    background: none;
    margin-bottom: 20px;
}

.detail_intro {
    margin-bottom: 30px;
    gap: 20px;
}

.case_img {
    border-radius: 10px;
    overflow: hidden;
    height: fit-content;
}

.case_txt {
    max-width: 52%;
    width: 100%;
}

.cost_note {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

.situation {
    margin-bottom: 30px;
}

.work_img {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
}

.before_img,
.after_img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.before_img::after {
    content: 'Before';
    font-size: clamp(16px, 2.5vw, 24px);
    color: #fff;
    padding: 2px 18px;
    position: absolute;
    right: 0;
    top: 0;
    background: #acacac;
}

.after_img::after {
    content: 'After';
    font-size: clamp(16px, 2.5vw, 24px);
    color: #fff;
    padding: 2px 18px;
    position: absolute;
    right: 0;
    top: 0;
    background: var(--site-primary);
}

.work_ttl {
    background: var(--site-primary);
    color: #f0ff00;
    text-align: center;
    font-size: clamp(20px, 2.5vw, 28px);
    padding: 10px;
}

.work_content {
    padding: 30px 40px;
    background: #ececec;
    gap: 1vw;
    align-items: center;
}

.compare-arrow {
    font-size: clamp(24px, 2.5vw, 36px);
    color: var(--site-secondary);
}

.ditail_list li {
    display: flex;
    align-items: center;
    font-size: 19px;
    gap: 10px;
}

.ditail_list li .num {
    background: var(--site-keycolor);
    border-radius: 50px;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 5px 10px;
    letter-spacing: 0;
}

.ditail_box {
    margin-bottom: 40px;
}

.staff_comment {
    background: url("../img/common/bg_stripe_02.png");
    padding: 30px;
    display: grid;
    grid-template-columns: 26% 70%;
    grid-template-rows: auto auto;
    gap: 1vw 2vw;
}

.staff_img {
    grid-column: 1;
    grid-row: 1 / 3;
}

.staff-ttl {
    font-size: clamp(20px, 2.5vw, 32px);
    color: var(--site-primary);
    grid-column: 2;
    grid-row: 1;
}

.staff-ttl span {
    position: relative;
    padding-left: 42px;
}

.staff-ttl span::before {
    content: '';
    background: url(../img/koumori/icon_professionals.png)no-repeat;
    background-size: contain;
    width: 32px;
    height: 43px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.staff-text {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    grid-column: 2;
    grid-row: 2;
}

.nav-links {
    gap: 20px;
    justify-content: center;
    margin: 40px auto;
}

.nav-btn-prev,
.nav-btn-next {
    font-size: 20px;
    border: 2px solid var(--site-secondary);
    border-radius: 5px;
    position: relative;
    box-sizing: border-box;
    padding: 10px 30px;
    max-width: 180px;
    width: 100%;
    text-align: center;
}

.nav-btn-prev::before {
    content: '';
    background: url(../img/common/icon_arrow_right_blue.svg)no-repeat;
    width: 9px;
    height: 12px;
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%)rotate(-180deg);
}

.nav-btn-next::before {
    content: '';
    background: url(../img/common/icon_arrow_right_blue.svg)no-repeat;
    width: 9px;
    height: 12px;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}


a.nav-btn-prev,
a.nav-btn-next {
    color: var(--site-secondary);
}

.nav-btn-archive {
    font-size: 20px;
    color: #fff;
    background: var(--site-secondary);
    padding: 10px 20px;
    border-radius: 5px;
    width: 100%;
    max-width: 165px;
    text-align: center;
}

/*---その他の事例--*/
.other_case {
    gap: 20px;
    padding: 15px 0;
    border-bottom: 2px solid #999;
    align-items: center;
}

.case_name {
    align-items: center;
    gap: 10px;
}

.other_case .case_badge {
    font-size: 14px;
    font-weight: bold;
    color: #f0ff00;
    padding: 5px;
    background: var(--site-primary);
}

.other_case .case_date {
    font-size: 16px;
    font-weight: bold;
}

.other_case .case_item_title {
    font-size: 24px;
}

.case_item_btn_wrap {
    margin-left: auto;
}

.case_item_btn_wrap a {
    border: 2px solid var(--site-primary);
    padding: 5px 40px;
    position: relative;
    border-radius: 5px;
    transition: background-color 0.5s ease;
}

.case_item_btn_wrap a::after {
    content: "";
    background: url(../img/common/icon_arrow_bottom_blue.svg) no-repeat;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    width: 13px;
    height: 9px;
}
.case_item_btn_wrap a:hover{
    background: var(--site-primary);
    color: #fff;
}

.case_item_btn_wrap a:hover::after{
    background: url(../img/common/arrow_top_white.svg)no-repeat;
    transform: translateY(-50%) rotate(90deg);
}

@media only screen and (max-width: 568px) {
    .case-detail {
        margin: 20px auto;
    }

    .detail_intro,
    .detail_intro .cost_box {
        flex-direction: column;
    }

    .case_detail_conternts .meta-top {
        display: grid;
        grid-template-columns: 35% 60%;
        grid-template-rows: auto auto;
        gap: 5px 10px;
        margin-bottom: 10px;
    }

    .case_detail_conternts .meta-top .badge {
        font-size: 12px;
        padding: 0 5px;
        grid-column: 1;
        grid-row: 1;
        text-align: center;
    }

    .case_detail_conternts .meta-top .location {
        font-size: 14px;
        grid-column: 2;
        grid-row: 1;
    }

    .case_detail_conternts .meta-top .date {
        font-size: 14px;
        grid-column: 1 / 3;
        grid-row: 2;
        margin-left: 0;
    }


    .detail_intro .case_txt {
        max-width: 100%;
    }

    .detail_intro .cost_box {
        gap: 5px;
    }

    .cost_note {
        margin-bottom: 0;
        font-size: 12px;
        text-indent: -1em;
        padding-left: 1em;
    }

    .detail_intro .details_table {
        margin-bottom: 0;
    }

    .detail_intro .details_table th {
        width: 20%;
    }

    .work_img {
        margin-bottom: 20px;
    }

    .work_content {
        padding: 20px;
        flex-direction: column;
    }

    .compare-arrow {
        transform: rotate(90deg);
    }

    .ditail_list {
        flex-direction: column;
        gap: 10px;
    }

    .ditail_list li {
        font-size: 17px;
    }

    .ditail_list li .num {
        font-size: 15px;
        padding: 5px 8px;
    }

    .staff_comment {
        margin: 0 -5.3vw;
        padding: 20px;
        grid-template-columns: 48% 48%;
        gap: 15px;
    }

    .staff-ttl {
        place-self: center;
    }

    .staff-ttl span {
        display: inline-block;
    }

    .staff_img {
        grid-column: 1;
        grid-row: 1;
    }

    .staff-text {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    .nav-links {
        display: grid;
        grid-template-columns: 48% 48%;
        grid-template-rows: auto auto;
        gap: 10px;
        margin: 30px auto 0;
    }

    .nav-btn-prev {
        grid-column: 1;
        grid-row: 1;
        font-size: 16px;
    }

    .nav-btn-next {
        grid-column: 2;
        grid-row: 1;
        font-size: 16px;
    }

    .nav-btn-archive {
        grid-column: 1 / 3;
        grid-row: 2;
        font-size: 16px;
        max-width: 100%;
    }

.case_name{
    display: grid;
    grid-template-columns: 38% 58%;
    grid-template-rows: auto auto;
    max-width: 60%;
}
.other_case{
    gap: 10px;
}
.other_case .case_badge{
    grid-column: 1;
    grid-row: 1;
    font-size: 10px;
    text-align: center;
}
.other_case .case_date{
    grid-column: 2;
    grid-row: 1;
    font-size: 14px;
}
.other_case .case_item_title{
    grid-column: 1 / 3;
    grid-row: 2;
    font-size: 18px;
}
.case_item_btn_wrap{
    margin-left: 0;
}
.case_item_btn_wrap a{
    font-size: 14px;
    padding: 5px 25px 5px 20px;
}
.case_item_btn_wrap a::after{
    right: 5px;
}



}

/*
.ttl_colorbar {
  background: #0081cc;
  border-radius: 60px;
  font-size: min(5vw, 32px);
  font-weight: bold;
  padding: 10px 0;
  text-align: center;
  margin: 0 auto 40px;
}
.ttl_anc_set .icon_ttl {
  font-size: clamp(22px, 3.2vw, 42px);
  padding-left: 55px;
}
.price_txt_size{
  display: block;
  font-size: clamp(14px, 1.5vw, 17px);
}
.ttl_anc_set .icon_gokiburi {
  background: url(../img/voice/icon_gokiburi.png) no-repeat left center;
  background-size: 48px 58px;
}
.ttl_anc_set .icon_shiroari {
  background: url(../img/voice/icon_shiroari.png) no-repeat left center;
  background-size: 44px 64px;
}
.ttl_anc_set .icon_hachi {
  background: url(../img/voice/icon_hachi.png) no-repeat left center;
  background-size: 56px 60px;
  padding-left: 65px;
}
.ttl_anc_set .icon_gaichu {
  background: url(../img/voice/icon_gaichu.png) no-repeat left center;
  background-size: 61px 60px;
  padding-left: 75px;
}
.ttl_anc_set .icon_nezumi {
  background: url(../img/voice/icon_nezumi.png) no-repeat left center;
  background-size: 80px 47px;
  padding-left: 95px;
}
.ttl_anc_set .icon_koumori {
  background: url(../img/voice/icon_koumori.png) no-repeat left center;
  background-size: 81px 31px;
  padding-left: 95px;
}
.ttl_anc_set .icon_gaijyu {
  background: url(../img/voice/icon_gaijyu.png) no-repeat left center;
  background-size: 77px 49px;
  padding-left: 95px;
}
.case_wrapper .case_box:not(:last-child) {
  margin-bottom: 50px;
}
.case_wrapper .case_box:last-child {
  margin-bottom: 0;
}
@media only screen and (max-width: 960px) {
  .ttl_colorbar {
    margin: 0 auto 4vw;
  }
}
@media only screen and (max-width: 568px) {
  .ttl_colorbar {
    margin: 0 5% 4vw;
  }
  .ttl_anc_set{
    margin: 0 0 15px;
  }
  .ttl_anc_set .icon_shiroari {
    background-size: contain;
    padding-left: 1.25em;
  }
  .ttl_anc_set .icon_hachi {
    background-size: contain;
  }
  .ttl_anc_set .icon_gokiburi {
    background-size: contain;
    padding-left: 1.5em;
  }
  .ttl_anc_set .icon_gaichu {
    background-size: contain;
    padding-left: 1.8em;
  }
  .ttl_anc_set .icon_nezumi {
    background-size: 50px 27px;
    padding-left: 3em;
  }
  .ttl_anc_set .icon_koumori {
    background-size: 51px 25px;
    padding-left: 2.5em;
  }
  .ttl_anc_set .icon_gaijyu {
    background-size: contain;
    padding-left: 2.75em;
  }
  .case_wrapper .case_box:not(:last-child) {
    margin-bottom: 30px;
  }
}

/*===============================================
 *	テーブル
===============================================*/
/*.detail_table {
  margin-top: 30px;
}
.detail_table th {
  padding: 0.85em 0;
}
@media only screen and (max-width: 568px) {
  .detail_table {
    margin-top: 10px;
  }
   .detail_table td span{
    font-size: 13px;
  }
}
*/