/* ==========================================================================
   design-v3.css — 2026-11 site-wide refresh (loaded after customize.css)
   Phase 1: header (PC) + footer. Builds on the tokens in design-refresh.css.
   Brand green (--brand-green) is never changed; text sits on white instead.
   ========================================================================== */

body { overflow-x: clip; }

/* --------------------------------------------------------------------------
   Header (PC, >=1025px): utility strip / logo + search + actions / text nav
   -------------------------------------------------------------------------- */
@media only screen and (min-width: 1025px) {
  /* Wider canvas: the 980px column left the page looking dated on modern screens */
  .ec-layoutRole { width: min(1180px, calc(100% - 48px)); }

  #header.ec-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas:
      "top  top    top   top"
      "logo search icons cart"
      "nav  nav    nav   nav";
    align-items: center;
    column-gap: 28px;
    position: relative;
    z-index: 30;
    isolation: isolate;
    background: transparent;
  }
  /* Full-bleed white backdrop behind the centered header column */
  #header.ec-header::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    z-index: -1;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(16, 24, 40, .02), 0 6px 16px -12px rgba(16, 24, 40, .18);
  }
  #header .header2 { display: contents; }

  /* Utility strip: hours + phone, demoted from the oversized hero number */
  #header .header-tel {
    grid-area: top;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 7px 0;
    border-bottom: 1px solid var(--line-soft);
    text-align: left;
  }
  #header .header-tel::before {
    content: "海外医薬品・ジェネリックの個人輸入代行／通販";
    margin-right: auto;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .04em;
  }
  #header .header-tel__hours {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-2);
  }
  #header .header-tel__note { color: var(--muted); }
  #header .header-tel__num {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    gap: 6px;
    color: var(--ink);
  }
  #header .header-tel__num i { font-size: 12px; color: var(--brand-green-dark); }

  /* Logo */
  #header .ec-headerRole__title { grid-area: logo; width: auto; padding: 14px 0; }
  #header .ec-logoRole__copy { display: none; }
  #header .ec-logoRole__logo img { width: 168px; height: auto; display: block; }

  /* Search: one large pill in the middle of the header */
  #header .headerBottom.is-pc {
    grid-area: search;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    width: auto;
    padding: 14px 0 12px;
  }
  #header .ec-headerSearch { display: block; width: 100%; float: none; padding: 0; }
  #header .ec-headerSearch__title { display: none; }
  #header .ec-headerSearch .searchform {
    display: flex;
    align-items: stretch;
    height: 46px;
    padding: 0;
    background: #fff;
    border: 1.5px solid var(--field-border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
  }
  #header .ec-headerSearch .searchform:focus-within {
    border-color: var(--brand-green-dark);
    box-shadow: 0 0 0 4px var(--field-focus);
  }
  #header .ec-headerSearch__category {
    float: none;
    flex: 0 0 auto;
    max-width: 168px;
    border-right: 1px solid var(--line);
    background: var(--surface);
  }
  #header .ec-headerSearch__category .ec-select,
  #header .ec-headerSearch__category select {
    height: 100%;
    margin: 0;
  }
  #header .ec-headerSearch__category select {
    width: 100%;
    padding: 0 28px 0 18px;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    font-size: 13px;
    color: var(--ink-2);
    cursor: pointer;
  }
  #header .ec-headerSearch__keyword { flex: 1 1 auto; float: none; margin: 0; min-width: 0; }
  #header .ec-headerSearch__keyword .ec-input {
    display: flex;
    align-items: stretch;
    height: 100%;
    margin: 0;
    position: static;
  }
  #header .ec-headerSearch__keyword input[type="search"],
  #header .ec-headerSearch__keyword input.search-name {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 100%;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    color: var(--ink);
  }
  #header .ec-headerSearch__keywordBtn {
    position: static;
    flex: 0 0 54px;
    width: 54px;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--brand-green-dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--dur-base) var(--ease-standard);
  }
  #header .ec-headerSearch__keywordBtn:hover { background: var(--brand-green-ink); }
  #header .ec-headerSearch__keywordBtn .cb { width: 18px; height: 18px; fill: #fff; color: #fff; }

  /* Popular keywords: quiet chips instead of default blue links */
  #header .ec-headerHotKeyword {
    display: flex;
    align-items: center;
    gap: 6px;
    width: auto;
    padding: 0 0 0 4px;
    overflow: visible;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
  }
  #header .ec-headerHotKeyword li,
  #header .ec-headerHotKeyword li a { font-size: 12px; }
  #header .ec-headerHotKeyword li { padding: 0; margin: 0; line-height: 1; }
  #header .ec-headerHotKeyword li a {
    display: inline-block;
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--ink-2);
    text-decoration: none;
    transition: all var(--dur-base) var(--ease-standard);
  }
  #header .ec-headerHotKeyword li a:hover {
    border-color: var(--brand-green-line);
    background: var(--brand-green-tint);
    color: var(--brand-green-ink);
  }

  /* Action icons */
  #header .icon-items { grid-area: icons; width: auto; gap: 2px; align-items: center; }
  #header .icon-item { width: auto; max-width: none; min-width: max-content; flex: 0 0 auto; }
  #header .icon-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
    min-width: 62px;
    padding: 8px 10px;
    border-right: 0;
    border-radius: var(--radius-md);
    color: var(--ink);
    text-decoration: none;
    transition: background var(--dur-base) var(--ease-standard);
  }
  #header .icon-item a:hover { background: var(--surface); }
  #header .icon-item img { width: 26px; height: 26px; margin: 0 0 4px; }
  #header .icon-items .icon-item a .icon-name { font-size: 11px; font-weight: 500; margin: 0; white-space: nowrap; }

  /* Cart: a bordered chip with total, replaces the absolutely positioned icon */
  #header .ec-headerCart {
    grid-area: cart;
    position: static !important;
    top: auto !important;
    right: auto;
    width: auto;
    height: auto;
    padding: 0;
  }
  #header .ec-headerCart .ec-cartRole {
    position: relative;
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  #header .ec-headerCart .ec-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px 9px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    cursor: pointer;
    transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
  }
  #header .ec-headerCart .ec-cart:hover {
    border-color: var(--brand-green-line);
    box-shadow: 0 2px 8px rgba(16, 24, 40, .06);
  }
  #header .ec-headerCart .ec-cartRole .ec-cart__icon,
  #header .ec-headerCart .ec-cartRole .ec-cart__icon_close {
    position: relative;
    left: auto;
    top: auto;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
  }
  /* Keep the bag icon while the popup is open (the theme JS swaps it for a close icon) */
  #header .ec-headerCart .ec-cartRole .ec-cart__icon { display: block !important; opacity: 1 !important; }
  #header .ec-headerCart .ec-cartRole .ec-cart__icon_close { display: none !important; }
  #header .ec-headerCart .ec-cart__icon .cb-shopping-cart { width: 28px; height: 28px; margin: 0; display: block; }
  #header .ec-headerCart .ec-cart__icon .icon-name { display: none; }
  #header .ec-headerCart .ec-cartRole .ec-cart__badge {
    position: absolute;
    top: -8px;
    right: -9px;
    left: auto;
    margin: 0;
  }
  #header .ec-headerCart .ec-cart__label { width: auto; min-width: 0; margin: 0; padding: 0; border: 0; }
  #header .ec-headerCart .ec-cart__price { margin: 0; font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
  #header .ec-headerCart .ec-cart__button { display: none; }
  #header .ec-headerCart .ec-cartPopupRole { position: absolute; top: calc(100% + 10px); right: 0; z-index: 40; }

  /* Text navigation: dark ink on white, green underline on hover */
  #header .ec-headerNavigation_media_pc { grid-area: nav; }
  #header .ec-headerNavigation_media_pc > ul {
    margin: 0;
    display: flex;
    justify-content: flex-start;
    gap: 2px;
    border-bottom: 0;
    border-top: 1px solid var(--line-soft);
  }
  #header .ec-headerNavigation_media_pc > ul > li {
    width: auto;
    background: transparent;
    border: 0;
    font-size: 14px;
  }
  #header .ec-headerNavigation_media_pc > ul > li > a {
    position: relative;
    padding: 13px 18px;
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
    transition: color var(--dur-base) var(--ease-standard);
  }
  #header .ec-headerNavigation_media_pc > ul > li:first-child > a { padding-left: 2px; }
  #header .ec-headerNavigation_media_pc > ul > li > a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--brand-green);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--dur-slow) var(--ease-out);
  }
  #header .ec-headerNavigation_media_pc > ul > li:first-child > a::after { left: 2px; }
  #header .ec-headerNavigation_media_pc > ul > li > a:hover { color: var(--brand-green-ink); }
  #header .ec-headerNavigation_media_pc > ul > li > a:hover::after { transform: scaleX(1); }
}

