@import url(./global/_variable.css);

/* top */
/* ============================================ */

/* top-hero */
/* ============================================ */
.top-hero__wrap {
  padding: min(217px, (217 / 1920) * 100vw) 0;
  position: relative;
  @media (width <= 896px) {
    padding: calc((500 / 1920) * 100vw) 0;
  }
}
.top-hero__media {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.top-hero__panel {
  width: min(60%, 646px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: color-mix(in srgb, #000 40%, transparent);
  margin-inline: auto;
  position: relative;
  @media (width <= 896px) {
    gap: 16px;
  }
}
.top-hero__copy {
  flex-shrink: 0;
  height: 80%;
  img {
    display: block;
    height: 100%;
    width: auto;
  }
}
.top-hero__logo {
  flex-shrink: 0;
  height: 88%;
  img {
    display: block;
    height: 100%;
    width: auto;
  }
}

/* top-news */
/* ============================================ */
.top-news {
  padding: 80px 0;
  background: #fff;
  @media (width <= 896px) {
    padding: 56px 0;
  }
}
.top-news__body {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-top: 64px;
  @media (width <= 1025px) {
    flex-direction: column;
  }
  @media (width <= 896px) {
    margin-top: 40px;
    gap: 40px;
  }
}
.top-news__insta {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
}
.top-news__insta-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  img {
    display: block;
  }
}
.top-news__insta-name {
  font-weight: 500;
  color: var(--font_c);
  > span {
    font-weight: 400;
    color: var(--font02);
  }
}
.top-news__insta-follow {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--main_c);
  @media (hover:hover) {
    &:hover {
      opacity: .7;
    }
  }
  img {
    display: block;
  }
}
.top-news__insta-body {
  margin-top: 24px;
  @media (width <= 896px) {
    margin-top: 16px;
  }
  iframe {
    width: 100%!important;
    height: 100%!important;
    object-fit: cover;
    aspect-ratio: 1 / 1;
  }
}
.top-news__list {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
}
.top-news__ttl {
  display: inline-block;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--main_c);
  font-size: clamp(1.125rem, 0.8727rem + 0.4505vw, 1.25rem); /* 20~18(1340~896) */
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--font_c);
}
.top-news__contents {
  margin-top: 16px;
}
.top-news__item {
  border-bottom: 1px solid color-mix(in srgb, var(--main_c) 15%, transparent);
}
.top-news__item-link {
  display: block;
  padding: 20px 0;
}
.top-news__item-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-news__item-date {
  font-weight: 500;
  color: var(--font02);
}
.top-news__item-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 12px;
  border-radius: 70px;
  background: #e6f4e6;
  font-size: clamp(0.75rem, 0.4977rem + 0.4505vw, 0.875rem); /* 14~12(1340~896) */
  font-weight: 500;
  color: var(--main_c);
}
.top-news__item-tag--event {
  background: #fdf3e3;
  color: #7a5010;
}
.top-news__item-text {
  margin-top: 8px;
  line-height: 1.6;
  color: var(--font_c);
}

