/* ==========================================================================
   Wannyans DX 紹介ページ専用スタイル
   共通の変数・utility（tp-container / tp-btn / tp-accent-gradient 等）は
   top-page/css/index.css を前提に、wd- プレフィックスで拡張する。
   ========================================================================== */

:root {
  --wd-blue: #3fa9dc;
  --wd-blue-dark: #2a7fb0;
  --wd-blue-light: #eaf6fc;
  --wd-gradient-blue: linear-gradient(120deg, #6dc9f1 0%, #2f8fc7 100%);
}

/* ---------- 画像 ---------- */
.wd-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 見出し ---------- */
.wd-heading {
  font-size: 30px;
  font-weight: 900;
  text-align: center;
  margin: 0 0 12px;
  position: relative;
  padding-bottom: 16px;
}

.wd-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--tp-gradient-solid);
}

/* ---------- ボタン追加カラー ---------- */
.tp-btn--outline-white {
  background: #fff;
  color: var(--wd-blue);
  border: 2.5px solid var(--wd-blue);
}

.tp-btn--blue {
  color: #fff;
  background: var(--wd-gradient-blue);
}

.tp-btn:hover {
  opacity: 0.85;
}

/* ---------- ヘッダー（wannyans-dx専用） ---------- */
.wd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.wd-header__inner {
  max-width: var(--tp-container);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.wd-header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.wd-header__logo {
  height: 46px;
  width: auto;
}

.wd-header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}

.wd-header__nav a {
  color: var(--tp-text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.wd-header__nav a:hover {
  color: var(--tp-pink);
}

.wd-header__cta {
  flex-shrink: 0;
  margin-left: auto;
}

.wd-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.wd-header__burger span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: #4c372b;
}

@media (max-width: 900px) {
  .wd-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    background: #fff;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
  }

  .wd-header__nav.is-open {
    display: flex;
  }

  .wd-header__nav a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid #f3ede9;
  }

  .wd-header__cta {
    order: 2;
  }

  .wd-header__burger {
    display: flex;
    order: 3;
  }
}

/* ---------- ヒーロー ---------- */
.wd-hero {
  position: relative;
  background: var(--tp-gradient);
  padding: 56px 0 96px;
}

.wd-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 0;
  width: 100%;
  height: 240px;
  background-color: #fff;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 240' preserveAspectRatio='none'><path d='M0 126 C 180 158 340 192 500 189 C 780 185 1010 70 1200 13 L1200 240 L0 240 Z' fill='black'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 240' preserveAspectRatio='none'><path d='M0 126 C 180 158 340 192 500 189 C 780 185 1010 70 1200 13 L1200 240 L0 240 Z' fill='black'/></svg>");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.wd-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.wd-hero__catch {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.6;
}

.wd-hero__catch span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  font-weight: 900;
}

.wd-hero__title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
}

.wd-hero__logo {
  flex-shrink: 0;
  display: grid;
  place-items: center;
/*   width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden; */
}

.wd-hero__logo img {
  width: 90px;
  height: auto;
  object-fit: contain;
}

.wd-hero__title {
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  margin: 0;
}

.wd-hero__lead {
  color: #fff;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 28px;
}

.wd-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.wd-hero__text,
.wd-hero__media {
  opacity: 0;
  transform: translateY(24px);
}

.wd-hero__text {
  animation: wd-hero-fade-up 0.8s ease 0.2s forwards;
}

.wd-hero__media {
  animation: wd-hero-fade-up 0.8s ease 0.6s forwards;
}

@keyframes wd-hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wd-hero__text,
  .wd-hero__media {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ---------- こんなお悩みはありませんか？ ---------- */
.wd-pain {
  padding: 72px 0;
  background: #fff;
}

.wd-pain__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 760px;
  margin: 40px auto 0;
}

.wd-pain-card__case {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-weight: 900;
  font-size: 14px;
  color: var(--tp-text-dark);
  margin: 0 0 44px;
}

.wd-pain-card__case span {
  position: absolute;
  left: 18px;
  top: -4px;
  z-index: -1;
  font-size: 56px;
  color: #f4c6d2;
  line-height: 1;
}