/* Header (tablet, 768-1024px): keep the existing layout, modernize nav + keyword chips */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  #header .ec-headerNavigation_media_tablet > ul {
    margin: 0;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line-soft);
  }
  #header .ec-headerNavigation_media_tablet > ul > li { background: transparent; border: 0; }
  #header .ec-headerNavigation_media_tablet > ul > li > a {
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
  }
  #header .ec-headerNavigation_media_tablet > ul > li > a:hover { color: var(--brand-green-ink); }
  #header .ec-headerHotKeyword { align-items: center; gap: 6px; font-weight: 500; color: var(--muted); }
  #header .ec-headerHotKeyword li a {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--surface);
    color: var(--ink-2);
    text-decoration: none;
  }
}

/* --------------------------------------------------------------------------
   Guide: order flow + collapsible policies (replaces the footer text wall)
   -------------------------------------------------------------------------- */
.gc-guide { margin: 56px 0 0; }
.gc-guide__inner {
  padding: 32px 28px 28px;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.gc-guide__head { margin: 0 0 22px; }
.gc-guide__eyebrow {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  color: var(--brand-green-ink);
}
.gc-guide__title {
  margin: 4px 0 6px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: var(--ls-heading);
  color: var(--ink);
}
.gc-guide__lead { margin: 0; font-size: var(--fs-sm); color: var(--muted); }

.gc-flow {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  counter-reset: none;
}
.gc-flow__item {
  position: relative;
  padding: 14px 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}
.gc-flow__num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brand-green-ink);
  padding: 2px 8px;
  background: var(--brand-green-tint);
  border-radius: var(--radius-pill);
}
.gc-flow__title {
  margin: 8px 0 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--ink);
}
.gc-flow__text { margin: 0; font-size: 12px; line-height: 1.7; color: var(--ink-2); }
.gc-flow__text b { color: var(--brand-green-ink); }
.gc-flow__note { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }

