@charset "UTF-8";


/* =========================================================
   Products Page Hero
   Flower Shop Editorial Style
========================================================= */

.products-page__hero {
    position: relative;

    width: calc(100% - 80px);
    max-width: 1280px;

    height: 330px;

    margin: 55px auto 70px;

    overflow: hidden;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    isolation: isolate;
}


/* =========================================================
   Image Overlay
========================================================= */

.products-page__hero::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            var(--color-primary) 0%,
            color-mix(
                in srgb,
                var(--color-primary) 55%,
                transparent
            ) 42%,
            transparent 100%
        );

    opacity: .82;

    pointer-events: none;
}


.products-page__hero::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.05),
            rgba(0,0,0,.10)
        );

    pointer-events: none;
}


/* =========================================================
   Frame
========================================================= */

.products-page__hero-frame {
    position: relative;

    width: 100%;
    height: 100%;

    padding: 42px 48px;

    box-sizing: border-box;
}


.products-page__hero-frame::before {
    content: "";

    position: absolute;

    inset: 18px;

    border: 1px solid rgba(255,255,255,.42);

    pointer-events: none;
}


/* =========================================================
   Inner
========================================================= */

.products-page__hero-inner {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    justify-content: center;

    height: 100%;

    max-width: 700px;

    padding-left: 32px;

    box-sizing: border-box;
}


/* =========================================================
   Label
========================================================= */

.products-page__hero-label {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

    color: rgba(255,255,255,.88);

    font-family: Arial, sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .32em;

    line-height: 1;
}


.products-page__hero-line {
    display: block;

    width: 34px;
    height: 1px;

    background: rgba(255,255,255,.72);
}


/* =========================================================
   Title
========================================================= */

.products-page__hero h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(34px, 4vw, 50px);

    font-weight: 500;

    letter-spacing: .08em;

    line-height: 1.35;
}


.products-page__hero h1 span {
    display: inline-block;

    margin-top: 2px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: .92em;

    font-style: italic;

    font-weight: 400;

    letter-spacing: .04em;
}


/* =========================================================
   Copy
========================================================= */

.products-page__hero-copy {
    margin: 17px 0 0;

    color: rgba(255,255,255,.84);

    font-size: 12px;

    font-weight: 400;

    letter-spacing: .12em;

    line-height: 1.9;
}


/* =========================================================
   Side Text
========================================================= */

.products-page__hero-side {
    position: absolute;

    z-index: 2;

    right: 52px;
    bottom: 43px;

    color: rgba(255,255,255,.58);

    font-family: Arial, sans-serif;

    font-size: 8px;

    font-weight: 500;

    letter-spacing: .28em;

    line-height: 1.8;

    text-align: right;
}


/* =========================================================
   Tablet
========================================================= */

@media (max-width: 1000px) {

    .products-page__hero {
        width: calc(100% - 60px);
    }

}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 768px) {

    .products-page__hero {
        width: calc(100% - 36px);

        height: 280px;

        margin: 76px auto 45px;
    }


    .products-page__hero-frame {
        padding: 32px 24px;
    }


    .products-page__hero-frame::before {
        inset: 12px;
    }


    .products-page__hero-inner {
        padding-left: 16px;
    }


    .products-page__hero h1 {
        font-size: 34px;

        letter-spacing: .06em;
    }


    .products-page__hero-copy {
        margin-top: 14px;

        font-size: 10px;

        letter-spacing: .08em;
    }


    .products-page__hero-side {
        right: 28px;
        bottom: 29px;

        font-size: 7px;

        letter-spacing: .2em;
    }

}


/* =========================================================
   Small Mobile
========================================================= */

@media (max-width: 500px) {

    .products-page__hero {
        width: calc(100% - 24px);

        height: 245px;

        margin: 65px auto 36px;
    }


    .products-page__hero-frame {
        padding: 26px 18px;
    }


    .products-page__hero-frame::before {
        inset: 9px;
    }


    .products-page__hero-inner {
        padding-left: 12px;
    }


    .products-page__hero-label {
        gap: 9px;

        margin-bottom: 14px;

        font-size: 8px;

        letter-spacing: .25em;
    }


    .products-page__hero-line {
        width: 24px;
    }


    .products-page__hero h1 {
        font-size: 28px;

        line-height: 1.35;
    }


    .products-page__hero h1 span {
        font-size: .9em;
    }


    .products-page__hero-copy {
        margin-top: 12px;

        font-size: 9px;

        line-height: 1.8;
    }


    .products-page__hero-side {
        right: 21px;
        bottom: 23px;

        font-size: 6px;

        line-height: 1.7;
    }

}


.shop-toolbar{
    display:flex;
    justify-content:flex-end;
    max-width: 1100px;
    margin:40px auto;
}

.shop-toolbar select{

    min-width:230px;
    height:52px;

    padding:0 18px;

    border:1px solid var(--shop-line);

    border-radius:12px;

    background:#fff;

    box-shadow:0 8px 30px rgba(0,0,0,.05);

    font-size:14px;

    transition:.25s;
}

.shop-toolbar select:hover{
    border-color:var(--color-primary);
}

.shop-toolbar select:focus{
    outline:none;
    border-color:var(--color-primary);
}


.shop-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===========================
   Product Card
=========================== */