.wd-pain-card__text {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.wd-pain__arrow {
  text-align: center;
  font-size: 28px;
  color: var(--tp-pink);
  margin: 32px 0 16px;
}

.wd-pain__conclusion {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  margin: 0;
}

/* ---------- ワンニャンズDXにできること ---------- */
.wd-can-do {
  padding: 72px 0;
  background: repeating-linear-gradient(135deg, #fff, #fff 12px, #fdf1f3 12px, #fdf1f3 24px);
}

.wd-can-do__lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 40px;
}

.wd-can-do__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  background: #fff;
  border: 2px dashed var(--tp-pink);
  border-radius: 12px;
  padding: 28px 24px;
}

.wd-can-do-card {
  background: #fff;
  text-align: center;
}

.wd-can-do-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tp-gradient-solid);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  margin: 0 auto 8px;
}

.wd-can-do-card__title {
  font-size: 19px;
  font-weight: 900;
  margin: 0 0 16px;
}

.wd-can-do-card .wd-img {
  height: 190px;
  width: 100%;
  object-fit: contain;
  margin-bottom: 16px;
}

.wd-can-do-card__heading {
  font-weight: 900;
  font-size: 15px;
  margin: 0 0 8px;
}

.wd-can-do-card__text {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--tp-text);
  margin: 0;
  text-align: left;
}

/* ---------- 主な特徴 ---------- */
.wd-feature {
  padding: 72px 0;
  background: #fff;
}

.wd-feature__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
}

.wd-feature__row:first-of-type {
  margin-top: 48px;
}

.wd-feature__row--reverse .wd-feature__media {
  order: 2;
}

.wd-feature__row--reverse .wd-feature__body {
  order: 1;
}

.wd-feature__media {
  display: flex;
  justify-content: center;
}

.wd-feature__media .wd-img {
  width: auto;
  max-width: 100%;
  max-height: 380px;
}

.wd-feature__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.wd-feature__num {
  font-size: 40px;
  font-weight: 900;
  color: #f7cdd8;
  margin: 0;
  line-height: 1;
}

.wd-feature__tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 6px;
  background: var(--tp-pink);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  margin: 0;
}

.wd-feature__title {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 12px;
}

.wd-feature__text {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 16px;
}

.wd-feature__checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wd-feature__checklist li {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wd-feature__checklist i {
  color: var(--tp-pink);
}

/* ---------- ワンニャンズDXが実現する2つの進化 ---------- */
.wd-evolution {
  padding: 72px 0;
  background: var(--tp-gradient);
}

.wd-evolution__card {
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px;
}

.wd-evolution__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: start;
}

.wd-evolution__divider {
  width: 2px;
  align-self: stretch;
  background-image: linear-gradient(to bottom, var(--tp-pink) 50%, transparent 50%);
  background-size: 2px 12px;
  background-repeat: repeat-y;
}

.wd-evolution-col__label {
  font-size: 13px;
  font-weight: 700;
  color: #f4c6d2;
  margin: 0;
}

.wd-evolution-col__label span {
  display: block;
  font-size: 12px;
}

.wd-evolution-col__name {
  font-size: 24px;
  font-weight: 900;
  margin: 0 0 16px;
}

.wd-evolution-col__name--pink {
  color: var(--tp-pink);
}

.wd-evolution-col__name--blue {
  color: var(--wd-blue-dark);
}

.wd-evolution-col .wd-img {
  margin-bottom: 20px;
  border-radius: 12px;
}

.wd-evolution-col__points {
  border-radius: 12px;
  padding: 20px;
}

.wd-evolution-col__points--pink {
  background: #fdeef1;
}

.wd-evolution-col__points--blue {
  background: var(--wd-blue-light);
}

.wd-evolution-col__points p {
  margin: 0;
  font-size: 14px;
}

.wd-evolution-col__points > p:not(.wd-evolution-col__desc) {
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.wd-evolution-col__points > p:first-child {
  margin-top: 0;
}

.wd-evolution-col__points--pink i {
  color: var(--tp-pink);
  font-size: 8px;
}

.wd-evolution-col__points--blue i {
  color: var(--wd-blue);
  font-size: 8px;
}

.wd-evolution-col__desc {
  color: var(--tp-text);
  line-height: 1.7;
  padding-left: 14px;
  margin-top: 4px !important;
}

.wd-evolution__banner {
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  margin: 32px 0 0;
}

/* ---------- 主な機能 ---------- */
.wd-function {
  padding: 72px 0;
  background: #fff;
}

.wd-function__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
}