.gc-guide__acc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.gc-acc {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}
.gc-acc[open] { border-color: var(--brand-green-line); }
.gc-acc__sum {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background var(--dur-base) var(--ease-standard);
}
.gc-acc__sum::-webkit-details-marker { display: none; }
.gc-acc__sum:hover { background: var(--surface); }
.gc-acc__sum:focus-visible { outline: none; box-shadow: inset var(--focus-ring); }
.gc-acc__sum > i { width: 18px; text-align: center; color: var(--brand-green-dark); }
.gc-acc__sum::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur-base) var(--ease-standard);
}
.gc-acc[open] > .gc-acc__sum::after { transform: rotate(-135deg) translateY(-2px); }
.gc-acc__body {
  padding: 4px 16px 16px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-2);
  border-top: 1px solid var(--line-soft);
}
.gc-acc__body p { margin: 10px 0 0; }
.gc-acc__body h4 { margin: 16px 0 0; font-size: 13px; font-weight: 700; color: var(--ink); }
.gc-acc__body ul { margin: 8px 0 0; padding: 0 0 0 1.2em; list-style: disc; }
.gc-acc__body li { margin: 2px 0; }
.gc-acc__body a { color: var(--brand-green-ink); text-decoration: underline; }
.gc-acc__table { width: 100%; margin: 12px 0 0; border-collapse: collapse; font-size: 13px; }
.gc-acc__table th,
.gc-acc__table td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.gc-acc__table th { width: 42%; background: var(--surface); font-weight: 700; color: var(--ink); }

