/* =========================================================
   MOTTO OIMO GUIDE
========================================================= */

.guide-page {
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

.guide-page * {
  box-sizing: border-box;
}

.guide-page .wrap {
  width: min(94%, 1180px);
  margin-inline: auto;
}


/* =========================================================
   HERO
========================================================= */

.guide-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-hero__copy {
  max-width: 620px;
}


/* =========================================================
   COMMON HEADING
========================================================= */

.guide-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.guide-heading h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.5;
}

.guide-heading p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}


/* =========================================================
   TASTE MAP SECTION
========================================================= */
.taste-map__hint {
  margin: -12px 0 22px;

  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.taste-section {
  padding: 74px 0 82px;
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fffaf7 100%
    );
}

/* MAP OUTER */

.taste-map {
  position: relative;
  padding:
    42px
    54px
    45px
    54px;
}


/* AXIS LABELS */

.taste-map__top,
.taste-map__bottom,
.taste-map__left,
.taste-map__right {
  position: absolute;
  z-index: 4;

  color: var(--wine);
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
}

.taste-map__top {
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
}

.taste-map__bottom {
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
}

.taste-map__left {
  top: 50%;
  left: 0;
  transform:
    translateY(-50%)
    rotate(-90deg);
}

.taste-map__right {
  top: 50%;
  right: 0;
  transform:
    translateY(-50%)
    rotate(90deg);
}


/* PLOT */

.taste-map__plot {
  position: relative;

  width: 100%;
  height: 560px;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(244, 236, 229, .82) 0%,
      rgba(255, 250, 247, .96) 43%,
      rgba(248, 231, 237, .86) 100%
    );

  border: 0;
  border-radius: 0;

  box-shadow: none;
}

/* CROSS AXIS */
.taste-map__axis {
  position: absolute;
  z-index: 1;

  opacity: .38;
}

.taste-map__axis--x {
  top: 50%;
  right: 4%;
  left: 4%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(155, 63, 92, .25),
      transparent
    );
}

.taste-map__axis--y {
  top: 4%;
  bottom: 4%;
  left: 50%;
  width: 1px;

  background:
    linear-gradient(
      180deg,
      transparent,
      rgba(155, 63, 92, .25),
      transparent
    );
}


/* ZONE LABEL */
.taste-map__zone {
  position: absolute;
  z-index: 0;

  padding: 0;

  color: rgba(81, 54, 49, .075);

  font-family: "Noto Serif JP", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .04em;

  background: none;
  border-radius: 0;

  pointer-events: none;
}
.taste-map__zone--tl {
  top: 24px;
  left: 26px;
}

.taste-map__zone--tr {
  top: 24px;
  right: 26px;
}

.taste-map__zone--bl {
  bottom: 24px;
  left: 26px;
}

.taste-map__zone--br {
  right: 26px;
  bottom: 24px;
}

/* =========================================================
   VARIETY POINT
========================================================= */
.variety-point {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  color: var(--ink);
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .025em;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition:
    transform .18s ease,
    color .18s ease,
    opacity .18s ease,
    box-shadow .18s ease;
}

.variety-point:hover,
.variety-point:focus-visible {
  z-index: 10;
  transform:
    translate(-50%, -50%)
    translateY(-3px);
  filter: brightness(.96);
}

/* べにはるか */
.variety-point--hero {
  color: #7f304a;
  background:
    rgba(255, 255, 255, .58);
  border:
    1px solid
    rgba(155, 63, 92, .16);
  border-radius:
    999px 999px 999px 10px;
  box-shadow:
    0 6px 20px
    rgba(155, 63, 92, .08);
}

/* シルクスイート */
.variety-point--silk {
  color: #604840;
  background: transparent;
  border-bottom:
    1px solid
    rgba(155, 63, 92, .30);
  border-radius: 0;
}

/* 安納芋 */
.variety-point--anno {
  color: #7a5433;
  background:
    rgba(232, 185, 96, .16);
  border:
    1px solid
    rgba(190, 139, 61, .20);
  border-radius:
    52% 48% 55% 45% / 48% 57% 43% 52%;
  box-shadow:
    0 6px 18px
    rgba(174, 125, 56, .07);
}

/* ふくむらさき */
.variety-point--purple {
  color: #6f4566;
  background:
    rgba(139, 91, 141, .11);
  border:
    1px solid
    rgba(139, 91, 141, .10);
  border-radius:
    55% 45% 58% 42% / 48% 58% 42% 52%;
}

/* 鳴門金時 */
.variety-point--naruto {
  color: #8a5139;
  background:
    rgba(221, 130, 82, .11);
  border: 0;
  border-top:
    1px solid rgba(206, 111, 66, .38);
  border-bottom:
    1px solid rgba(206, 111, 66, .38);
  border-radius: 0;
  box-shadow: none;
}
.variety-point--naruto
.variety-point__dot {
  opacity: .60;
  transform: rotate(-7deg);
}