/* top-seasonal */
/* ============================================ */
.top-seasonal {
  padding: 100px 0;
  background: var(--bg_c);
  @media (width <= 896px) {
    padding: 56px 0;
  }
}
.top-seasonal__soon {
  text-align: center;
  font-family: var(--font_geist);
  font-weight: 500;
  font-size: clamp(1.375rem, 0.366rem + 1.8018vw, 1.875rem); /* 30~22(1340~896) */
  letter-spacing: .1em;
  margin-top: 64px;
  @media (width <= 896px) {
    margin-top: 40px;
  }
}
.top-seasonal__list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  @media (width <= 896px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media (width <= 600px) {
    grid-template-columns: 1fr;
  }
  > li {
    background: #fff;
    border: 1px solid #d9d1c5;
    border-radius: 16px;
    overflow: hidden;
  }
}
.top-seasonal__img {
  aspect-ratio: 430 / 287;
  overflow: hidden;
  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.top-seasonal__body {
  padding: 20px;
}
.top-seasonal__name {
  font-size: clamp(1.125rem, 0.8727rem + 0.4505vw, 1.25rem); /* 20~18(1340~896) */
  font-weight: 700;
  color: #1d1b18;
}
.top-seasonal__desc {
  margin-top: 8px;
  font-size: calc((14 / 16) * 1rem);
  line-height: 1.6;
  color: var(--font03);
}

/* top-category（取扱商品） */
/* ============================================ */
.top-category {
  padding: 100px 0;
  background: #fff;
  @media (width <= 896px) {
    padding: 56px 0;
  }
}
.top-category__list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  counter-reset: category-num;
  @media (width <= 600px) {
    grid-template-columns: 1fr;
  }
  > li {
    background: #fff4e2;
    border-radius: 16px;
    overflow: hidden;
  }
}
.top-category__img {
  aspect-ratio: 655 / 426;
  overflow: hidden;
  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.top-category__body {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  counter-increment: category-num;
  @media (width <= 896px) {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
  }
}
.top-category__body::before {
  /* 装飾用の背景ナンバリング。生成コンテンツのためDOM上のテキストノードを持たず、
     スクリーンリーダーにも読み上げられずコントラスト判定の対象にもならない */
  content: counter(category-num, decimal-leading-zero);
  flex-shrink: 0;
  font-family: var(--font_en);
  font-weight: 500;
  font-size: clamp(4rem, -0.541rem + 8.1081vw, 6.25rem); /* 100~64(1340~896) */
  line-height: 1;
  color: color-mix(in srgb, var(--main_c) 20%, transparent);
}
.top-category__info {
  flex: 1 1 0;
  min-width: 0;
  @media (width <= 896px) {
    width: 100%;
  }
}
.top-category__name {
  font-size: clamp(1.25rem, 0.4932rem + 1.3514vw, 1.625rem); /* 26~20(1340~896) */
  font-weight: 700;
  color: var(--font_c);
  .txt_small {
    font-size: calc((16 / 26) * 1em);
  }
}
.top-category__desc {
  margin-top: 12px;
  line-height: 1.625;
  color: var(--font02);
}

/* top-storeinfo */
/* ============================================ */
.top-storeinfo {
  line-height: 0;
  img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* top-event */
/* ============================================ */
.top-event {
  padding: 100px 0;
  background: #fff;
  @media (width <= 896px) {
    padding: 56px 0;
  }
}
.top-event__list {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  @media (width <= 1025px) {
    grid-template-columns: 1fr;
  }
  > li {
    background: #ede8db;
    border-radius: 16px;
    overflow: hidden;
  }
}
.top-event__img {
  aspect-ratio: 650 / 433;
  background: #f5f2ea;
  overflow: hidden;
  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.top-event__body {
  padding: 30px;
  @media (width <= 896px) {
    padding: 20px;
  }
}
.top-event__tag {
  display: inline-flex;
  padding: 2px 12px;
  border-radius: 12px;
  background: #f5f2ea;
  font-size: clamp(0.75rem, 0.4977rem + 0.4505vw, 0.875rem); /* 14~12(1340~896) */
  font-weight: 500;
  color: var(--main_c);
}
.top-event__name {
  word-break: keep-all;
  font-size: clamp(1.25rem, 0.4932rem + 1.3514vw, 1.625rem); /* 26~20(1340~896) */
  font-weight: 700;
  margin-bottom: 20px;
  @media (width <= 896px) {
    margin-bottom: 16px;
  }
}
.top-event__subttl {
  margin-top: 20px;
  font-weight: 700;
  color: var(--font02);
  @media (width <= 896px) {
    margin-top: 16px;
  }
}
.top-event__desc {
  margin-top: 10px;
  line-height: 1.6;
  color: var(--font02);
  @media (width <= 896px) {
    margin-top: 8px;
  }
}
.top-event__meta {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  > div {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }
  dt {
    flex-shrink: 0;
    margin-top: 3.5px;
    img {
      display: block;
    }
  }
  dd {
    flex-grow: 1;
    font-size: calc((14 / 16) * 1rem);
    color: var(--font02);
    a {
      color: var(--main_c);
      text-decoration: underline;
    }
  }
}
.top-event__cap {
  font-size: clamp(0.75rem, 0.4977rem + 0.4505vw, 0.875rem); /* 14~12(1340~896) */
  color: var(--font02);
  line-height: 1.6;
  margin-top: 12px;
  @media (width <= 896px) {
    margin-top: 10px;
  }
  > li {
    text-indent: -1em;
    padding-left: 1em;
  }
}

/* top-original */
/* ============================================ */
.top-original {
  padding: 100px 0;
  background: var(--bg_c);
  @media (width <= 896px) {
    padding: 56px 0;
  }
}
.top-original__sub {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(1.375rem, 0.1137rem + 2.2523vw, 2rem); /* 32~22(1340~896) */
  font-weight: 700;
  color: var(--font_c);
  text-align: center;
  @media (width <= 896px) {
    gap: 12px;
  }
  &::before,
  &::after {
    content: '';
    flex: 1 1 0;
    height: 3px;
    background: url(/assets/images/common/line-dots.svg) repeat-x;
  }
}
.top-original__sub--mt {
  margin-top: 72px;
}
.top-original__list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  @media (width <= 1025px) {
    margin-top: 24px;
    grid-template-columns: 1fr;
  }
  > li {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
  }
}
.top-original__list--single {
  justify-items: center;
  > li {
    width: 100%;
    max-width: 655px;
  }
}
.top-original__img {
  aspect-ratio: 655 / 439;
  overflow: hidden;
  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.top-original__body {
  padding: 30px;
  @media (width <= 896px) {
    padding: 20px;
  }
  > * {
    &:first-child {
      margin-top: 0;
    }
  }
}
.top-original__date {
  font-family: var(--font_geist);
  font-size: clamp(0.75rem, 0.4977rem + 0.4505vw, 0.875rem); /* 14~12(1340~896) */
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--point_c);
}
.top-original__name {
  margin-top: 8px;
  font-size: clamp(1.125rem, 0.8727rem + 0.4505vw, 1.25rem); /* 20~18(1340~896) */
  font-weight: 600;
  color: #1d1b18;
}
.top-original__desc {
  margin-top: 8px;
  line-height: 1.6;
  color: var(--font03);
}
.top-original__dot {
  margin-top: 16px;
  @media (width <= 896px) {
    margin-top: 12px;
  }
  > li {
    padding-left: .8em;
    color: var(--font03);
    line-height: 1.6;
    position: relative;
    &::before {
      content: "";
      display: inline-block;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--main_c);
      position: absolute;
      top: 0.7em;
      left: 0;
    }
  }
}
.top-original__cap {
  font-size: clamp(0.75rem, 0.4977rem + 0.4505vw, 0.875rem); /* 14~12(1340~896) */
  color: var(--font02);
  line-height: 1.6;
  margin-top: 16px;
  @media (width <= 896px) {
    margin-top: 12px;
  }
  > li {
    text-indent: -1em;
    padding-left: 1em;
  }
}
.top-original__note {
  color: var(--font02);
  inline-size: fit-content;
  margin-inline: auto;
  margin-top: 32px;
  text-indent: -1em;
  padding-left: 1em;
  @media (width <= 896px) {
    margin-top: 24px;
  }
}

/* top-brand */
/* ============================================ */
.top-brand {
  padding: 100px 0;
  background: var(--bg_c);
  @media (width <= 896px) {
    padding: 56px 0;
  }
}
.top-brand__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.top-brand__label {
  font-size: clamp(1.125rem, 0.8727rem + 0.4505vw, 1.25rem); /* 20~18(1340~896) */
  letter-spacing: .4em;
  color: var(--font02);
}
.top-brand__logo {
  margin-top: 30px;
  width: 100%;
  max-width: 712px;
  img {
    display: block;
    width: 100%;
    height: auto;
  }
}
.top-brand__ttl {
  word-break: keep-all;
  margin-top: 30px;
  font-size: clamp(1.375rem, 0.1137rem + 2.2523vw, 2rem); /* 32~22(1340~896) */
  font-weight: 700;
  color: var(--font_c);
}
.top-brand__catch {
  word-break: keep-all;
  margin-top: 24px;
  font-size: clamp(1rem, 0.7477rem + 0.4505vw, 1.125rem); /* 18~16(1340~896) */
  letter-spacing: .08em;
  color: var(--font02);
}
.top-brand__lead {
  margin-top: 24px;
  max-width: 900px;
  line-height: 2;
  text-align: justify;
  color: var(--font02);
}
.top-brand__box {
  margin-top: 48px;
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 32px 120px;
  background: var(--main_c);
  border-radius: 16px;
  text-align: left;
  @media (width <= 896px) {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
    text-align: center;
  }
}
.top-brand__box-mark {
  flex-shrink: 0;
  width: 300px;
  @media (width <= 896px) {
    width: 120px;
  }
  img {
    display: block;
    width: 100%;
    height: auto;
  }
}
.top-brand__box-body {
  color: #fff;
}
.top-brand__box-ttl {
  padding-bottom: 14px;
  border-bottom: 1px dashed #fff;
  font-size: clamp(1rem, 0.7477rem + 0.4505vw, 1.125rem); /* 18~16(1340~896) */
  font-weight: 700;
}
.top-brand__box-desc {
  margin-top: 12px;
  line-height: 2;
  text-align: justify;
  opacity: .9;
}

/* top-about（エコ農産物とは） */
/* ============================================ */
.top-about {
  padding: 100px 0;
  background: var(--bg_c);
  @media (width <= 896px) {
    padding: 56px 0;
  }
}
.top-about__wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  @media (width <= 1025px) {
    flex-direction: column-reverse;
    gap: 40px;
  }
}
.top-about__col {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
}
.top-about__head {
  align-items: flex-start;
}
.top-about__label,
.top-about__ttl {
  text-align: left;
}
.top-about__leaf {
  margin-left: 0;
}
.top-about__sub {
  margin-top: 30px;
  font-size: clamp(1.375rem, 0.1137rem + 2.2523vw, 2rem); /* 32~22(1340~896) */
  font-weight: 700;
  color: var(--font_c);
}
.top-about__lead {
  margin-top: 16px;
  line-height: 2;
  text-align: justify;
  color: var(--font02);
}
.top-about__note {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px dashed var(--font02);
}
.top-about__note-ttl {
    font-size: clamp(1rem, 0.7477rem + 0.4505vw, 1.125rem); /* 18~16(1340~896) */
  font-weight: 700;
  color: var(--font02);
}
.top-about__note-desc {
  margin-top: 8px;
  line-height: 2;
  text-align: justify;
  color: var(--font02);
}
.top-about__img {
  flex-shrink: 0;
  width: min(100%, 449px);
  img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* top-movie */
/* ============================================ */
.top-movie {
  padding: 100px 0;
  background: #fff;
  @media (width <= 896px) {
    padding: 56px 0;
  }
}
.top-movie__lead {
  margin-top: 16px;
  color: var(--font02);
  text-align: center;
}
.top-movie__list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  @media (width <= 896px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media (width <= 480px) {
    grid-template-columns: 1fr;
  }
}
.top-movie__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
  }
  &:focus-visible {
    outline: 2px solid var(--main_c);
    outline-offset: -2px;
  }
}
.top-movie__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FF0019;
  transition: background-color 0.2s ease;
  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
  }
}