@media only screen and (max-width: 1024px) {
  .gc-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media only screen and (max-width: 767px) {
  .gc-guide { margin: 36px 10px 0; }
  .gc-guide__inner { padding: 22px 14px 16px; }
  .gc-guide__title { font-size: 19px; }
  .gc-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gc-guide__acc { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Footer: full-bleed deep ink, 4 columns
   -------------------------------------------------------------------------- */
.gc-footer {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 44px 0 0;
  color: #d5ddd7;
}
.gc-footer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -1;
  background: var(--ink-display, #1c2a20);
}
.gc-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding: 0 4px 36px;
}
.gc-footer__name {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
}
.gc-footer__desc { margin: 6px 0 16px; font-size: 12px; line-height: 1.7; color: #a9b6ad; }
.gc-footer__contact,
.gc-footer__badges,
.gc-footer__col ul { list-style: none; margin: 0; padding: 0; }
.gc-footer__contact li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 12px;
  color: #a9b6ad;
}
.gc-footer__contact i { width: 14px; font-size: 12px; color: var(--brand-green); }
.gc-footer__contact a { font-size: 15px; font-weight: 700; color: #fff; text-decoration: none; }
.gc-footer__contact a:hover { text-decoration: underline; }
.gc-footer__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.gc-footer__badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  color: #e6ece8;
}
.gc-footer__badges i { color: var(--brand-green); }
.gc-footer__head {
  margin: 4px 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #fff;
}
.gc-footer__col li { margin: 0 0 10px; }
.gc-footer__col a {
  font-size: 13px;
  color: #c9d3cc;
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-standard);
}
.gc-footer__col a:hover { color: #fff; text-decoration: underline; }
.gc-footer__bottom { padding: 16px 4px 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.gc-footer__copy { margin: 0; font-size: 11px; color: #93a198; }

/* The trust strip now sits directly above the dark footer */
.gc-foottrust { margin-top: 28px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; border-bottom: 0; }

@media only screen and (max-width: 1024px) {
  .gc-footer { padding-left: 16px; padding-right: 16px; }
  .gc-footer__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; }
  .gc-footer__brand { grid-column: 1 / -1; }
}
@media only screen and (max-width: 767px) {
  .gc-footer { padding-top: 32px; }
  .gc-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 24px; }
  /* Keep the copyright clear of the fixed bottom tab bar */
  .gc-footer__bottom { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   Phase 2: sidebar (PC)
   ========================================================================== */
@media only screen and (min-width: 1025px) {
  .ec-layoutRole__contents { gap: 28px; justify-content: flex-start; }
  .ec-layoutRole .ec-layoutRole__left { flex: 0 0 264px; max-width: 264px; padding-right: 0; }
  .ec-layoutRole .ec-layoutRole__mainWithColumn { flex: 1 1 0; max-width: none; min-width: 0; }
}

/* The cart already lives in the header; drop the duplicate (and its red gif button) */
.ec-layoutRole__left > .ec-cartRole { display: none !important; }

/* Same card treatment on every page (the top page and inner pages used to differ) */
.ec-layoutRole .ec-layoutRole__left > .ec-loginNav,
.ec-layoutRole .ec-layoutRole__left > .ec-categoryNaviRole {
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  margin: 0 0 16px !important;
  overflow: hidden;
}
.ec-layoutRole .ec-layoutRole__left > .ec-loginNav { padding: 6px 14px; }
.ec-layoutRole .ec-layoutRole__left > .ec-categoryNaviRole { padding: 0; }

.ec-layoutRole .ec-layoutRole__left .ec-categoryNaviRole .ec-itemNav::before {
  content: "カテゴリから探す";
  display: block;
  padding: 14px 16px 11px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.ec-layoutRole .ec-layoutRole__left .ec-categoryNaviRole .ec-itemNav__nav { margin: 0; }
.ec-layoutRole .ec-layoutRole__left .ec-categoryNaviRole .ec-itemNav__nav li { position: relative; background: #fff; }
.ec-layoutRole .ec-layoutRole__left .ec-categoryNaviRole .ec-itemNav__nav li a {
  padding: 11px 16px !important;
  border-bottom: 1px solid var(--line-soft);
  background-image: none;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-2);
  text-decoration: none;
}
.ec-layoutRole .ec-layoutRole__left .ec-categoryNaviRole .ec-itemNav__nav > li > a { font-weight: 600; color: var(--ink); }
.ec-layoutRole .ec-layoutRole__left .ec-categoryNaviRole .ec-itemNav__nav li a:hover,
.ec-layoutRole .ec-layoutRole__left .ec-categoryNaviRole .ec-itemNav__nav li a.is-current {
  background-color: var(--brand-green-tint);
  color: var(--brand-green-ink);
}
.ec-layoutRole .ec-layoutRole__left .ec-categoryNaviRole .ec-itemNav__nav li a.is-current { font-weight: 700; box-shadow: inset 3px 0 0 var(--brand-green); }
.ec-layoutRole .ec-layoutRole__left .ec-categoryNaviRole .ec-itemNav__nav li ul { margin: 0; background: var(--surface); }
.ec-layoutRole .ec-layoutRole__left .ec-categoryNaviRole .ec-itemNav__nav li ul li { background: transparent; }
.ec-layoutRole .ec-layoutRole__left .ec-categoryNaviRole .ec-itemNav__nav li ul li a { padding-left: 30px !important; font-size: 13px; }

/* Collapsing only applies once the block's script has run */
.ec-itemNav__nav.gc-sidecat-js > li > ul { display: none; }
.ec-itemNav__nav.gc-sidecat-js > li.is-open > ul { display: block; }
.ec-itemNav__nav.gc-sidecat-js:not(.is-all) > li:nth-child(n+13) { display: none; }
.ec-itemNav__nav.gc-sidecat-js > li > a { padding-right: 46px !important; }
.gc-sidecat__toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 41px;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line-soft);
  background: transparent;
  cursor: pointer;
}
.gc-sidecat__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translate(-50%, -70%) rotate(45deg);
  transition: transform var(--dur-base) var(--ease-standard);
}
.is-open > .gc-sidecat__toggle::after { transform: translate(-50%, -30%) rotate(-135deg); }
.gc-sidecat__toggle:hover { background: var(--surface); }
.gc-sidecat__toggle:focus-visible,
.gc-sidecat__more:focus-visible { outline: none; box-shadow: inset var(--focus-ring); }
.gc-sidecat__more {
  display: block;
  width: 100%;
  padding: 13px 16px;
  border: 0;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-green-ink);
  text-align: center;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-standard);
}
.gc-sidecat__more:hover { background: var(--brand-green-tint); }

