/* =========================================================
   CSS organized by HTML area
   - Visual design is preserved
   - Redundant overrides were consolidated conservatively
   - Media query blocks were grouped where safe
========================================================= */


/* =========================================================
   00. Base / Reset / Global
========================================================= */

:root {
  /* Color tokens */
  --color-primary: #b60081;
  --color-primary-dark: #9a0062;
  --color-accent: #F24F13;
  --color-text: #333333;
  --color-text-strong: #222222;
  --color-text-light: #666666;
  --color-muted: #888888;
  --color-icon: #808080;
  --color-white: #ffffff;
  --color-bg-light: #f7f7f7;
  --color-bg-panel: #f8f9fa;
  --color-bg-hover: #fff2fa;
  --color-bg-soft-pink: #fff7fb;
  --color-bg-media: #f2f2f2;
  --color-border: #d8d8d8;
  --color-border-base: #cccccc;
  --color-border-light: #e5e5e5;
  --color-header-divider: #e6e6e6;
  --color-dot: #f9cae7;
  --color-dot-light: #ffd5e9;
  --color-label-pickup: #f6a01a;
  --color-overlay: rgba(0, 0, 0, 0.35);
  --color-modal-overlay: rgba(0, 0, 0, 0.45);

  /* Radius tokens */
  --radius-xs: 5px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 18px;
  --radius-card: 24px;
  --radius-panel: 36px;
  --radius-large: 80px;
  --radius-pill: 999px;

  /* Shadow tokens */
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.12);
  --shadow-image: 0 4px 8px rgb(0 0 0 / 5%);
  --shadow-button: 0 8px 16px rgb(0 0 0 / 12%);
  --shadow-drawer-inner: inset 0 2px 4px rgba(0, 0, 0, 0.12);
  --shadow-select: 0 14px 34px rgba(44, 21, 36, .22);
  --shadow-modal: 0 20px 60px rgba(0, 0, 0, 0.22);
  --shadow-banner: 0 8px 16px rgb(59 33 49 / 30%);

  /* Motion / layer tokens */
  --transition-fast: 0.16s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.35s ease;
  --z-header: 10000;
  --z-menu-overlay: 10001;
  --z-drawer: 10002;
  --z-menu-button: 10003;
  --z-banner: 9990;
  --z-modal: 20000;
  --z-select: 30000;

  /* Layout tokens */
  --section-space: 120px;
  --section-space-sp: 48px;
  --header-height-pc: 70px;
  --header-height-sp: 50px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Hiragino Kaku Gothic Pro,Hiragino Sans,BIZ UDPGothic,Noto Sans CJK JP,sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .site-menu-overlay {
      display: block;
      position: fixed;
      inset: var(--header-height-sp) 0 0;
      background: var(--color-overlay);
      opacity: 0;
      pointer-events: none;
      transition: opacity var(--transition-base);
      z-index: 90;
    }

  .site-menu-overlay.is-open {
      opacity: 1;
      pointer-events: auto;
    }

  .site-drawer {
      display: flex;
      position: fixed;
      top: var(--header-height-sp);
      left: 0;
      width: min(82vw, 320px);
      height: calc(100vh - var(--header-height-sp));
      padding: 32px 24px;
      background: var(--color-white);
      flex-direction: column;
      gap: 24px;
      transform: translateX(-100%);
      transition: transform var(--transition-base);
      z-index: 110;
      box-shadow: var(--shadow-drawer-inner);
    }

  .site-drawer.is-open {
      transform: translateX(0);
    }

  .site-drawer a {
      font-size: 16px;
      font-weight: 700;
      color: var(--color-text);
      text-decoration: none;
    }

  body.is-menu-open {
      overflow: hidden;
    }
}

.select-wrap,
.input-wrap {
  position: relative;
}

.clear-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #ececec;
  color: var(--color-text-light);
  cursor: pointer;
}

.empty-state {
  margin-top: 20px;
  padding: 22px;
  border-radius: 14px;
  background: var(--color-white);
  color: var(--color-text-light);
  text-align: center;
}

@media (max-width: 640px) {
  .input-wrap {
      grid-column: 1 / -1;
    }
}

.input-wrap {
  position: relative;
}

.clear-button {
  position: absolute;
  right: 88px;
  top: 44%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clear-button img {
  width: 22px;
  height: 22px;
  display: block;
}

.result-count span {
  color: var(--color-primary);
  font-size: 32px;
  line-height: 1;
}

.result-count::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 28px;
  height: 28px;
  border-right: 5px solid var(--color-primary);
  border-bottom: 5px solid var(--color-primary);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 3px;
}

@media (max-width: 767px) {
  .clear-button {
      width: 44px;
    }

  .clear-button::before {
      left: 12px;
      top: 11px;
      width: 18px;
      height: 18px;
      border-width: 2px;
    }

  .clear-button::after {
      left: 29px;
      top: 30px;
      width: 12px;
      height: 2px;
    }

  .result-count span {
      font-size: 28px;
    }

  .result-count::after {
      width: 24px;
      height: 24px;
    }

  .clear-button img {
    width: 12px;
    height: 12px;
    display: block;
  }

  .clear-button {
    position: absolute;
    right: 44px;
    top: 44%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}


/* =========================================================
   01. Header
========================================================= */

.site-header__guide-button {
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .site-header__guide-button:hover {
      opacity: 0.8;
    }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height-pc);
  background: var(--color-white);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
}

.site-header__inner {
  width: min(calc(100% - 40px), 1280px);
  height: var(--header-height-pc);
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
}

.site-header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.o-header__logo {
  width: 218px;
  height: 32px;
  flex-shrink: 0;
  margin-right: 8px;

}

.o-header__logo a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.o-header__logo-inner {
  width: 218px;
  height: 32px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.o-header__aeon-logo {
  width: 224px;
  height: auto;
  display: inline;
  flex-shrink: 0;
}

.o-header__product-name {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  padding-bottom: 2px;
}

.site-header__divider {
  display: block;
  width: 1px;
  height: 27px;
  margin: 0 16px;
  background: var(--color-header-divider);
  flex-shrink: 0;
}

.site-header__partner-logo {
  width: 96px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin-bottom: 8px;
}

.site-header__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
}