/* ひめあやか */
.variety-point--hime {
  position: absolute;
  color: #814f59;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.variety-point--hime::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 70%;
  background:
    rgba(205, 140, 151, .12);
  border-radius:
    48% 52% 45% 55% / 58% 43% 57% 42%;
  transform:
    translate(-50%, -50%)
    rotate(-3deg);
}
.variety-point--hime
.variety-point__dot {
  opacity: .60;
  transform: rotate(13deg);
}

/* 栗かぐや */
.variety-point--kaguya {
  color: #76523b;
  background:
    linear-gradient(
      transparent 58%,
      rgba(190, 137, 75, .16) 58%
    );
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 5px 10px 7px;
}
.variety-point--kaguya::after {
  content: "";
  position: absolute;
  left: 4px;
  right: -5px;
  bottom: 2px;
  height: 1px;
  background:
    rgba(151, 101, 62, .34);
  transform: rotate(-2deg);
}
.variety-point--kaguya
.variety-point__dot {
  opacity: .62;
  transform: rotate(-9deg);
}

/* すずほっくり */
.variety-point--hokkuri {
  color: #745449;
  background: transparent;
  border: 0;
  border-bottom:
    1px solid rgba(134, 82, 68, .40);
  border-radius: 0;
  box-shadow: none;
}
.variety-point--hokkuri
.variety-point__dot {
  opacity: .58;
  transform: rotate(6deg);
}

/* 五郎島金時 */
.variety-point--goro {
  color: #654636;

  background:
    rgba(129, 88, 57, .10);

  border:
    1px solid rgba(129, 88, 57, .28);

  border-radius: 999px;

  box-shadow:
    0 5px 16px rgba(90, 59, 40, .05);

  padding: 7px 13px;
}

/* ベニアズマ*/
.variety-point--azuma {
  color: #7f4754;
  background:
    rgba(172, 88, 111, .10);
  border:
    1px solid rgba(172, 88, 111, .20);
  border-radius:
    999px 999px 10px 999px;
  box-shadow:
    0 5px 15px rgba(120, 65, 80, .04);
}
.variety-point--azuma
.variety-point__dot {
  opacity: .58;
}

/* =========================================================
   COMMON LOGO
========================================================= */

.variety-point__dot {
  flex: 0 0 auto;

  width: 15px;
  height: 15px;

  background-image: url("../assets/logo-mark.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: .70;
}


/* 品種ごとのロゴ微調整 */

.variety-point--hero .variety-point__dot {
  opacity: .72;
}

.variety-point--silk .variety-point__dot {
  opacity: .62;
}

.variety-point--anno .variety-point__dot {
  opacity: .72;
  transform: rotate(8deg);
}

.variety-point--purple .variety-point__dot {
  opacity: .85;
  transform: rotate(-12deg);
}

.variety-point--naruto .variety-point__dot {
  opacity: .60;
  transform: rotate(-7deg);
}

.variety-point--hime .variety-point__dot {
  opacity: .60;
  transform: rotate(13deg);
}

.variety-point--kaguya .variety-point__dot {
  opacity: .62;
  transform: rotate(-9deg);
}

.variety-point--azuma .variety-point__dot {
  opacity: .58;
}

.variety-point--goro .variety-point__dot {
  opacity: .52;
}

.variety-point--hokkuri .variety-point__dot {
  opacity: .58;
  transform: rotate(6deg);
}

/* MAP NOTE */
.taste-map__note {
  max-width: 760px;
  margin: 17px auto 0;

  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
  text-align: center;
}

/* =========================================================
   VARIETY SECTION
========================================================= */

.variety-section {
  padding: 78px 0 96px;
  background: var(--beige);
}

.variety-grid {
  display: grid;

  grid-template-columns:
    repeat(6, minmax(0, 1fr));

  gap: 20px 18px;

  align-items: start;
}

.variety-card {
  grid-column: span 2;
}


/* CARD */
.variety-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 26px 24px;
  background: rgba(255, 255, 255, .88);
  border:
    1px solid rgba(234, 223, 216, .88);
  border-radius: 0;
  box-shadow:
    0 12px 32px rgba(81, 54, 49, .04);
  overflow: hidden;
  transition:
    border-color .22s ease,
    box-shadow .22s ease;
  height: 420px;
  box-sizing: border-box;
}

