@charset "utf-8";

/* ===========================================
   詳細ページ
=========================================== */
.cleanup-case__date {
    margin-bottom: 10px;
}

.cleanup-case__single {
    background: #fff;
    padding: 20px 0;
}

.cleanup-case__section:nth-of-type(n+2) {
    margin-top: 50px;
}

.cleanup-case__summary-content {
    width: 100%;
}

.cleanup-case__summary-inner {
    display: flex;
    gap: 30px;
}

.cleanup-case__summary-image {
    width: 35%;
    flex-shrink: 0;
}

.cleanup-case__summary-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.cleanup-case__summary-image:empty {
    display: none;
}

.cleanup-case__title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0055a5;
    line-height: 1.3;
    margin: 0 0 15px 0;
}

.cleanup-case__section-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #D0D0D0;
    position: relative;
    padding-left: 15px;
}

.cleanup-case__section-title::before {
    content: "";
    width: 4px;
    height: 80%;
    background-color: #ff8400;
}

.cleanup-case__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.cleanup-case__table th {
    width: 30%;
    background: #f8f8f8;
    color: #333;
    font-weight: bold;
    padding: 15px 20px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.cleanup-case__table td {
    background: #fff;
    padding: 15px 20px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

/* .cleanup-case__tags {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.cleanup-case__tag {
    display: inline-block;
    padding: 3px 10px 1px;
    background: #F2F6FA;
    border: 1px solid #A9C6E1;
    text-decoration: none;
    border-radius: 2px;
} */

.cleanup-case__category {
    background: #ff8400;
    color: #fff;
    border-color: #ff8400;
}

.cleanup-case__meta {
    margin-bottom: 15px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: #E0E0E0;
    padding: 10px 0;
    display: flex;
    gap: 20px;
}

.span.cleanup-case__meta-item {
    display: flex;
}

.cleanup-case__meta-item--label {
    display: inline-block;
    padding: 0 5px;
    background-color: #EAEAEA;
    margin-right: 10px;
}

.cleanup-case__ba-block {
    margin-bottom: 30px;
}

.cleanup-case__ba-block.--2col {
    display: grid;
    grid-template-columns: 310px 1fr 310px;
}

.cleanup-case__ba-block.--1col {
    display: block;
    text-align: center;
}

.cleanup-case__ba-block.--1col .cleanup-case__ba-image {
    max-width: 600px;
    max-height: 600px;
    margin: 0 auto;
}

.cleanup-case__ba-item {
    flex: 1;
}

.cleanup-case__ba-label {
    margin-bottom: 5px;
    color: #666;
}

.cleanup-case__ba-image-wrap {
    position: relative;
}

.cleanup-case__ba-item.--before .cleanup-case__ba-image-wrap::before,
.cleanup-case__ba-item.--after .cleanup-case__ba-image-wrap::before {
    position: absolute;
    top: -25px;
    right: -15px;
}

.cleanup-case__ba-item.--before .cleanup-case__ba-image-wrap::before {
    content: url(../img/cleanup-case/icon_before.svg);
}

.cleanup-case__ba-item.--after .cleanup-case__ba-image-wrap::before {
    content: url(../img/cleanup-case/icon_after.svg);
}

.cleanup-case__ba-block.--2col .cleanup-case__ba-image {
    width: 100%;
    aspect-ratio: 1;
    background: #eee;
    object-fit: contain;
}

.cleanup-case__ba-caption {
    margin-top: 8px;
    color: #333;
    line-height: 1.5;
    text-align: left;
}

.cleanup-case__ba-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cleanup-case__ba-arrow::after {
    content: "▶";
    color: #ff8400;
}

.step-list {
    list-style: none;
    counter-reset: step-counter;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    counter-increment: step-counter;
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    border-radius: 4px;
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    background-color: #F2F6FA;
}

.step-label {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    margin-left: 10px;
    width: 50px;
    padding: 7px 0 5px;
    gap: 5px;
}

.step-item:nth-child(odd) .step-label {
    background-color: #0055A5;
}

.step-item:nth-child(even) .step-label {
    background-color: #266FB3;
}

.step-label::before {
    content: "STEP";
    font-size: 12px;
    letter-spacing: 0.05em;
    line-height: 1;
}

.step-label::after {
    content: counter(step-counter, decimal-leading-zero);
    font-size: 30px;
    font-weight: bold;
}

.step-label-arrow {
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 12px;
    overflow: hidden;
}

.step-label-arrow::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 35px 0 35px;
}

.step-item:nth-child(odd) .step-label-arrow::before {
    border-color: #0055A5 transparent transparent transparent;
}

.step-item:nth-child(even) .step-label-arrow::before {
    border-color: #266FB3 transparent transparent transparent;
}

.step-item:last-child .step-label-arrow {
    display: none;
}

.step-content {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-title {
    font-weight: bold;
    margin-bottom: 6px;
}

.step-description {
    color: #666;
}

.cleanup-case__text {
    margin: 0;
}

.cleanup-case__staff-inner {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.cleanup-case__staff-photo {
    flex-shrink: 0;
    text-align: center;
}

.cleanup-case__staff-photo img {
    border-radius: 50%;
    object-fit: cover;
    width: 100px;
    aspect-ratio: 1;
}

.cleanup-case__staff-name {
    margin: 10px 0 0 0;
    text-align: center;
}

.cleanup-case__staff-content {
    flex: 1;
}

.contact-card {
    background-color: #004D94;
    background-image: url(../img/cleanup-case/bg_CONTACT.svg);
    background-repeat: no-repeat;
    position: relative;
}

.contact-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/cleanup-case/bg_cta_track.png) no-repeat;
    background-size: auto 265px;
    background-position: right top;
    opacity: 0.8;
}

.contact-card__top {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.contact-card__title {
    color: #fff;
    font-weight: bold;
    font-size: 22px;
}

.contact-card__title::before {
    content: none;
}

.contact-card__text {
    color: #fff;
}

.contact-card__bottom {
    position: relative;
    z-index: 1;
    padding: 0 20px 20px;
}

.contact-card__contents {
    padding: 10px;
    margin: 0 0 0 auto;
    background-color: #ffffffcc;
    border-radius: 4px;
    max-width: 410px;
    box-shadow: 0 0 25px 0px hsl(0deg 0% 20% / 40%);
    backdrop-filter: blur(4px);
}

.contact-card__contents--top {
    display: flex;
    align-items: center;
}

.contact-card__logo {
    display: block;
    height: auto;
    flex-shrink: 0;
}

.contact-card__tel {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-left: 10px;
    border-left: 1px solid #A6BFD8;
    margin-left: 20px;
}

.contact-card__tel span {
    display: block;
    font-size: 16px;
}

.contact-card__contents--bottom {
    border-top: 1px solid #A6BFD8;
    padding-top: 10px;
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 10px;
}

.contact-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50px;
    line-height: normal;
    width: 100%;
    box-sizing: border-box;
}

.contact-card__btn.--orange-line {
    background-color: #ffffff;
    border: 2px solid #FF8400;
    color: #E57700;
}

.contact-card__btn.--line {
    background-color: #06C755;
    color: #fff;
}

.contact-card__staff {
    position: absolute;
    left: -45px;
    bottom: 0;
    width: 270px;
}

.contact-card__free-icon {
    position: absolute;
    top: -20px;
    right: -10px;
    z-index: 1;
}

.banner-everest {
    display: block;
}

.cleanup-case__related-slider .swiper-wrapper .swiper-slide:last-of-type .cleanup-case__related-card {
    margin-right: 10px;
}

.cleanup-case__related-card {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 0 15px 0px #3333331a;
    margin: 10px 0 10px 10px;
    transition: .3s;
}

.cleanup-case__related-card:hover {
    box-shadow: 0 0 15px 0px #3333;
}

.cleanup-case__related-card-title {
    margin: 0 0 10px 0;
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 5px;
}

.cleanup-case__related-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.cleanup-case__related-card-tag {
    display: inline-block;
    padding: 3px 12px;
    border: 1px solid #999;
    border-radius: 20px;
}

.cleanup-case__related-card-images {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 5px;
}

.cleanup-case__related-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cleanup-case__related-card-image:hover {
    opacity: 1;
}

.cleanup-case__related-card-arrow {
    display: inline-block;
    font-size: 10px;
    line-height: 1;
}

.cleanup-case__related-card-arrow::before {
    content: "▶";
    color: #0055A5;
}

.cleanup-case__related-card-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.cleanup-case__related-card-link::after {
    content: url(../img/cleanup-case/icon_arrow.svg);
}

/* .category-list a {
    display: flex;
    justify-content: space-between;
    padding: 7px 2px 5px 0;
}

.category-list a::after {
    content: url(../img/cleanup-case/icon_side_title_category.svg);
}

.category-list li:nth-of-type(n+2) a {
    border-top: 1px solid #D0D0D0;
} */

.cleaning-sidebar__title {
    text-align: center;
    background-color: #0055A5;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
    padding: 5px;
}

/* ===========================================
   アーカイブページ・タクソノミーページ
=========================================== */
.cleanup-case__archive {
    padding: 20px 0;
}

.cleanup-case__archive-header {
    margin-bottom: 40px;
}

.cleanup-case__archive-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0055a5;
    line-height: 1.3;
    margin: 0 0 30px 0;
    text-align: center;
}

.cleanup-case__archive-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #ffde00;
    margin: 20px auto 0;
}

.cleanup-case__archive-lead {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    text-align: center;
}

.cleanup-case__archive-description {
    line-height: 1.8;
    margin: 0;
}

.cleanup-case__archive-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.cleanup-case__archive-list .cleanup-case__related-card {
    margin: 10px;
}

/* ページネーション */
.cleanup-case__archive .wp-pagenavi {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.cleanup-case__archive .wp-pagenavi a,
.cleanup-case__archive .wp-pagenavi span {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    overflow: hidden;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    font-size: 1.6rem;
    padding: 0;
    background: #f7f7f7;
    border: none;
    font-weight: bold;
    margin: 0 5px;
}

.cleanup-case__archive .wp-pagenavi a:hover {
    background: #e0e0e0;
}

.cleanup-case__archive .wp-pagenavi .current {
    background: #0055a5;
    color: #fff;
}