/* ==========================================================================
   Dickies × LIBERTY WALK Landing Page Styles
   CMS Specificity Hardened Version (.newspage / .tbl-container compatible)
   ========================================================================== */
.newspage .lbwk-lp,
.tbl-container .lbwk-lp,
.lbwk-lp {
    background-color: #f7f6f2;
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: #111111 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.lbwk-lp * {
    box-sizing: border-box;
}

.lbwk-lp .contents-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.lbwk-lp img {
    display: block;
    width: 100%;
    height: auto;
}

/* CMS の既定（オレンジのリンク・中央寄せの見出し）を打ち消す */
.newspage .lbwk-lp a,
.tbl-container .lbwk-lp a,
.lbwk-lp a {
    color: inherit !important;
    text-decoration: none !important;
}

.newspage .lbwk-lp h1,
.newspage .lbwk-lp h2,
.newspage .lbwk-lp h3,
.tbl-container .lbwk-lp h1,
.tbl-container .lbwk-lp h2,
.tbl-container .lbwk-lp h3 {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

/* --------------------------------------------------------------------------
   日本語の改行
   -------------------------------------------------------------------------- */
.lbwk-lp h1,
.lbwk-lp h2,
.lbwk-lp h3,
.lbwk-lp p,
.lbwk-lp li,
.lbwk-lp dd {
    font-feature-settings: 'palt';
    line-break: strict;
    word-break: keep-all;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

@supports (word-break: auto-phrase) {
    .lbwk-lp h1,
    .lbwk-lp h2,
    .lbwk-lp h3,
    .lbwk-lp p,
    .lbwk-lp li,
    .lbwk-lp dd {
        word-break: auto-phrase;
    }
}

.lbwk-lp h1,
.lbwk-lp h2,
.lbwk-lp h3 {
    text-wrap: balance;
}

.lbwk-lp .nw {
    white-space: nowrap;
}

.lbwk-lp br.sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .lbwk-lp br.sp {
        display: inline;
    }

    .lbwk-lp br.pc {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   01. HERO / MAIN VISUAL
   -------------------------------------------------------------------------- */
.lbwk-lp .lbwk-hero {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.lbwk-lp .lbwk-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------------------------------------
   02. INTRO SECTION
   -------------------------------------------------------------------------- */
.lbwk-lp .lbwk-intro {
    padding: 80px 20px 60px;
    text-align: center;
}

.newspage .lbwk-lp h1.lbwk-intro__title,
.tbl-container .lbwk-lp h1.lbwk-intro__title,
.lbwk-lp h1.lbwk-intro__title,
.lbwk-lp .lbwk-intro__title {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 32px !important;
    font-weight: 900 !important;
    letter-spacing: 1.5px !important;
    color: #000000 !important;
    margin: 0 0 12px !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
}

.lbwk-lp .lbwk-intro__subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #666666 !important;
    letter-spacing: 2px;
    margin: 0 0 35px;
    line-height: 1.5;
}

.lbwk-lp .lbwk-intro__lead {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
    color: #000000 !important;
    max-width: 780px;
    margin: 0 auto 20px;
}

.lbwk-lp .lbwk-intro__desc {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    color: #333333 !important;
    max-width: 780px;
    margin: 0 auto;
}

.lbwk-lp .lbwk-intro__desc + .lbwk-intro__desc {
    margin-top: 18px;
}

.lbwk-lp .lbwk-divider {
    width: 100px;
    height: 3px;
    background-color: #000000;
    margin: 50px auto 0;
}

/* --------------------------------------------------------------------------
   03. LOOK GALLERY
   -------------------------------------------------------------------------- */
.lbwk-lp .lbwk-gallery {
    margin: 20px auto 70px;
    max-width: 980px;
}

.lbwk-lp .lbwk-gallery__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.lbwk-lp .lbwk-gallery__item--half {
    flex: 1 1 calc(50% - 6px);
}

.lbwk-lp .lbwk-gallery__item--third {
    flex: 1 1 calc(33.333% - 8px);
}

.lbwk-lp .lbwk-gallery__item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   04. COLLECTION ITEMS HEADER
   -------------------------------------------------------------------------- */
.lbwk-lp .lbwk-collection-header {
    text-align: center;
    padding-top: 20px;
    margin-bottom: 50px;
}

.newspage .lbwk-lp h2.lbwk-collection-header__title,
.tbl-container .lbwk-lp h2.lbwk-collection-header__title,
.lbwk-lp h2.lbwk-collection-header__title,
.lbwk-lp .lbwk-collection-header__title {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    color: #000000 !important;
    margin: 0 0 10px !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.lbwk-lp .lbwk-collection-header__subtitle {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #666666 !important;
    margin: 0;
}

.lbwk-lp .lbwk-collection-header__line {
    width: 240px;
    height: 1px;
    background-color: #d8d6cf;
    margin: 25px auto 0;
}

/* --------------------------------------------------------------------------
   05. PRODUCT BLOCK
   -------------------------------------------------------------------------- */
.lbwk-lp .lbwk-product-block {
    max-width: 980px;
    margin: 0 auto 90px;
    background-color: #ffffff;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.newspage .lbwk-lp a.lbwk-product-visual-link,
.tbl-container .lbwk-lp a.lbwk-product-visual-link,
.lbwk-lp a.lbwk-product-visual-link {
    display: block !important;
    transition: opacity 0.3s ease;
}

.newspage .lbwk-lp a.lbwk-product-visual-link:hover,
.lbwk-lp a.lbwk-product-visual-link:hover {
    opacity: 0.95 !important;
}

.lbwk-lp .lbwk-product-visual {
    width: 100%;
}

.lbwk-lp .lbwk-product-main-img {
    width: 100%;
    line-height: 0;
    margin-bottom: 12px;
}

.lbwk-lp .lbwk-product-main-img img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 700px;
    margin: 0 auto;
}

.lbwk-lp .lbwk-product-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    max-width: 700px;
    margin: 0 auto;
}

.lbwk-lp .lbwk-product-thumb img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid #ebebeb;
}

.lbwk-lp .lbwk-product-info {
    text-align: center;
    padding-top: 35px;
}

.lbwk-lp .lbwk-product-info__catch {
    font-size: 15px;
    color: #000000 !important;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
    font-weight: 700;
}

.lbwk-lp .lbwk-product-info__sku {
    font-size: 13px;
    color: #777777 !important;
    letter-spacing: 1px;
    margin: 0 0 8px;
    font-weight: 500;
}

.newspage .lbwk-lp .lbwk-product-info__name,
.lbwk-lp .lbwk-product-info__name {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-size: clamp(20px, 3.5vw, 24px);
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #000000 !important;
    margin: 0 0 12px;
    line-height: 1.4;
}

.newspage .lbwk-lp .lbwk-product-info__name a,
.tbl-container .lbwk-lp .lbwk-product-info__name a,
.lbwk-lp .lbwk-product-info__name a {
    color: #000000 !important;
    transition: opacity 0.3s ease;
}

.newspage .lbwk-lp .lbwk-product-info__name a:hover,
.lbwk-lp .lbwk-product-info__name a:hover {
    opacity: 0.75 !important;
}

.lbwk-lp .lbwk-product-info__price {
    font-size: 22px;
    font-weight: 700;
    color: #000000 !important;
    margin: 0 0 10px;
}

.lbwk-lp .lbwk-product-info__price .tax {
    font-size: 14px;
    font-weight: 400;
}

.lbwk-lp .lbwk-product-info__colors,
.lbwk-lp .lbwk-product-info__sizes {
    font-size: 14px;
    color: #333333 !important;
    margin: 0 0 6px;
    font-weight: 500;
}

.lbwk-lp .lbwk-product-info__sizes {
    margin-bottom: 18px;
}

.lbwk-lp .lbwk-product-info__desc {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    color: #444444 !important;
    max-width: 680px;
    margin: 0 auto 28px;
}

.newspage .lbwk-lp a.lbwk-product-info__cta,
.tbl-container .lbwk-lp a.lbwk-product-info__cta,
.lbwk-lp a.lbwk-product-info__cta {
    display: inline-block !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 14px 44px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    transition: all 0.3s ease;
    border: 1px solid #000000 !important;
}

.newspage .lbwk-lp a.lbwk-product-info__cta:hover,
.tbl-container .lbwk-lp a.lbwk-product-info__cta:hover,
.lbwk-lp a.lbwk-product-info__cta:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* --------------------------------------------------------------------------
   07. SUB HERO BANNER
   -------------------------------------------------------------------------- */
.lbwk-lp .lbwk-sub-hero {
    width: 100%;
    max-width: 1080px;
    margin: 40px auto 60px;
}

.lbwk-lp .lbwk-sub-hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------------------------------------
   08. PHOTO GALLERY
   -------------------------------------------------------------------------- */
.lbwk-lp .lbwk-photo-section {
    margin: 0 auto 80px;
}

.lbwk-lp .lbwk-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.lbwk-lp .lbwk-photo-grid__item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   09. CTA SECTION
   -------------------------------------------------------------------------- */
.lbwk-lp .lbwk-cta {
    text-align: center;
    padding: 40px 20px 100px;
}

.lbwk-lp .lbwk-cta__title {
    font-size: 20px;
    font-weight: 900;
    color: #000000 !important;
    letter-spacing: 1.5px;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.lbwk-lp .lbwk-cta__lead {
    font-size: 14px;
    color: #666666 !important;
    margin: 0 0 24px;
}

.newspage .lbwk-lp a.lbwk-btn,
.tbl-container .lbwk-lp a.lbwk-btn,
.lbwk-lp a.lbwk-btn {
    display: inline-block !important;
    padding: 16px 56px !important;
    background-color: #000000 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 1.5px !important;
    border: 1px solid #000000 !important;
    transition: all 0.3s ease;
}

.newspage .lbwk-lp a.lbwk-btn:hover,
.tbl-container .lbwk-lp a.lbwk-btn:hover,
.lbwk-lp a.lbwk-btn:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* --------------------------------------------------------------------------
   RESPONSIVE (SP)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
    .newspage .lbwk-lp h1.lbwk-intro__title,
    .tbl-container .lbwk-lp h1.lbwk-intro__title,
    .lbwk-lp .lbwk-intro__title {
        font-size: 24px !important;
    }

    .lbwk-lp .lbwk-intro {
        padding: 50px 10px 40px;
    }

    .lbwk-lp .lbwk-intro__lead {
        font-size: 16px;
    }

    .lbwk-lp .lbwk-intro__desc {
        font-size: 14px;
        text-align: left;
    }

    .lbwk-lp .lbwk-gallery__item--half,
    .lbwk-lp .lbwk-gallery__item--third {
        flex: 1 1 calc(50% - 6px);
    }

    .lbwk-lp .lbwk-gallery__item--third:last-child {
        flex: 1 1 100%;
    }

    .lbwk-lp .lbwk-product-block {
        padding: 20px 15px;
        margin-bottom: 60px;
    }

    .lbwk-lp .lbwk-product-thumbs {
        gap: 4px;
    }

    .lbwk-lp .lbwk-product-info {
        padding-top: 25px;
    }

    .lbwk-lp .lbwk-product-info__desc {
        font-size: 14px;
        text-align: left;
    }

    .lbwk-lp .lbwk-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .lbwk-lp .lbwk-photo-grid__item:last-child {
        display: none; /* 奇数調整または2列均等 */
    }

    .newspage .lbwk-lp a.lbwk-btn,
    .tbl-container .lbwk-lp a.lbwk-btn,
    .lbwk-lp a.lbwk-btn {
        width: 100%;
        max-width: 320px;
        padding: 16px 20px !important;
    }
}
