@charset "utf-8";

.wanser-top {
  --wt-color-primary: #4b7b70;
  --wt-color-primary-deep: #345c53;
  --wt-color-primary-pale: #e7efec;
  --wt-color-primary-hover: color-mix(in srgb, #4b7b70 88%, #000000);
  --wt-color-surface: #f7f7f5;
  --wt-color-bg: #ffffff;
  --wt-color-accent: #333333;
  --wt-color-text: #333333;
  --wt-color-line: color-mix(in srgb, #333333 14%, transparent);
  --wt-font-heading: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --wt-font-body: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --wt-font-decorative: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --wt-font-size-h1: clamp(2.35rem, 5vw, 4.6rem);
  --wt-font-size-h2: clamp(1.8rem, 3.2vw, 2.75rem);
  --wt-font-size-body: 15px;
  --wt-content-max: 1160px;
  --wt-page-padding: 64px;
  --wt-section-space: 96px;
  --wt-radius: 8px;
  --wt-header-height: 80px;
  width: 100%;
  overflow: hidden;
  color: var(--wt-color-text);
  background: var(--wt-color-bg);
  font: var(--wt-font-size-body)/1.9 var(--wt-font-body);
  letter-spacing: 0.04em;
}

.wanser-top,
.wanser-top * {
  box-sizing: border-box;
}

.wanser-top img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wanser-top figure,
.wanser-top p {
  margin-top: 0;
}

.wanser-top button,
.wanser-top a {
  font: inherit;
}

.wanser-top a {
  color: inherit;
}

.wanser-top button {
  color: inherit;
}

.wanser-top :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--wt-color-primary) 55%, white);
  outline-offset: 3px;
}

.wt-container {
  width: min(calc(100% - var(--wt-page-padding) * 2), var(--wt-content-max));
  margin-inline: auto;
}

.wt-section {
  padding-block: var(--wt-section-space);
}

.wt-section--surface {
  background: var(--wt-color-surface);
}

.wt-section--tint {
  background: linear-gradient(135deg, #eef3f1, #e7efec);
}

.wt-section + .wt-section {
  border-top: 1px solid var(--wt-color-line);
}

.wt-section-kicker,
.wt-eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--wt-color-primary);
  font: 600 0.72rem/1.2 var(--wt-font-decorative);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wt-section-heading {
  margin: 0;
  font-family: var(--wt-font-heading);
  font-size: var(--wt-font-size-h2);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.wt-section-heading::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin-top: 18px;
  background: var(--wt-color-primary);
}

.wt-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.wt-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.wt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  min-height: 48px;
  padding: 0.85em 1.45em;
  border: 1px solid transparent;
  border-radius: var(--wt-radius);
  background: var(--wt-color-accent);
  color: #ffffff !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 240ms ease-out, color 240ms ease-out, transform 240ms ease-out;
}

.wt-button:hover {
  background: #111111;
  transform: translateY(-1px);
}

.wt-button--secondary {
  background: var(--wt-color-primary);
}

.wt-button--secondary:hover {
  background: var(--wt-color-primary-hover);
}

.wt-button--outline {
  border-color: currentColor;
  background: transparent;
  color: var(--wt-color-text) !important;
}

.wt-button--outline:hover {
  background: var(--wt-color-text);
  color: #ffffff !important;
}

.wt-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.wt-text-link::after {
  content: "→";
  font-family: var(--wt-font-decorative);
}

.wt-hero {
  position: relative;
  aspect-ratio: 20 / 11;
  min-height: 0;
  overflow: hidden;
  background: #ffffff;
  color: #ffffff;
}

.wt-slides,
.wt-slide {
  position: absolute;
  inset: 0;
}

.wt-hero__managed-slideshow {
  position: absolute;
  inset: 0;
}

.wt-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.wt-slide__image-link {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.wt-slide__image-link--mobile {
  display: none;
}

.wt-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.wt-slide.is-current {
  opacity: 1;
  visibility: visible;
}

.wt-slide img {
  object-fit: contain;
  filter: none;
  transform: none;
  transition: none;
}

.wt-slide:first-child img {
  object-position: center 48%;
}

.wt-slide.is-current img {
  transform: none;
}

.wt-hero::after {
  content: none;
}

.wt-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 0;
  pointer-events: none;
}

.wt-hero__content a,
.wt-hero__content button {
  pointer-events: auto;
}

.wt-hero__copy {
  max-width: 740px;
  padding-block: 70px;
}

.wt-hero__copy .wt-eyebrow {
  margin-bottom: 20px;
  color: #dbe8e4;
}

.wt-copy-break--narrow {
  display: none;
}

.wt-copy-break--sp {
  display: none;
}

.wt-hero h1 {
  margin: 0;
  color: #ffffff;
  font-family: var(--wt-font-heading);
  font-size: var(--wt-font-size-h1);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.07em;
  text-wrap: balance;
}

.wt-hero__lead {
  max-width: 620px;
  margin-top: 24px !important;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
}