/*
.variety-card::before {
  content: "";

  position: absolute;
  z-index: 0;

  inset: 0;

  width: 100%;
  height: 100%;

  background-image: var(--variety-image);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: cover;

  opacity: .32;

  pointer-events: none;
}

.variety-card::after {
  content: "";

  position: absolute;
  z-index: 0;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, .99) 18%,
      rgba(255, 255, 255, .96) 32%,
      rgba(255, 255, 255, .86) 45%,
      rgba(255, 255, 255, .62) 58%,
      rgba(255, 255, 255, .30) 72%,
      rgba(255, 255, 255, .08) 88%,
      rgba(255, 255, 255, 0) 100%
    );

  pointer-events: none;
}
*/

.variety-card > *:not(.variety-card__roman) {
  position: relative;
  z-index: 1;
}
.variety-card.is-highlighted {
  border-color:
    rgba(155, 63, 92, .55);

  box-shadow:
    0 16px 38px rgba(155, 63, 92, .11);
}

/* =========================================================
   VARIETY CARD DESIGNS
========================================================= */


/* べにはるか */
.variety-card--hero {
  background:
    linear-gradient(
      145deg,
      #fff7f8 0%,
      #f8e3e8 40%,
      #f4d7df 60%,
      #efc8d3 100%
    );
  border-radius:
    28px 28px 28px 6px;
  border-color:
    rgba(155, 63, 92, .18);
}

/* シルクスイート */
.variety-card--silk {
  background:
    linear-gradient(
      180deg,
      #fffdf9 0%,
      #f8eee8 40%,
      #f1e2d9 60%,
      #e9d2c6 100%
    );

  border-radius: 4px;
  border-left: 0;
  border-right: 0;
  border-top:
    1px solid rgba(155, 63, 92, .15);
  border-bottom:
    1px solid rgba(155, 63, 92, .28);
  box-shadow: none;
}

/* 安納芋 */
.variety-card--anno {
  background:
    linear-gradient(
      80deg,
      #fffaf0 0%,
      #f9ebc9 40%,
      #f4dcaa 60%,
      #edca82 100%
    );
  border-color:
    rgba(190, 139, 61, .18);
  border-radius:
    30px 12px 28px 16px;
}

/* ふくむらさき */
.variety-card--purple {
  background:
    linear-gradient(
      125deg,
      #fcf8fc 0%,
      #f0e3ef 40%,
      #e4cfe3 60%,
      #d5b5d3 100%
    );
  border-color:
    rgba(139, 91, 141, .16);
  border-radius:
    15px 32px 12px 28px;
}

/* 鳴門金時 */
.variety-card--naruto {
  background:
    linear-gradient(
      205deg,
      #fff9f4 0%,
      #f9e7dc 40%,
      #f2d2be 60%,
      #e9b99c 100%
    );
  border: 0;
  border-top:
    2px solid rgba(206, 111, 66, .30);
  border-bottom:
    2px solid rgba(206, 111, 66, .22);
  border-radius: 0;
  box-shadow: none;
}

/* ひめあやか */
.variety-card--hime {
  background:
    linear-gradient(
      135deg,
      #fff9f8 0%,
      #f9e5e3 40%,
      #f2d1cf 60%,
      #eab8b8 100%
    );
  border-radius:
    28px 10px 28px 10px;
}

/* 栗かぐや */
.variety-card--kaguya {
  background:
    linear-gradient(
      165deg,
      #fffaf1 0%,
      #f7ebcf 40%,
      #ecd7aa 60%,
      #dfbd7e 100%
    );
  border: 0;
  border-radius: 6px;
  box-shadow: none;
}

/* ベニアズマ */
.variety-card--azuma {
  background:
    linear-gradient(
      215deg,
      #fff7f7 0%,
      #f6e0e2 40%,
      #edcbd0 60%,
      #dfafb8 100%
    );
  border-color:
    rgba(172, 88, 111, .16);
  border-radius:
    26px 26px 8px 26px;
}

/* 五郎島金時 */
.variety-card--goro {
  background:
    linear-gradient(
      60deg,
      #fcf9f5 0%,
      #efe4d9 40%,
      #e1cdbb 60%,
      #ceb093 100%
    );
  border:
    1px solid rgba(129, 88, 57, .24);
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 4px rgba(129, 88, 57, .025);
}

/* すずほっくり */
.variety-card--hokkuri {
  background:
    linear-gradient(
      150deg,
      #fffbf4 0%,
      #f7edd9 40%,
      #eddab7 60%,
      #dfc48f 100%
    );
  border: 0;
  border-left:
    1px solid rgba(134, 82, 68, .22);
  border-bottom:
    1px solid rgba(134, 82, 68, .28);
  border-radius: 0;
  box-shadow: none;
}



.variety-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.variety-card__category {
  display: inline-block;
  padding: 0 0 4px;
  color: var(--wine);
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-bottom:
    1px solid rgba(155, 63, 92, .28);
  border-radius: 0;
  letter-spacing: .06em;
}

.variety-card--anno .variety-card__category {
  color: #7a5433;
  background: rgba(232, 185, 96, .15);
}