.wd-function__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wd-function__media {
  display: flex;
  justify-content: center;
}

.wd-function__media .wd-img {
  width: 220px;
}

.wd-function-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #f3ede9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: var(--tp-text-dark);
}

.wd-function-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tp-gradient-solid);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.wd-function-item__label {
  font-weight: 900;
  font-size: 15px;
  flex: 1;
}

.wd-function-item__label small {
  font-weight: 400;
  font-size: 12px;
}

.wd-function-item__arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tp-pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ---------- 成約後の売上を3倍にする仕組み ---------- */
.wd-impact {
  padding: 72px 0;
  background: #fdf6f2;
}

.wd-impact__block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}

.wd-impact__block--reverse .wd-impact__media {
  order: 2;
}

.wd-impact__block--reverse .wd-impact__text {
  order: 1;
}

.wd-impact__num {
  font-size: 40px;
  font-weight: 900;
  color: var(--tp-pink);
  margin: 0 0 8px;
}

.wd-impact__title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
  margin: 0 0 20px;
}

.wd-impact__desc {
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 16px;
}

.wd-impact__divider {
  border: none;
  border-top: 1px solid #f63b77;
  margin: 48px 0 0;
}

/* ---------- お客様の声 ---------- */
.wd-voice {
  padding: 72px 0;
  background: #fff;
}

.wd-voice__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.wd-voice-card {
  background: #fff;
  border: 2px solid var(--tp-pink);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 6px 6px 0 rgba(233, 76, 118, 0.15);
}

.wd-voice-card__text {
  font-size: 13.5px;
  line-height: 1.8;
  margin: 0 0 16px;
}

.wd-voice-card__name {
  font-weight: 900;
  font-size: 14px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #efe6e0;
}

.wd-voice-card__shop {
  font-size: 12px;
  color: var(--tp-pink);
  margin: 2px 0 0;
}

.wd-voice__more {
  text-align: center;
  margin-top: 32px;
}

/* ---------- 料金プラン ---------- */
.wd-price {
  padding: 72px 0;
  background: repeating-linear-gradient(135deg, #fff, #fff 6px, #fdf1f3 6px, #fdf1f3 12px);
}

.wd-price__campaign {
  text-align: center;
  margin: 32px 0 40px;
}

.wd-price__campaign .wd-price__campaign-img {
  max-width: 400px;
  margin: 0 auto;
}

.wd-price__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto 40px;
}

.wd-price-card {
  background: #fdeef1;
  border-radius: 12px;
  text-align: center;
  padding: 20px;
}

.wd-price-card--highlight {
  background: var(--tp-gradient-solid);
}

.wd-price-card--highlight .wd-price-card__label,
.wd-price-card--highlight .wd-price-card__value {
  color: #fff;
}

.wd-price-card__label {
  font-weight: 900;
  font-size: 15px;
  margin: 0 0 8px;
}

.wd-price-card__value {
  font-size: 32px;
  font-weight: 900;
  margin: 0;
}

.wd-price-card__value span {
  font-size: 16px;
  font-weight: 700;
}

/* 料金：税別注記 */
.wd-price__note {
  margin: 0 0 32px;
  color: var(--tp-text);
  font-size: 14px;
  text-align: center;
}

.wd-price__included {
  background: #fff;
  border: 2px solid var(--tp-pink);
  border-radius: 16px;
  padding: 28px;
  max-width: 720px;
  margin: 0 auto;
}

.wd-price__included-title {
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 20px;
}

.wd-price__included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.wd-price__included-grid span {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #f3ede9;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
}

.wd-price__included-grid i {
  color: var(--tp-pink);
}

/* ---------- ご契約までの流れ ---------- */
.wd-flow {
  padding: 72px 0;
  background: #fff;
}

.wd-flow__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.wd-flow-step {
  text-align: center;
  flex: 1;
  max-width: 220px;
}

.wd-flow-step__label {
  font-size: 20px;
  font-weight: 900;
  color: var(--tp-pink);
  margin: 0 0 12px;
}

.wd-flow-step__circle {
  background: #fdeef1;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.wd-flow-step__circle-inner {
  background: #fff;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wd-flow-step__img {
  width: 100px;
  height: auto;
}