.site-header__nav a {
  color: var(--color-text);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__guide-button {
  width: 160px;
  height: 40px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-text);
  text-decoration: none;
  flex-shrink: 0;
}

.site-header__guide-button img {
  width: 12px;
  height: 17.66px;
  object-fit: contain;
}

.o-header__sp-menu,
.site-drawer,
.site-menu-overlay {
  display: none;
}

@media (max-width: 767px) {
  .site-header {
      height: var(--header-height-sp);
    }

  .site-header::after {
      bottom: -2px;
      height: 2px;
    }

  .site-header__inner {
      width: 100% !important; 
      height: var(--header-height-sp);
      padding: 0 16px;
      justify-content: center;
    }

.site-header__brand {
  position: absolute;
  left: 50%;
  width: max-content;
  transform: translateX(-50%);
}

  .o-header__logo {
      width: 164px;
      height: 24px;
      margin-right: 8px;
    }

  .o-header__logo-inner {
      width: 164px;
      height: 24px;
      gap: 6px;
    }

  .o-header__aeon-logo {
      width: 176px;
      height: auto;
    }

  .o-header__product-name {
      font-size: 13.5px;
      padding-bottom: 1px;
    }

  .site-header__divider {
      height: 20px;
      margin: 0 12px;
    }

  .site-header__partner-logo {
      width: 72px;
      height: auto;
      margin-bottom: 6px;
    }

  .site-header__nav {
      display: none;
    }

  .o-header__sp-menu {
      display: block;
      height: 28px;
      position: absolute;
      left: 0px;
      top: 50%;
      transform: translateY(-50%);
      width: 28px;
      border: 0;
      background: transparent;
      padding: 0;
      cursor: pointer;
      z-index: 120;
    }

  .o-header__sp-menu-line {
      background-color: var(--color-text);
      height: 2px;
      left: calc(50% - 10px);
      position: absolute;
      top: calc(50% - 1px);
      transition: all .2s ease-out 0s;
      width: 20px;
    }

  .o-header__sp-menu-line:nth-child(1) {
      transform: translateY(-7px);
    }

  .o-header__sp-menu-line:nth-child(2) {
      transform: translateY(0);
    }

  .o-header__sp-menu-line:nth-child(3) {
      transform: translateY(7px);
    }

  .o-header__sp-menu.is-open .o-header__sp-menu-line:nth-child(1) {
      transform: rotate(45deg);
    }

  .o-header__sp-menu.is-open .o-header__sp-menu-line:nth-child(2) {
      opacity: 0;
    }

  .o-header__sp-menu.is-open .o-header__sp-menu-line:nth-child(3) {
      transform: rotate(-45deg);
    }

  .site-drawer .site-header__guide-button {
      margin-top: 8px;
    }
}

@media (max-width: 640px) {
  .site-header__inner {
      padding-left: 0;
      margin-left: 12px;
    }
}

@media (max-width: 767px) {
  .site-header {
    z-index: var(--z-header);
  }

  .o-header__sp-menu {
    z-index: var(--z-menu-button);
  }

  .site-menu-overlay {
    display: block;
    z-index: var(--z-menu-overlay);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .site-menu-overlay.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .site-drawer {
    display: flex;
    z-index: var(--z-drawer);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-100%);
  }

  .site-drawer.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }
}

/* =========================================================
   02. Shared Text
========================================================= */

.section-title {
  margin: 0;
  text-align: center;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.35;
  font-weight: 800;
}

.section-subtitle {
  margin: 16px auto 0;
  text-align: center;
  color: var(--color-text-light);
  font-size: 18px;
}

.section-subtitle-option {
  margin: 16px auto 0;
  text-align: center;
  color: var(--color-text-light);
  font-size: 16px;
}

@media (max-width: 640px) {
  .section-title,
    .step-card h3,
    .howto-block h3 {
      font-size: 22px;
    }

  .section-subtitle,
    .section-subtitle-option,
    .howto-block p {
      font-size: 12px;
    }
}

.store-search .section-title {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.35;
  text-align: center;
  font-weight: 900;
}

.store-search .section-subtitle {
  margin: 24px 0 0;
  text-align: center;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.7;
}

.store-search .section-subtitle-option {
  margin: 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .store-search .section-title {
      font-size: 24px;
    }

  .store-search .section-subtitle {
      margin-top: 14px;
      font-size: 13px;
    }

  .store-search .section-subtitle-option {
      margin-top: 2px;
      font-size: 12px;
    }
}


/* =========================================================
   03. Hero / Top Carousel
========================================================= */

.hero-store {
  background: linear-gradient(321deg, #fff8f4 0%, #fff3fe 100%);
}

.hero-loop {
  padding: 48px 0 0;
  overflow-x: hidden;
  overflow-y: visible;
}

.hero-loop__inner {
  width: min(calc(100% - 40px), 1440px);
  margin: 0 auto;
  text-align: center;
}

.hero-loop-carousel {
  position: relative;
  margin-top: 0;
}

.hero-loop-viewport {
  width: 100%;
  min-height: 428px;
  overflow: visible;
}

.hero-loop-track {
  display: flex;
  align-items: center;
  gap: 24px;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.55s ease;
}

.hero-loop-slide {
  flex: 0 0 auto;
  transition: opacity 1.5s ease;
}

.hero-loop-slide.is-dimmed {
  opacity: 0.62;
}

.hero-loop-slide.is-active {
  opacity: 1;
}

.hero-loop-slide-link {
  display: block;
  width: 100%;
}

.hero-loop-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-image);
  transform: scale(1);
  transform-origin: center center;
  transition: transform 1.5s ease;
}

.hero-loop-slide.is-active img {
  height: 427px;
  box-shadow: var(--shadow-image);
  transform: scale(1);
}

.hero-loop-arrow {
  position: absolute;
  top: 214px;
  z-index: 20;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(182, 0, 129, 0.8);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .hero-loop-arrow:hover {
      opacity: 0.8;
    }
}

.hero-loop-arrow svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-white);
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-loop-prev {
  left: 320px;
}

.hero-loop-next {
  right: 320px;
}

