/*
Theme Name: 健グレープ園
Theme URI: https://ken-grape.com/
Description: 健グレープ園 WordPress専用テーマ
Author: いとぐち株式会社
Template: arkhe
Version: 1.1.0
Text Domain: itoguchi
*/
:root {
  --kg-green: #507b35;
  --kg-green-dark: #355824;
  --kg-green-soft: #f2f7e9;
  --kg-purple: #765277;
  --kg-text: #32392f;
  --kg-border: #e3eadb;
  --kg-bg: #f8f8f5;
  --kg-shadow: 0 6px 20px rgba(40, 60, 30, .06);
}
body { color: var(--kg-text); background: var(--kg-bg); }
.l-main, .c-pageContent, #main { padding-top: 20px; padding-bottom: 40px; }
h1, h2, h3, h4 { line-height: 1.4; }
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 999px;
  background: var(--kg-green);
  color: #fff;
  border: 0;
  padding: 12px 22px;
  font-weight: 700;
  transition: background .2s ease, transform .2s ease;
}
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--kg-green-dark); color: #fff; }
.kg-card { background: #fff; border: 1px solid var(--kg-border); border-radius: 14px; box-shadow: var(--kg-shadow); }
.kg-side-box { background: var(--kg-green); color: #fff; border-radius: 16px; padding: 24px 20px; box-shadow: var(--kg-shadow); }
.kg-side-box a { color: inherit; text-decoration: none; }
.kg-side-box li + li { margin-top: 10px; }
.kg-shipping-table { border-collapse: separate; border-spacing: 0; border-radius: 12px; overflow: hidden; background: #fff; }
.kg-shipping-table th, .kg-shipping-table td { border: 1px solid #d9e2cf; padding: 10px 12px; }
.kg-shipping-table th { background: #eef6e1; }
body .l-header {
  background: #fffdf8 url("assets/images/grape-header.png") repeat-x center top;
  padding-top: 24px;
  border-bottom: 1px solid #e5eadf;
  box-shadow: 0 3px 16px rgba(45, 70, 30, .04);
}
body .l-header__body {
  position: relative;
  background: rgba(255, 255, 255, .8);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 4px 18px rgba(40, 65, 30, .05);
  padding-top: 12px;
  padding-bottom: 12px;
}
.l-header .c-headLogo__img { display: block; width: auto; max-width: 220px; max-height: 58px; object-fit: contain; }
.l-header .c-gnav { display: flex; align-items: center; gap: 4px; }
.l-header .c-gnav__a {
  border-radius: 999px; padding: 10px 14px; color: #355824; font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.l-header .c-gnav__a:hover { background: #edf5e6; color: #355824; }
.l-header .c-gnav li.menu-item-113 > a,
.l-header .c-gnav li.menu-item-113 > a:hover {
  background: var(--kg-green); color: #fff; border-radius: 999px; padding: 11px 20px;
}
.l-header .c-gnav li.menu-item-113 > a:hover { background: var(--kg-green-dark); }
@media (max-width: 999px) {
  body .l-header { padding-top: 18px; }
  body .l-header__body { padding-top: 8px; padding-bottom: 8px; background: rgba(255,255,255,.9); border-radius: 0 0 12px 12px; }
  .l-header .c-headLogo__img { max-width: 160px; max-height: 45px; }
  .l-header__drawerBtn, .l-header__searchBtn { position: relative; z-index: 2; }
  .l-header .c-iconBtn { background: rgba(255,255,255,.88); border-radius: 50%; }
  .p-drawer .c-drawerNav__a { padding: 15px 20px; font-weight: 600; color: #355824; border-bottom: 1px solid #e4ecdc; }
  .p-drawer li.menu-item-113 > a { margin: 14px; background: var(--kg-green); color: #fff; border-radius: 999px; text-align: center; }
}
body .l-footer {
  margin-top: 60px; background: #f1f5e9 url("assets/images/grape-footer.png") repeat-x center bottom;
  color: #35492d; border-top: 1px solid #e1ead8; padding-bottom: 100px;
}
body .l-footer__inner { padding-top: 48px; padding-bottom: 24px; }
.l-footer a { color: #42652c; text-decoration: none; }
.l-footer a:hover { color: var(--kg-purple); text-decoration: underline; }
.l-footer .l-footer__widgets { max-width: 1100px; margin-inline: auto; padding: 42px 24px 28px; gap: 36px; }
.l-footer .kg-footer-info { color: #35492d; padding: 24px 0 32px; }
.l-footer .kg-footer-info h2, .l-footer .kg-footer-info h3 { color: #355824; font-size: 21px; font-weight: 700; margin: 0 0 18px; }
.l-footer .kg-footer-info p { font-size: 14px; line-height: 1.9; margin: 0 0 10px; }
.l-footer .kg-footer-info ul { list-style: none; padding: 0; margin: 0; }
.l-footer .kg-footer-info li { margin-bottom: 11px; }
.l-footer .kg-footer-info a { color: #355824; }
.l-footer .l-footer__foot { border-top: 1px solid #dce6d5; padding-top: 16px; }
.l-footer .l-footer__nav { display: flex; justify-content: center; gap: 10px 24px; flex-wrap: wrap; padding: 20px 0; }
.l-footer .l-footer__nav a { font-size: 14px; font-weight: 600; }
.l-footer .c-copyright { text-align: center; font-size: 12px; color: #63735b; }
@media (max-width: 767px) {
  body .l-footer { padding-bottom: 85px; }
  body .l-footer__inner { padding-top: 32px; }
  .l-footer .l-footer__widgets { padding: 32px 20px 22px; gap: 26px; }
  .l-footer .kg-footer-info { padding: 24px 0; }
  .l-footer .kg-footer-info h2, .l-footer .kg-footer-info h3 { font-size: 19px; }
  .l-footer .l-footer__nav { gap: 8px 16px; }
  .l-footer .l-footer__nav a { font-size: 13px; }
}
ul.products > li.product {
  background: #fff;
  border: 1px solid var(--kg-border);
  border-radius: 12px;
  box-shadow: var(--kg-shadow);
  padding: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
ul.products > li.product:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(40,60,30,.1); }
ul.products > li.product > a.woocommerce-loop-product__link {
  display: block;
  width: 100%;
  padding: 0;
  text-decoration: none;
}
ul.products > li.product > a.woocommerce-loop-product__link > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0;
  padding: 0;
  border-radius: 11px 11px 0 0;
}
ul.products > li.product > a.woocommerce-loop-product__link > h2.woocommerce-loop-product__title {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  padding: 16px 16px 8px !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--kg-text);
}
ul.products > li.product > a.woocommerce-loop-product__link > span.price {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 16px 18px !important;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--kg-green-dark);
}
@media (max-width: 767px) {
  ul.products > li.product { border-radius: 10px; }
  ul.products > li.product > a.woocommerce-loop-product__link > img { border-radius: 9px 9px 0 0; }
  ul.products > li.product > a.woocommerce-loop-product__link > h2.woocommerce-loop-product__title { padding: 12px 12px 6px !important; font-size: 14px; }
  ul.products > li.product > a.woocommerce-loop-product__link > span.price { padding: 0 12px 16px !important; font-size: 15px; }
}
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary,
.single-product .woocommerce-tabs,
.single-product .related.products {
  background: #fff;
  border: 1px solid var(--kg-border);
  border-radius: 16px;
  box-shadow: var(--kg-shadow);
  padding: 20px;
}
.single-product .woocommerce-product-gallery img { border-radius: 12px; }
.single-product .related.products { margin-top: 40px; }
.single-product .woocommerce-tabs { margin-top: 30px; }
.woocommerce-breadcrumb, .c-pageTitle__sub { margin-bottom: 20px; font-size: 14px; }
.kg-featured-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.kg-featured-item { min-width: 0; background: #fff; border: 1px solid var(--kg-border); border-radius: 12px; padding: 14px; box-shadow: var(--kg-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.kg-featured-item:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.09); }
.kg-featured-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.kg-featured-image { aspect-ratio: 4 / 3; overflow: hidden; background: transparent; border-radius: 10px; }
.kg-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; transition: transform .3s ease; }
.kg-featured-link:hover .kg-featured-image img { transform: scale(1.04); }
.kg-featured-sweetness { display: inline-block; margin: 12px 0 4px; padding: 5px 12px; background: #f0f7e7; color: #355824; border-radius: 6px; font-size: 12px; line-height: 1.4; font-weight: 600; }
.kg-featured-name { margin: 8px 0; font-size: 16px; line-height: 1.6; font-weight: 700; }
.kg-featured-price { color: var(--kg-green-dark); font-size: 18px; font-weight: 700; }
@media (max-width: 900px) { .kg-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .kg-featured-grid { gap: 14px; }
  .kg-featured-item { padding: 10px; border-radius: 10px; }
  .kg-featured-image, .kg-featured-image img { border-radius: 8px; }
  .kg-featured-name { font-size: 15px; line-height: 1.5; }
  .kg-featured-price { font-size: 16px; }
}
