@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

.shop-list-page {
  --shop-content-width: 1560px;
  color: #171717;
  background: var(--black);
}

.shop-list-page main {
  background: #f8f8f6;
}

.shop-list-page .global-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.shop-page-inner {
  width: min(var(--shop-content-width), calc(100% - (var(--side-space) * 2)));
  margin: 0 auto;
}

.shop-header-boundary {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0;
}

.shop-page-header {
  padding: 112px 0 34px;
  color: #171717;
  background: #efefec;
}

.shop-page-header h1 {
  margin: 0;
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.shop-breadcrumb {
  display: flex;
  margin-top: 16px;
  align-items: center;
  gap: 10px;
  color: #555;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.shop-breadcrumb a {
  transition: opacity 0.3s ease;
}

.shop-breadcrumb a:hover,
.shop-breadcrumb a:focus-visible {
  opacity: 0.55;
  outline: none;
}

.shop-section-heading > p:first-child {
  margin: 0 0 10px;
  color: #777;
  font-size: 10px;
  letter-spacing: 0.2em;
}

.shop-section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
}

.shop-section-heading--center {
  text-align: center;
}

.shop-section-heading--center .shop-section-heading__description {
  margin-right: auto;
  margin-left: auto;
}

.shop-section-heading__description {
  max-width: 600px;
  margin: 16px 0 0;
  color: #555;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.06em;
}

.online-stores {
  padding: 64px 0 76px;
  background: #f8f8f6;
}

.online-stores__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 38px;
}

.online-store-card {
  display: flex;
  min-height: 190px;
  padding: 30px 32px 26px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  background: #fff;
  text-align: center;
  transition: opacity 0.3s ease;
}

.online-store-card:hover,
.online-store-card:focus-visible {
  opacity: 0.55;
  outline: none;
}

.online-store-card__logo,
.online-store-card__logos {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
}

.online-store-card__logo img {
  width: min(190px, 68%);
  height: auto;
}

.online-store-card__logos {
  gap: 26px;
}

.online-store-card__logos img:first-child {
  width: 86px;
  height: auto;
}

.online-store-card__logos img:last-child {
  width: 92px;
  height: auto;
}

.online-store-card__logos > span {
  width: 1px;
  height: 38px;
  background: #ccc;
  transform: rotate(30deg);
}

.online-store-card__copy {
  margin-top: 16px;
  color: #555;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.online-store-card__link {
  display: flex;
  width: min(230px, 100%);
  margin-top: 18px;
  padding: 10px 1px 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #171717;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.online-store-card__link i {
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
}

.physical-stores {
  padding: 76px 0 110px;
  background: #f8f8f6;
}

.store-controls {
  margin-top: 42px;
  border: 1px solid #ccc;
  background: #fff;
}

.store-filter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #ccc;
}

.store-filter button {
  position: relative;
  display: flex;
  min-height: 64px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-right: 1px solid #ccc;
  color: #555;
  background: transparent;
  cursor: pointer;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: opacity 0.3s ease;
}

.store-filter button[data-store-filter="all"] {
  font-size: 15px;
}

.store-filter__logo--tictac {
  width: 112px;
  height: auto;
}

.store-filter__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.store-filter__logos img:first-child {
  width: 58px;
  height: auto;
}

.store-filter__logos img:last-child {
  width: 63px;
  height: auto;
}

.store-filter__logos > span {
  width: 1px;
  height: 27px;
  background: #aaa;
  transform: rotate(30deg);
}

.store-filter button:last-child {
  border-right: 0;
}

.store-filter button:hover,
.store-filter button:focus-visible {
  opacity: 0.55;
  outline: none;
}

.area-navigation {
  display: flex;
  min-height: 70px;
  padding: 13px 10px;
  align-items: center;
  justify-content: center;
  gap: 8px 0;
  flex-wrap: wrap;
}

.area-navigation a {
  padding: 8px clamp(16px, 2vw, 30px);
  border-right: 1px solid #ccc;
  color: #555;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 16px;
  line-height: 1.5;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.area-navigation a:last-child {
  border-right: 0;
}

.area-navigation a:hover,
.area-navigation a:focus-visible {
  opacity: 0.55;
  outline: none;
}

.store-results-status {
  margin: 20px 0 0;
  color: #777;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-align: right;
}

.store-list__message {
  margin: 42px 0 0;
  color: #555;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 15px;
}

.store-area {
  padding-top: 60px;
  scroll-margin-top: 84px;
}

.store-area + .store-area {
  margin-top: 56px;
}

.store-area__heading {
  margin: 0 0 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid #777;
  font-size: clamp(30px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.store-area__heading::after {
  content: none;
}

.store-prefecture + .store-prefecture {
  margin-top: 50px;
}

.store-prefecture__heading {
  margin: 0 0 16px;
  color: #777;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
}

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

.store-row {
  padding: 24px 26px 23px;
  border: 1px solid #ccc;
  background: #fff;
}

.store-row__name {
  display: block;
  margin: 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(18px, 1.25vw, 20px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.store-row__details {
  margin-top: 12px;
  color: #555;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: 15px;
  font-style: normal;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.store-row__address,
.store-row__phone {
  display: block;
}

.store-row__address {
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .shop-page-inner {
    width: calc(100% - (var(--side-space) * 2));
  }

  .shop-page-header {
    padding: 96px 0 28px;
  }

  .shop-page-header h1 {
    font-size: 28px;
  }

  .shop-breadcrumb {
    margin-top: 13px;
  }

  .online-stores__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .online-store-card {
    min-height: 170px;
    padding: 25px 24px 22px;
  }

  .online-store-card__logos img:first-child {
    width: 92px;
  }

  .online-store-card__logos img:last-child {
    width: 98px;
  }

  .store-filter {
    grid-template-columns: 1fr;
  }

  .store-filter button {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid #ccc;
  }

  .store-filter button:last-child {
    border-bottom: 0;
  }

  .area-navigation {
    justify-content: flex-start;
    padding: 12px 0;
  }

  .area-navigation a {
    width: 50%;
    padding: 10px 12px;
    border-right: 0;
    font-size: 16px;
    text-align: center;
  }

  .area-navigation a:nth-child(odd):not(:last-child) {
    border-right: 1px solid #ccc;
  }

  .store-results-status {
    margin-top: 22px;
  }

  .store-area__heading {
    margin-bottom: 28px;
    padding-bottom: 12px;
    font-size: 30px;
  }

  .store-prefecture + .store-prefecture {
    margin-top: 42px;
  }

  .store-prefecture__heading {
    margin-bottom: 14px;
    font-size: 20px;
  }

  .store-row {
    padding: 20px 22px 19px;
  }

  .store-prefecture__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .store-row__name {
    font-size: 18px;
  }

  .store-row__details {
    font-size: 14px;
    line-height: 1.8;
  }
}