.hero-loop-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.hero-loop-play-toggle {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.hero-loop-play-toggle span {
  position: absolute;
  top: 0;
  width: 4px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 2px;
}

.hero-loop-play-toggle span:first-child {
  left: 5px;
}

.hero-loop-play-toggle span:last-child {
  right: 5px;
}

.hero-loop-play-toggle.is-paused span:first-child {
  left: 4px;
  top: 0;
  width: 0;
  height: 0;
  background: transparent;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--color-primary);
  border-radius: 0;
}

.hero-loop-play-toggle.is-paused span:last-child {
  display: none;
}

.hero-loop-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.hero-loop-dot {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-dot);
  cursor: pointer;
}

.hero-loop-dot.is-active {
  background: var(--color-primary);
  transform: none;
}

/* 掲載中の特集が0件の場合 */
.hero-loop-carousel.is-empty .hero-loop-viewport,
.hero-loop-carousel.is-empty .hero-loop-arrow,
.hero-loop-carousel.is-empty .hero-loop-controls {
  display: none;
}

.hero-loop-empty-message {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 32px 20px 0px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text);
}

/* 1枚掲載時：通常カルーセルの中央サイズを維持し、操作UIとスクロールを無効化 */
.hero-loop-carousel.is-single .hero-loop-viewport {
  min-height: 480px;
  overflow: hidden;
}

.hero-loop-carousel.is-single .hero-loop-track {
  width: 100%;
  justify-content: center;
  gap: 0;
  transform: none !important;
  transition: none;
}

.hero-loop-carousel.is-single .hero-loop-slide {
  width: min(720px, 100%);
  flex: 0 1 720px;
  opacity: 1;
}

.hero-loop-carousel.is-single .hero-loop-slide img,
.hero-loop-carousel.is-single .hero-loop-slide.is-active {
  aspect-ratio: 3 / 2;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-loop-carousel.is-single .hero-loop-slide.is-active img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transform: none;
}

.hero-loop-carousel.is-single .hero-loop-arrow,
.hero-loop-carousel.is-single .hero-loop-controls {
  display: none;
}

@media (max-width: 1599px) and (min-width: 768px) {
  .hero-loop-prev {
      left: 50%;
      transform: translate(-430px, -50%);
      margin-top: 30px;
    }

  .hero-loop-next {
      right: auto;
      left: 50%;
      transform: translate(376px, -50%);
      margin-top: 30px;
    }
}

@media (max-width: 767px) {
  .hero-loop {
      padding: 24px 0 120px;
      overflow-x: hidden;
    }

  .hero-loop__inner {
      width: 100%;
    }

  .hero-loop-carousel {
      margin-top: 0;
      overflow: visible;
    }

  .hero-loop-viewport {
      min-height: auto;
      overflow: visible;
    }

  .hero-loop-track {
      gap: 12px;
    }

  .hero-loop-slide,
    .hero-loop-slide.is-active,
    .hero-loop-slide.is-dimmed {
      opacity: 1;
    }

  .hero-loop-slide img,
    .hero-loop-slide.is-active img {
      height: auto;
      aspect-ratio: 3 / 2;
      border-radius: var(--radius-md);
      transform: none;
      transition: none;
      box-shadow: none;
    }

  .hero-loop-carousel.is-single .hero-loop-slide.is-active {
    border-radius: var(--radius-md);
  }

  .hero-loop-prev,
    .hero-loop-next {
      display: none;
    }

  .hero-loop-controls {
      margin-top: 16px;
      gap: 20px;
    }

  .hero-loop-dots {
      gap: 10px;
    }

  .hero-loop-dot {
      width: 14px;
      height: 14px;
    }

  .hero-loop-play-toggle {
      transform: scale(0.9);
    }

  .hero-loop-carousel.is-single .hero-loop-viewport {
      min-height: auto;
    }

  .hero-loop-carousel.is-single .hero-loop-slide {
      width: min(78vw, 420px);
      flex-basis: min(78vw, 420px);
    }
}

@media (max-width: 640px) {
  .hero-loop {
      padding: 24px 0 64px;
    }
}

@media (max-width: 767px) {
  .hero-loop {
      padding: 56px 0 120px;
    }

  .hero-loop-title {
      font-size: 24px;
      line-height: 1.45;
      padding: 14px 18px 13px;
      max-width: calc(100% - 24px);
      border-radius: var(--radius-card);
    }

  .hero-loop-title::before {
      width: 14px;
      height: 14px;
      bottom: -8px;
      border-radius: 3px;
    }

  .hero-loop-carousel {
      margin-top: 24px;
    }

  .hero-loop-viewport {
      min-height: auto;
      overflow: hidden;
    }

  .hero-loop-slide img,
    .hero-loop-slide.is-active img {
      height: auto;
      aspect-ratio: 3 / 2;
      border-radius: var(--radius-xl);
      transform: none;
      transition: none;
    }

  .hero-loop-prev {
      left: 2.051282051282051vw;
      top: 44%;
      margin-left: 0;
    }

  .hero-loop-next {
      left: auto;
      right: 2.051282051282051vw;
      top: 44%;
      margin-left: 0;
    }

  .hero-loop-arrow {
      width: 44px;
      height: 44px;
    }

  .hero-loop-arrow svg {
      width: 20px;
      height: 20px;
    }

  .hero-loop-dots {
      margin-top: 0px;
      gap: 8px;
    }

  .hero-loop-dot {
      width: 10px;
      height: 10px;
    }
    .hero-loop-carousel.is-single .hero-loop-slide img,
    .hero-loop-carousel.is-single .hero-loop-slide.is-active {
      border-radius: var(--radius-md);
    }
}

@media (max-width: 640px) {
  .hero-loop {
      padding: 0;
    }

  .hero-loop-title {
      font-size: 20px;
      line-height: 1.5;
      padding: 12px 16px 11px;
      border-radius: 20px;
    }

  .hero-loop-arrow {
      width: 40px;
      height: 40px;
    }
}


/* =========================================================
   04. Product Carousel / Introduction
========================================================= */

.product-carousel-section {
  width: 100%;
  margin: 96px auto 0;
  padding: 0;
}

.product-carousel-inner {
  width: min(calc(100% - 40px), 1280px);
  margin: 0 auto;
}

.product-carousel-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--color-primary);
}

.product-carousel-scroll {
  display: flex;
  justify-content: left;
  gap: 40px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;

  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  touch-action: auto;
}

