/* ==========================================================
   top page (PC common CSS is expected to define c-product-list etc.)
   Colors use var(--xxx, fallback) so this works with or without
   the foundation CSS. ASCII-only comments on purpose.
   ========================================================== */

/* ---------- logo (shown on small screens only) ---------- */
.p-top-logo {
  font-size: 20px;
  line-height: 1.4;
  max-width: 90%;
  margin: 30px auto;
  text-align: center;
}

.p-top-logo a {
  display: block;
  transition: opacity .2s;
  text-decoration: none;
  color: var(--c-ink, #2B2724);
}

.p-top-logo a:hover { opacity: .66; }
.p-top-logo a:active { opacity: 1; }

/* ---------- slideshow (hero) ---------- */
#p-slider .bx-controls-direction a { z-index: 100; }

#p-slider .bx-viewport {
  top: 0;
  left: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#p-slider .bx-wrapper img { margin: 0 auto; }

#p-slider .bx-caption {
  top: 0;
  bottom: auto;
  background: rgba(0, 0, 0, .3);
}

#p-slider .bx-caption span { padding: 1.5em; }

#p-slider .bx-pager {
  bottom: 10px;
  padding-top: 0;
}

#p-slider .bx-pager a { background: #fff; }

#p-slider .bx-pager a:hover,
#p-slider .bx-pager a.active {
  background: var(--c-ink, #2B2724);
}

/* ---------- one-line lead under the hero ---------- */
.p-top-lead {
  margin: 40px 20px 0;
  text-align: center;
  font-family: var(--f-head, "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.14em;
  color: var(--c-ink, #2B2724);
}

/* ---------- section heading (one style for every section) ---------- */
.p-top-heading {
  margin: var(--space-section, 72px) 0 32px;
  text-align: center;
  font-family: var(--f-head, "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.14em;
  color: var(--c-ink, #2B2724);
}

/* ---------- product grid (new / recommend / popular) ---------- */
.p-top-products .c-product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-top-products .c-product-list__item {
  float: none;
  width: auto;
  margin: 0;
}

.p-top-products .c-product-list__item.is-hidden { display: none; }

.p-top-products .c-product-list__name {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--c-ink, #2B2724);
}

.p-top-products .c-product-list__price {
  margin-top: 4px;
  font-size: 13px;
  color: var(--c-sub, #6B645C);
  letter-spacing: 0.06em;
}

.p-top-products .c-product-list__button {
  margin-top: 48px;
  text-align: center;
}

/* ---------- feature rows (photo big, text quiet) ---------- */
.p-feature {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: var(--space-section, 72px) 0;
}

.p-feature__media { width: 100%; }

.p-feature__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.p-feature__heading {
  margin: 0 0 20px;
  text-align: left;
  font-family: var(--f-head, "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color: var(--c-ink, #2B2724);
}

.p-feature__body {
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.05em;
  color: var(--c-ink, #2B2724);
}

.p-feature__body a {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 28px;
  border: 1px solid var(--c-ink, #2B2724);
  text-decoration: none;
  letter-spacing: 0.12em;
  color: var(--c-ink, #2B2724);
  transition: background .2s, color .2s;
}

.p-feature__body a:hover {
  background: var(--c-ink, #2B2724);
  color: var(--c-base, #F5F0E6);
}

/* ---------- news / info / free space ---------- */
.p-news {
  line-height: 1.5;
  margin: 0;
}

.p-news::after {
  display: block;
  clear: both;
  content: '';
}

.p-news__label {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.6;
  width: 180px;
  margin: 0;
  letter-spacing: 1px;
  font-family: "Yu Gothic", YuGothic, "Yu Gothic Medium", "Hiragino Kaku Gothic ProN", Arial, Meiryo, sans-serif;
}

.p-news__label::before { content: '-'; }

.p-news__content {
  line-height: 1.6;
  margin: 5px 0 20px 10px;
}

.p-news__content p:nth-child(1) { margin-top: 0; }

.p-info { line-height: 1.5; }

.p-contents {
  line-height: 1.5;
  margin-bottom: 40px;
}

.p-contents__list {
  margin: 0 0 20px;
  padding: 0;
  list-style-type: none;
}

.p-contents__list::after {
  display: block;
  clear: both;
  content: '';
}

.p-contents__list li {
  position: relative;
  box-sizing: border-box;
  padding: 0 2em 0 1em;
}

.p-contents__list li::before {
  position: absolute;
  top: .5em;
  left: 0;
  content: '-';
}

.p-contents__list a {
  display: block;
  max-width: 100%;
  padding: .5em 0;
  transition: opacity .2s;
  text-decoration: none;
  color: var(--c-ink, #2B2724);
}

.p-contents__list a:hover { opacity: .66; }
.p-contents__list a:active { opacity: 1; }

/* ---------- breakpoints ---------- */
@media screen and (min-width: 600px) {
  .p-top-logo { display: none; }

  #p-slider .bx-pager { bottom: 30px; }

  .p-top-products .c-product-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 24px;
  }

  .p-contents__list li::before { top: 0; }

  .p-contents__list li {
    float: left;
    width: 50%;
    margin-bottom: 20px;
  }

  .p-contents__list li:nth-child(2n + 1) { clear: left; }

  .p-contents__list a {
    display: inline-block;
    padding: 0;
  }
}

@media screen and (min-width: 768px) {
  .p-feature {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .p-feature--reverse { flex-direction: row-reverse; }

  .p-feature__media { flex: 0 0 58%; }

  .p-feature__text { flex: 1; }
}

@media screen and (min-width: 960px) {
  .p-top-lead {
    margin-top: 56px;
    font-size: 17px;
  }

  .p-top-heading { font-size: 24px; }

  .p-top-products .c-product-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 64px 32px;
  }

  .p-feature__heading { font-size: 26px; }

  .p-news__label {
    float: left;
    clear: left;
    margin-right: 20px;
  }

  .p-news__content {
    overflow: hidden;
    margin: 0 0 20px;
  }
}
.c-product-list__fav-item {
  display: none;
}