/* =========================================================
   CSS　各ページデザイン
   ========================================================= */
.box11{
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #5d627b;
    background: white;
    border-top: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.box11 p {
    margin: 0; 
    padding: 0;
    font-size:1.5em;
    font-weight:bold;
    color:red;
}

.btninsta,
a.btninsta,
button.btninsta {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 3rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btninsta-flat {
  overflow: hidden;
  padding: 1rem 3rem;
  color: #fff;
  border-radius: 0;
  background: #000;
}

a.btninsta-flat span {
  position: relative;
}

a.btninsta-flat:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 500%;
  content: "";
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
  transform: translateX(-65%) translateY(-25%) rotate(45deg);
  background: #17850e;
}

a.btninsta-flat:hover:before {
  -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
  transform: translateX(-9%) translateY(-25%) rotate(45deg);
}

/* =========================================================
   OUR PRODUCTS
   KIDAKA FARM
   PC LAYOUT
   ========================================================= */

.products-section {
    width: 100%;
    padding: 90px 0 100px;
    background: #fff;
    color: #173c2b;
}

.products-inner {
    width: min(1240px, 96%);
    margin: 0 auto;
}

/* ---------------------------------------------------------
   Heading
   --------------------------------------------------------- */

.products-heading {
    text-align: center;
    margin-bottom: 42px;
}

.products-heading h2 {
    margin: 0;
    font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(1.875em, 3vw, 2.625em);
    font-weight: 500;
    letter-spacing: .12em;
    color: #173c2b;
}

.products-heading p {
    margin: 10px 0 0;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1.2em;
    letter-spacing: .12em;
    color: #68776d;
}

/* =========================================================
   PRODUCT GRID
   ========================================================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

/* =========================================================
   PRODUCT CARD
   ========================================================= */

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #f6f3e9;
    border: 1px solid #e5e0d4;
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #bbc6bd;
    box-shadow: 0 14px 32px rgba(23, 60, 43, .10);
}

/* =========================================================
   FEATURED
   ========================================================= */

.product-card.featured {
    grid-column: span 4;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    min-height: 470px;
    background: #f5f2e8;
    border-color: #bdc8bf;
    box-shadow: 0 10px 28px rgba(23, 60, 43, .08);
}

.product-card.featured:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(23, 60, 43, .13);
}

/* =========================================================
   SIDE PRODUCT
   ========================================================= */

.product-card.side-product {
    grid-column: span 2;
    min-height: 470px;
}


/* =========================================================
   UNDER PRODUCT
   ========================================================= */

.product-card.under-product {
    grid-column: span 2;
    min-height: 470px;
}

/* =========================================================
   IMAGE
   ========================================================= */

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e8e6dd;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.22,.61,.36,1);
}

.product-card:hover .product-image img {
    transform: scale(1.045);
}

.product-card.featured .product-image {
    height: 100%;
    aspect-ratio: auto;
}

/* =========================================================
   SEASONAL PICK
   ========================================================= */

.seasonal-label {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    padding: 9px 14px;
    background: rgba(23, 60, 43, .93);
    color: #fff;
    backdrop-filter: blur(5px);
}

.seasonal-label span {
    font-family: "Times New Roman", serif;
    font-size: 1em;
    letter-spacing: .16em;
}

.seasonal-label strong {
    margin-top: 3px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1em;
    font-weight: 400;
    letter-spacing: .08em;
}

/* =========================================================
   CONTENT
   ========================================================= */

.product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 18px 24px;
    text-align: center;
}

.product-category {
    display: block;
    margin-bottom: 6px;
    font-family: "Times New Roman", "Yu Mincho", serif;
    font-size: 1em;
    letter-spacing: .16em;
    color: #64736a;
}

.product-content h3 {
    margin: 0;
    font-family: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1.5em;
    font-weight: 500;
    letter-spacing: .08em;
    color: #173c2b;
}

.product-name {
    margin: 5px 0 0;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1.2em;
    color: #ff008b;
}

.product-description {
    margin: 14px 0 18px;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1em;
    line-height: 1.9;
    color: #59645d;
}

/* =========================================================
   FEATURED CONTENT
   ========================================================= */

.product-card.featured .product-content {
    justify-content: center;
    padding: 45px 15px;
    text-align: left;
}

.product-card.featured .product-category {
    font-size: 1em;
    color: #496453;
}