.product-carousel-scroll.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.product-carousel-scroll.is-dragging .product-card__button {
  pointer-events: none;
}

.product-carousel-scroll::-webkit-scrollbar {
  height: 6px;
}

.product-carousel-scroll::-webkit-scrollbar-track {
  background: rgba(182, 0, 129, 0.3);
  border-radius: var(--radius-pill);
}

.product-carousel-scroll::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: var(--radius-pill);
}

/* SPで商品表示幅を右端まで広げた場合も、スクロールバー右端だけ20px内側で止める */
.product-carousel-scroll::-webkit-scrollbar-button:horizontal:end:increment {
  display: block;
  width: 0;
  background: transparent;
}


.product-card {
  flex: 0 0 290px;
  width: 290px;
  height: 436px;

  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-image);
}

.product-card__button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.product-card__button:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.product-card__image {
  display: block;
  width: 290px;
  height: 290px;
  object-fit: cover;
  transition: opacity .2s ease;
}


/* introduction product fulfillment labels
   mode: gift / pickup
   icon画像はCSS側で mode / PC・SP ごとに指定（HTML側の src は空）
--------------------------------------------------------- */
.product-card__label-group {
  display: flex;
  align-items: center;
  margin: 20px 16px 8px;
  line-height: 1;
}

.product-card__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  color: var(--color-white);
  background: var(--color-label-pickup);
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}

.product-card__label--pc {
  min-height: 25px;
  padding: 2px 8px 2px 6px;
  font-size: 13px;
}

.product-card__label--sp {
  display: none;
  min-height: 24px;
  padding: 0 8px;
  border-radius: var(--radius-md);
  font-size: 12px;
  gap: 4px;
}

.product-card__label-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  object-fit: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.product-card__label--pc .product-card__label-icon--gift {
  background-image: url('../img/icon-gift.png');
}

.product-card__label--sp .product-card__label-icon--gift {
  background-image: url('../img/icon-gift.png');
}

.product-card__label--pc .product-card__label-icon--pickup {
  background-image: url('../img/icon-pickup.png');
}

.product-card__label--sp .product-card__label-icon--pickup {
  background-image: url('../img/icon-pickup.png');
}

.product-card__label--sp .product-card__label-icon {
  width: 20px;
  height: 20px;
}


@media screen and (max-width: 980px) {
  .product-carousel-scroll {
    justify-content: normal;
   }
}

@media screen and (max-width: 767px) {
  .product-carousel-section {
   margin: 64px auto 0;
   }

  .product-card__label-group {
      margin: 12px 16px 6px;
    }

  .product-card__label--pc {
      display: none;
    }

  .product-card__label--sp {
      display: inline-flex;
    }
}

.product-card__body {
  padding: 0;
}

.product-card__name {
  display: -webkit-box;

  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 52px;
  margin: 6px 16px 4px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.product-card__price {
  display: flex;
  align-items: flex-end;
  white-space: nowrap;
  margin: 0 16px 16px;
}
.product-card__price > :nth-child(1) {
  margin-right: 2px;   /* 1個目→2個目 */
}

.product-card__price > :nth-child(2) {
  margin-right: 8px;  /* 2個目→3個目 */
}

.product-card__price-main {
  color: var(--color-accent);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: -1px;
}

.product-card__price-unit {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.product-card__price-tax {
  color: var(--color-text);
  font-size: 11px;
  line-height: 1;
}

@media screen and (max-width: 767px) {
  .product-carousel-inner {
      width: calc(100% - 40px);
    }

  .product-carousel-title {
      margin-bottom: 16px;
      font-size: 24px;
    }

  .product-carousel-scroll {
      width: calc(100% + 20px);
      gap: 20px;
      padding-bottom: 12px;
      margin-right: 0;
    }

  .product-carousel-scroll::-webkit-scrollbar-button:horizontal:end:increment {
      width: 20px;
    }

  .product-card:last-child {
      margin-right: 20px;
    }

  .product-card {
      flex: 0 0 240px;
      width: 240px;
      height: auto;
    }

  .product-card__button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
  }

  .product-card__button:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
  }

  .product-card__image {
      width: 240px;
      height: 240px;
    }

  .product-card__name {
      height: 40px;
      font-size: 13px;
      line-height: 1.5;
    }
}

.introduction-store-button {
  display: flex;
  justify-content: center;
  margin: 32px 0 0;
}

.introduction-store-button__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 480px;
  height: 80px;
  max-width: 100%;
  border: 0;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #a83295, #d64990);
  color: var(--color-white);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  box-shadow: var(--shadow-button);
}

.introduction-store-button__link:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

.introduction-store-button__main {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.introduction-store-button__sub {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 767px) {
  .introduction-store-button {
      margin-top: 24px;
    }

  .introduction-store-button__link {
      width: 296px;
      height: 64px;
    }

  .introduction-store-button__main {
      font-size: 15px;
    }

  .introduction-store-button__sub {
      margin-top: 4px;
      font-size: 13px;
    }
}


  .introduction-store-button__link:hover,
  .search-button:hover,
  .feature-guide-modal__nav:hover:not(:disabled),
  .feature-guide-modal__never:hover,
  .feature-guide-modal__close:hover,
  .active-feature-banner__close:hover {
    opacity: .86;
  }

  .clear-button:hover {
    background: none;
    color: var(--color-text);
  }

  .city-filter-toggle:hover,
  .city-filter-toggle:focus-visible {
    background: var(--color-bg-hover);
  }

  .store-button:hover,
  .store-button:focus-visible {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-1px);
  }

  .custom-select__button:hover {
    background: var(--color-bg-panel);
    color: var(--color-text);
  }


/* =========================================================
   05. Store Search / Filters / Store List
========================================================= */

.store-search {
  position: relative;
  margin-top: 0;
  padding: 0 16px var(--section-space);
}

.store-search__inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 64px 100px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-medium);
}

.search-panel {
  margin-top: 28px;
}

.search-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

select,
input[type="search"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d0d0d0;
  border-radius: var(--radius-pill);
  padding: 0 18px;
  background: var(--color-white);
  color: var(--color-text);
  outline: none;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0 48px 0 24px;
  background: url('../img/icon-arrow.svg') no-repeat right 16px center;
  background-size: 12px;
  background-color: var(--color-white);
}