.wt-hero__controls {
  position: absolute;
  z-index: 3;
  right: max(var(--wt-page-padding), calc((100vw - var(--wt-content-max)) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wt-hero__arrow {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: transparent;
  color: #ffffff !important;
  cursor: pointer;
}

.wt-hero__dots {
  display: flex;
  gap: 8px;
}

.wt-hero__dot {
  width: 30px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.wt-hero__dot.is-current {
  background: #ffffff;
}

.wt-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.wt-story-image {
  min-height: 500px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--wt-radius);
}

.wt-story-copy h3 {
  margin: 0 0 26px;
  font-family: var(--wt-font-heading);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 600;
  line-height: 1.65;
  line-break: strict;
  text-wrap: balance;
}

.wt-story-copy p {
  color: #555555;
  line-break: strict;
  text-wrap: pretty;
}

@media (min-width: 961px) {
  .wt-story-grid:not(.wt-story-grid--reverse) .wt-story-copy {
    transform: translateY(-40px);
  }
}

.wt-heading-line,
.wt-sentence-line,
.wt-product-copy-line {
  display: block;
}

.wt-heading-line {
  white-space: nowrap;
}

.wt-wrap-unit {
  white-space: nowrap;
}

.wt-product-description {
  line-break: strict;
  text-wrap: pretty;
}

.wt-story-grid--reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  margin-top: 80px;
}

.wt-story-grid--reverse .wt-story-image {
  order: 2;
  min-height: 430px;
}

.wt-story-grid--reverse .wt-story-copy {
  order: 1;
}

.wt-manifesto {
  margin-top: 72px;
  padding: 50px clamp(26px, 5vw, 64px);
  border: 1px solid var(--wt-color-line);
  background: #ffffff;
}

.wt-manifesto strong {
  display: block;
  margin-bottom: 14px;
  color: var(--wt-color-primary-deep);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.wt-manifesto p {
  margin: 0;
}

.wt-product-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--wt-color-line);
  background: #ffffff;
}

.wt-story-copy,
.wt-product-info {
  min-width: 0;
}

.wt-product-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--wt-radius);
  background: linear-gradient(145deg, #e7efec, #f7f7f5);
}

.wt-product-stage::after {
  content: "";
  position: absolute;
  right: 20%;
  bottom: 12%;
  left: 20%;
  height: 8%;
  border-radius: 50%;
  background: rgba(39, 62, 56, 0.17);
  filter: blur(16px);
}

.wt-product-feature-photo {
  height: 430px;
  overflow: hidden;
  border-radius: var(--wt-radius);
  background: var(--wt-color-primary-pale);
}

.wt-product-feature-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wt-product-pack {
  position: relative;
  z-index: 1;
  width: 270px;
  height: 330px;
}

.wt-product-box {
  position: absolute;
  right: 5px;
  bottom: 20px;
  width: 145px;
  height: 285px;
  border: 1px solid #d6d9d7;
  background: #ffffff;
  transform: rotate(2deg);
}

.wt-product-box::before {
  content: "WANSER";
  position: absolute;
  top: 34px;
  right: 0;
  left: 0;
  color: var(--wt-color-primary-deep);
  font: 600 0.88rem/1 var(--wt-font-decorative);
  letter-spacing: 0.15em;
  text-align: center;
}

.wt-product-box::after {
  content: "ハグキスマイル\A DENTAL CARE GEL";
  position: absolute;
  top: 105px;
  right: 20px;
  left: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--wt-color-primary);
  color: var(--wt-color-primary-deep);
  font: 600 0.78rem/2 var(--wt-font-heading);
  text-align: center;
  white-space: pre;
}

.wt-product-tube {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 20px;
  width: 108px;
  height: 270px;
  border: 1px solid #d7dcda;
  border-radius: 18px 18px 10px 10px;
  background: linear-gradient(90deg, #f5f5f2, #ffffff 48%, #ecefea);
  transform: rotate(-6deg);
}

.wt-product-tube::before {
  content: "WANSER\A\Aハグキスマイル\A\A DENTAL CARE GEL";
  position: absolute;
  inset: 42px 10px auto;
  color: var(--wt-color-primary-deep);
  font: 600 0.68rem/1.7 var(--wt-font-heading);
  letter-spacing: 0.05em;
  text-align: center;
  white-space: pre;
}

.wt-product-tube::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -20px;
  left: 12px;
  height: 28px;
  border-radius: 4px 4px 8px 8px;
  background: var(--wt-color-primary-deep);
}

.wt-product-info h3 {
  margin: 0;
  font-family: var(--wt-font-heading);
  font-size: 2rem;
  font-weight: 600;
}

.wt-price {
  margin: 8px 0 20px;
  font-size: 1.35rem;
  font-weight: 600;
}

.wt-price small {
  font-size: 0.72rem;
  font-weight: 400;
}

.wt-feature-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.wt-feature-list li {
  position: relative;
  padding-left: 24px;
}

.wt-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--wt-color-primary);
  font-weight: 700;
}

