/*
 * MIGNO TOKYO 15.0
 * Final hero composition using the user-supplied smartphone artwork.
 * No newly generated visual asset is introduced in this version.
 */

:root {
  --migno-font-body: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --migno-font-heading: "Zen Kaku Gothic New", "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

body,
button,
input,
select,
textarea {
  font-family: var(--migno-font-body);
}

h1,
h2,
h3,
h4,
.section-heading h2,
.panel-heading h2,
.archive-hero h1,
.cp-page-hero h1,
.cp-entry-header .cp-single-title {
  font-family: var(--migno-font-heading);
  font-feature-settings: "palt" 1;
}

/* --------------------------------------------------------------------------
 * First view
 * ----------------------------------------------------------------------- */
.trend-hero-v15,
.trend-hero-v15 .trend-hero-grid {
  min-height: 820px;
}

.trend-hero-v15 .trend-hero-grid {
  grid-template-columns: minmax(560px, 1.08fr) minmax(360px, .92fr);
  gap: clamp(30px, 4vw, 72px);
  padding-top: 104px;
  padding-bottom: 34px;
}

.trend-hero-v15 .trend-hero-copy {
  max-width: 700px;
  align-self: center;
}

.trend-hero-v15 .trend-hero-copy h1 {
  max-width: 700px;
  font-size: clamp(49px, 4.15vw, 65px);
  line-height: 1.28;
  letter-spacing: -.055em;
  font-weight: 800;
}

.trend-hero-v15 .hero-title-line {
  display: block;
  white-space: nowrap;
}

.trend-hero-v15 .hero-copy-text {
  max-width: 630px;
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0;
  font-weight: 500;
}

.trend-hero-v15 .hero-copy-text span {
  display: inline;
}

.trend-hero-v15 .hero-copy-text span + span::before {
  content: " ";
}

/* The supplied phone artwork is shown as one unmodified visual unit. */
.trend-hero-v15 .trend-hero-visual-v10 {
  position: relative;
  display: flex;
  align-self: stretch;
  align-items: flex-end;
  justify-content: center;
  min-height: 680px;
  padding-top: 92px;
  isolation: isolate;
}

.trend-hero-v15 .hero-phone-art-link {
  position: relative;
  inset: auto;
  width: auto;
  max-width: 100%;
  height: clamp(600px, 44vw, 710px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: none;
  filter: drop-shadow(0 30px 38px rgba(52, 38, 68, .18));
  transition: transform .25s ease, filter .25s ease;
}

.trend-hero-v15 .hero-phone-art-link:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 38px 46px rgba(52, 38, 68, .22));
}

.trend-hero-v15 .hero-phone-art-link picture,
.trend-hero-v15 .hero-phone-art {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  opacity: 1;
  mix-blend-mode: normal;
  background: transparent;
}

.trend-hero-v15 .hero-v6-sparkles-a {
  right: 4%;
  top: 12%;
  width: 250px;
  opacity: .10;
}

.trend-hero-v15 .hero-v6-sparkles-b {
  display: none;
}

/* Sharpen the overall editorial typography. */
.section-heading h2,
.panel-heading h2 {
  letter-spacing: -.035em;
  font-weight: 700;
}

.desktop-nav a,
.header-expanded-search,
.hero-search,
.hero-trends button,
.segmented-tabs button,
.product-amazon-button,
.outline-link {
  font-family: var(--migno-font-body);
}

@media (max-width: 1280px) and (min-width: 1101px) {
  .trend-hero-v15 .trend-hero-grid {
    grid-template-columns: minmax(520px, 1.08fr) minmax(330px, .92fr);
    gap: 28px;
  }

  .trend-hero-v15 .trend-hero-copy h1 {
    font-size: clamp(46px, 4.35vw, 57px);
  }

  .trend-hero-v15 .hero-phone-art-link {
    height: clamp(570px, 48vw, 655px);
  }
}

/* Keep the phone artwork desktop-only. */
@media (max-width: 1100px) {
  .trend-hero-v15,
  .trend-hero-v15 .trend-hero-grid {
    min-height: 610px;
  }

  .trend-hero-v15 .trend-hero-grid {
    grid-template-columns: 1fr;
    align-content: center;
    padding-top: 118px;
    padding-bottom: 54px;
  }

  .trend-hero-v15 .trend-hero-copy {
    max-width: 760px;
  }

  .trend-hero-v15 .trend-hero-visual-v10 {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .trend-hero-v15,
  .trend-hero-v15 .trend-hero-grid {
    min-height: 548px;
  }

  .trend-hero-v15 .trend-hero-grid {
    width: min(calc(100% - 30px), 1260px);
    align-content: start;
    padding-top: 102px;
    padding-bottom: 38px;
  }

  .trend-hero-v15 .trend-hero-copy h1 {
    max-width: none;
    font-size: clamp(27px, 8.55vw, 34px);
    line-height: 1.42;
    letter-spacing: -.055em;
    font-weight: 800;
  }

  .trend-hero-v15 .hero-title-line {
    white-space: nowrap;
  }

  .trend-hero-v15 .hero-copy-text {
    max-width: 350px;
    margin-top: 18px;
    font-size: 12.5px;
    line-height: 1.9;
  }

  .trend-hero-v15 .hero-copy-text span {
    display: block;
  }

  .trend-hero-v15 .hero-copy-text span + span::before {
    content: none;
  }

  .trend-hero-v15 .hero-search {
    height: 56px;
    margin-top: 22px;
  }

  .trend-hero-v15 .hero-trends {
    margin-top: 14px;
  }

  .trend-hero-v15 .hero-trends button:nth-child(n+4) {
    display: none;
  }

  .trend-hero-v15 .hero-ranking-cta {
    margin-top: 18px;
  }
}

@media (max-width: 350px) {
  .trend-hero-v15 .trend-hero-copy h1 {
    font-size: 27px;
  }

  .trend-hero-v15 .hero-copy-text {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trend-hero-v15 .hero-phone-art-link {
    transition: none;
  }
}