select:focus,
input[type="search"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(193, 0, 122, 0.12);
}

.input-wrap input[type="search"] {
  padding-right: 54px;
}

.search-toolbar .input-wrap {
  grid-column: 1 / -1;
}

.search-meta {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

.result-count {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-light);
}

.store-list {
  margin-top: 18px;
}

.prefecture-group + .prefecture-group {
  margin-top: 64px;
}

.prefecture-title {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffc3de;
  font-size: 24px;
  font-weight: 700;
}

.prefecture-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ffc3de;
}

.prefecture-heading .prefecture-title {
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.city-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.city-filter-toggle {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.city-filter-toggle:hover,
.city-filter-toggle:focus-visible {
  background: var(--color-bg-hover);
}

.city-filter-select-wrap {
  width: 190px;
}

.city-filter-select {
  min-height: 38px;
  padding-left: 16px;
  font-size: 14px;
}

/* 市区セレクトの閉じている見た目は元のselectに合わせる */
.city-filter-select-wrap .custom-select__button {
  min-height: 38px;
  padding: 0 42px 0 16px;
  font-size: 14px;
}

.city-filter-select-wrap .custom-select__icon {
  right: 10px;
  width: 24px;
  height: 24px;
}

/* =========================================================
   Custom Select / Under Dropdown
========================================================= */

.select-wrap,
.city-filter-select-wrap {
  position: relative;
}

.select-wrap select,
.city-filter-select-wrap select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  display: block;
  position: relative;
  width: 100%;
}

.custom-select__button {
  position: relative;
  width: 100%;
  min-height: 56px;
  padding: 0 54px 0 24px;
  border: 1px solid var(--color-border-base);
  border-radius: var(--radius-xs);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
}

.custom-select__label {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__icon {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 24px;
  height: 24px;
  color: var(--color-icon);
  transform: translateY(-50%);
  pointer-events: none;
  flex-shrink: 0;
}


.custom-select-layer {
  position: absolute;
  inset: 0 auto auto 0;
  z-index: var(--z-select);
  display: none;
  pointer-events: none;
}

.custom-select-layer.is-open {
  display: block;
}

.custom-select-layer__sheet {
  position: absolute;
  max-height: min(64vh, 560px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border-base);
  border-radius: var(--radius-xs);
  background: var(--color-white);
  box-shadow: var(--shadow-select);
  pointer-events: auto;
}

.custom-select-layer__head {
  position: relative;
  min-height: 48px;
  padding: 13px 80px 12px 18px;
  border-bottom: 1px solid var(--color-border-base);
  background: var(--color-white);
}

.custom-select-layer__title {
  margin: 0;
  color: var(--color-text-strong);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
}

.custom-select-layer__close {
  position: absolute;
  right: 12px;
  top: 50%;
  border: 0;
  background: transparent;
  color: var(--color-icon);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.custom-select-layer__list {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 max(0px, env(safe-area-inset-bottom));
  background: var(--color-white);
}

.custom-select-layer__option {
  position: relative;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 56px 12px 28px;
  border: 0;
  border-bottom: 1px solid var(--color-border-base);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.custom-select-layer__option:last-child {
  border-bottom: none;
}

.custom-select-layer__option.is-selected {
  background: var(--color-bg-hover);
  color: var(--color-text);
  font-weight: 700;
}

.custom-select-layer__option.is-selected::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 4px;
  height: 10px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: translateY(-60%) rotate(45deg);
}

@media (hover: hover) {
  .product-card__button:hover .product-card__image {
    opacity: 0.8;
  }

  .custom-select-layer__option:hover:not(:disabled) {
    background: var(--color-bg-hover);
  }

  .custom-select-layer__option.is-selected:hover {
    background: var(--color-bg-hover);
  }
}

.custom-select-layer__option:disabled {
  opacity: .45;
  cursor: default;
}

@media (max-width: 767px) {
  .custom-select__button {
    min-height: 45px;
    padding: 0 44px 0 20px;
    font-size: 13px;
  }

  .custom-select__icon {
    right: 12px;
    width: 24px;
    height: 24px;
  }

  .custom-select-layer__sheet {
    max-height: min(72vh, 520px);
    border-radius: 0 0 5px 5px;
  }

  .custom-select-layer__head {
    min-height: 44px;
    padding: 12px 72px 11px 16px;
  }

  .custom-select-layer__title,
  .custom-select-layer__close {
    font-size: 13px;
  }

  .custom-select-layer__option {
    min-height: 48px;
    padding-left: 16px;
    font-size: 14px;
  }
}


.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 20px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 16px 8px;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: transform 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.store-button:hover,
.store-button:focus-visible {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .store-search {
      padding: 0 16px var(--section-space);
    }

  .store-search__inner {
      padding: 40px 20px;
    }

  .search-toolbar {
      grid-template-columns: 1fr;
      gap: 10px;
    }

  select,
    input[type="search"] {
      min-height: 48px;
      font-size: 14px;
    }

  select {
      padding: 0 38px 0 16px;
      background-position: right 14px center;
    }
}

@media (max-width: 900px) {
  .store-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
  .store-search {
      margin-top: -64px;
    }

  .search-toolbar {
      grid-template-columns: 1fr;
      gap: 10px;
    }
}

@media (max-width: 640px) {
  .store-search,
    .benefit,
    .steps,
    .app-banner {
      padding-left: 12px;
      padding-right: 12px;
    }

  .store-search {
      padding-bottom: var(--section-space-sp);
    }

  .store-search__inner {
      padding: 32px 20px;
      border-radius: 28px;
    }

  .store-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

  .store-button {
      min-height: 38px;
      font-size: 12px;
      padding: 8px 6px;
      font-weight: 700;
    }
}

@media (max-width: 767px) {
  .prefecture-heading {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

  .city-filter {
      align-items: stretch;
      flex-direction: column;
      gap: 8px;
    }

  .city-filter-select-wrap {
      width: 100%;
    }
}

.store-search {
  margin-top: 0;
  padding: 112px 16px var(--section-space);
}

.store-search-lead {
  width: min(100%, 1020px);
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  align-items: center;
  gap: 0;
  color: var(--color-primary);
}

.store-search-lead__text {
  margin: 0;
  text-align: center;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.85;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.store-search-lead__icon--left {
  transform: rotate(-8deg);
  position: relative;
  display: block;
  width: 91px;
  height: 91px;
  margin: 0 auto;
  color: transparent;
}

.store-search-lead__icon--right {
  position: relative;
  display: block;
  width: 103px;
  height: 116px;
  margin: 0 auto;
  color: transparent;
  transform: rotate(10deg);
}

.store-search-lead__icon--right::before {
  left: 12px;
  top: 18px;
  width: 64px;
  height: 58px;
  border-radius: 4px;
}

.store-search-lead__icon--right::after {
  left: 38px;
  top: 8px;
  width: 12px;
  height: 72px;
  border-top: none;
  border-bottom: none;
  border-radius: 0;
  box-shadow: -18px 22px 0 -14px var(--color-primary), 18px 22px 0 -14px var(--color-primary);
}

.store-search__inner {
  width: min(100%, 1172px);
  padding: 72px 72px 64px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-panel);
  box-shadow: none;
}

.search-panel {
  width: min(100%, 1024px);
  margin: 40px auto 0;
  padding: 34px 50px;
  background: var(--color-bg-panel);
  border-radius: var(--radius-xl);
}

.search-toolbar {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 20px;
}

select,
input[type="search"] {
  min-height: 56px;
  border: 1px solid var(--color-border-base);
  border-radius: var(--radius-xs);
  color: var(--color-text);
  background-color: var(--color-white);
  font-weight: 700;
}

select {
  text-align: center;
  text-align-last: center;
  padding-left: 24px;
  padding-right: 48px;
  background-position: right 22px center;
}

input[type="search"] {
  font-weight: 500;
}

.input-wrap input[type="search"] {
  padding: 0 150px 0 30px;
}

.input-wrap input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.search-button {
  position: absolute;
  right: 0;
  top: 0;
  width: 88px;
  height: 100%;
  border: 0;
  border-radius: 0 5px 5px 0;
  background: var(--color-icon);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-button img {
  width: 20px;
  height: auto;
  display: block;
}

.search-meta {
  justify-content: center;
  margin-top: 20px;
}

.result-count {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 44px;
  font-size: 20px;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.4;
}

.store-list {
  width: min(100%, 920px);
  margin: 22px auto 0;
}

.prefecture-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prefecture-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background: #f2f2f2;
  border-radius: var(--radius-pill);
}

.prefecture-heading {
  border-bottom: none;
}

.prefecture-heading .prefecture-title,
.prefecture-title {
  font-size: 24px;
  font-weight: 700;
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .store-search {
      padding: 0 20px 72px;
      margin-top: 96px;
    }

  .store-search-lead {
      grid-template-columns: 1fr;
      margin-bottom: 24px;
    }
  .store-search-lead__icon {
      display: none;
    }
  .store-search-lead__text {
      font-size: 4.266666666666667vw;
      line-height: 1.65;
      letter-spacing: 0.06em;
    }
  .store-search__inner {
      padding: 32px 10px 42px;
      border-radius: 22px;
    }
  .search-panel {
      margin-top: 28px;
      padding: 14px 10px;
      border-radius: 10px;
    }
  .search-toolbar {
      grid-template-columns: 1fr;
      gap: 12px;
    }
  select,
    input[type="search"] {
      min-height: 45px;
      font-size: 12px;
      border-width: 2px;
    }
  select {
      padding: 0 44px 0 20px;
      background-position: right 18px center;
    }
  .input-wrap input[type="search"] {
      padding: 0 56px 0 16px;
    }
  .result-count {
      margin-top: 10px;
      padding-bottom: 38px;
      font-size: 20px;
    }
  .store-list {
      margin-top: 18px;
    }
  .sp-only {
      display: inline;
    }
  .search-button {
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 100%;
    border: 0;
    border-radius: 0 5px 5px 0;
    background: var(--color-icon);
    padding: 0 4px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .search-button img {
    width: 16px;
    height: 17px;
    display: block;
  }
  .prefecture-heading .prefecture-title,
  .prefecture-title {
    font-size: 18px;
    font-weight: 700;
  }
}


/* =========================================================
   06. Benefit / App Banner
========================================================= */

.benefit {
  padding: 0 16px 32px;
  margin-top: 120px;
  background: var(--color-white);
}

.benefit__inner {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.benefit-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.benefit-card {
  padding: 24px 24px 0px 24px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.benefit-card__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.benefit-card__text {
  margin: 12px auto 0;
  max-width: 340px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-light);
  text-align: left;
}

.benefit-card__image {
  margin-top: 20px;
}

.benefit-card__image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto;
  display: block;
}

@media (max-width: 640px) {
  .benefit-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

  .benefit-card {
      padding: 20px;
      border-radius: 20px;
    }

  .benefit-card__title {
      font-size: 20px;
    }

  .benefit-card__text {
      font-size: 13px;
    }
}

.app-banner {
  padding: 0 0px 64px;
  background: var(--color-white);
}

.app-banner__inner {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.app-banner-card {
  margin: 40px auto;
  max-width: 1280px;
  border: 1px solid rgba(193, 0, 122, 0.35);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(193, 0, 122, 0.08), rgba(193, 0, 122, 0.14));
}

@media (max-width: 640px) {
  .benefit {
      padding-bottom: 24px;
    }

  .app-banner {
      padding-bottom: 40px;
    }
}


/* =========================================================
   07. Steps / How To
========================================================= */

.steps {
  padding: 40px 16px var(--section-space);
  margin-top: 120px;
  background: #f8e5f6;
}

.steps__inner {
  width: min(100%, 1280px);
  margin: 80px auto 0;
}

.step-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.step-card {
  min-height: 190px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: #FFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.step-no {
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}

.step-image {
  width: 100%;
  max-width: 320px;
  /* aspect-ratio: 1 / 1; */
  margin: 24px auto 16px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #CCC;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.45;
}

.step-card--guide {
  overflow: visible;
}

.step-guide-arrow {
  position: absolute;
  left: 50%;
  bottom: -34px;
  width: 2px;
  height: 28px;
  background: var(--color-primary);
  transform: translateX(-50%);
}

.step-guide-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: translateX(-50%) rotate(45deg);
}

.howto-block--focus {
  position: relative;
  margin-top: 42px;
}

.howto-block--focus::before {
  content: "";
  position: absolute;
  top: -26px;
  left: 50%;
  width: 64px;
  height: 4px;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
  transform: translateX(-50%);
}

.howto-blocks {
  margin-top: 36px;
}

.howto-block + .howto-block {
  margin-top: 30px;
}

.howto-block h3 {
  margin: 0;
  text-align: center;
  font-size: 28px;
  line-height: 1.4;
}

.howto-block p {
  margin: 10px auto 0;
  max-width: 760px;
  font-size: 14px;
  color: var(--color-text-light);
  text-align: center;
}

.howto-block img {
  margin: 18px auto 0;
  width: min(100%, 620px);
  border-radius: var(--radius-lg);
}

.howto-block-last {
  padding-top: 10px;
}

@media (max-width: 900px) {
  .step-card h3,
    .howto-block h3 {
      font-size: 24px;
    }
}

@media (max-width: 640px) {
  .steps {
      padding-top: 32px;
      padding-bottom: var(--section-space-sp);
    }

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

  .step-card {
      min-height: 148px;
    }

  .step-no {
      font-size: 24px;
    }
}


/* =========================================================
   08. Footer
========================================================= */

.site-footer {
  background: var(--color-white);
  color: var(--color-text);
  border-top: 1px solid var(--color-border-light);
}

.site-footer a {
  transition: opacity .2s ease;
}

.site-footer a:hover {
  opacity: .72;
}

.site-footer__age-notice {
  padding: 12px 16px;
  color: var(--color-muted);
  font-size: 18px;
  text-align: center;
  background: #f5f6f7;
  border-bottom: 1px solid var(--color-border-light);
}

.site-footer__guide {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
}

.site-footer__guide-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 32px 18px 36px;
}

.site-footer__guide-block + .site-footer__guide-block {
  margin-top: 16px;
}

.site-footer__guide-heading {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.site-footer__guide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

.site-footer__brand-area {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
}

.site-footer__brand-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  width: min(100%, 1280px);
  min-height: 90px;
  margin: 0 auto;
  padding: 24px 18px;
}

.site-footer__aeon-logo {
  display: inline-flex;
  color: #000;
}

.site-footer__tree-logo {
  display: inline-flex;
  block-size: auto;
  max-inline-size: 100%;
  align-items: center;
}


.site-footer__bottom {
  background: var(--color-white);
}

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 18px;
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 12px;
  line-height: 1.6;
}

.copyright {
  flex: 0 0 auto;
  margin: 0;
  color: #999;
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .site-footer__age-notice {
    padding: 10px 16px;
    font-size: 14px;
  }

  .site-footer__guide-inner {
    padding: 18px 18px 20px;
  }

  .site-footer__guide-links {
    display: grid;
    gap: 6px;
  }

  .site-footer__brand-inner {
    min-height: 92px;
    gap: 20px;
    padding: 24px 18px;
  }

  .site-footer__aeon-logo svg {
    width: 92px;
    height: auto;
  }

  .site-footer__bottom-inner {
    display: block;
    padding: 18px;
  }

  .site-footer__legal-links {
    display: grid;
    gap: 8px;
    font-size: 12px;
  }

  .copyright {
    margin-top: 12px;
    font-size: 10px;
    white-space: normal;
  }
}


/* =========================================================
   Feature guide modal
========================================================= */

.is-feature-guide-open {
  overflow: hidden;
}

.feature-guide-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.feature-guide-modal.is-open {
  display: flex;
}

.feature-guide-modal__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-modal-overlay);
}