/* --------------------------------------------------------------------------
   Guard the guide/footer headings against page-level rules such as
   "#page_product_detail h2" (green side bar, larger type, centered text)
   -------------------------------------------------------------------------- */
.gc-guide h2.gc-guide__title,
.gc-footer h2.gc-footer__head,
.gc-guide h3.gc-flow__title,
.gc-guide .gc-acc__body h4 {
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  text-align: left !important;
  position: static;
}
.gc-guide h2.gc-guide__title { margin: 4px 0 6px !important; font-size: 22px !important; line-height: 1.4 !important; color: var(--ink) !important; }
.gc-footer h2.gc-footer__head { margin: 4px 0 14px !important; font-size: 12px !important; line-height: 1.5 !important; color: #fff !important; }
.gc-guide h3.gc-flow__title { margin: 8px 0 4px !important; font-size: 14px !important; line-height: 1.4 !important; }
.gc-guide .gc-acc__body h4 { margin: 16px 0 0 !important; font-size: 13px !important; line-height: 1.6 !important; }
@media only screen and (max-width: 767px) {
  .gc-guide h2.gc-guide__title { font-size: 19px !important; }
}

/* ==========================================================================
   Performance: reserve the product gallery space so the buy box does not jump
   when the image loads / the slider initializes (CLS 0.31 -> target < 0.1)
   ========================================================================== */
#page_product_detail .item_visual .slide-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
#page_product_detail .item_visual:not(.slick-initialized) .slide-item:not(:first-child) { display: none; }

/* Top hero: hold the slider's final size before slick initializes, so the blocks below do not jump */
.top__kv .top_visual .slide-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1362 / 753;
  object-fit: cover;
}
.top__kv .top_visual:not(.slick-initialized) .slide-item:not(:first-child) { display: none; }
.top__kv .top_item_nav:not(.slick-initialized) { display: flex; }
.top__kv .top_item_nav:not(.slick-initialized) .slideThumb { flex: 1 1 0; min-width: 0; }
.top__kv .top_item_nav .slideThumb img { aspect-ratio: 1362 / 753; height: auto; }
