* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.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;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #E6F6F9;
  color: #333;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background-color: #E6F6F9;
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.container {
  padding: 0 16px;
}

.header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  padding: 12px 0;
}

.header-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo img {
  height: 24px;
  display: block;
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #E6F6F9;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.sticky-nav {
  position: sticky;
  top: 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  z-index: 90;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  padding: 12px 16px;
}

.nav-btn {
  flex: 1;
  padding: 8px 12px;
  background-color: white;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #9CA3AF;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
  white-space: nowrap;
}

.nav-btn:hover {
  border-color: #3D7FE0;
}

.nav-btn.active {
  background-color: #3D7FE0;
  border-color: #3D7FE0;
  color: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.nav-btn[data-section="pickup"]:hover  { border-color: #FF5A6B; }
.nav-btn[data-section="catalog"]:hover { border-color: #FFA53D; }
.nav-btn[data-section="new"]:hover     { border-color: #FFDE4A; }

.nav-btn[data-section="pickup"].active {
  background-color: #FF5A6B;
  border-color: #FF5A6B;
}
.nav-btn[data-section="catalog"].active {
  background-color: #FFA53D;
  border-color: #FFA53D;
}
.nav-btn[data-section="new"].active {
  background-color: #FFDE4A;
  border-color: #FFDE4A;
  color: #333; 
}

.section-pickup {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding-bottom: 40px;
  
  background: linear-gradient(180deg,
    #4ECED0 0%,
    #4ECED0 18%,
    #A8E6F0 55%,
    #A8E6F0 100%
  );
}

.must-go-text {
  position: absolute;
  top: -25px;
  left: -5px;
  font-size: min(27vw, 130px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.12em;
  white-space: nowrap;
  font-family: system-ui, -apple-system, sans-serif;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
  color: #FFFFFF;
}

.pickup-header {
  position: relative;
  z-index: 10;
  margin-bottom: 24px;
  padding: 60px 16px 0 16px;
}

.pickup-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.pickup-subtitle {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: #FFFFFF;
  opacity: 0.9;
}

.pickup-header.no-subtitle .pickup-title { margin-bottom: 0; }

.carousel-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 20px;
  scroll-padding-right: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-scroll::-webkit-scrollbar {
  display: none;
}

.carousel-container {
  display: flex;
  gap: 12px;
  padding-bottom: 8px;
  padding-left: 20px;
  padding-right: 20px;
}

.pickup-card {
  flex-shrink: 0;
  width: 100%;
  background: white;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.2s;
}

.pickup-card:active {
  transform: scale(0.98);
}

.pickup-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2; 
  overflow: hidden;
  background-color: #FFFFFF; 
}

.pickup-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  object-position: center top; 
}

.pickup-card-content {
  padding: 2px 12px 12px 12px; 
}

.section-catalog {
  padding: 32px 0;
  background-color: #E6F6F9;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #333;
}

.section-desc {
  font-size: 11px;
  color: #4B5563;
  margin-bottom: 16px;
  line-height: 1.5;
}

.lead { margin-bottom: 10px; }
.lead-text {
  position: relative; font-size: 11px; line-height: 1.7; color: #4B5563;
  max-height: 5.1em; overflow: hidden; transition: max-height .35s ease;
}
.lead-text p { margin: 0 0 6px; }
.lead-text::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2.4em;
  background: linear-gradient(to bottom, transparent, #E6F6F9); pointer-events: none; transition: opacity .2s;
}
.lead-toggle:checked ~ .lead-text { max-height: 40em; }
.lead-toggle:checked ~ .lead-text::after { opacity: 0; }
.lead-more-btn {
  display: block; width: 100%; text-align: right; margin-top: 2px; margin-bottom: 0; cursor: pointer;
  font-size: 11px; font-weight: 500; color: #9ca3af; user-select: none;
}
.lead-more-btn::after { content: 'もっと見る ▼'; }
.lead-toggle:checked ~ .lead-more-btn::after { content: '閉じる ▲'; }

.filter-bar {
  margin-bottom: 16px;
  position: relative;
}

body.nav-jump .filter-bar,
body.nav-filter .filter-bar {
  position: sticky;
  top: 0;
  z-index: 80;
  background-color: #E6F6F9;   
  margin: 0 -16px 12px;   
  padding: 6px 16px 0;    
}

.area-heading {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 20px 0 12px;
  padding-left: 8px;
  border-left: 4px solid #4ECED0;
}
.area-section:first-of-type .area-heading {
  margin-top: 4px;
}

.filter-bar::before,
.filter-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 20px;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.2s;
}

.filter-bar::before {
  left: 0;
  background: linear-gradient(to right, #E6F6F9, transparent);
}

.filter-bar::after {
  right: 0;
  background: linear-gradient(to left, #E6F6F9, transparent);
}

.filter-bar.at-start::before {
  opacity: 0;
}

.filter-bar.at-end::after {
  opacity: 0;
}

.filter-scroll {
  display: flex;
  gap: 8px;
  padding-top: 4px;      
  padding-bottom: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-scroll::-webkit-scrollbar {
  display: none;
}

body.nav-filter #filterBar {
  flex-wrap: wrap;
  row-gap: 8px;
  overflow-x: visible;
}

#filterBar.nav-2row {
  flex-direction: column;
  overflow-x: visible;
  gap: 7px;
}
#filterBar.nav-2row .filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
#filterBar.nav-2row .filter-row::-webkit-scrollbar {
  display: none;
}

.filter-btn.filter-btn-sm {
  padding: 2px 9px;
  font-size: 10px;
}

#filterBar.nav-2row .filter-row-minor {
  min-height: 21px;
}

.filter-btn {
  flex-shrink: 0;
  padding: 6px 12px;
  background-color: white;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #9CA3AF;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: #1E8FD0;
}

.area-dd { position: relative; flex-shrink: 0; }
.area-dd-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background-color: white;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #9CA3AF;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  white-space: nowrap;
}
.area-dd-caret { font-size: 8px; line-height: 1; }
.area-dd.active .area-dd-btn { background-color: #1E8FD0; border-color: #1E8FD0; color: #fff; }
.area-dd-btn:focus-visible { outline: 2px solid #1E8FD0; outline-offset: 1px; }

.area-dd-menu {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 100;
  min-width: 116px;
  max-width: calc(100vw - 16px);   
  background: #fff; border: 1px solid #E5E7EB; border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  padding: 4px; display: none;
}
.area-dd.open .area-dd-menu { display: block; }
.area-dd-item {
  display: block; width: 100%; text-align: left;
  padding: 8px 12px;
  background: none; border: none; border-radius: 6px;
  font-size: 12px; font-weight: 600; color: #374151;
  cursor: pointer; font-family: 'Noto Sans JP', sans-serif; white-space: nowrap;
}
.area-dd-item:hover { background: #E6F6F9; }
.area-dd-item.active { color: #1E8FD0; font-weight: 700; }

.filter-btn.active {
  background-color: #1E8FD0; 
  border-color: #1E8FD0;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: stretch;   
}

@keyframes catalogFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
#catalogGrid.catalog-fade { animation: catalogFade 0.28s ease both; }

.pc-genre {
  display: inline-block;
  align-self: flex-start;      
  background: #e7f6f8;
  color: #0b7285;
  font-size: 10px; font-weight: 700; line-height: 1.4;
  letter-spacing: 0.02em;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 5px;
}

.pc-name {
  font-size: 12px; font-weight: 600; line-height: 1.3; color: #111827; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-desc {
  font-size: 11px; line-height: 1.4; font-weight: 500; color: #333; margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-price { text-align: right; margin-top: auto; }  
.pc-price .orig { font-size: 10px; color: #9ca3af; text-decoration: line-through; margin-right: 4px; }
.pc-price .now { font-size: 15px; font-weight: 800; color: #F44336; }  

.loc-chip {
  position: absolute;
  left: 4px; bottom: 4px;
  display: flex; align-items: center; gap: 2px;
  background: rgba(17,24,39,.55);
  color: #fff;
  font-size: 9px; font-weight: 500; letter-spacing: 0.06em;
  padding: 1px 8px 2px;
  border-radius: 999px;
  z-index: 2;
}
.loc-chip svg { width: 10px; height: 10px; flex-shrink: 0; position: relative; top: 0.5px; }

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.product-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card--large {
  grid-column: 1 / -1;
}

.product-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2; 
  overflow: hidden;
  background-color: #FFFFFF; 
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  object-position: center top; 
}

.product-card-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.empty-state {
  text-align: center;
  padding: 48px 16px;
  color: #6B7280;
  font-size: 13px;
}

.section-new {
  padding: 32px 0;
  background-color: #FFFFFF;
}

.new-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.new-item {
  display: flex;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
  cursor: pointer;
}

.new-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.new-item-image {
  position: relative;
  width: 120px;
  align-self: stretch;      
  min-height: 120px;        
  flex-shrink: 0;
  overflow: hidden;
  background-color: #FFFFFF;
}

.new-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;        
  object-position: center;
}

.new-item-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.section-campaigns {
  padding: 32px 0;
  background-color: #E6F6F9;
}

.campaign-banners {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.campaign-banner {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: box-shadow 0.2s;
  aspect-ratio: 3 / 1;
  display: block;
}

.campaign-banner:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.campaign-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer {
  background-color: #E6F6F9;
  border-top: 1px solid #E5E7EB;
  padding: 32px 0;
  text-align: center;
}

.footer-content {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-content p {
  font-size: 13px;
  color: #4B5563;
}

.hide-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.loading-container,
.error-container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}

.loading-content,
.error-content {
  text-align: center;
}

.spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 4px solid #F44336;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-size: 14px;
  color: #6B7280;
}

.error-text {
  font-size: 14px;
  color: #DC2626;
  margin-bottom: 16px;
}

.retry-button {
  padding: 8px 16px;
  background-color: #00A5BB;
  color: white;
  border: none;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}

.retry-button:hover {
  background-color: #008FA3;
}

[data-display-status="preview-only"],
[data-display-status="upcoming"],
[data-display-status="ended"] {
  position: relative;
}

[data-display-status="preview-only"]::after,
[data-display-status="upcoming"]::after,
[data-display-status="ended"]::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 2px #E53935;
  border-radius: 8px;
  pointer-events: none;
  z-index: 4;
}

.preview-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: #E53935;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  z-index: 5;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.pr-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background-color: rgba(255, 255, 255, 0.82);
  color: #6b7280;
  border: 1px solid rgba(107, 114, 128, 0.35);
  padding: 0 5px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.3px;
  z-index: 5;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;          
  margin-bottom: 2px;
}
.tag-pill {
  font-size: 9px;
  font-weight: 600;
  color: #269fcf;        
  white-space: nowrap;
}