.feature-guide-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-modal);
}

.feature-guide-modal__close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--color-icon);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.feature-guide-slider {
  overflow: hidden;
}

.feature-guide-slider__track {
  display: flex;
  transition: transform var(--transition-slow);
}

.feature-guide-slide {
  flex: 0 0 100%;
  padding: 48px 42px 28px;
  text-align: center;
}

.feature-guide-slide__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 2px solid var(--color-border-base);
  overflow: hidden;
}

.feature-guide-slide__image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.feature-guide-slide__title {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

.feature-guide-slide__text {
  margin: 12px 0 0;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
  text-align: left;
}

.feature-guide-modal__controls {
  display: grid;
  grid-template-columns: 96px 1fr 96px;
  align-items: center;
  gap: 12px;
  padding: 0 42px 20px;
}

.feature-guide-modal__nav,
.feature-guide-modal__never {
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  cursor: pointer;
}

.feature-guide-modal__nav {
  min-height: 40px;
}

.feature-guide-modal__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.feature-guide-modal__dots {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.feature-guide-modal__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-dot-light);
  cursor: pointer;
}

.feature-guide-modal__dot.is-active {
  background: var(--color-primary);
}

.feature-guide-modal__footer {
  display: flex;
  justify-content: center;
  padding: 0 42px 34px;
}

