@charset "UTF-8";

/**
 * Works Archive Page Styles
 * Follows top_div_fl_prefix.mdc rule - using fl_ prefix for top-level divs
 */

/* Import Google Fonts for Din 2014 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

/* ----------------------------------------
   パンくずリスト
---------------------------------------- */
.fl_breadcrumbs {
    padding: 24px 64px;
    display: flex;
    align-items: center;
    background-color: #fff;
}

.fl_breadcrumbs .breadcrumbs-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fl_breadcrumbs .breadcrumbs-home {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.fl_breadcrumbs .home-icon {
    width: 16px;
    height: 16px;
    background-image: url('../images/home-icon.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.fl_breadcrumbs .breadcrumbs-separator {
    color: #999;
    font-size: 10px;
    font-weight: 500;
}

.fl_breadcrumbs .breadcrumbs-current {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* ----------------------------------------
   MV画像
---------------------------------------- */
.fl_works_mv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/works-mv.png');
  background-size: cover;
  background-position: left 10% bottom 67%;
  z-index: 0;
}

/* ----------------------------------------
   施工事例セクション
---------------------------------------- */
.fl_works_section {
    padding: 64px 160px;
    background-color: #fff;
}

.fl_works_section .works-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    margin-bottom: 24px;
    background-color: #0280A4;
}

.fl_works_section .section-title {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.fl_works_section .works-view-all {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 22px 6px 30px;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 20px;
    text-decoration: none;
    color: #0280A4;
    font-size: 14px;
    font-weight: 500;
}

.fl_works_section .view-all-icon {
    width: 16px;
    height: 16px;
    background-image: url('../images/chevron-right-blue.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.fl_works_section .works-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start;
}

.fl_works_section .works-card {
    flex: 0 0 calc(33.333% - 22px);
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
}

.fl_works_section .card-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.fl_works_section .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.fl_works_section .card-new {
    width: 100px;
    background: #e60012;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    top: 0px;
    left: 0px;
    padding: 4px 0;
    position: absolute;
    transform-origin: left top;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    aspect-ratio: 1 / cos(30deg);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    border-top-left-radius: 10px;
}
.fl_works_section .card-new span {
    position: absolute;
    top: 15px;
    left: 10px;
    transform: rotate(-45deg);
}

.fl_works_section .card-content {
    padding: 16px 10px;
}

.fl_works_section .card-customer {
    color: #333;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-align: center;
}

.fl_works_section .card-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fl_works_section .card-title-container {
    margin-bottom: 4px;
}

.fl_works_section .card-title {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align:left;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fl_works_section .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fl_works_section .tag {
    display: inline-block;
    padding: 2px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.04em;
    background-color: #0280A4;
    color: #fff;
}

.fl_works_section .tag-work-type {
    background-color: #FFFCEF;
    color: #333;
}

.fl_works_section .card-age {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fl_works_section .tag-age {
    background-color: #E0E0E0;
    border-radius: 5px;
    letter-spacing: 0.04em;
    color: #333;
}

.fl_works_section .age-value {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.fl_works_section .card-divider {
    height: 1px;
    background-color: #E0E0E0;
    margin: 4px 0;
}

.fl_works_section .card-work-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fl_works_section .card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 24px 8px 12px;
    background-color: #fff;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    align-self: flex-start;
    margin-top: 8px;
    letter-spacing: 0.1em;
}

.fl_works_section .button-icon {
    width: 16px;
    height: 16px;
    background-image: url('../images/chevron-right.svg');
    background-repeat: no-repeat;
    background-position: center;
}

/* ----------------------------------------
   レスポンシブスタイル
---------------------------------------- */
@media (max-width: 1200px) {
    .fl_works_section {
        padding: 40px 60px;
    }

    .fl_works_section .works-card {
        flex: 0 0 calc(50% - 16px);
    }

    .fl_contact-section {
        padding: 40px 60px;
    }

    .fl_contact-section .contact-methods {
        flex-direction: column;
        align-items: center;
    }
}


@media (max-width: 768px) {
    .fl_breadcrumbs {
        padding: 16px;
    }


    .fl_works_section {
        padding: 32px 20px;
    }

    .fl_works_section .works-section-header {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .fl_works_section .works-card {
        flex: 0 0 100%;
    }

    .fl_contact-section {
        padding: 32px 20px;
    }

    .fl_contact-section .phone-button,
    .fl_contact-section .contact-button {
        min-width: unset;
        width: 100%;
        max-width: 320px;
    }

    .fl_contact-section .phone-button {
        padding: 8px 32px;
    }

    .fl_contact-section .phone-number {
        font-size: 32px;
    }

    .fl_contact-section .contact-button {
        padding: 16px 32px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .fl_contact-section .phone-number {
        font-size: 24px;
    }

    .fl_contact-section .contact-button {
        font-size: 18px;
    }
}
