/**
 * 特設LP: 3040（大人の女性用風俗 3040 東京本店）
 * トンマナ「QUARTET」: ロゴの「3040」4色（青・ライム・マゼンタ・緑）をそのまま主役にした、明るく大胆なLP。
 * - 地は生成り、マゼンタの帯と空色の帯で節を切り替える。見出しは Noto Sans JP 900、英字ラベルは Poppins
 * - ロゴ印の「菱形に並ぶ4枚のタイル」をファーストビューのモチーフに（30代・40代の色タイル＋セラピスト写真）
 * - 文字色は地とのコントラスト4.5:1以上（白文字は マゼンタ#BD135F 6.1:1 / 深緑#2F7F1B 5.0:1 / 青#1F6E9C 5.6:1 の上だけ）
 * 動き: 読み込み時にタイルと菱形が順に出る。prefers-reduced-motion では止める
 */
.lp--3040 {
  --t4-blue: #53AAD9;
  --t4-lime: #CACF3A;
  --t4-mag: #BD135F;
  --t4-green: #77B538;
  --t4-blue-ink: #1F6E9C;
  --t4-lime-ink: #6B6E0E;
  --t4-mag-ink: #A30F51;
  --t4-green-ink: #3C7A16;
  --t4-blue-bg: #EAF6FC;
  --t4-lime-bg: #F8F9DD;
  --t4-pink-bg: #FCEAF1;
  --t4-green-bg: #EEF7E4;
  --t4-navy: #0F2F45;

  --lp-bg: #FEFDF8;
  --lp-surface: #FFFFFF;
  --lp-tint: #F6FBEC;
  --lp-ink: #222222;
  --lp-ink-sub: #555555;
  --lp-accent: var(--t4-mag);
  --lp-accent-ink: var(--t4-mag-ink);
  --lp-line: #E7E8DF;
  /* 主ボタン=深緑に白文字(5.0:1) */
  --lp-btn-bg: #2F7F1B;
  --lp-btn-ink: #FFFFFF;
  --lp-btn-shadow: rgba(47, 127, 27, 0.28);
  --lp-font-head: "Noto Sans JP", var(--font-body);
  --lp-font-en: "Poppins", var(--font-display);
  --lp-radius: 16px;
  font-family: "Noto Sans JP", var(--font-body);
}

