.brand-info-slider {
  touch-action: pan-y;
}

.brand-info-slider .slide picture {
  display: block;
  width: 100%;
}

.brand-info-slider .thumbnail picture {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-ib picture,
.brandpage-top-logo picture {
  display: block;
}

#main p > picture {
  display: block;
  max-width: 100%;
}

#main p > picture > img {
  display: block;
  max-width: 100%;
  height: auto;
}

.brand-main-visual picture,
.brand-main-visual img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 12 / 7;
}

.brand-info-slider .thumbnail {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  background: transparent;
  font: inherit;
}

.brand-info-slider .thumbnail:focus-visible,
.brand-slider-arrow:focus-visible {
  outline: 3px solid #1769aa;
  outline-offset: 3px;
}

.brand-slider-controls {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 10px;
  left: 10px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.brand-slider-arrow {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  pointer-events: auto;
}

.brand-slider-arrow:hover {
  background: rgba(0, 0, 0, 0.78);
}

.brand-slider-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 767px) {
  .brand-slider-controls {
    right: 6px;
    left: 6px;
  }

  .brand-slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-info-slider .slide-container {
    transition: none;
  }
}

/* Brand pages: store information supplied by inc/brand.php */
.store-info {
  margin: 40px 0 10px;
  color: #383838;
  font-size: 15px;
  line-height: 1.7;
}

.store-info *,
.store-info *::before,
.store-info *::after {
  box-sizing: border-box;
}

.store-info .intro-section {
  padding: 28px 30px;
  border-top: 4px solid #6f9335;
  background: #f3f6ef;
  text-align: center;
}

.store-info .intro-text {
  margin: 0 0 20px !important;
  color: #383838 !important;
}

.store-info .phone-label {
  margin-bottom: 2px;
  color: #555;
  font-size: 13px;
}

.store-info .phone-number {
  color: #4f7424;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.store-info .content-section {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.store-info .section {
  padding: 24px;
  border: 1px solid #ddd;
  background: #fff;
}

.store-info .section-title {
  margin: 0 0 20px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 2px solid #6f9335;
  color: #383838;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.store-info .service-areas {
  display: grid;
  gap: 18px;
}

.store-info .area-title {
  margin-bottom: 8px;
  color: #5b722f;
  font-weight: 700;
}

.store-info .area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-info .area-item {
  min-width: 74px;
  padding: 5px 12px;
  border: 1px solid #d8dfcd;
  background: #f7f9f4;
  text-align: center;
}

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

.store-info .payment-item,
.store-info .access-item {
  padding: 16px;
  background: #f7f7f7;
}

.store-info .payment-title,
.store-info .access-title {
  margin-bottom: 5px;
  color: #5b722f;
  font-weight: 700;
}

.store-info .payment-desc,
.store-info .access-desc {
  font-size: 13px;
}

.store-info .credit-cards {
  margin-top: 8px;
}

#container .store-info .credit-cards img {
  display: block;
  width: auto;
  max-width: 150px;
  height: auto;
}

.store-info .company-info {
  border-top: 1px solid #ddd;
}

.store-info .info-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  border-bottom: 1px solid #ddd;
}

.store-info .info-label,
.store-info .info-value {
  padding: 12px 14px;
}

.store-info .info-label {
  background: #f3f6ef;
  color: #4f642c;
  font-weight: 700;
}

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

.store-info .highlight {
  color: #b4492e;
  font-weight: 700;
}

@media (max-width: 767px) {
  .store-info {
    margin-top: 30px;
    font-size: 14px;
  }

  .store-info .intro-section {
    padding: 22px 16px;
  }

  .store-info .phone-number {
    font-size: clamp(25px, 8vw, 30px);
  }

  .store-info .section {
    padding: 18px 14px;
  }

  .store-info .section-title {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .store-info .area-item {
    min-width: 0;
    flex: 1 1 calc(33.333% - 8px);
    padding-right: 6px;
    padding-left: 6px;
  }

  .store-info .payment-methods,
  .store-info .access-info {
    grid-template-columns: 1fr;
  }

  .store-info .info-row {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .store-info .info-label,
  .store-info .info-value {
    padding: 10px;
  }
}