.feature-guide-modal__never {
  min-height: 42px;
  padding: 0 28px;
}

@media (max-width: 767px) {
  .feature-guide-modal {
    padding: 14px;
  }

  .feature-guide-modal__dialog {
    border-radius: var(--radius-2xl);
  }

  .feature-guide-modal__close {
    right: 4px;
    top: 10px;
    width: 40px;
    height: 40px;
  }

  .feature-guide-slide {
    padding: 16px 18px 22px;
  }

  .feature-guide-slide__title {
    font-size: 14px;
    margin: 0 0 10px;
  }

  .feature-guide-slide__text {
    font-size: 12px;
  }

  .feature-guide-modal__controls {
    grid-template-columns: 72px 1fr 72px;
    padding: 0 18px 18px;
  }

  .feature-guide-modal__footer {
    padding: 0 18px 26px;
  }
  
}


/* =========================================================
   Active feature banner / city headings
   --active-feature-inline-*    : ページ内表示時
   --active-feature-following-* : 追従表示時
========================================================= */
.active-feature-banner {
  --active-feature-inline-image-width: 220px;
  --active-feature-inline-image-height: 146px;
  --active-feature-following-image-width: 84px;
  --active-feature-following-image-height: 56px;

  position: relative;
  z-index: 30;
  display: grid;
  align-items: center;
  background: #fff8fc;
  border: 1px solid #e4b3d4;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(74, 29, 59, 0.12);
}

