@charset "utf-8";
/* location.html用（PCSP共通・24/7/18～） */
#market {
  --main-color-red: #b10507;
  .is-pc & {
    padding-top: min((134vw / 7.5), 17px);
  }
  .section__lead {
    font-size: min((28vw / 7.5), 16px);
    line-height: calc(42 / 28);
    width: max-content;
    margin: auto;
  }
}
.market:not(:first-child) {
  margin-top: min((134vw / 7.5), 99px);
}
.market__title {
  text-align: center;
  margin-bottom: min((38vw / 7.5), 38px);
}
.market__title--image {
  height: var(--ttl-size-h);
  width: auto;
  object-fit: contain;
  #market-pickup & {
    --ttl-size-h: min((131vw / 7.5), 131px);
  }
  #market-all & {
    --ttl-size-h: min((186vw / 7.5), 186px);
  }
  @media (width >=681px) {
    #market-pickup & {
      --ttl-size-h: 100px
    }
    #market-all & {
      --ttl-size-h: 103px
    }
  }
}
/*market__nav */
.market__nav {
  margin-bottom: min((60vw / 7.5), 30px);
}
.market__nav--title {
  padding: 0 !important;
}
.market__nav--item {
  background: var(--bg, #fff);
  cursor: pointer;
  &.is-active {
    --bg: var(--main-color-red);
    color: #fff;
  }
}
@media (width >=681px) {
  .market__nav {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 13px;
    align-items: center;
    font-size: 14px;
    line-height: 1;
  }
  .market__nav--title {
    display: grid;
    grid-template-columns: max-content auto;
    height: 100%;
    &::after {
      content: "";
      width: 12px;
      height: 22px;
      background: var(--main-color-red);
      clip-path: polygon(0 0, 100% 50%, 0 100%);
      position: relative;
      top: 50%;
      transform: translateY(-50%);
    }
  }
  .market__nav--title--text {
    background: var(--main-color-red);
    color: #fff;
    padding: 0 1em;
    display: grid;
    justify-items: center;
    align-items: center;
  }
  .market__nav--list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .market__nav--item {
    border: 1px solid #c9c9c9;
    border-radius: 2px;
    padding: 11px 20px 13px;
  }
}
@media (width < 681px) {
  .market__nav {
    background: #dcd5c6;
    padding: min((30vw / 7.5), 30px) min((18vw / 7.5), 20px);
  }
  .market__nav--title {
    text-align: center;
    font-weight: bold;
    font-size: min((30vw / 7.5), 18px);
    line-height: 1.2;
    margin-bottom: 1em;
  }
  .market__nav--list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: min((6vw / 7.5), 6px);
  }
  .market__nav--item {
    min-height: min((70vw / 7.5), 40px);
    font-size: min((22vw / 7.5), 15px);
    font-weight: bold;
    line-height: 1.2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .5em;
    align-items: center;
    padding: .3em .5em .3em 1em;
    &.is-active {
      --icon-img: url(/cmn/icon/icon_arrow_down_white.svg);
    }
    &::after {
      content: "";
      width: 1.75em;
      height: .75em;
      background: var(--icon-img, url(/cmn/icon/icon_arrow_down_black.svg)) no-repeat center center / cover;
    }
  }
}
/*market__list */
.market__list {
  display: grid;
  row-gap: min((40vw / 7.5), 20px);
  margin-top: min((40vw / 7.5), 20px);
  @media(width >=681px) {
    & {
      grid-template-columns: repeat(var(--col, 2), 1fr);
      column-gap: 18px;
    }
  }
  @media(width >=981px) {
    & {
      --col: 3;
    }
  }
}
.market__item--link {
  display: grid;
  grid-template-rows: repeat(2, max-content) 1fr;
  color: inherit !important;
  text-decoration: none !important;
  height: 100%;
  background: #fff;
  border: min((2vw / 7.5), 2px) var(--main-color-red) solid;
  @media (width < 681px) {
    #market-all & {
      grid-template-rows: auto 1fr;
      grid-template-columns: repeat(2, 1fr);
      .market__item--dst {
        grid-template-columns: auto;
        grid-template-rows: repeat(2, max-content);
      }
      .market__item--dst--city {
        font-size: min((30vw / 7.5), 16px);
      }
      .market__item--dst--country {
        margin-right: auto;
      }
      .market__item--photo {
        height: min((226vw / 7.5), 203px)
      }
      .market__item--texts {
        grid-column: span 2;
      }
    }
    
    
  }
}
.market__item--dst {
  background: var(--main-color-red);
  font-size: min((24vw / 7.5), 14px);
  line-height: 1.2;
  font-weight: bold;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: .5em;
  padding: min((10vw / 7.5), 10px) !important;
}
.market__item--dst--city {
  color: #fff;
  font-size: min((34vw / 7.5), 18px);
  text-align: left;
}
.market__item--dst--country {
  color: var(--main-color-red);
  background: #fff;
  padding: .25em;
}
.market__item--photo {
  display: block;
  width: 100%;
  height: min((452vw / 7.5), 203px);
  object-fit: cover;
  &:not(.is-noimg) {
    object-position: right bottom;
  }
}
.market__item--texts {
  display: flex;
  flex-direction: column;
  padding: min((20vw / 7.5), 10px);
}
.market__item--title {
  font-size: min((28vw / 7.5), 16px);
  line-height: calc(32 / 28);
  color: var(--main-color-red);
  font-weight: bold;
  margin-bottom: .5em;
}
.market__item--text {
  font-size: min((26vw / 7.5), 14px);
  line-height: calc(37 / 26);
}
.market__item--detail {
  font-size: min((24vw / 7.5), 14px);
  line-height: 1.4;
  margin-top: auto;
  padding-top: .75em;
}
.market__item--detail--item:not(:first-child) {
  margin-top: 1em;
}
.market__item--detail--item--title {
  background: var(--main-color-red);
  line-height: 1.2;
  color: #fff;
  padding: .2em .5em .3em;
  display: inline-block;
  margin-bottom: .25em;
}
.market__item--link-text {
  color: var(--main-color-red);
  font-size: min((26vw / 7.5), 14px);
  line-height: 1;
  font-weight: bold;
  text-align: right;
  margin-top: 1em;
  display: grid;
  grid-template-columns: max-content auto;
  align-items: center;
  gap: .5em;
  align-self: end;
  &::after {
    content: "";
    background: currentColor;
    width: calc(19em / 26);
    height: calc(20em / 26);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }
}
/*------------------------------------------------*/
/*★ ＝＝ hover ＝＝ ★*/
@media (hover : hover) and (pointer : fine) {
  .market__item--link {
    transition: opacity .4s;
    &:hover {
      opacity: .7;
    }
  }
}