.wd-flow-step__badge {
  display: inline-block;
  background: var(--tp-pink);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  padding: 10px 24px;
  border-radius: 999px;
  margin: 0 0 12px;
}

.wd-flow-step__desc {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

.wd-flow__arrow {
  color: var(--tp-pink);
  font-size: 24px;
  margin-top: 90px;
}

/* ---------- よくあるご質問 ---------- */
.wd-faq {
  padding: 72px 0;
  background: #fdf6f2;
}

.wd-faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.wd-faq-item {
  background: #fff;
  border: 1px solid #f0e6e0;
  border-radius: 8px;
  overflow: hidden;
}

.wd-faq-item__row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--tp-font);
}

.wd-faq-item__q {
  color: var(--tp-pink);
  font-weight: 900;
  font-size: 20px;
  flex-shrink: 0;
}

.wd-faq-item__text {
  flex: 1;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
}

.wd-faq-item__icon {
  color: var(--tp-pink);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.wd-faq-item.is-open .wd-faq-item__icon {
  transform: rotate(135deg);
}

.wd-faq-item__body {
  display: none;
  padding: 0 24px 20px 60px;
}

.wd-faq-item.is-open .wd-faq-item__body {
  display: block;
}

.wd-faq-item__body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--tp-text);
}

/* ---------- 下部CTA ---------- */
.wd-cta {
  position: relative;
  background: var(--tp-gradient);
  padding: 88px 0 64px;
}

/* 背景上部の緩やかな波線（白い被せで上端をゆるく波打たせる） */
.wd-cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  z-index: 0;
  width: 100%;
  height: 72px;
  background-color: #fff;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 72' preserveAspectRatio='none'><path d='M0 0 L1200 0 L1200 34 C 900 66 300 6 0 40 Z' fill='black'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 72' preserveAspectRatio='none'><path d='M0 0 L1200 0 L1200 34 C 900 66 300 6 0 40 Z' fill='black'/></svg>");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.wd-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.wd-cta__media {
  display: flex;
  justify-content: center;
}

.wd-cta__media .wd-img {
  width: 100%;
  max-width: 280px;
}

.wd-cta__title {
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.5;
  margin: 0 0 16px;
}

.wd-cta__desc {
  color: #fff;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 24px;
}

.wd-cta__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* CTA：マイページ体験QRコード */
.wd-cta__qr {
  display: inline-block;
  margin: 0 0 24px;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.wd-cta__qr img {
  display: block;
  width: 150px;
  height: 150px;
}

/* ---------- フッター拡張リンク（機能一覧） ---------- */
.wd-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
  max-width: 480px;
  margin: 0 auto;
}

/* ==========================================================================
   レスポンシブ（SP）
   ========================================================================== */
@media (max-width: 900px) {
  .wd-hero__inner {
    grid-template-columns: 1fr;
  }

  .wd-hero__title {
    font-size: 36px;
  }

  .wd-pain__grid {
    grid-template-columns: 1fr;
  }

  .wd-can-do__grid {
    grid-template-columns: 1fr;
  }

  .wd-feature__row,
  .wd-feature__row--reverse {
    grid-template-columns: 1fr;
  }

  .wd-feature__row--reverse .wd-feature__media,
  .wd-feature__row--reverse .wd-feature__body {
    order: initial;
  }

  .wd-evolution__card {
    padding: 32px 20px;
  }

  .wd-evolution__grid {
    grid-template-columns: 1fr;
  }

  .wd-evolution__divider {
    width: auto;
    height: 2px;
    background-image: linear-gradient(to right, var(--tp-pink) 50%, transparent 50%);
    background-size: 12px 2px;
    background-repeat: repeat-x;
  }

  .wd-function__grid {
    grid-template-columns: 1fr;
  }

  .wd-function__media {
    order: -1;
    display: flex;
    justify-content: center;
  }

  .wd-impact__block,
  .wd-impact__block--reverse {
    grid-template-columns: 1fr;
  }

  .wd-impact__block--reverse .wd-impact__media,
  .wd-impact__block--reverse .wd-impact__text {
    order: initial;
  }

  .wd-voice__list {
    grid-template-columns: 1fr;
    overflow-x: auto;
    display: flex;
    gap: 16px;
    scroll-snap-type: x mandatory;
    margin-left: -24px;
    margin-right: -24px;
    padding: 0 24px 8px;
  }

  .wd-voice-card {
    min-width: 85%;
    scroll-snap-align: start;
  }

  .wd-price__cards {
    grid-template-columns: 1fr;
  }

  .wd-price__included-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wd-flow__steps {
    flex-direction: column;
    align-items: center;
  }

  .wd-flow__arrow {
    margin-top: 0;
    transform: rotate(90deg);
  }

  .wd-flow-step {
    max-width: 100%;
  }

  .wd-cta__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .wd-cta__actions {
    justify-content: center;
  }

  .wd-footer-links {
    max-width: 100%;
  }
}