.variety-card--purple .variety-card__category {
  color: #6f4566;
  background: rgba(139, 91, 141, .12);
}

.variety-card--naruto .variety-card__category {
  color: #8a5139;
  background: rgba(221, 130, 82, .11);
}

.variety-card--goro .variety-card__category {
  color: #654636;
  background: rgba(129, 88, 57, .10);
}

.variety-card--azuma .variety-card__category {
  color: #7f4754;
  background: rgba(172, 88, 111, .10);
}

.variety-card--kaguya .variety-card__category,
.variety-card--hokkuri .variety-card__category {
  color: #745449;
  background: rgba(205, 164, 93, .10);
}

.variety-card h3 {
  margin: 12px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.45;
  min-height: 40px;
}

.variety-card__description {
  height: 110px;
  overflow: hidden;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}


/* BRANDS */
.variety-card__brands {
  margin-top: 20px;
  padding-top: 17px;

  border-top: 1px solid var(--line);
}
.variety-card__brands-label {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
}
.brand-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.brand-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  color: #785f57;
  font-size: 13px;
  text-decoration: none;
  background: #fffaf7;
  border: 1px solid var(--line);
  border-radius: 999px;
}

a.brand-chip:hover {
  color: var(--wine);
  border-color:
    rgba(155, 63, 92, .35);
}

/* BUTTONS */
.variety-card__actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}

.variety-card__shop,
.variety-card__detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
}

.variety-card__shop {
  flex: 0 0 auto;
  margin-top: auto;
  align-self: flex-start;
  min-height: auto;
  padding:  7px 0 5px;
  color: var(--wine);
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(155, 63, 92, .40);
  border-radius: 0;
  box-shadow: none;
  letter-spacing: .03em;
}

.variety-card__detail {
  color: var(--wine);
  background: #fff;
  border:
    1px solid
    rgba(155, 63, 92, .28);
}

.variety-card__detail[aria-disabled="true"] {
  color: #ab9b95;
  background: #faf8f6;
  border-color: var(--line);
  pointer-events: none;
}

.variety-card__roman {
  position: absolute !important;
  z-index: 0 !important;
  top: 12px;
  right: 4px;
  color: rgba(127, 48, 74, .32);
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .06em;
  writing-mode: vertical-rl;
  text-orientation: sideways;
  white-space: nowrap;
  pointer-events: none;
}
.variety-card--goro .variety-card__roman {
  font-size: 38px;
  letter-spacing: .02em;
}
/* =========================================================
   TABLET
========================================================= */
@media (max-width: 900px) {
  .taste-map__plot {
    height: 470px;
  }
  .variety-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 700px) {
  .guide-page .wrap {
    width: calc(100% - 20px);
  }
  .taste-section {
    padding: 48px 0 58px;
  }
  .guide-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 22px;
  }
  .guide-heading h2 {
    font-size: 24px;
  }

  /* MAP */
  .taste-map {
    position: relative;
    width: 100%;
    padding:
      38px
      0
      40px;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .taste-map::-webkit-scrollbar {
    display: none;
  }
  .taste-map__plot {
    width: 620px;
    height: 430px;
    margin: 0 28px;
    border-radius: 18px;
  }
  .taste-map__top,
  .taste-map__bottom,
  .taste-map__left,
  .taste-map__right {
    font-size: 10px;
  }
  .taste-map__left,
  .taste-map__right {
    display: none;
  }
  .taste-map__zone {
    display: none;
  }

  /* POINT */
  .variety-point {
    font-size: 12px;
  }
  .variety-point__dot {
    width: 14px;
    height: 14px;
  }

  /* CARDS */
  .variety-section {
    padding: 54px 0 72px;
  }
  .variety-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
  }
  .variety-card {
    grid-column: span 1;
    height: auto;
    min-height: 330px;
    min-height: 0;
    padding: 14px 12px 14px;
    border-radius: 18px;
  }
  .variety-card__category {
    font-size: 9px;
  }
  .variety-card h3 {
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.4;
    min-height: 48px;
  }
  .variety-card__description {
    height: 90px;
    min-height: 100px;
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }
  .variety-card__brands {
    margin-top: 12px;
    padding-top: 11px;
  }
  .variety-card__brands-label {
    margin-bottom: 7px;
    font-size: 9px;
  }
  .brand-list {
    gap: 5px;
  }
  .brand-chip {
    min-height: 24px;
    padding: 4px 7px;
    font-size: 9px;
  }
  .variety-card__actions {
    margin-top: auto;
  }
  .variety-card__shop {
    font-size: 10px;
  }
  .variety-card__roman {
    top: 8px;
    right: 1px;
    font-size: 30px;
    letter-spacing: .02em;
  }
  .variety-card--goro .variety-card__roman {
    font-size: 30px;
    letter-spacing: .02em;
  }
}