.active-feature-banner[hidden] {
  display: none !important;
}

.active-feature-banner__close {
  position: absolute;
  top: 14px;
  right: 12px;
  z-index: 2;
  width: 28px;
  height: 28px;
  padding: 2px;
  border: 0;
  background: transparent;
  color: var(--color-icon);
  cursor: pointer;
}

.active-feature-banner__media {
  overflow: hidden;
  background: var(--color-bg-media);
}

.active-feature-banner__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.active-feature-banner__text {
  min-width: 0;
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.active-feature-banner__text span,
.active-feature-banner__emphasis {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 700;
}

.active-feature-banner__note {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--color-text);
}
.active-feature-banner.is-following .active-feature-banner__note {
  display: none;
}


.active-feature-banner__prefecture {
  width: 100%;
  max-width: 420px;
}

.active-feature-banner__prefecture .custom-select__button,
.active-feature-banner__prefecture select {
  min-height: 52px;
}

.active-feature-banner-placeholder[hidden] {
  display: none !important;
}

/* ページ内の通常表示：画像｜文言、その下に都道府県選択 */
.active-feature-banner.is-inline {
  position: relative;
  inset: auto;
  grid-template-columns: var(--active-feature-inline-image-width) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 28px;
  row-gap: 18px;
  width: 100%;
  margin: 52px 0 0;
  padding: 22px 56px 22px 22px;
  transform: none;
}

.active-feature-banner.is-inline .active-feature-banner__media {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: var(--active-feature-inline-image-width);
  height: auto;
  border-radius: 4px;
}

.active-feature-banner.is-inline .active-feature-banner__text {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}

.active-feature-banner.is-inline .active-feature-banner__prefecture {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

/* 追従表示：画像｜文言のみ */
.active-feature-banner.is-following {
  position: fixed;
  top: calc(var(--header-height-pc) + 0%);
  left: 50%;
  right: auto;
  bottom: auto;
  grid-template-columns: var(--active-feature-following-image-width) minmax(0, 1fr);
  gap: 14px;
  width: min(calc(100% - 40px), 1200px);
  margin: 0;
  padding: 10px 48px 10px 10px;
  transform: translateX(-50%);
  z-index: var(--z-banner);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 10px 30px rgba(74, 29, 59, 0.18);
}

.active-feature-banner.is-following .active-feature-banner__media {
  width: var(--active-feature-following-image-width);
  height: auto;
  border-radius: 2px;
}

.active-feature-banner.is-following .active-feature-banner__text {
  font-size: 15px;
}

.active-feature-banner.is-following .active-feature-banner__text span {
  font-size: 16px;
}

.active-feature-banner.is-following .active-feature-banner__prefecture {
  display: none;
}

.active-feature-banner.is-following .active-feature-banner__close {
  top: 50%;
  transform: translateY(-50%);
}


.store-grid--with-city-headings {
  display: block;
}

.city-group + .city-group {
  margin-top: 48px;
}

.city-title {
  position: relative;
  margin: 0 0 12px;
  padding-left: 14px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.city-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.2em;
  background: var(--color-primary);
  border-radius: 999px;
}

.city-store-grid {
  margin: 0;
}

.search-toolbar {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 767px) {
 .city-group + .city-group {
   margin-top: 32px;
 }
}

/* =========================================================
   Feature / product filtering mode
========================================================= */
.store-search__inner.is-feature-filter-active .active-feature-banner.is-inline {
  margin-top: 52px;
}

@media (max-width: 767px) {
  .active-feature-banner {
    --active-feature-inline-image-width: 100%;
    --active-feature-inline-image-height: auto;
    --active-feature-following-image-width: 76px;
    --active-feature-following-image-height: 52px;
  }

  /* SPのページ内表示は画像・文言・都道府県をすべて縦並び */
  .active-feature-banner.is-inline {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 14px;
    width: 100%;
    margin: 36px 0 0;
    padding: 16px 42px 18px 16px;
    border: 1px solid #e4b3d4;
    border-radius: var(--radius-md);
  }

  .active-feature-banner.is-inline .active-feature-banner__media {
    grid-column: 1;
    grid-row: 1;
    width: 196px;
    height: auto;
    border-radius: 4px;
    justify-self: center;
  }

  .active-feature-banner.is-inline .active-feature-banner__text {
    grid-column: 1;
    grid-row: 2;
    align-self: auto;
    font-size: 14px;
  }

  .active-feature-banner.is-inline .active-feature-banner__text span {
    font-size: 16px;
  }

  .active-feature-banner.is-inline .active-feature-banner__prefecture {
    grid-column: 1;
    grid-row: 3;
    max-width: none;
  }

  .active-feature-banner.is-following {
    top: calc(var(--header-height-sp) + 0px);
    left: 0;
    right: 0;
    grid-template-columns: var(--active-feature-following-image-width) minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 9px 40px 9px 9px;
    transform: none;
    border: 0;
    border-top: 2px solid var(--color-primary);
    border-radius: 0;
    box-shadow: 0 8px 20px rgba(74, 29, 59, 0.18);
  }

  .active-feature-banner.is-following .active-feature-banner__text {
    font-size: 13px;
  }

  .active-feature-banner.is-following .active-feature-banner__text span {
    font-size: 14px;
  }

  .active-feature-banner.is-following .active-feature-banner__prefecture {
    display: none;
  }

  .store-search__inner.is-feature-filter-active .active-feature-banner.is-inline {
    margin-top: 36px;
  }

  .search-toolbar {
    grid-template-columns: 1fr;
  }

  .city-title {
    margin-bottom: 10px;
    font-size: 16px;
  }
}


/* Search panel filter reset */
.search-panel__actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.filter-reset-button {
  min-height: 40px;
  padding: 8px 20px;
  border: 1px solid var(--color-border-base);
  border-radius: var(--radius-xs);
  background: #fff;
  color: var(--color-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter-reset-button[hidden] {
  display: none;
}

@media (max-width: 767px) {
  .search-panel__actions {
    justify-content: center;
    margin-top: 12px;
  }

  .filter-reset-button {
    width: 100%;
  }
}