/* ==========================================================================
   機能詳細ページ（wannyans-dx/detail.blade.php）
   ========================================================================== */

/* ---------- 見出し（中央・下線） ---------- */
.wd-dheading {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  color: #333;
  margin: 0 0 48px;
  position: relative;
  padding-bottom: 12px;
}

.wd-dheading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 88px;
  height: 3px;
  border-radius: 2px;
  background: var(--tp-gradient-solid);
}

/* ---------- ヒーロー（波線はindexと共通） ---------- */
.wd-dhero {
  position: relative;
  background: var(--tp-gradient);
  padding: 40px 0 96px;
}

.wd-dhero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 0;
  width: 100%;
  height: 240px;
  background-color: #fff;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 240' preserveAspectRatio='none'><path d='M0 126 C 180 158 340 192 500 189 C 780 185 1010 70 1200 13 L1200 240 L0 240 Z' fill='black'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 240' preserveAspectRatio='none'><path d='M0 126 C 180 158 340 192 500 189 C 780 185 1010 70 1200 13 L1200 240 L0 240 Z' fill='black'/></svg>");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.wd-dhero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.wd-dhero__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  margin: 0 0 20px;
}

.wd-dhero__breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.wd-dhero__breadcrumb a:hover {
  text-decoration: underline;
}

.wd-dhero__breadcrumb i {
  font-size: 11px;
  opacity: 0.8;
}

.wd-dhero__title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 8px;
}

.wd-dhero__logo {
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.wd-dhero__logo img {
  width: 72px;
  height: auto;
  object-fit: contain;
}

.wd-dhero__title {
  font-size: 40px;
  font-weight: 900;
  color: #fff;
  margin: 0;
}

.wd-dhero__subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
}

.wd-dhero__lead {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  margin: 0;
}

.wd-dhero__media {
  display: flex;
  justify-content: center;
}

/* ---------- 特徴 ---------- */
.wd-dfeature {
  padding: 72px 0;
  background: #fff;
}

.wd-dfeature__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  margin-bottom: 72px;
}

.wd-dfeature__row:last-child {
  margin-bottom: 0;
}

.wd-dfeature__row--reverse .wd-dfeature__media {
  order: 2;
}

.wd-dfeature__row--reverse .wd-dfeature__body {
  order: 1;
}

.wd-dfeature__media {
  display: flex;
  justify-content: center;
}

.wd-dfeature__body {
  position: relative;
  padding-top: 40px;
}

/* 番号はサブタイトルの下に潜り込ませる（タイトルを前面に重ねる） */
.wd-dfeature__num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  color: #F9C6D6;
  margin: 0;
}

.wd-dfeature__title {
  position: relative;
  z-index: 1;
  font-size: 25px;
  font-weight: 900;
  color: #333;
  margin: 0 0 20px;
}

.wd-dfeature__desc {
  font-size: 16px;
  line-height: 1.95;
  color: #555;
  margin: 0 0 24px;
}

.wd-dfeature__checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wd-dfeature__checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.wd-dfeature__checklist i {
  color: #F63B77;
  font-size: 18px;
}

/* ---------- 選べる4つのラインナップ（うちの子シリーズ専用） ---------- */
.wd-dlineup {
  padding: 72px 0;
  background: #fff;
}

.wd-dlineup__heading {
  text-align: center;
  font-size: 30px;
  font-weight: 900;
  color: #333;
  margin: 0 0 48px;
}