/* ===== 共通 ===== */
.lp--3040 .t4-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp--3040 .lp-sec { padding: 56px 20px 8px; scroll-margin-top: 108px; }
.lp--3040 .lp-sec--tint { margin: 0; padding-top: 56px; padding-bottom: 56px; }
.lp--3040 .lp-sec--tint + .lp-sec { padding-top: 56px; }
.lp--3040 .lp-sec__head { margin-bottom: 22px; text-align: left; }
.lp--3040 .lp-sec__en { margin: 0 0 4px; font-family: var(--lp-font-en); font-size: 15px; font-weight: 700; letter-spacing: 0.02em; text-transform: none; color: var(--t4-green-ink); }
.lp--3040 #therapist .lp-sec__en,
.lp--3040 #style .lp-sec__en,
.lp--3040 #staff .lp-sec__en { color: var(--t4-blue-ink); }
.lp--3040 #flow .lp-sec__en,
.lp--3040 #rank .lp-sec__en,
.lp--3040 #price .lp-sec__en { color: var(--t4-mag-ink); }
.lp--3040 .lp-sec__title { margin: 0; font-family: var(--lp-font-head); font-size: 25px; font-weight: 900; line-height: 1.45; letter-spacing: 0.02em; text-wrap: balance; color: var(--lp-ink); }
.lp--3040 .lp-sec__lead { font-size: 14px; line-height: 1.95; }
.lp--3040 .lp-sub { margin: 36px 0 12px; font-family: var(--lp-font-head); font-size: 16px; font-weight: 700; color: var(--lp-ink); }
.lp--3040 .lp-note,
.lp--3040 .lp-strip-hint { color: var(--lp-ink-sub); }
.lp--3040 .lp-btn { font-weight: 700; letter-spacing: 0.04em; }
.lp--3040 .lp-btn--secondary { color: var(--t4-mag-ink); background: #FFFFFF; border: 2px solid var(--t4-mag); }
.lp--3040 .lp-btn--text { color: var(--t4-mag-ink); }
.lp--3040 .t4-cta2 { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; margin-top: 18px; }
.lp--3040 .t4-cta2 .lp-btn { margin: 0; padding: 0 12px; font-size: 13.5px; }
.lp--3040 .t4-cta2 .lp-btn + .lp-btn { margin-top: 0; }
.lp--3040 .lp-link { border-color: var(--lp-line); }
.lp--3040 .lp-link__cat { color: var(--t4-blue-ink); }

/* ===== ファーストビュー ===== */
.lp--3040 .t4-hero { position: relative; }
.lp--3040 .t4-fv { position: relative; padding: 22px 20px 40px; text-align: center; background: radial-gradient(circle at 12% 18%, rgba(83, 170, 217, 0.14) 0 70px, transparent 71px), radial-gradient(circle at 92% 40%, rgba(202, 207, 58, 0.22) 0 54px, transparent 55px), radial-gradient(circle at 8% 78%, rgba(189, 19, 95, 0.1) 0 46px, transparent 47px), var(--lp-bg); }
.lp--3040 .t4-fv > .lp-prmark { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 2px 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: #1A1A1A; background: rgba(255, 255, 255, 0.95); border: 1px solid #D9D9D2; border-radius: 3px; }
.lp--3040 .t4-fv__logo { width: 214px; margin: 6px auto 0; }
.lp--3040 .t4-fv__logo .lp-figure { background: none; border-radius: 0; }
.lp--3040 .t4-tiles { display: flex; justify-content: center; margin: 18px 0 0; }
.lp--3040 .t4-tiles > span[aria-hidden] { display: inline-flex; gap: 4px; }
.lp--3040 .t4-tiles i { display: grid; place-items: center; width: 38px; height: 38px; font-family: var(--lp-font-head); font-size: 21px; font-style: normal; font-weight: 900; line-height: 1; color: #FFFFFF; border-radius: 4px; animation: t4-pop 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
.lp--3040 .t4-tiles i:nth-child(1) { background: var(--t4-blue-ink); animation-delay: 0.1s; }
.lp--3040 .t4-tiles i:nth-child(2) { color: #222222; background: var(--t4-lime); animation-delay: 0.18s; }
.lp--3040 .t4-tiles i:nth-child(3) { background: #333333; animation-delay: 0.26s; }
.lp--3040 .t4-tiles i:nth-child(4) { background: var(--t4-mag); animation-delay: 0.34s; }
.lp--3040 .t4-tiles i:nth-child(5) { background: var(--t4-green-ink); animation-delay: 0.42s; }
@keyframes t4-pop { from { opacity: 0; transform: translateY(10px) scale(0.6); } to { opacity: 1; transform: none; } }
.lp--3040 .t4-fv__catch { margin: 16px 0 0; font-family: var(--lp-font-head); font-size: 29px; font-weight: 900; line-height: 1.45; letter-spacing: 0.02em; color: var(--lp-ink); animation: t4-rise 0.7s 0.5s ease both; }
.lp--3040 .t4-fv__catch em { font-style: normal; color: var(--t4-mag); }
@keyframes t4-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* 菱形の4枚：ロゴ印と同じ並び。外枠をまとめて45度回し、中身を逆に回して正立させる */
.lp--3040 .t4-diamond {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 232px;
  aspect-ratio: 1;
  margin: 46px auto 10px;
  transform: rotate(45deg);
}
.lp--3040 .t4-diamond__tile { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 14px; box-shadow: 0 12px 26px rgba(15, 47, 69, 0.14); animation: t4-tile 0.6s cubic-bezier(0.3, 1.3, 0.5, 1) both; }
.lp--3040 .t4-diamond__tile:nth-child(1) { animation-delay: 0.7s; }
.lp--3040 .t4-diamond__tile:nth-child(2) { animation-delay: 0.8s; }
.lp--3040 .t4-diamond__tile:nth-child(3) { animation-delay: 0.9s; }
.lp--3040 .t4-diamond__tile:nth-child(4) { animation-delay: 1s; }
@keyframes t4-tile { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: none; } }
.lp--3040 .t4-diamond__tile--age1 { background: var(--t4-blue); }
.lp--3040 .t4-diamond__tile--age2 { background: var(--t4-green); }
.lp--3040 .t4-diamond__tile b { font-family: var(--lp-font-en); font-size: 34px; font-weight: 800; line-height: 1; color: #FFFFFF; transform: rotate(-45deg); text-shadow: 0 2px 6px rgba(15, 47, 69, 0.25); }
.lp--3040 .t4-diamond__tile b small { margin-left: 1px; font-family: var(--lp-font-head); font-size: 15px; font-weight: 900; }
.lp--3040 .t4-diamond__tile--photo1 { border: 4px solid var(--t4-lime); }
.lp--3040 .t4-diamond__tile--photo2 { border: 4px solid var(--t4-mag); }
.lp--3040 .t4-diamond__tile .lp-figure { position: absolute; inset: -30%; border-radius: 0; background: none; transform: rotate(-45deg); }
.lp--3040 .t4-diamond__tile .lp-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

/* マゼンタの帯：見出し・要点・行き先 */
.lp--3040 .t4-band { position: relative; padding: 30px 20px 30px; color: #FFFFFF; background: var(--t4-mag); scroll-margin-top: 64px; }
.lp--3040 .t4-band::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 15px; background: var(--t4-mag); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.lp--3040 .t4-band__title { margin: 0; font-family: var(--lp-font-head); font-size: 21px; font-weight: 900; line-height: 1.5; text-align: center; }
.lp--3040 .t4-band__lead { margin-top: 10px; font-size: 13.5px; line-height: 1.9; }
.lp--3040 .t4-band__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.lp--3040 .t4-band__points li { display: grid; gap: 2px; padding: 10px 4px; text-align: center; color: var(--t4-mag-ink); background: #FFFFFF; border-radius: 12px; }
.lp--3040 .t4-band__points b { font-family: var(--lp-font-head); font-size: 13.5px; font-weight: 900; line-height: 1.35; }
.lp--3040 .t4-band__points span { font-size: 11px; font-weight: 700; color: #4A4A4A; }
.lp--3040 .t4-band__cta { margin-top: 18px; }
.lp--3040 .t4-band .lp-btn--primary { box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18); }
.lp--3040 .t4-band .lp-btn--secondary { border-color: #FFFFFF; }

/* 張り付き目次 */
.lp--3040 .t4-nav { position: sticky; top: 56px; z-index: 20; background: rgba(254, 253, 248, 0.96); border-bottom: 1px solid var(--lp-line); backdrop-filter: blur(6px); }
.lp--3040 .t4-nav ul { display: flex; gap: 6px; margin: 0; padding: 8px 12px; overflow-x: auto; list-style: none; scrollbar-width: none; scroll-padding-inline: 12px; }
.lp--3040 .t4-nav ul::-webkit-scrollbar { display: none; }
.lp--3040 .t4-nav a { display: block; min-height: 32px; padding: 5px 13px; font-size: 12px; font-weight: 700; line-height: 22px; white-space: nowrap; text-decoration: none; color: var(--lp-ink); background: #FFFFFF; border: 1px solid var(--lp-line); border-radius: 999px; }
.lp--3040 .t4-nav a[aria-current] { color: #FFFFFF; background: var(--t4-mag); border-color: var(--t4-mag); }
.lp--3040 .t4-nav a:focus-visible { outline: 2px solid var(--t4-mag); outline-offset: 2px; }

/* ===== お悩み ===== */
.lp--3040 .t4-worry { background: #F4F4EF; padding-bottom: 40px; }
.lp--3040 .t4-worry .lp-sec__head { text-align: center; }
.lp--3040 .t4-worry__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lp--3040 .t4-worry__list li { position: relative; display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 12px; padding: 16px 18px 16px 14px; font-size: 14.5px; font-weight: 700; line-height: 1.7; background: #FFFFFF; border-radius: 14px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); }
.lp--3040 .t4-worry__list li::before { content: "?"; display: grid; place-items: center; width: 36px; height: 36px; font-family: var(--lp-font-en); font-size: 18px; font-weight: 800; color: #FFFFFF; background: var(--t4-mag); border-radius: 50%; }

/* ===== 空色の帯：答え ===== */
.lp--3040 .t4-sky { position: relative; padding: 40px 20px 44px; background: var(--t4-blue); }
.lp--3040 .t4-sky::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 22px; background: #F4F4EF; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.lp--3040 .t4-sky__call { margin: 8px 0 0; font-family: var(--lp-font-head); font-size: 17px; font-weight: 900; line-height: 1.6; text-align: center; color: var(--t4-navy); }
.lp--3040 .t4-sky__card { position: relative; margin-top: 18px; padding: 24px 20px 22px; background: #FFFFFF; border-radius: 18px; box-shadow: 0 14px 30px rgba(15, 47, 69, 0.16); }
.lp--3040 .t4-sky__en { font-family: var(--lp-font-en); font-size: 13px; font-weight: 700; color: var(--t4-blue-ink); }
.lp--3040 .t4-sky__head { margin-top: 2px; padding-bottom: 12px; font-family: var(--lp-font-head); font-size: 19px; font-weight: 900; background: linear-gradient(90deg, var(--t4-blue) 0 25%, var(--t4-lime) 25% 50%, var(--t4-mag) 50% 75%, var(--t4-green) 75%) left bottom / 64px 3px no-repeat; }
.lp--3040 .t4-sky__text { margin-top: 14px; font-size: 14px; line-height: 1.95; }
.lp--3040 .t4-sky__logo { width: 96px; margin: 18px auto 0; }
.lp--3040 .t4-sky__logo .lp-figure { background: none; border-radius: 0; }

/* ===== 3つの理由 ===== */
.lp--3040 .t4-points { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.lp--3040 .t4-point { padding: 20px 20px 22px; border-radius: 16px; }
.lp--3040 .t4-point--blue { background: var(--t4-blue-bg); }
.lp--3040 .t4-point--lime { background: var(--t4-lime-bg); }
.lp--3040 .t4-point--pink { background: var(--t4-pink-bg); }
.lp--3040 .t4-point__no { display: flex; align-items: baseline; gap: 6px; font-family: var(--lp-font-en); font-size: 34px; font-weight: 700; line-height: 1; }
.lp--3040 .t4-point__no span { font-size: 14px; font-weight: 600; }
.lp--3040 .t4-point--blue .t4-point__no { color: var(--t4-blue-ink); }
.lp--3040 .t4-point--lime .t4-point__no { color: var(--t4-lime-ink); }
.lp--3040 .t4-point--pink .t4-point__no { color: var(--t4-mag-ink); }
.lp--3040 .t4-point__title { margin: 10px 0 0; font-family: var(--lp-font-head); font-size: 18px; font-weight: 900; line-height: 1.5; }
.lp--3040 .t4-point__text { margin-top: 8px; font-size: 13.5px; line-height: 1.9; }

/* ===== セラピスト ===== */
.lp--3040 .t4-cast .lp-banner { overflow: hidden; border: 0; border-radius: 16px; box-shadow: 0 10px 22px rgba(15, 47, 69, 0.1); }
.lp--3040 .t4-cast .lp-banner__img img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; }
.lp--3040 .t4-cast .lp-banner__body { gap: 0; padding: 10px 12px 12px; text-align: center; }
.lp--3040 .t4-cast .lp-banner__eyebrow { justify-self: center; padding: 1px 10px; font-family: var(--lp-font-head); font-size: 11px; font-weight: 900; letter-spacing: 0.04em; color: #FFFFFF; background: var(--t4-blue-ink); border-radius: 999px; }
.lp--3040 .t4-cast .lp-banner:nth-child(2) .lp-banner__eyebrow { background: var(--t4-green-ink); }
.lp--3040 .t4-cast .lp-banner__title { margin-top: 4px; font-size: 18px; font-weight: 900; }
.lp--3040 .t4-cast .lp-banner__text { font-size: 12px; }
.lp--3040 .t4-cast .lp-banner__more { justify-content: center; font-size: 12px; color: var(--t4-mag-ink); }

/* ===== 流れ（横スワイプの番号付きカード） ===== */
.lp--3040 .t4-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 66%; gap: 10px; margin: 0 -20px; padding: 4px 20px 12px; overflow-x: auto; list-style: none; counter-reset: t4step; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
.lp--3040 .t4-steps::-webkit-scrollbar { display: none; }
.lp--3040 .t4-steps li { position: relative; display: grid; align-content: start; gap: 6px; padding: 18px 16px 18px; scroll-snap-align: start; background: #FFFFFF; border: 1px solid var(--lp-line); border-radius: 16px; counter-increment: t4step; }
.lp--3040 .t4-steps li::before { content: counter(t4step); display: grid; place-items: center; width: 36px; height: 36px; font-family: var(--lp-font-en); font-size: 16px; font-weight: 700; color: #FFFFFF; background: var(--t4-blue-ink); border-radius: 50%; }
.lp--3040 .t4-steps li:nth-child(4n+2)::before { color: #222222; background: var(--t4-lime); }
.lp--3040 .t4-steps li:nth-child(4n+3)::before { background: var(--t4-mag); }
.lp--3040 .t4-steps li:nth-child(4n+4)::before { background: var(--t4-green-ink); }
.lp--3040 .t4-steps b { font-family: var(--lp-font-head); font-size: 16px; font-weight: 900; line-height: 1.5; }
.lp--3040 .t4-steps span { font-size: 12.5px; line-height: 1.8; color: var(--lp-ink-sub); }

/* ===== 安心（チェックリスト） ===== */
.lp--3040 .t4-checks { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lp--3040 .t4-checks li { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; row-gap: 2px; padding: 14px 16px 14px 14px; background: #FFFFFF; border-radius: 14px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); }
.lp--3040 .t4-checks li::before { content: ""; grid-row: 1 / span 2; width: 30px; height: 30px; margin-top: 2px; background: var(--t4-green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233C7A16' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat; border-radius: 8px; }
.lp--3040 .t4-checks b { font-family: var(--lp-font-head); font-size: 15px; font-weight: 900; line-height: 1.5; }
.lp--3040 .t4-checks span { font-size: 12.5px; line-height: 1.8; color: var(--lp-ink-sub); }

/* ===== 代表（年表） ===== */
.lp--3040 .t4-timeline { display: grid; gap: 0; margin: 18px 0 0; padding: 0; list-style: none; }
.lp--3040 .t4-timeline li { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 10px; padding: 0 0 16px; }
.lp--3040 .t4-timeline li::after { content: ""; position: absolute; top: 8px; bottom: -8px; left: 95px; width: 2px; background: var(--lp-line); }
.lp--3040 .t4-timeline li:last-child::after { display: none; }
.lp--3040 .t4-timeline time { font-family: var(--lp-font-en); font-size: 13px; font-weight: 700; color: var(--t4-blue-ink); }
.lp--3040 .t4-timeline span { position: relative; padding-left: 12px; font-size: 13.5px; line-height: 1.7; }
.lp--3040 .t4-timeline span::before { content: ""; position: absolute; top: 7px; left: -9px; width: 10px; height: 10px; background: var(--t4-mag); border: 2px solid #FFFFFF; border-radius: 50%; box-shadow: 0 0 0 1px var(--t4-mag); }
.lp--3040 .t4-timeline li:last-child span { font-weight: 700; }
.lp--3040 .t4-hscroll .lp-links { display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 10px; margin: 0 -20px; padding: 2px 20px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
.lp--3040 .t4-hscroll .lp-links::-webkit-scrollbar { display: none; }
.lp--3040 .t4-hscroll .lp-link { scroll-snap-align: start; }

/* ===== 動画 ===== */
.lp--3040 #movie .lp-strip { grid-auto-columns: 84%; scroll-padding-inline: 20px; }
.lp--3040 .lp-video__btn { border-radius: 14px; }

/* ===== 料金（金額は出さず公式へ） ===== */
.lp--3040 .t4-price { padding: 22px 18px 20px; background: #FFFFFF; border: 2px solid var(--t4-lime); border-radius: 18px; }
.lp--3040 .t4-price__text { font-size: 14px; line-height: 1.95; }
.lp--3040 .t4-price .t4-cta2 { grid-template-columns: 1fr; }

/* ===== FAQ ===== */
.lp--3040 .lp-faq__item { border: 0; border-radius: 14px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04); }
.lp--3040 .lp-faq__q { font-weight: 700; }

/* ===== 締め（マゼンタの帯） ===== */
.lp--3040 .t4-final { padding: 44px 20px 40px; text-align: center; color: #FFFFFF; background: var(--t4-mag); }
.lp--3040 .t4-final__logo { width: 200px; margin: 0 auto; padding: 12px 14px; background: #FFFFFF; border-radius: 16px; }
.lp--3040 .t4-final__logo .lp-figure { background: none; border-radius: 0; }
.lp--3040 .t4-final__call { margin-top: 22px; font-size: 14px; font-weight: 700; }
.lp--3040 .t4-final__title { margin: 6px 0 0; font-family: var(--lp-font-head); font-size: 24px; font-weight: 900; line-height: 1.5; }
.lp--3040 .t4-final__text { margin: 12px 0 20px; font-size: 13.5px; line-height: 1.9; }
.lp--3040 .t4-final .lp-btn--secondary { border-color: #FFFFFF; }

/* ===== 流れる帯（4色のキーワード） ===== */
.lp--3040 .t4-ticker { overflow: hidden; padding: 10px 0; background: #FFFFFF; border-bottom: 1px solid var(--lp-line); }
.lp--3040 .t4-ticker__track { display: flex; width: max-content; animation: t4-ticker 32s linear infinite; }
.lp--3040 .t4-ticker span { display: inline-flex; align-items: center; gap: 12px; padding: 0 12px; font-family: var(--lp-font-head); font-size: 13px; font-weight: 900; white-space: nowrap; }
.lp--3040 .t4-ticker span::after { content: ""; width: 9px; height: 9px; margin-left: 12px; border-radius: 2px; transform: rotate(45deg); background: var(--t4-blue); }
.lp--3040 .t4-ticker span:nth-child(4n+2)::after { background: var(--t4-lime); }
.lp--3040 .t4-ticker span:nth-child(4n+3)::after { background: var(--t4-mag); }
.lp--3040 .t4-ticker span:nth-child(4n+4)::after { background: var(--t4-green); }
@keyframes t4-ticker { to { transform: translateX(-50%); } }

/* ===== 数字で見る3040（画面に入ると数え上げ） ===== */
.lp--3040 .t4-stats { padding: 48px 20px 8px; }
.lp--3040 .t4-stats__title { margin: 0 0 16px; font-family: var(--lp-font-en); font-size: 30px; font-weight: 800; line-height: 1.1; text-align: center; }
.lp--3040 .t4-stats__title span { display: block; margin-bottom: 4px; font-family: var(--lp-font-head); font-size: 14px; font-weight: 900; color: var(--lp-ink-sub); }
.lp--3040 .t4-stats__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.lp--3040 .t4-stat { position: relative; display: grid; gap: 2px; padding: 16px 14px 14px; overflow: hidden; border-radius: 18px; }
.lp--3040 .t4-stat::before { content: ""; position: absolute; top: -18px; right: -18px; width: 64px; height: 64px; border-radius: 14px; transform: rotate(45deg); opacity: 0.35; }
.lp--3040 .t4-stat b { position: relative; font-family: var(--lp-font-en); font-size: 38px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.lp--3040 .t4-stat b small { margin-left: 2px; font-family: var(--lp-font-head); font-size: 14px; font-weight: 900; }
.lp--3040 .t4-stat > span { position: relative; font-size: 12px; font-weight: 700; line-height: 1.5; color: #333333; }
.lp--3040 .t4-stat--blue { background: var(--t4-blue-bg); }
.lp--3040 .t4-stat--blue b { color: var(--t4-blue-ink); }
.lp--3040 .t4-stat--blue::before { background: var(--t4-blue); }
.lp--3040 .t4-stat--lime { background: var(--t4-lime-bg); }
.lp--3040 .t4-stat--lime b { color: var(--t4-lime-ink); }
.lp--3040 .t4-stat--lime::before { background: var(--t4-lime); }
.lp--3040 .t4-stat--pink { background: var(--t4-pink-bg); }
.lp--3040 .t4-stat--pink b { color: var(--t4-mag-ink); }
.lp--3040 .t4-stat--pink::before { background: var(--t4-mag); }
.lp--3040 .t4-stat--green { background: var(--t4-green-bg); }
.lp--3040 .t4-stat--green b { color: var(--t4-green-ink); }
.lp--3040 .t4-stat--green::before { background: var(--t4-green); }

/* ===== 4つのランク（階段。画面に入ると棒が伸びる） ===== */
.lp--3040 .t4-rank { background: linear-gradient(180deg, var(--lp-bg) 0%, #F3F9FD 100%); padding-bottom: 48px; }
.lp--3040 .t4-ladder { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 6px; margin: 22px 0 0; padding: 0; list-style: none; }
.lp--3040 .t4-ladder__step { display: grid; align-content: end; gap: 6px; text-align: center; }
.lp--3040 .t4-ladder__bar { display: block; border-radius: 10px 10px 4px 4px; transform-origin: bottom; }
.lp--3040 .t4-ladder__step--1 .t4-ladder__bar { height: 46px; background: var(--t4-blue); }
.lp--3040 .t4-ladder__step--2 .t4-ladder__bar { height: 78px; background: var(--t4-lime); }
.lp--3040 .t4-ladder__step--3 .t4-ladder__bar { height: 110px; background: var(--t4-green); }
.lp--3040 .t4-ladder__step--4 .t4-ladder__bar { height: 144px; background: var(--t4-mag); }
.lp--3040 .t4-ladder b { font-family: var(--lp-font-head); font-size: 13px; font-weight: 900; line-height: 1.35; }
.lp--3040 .t4-ladder__step--4 b { color: var(--t4-mag-ink); }
.lp--3040 .t4-ladder__step > span:last-child { min-height: 7.6em; font-size: 10.5px; line-height: 1.55; color: var(--lp-ink-sub); }
.lp--reveal.lp--3040 .t4-ladder .t4-ladder__bar { transform: scaleY(0); transition: transform 0.8s cubic-bezier(0.3, 1.3, 0.5, 1); }
.lp--reveal.lp--3040 .t4-ladder.is-in .t4-ladder__bar { transform: none; }
.lp--3040 .t4-ladder__step--2 .t4-ladder__bar { transition-delay: 0.12s; }
.lp--3040 .t4-ladder__step--3 .t4-ladder__bar { transition-delay: 0.24s; }
.lp--3040 .t4-ladder__step--4 .t4-ladder__bar { transition-delay: 0.36s; }

/* ===== 過ごし方（横スワイプのアイコンカード） ===== */
.lp--3040 .t4-styles { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; margin: 0 -20px; padding: 4px 20px 12px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
.lp--3040 .t4-styles::-webkit-scrollbar { display: none; }
.lp--3040 .t4-style { display: grid; align-content: start; gap: 6px; padding: 16px 14px 16px; scroll-snap-align: start; background: #FFFFFF; border-radius: 18px; box-shadow: 0 6px 16px rgba(15, 47, 69, 0.07); }
.lp--3040 .t4-style svg { box-sizing: content-box; width: 26px; height: 26px; padding: 10px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; border-radius: 14px; }
.lp--3040 .t4-style--blue svg { stroke: var(--t4-blue-ink); background: var(--t4-blue-bg); }
.lp--3040 .t4-style--lime svg { stroke: var(--t4-lime-ink); background: var(--t4-lime-bg); }
.lp--3040 .t4-style--pink svg { stroke: var(--t4-mag-ink); background: var(--t4-pink-bg); }
.lp--3040 .t4-style--green svg { stroke: var(--t4-green-ink); background: var(--t4-green-bg); }
.lp--3040 .t4-style b { font-family: var(--lp-font-head); font-size: 15px; font-weight: 900; line-height: 1.45; }
.lp--3040 .t4-style span { font-size: 12px; line-height: 1.75; color: var(--lp-ink-sub); }

/* VIP：4色の縁取りの白カード */
.lp--3040 .t4-vip { position: relative; margin-top: 26px; padding: 22px 20px 20px; text-align: center; background: #FFFFFF; border-radius: 20px; }
.lp--3040 .t4-vip::before { content: ""; position: absolute; inset: 0; padding: 3px; border-radius: 20px; background: linear-gradient(120deg, var(--t4-blue), var(--t4-lime), var(--t4-mag), var(--t4-green), var(--t4-blue)); background-size: 300% 100%; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: t4-flow 8s linear infinite; pointer-events: none; }
@keyframes t4-flow { to { background-position: 300% 0; } }
.lp--3040 .t4-vip__en { font-family: var(--lp-font-en); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--t4-mag-ink); }
.lp--3040 .t4-vip__title { margin-top: 6px; font-family: var(--lp-font-head); font-size: 20px; font-weight: 900; line-height: 1.5; }
.lp--3040 .t4-vip__text { margin-top: 8px; font-size: 13px; line-height: 1.85; color: var(--lp-ink-sub); }

/* ===== わくわくする動き ===== */
/* ファーストビュー：背景の色の玉がゆっくり漂い、菱形はふわりと浮かぶ */
.lp--3040 .t4-fv { background-size: 100% 100%; animation: t4-drift 14s ease-in-out infinite alternate; }
@keyframes t4-drift { to { background-position: 0 0, 0 0, 0 0, 0 0; background-size: 108% 104%; } }
.lp--3040 .t4-diamond { animation: t4-float 4.5s 1.6s ease-in-out infinite; }
@keyframes t4-float { 50% { translate: 0 -8px; } }
/* キャッチの「紳士」にマーカーが引かれる */
.lp--3040 .t4-fv__catch em { background: linear-gradient(rgba(202, 207, 58, 0.6), rgba(202, 207, 58, 0.6)) left 88% / 0 32% no-repeat; animation: t4-marker 0.7s 1.3s ease forwards; }
@keyframes t4-marker { to { background-size: 100% 32%; } }
/* 主ボタンに光が走る */
.lp--3040 .lp-btn--primary { position: relative; overflow: hidden; }
.lp--3040 .lp-btn--primary::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg); animation: t4-shine 3.6s 2s ease-in-out infinite; }
@keyframes t4-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
/* 見出し英字の下に4色の線が伸びる */
.lp--3040 .lp-sec__head { position: relative; padding-bottom: 12px; }
.lp--3040 .lp-sec__head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--t4-blue) 0 25%, var(--t4-lime) 25% 50%, var(--t4-mag) 50% 75%, var(--t4-green) 75%); }
.lp--3040 .t4-worry .lp-sec__head::after { left: 50%; margin-left: -32px; }
/* 順番に現れる（チェック・お悩み・数字・理由・流れ・過ごし方） */
.lp--reveal.lp--3040 .t4-checks > li,
.lp--reveal.lp--3040 .t4-worry__list > li,
.lp--reveal.lp--3040 .t4-stats__list > li { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.3, 1.3, 0.5, 1); }
.lp--reveal.lp--3040 .is-in > li { opacity: 1; transform: none; }
.lp--3040 .is-in > li:nth-child(2) { transition-delay: 0.1s; }
.lp--3040 .is-in > li:nth-child(3) { transition-delay: 0.2s; }
.lp--3040 .is-in > li:nth-child(4) { transition-delay: 0.3s; }
.lp--3040 .is-in > li:nth-child(5) { transition-delay: 0.4s; }
.lp--reveal.lp--3040 .t4-checks > li::before { transform: scale(0); transition: transform 0.4s 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); }
.lp--reveal.lp--3040 .t4-checks.is-in > li::before { transform: none; }
.lp--3040 .t4-points > li:nth-child(2) { transition-delay: 0.08s; }
.lp--3040 .t4-points > li:nth-child(3) { transition-delay: 0.16s; }

/* ===== 画面に入ったときの表示 ===== */
.lp--reveal.lp--3040 [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.lp--reveal.lp--3040 [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .lp--3040 .t4-tiles i,
  .lp--3040 .t4-fv__catch,
  .lp--3040 .t4-diamond__tile,
  .lp--3040 .t4-diamond,
  .lp--3040 .t4-fv,
  .lp--3040 .t4-ticker__track,
  .lp--3040 .t4-vip::before,
  .lp--3040 .lp-btn--primary::before { animation: none; }
  .lp--3040 .t4-fv__catch em { animation: none; background-size: 100% 32%; }
  .lp--3040 .t4-ladder__bar,
  .lp--3040 .t4-checks > li,
  .lp--3040 .t4-checks > li::before,
  .lp--3040 .t4-worry__list > li,
  .lp--3040 .t4-stats__list > li { opacity: 1; transform: none; transition: none; }
  .lp--3040 [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===== 店長と副店長（イラストの丸アイコン＋役職の色札） ===== */
.lp--3040 .t4-staff { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.lp--3040 .t4-staff__card { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; padding: 18px 16px; background: #FFFFFF; border-radius: 20px; box-shadow: 0 8px 20px rgba(15, 47, 69, 0.07); }
.lp--3040 .t4-staff__avatar { position: relative; width: 84px; height: 84px; }
.lp--3040 .t4-staff__avatar::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
.lp--3040 .t4-staff__card--pink .t4-staff__avatar::before { background: conic-gradient(var(--t4-mag) 0 50%, var(--t4-blue) 50% 100%); }
.lp--3040 .t4-staff__card--lime .t4-staff__avatar::before { background: conic-gradient(var(--t4-lime) 0 50%, var(--t4-green) 50% 100%); }
.lp--3040 .t4-staff__avatar .lp-figure { position: relative; margin: 0; width: 84px; height: 84px; overflow: hidden; border: 3px solid #FFFFFF; border-radius: 50%; }
.lp--3040 .t4-staff__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp--3040 .t4-staff__body { display: grid; gap: 4px; justify-items: start; }
.lp--3040 .t4-staff__role { margin: 0; padding: 2px 10px; font-size: 11px; font-weight: 900; letter-spacing: 0.1em; color: #FFFFFF; border-radius: 999px; }
.lp--3040 .t4-staff__card--pink .t4-staff__role { background: var(--t4-mag-ink); }
.lp--3040 .t4-staff__card--lime .t4-staff__role { background: var(--t4-green-ink); }
.lp--3040 .t4-staff__name { margin: 2px 0 0; font-family: var(--lp-font-head); font-size: 20px; font-weight: 900; line-height: 1.3; }
.lp--3040 .t4-staff__text { margin: 2px 0 4px; font-size: 13px; line-height: 1.8; color: var(--lp-ink-sub); }
.lp--3040 .t4-staff .lp-btn--text { justify-self: start; margin: 0; padding-left: 0; padding-right: 0; }

/* セラピスト記事カード: 顔が上部にある縦長写真を16:9枠で切るため上寄せ（2026-11-01） */
.lp--3040 .lp-links--grid .lp-link__img img { object-position: 50% 8%; }
/* 性病検査の動画（安全の節・2026-11-01） */
.lp--3040 .t4-movie { margin-left: 0; margin-right: 0; }
.lp--3040 .t4-movie video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; }
.lp--3040 .t4-movie figcaption { margin-top: 8px; font-size: 12px; line-height: 1.7; color: var(--lp-ink-sub); }