.product-card{
    overflow:hidden;
    position:relative;
    border:1px solid rgba(0,0,0,.06);
    border-radius:18px;
    background:#fff;
    transition:.35s;
    box-shadow:0 12px 35px rgba(0,0,0,.05);
}

.product-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:var(--color-primary);
    transform:scaleX(0);
    transform-origin:left;
    transition:.35s;
}

.product-card:hover{
    transform:translateY(-8px);
    border-color:var(--color-primary);
    box-shadow:0 20px 55px rgba(0,0,0,.12);
}

.product-card:hover::before{
    transform:scaleX(1);
}

.product-card a{
    display:block;
    height:100%;
    color:inherit;
    text-decoration:none;
}

.product-card img,
.product-card>a>div:first-child{

    display:block;
    width:100%;
    height:240px!important;

    object-fit:contain;
    padding:26px;

    background:
        radial-gradient(circle at center,
            rgba(255,255,255,.75) 0%,
            rgba(255,255,255,.25) 100%);

    transition:.35s;
}

.product-card:hover img{
    transform:scale(1.04);
}

.product-card__body{
    padding: 0 22px 22px 22px;
}

.shop-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 14px;
    border-radius:999px;
    color: var(--color-primary-70);
    background-color: var(--color-primary-light-10);
    font-size:11px;
    font-weight:700;
    letter-spacing:.08em;
}

.product-card h2{
    margin:16px 0 14px;
    min-height:3.2em;
    color:#222;
    font-size:18px;
    font-weight:700;
    line-height:1.6;
    transition:.25s;
}

.product-card:hover h2{
    color:var(--color-primary);
}

.product-price{

    display:flex;
    justify-content:flex-end;
    align-items:flex-end;
    line-height: 1;
    gap:6px;
    color:var(--color-primary);

    font-size:28px;
    font-weight:800;
}

.product-price small{
    margin-bottom:3px;
    color:#777;
    font-size:12px;
    font-weight:500;
}

.product-stock{

    display:flex;
    align-items:center;
    justify-content:flex-end;

    margin-top:10px;
    font-size:13px;
}

.product-stock__label{

    color:#666;
    font-weight:600;
}

.product-stock__status{

    display:inline-flex;
    align-items:center;

    padding:3px 18px;

    border-radius:999px;

    font-size:12px;
    font-weight:700;
}


/* 30個以上 */

.stock-high{

    color:#228b4e;
    background:#eaf8ef;
}


/* 10〜29個 */

.stock-middle{

    color:#c97a00;
    background:#fff3dd;
}


/* 1〜9個 */

.stock-low{

    color:#d44a4a;
    background:#ffeaea;
}


/* 売り切れ */

.stock-out{

    color:#666;
    background:#efefef;
}


.product-card__footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:10px;
    padding-top:18px;
    border-top:1px solid rgba(0,0,0,.06);
    color:var(--color-primary);
    font-size:14px;
    font-weight:700;
    transition:.3s;
}

.product-card:hover .product-card__footer{
    letter-spacing:.08em;
}

.product-card__footer span:last-child{
    transition:.3s;
}

.product-card:hover .product-card__footer span:last-child{
    transform:translateX(6px);
}

/* =========================================
   売り切れ商品
========================================= */

.product-card.is-soldout{
    opacity:.55;
}

.product-card.is-soldout:hover{
    transform:none;
    border-color:rgba(0,0,0,.06);
    box-shadow:0 12px 35px rgba(0,0,0,.05);
}

.product-card.is-soldout::before{
    transform:scaleX(0);
}

.product-card.is-soldout img{
    transform:none!important;
}

.product-card.is-soldout h2{
    color:#555;
}

.product-card.is-soldout .product-card__footer{
    color:#999;
}

.product-card.is-soldout .product-card__footer span:last-child{
    transform:none!important;
}

.product-card__link{
    display:block;
    height:100%;
    cursor:not-allowed;
}

/* 商品一覧ページ レスポンシブ */
@media(max-width:1100px){

.shop-toolbar{
    display:flex;
    justify-content:flex-end;
    max-width: 1100px;
    margin:40px 20px;
}
.shop-grid{
    margin: 0 20px;
}
}
@media(max-width:960px){
  .shop-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  .shop-title-row{
    align-items:stretch;
    flex-direction:column;
  }

  .shop-title-row form{
    min-width:0;
  }

  .shop-grid{
    grid-template-columns:1fr;
  }

  .product-card img,
  .product-card>a>div:first-child{
    height:245px!important;
  }

  .product-card h2{
    min-height:auto;
  }
}



/* ===========================
   Pagination
=========================== */

.shop-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:24px;
    margin:80px 0;
}

.page-arrow{
    width:52px;
    height:52px;
    border:1px solid var(--color-primary);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color: var(--color-text-white);
    background: var(--color-primary);
    font-size:20px;
    transition:.25s;
}

.page-arrow:hover{
    background: var(--color-text-white);
    color: var(--color-primary);
}

.page-arrow.disabled{
    opacity:.35;
    pointer-events:none;
}

.page-count{
    min-width:90px;
    text-align:center;
    font-size:16px;
    font-weight:600;
    letter-spacing:.08em;
    color:#222;
}

@media(max-width:768px){

    .shop-pagination{
        gap:18px;
        margin:60px 0;
    }

    .page-arrow{
        width:46px;
        height:46px;
        font-size:18px;
    }

    .page-count{
        font-size:15px;
    }

}