.product-card.featured .product-content h3 {
    font-size: clamp(1.75em, 3vw, 2em);
    letter-spacing: .1em;
    line-height: 1.2;
}

.product-card.featured .product-name {
    margin-top: 9px;
    font-size: 1.2em;
    color: #ff008b;
}

.product-card.featured .product-description {
    margin-top: 22px;
    font-size: 1em;
    line-height: 2.1;
}

/* =========================================================
   LINK
   ========================================================= */

.product-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: auto;
    min-height: 32px;
    border-top: 1px solid #c8cec8;
    border-bottom: 1px solid #c8cec8;
    color: #294b39;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1em;
    letter-spacing: .08em;
    text-decoration: none;
    transition: background .3s ease, color .3s ease;
}

.product-link span {
    font-family: Arial, sans-serif;
    font-size: 1em;
    transition: transform .3s ease;
}

.product-link:hover {
    background: #173c2b;
    color: #fff;
}

.product-link:hover span {
    transform: translateX(4px);
}

.product-card.featured .product-link {
    justify-content: flex-start;
    max-width: 180px;
    margin-top: 26px;
    font-size: 1em;
}

/* =========================================================
   ALL PRODUCTS
   ========================================================= */

.products-all {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.products-all a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 180px;
    padding: 10px 15px;
    border: 1px solid #718077;
    color: #294b39;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 1em;
    letter-spacing: .08em;
    text-decoration: none;
    transition: background .3s ease, color .3s ease;
}

.products-all a span {
    margin-left: auto;
    font-family: Arial, sans-serif;
    font-size: 1em;
}

.products-all a:hover {
    background: #173c2b;
    color: #fff;
}

/* =========================================================
   TABLET
   ========================================================= */
@media screen and (max-width: 1000px) {
    .products-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
    .product-card.featured {
        grid-column: 1 / -1;
        grid-template-columns:
            1.3fr .7fr;
        min-height: 430px;
    }
    .product-card.side-product {
        grid-column: span 1;
        min-height: 300px;
    }
    .product-card:not(.featured):not(.side-product) {
        grid-column: span 1;
        min-height: 300px;
    }
}

/* =========================================================
   SMARTPHONE
   ========================================================= */

@media screen and (max-width: 600px) {
    .products-section {
        padding: 55px 0 65px;
    }
    .products-inner {
        width: 95%;
    }
    .products-heading {
        margin-bottom: 25px;
    }
    .products-heading h2 {
        font-size: 1.5em;
    }
    /* -----------------------------------------
       2 columns
       ----------------------------------------- */
    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    /* -----------------------------------------
       Featured
       ----------------------------------------- */
    .product-card.featured {
        grid-column: 1 / -1;
        display: flex;
        min-height: auto;
        grid-template-columns: none;
    }
    .product-card.featured .product-image {
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .product-card.featured .product-content {
        padding: 20px 18px 22px;
        text-align: center;
    }
    .product-card.featured .product-content h3 {
        font-size: 1.5em;
    }
    .product-card.featured .product-description {
        margin: 12px 0 15px;
        font-size: 1em;
        line-height: 1.8;
    }
    .product-card.featured .product-link {
        justify-content: center;
        max-width: none;
        margin-top: 4px;
    }
    /* -----------------------------------------
       Seasonal label
       ----------------------------------------- */
    .seasonal-label {
        top: 10px;
        left: 10px;
        padding: 7px 9px;
    }
    .seasonal-label span {
        font-size: 1em;
    }
    .seasonal-label strong {
        font-size: 1em;
    }
    /* -----------------------------------------
       Normal products
       ----------------------------------------- */
    .product-card.side-product,
    .product-card:not(.featured):not(.side-product) {
        grid-column: span 1;
        min-height: auto;
    }
    .product-card:not(.featured) .product-image {
        aspect-ratio: 1 / 1;
    }
    .product-card:not(.featured) .product-content {
        padding: 14px 9px 16px;
    }
    .product-card:not(.featured) .product-content h3 {
        font-size: 1.3em;
    }
    .product-card:not(.featured) .product-description {
        margin: 8px 0 11px;
        font-size: 1em;
        line-height: 1.7;
    }
    /* -----------------------------------------
       All products
       ----------------------------------------- */
    .products-all {
        justify-content: center;
        margin-top: 15px;
    }
    .products-all a {
        width: 100%;
        justify-content: center;
    }
}