/* top-access */
/* ============================================ */
.top-access {
  padding: 100px 0;
  background: var(--bg_c);
  @media (width <= 896px) {
    padding: 56px 0;
  }
}
.top-access__body {
  margin-top: 48px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  @media (width <= 1025px) {
    flex-direction: column;
  }
}
.top-access__map {
  position: relative;
  flex: 1 1 0;
  @media (width <= 1025px) {
    width: 100%;
  }
  iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 838 / 493;
    border-radius: 8px;
  }
}
.top-access__list {
  flex-shrink: 0;
  width: 460px;
  @media (width <= 1025px) {
    width: 100%;
  }
  > div {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--main_c) 15%, transparent);
    @media (width <= 896px) {
      flex-direction: column;
      gap: 6px;
    }
    &:first-child {
      border-top: 1px solid color-mix(in srgb, var(--main_c) 15%, transparent);
    }
  }
  dt {
    flex-shrink: 0;
    width: 80px;
    font-weight: 700;
    color: var(--main_c);
  }
  dd {
    line-height: 1.6;
    color: var(--font_c);
  }
}

/* top-links */
/* ============================================ */
.top-links {
  padding: 48px 0 64px;
  background: #fff;
  border-top: 1px solid #d9d1c5;
  border-bottom: 1px solid #d9d1c5;
}
.top-links__list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  @media (width <= 896px) {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  @media (width <= 480px) {
    grid-template-columns: repeat(2, 1fr);
  }
  > li {
    img {
      width: 100%;
      max-width: none;
    }
  }
}