.wd-dlineup__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.wd-dlineup-card {
  display: flex;
  padding: 0;
  border-radius: 16px;
  border: 2px solid var(--lc, #EB2C6F);
  background: #fff;
  overflow: hidden;
}

/* 業態ごとのテーマカラー（--lc: ボーダー/タイトル色 / --lc-bg: 画像エリア背景色） */
.wd-dlineup-card--beauty { --lc: #067BB4; --lc-bg: #F2FBFF; }
.wd-dlineup-card--diary  { --lc: #FF9833; --lc-bg: #FFFBF8; }
.wd-dlineup-card--note   { --lc: #EB2C6F; --lc-bg: #FFF7F6; }
.wd-dlineup-card--health { --lc: #2AA8E8; --lc-bg: #FCFBF7; }

/* 画像エリアの背景色はカードのボーダーまで広げる（padding無し・overflow:hiddenで角丸に追従） */
.wd-dlineup-card__media {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--lc-bg, #FFF7F6);
}

.wd-dlineup-card__media .wd-img {
  border-radius: 8px;
}

.wd-dlineup-card__body {
  flex: 1;
  min-width: 0;
  padding: 24px;
}

.wd-dlineup-card__title {
  font-size: 21px;
  font-weight: 900;
  color: var(--lc);
  margin: 0 0 4px;
}

.wd-dlineup-card__target {
  font-size: 13px;
  color: #666;
  margin: 0 0 16px;
}

.wd-dlineup-card__label {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin: 0 0 4px;
}

.wd-dlineup-card__text {
  font-size: 13px;
  line-height: 1.85;
  color: #555;
  margin: 0 0 16px;
}

.wd-dlineup-card__text:last-child {
  margin-bottom: 0;
}

/* ---------- さらに便利な機能 ---------- */
.wd-dconv {
  padding: 72px 0;
  background:
    repeating-linear-gradient(
      -45deg,
      #FDEEF3 0,
      #FDEEF3 6px,
      #FFF7FA 6px,
      #FFF7FA 12px
    );
}

.wd-dconv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

/* カードが1つの場合は左右中央に配置 */
.wd-dconv__grid--single {
  grid-template-columns: minmax(0, 434px);
  justify-content: center;
}

.wd-dconv-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.wd-dconv-card__media {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.wd-dconv-card__media .wd-img {
  max-width: 220px;
}

.wd-dconv-card__title {
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  color: #F63B77;
  margin: 0 0 16px;
}

.wd-dconv-card__desc {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin: 0;
}

/* ---------- この機能の効果 ---------- */
.wd-deffect {
  position: relative;
  /* 半円の頂点を見出しの少し上まで下げ、上部に白い余白を残す */
  margin-top: 64px;
  padding: 48px 0 88px;
  background: #FFF0F4;
  border-top-left-radius: 50% 64px;
  border-top-right-radius: 50% 64px;
}

.wd-deffect__tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 32px;
}

.wd-deffect__tag {
  background: var(--tp-gradient-solid);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 999px;
}

.wd-deffect__desc {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
  line-height: 2;
  color: #444;
}

/* 半円の中腹に立つ装飾イラスト。上端（白）から少しはみ出し、足元が半円のスロープに乗る */
.wd-deffect__fig {
  position: absolute;
  top: -34px;
  width: 100px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.wd-deffect__fig--left {
  left: 13%;
}

.wd-deffect__fig--right {
  right: 13%;
}

@media (max-width: 900px) {
  .wd-dhero__inner {
    grid-template-columns: 1fr;
  }

  .wd-dhero__title {
    font-size: 30px;
  }

  .wd-dfeature__row,
  .wd-dfeature__row--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wd-dfeature__row--reverse .wd-dfeature__media,
  .wd-dfeature__row--reverse .wd-dfeature__body {
    order: initial;
  }

  .wd-dconv__grid {
    grid-template-columns: 1fr;
  }

  .wd-dlineup__grid {
    grid-template-columns: 1fr;
  }

  .wd-dlineup-card {
    flex-direction: column;
  }

  .wd-dlineup-card__media {
    flex: none;
    width: 100%;
  }

  .wd-dlineup-card__media .wd-img {
    max-width: 240px;
  }

  .wd-dlineup__heading {
    font-size: 24px;
  }

  .wd-deffect__fig {
    width: 70px;
    top: -44px;
  }

  .wd-deffect__fig--left {
    left: 0;
  }

  .wd-deffect__fig--right {
    right: 0;
  }
}