.wt-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wt-photo-grid > a {
  display: block;
  min-width: 0;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--wt-radius);
}

.wt-photo-grid figure {
  height: 100%;
  margin: 0;
}

.wt-photo-grid img {
  transition: transform 0.5s ease;
}

.wt-photo-grid > a:hover img {
  transform: scale(1.03);
}

.wt-news-list {
  border-top: 1px solid var(--wt-color-line);
}

.wt-news-item {
  display: grid;
  grid-template-columns: 120px 110px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--wt-color-line);
  text-decoration: none !important;
  transition: background-color 240ms ease-out, transform 240ms ease-out;
}

.wt-news-item:hover {
  background: var(--wt-color-primary-pale);
  transform: translateX(6px);
}

.wt-news-date,
.wt-news-tag {
  font-family: var(--wt-font-decorative);
  font-size: 0.75rem;
}

.wt-news-tag {
  padding: 3px 8px;
  border: 1px solid var(--wt-color-line);
  border-radius: 999px;
  text-align: center;
}

.wt-news-title {
  font-size: 0.94rem;
}

.wt-news-arrow {
  color: var(--wt-color-primary);
  font-family: var(--wt-font-decorative);
  transition: transform 240ms ease-out;
}

.wt-news-item:hover .wt-news-arrow {
  transform: translateX(4px);
}

.wt-recommend {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 48px;
  padding: 40px;
  border: 1px solid var(--wt-color-line);
  background: #ffffff;
}

.wt-recommend .wt-product-stage {
  min-height: 240px;
}

.wt-recommend .wt-product-pack {
  transform: scale(0.64);
}

.wt-recommend-product-photo {
  height: 240px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--wt-color-primary-pale);
}

.wt-recommend-product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wt-recommend h3 {
  margin: 6px 0 8px;
  font-family: var(--wt-font-heading);
  font-size: 1.65rem;
  font-weight: 600;
}

.wt-recommend .wt-price {
  margin: 8px 0 0;
}

.wt-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.wt-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.wt-mobile-break {
  display: none;
}

@media (max-width: 1024px) {
  .wanser-top {
    --wt-page-padding: 40px;
    --wt-font-size-body: 16px;
  }
}

@media (max-width: 960px) {
  .wanser-top {
    --wt-header-height: 64px;
    --wt-section-space: 76px;
  }

  .wt-story-grid,
  .wt-story-grid--reverse,
  .wt-product-feature {
    grid-template-columns: 1fr;
  }

  .wt-story-grid--reverse .wt-story-image {
    order: 1;
  }

  .wt-story-grid--reverse .wt-story-copy {
    order: 2;
  }

  .wt-product-stage {
    min-height: 370px;
  }

  .wt-product-feature-photo {
    height: 370px;
  }

  .wt-recommend {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 680px) {
  .wanser-top {
    --wt-page-padding: 20px;
    --wt-section-space: 64px;
  }

  .wt-hero {
    aspect-ratio: 2 / 3;
    min-height: 0;
  }

  .wt-slide__image-link--desktop {
    display: none;
  }

  .wt-slide__image-link--mobile {
    display: block;
  }

  .wt-hero__content {
    height: 100%;
    min-height: 0;
    align-items: end;
  }

  .wt-hero__copy {
    padding: 84px 0 108px;
  }

  .wt-copy-break--desktop,
  .wt-copy-break--narrow {
    display: block;
  }

  .wt-copy-break--sp {
    display: block;
  }

  .wt-manifesto-answer {
    display: inline-block;
    margin-top: 1.9em;
  }

  .wt-product-copy-line {
    display: inline;
  }

  .wt-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.65rem);
  }

  .wt-hero::after {
    background: linear-gradient(0deg, rgba(28, 54, 48, 0.82), rgba(28, 54, 48, 0.2));
  }

  .wt-hero__controls {
    right: 20px;
    bottom: 22px;
  }

  .wt-heading-row {
    display: block;
    margin-bottom: 34px;
  }

  .wt-heading-row .wt-text-link {
    margin-top: 22px;
  }

  .wt-story-image,
  .wt-story-grid--reverse .wt-story-image {
    min-height: 340px;
  }

  .wt-product-feature {
    padding: 20px;
  }

  .wt-product-feature-photo {
    height: 330px;
  }

  .wt-product-stage {
    min-height: 330px;
  }

  .wt-product-pack {
    transform: scale(0.82);
  }

  .wt-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .wt-news-item {
    grid-template-columns: 90px 1fr auto;
    gap: 12px;
  }

  .wt-news-tag {
    display: none;
  }

  .wt-recommend {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px;
  }

  .wt-recommend .wt-product-stage {
    display: none;
  }

  .wt-recommend-product-photo {
    height: 220px;
  }

  .wt-mobile-break {
    display: inline;
  }
}

@media (max-width: 480px) {
  .wt-heading-line {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wanser-top *,
  .wanser-top *::before,
  .wanser-top *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .wt-reveal {
    opacity: 1;
    transform: none;
  }
}
